]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Move word search functions from search.c to isearch.el (bug#10145, bug#11381).
[gnu-emacs] / lisp / ChangeLog
1 2012-05-17 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (word-search-regexp, word-search-backward)
4 (word-search-forward, word-search-backward-lax)
5 (word-search-forward-lax): Move functions from search.c
6 (bug#10145, bug#11381).
7
8 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9
10 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
11 (flyspell-debug-signal-word-checked): Delay for otherchars as for
12 normal word components.
13
14 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * minibuffer.el (completion--sifn-requote): Fix last change.
17 (minibuffer-local-must-match-filename-map):
18 Move define-obsolete-variable-alias before its var.
19
20 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
23
24 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
25 behavior.
26 (completion--string-equal-p): New function.
27 (completion--twq-all): Use it to get better assertion failure data.
28
29 Only handle ".." and '..' quoting in shell-mode (bug#11466).
30 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
31 (shell--requote-argument): New functions.
32 (shell-completion-vars): Use them.
33 (shell--parse-pcomplete-arguments): Rename from
34 shell-parse-pcomplete-arguments.
35 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
36 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
37 Obey comint-file-name-quote-list.
38
39 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
40 (smie-indent-keyword): Use it.
41
42 2012-05-14 Stefan Merten <smerten@oekonux.de>
43
44 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
45
46 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * net/rlogin.el (rlogin-mode-map): Fix last change.
49
50 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
51
52 * mail/smtpmail.el (smtpmail-send-command): Send the command and
53 the following \r\n using a single `process-send-string', since the
54 Lotus SMTP server refuses to accept any commands if they are sent
55 with two `process-send-string's (Bug#11444).
56
57 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * shell.el (shell-parse-pcomplete-arguments):
60 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
61
62 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
63
64 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
65 (image-transform-scale, image-transform-right-angle-fudge): New vars.
66 (image-transform-width, image-transform-fit-width): New functions.
67 (image-transform-properties): Use them.
68 (image-transform-check-size): New function.
69 (image-toggle-display-image): Use it (for testing).
70 (image-transform-set-rotation): Reduce angle mod 360.
71 Delete obsolete comment.
72
73 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
74
75 * image-mode.el: Fix scaling (bug#11399).
76 (image-transform-resize): Doc fix.
77 (image-transform-properties): Default scale is 1 and height should
78 be an integer.
79
80 2012-05-13 Johan Bockgård <bojohan@gnu.org>
81
82 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
83 than hard-coding `car', to fix misbehavior when moving forward.
84
85 2012-05-13 Chong Yidong <cyd@gnu.org>
86
87 * emacs-lisp/tabulated-list.el (tabulated-list-format)
88 (tabulated-list-entries, tabulated-list-padding)
89 (tabulated-list-sort-key): Make permanent-local.
90
91 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
92 (electric-buffer-list): Put electric buffer menu
93 command descriptions in this docstring, instead of the docstring
94 of electric-buffer-menu-mode. Code cleanups.
95 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
96 Electric-buffer-menu-mode.
97 (electric-buffer-update-highlight): Minor code cleanup.
98
99 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
100
101 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
102 (Bug#11447)
103
104 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 Move define-obsolete-variable-alias before the var's definition.
107 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
108 * tooltip.el (tooltip-hook):
109 * textmodes/reftex-toc.el (reftex-toc-map):
110 * textmodes/reftex-sel.el (reftex-select-label-map)
111 (reftex-select-bib-map):
112 * textmodes/reftex-index.el (reftex-index-map)
113 (reftex-index-phrases-map):
114 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
115 * progmodes/meta-mode.el (meta-mode-map):
116 * novice.el (disabled-command-hook):
117 * loadhist.el (unload-hook-features-list):
118 * frame.el (blink-cursor):
119 * files.el (find-file-not-found-hooks, write-file-hooks)
120 (write-contents-hooks):
121 * emulation/tpu-edt.el (GOLD-map):
122 * emacs-lock.el (emacs-lock-from-exiting):
123 * emacs-lisp/generic.el (generic-font-lock-defaults):
124 * emacs-lisp/chart.el (chart-map):
125 * dos-fns.el (register-name-alist):
126 * dired-x.el (dired-omit-files-p):
127 * desktop.el (desktop-enable):
128 * cus-edit.el (custom-mode-hook):
129 * buff-menu.el (buffer-menu-mode-hook):
130 * bookmark.el (bookmark-read-annotation-text-func)
131 (bookmark-exit-hooks):
132 * allout.el (allout-mode-deactivate-hook)
133 (allout-exposure-change-hook, allout-structure-added-hook)
134 (allout-structure-deleted-hook, allout-structure-shifted-hook):
135 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
136 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
137 comes before the corresponding variable's definition.
138
139 2012-05-12 Chong Yidong <cyd@gnu.org>
140
141 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
142 (Buffer-menu-mouse-select): Restore function (Bug#11459).
143 (Buffer-menu-mode-map): Bind it.
144 (Buffer-menu--pretty-name): Add a mouse-face property.
145
146 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
149 (prolog-upper-case-string, prolog-lower-case-string)
150 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
151 (prolog-use-smie, prolog-smie-grammar): New vars.
152 (prolog-smie-forward-token, prolog-smie-backward-token)
153 (prolog-smie-rules): New funs.
154 (prolog-comment-indent): Remove.
155 (prolog-mode-variables): Use default comment indentation instead.
156 Setup SMIE.
157 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
158 (prolog-mode): Don't call them any more.
159 (prolog-electric-colon, prolog-electric-dash)
160 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
161
162 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
163
164 * minibuffer.el (completion--twq-all): Again, allow case differences.
165
166 * term.el: Move keymap initialization code to be more idiomatic.
167 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
168 (term-terminal-menu): Move initialization into declaration.
169 (term-escape-char): Let the user set it in her .emacs.
170
171 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
172 Provide SMIE-based indentation (not enabled by default yet).
173 (sh-mode-map): Don't bind electric keys.
174 Use electric-pair-mode instead of skeleton-pair.
175 (sh-assignment-regexp): Fit within 80 columns.
176 (sh-indent-supported): Specify actual shell name instead of boolean.
177 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
178 (sh-maybe-here-document): Use it. Make obsolete.
179 (sh-electric-here-document-mode) New minor mode.
180 (sh-mode): Use it. Don't set sh-indent-supported-here here.
181 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
182 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
183 (sh-smie-rc-grammar, sh-use-smie): New vars.
184 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
185 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
186 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
187 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
188 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
189 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
190 (sh-set-shell): Use smie-setup if requested.
191
192 * term.el (term-set-escape-char): Properly set term-escape-char.
193 See http://stackoverflow.com/questions/10524656.
194
195 2012-05-10 Chong Yidong <cyd@gnu.org>
196
197 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
198 Use url-generic-parse-url, and handle host names and Windows
199 filenames properly.
200 (ffap-url-unwrap-remote): Use url-generic-parse-url.
201 (ffap-url-unwrap-remote): Accept list values, specifying a list of
202 URL schemes to work on.
203 (ffap--toggle-read-only): New function.
204 (ffap-read-only, ffap-read-only-other-window)
205 (ffap-read-only-other-frame): Use it.
206 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
207 necessary for ffap-url-unwrap-remote.
208
209 2012-05-10 Dave Abrahams <dave@boostpro.com>
210
211 * cus-start.el (create-lockfiles): Add it.
212
213 2012-05-09 Chong Yidong <cyd@gnu.org>
214
215 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
216 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
217
218 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 * shell.el (shell-completion-vars): Fix last change (bug#11348).
221
222 2012-05-09 Chong Yidong <cyd@gnu.org>
223
224 * ansi-color.el (ansi-color-process-output): Check for validity of
225 comint-last-output-start before using it. This avoids a bad
226 interaction with gdb-mi's input/output buffer.
227
228 2012-05-09 Glenn Morris <rgm@gnu.org>
229
230 * files.el (dir-locals-read-from-file):
231 Mention dir-locals in any error message.
232
233 2012-05-09 Chong Yidong <cyd@gnu.org>
234
235 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
236 package (Bug#11410).
237
238 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
239 variables into description.
240
241 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
244 shell-delimiter-argument-list (bug#11348).
245 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
246
247 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
248
249 * textmodes/rst.el: Silence byte-compiler warnings.
250 (rst-re-alist, rst-reset-section-caches): Move around.
251 (rst-re): Use `characterp', not `char-valid-p'.
252 (font-lock-beg, font-lock-end): Declare.
253
254 * progmodes/idlw-shell.el (specs): Remove reference to deleted
255 variable `idlwave-shell-activate-alt-keybindings' and simplify.
256
257 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
258
259 2012-05-08 Glenn Morris <rgm@gnu.org>
260
261 * files.el (auto-mode-alist): Treat ".make" like ".mk".
262
263 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * vc/log-edit.el: Add GNU coding standards highlighting.
266 (log-edit-font-lock-gnu-style)
267 (log-edit-font-lock-gnu-keywords): New vars.
268 (log-edit-font-lock-keywords): New fun.
269 (log-edit-mode): Don't fold case in font-lock.
270 (log-edit-font-lock-keywords): Do not assume case-folding.
271
272 * imenu.el: Misc cleanup. Make docstrings out of comments.
273 Use lexical-binding.
274 (imenu--index-alist, imenu--last-menubar-index-alist)
275 (imenu-menubar-modified-tick): Use defvar-local.
276 (imenu--split-menu): Remove unused var.
277 (imenu--cleanup-seen): Declare as global.
278 (imenu--cleanup): Use dolist.
279
280 * subr.el (defvar-local): Add debug spec and doc-string position.
281
282 2012-05-08 Glenn Morris <rgm@gnu.org>
283
284 * lisp/language/burmese.el, language/cham.el, language/czech.el:
285 * language/english.el, language/georgian.el, language/greek.el:
286 * language/japanese.el, language/khmer.el, language/korean.el:
287 * language/lao.el, language/misc-lang.el, language/romanian.el:
288 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
289 * language/thai.el, language/utf-8-lang.el:
290 Remove no-byte-compile setting.
291
292 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
293
294 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
295
296 * progmodes/make-mode.el (makefile-browse):
297 Remove unnecessary interactive. (Bug#11324)
298
299 2012-05-07 Glenn Morris <rgm@gnu.org>
300
301 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
302
303 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
304
305 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * loadup.el: Preload newcomment.el.
308 * newcomment.el: Move autoload-only code to toplevel.
309
310 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
311 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
312 Handle new :right-align column property.
313 (tabulated-list-print-col): Idem, plus use `display' text-property to
314 try and preserve alignment for variable pitch fonts.
315
316 2012-05-07 Chong Yidong <cyd@gnu.org>
317
318 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
319 (tabulated-list-use-header-line): New var.
320 (tabulated-list-init-header): Use it.
321 (tabulated-list-print-fake-header): New function.
322 (tabulated-list-print): Use it.
323 (tabulated-list-sort-button-map): Add non-header-line commands.
324 (tabulated-list-init-header): Add column name property to basic
325 labels as well.
326 (tabulated-list-col-sort): Handle non-header-line button case.
327 (tabulated-list--sort-by-column-name): Fix a corner case.
328
329 * buff-menu.el (list-buffers--refresh):
330 Handle Buffer-menu-use-header-line.
331
332 2012-05-06 Chong Yidong <cyd@gnu.org>
333
334 * buff-menu.el: Convert to Tabulated List mode.
335 (Buffer-menu-buffer+size-width): Make obsolete.
336 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
337 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
338 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
339 documentation into docstring of buffer-menu.
340 (Buffer-menu-toggle-files-only): Add an informative message.
341 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
342 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
343 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
344 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
345 (Buffer-menu-execute, Buffer-menu-select)
346 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
347 (Buffer-menu-bury): Use Tabulated List machinery.
348 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
349 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
350 Delete.
351 (list-buffers--refresh): New function.
352 (list-buffers-noselect): Use it.
353 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
354 (Buffer-menu--pretty-file-name): New helper functions.
355
356 * loadup.el: Preload tabulated-list.
357
358 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
359 tabulated-list-sort-column.
360 (tabulated-list-init-header): Add the initial aligning space even
361 if tabulated-list-padding is zero.
362
363 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
364
365 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
366 whose cdr is not a cons cell correctly (bug#11038).
367
368 2012-05-06 Chong Yidong <cyd@gnu.org>
369
370 * emacs-lisp/tabulated-list.el (tabulated-list-format):
371 Accept additional plist in column descriptors.
372 (tabulated-list-init-header): Obey it.
373 (tabulated-list-get-entry): New function.
374 (tabulated-list-put-tag): Use it. Use string-width instead of
375 length.
376 (tabulated-list--column-number): New function.
377 (tabulated-list-print): Use it.
378 (tabulated-list-print-col): New function.
379 Set `tabulated-list-column-name' property on each column's text.
380 (tabulated-list-print-entry): Use it.
381 (tabulated-list-delete-entry, tabulated-list-set-col):
382 New functions.
383 (tabulated-list-sort-column): New command (Bug#11337).
384
385 * buff-menu.el (list-buffers): Move C-x C-b binding from
386 buff-menu.el to bindings.el.
387
388 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
389 :advertised-binding feature.
390
391 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
392
393 * progmodes/compile.el (compilation-internal-error-properties):
394 Calculate start position correctly when end-col is set but
395 end-line is not (Bug#11382).
396
397 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
398
399 * man.el (Man-unindent): Use text-property-default-nonsticky to
400 prevent untabify from inheriting face properties (Bug#11408).
401
402 2012-05-05 Glenn Morris <rgm@gnu.org>
403
404 * calendar/cal-html.el: Optionally include holidays in the output.
405 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
406 (cal-html-holidays): New option.
407 (cal-html-css-default): Add holiday entry.
408 (holiday-in-range): Autoload it.
409 (cal-html-htmlify-entry): Add optional class argument.
410 (cal-html-htmlify-list): Add optional holidays argument.
411 (cal-html-insert-agenda-days): Include holidays in the output.
412 (cal-html-one-month): Maybe include holidays.
413
414 * calendar/holidays.el (holiday-in-range):
415 Move here from cal-tex-list-holidays.
416 * calendar/cal-tex.el (cal-tex-list-holidays):
417 Make it an obsolete alias for holiday-in-range. Update all callers.
418
419 2012-05-05 Chong Yidong <cyd@gnu.org>
420
421 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
422 Nextstep.
423
424 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
425
426 * files.el (file-auto-mode-skip): New var.
427 (set-auto-mode-1): Use it.
428
429 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * repeat.el: Use lexical-binding.
432 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
433 (repeat-undo-count): Remove.
434 (repeat):
435 * progmodes/octave-mod.el (octave-abbrev-start):
436 * progmodes/f90.el (f90-abbrev-start):
437 * face-remap.el (text-scale-adjust):
438 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
439
440 * emacs-lisp/pcase.el (pcase--let*): New function.
441 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
442 a bit more.
443 (pcase--split-pred): Be more clever about ruling out overlap between
444 a predicate and some constant pattern.
445 (pcase--q1): Use `null' instead of (eq foo nil).
446
447 * subr.el (setq-local, defvar-local): New macros.
448 (kbd): Redefine as an alias.
449 (with-selected-window): Leave unrelated frames alone.
450 (set-temporary-overlay-map): New function.
451
452 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * subr.el (user-error): New function.
455 * window.el (switch-to-buffer):
456 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
457 (smerge-match-conflict):
458 * simple.el (previous-matching-history-element)
459 (next-matching-history-element, goto-history-element, undo-more)
460 (undo-start):
461 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
462 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
463 (next-file, tags-loop-scan, list-tags, complete-tag):
464 * progmodes/compile.el (compilation-loop):
465 * mouse.el (mouse-minibuffer-check):
466 * man.el (Man-bgproc-sentinel, Man-goto-page):
467 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
468 (Info-history-forward, Info-follow-reference, Info-menu)
469 (Info-extract-menu-item, Info-extract-menu-counting)
470 (Info-forward-node, Info-backward-node, Info-next-menu-item)
471 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
472 (Info-next-reference, Info-prev-reference, Info-index)
473 (Info-index-next, Info-follow-nearest-node)
474 (Info-copy-current-node-name):
475 * imenu.el (imenu--make-index-alist)
476 (imenu-default-create-index-function, imenu-add-to-menubar):
477 * files.el (basic-save-buffer, recover-file):
478 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
479 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
480 (checkdoc-message-text, checkdoc-defun):
481 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
482 * cus-edit.el (customize-changed-options, customize-rogue)
483 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
484 (custom-variable-mark-to-reset-standard)
485 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
486 (custom-file):
487 * completion.el (check-completion-length):
488 * comint.el (comint-search-arg)
489 (comint-previous-matching-input-string-position)
490 (comint-previous-matching-input)
491 (comint-replace-by-expanded-history-before-point, comint-send-input)
492 (comint-copy-old-input, comint-backward-matching-input)
493 (comint-goto-process-mark, comint-set-process-mark):
494 * calendar/calendar.el (calendar-cursor-to-date): Use it.
495 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
496
497 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
498
499 * dabbrev.el (dabbrev--ignore-case-p): New function.
500 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
501 Use it.
502
503 * files.el (automount-dir-prefix): Mark as obsolete.
504
505 2012-05-04 Glenn Morris <rgm@gnu.org>
506
507 * patcomp.el, play/bruce.el: Move to obsolete/.
508
509 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
510
511 Fix minor Y10k bugs.
512 * arc-mode.el (archive-unixdate):
513 * autoinsert.el (auto-insert-alist):
514 * calc/calc-forms.el (math-this-year):
515 * emacs-lisp/copyright.el (copyright-current-year)
516 (copyright-update-year, copyright):
517 * tar-mode.el (tar-clip-time-string):
518 * time.el (display-time-update):
519 Don't assume years have 4 digits.
520
521 2012-05-04 Chong Yidong <cyd@gnu.org>
522
523 * dos-w32.el (file-name-buffer-file-type-alist)
524 (direct-print-region-use-command-dot-com):
525 * ffap.el (ffap-menu-regexp):
526 * find-file.el (ff-special-constructs):
527 * follow.el (follow-debug):
528 * forms.el (forms--debug):
529 * iswitchb.el (iswitchb-all-frames):
530 * ido.el (ido-all-frames):
531 * emacs-lisp/timer.el (timer-max-repeats):
532 * mail/feedmail.el (feedmail-mail-send-hook)
533 (feedmail-mail-send-hook-queued):
534 * mail/footnote.el (footnote-signature-separator):
535 * mail/mailabbrev.el (mail-alias-separator-string)
536 (mail-abbrev-mode-regexp):
537 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
538 * progmodes/idlwave.el (idlwave-libinfo-file)
539 (idlwave-default-completion-case-is-down)
540 (idlwave-library-routines): Convert defvars to defcustoms.
541
542 * mail/rmail.el (rmail-decode-mime-charset):
543 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
544 (idlwave-shell-fix-inserted-breaks)
545 (idlwave-shell-activate-alt-keybindings)
546 (idlwave-shell-use-breakpoint-glyph):
547 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
548
549 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
552
553 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
554
555 * progmodes/verilog-mode.el (font-lock-keywords):
556 Fix mis-highligting auto. Reported by Craig Barner.
557 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
558 defines from global name space. Reported by Dan Dever.
559 (verilog-auto-reset, verilog-auto-reset-widths)
560 (verilog-auto-tieoff): Support using unbased numbers for
561 AUTORESET and AUTOTIEOFF.
562 (verilog-submit-bug-report): Update variable list.
563 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
564 parenthesis from not matching. Reported by Michael Rytting.
565 (verilog-auto-template-lint): Fix hash error when linting modules
566 with no used templates.
567 (verilog-warn, verilog-warn-error)
568 (verilog-warn-fatal): When non-interactive report multiple
569 warnings before exiting. Suggested by Brad Dobbie.
570 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
571 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
572 to report unused template errors. Reported by Brad Dobbie.
573 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
574 nets, bug438. Reported by Vns Blore.
575 (verilog-auto-inout-module, verilog-auto-reg)
576 (verilog-read-decls, verilog-read-sub-decls-sig)
577 (verilog-signals-edit-wire-reg, verilog-signals-with):
578 Fix passing of Verilog data types in ANSI input/output ports
579 such as "output logic" into the AUTOs. Special case "wire" and
580 "reg" for backwards compatibility presuming Verilog 2001.
581 (verilog-auto-ascii-enum): Add "auto enum" as alias.
582 (verilog-preprocess): Fix replication of preprocess output.
583 Reported by Brad Dobbie.
584 (verilog-auto-inst-interfaced-ports):
585 Create verilog-auto-inst-interfaced-ports, bug429.
586 Reported by Julian Gorfajn.
587 (verilog-after-save-font-hook)
588 (verilog-before-save-font-hook): New variable.
589 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
590 (verilog-save-font-mods): Wrap disabling fontification, reported
591 by David Rogoff.
592 (verilog-do-indent, verilog-pretty-declarations-auto)
593 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
594 Reported by Pierre-David Pfister.
595 (verilog-set-auto-endcomments): Fix endtask auto comments outside
596 of class declarations, bug292. Reported by Kevin Heilman.
597 (verilog-read-decls): Fix 'parameter type' not appearing in
598 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
599 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
600 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
601 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
602 Reported by David Kravitz.
603
604 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
605
606 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
607 assignment with tests in ifs and for loops.
608 (verilog-extended-complete-re, verilog-complete-reg): Change so
609 that DPI inport functions don't look like fuction declarations.
610 (verilog-pretty-expr): Don't line up assignment
611 operations to the test and increment in if and for loops
612 (verilog-extended-complete-re, verilog-complete-reg): Change so
613 that DPI inport functions don't look like fuction declarations
614
615 2012-05-03 Kenichi Handa <handa@m17n.org>
616
617 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
618 decoding, and show a warning message without signalling an error
619 (Bug#11282).
620
621 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * emacs-lisp/bytecomp.el
624 (byte-compile-file-form-custom-declare-variable): Compile all elements,
625 since cconv.el might have introduced :fun-body, internal-make-closure,
626 and friends for bytecomp to handle (bug#11391).
627 * custom.el (defcustom): Avoid ((λ ..) ..).
628
629 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
632
633 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
634
635 * notifications.el (dbus-debug):
636 * term/linux.el (gpm-mouse-enable):
637 * term/screen.el (xterm-register-default-colors): Declare.
638
639 2012-05-02 Chong Yidong <cyd@gnu.org>
640
641 * cus-start.el (gc-cons-percentage, exec-suffixes)
642 (dos-display-scancodes, dos-hyper-key, dos-super-key)
643 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
644 (make-cursor-line-fully-visible, void-text-area-pointer)
645 (font-list-limit): Add customization data.
646
647 * allout.el (allout-exposure-change-functions)
648 (allout-structure-added-functions)
649 (allout-structure-deleted-functions)
650 (allout-structure-shifted-functions): Rename abnormal hooks from
651 *-hook, and convert to defcustoms.
652 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
653 Convert to defcustoms.
654 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
655
656 * allout-widgets.el: Hook callers changed.
657
658 2012-05-02 Eli Zaretskii <eliz@gnu.org>
659
660 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
661 the yanked message in preference to the default value of
662 buffer-file-coding-system.
663
664 2012-05-02 Martin Rudalics <rudalics@gmx.at>
665
666 * window.el (display-buffer--action-function-custom-type):
667 Fix entry.
668
669 2012-05-02 Alan Mackenzie <acm@muc.de>
670
671 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
672
673 2012-05-01 Glenn Morris <rgm@gnu.org>
674
675 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
676
677 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
678
679 * cus-edit.el (custom-variable-documentation): Simplify with format.
680
681 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
682 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * simple.el (suggest-key-bindings, execute-extended-command):
685 Move from keyboard.c.
686
687 2012-05-01 Chong Yidong <cyd@gnu.org>
688
689 * follow.el: Eliminate advice.
690 (set-process-filter, process-filter, sit-for): Advice deleted.
691 (follow-mode-off-hook): Obsolete hook removed.
692 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
693 Vars deleted.
694 (follow-auto): Use a :set function.
695 (follow-mode): Rewritten. Don't advise process filters.
696 (follow-switch-to-current-buffer-all, follow-scroll-up)
697 (follow-scroll-down): Assume follow-mode is bound.
698 (follow-comint-scroll-to-bottom)
699 (follow-align-compilation-windows): New functions.
700 (follow--window-sorter): New function.
701 (follow-all-followers): Use it to explicitly sort windows by their
702 positions; don't make assumptions about next-window order.
703 (follow-windows-start-end, follow-delete-other-windows-and-split)
704 (follow-calc-win-start): Doc fix.
705 (follow-windows-aligned-p, follow-select-if-visible): Don't call
706 vertical-motion unnecessarily.
707 (follow-adjust-window): New function.
708 (follow-post-command-hook): Use it.
709 (follow-call-set-process-filter, follow-call-process-filter)
710 (follow-intercept-process-output, follow-tidy-process-filter-alist)
711 (follow-stop-intercept-process-output, follow-generic-filter):
712 Functions deleted.
713 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
714 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
715 New functions, replacing advice on scroll-bar-* commands.
716 (follow-mwheel-scroll): New function (Bug#4112).
717
718 * comint.el (comint-adjust-point): New function.
719 (comint-postoutput-scroll-to-bottom): Use it.
720 Call follow-comint-scroll-to-bottom for Follow mode buffers.
721
722 2012-05-01 Glenn Morris <rgm@gnu.org>
723
724 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
725 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
726 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
727 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
728 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
729 Remove no-byte-compile setting.
730
731 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
732
733 * minibuffer.el (completion-table-with-quoting): Fix compatibility
734 all-completions code to not return a number in the last cdr.
735
736 2012-04-30 Leo Liu <sdl.web@gmail.com>
737
738 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
739 read-only error.
740
741 2012-04-29 Chong Yidong <cyd@gnu.org>
742
743 * follow.el (follow-calc-win-end): Rewrite to handle partial
744 screen lines correctly (Bug#8390).
745 (follow-avoid-tail-recenter): Minor cleanup.
746
747 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 Avoid the obsolete `assoc' package.
750 * speedbar.el (speedbar-refresh): Avoid adelete.
751 (speedbar-file-lists): Simplify and avoid aput.
752 * man.el (Man--sections, Man--refpages): New vars, replacing
753 Man-sections-alist and Man-refpages-alist.
754 (Man-build-section-alist, Man-build-references-alist):
755 Use them; avoid aput.
756 (Man--last-section, Man--last-refpage): New vars.
757 (Man-follow-manual-reference): Use them.
758 Use the `default' arg of completing-read.
759 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
760
761 2012-04-27 Chong Yidong <cyd@gnu.org>
762
763 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
764
765 * startup.el (x-apply-session-resources): New function.
766
767 * term/ns-win.el (ns-initialize-window-system):
768 * term/w32-win.el (w32-initialize-window-system):
769 * term/x-win.el (x-initialize-window-system): Use it to properly
770 set menu-bar-mode and other vars from X resources, even if the
771 initial frame is not a window-system frame (Bug#2299).
772
773 * subr.el (read-key): Avoid running filter function when setting
774 up temporary tool bar entries (Bug#9922).
775
776 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
777
778 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
779 (Bug#11344)
780
781 2012-04-27 Chong Yidong <cyd@gnu.org>
782
783 * select.el (xselect--encode-string): New function, split from
784 xselect-convert-to-string.
785 (xselect-convert-to-string): Use it.
786 (xselect-convert-to-filename, xselect-convert-to-os)
787 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
788 returned strings are properly encoded (Bug#11315).
789
790 2012-04-27 Chong Yidong <cyd@gnu.org>
791
792 * simple.el (delete-active-region): Move to killing custom group.
793
794 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
795
796 * progmodes/which-func.el (which-func-current): Quote %
797 characters for mode-line processing.
798
799 2012-04-27 Chong Yidong <cyd@gnu.org>
800
801 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
802 reaching eob (Bug#11286).
803
804 2012-04-27 Eli Zaretskii <eliz@gnu.org>
805
806 * progmodes/gdb-mi.el (gdb-control-level): New variable.
807 (gdb): Make it buffer-local and init to zero.
808 (gdb-control-commands-regexp): New variable.
809 (gdb-send): Don't wrap in "-interpreter-exec console" if
810 gdb-control-level is positive. Increment gdb-control-level
811 whenever the command matches gdb-control-commands-regexp, and
812 decrement it each time the command is "end". (Bug#11279)
813
814 2012-04-27 Martin Rudalics <rudalics@gmx.at>
815
816 * window.el (adjust-window-trailing-edge, enlarge-window)
817 (shrink-window, window-resize):
818 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
819 windows (Bug#11276).
820
821 2012-04-27 Chong Yidong <cyd@gnu.org>
822
823 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
824 fix "missing prefix" warning. All callers changed.
825
826 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 * emacs-lisp/assoc.el: Move to obsolete/.
829
830 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
833
834 * term/ns-win.el (ns-define-service):
835 * progmodes/pascal.el (pascal-goto-defun):
836 * progmodes/js.el (js--read-tab):
837 * progmodes/etags.el (tags-lazy-completion-table):
838 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
839 * emacs-lisp/ewoc.el (ewoc--wrap):
840 * emacs-lisp/assoc.el (aput, adelete, amake):
841 * doc-view.el (doc-view-convert-current-doc):
842 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
843
844 2012-04-26 Chong Yidong <cyd@gnu.org>
845
846 * image.el (image-type-from-buffer): Only return supported image
847 type (Bug#9045).
848
849 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
850 value, for symmetry with diff-end-of-hunk.
851 (diff-split-hunk, diff-find-source-location)
852 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
853 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
854 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
855 compute the relevant hunk or file properly (Bug#6005).
856 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
857
858 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * vc/vc-mtn.el:
861 * vc/vc-hg.el:
862 * vc/vc-git.el:
863 * vc/vc-dir.el:
864 * vc/vc-cvs.el:
865 * vc/vc-bzr.el:
866 * vc/vc-arch.el:
867 * vc/vc.el: Replace lexical-let by lexical-binding.
868 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
869 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
870 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
871
872 2012-04-26 Chong Yidong <cyd@gnu.org>
873
874 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
875 (diff-mode-shared-map): Bind it to / and [remap undo].
876
877 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
878 (ediff-window-setup-function): Use it as the default, to set up
879 windows based on whether the current frame is graphical (Bug#2138).
880 (ediff-choose-window-setup-function-automatically): Make obsolete.
881
882 * vc/ediff-init.el: Always define ediff-pixel-width/height.
883
884 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * ffap.el: Remove old code for obsolete package.
887 (ffap-complete-as-file-p): Remove.
888
889 Use completion-table-with-quoting for comint and pcomplete.
890 * comint.el (comint--unquote&requote-argument)
891 (comint--unquote-argument, comint--requote-argument): New functions.
892 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
893 (comint-quote-filename): Use regexp-opt-charset.
894 (comint--common-suffix, comint--common-quoted-suffix)
895 (comint--table-subvert): Remove.
896 (comint-unquote-function, comint-requote-function): New vars.
897 (comint--complete-file-name-data): Use them with
898 completion-table-with-quoting.
899 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
900 * pcomplete.el (pcomplete-arg-quote-list)
901 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
902 (pcomplete-unquote-argument-function): Default to non-nil.
903 (pcomplete-unquote-argument): Simplify.
904 (pcomplete--common-quoted-suffix): Remove.
905 (pcomplete-requote-argument-function): New var.
906 (pcomplete--common-suffix): New function.
907 (pcomplete-completions-at-point): Use completion-table-with-quoting
908 and completion-table-subvert.
909
910 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
911 (minibuffer--double-dollars): Preserve properties.
912 (completion--sifn-requote): New function.
913 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
914
915 * minibuffer.el: Add support for completion of quoted/escaped data.
916 (completion-table-with-quoting, completion-table-subvert): New funs.
917 (completion--twq-try, completion--twq-all): New functions.
918 (completion--nth-completion): New function.
919 (completion-try-completion, completion-all-completions): Use it.
920
921 2012-04-25 Leo Liu <sdl.web@gmail.com>
922
923 * progmodes/python.el (python-pdbtrack-get-source-buffer):
924 Use compilation-message if available to find real filename.
925
926 2012-04-25 Chong Yidong <cyd@gnu.org>
927
928 * vc/diff-mode.el (diff-setup-whitespace): New function.
929 (diff-mode): Use it.
930
931 * vc/diff.el (diff-sentinel):
932 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
933 Whitespace mode variables based on diff style (Bug#8612).
934
935 2012-04-25 Leo Liu <sdl.web@gmail.com>
936
937 * progmodes/python.el (python-send-region): Add suffix .py to the
938 temp file.
939
940 * files.el (auto-mode-alist): Use javascript-mode instead.
941
942 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
943
944 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
945
946 * soap-client.el (soap-resolve-references-for-sequence-type)
947 (soap-resolve-references-for-array-type): Hack to prevent self
948 references, see Bug#9.
949 (soap-parse-envelope): Report the contents of the 'detail' node
950 when receiving a fault reply.
951 (soap-parse-envelope): Report the contents of the entire 'detail' node.
952
953 * soap-inspect.el (soap-sample-value-for-simple-type)
954 (soap-inspect-simple-type): New function.
955
956 * soap-client.el (soap-simple-type): New struct.
957 (soap-default-xsd-types, soap-default-soapenc-types)
958 (soap-decode-basic-type, soap-encode-basic-type):
959 support unsignedInt and double basic types.
960 (soap-resolve-references-for-simple-type)
961 (soap-parse-simple-type, soap-encode-simple-type): New function.
962 (soap-parse-schema): Parse xsd:simpleType declarations.
963
964 * soap-client.el (soap-default-xsd-types)
965 (soap-default-soapenc-types): Add integer, byte and anyURI types.
966 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
967 the local name of "soapenc:Array".
968 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
969 decoding integer, byte and anyURI xsd types.
970
971 2012-04-25 Chong Yidong <cyd@gnu.org>
972
973 * cus-edit.el (custom-buffer-create-internal): Update header text.
974
975 2012-04-25 Eli Zaretskii <eliz@gnu.org>
976
977 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
978 settings on 'system-type', not on 'window-system'. On MS-Windows,
979 set interactive-mode on in GDB.
980
981 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
984 (ruby-syntax-propertize-regexp): Remove.
985 (ruby-syntax-propertize-function): Split regexp into chunks.
986 Match following code directly.
987
988 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
989
990 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
991 (ruby-syntax-propertize-regexp): New function.
992 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
993 by a special keyword.
994
995 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
996 (ruby-syntax-general-delimiters-goto-beg)
997 (ruby-syntax-propertize-general-delimiters): New functions.
998 (ruby-syntax-propertize-function): Use them to handle GDL.
999 (ruby-font-lock-keywords): Move old handling of GDL...
1000 (ruby-font-lock-syntactic-keywords): .. to here.
1001 (ruby-calculate-indent): Adjust indentation for GDL.
1002
1003 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1004
1005 * notifications.el (top): Remove unneeded declarations.
1006 (notifications-specification-version): Change to "1.2".
1007 (notifications-interface, notifications-notify-method)
1008 (notifications-close-notification-method): Fix docstring.
1009 (notifications-get-capabilities-method): New defconst.
1010 (notifications-notify): Add :action-items, :resident and
1011 :transient hints. Change "image_data" to "image-data" and
1012 "image_path" to "image-path".
1013 (notifications-get-capabilities): New defun.
1014
1015 2012-04-24 Leo Liu <sdl.web@gmail.com>
1016
1017 * progmodes/python.el: Move hideshow setup to the end.
1018
1019 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1020
1021 * window.el (handle-select-window): Clear echo area since this is
1022 no more done by read_char (Bug#11304).
1023
1024 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1027 and `/ M' to filter-derived-mode.
1028 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1029 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1030 (ibuffer-mark-by-mode): Use default rather than initial-input.
1031 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1032
1033 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1034
1035 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1036 (ibuffer-filter-by-derived-mode): New filter.
1037 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1038
1039 2012-04-23 Andreas Politz <politza@fh-trier.de>
1040
1041 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1042
1043 2012-04-23 Chong Yidong <cyd@gnu.org>
1044
1045 * cus-edit.el (customize-apropos, customize-apropos-options):
1046 Disable matching of non-option variables (Bug#11176).
1047 (customize-option, customize-option-other-window)
1048 (customize-changed-options): Doc fix.
1049 (customize-apropos-options, customize-apropos-faces)
1050 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1051
1052 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1053 Fix word list splitting (Bug#11132).
1054 (apropos-symbol, apropos-keybinding, apropos-label)
1055 (apropos-property, apropos-function-button)
1056 (apropos-variable-button, apropos-misc-button): New faces.
1057 (apropos-symbol-face, apropos-keybinding-face)
1058 (apropos-label-face, apropos-property-face, apropos-match-face):
1059 Variables removed (Bug#8396).
1060 (apropos-library-button, apropos-format-plist, apropos-print)
1061 (apropos-print-doc, apropos-describe-plist): Callers changed.
1062
1063 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1064
1065 * net/xesam.el (xesam-mode-map): Use let-bound map in
1066 initialization. (Bug#11292)
1067
1068 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1069
1070 Preserve ispell session localwords when switching back to
1071 original buffer.
1072
1073 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1074 variable to hold buffer session localwords.
1075 (ispell-kill-ispell): add option 'clear to delete session
1076 localwords.
1077 (ispell-command-loop, ispell-change-dictionary)
1078 (ispell-buffer-local-words): Preserve session localwords when
1079 needed.
1080
1081 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1082 Preserve session localwords when needed.
1083
1084 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1085
1086 * ispell.el (ispell-insert-word) Remove unneeded function using
1087 obsolete `translation-table-for-input'.
1088 (ispell-word, ispell-process-line, ispell-complete-word):
1089 Use plain `insert' instead of removed `ispell-insert-word'.
1090
1091 2012-04-22 Chong Yidong <cyd@gnu.org>
1092
1093 * cus-edit.el (custom-variable-menu)
1094 (custom-variable-reset-saved, custom-face-menu)
1095 (custom-face-reset-saved): If there is no saved value, make the
1096 "reset-saved" operation bring back the default (Bug#9509).
1097 (custom-face-state): Properly detect themed faces.
1098
1099 * faces.el (face-spec-set): Stop supporting deprecated form of
1100 third arg.
1101
1102 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1103
1104 Move functions from C to Lisp. Make non-blocking method calls
1105 the default. Implement further D-Bus standard interfaces.
1106
1107 * net/dbus.el (dbus-message-internal): Declare function.
1108 Remove unneeded function declarations.
1109 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1110 (dbus-message-type-method-return, dbus-message-type-error)
1111 (dbus-message-type-signal): Declare variables. Remove local
1112 definitions.
1113 (dbus-interface-dbus, dbus-interface-peer)
1114 (dbus-interface-introspectable, dbus-interface-properties)
1115 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1116 Adapt docstring.
1117 (dbus-interface-objectmanager): New defconst.
1118 (dbus-call-method, dbus-call-method-asynchronously)
1119 (dbus-send-signal, dbus-method-return-internal)
1120 (dbus-method-error-internal, dbus-register-service)
1121 (dbus-register-signal, dbus-register-method): New defuns, moved
1122 from dbusbind.c
1123 (dbus-call-method-handler, dbus-setenv)
1124 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1125 New defuns.
1126 (dbus-call-method-non-blocking): Make it an obsolete function.
1127 (dbus-unregister-object, dbus-unregister-service)
1128 (dbus-handle-event, dbus-register-property)
1129 (dbus-property-handler): Obey the new structure of
1130 `bus-registered-objects'.
1131 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1132 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1133 Use `dbus-call-method'.
1134
1135 2012-04-22 Chong Yidong <cyd@gnu.org>
1136
1137 * cus-edit.el (custom-commands, custom-reset-menu)
1138 (Custom-reset-standard): Tweak labels.
1139 (custom-reset-button-menu): Change default to t.
1140 (custom-buffer-create-internal): For the custom-reset-button-menu
1141 case, put the revert button first.
1142 (custom-group-subtitle): New face.
1143 (custom-group-value-create): Align docstring to a specific column.
1144
1145 * wid-edit.el (widget-documentation-link-add): Don't handle
1146 indentation in this function.
1147 (widget-documentation-string-indent-to): New function.
1148 (widget-documentation-string-value-create): Use it.
1149
1150 * autorevert.el (auto-revert):
1151 * epg-config.el (epg):
1152 * ibuffer.el (ibuffer):
1153 * mpc.el (mpc):
1154 * ses.el (ses):
1155 * eshell/eshell.el (eshell):
1156 * net/ange-ftp.el (ange-ftp):
1157 * progmodes/ebnf2ps.el (postscript):
1158 * progmodes/flymake.el (flymake):
1159 * progmodes/prolog.el (prolog):
1160 * progmodes/verilog-mode.el (verilog-mode):
1161 * progmodes/which-func.el (which-func):
1162 * term/xterm.el (xterm):
1163 * textmodes/picture.el (picture):
1164 * textmodes/tildify.el (tildify):
1165 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1166 customization buffers.
1167
1168 2012-04-22 Alan Mackenzie <acm@muc.de>
1169
1170 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1171 Adding a ) can hide the resulting (..) from searches. Fix it.
1172 Bound the backward search to the position of the existing (.
1173
1174 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1175
1176 * progmodes/verilog-mode.el (verilog-mode): Check whether
1177 which-func-modes is t before adding verilog-mode.
1178 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1179
1180 2012-04-21 Leo Liu <sdl.web@gmail.com>
1181
1182 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1183
1184 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1185
1186 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1187 filling of the last column of a table (Bug#5635).
1188 (woman-find-next-control-line): New arg, specifying an additional
1189 regexp component for the control line.
1190 (woman2-roff-buffer): Use it.
1191 (woman-break-table): New function.
1192 (woman2-TS): Use it.
1193
1194 2012-04-21 Chong Yidong <cyd@gnu.org>
1195
1196 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1197 (woman-horizontal-escapes, woman-negative-vertical-space)
1198 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1199 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1200
1201 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * minibuffer.el (completion-file-name-table): Complete user names.
1204
1205 2012-04-20 Leo Liu <sdl.web@gmail.com>
1206
1207 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1208 and pcase-let*.
1209
1210 2012-04-20 Chong Yidong <cyd@gnu.org>
1211
1212 * server.el (server-execute): Respect initial-buffer-choice if it
1213 is a string and there are no files to open (Bug#2825).
1214 (server-create-window-system-frame, server-create-tty-frame):
1215 Don't switch buffers here.
1216 (server-process-filter): Only try to open a window system frame if
1217 compiled with graphical support (Bug#8314).
1218
1219 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1220
1221 * battery.el (battery-echo-area-format): Display remaining time
1222 for sysfs backend too (Bug#11269).
1223 (battery-linux-sysfs): Fix conditional for the charge.
1224
1225 2012-04-20 Chong Yidong <cyd@gnu.org>
1226
1227 * progmodes/gdb-mi.el (gdb): Revert previous change.
1228 (gdb-inferior-io--init-proc): New function.
1229 (gdb-init-1): Use it.
1230 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1231 responsible for allocating a new pty and hooking it to gdb when
1232 the old pty gets an EIO due to process exit.
1233 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1234 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1235 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1236
1237 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1238
1239 * window.el (window-min-size, window-sizable, window-min-delta)
1240 (window-max-delta, window--resizable, window-resizable)
1241 (window-total-size, window-full-height-p, window-full-width-p)
1242 (window-in-direction, window--resize-mini-window, window-resize)
1243 (window--resize-child-windows-normal)
1244 (window--resize-child-windows, window--resize-siblings)
1245 (window--resize-this-window, adjust-window-trailing-edge)
1246 (enlarge-window, shrink-window): Doc fixes.
1247
1248 2012-04-20 Chong Yidong <cyd@gnu.org>
1249
1250 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1251 New function to call delete-process on the gdb-inferior buffer's pty.
1252 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1253 pty process (Bug#11273).
1254 (gdb-update): New arg to suppress talking to the gdb process.
1255 (gdb-done-or-error): Use it.
1256 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1257 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1258 sentinel not being called.
1259
1260 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1261
1262 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1263
1264 2012-04-20 Glenn Morris <rgm@gnu.org>
1265
1266 * net/network-stream.el (open-network-stream): Doc fix.
1267
1268 2012-04-20 Chong Yidong <cyd@gnu.org>
1269
1270 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1271
1272 2012-04-20 Alan Mackenzie <acm@muc.de>
1273
1274 Ensure searching for keywords is case sensitive.
1275
1276 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1277 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1278 (c-defun-name, c-mark-function, c-cpp-define-name)
1279 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1280 (c-context-line-break): Bind case-fold-search to nil.
1281
1282 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1283 Bind case-fold-search to nil.
1284
1285 2012-04-20 Chong Yidong <cyd@gnu.org>
1286
1287 * mail/sendmail.el (mail-bury): Call return action with the right
1288 Rmail buffer (Bug#11242).
1289
1290 * server.el (server-process-filter): Handle corner case where both
1291 tty and nowait options are present (Bug#11102).
1292
1293 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1294
1295 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1296 (top level): Put into the executable the ident-style '$Id:' tag on
1297 windows-nt as well.
1298
1299 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * electric.el (electric-indent-post-self-insert-function): Check that
1302 electric-indent-mode is enabled in current buffer.
1303
1304 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1305
1306 * imenu.el (imenu-progress-message): Restore; it is "used" in
1307 erc/erc-imenu.el and net/snmp-mode.el.
1308
1309 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1310
1311 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1312 (mouse-avoidance-nudge-mouse): Remove unused binding.
1313
1314 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1315
1316 * descr-text.el (describe-char):
1317 * progmodes/python.el (python-describe-symbol):
1318 Don't call `toggle-read-only', set `buffer-read-only'.
1319
1320 * imenu.el (imenu-default-goto-function): Mark unused args.
1321 (imenu-progress-message): Remove obsolete macro; all callers changed.
1322
1323 * subr.el (keymap-canonicalize): Remove unused binding.
1324 (read-passwd): Mark unused arg.
1325
1326 * tutorial.el (tutorial--display-changes): Remove unused binding.
1327 (tutorial--save-tutorial-to): Remove unused variable.
1328
1329 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1330 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1331 (package-generate-autoloads, package-menu--generate)
1332 (package-menu--find-upgrades): Remove unused bindings.
1333
1334 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1335 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1336 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1337 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1338 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1339 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1340 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1341 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1342 (cua-delete-char-rectangle): Mark unused args.
1343 (cua-align-rectangle): Remove unused binding.
1344
1345 * mail/rmail.el (compilation--message->loc)
1346 (epa--find-coding-system-for-mime-charset): Declare.
1347
1348 * net/dbus.el (dbus-register-service): Declare.
1349 (dbus-name-owner-changed-handler): Remove unused binding.
1350
1351 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1352 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1353 (nxml-scan-backward-within): Mark unused arg.
1354 (nxml-dynamic-markup-word): Remove unused binding.
1355
1356 * mouse.el (mouse-menu-major-mode-map):
1357 * emacs-lisp/authors.el (authors-scan-change-log)
1358 (authors-add-to-author-list):
1359 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1360 * emacs-lisp/smie.el (smie-auto-fill):
1361 * mail/sendmail.el (mail-bury):
1362 * mail/unrmail.el (unrmail):
1363 * net/tls.el (open-tls-stream):
1364 * textmodes/picture.el (picture-mouse-set-point):
1365 Remove unused bindings.
1366
1367 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1368
1369 * net/tramp.el (tramp-action-password): Let-bind
1370 `enable-recursive-minibuffers' to t.
1371
1372 2012-04-18 Sam Steingold <sds@gnu.org>
1373
1374 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1375 instead of 'string to accommodate values like [f11].
1376 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1377 * progmodes/gdb-mi.el: Likewise.
1378
1379 2012-04-18 Leo Liu <sdl.web@gmail.com>
1380
1381 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1382 current buffer.
1383 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1384 LOCAL is nil.
1385
1386 2012-04-18 Chong Yidong <cyd@gnu.org>
1387
1388 * simple.el (line-move): Use forward-line if in batch mode
1389 (Bug#11053).
1390
1391 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1392
1393 * files.el (after-find-file): Do not try to add a final newline if
1394 the buffer is read-only (Bug#11156).
1395
1396 2012-04-17 Richard Stallman <rms@gnu.org>
1397
1398 * mail/rmail.el (rmail-start-mail):
1399 Pass (rmail-mail-return...) for the return-action.
1400 Pass (rmail-yank-current-message...) for the yank-action.
1401 (rmail-yank-current-message): New function.
1402 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1403 (rmail-reply): Likewise.
1404 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1405
1406 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1407 buffer, not the last. Reject temp buffers. Use the rmail-mode
1408 buffer, not newbuf.
1409
1410 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1411
1412 * server.el (server-ensure-safe-dir): Simplify.
1413
1414 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1415
1416 * emacs-lisp/smie.el: Provide smarter auto-filling.
1417 (smie-auto-fill): New function.
1418 (smie-setup): Use it.
1419
1420 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1421
1422 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1423
1424 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1425 (comment-indent): Use it.
1426
1427 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1428
1429 * ses.el: The overall change is to add cell renaming, that is
1430 setting fancy names for cell symbols other than name matching
1431 "\\`[A-Z]+[0-9]+\\'" regexp .
1432 (ses-localvars): Add ses--renamed-cell-symb-list.
1433 (ses-create-cell-variable): New defun.
1434 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1435 (ses-relocate-formula): Relocate formulas only for cells the
1436 symbols of which are not renamed, i.e. symbols whose names do not
1437 match regexp "\\`[A-Z]+[0-9]+\\'".
1438 (ses-relocate-all): Relocate values only for cells the symbols of
1439 which are not renamed.
1440 (ses-load): Create cells variables as the (ses-cell ...) are read,
1441 in order to check row col consistency with cell symbol name only
1442 for cells that are not renamed.
1443 (ses-replace-name-in-formula): New defun.
1444 (ses-rename-cell): New defun.
1445
1446 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1447
1448 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1449 New option (bug#11118).
1450 (perl-calculate-indent): Respect it.
1451
1452 2012-04-17 Glenn Morris <rgm@gnu.org>
1453
1454 * dired-aux.el (dired-mark-read-string): Doc fix.
1455
1456 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1457
1458 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1459 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1460
1461 2012-04-17 Glenn Morris <rgm@gnu.org>
1462
1463 * mouse.el (mouse-drag-track):
1464 * speedbar.el (speedbar-frame-mode):
1465 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1466
1467 2012-04-16 Leo Liu <sdl.web@gmail.com>
1468
1469 * progmodes/python.el: Trivial cleanup.
1470
1471 2012-04-16 Glenn Morris <rgm@gnu.org>
1472
1473 * vc/vc.el (vc-string-prefix-p):
1474 * vc/pcvs-util.el (cvs-string-prefix-p):
1475 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1476 * mpc.el (mpc-string-prefix-p):
1477 Make all of these into obsolete aliases for string-prefix-p.
1478 Update callers.
1479 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1480
1481 * textmodes/two-column.el: Move custom options to the start.
1482 (frame-width): Remove compat definition.
1483 (2C-associate-buffer, 2C-dissociate):
1484 Use with-current-buffer rather than save-excursion.
1485 (2C-dissociate): Force a mode-line update.
1486 (2C-autoscroll): Use ignore-errors.
1487
1488 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1489 Autoload trivia.
1490
1491 * emacs-lisp/cl-extra.el (*random-state*):
1492 Remove unnecessary declaration.
1493
1494 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1495
1496 * play/cookie1.el (cookie-snarf):
1497 Give an explicit error if input file cannot be read.
1498
1499 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1500
1501 * progmodes/perl-mode.el (c-macro-expand):
1502 Remove unnecessary autoload (it is in loaddefs.el).
1503
1504 * textmodes/picture.el (picture-desired-column)
1505 (picture-update-desired-column): Convert comments to doc-strings.
1506 (picture-substitute): Remove function.
1507 (picture-mode-map): Initialize in the defvar.
1508
1509 * woman.el: Remove eval-after-load for tar-mode.
1510 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1511 (woman-tar-extract-file): Autoload it.
1512
1513 * frame.el (automatic-hscrolling): Make this alias obsolete.
1514
1515 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1516
1517 * ispell.el (ispell-set-spellchecker-params): Post-process
1518 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1519 (ispell-dictionary-base-alist): Revert to original XEmacs
1520 friendly version for default. [:alpha:] will be added in
1521 `ispell-set-spellchecker-params' if needed
1522
1523 2012-04-16 Chong Yidong <cyd@gnu.org>
1524
1525 * image.el (imagemagick--extension-regexp): New variable.
1526 (imagemagick-register-types): Use it.
1527 (imagemagick-types-inhibit): Add :set function. Allow new value
1528 of t to inhibit all types.
1529
1530 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1531 so we can preload it.
1532
1533 * loadup.el (fboundp): Preload regexp-opt, needed by
1534 imagemagick-register-types.
1535
1536 2012-04-15 Chong Yidong <cyd@gnu.org>
1537
1538 * frame.el (scrolling): Remove nearly unused customization group.
1539
1540 * scroll-all.el (scroll-all-mode): Move to windows group.
1541
1542 2012-04-15 Chong Yidong <cyd@gnu.org>
1543
1544 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1545
1546 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1549 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1550
1551 2012-04-15 Glenn Morris <rgm@gnu.org>
1552
1553 * simple.el (process-file-side-effects): Doc fix.
1554
1555 2012-04-15 Glenn Morris <rgm@gnu.org>
1556
1557 * international/mule-cmds.el (set-language-environment): Doc fix.
1558
1559 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1560
1561 * server.el (server-auth-key, server-generate-key): Doc fixes.
1562 (server-get-auth-key): Doc fix. Use `string-match-p'.
1563 (server-start): Reflow docstring.
1564
1565 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1566
1567 * server.el (server-generate-key): `called-interactively-p'
1568 requires a parameter.
1569
1570 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1571
1572 * server.el (server-auth-key): New variable.
1573 (server-generate-key, server-get-auth-key): New function.
1574 (server-start): Use the new variable and functions to allow
1575 setting a permanent server key (bug#9423).
1576
1577 2012-04-14 Leo Liu <sdl.web@gmail.com>
1578
1579 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1580
1581 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1582
1583 Spelling fixes.
1584 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1585 Emacs uses American spelling.
1586
1587 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1588
1589 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1590 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1591 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1592 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1593
1594 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1595
1596 * progmodes/which-func.el (which-func-modes): Change default.
1597
1598 2012-04-14 Kim F. Storm <storm@cua.dk>
1599
1600 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1601 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1602
1603 2012-04-14 Chong Yidong <cyd@gnu.org>
1604
1605 * custom.el (custom-theme-set-variables): Doc fix.
1606
1607 2012-04-14 Glenn Morris <rgm@gnu.org>
1608
1609 * international/mule.el (set-auto-coding-for-load): Doc fix.
1610
1611 2012-04-14 Alan Mackenzie <acm@muc.de>
1612
1613 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1614 imenu work again for Objective C Mode. Correct the *-index values,
1615 these having been disturbed by a previous change in 2011-08.
1616
1617 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1618 Correct two search limits.
1619
1620 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1623
1624 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1625
1626 * international/characters.el: Fix sorting.
1627
1628 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1629
1630 * international/characters.el: Add more missing Latin case pairs.
1631
1632 2012-04-14 Glenn Morris <rgm@gnu.org>
1633
1634 * files.el (dir-locals-set-class-variables): Doc fix.
1635
1636 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1637
1638 * international/characters.el: Add set-case-syntax-pair call for
1639 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1640 counterpart. (Bug#11209)
1641
1642 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1643
1644 2012-04-14 Glenn Morris <rgm@gnu.org>
1645
1646 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1647
1648 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1649
1650 * textmodes/ispell.el (ispell-dictionary-base-alist):
1651 Add data for Hebrew.
1652
1653 2012-04-14 Chong Yidong <cyd@gnu.org>
1654
1655 * net/rcirc.el (rcirc-cmd-quit):
1656 Revert 2012-03-18 change (Bug#11192).
1657
1658 2012-04-14 Glenn Morris <rgm@gnu.org>
1659
1660 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1661
1662 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1663
1664 * minibuffer.el (completion-in-region-mode-map):
1665 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1666
1667 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1668
1669 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1670
1671 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1672
1673 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1674 to allow `C-M-f' and `C-M-b' to move to the nearest path
1675 separator (bug#9511).
1676
1677 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1678
1679 * avoid.el: Require cl when compiling. And also move the
1680 `provide' to the end.
1681
1682 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1683
1684 * avoid.el (mouse-avoidance-banish-position): New variable.
1685 (mouse-avoidance-banish-destination): Use it (bug#10165).
1686
1687 2012-04-13 Leo Liu <sdl.web@gmail.com>
1688
1689 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1690
1691 2012-04-13 Ken Brown <kbrown@cornell.edu>
1692
1693 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1694 this is no longer needed now that cygstart understands file:// URLs.
1695 (browse-url-filename-alist): For the same reason, don't modify
1696 file:// URLs on Cygwin.
1697
1698 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1701 the region on shift if the binding is already shifted (bug#11221).
1702
1703 2012-04-12 Glenn Morris <rgm@gnu.org>
1704
1705 * mail/mailpost.el: Move to obsolete/.
1706
1707 2012-04-12 Drew Adams <drew.adams@oracle.com>
1708
1709 * imenu.el (imenu--generic-function): Ignore invisible definitions
1710 (bug#10123).
1711
1712 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1713
1714 * hexl.el (hexl-bits): New variable.
1715 (hexl-options): Mention the variable in the doc string.
1716 (hexl-rulerise, hexl-line-displen): New functions.
1717 (hexl-mode): Mention the new variable.
1718 (hexl-mode, hexl-current-address, hexl-current-address):
1719 Use the displen.
1720 (hexl-ascii-start-column): New function.
1721 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1722 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1723
1724 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1725
1726 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1727 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1728 the encoding, as expected by hunspell.
1729
1730 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * battery.el (battery--linux-sysfs-regexp): New const.
1733 (battery-status-function): Use it. Remove yeeloong special case.
1734 (battery-yeeloong-sysfs): Remove.
1735 (battery-echo-area-format): Remove yeeloong special case.
1736
1737 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1738
1739 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1740 Reported by Noah Friedman.
1741
1742 * subr.el (read-passwd): Use read-string.
1743
1744 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1745
1746 * vcursor.el (vcursor-move): Increase the priority of the overlay
1747 (bug#9663).
1748
1749 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1750
1751 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1752 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1753
1754 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1755
1756 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1757 define-minor-mode (bug#10760).
1758
1759 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1760
1761 * progmodes/grep.el (rgrep): Tweak the find command line so
1762 that directories matching `grep-find-ignored-files' won't be
1763 pruned (bug#10351).
1764
1765 2012-04-11 Chong Yidong <cyd@gnu.org>
1766
1767 * startup.el (command-line): Remove support for long-obsolete
1768 variable font-lock-face-attributes.
1769
1770 2012-04-11 Glenn Morris <rgm@gnu.org>
1771
1772 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1773
1774 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * window.el (window--state-get-1): Obey window-point-insertion-type.
1777
1778 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1779
1780 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1781 to previous function when point is on the first character of a
1782 function. Take care of that in `narrow-to-defun' (bug#6157).
1783
1784 2012-04-11 Glenn Morris <rgm@gnu.org>
1785
1786 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1787 not just file-errors.
1788
1789 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1790 (vc-bzr-sha1): Use internal sha1.
1791
1792 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1795
1796 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1797
1798 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1799 that start in the middle of the line (bug#10496).
1800
1801 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1802
1803 * battery.el (battery-linux-proc-acpi): Only one battery is
1804 discharged at a time, but that seems to confuse battery.el when
1805 computing `rate-type' for the battery not being discharged
1806 (bug#10332).
1807
1808 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1811
1812 * international/quail.el: Use dolist and simplify.
1813 (quail-define-package, quail-update-keyboard-layout)
1814 (quail-define-rules): Use dolist.
1815 (quail-insert-kbd-layout, quail-get-translation): CSE.
1816
1817 * tmm.el: Use dolist, remove left over hook.
1818 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1819 Use dolist.
1820 (calendar-load-hook): Don't mess with it.
1821
1822 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1823 Use derived-mode-p. Run the diff asynchronously.
1824
1825 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1826
1827 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1828
1829 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1830
1831 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1832 (list-dynamic-libraries--loaded): New function.
1833 (list-dynamic-libraries--refresh): Use it.
1834
1835 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1836
1837 * progmodes/python.el (python-fill-paragraph):
1838 Make python-fill-region in a multiline string work when font-lock is
1839 disabled (bug#7018).
1840
1841 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1842
1843 * language/european.el (cp775): Add oem/legacy (en)coding on
1844 DOS/MS Windows for the Baltic languages. There are still plenty
1845 of texts written in this encoding/codepage (bug#6519).
1846
1847 2012-04-10 Glenn Morris <rgm@gnu.org>
1848
1849 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1850 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1851
1852 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1853
1854 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1855 next-line "n" and previous-line "p" in order to make recentf more
1856 consistent with ibuffer, dired or org-mode (bug#9387).
1857
1858 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1859
1860 * image.el (put-image): Return the overlay created instead of the
1861 optional input string (bug#7834). Note that this may break code
1862 that is (for some reason or other) depending on `put-image'
1863 returning the string.
1864
1865 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1866
1867 * simple.el (zap-to-char): Allow zapping using input methods
1868 (bug#1580).
1869
1870 * textmodes/fill.el (fill-region): Leave point and mark where they
1871 were before filling (bug#5399).
1872
1873 2012-04-09 Glenn Morris <rgm@gnu.org>
1874
1875 * version.el (emacs-bzr-get-version):
1876 Handle lightweight checkouts of local branches.
1877
1878 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1879
1880 * international/characters.el: Recover lost case pairs. (Bug#11209)
1881
1882 2012-04-09 Chong Yidong <cyd@gnu.org>
1883
1884 * custom.el (custom-variable-p): Return nil for non-symbol
1885 arguments instead of signaling an error.
1886 (user-variable-p): Obsolete alias for custom-variable-p.
1887
1888 * apropos.el (apropos-variable):
1889 * files-x.el (read-file-local-variable):
1890 * simple.el (set-variable):
1891 * woman.el (woman-mini-help):
1892 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1893
1894 2012-04-09 Glenn Morris <rgm@gnu.org>
1895
1896 * startup.el (normal-top-level): Don't look for leim-list.el
1897 in places where it will not be found. (Bug#910)
1898
1899 * international/mule-cmds.el (set-default-coding-systems):
1900 * files.el (normal-mode):
1901 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1902 This function was removed with ucs-tables.el in 2008.
1903
1904 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1905
1906 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1907 ispell-encoding8-command to "-i", without a trailing space.
1908 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1909 separate command-line arguments, to specify the encoding, since
1910 that's how hunspell expects it.
1911
1912 2012-04-08 Glenn Morris <rgm@gnu.org>
1913
1914 * loadup.el: Load bindings before cus-start.
1915 This reduces somewhat the number of "rogue" settings in emacs -Q.
1916
1917 2012-04-07 Glenn Morris <rgm@gnu.org>
1918
1919 * version.el (emacs-bzr-get-version): New function.
1920 (emacs-bzr-version): New variable.
1921 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1922 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1923
1924 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1925
1926 * international/uni-bidi.el, international/uni-category.el:
1927 * international/uni-combining.el, international/uni-decimal.el:
1928 * international/uni-decomposition.el, international/uni-digit.el:
1929 * international/uni-lowercase.el, international/uni-mirrored.el:
1930 * international/uni-name.el, international/uni-numeric.el:
1931 * international/uni-titlecase.el, international/uni-uppercase.el:
1932 Update for Unicode 6.1.
1933
1934 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1935
1936 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1937
1938 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1939
1940 * window.el (shrink-window): Mention the `window-min-height'
1941 variable in the doc string.
1942
1943 2012-04-05 Bastien Guerry <bzg@altern.org>
1944
1945 * color.el (color-lighten-name): Fix typo.
1946
1947 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * server.el (server--on-display-p): New function.
1950 (server--on-display-p): Use it.
1951
1952 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1953
1954 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1955 (bug#11145).
1956
1957 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * comint.el (comint--common-quoted-suffix): Check string boundary
1960 before comparing (bug#11158).
1961 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1962
1963 2012-04-04 Chong Yidong <cyd@gnu.org>
1964
1965 * minibuffer.el (completion-extra-properties): Doc fix.
1966
1967 * subr.el (delayed-warnings-hook): Doc fix.
1968
1969 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1970
1971 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1972 selection (Bug#11159).
1973 (epa-insert-keys): Inform that the default public key will be
1974 exported if no key is selected.
1975
1976 2012-04-04 Richard Stallman <rms@gnu.org>
1977
1978 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1979
1980 2012-04-03 Chong Yidong <cyd@gnu.org>
1981
1982 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1983 mail-insert-file, not its obsolete alias mail-attach-file.
1984
1985 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1986
1987 * notifications.el (notifications-notify): Fix docstring.
1988
1989 2012-04-02 Glenn Morris <rgm@gnu.org>
1990
1991 * emacs-lisp/authors.el (authors-aliases): Another addition.
1992
1993 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1994
1995 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1996 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1997 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1998
1999 2012-04-01 Chong Yidong <cyd@gnu.org>
2000
2001 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2002 Handle root directory properly.
2003 (copy-directory): Caller changed.
2004
2005 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2006 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2007
2008 2012-03-31 Glenn Morris <rgm@gnu.org>
2009
2010 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2011
2012 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2013
2014 * calendar/calendar.el (calendar-window-list)
2015 (calendar-hide-window): Restore. (Bug#11140)
2016 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2017
2018 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2019
2020 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2021
2022 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2023 Check if file is a symlink (Bug#10489).
2024
2025 * files.el (copy-directory): Likewise.
2026
2027 2012-03-30 Chong Yidong <cyd@gnu.org>
2028
2029 * image.el (imagemagick-types-inhibit)
2030 (imagemagick-register-types): Doc fix.
2031
2032 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2033
2034 * ispell.el (ispell-get-extended-character-mode):
2035 Disable extended-char-mode for hunspell. hunspell does not support it
2036 and treats ~word as ordinary words in pipe mode.
2037
2038 2012-03-30 Glenn Morris <rgm@gnu.org>
2039
2040 * tutorial.el (help-with-tutorial): Ensure local variables don't
2041 happen to make the buffer read-only. (Bug#11127)
2042
2043 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2046 (perl-calculate-indent): Return `noindent' in strings.
2047
2048 2012-03-28 Sam Steingold <sds@gnu.org>
2049
2050 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2051 instead of the broken adhockery which does not prevent calendar
2052 buffers from being displayed at random after exit.
2053 (calendar-window-list, calendar-hide-window): Remove the broken
2054 adhockery.
2055
2056 2012-03-28 Glenn Morris <rgm@gnu.org>
2057
2058 * replace.el (query-replace-map): Doc fix.
2059
2060 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2061
2062 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2063 contents. (Bug#11109)
2064
2065 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2068 (bug#11077).
2069 (avl-tree--check, avl-tree--check-node): New funs.
2070
2071 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2072
2073 * window.el (switch-to-visible-buffer): New option.
2074 (switch-to-prev-buffer, switch-to-next-buffer):
2075 Observe switch-to-visible-buffer. Make sure that checking for a window
2076 showing a buffer already is done on the same frame.
2077
2078 2012-03-27 Glenn Morris <rgm@gnu.org>
2079
2080 * startup.el (mail-host-address): Doc fix.
2081
2082 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2083
2084 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2085 than 197 variables.
2086
2087 2012-03-26 Ami Fischman <ami@fischman.org>
2088
2089 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2090
2091 2012-03-26 Glenn Morris <rgm@gnu.org>
2092
2093 * files.el (save-buffers-kill-emacs): Doc fix.
2094
2095 * startup.el (normal-top-level, command-line, command-line-1):
2096 Give them doc strings.
2097
2098 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2099
2100 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2101 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2102
2103 2012-03-25 Chong Yidong <cyd@gnu.org>
2104
2105 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2106 theme if it was previously enabled before (Bug#11031).
2107
2108 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2109 spec with custom-face-get-current-spec if its :shown-value is not
2110 determined yet (Bug#9337).
2111 (customize-create-theme, custom-theme-revert): Doc fixes.
2112
2113 * button.el (button-at): Minor addition to docstring.
2114
2115 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2116
2117 * vc/vc.el (vc-merge): Fix a prompt.
2118
2119 2012-03-24 Chong Yidong <cyd@gnu.org>
2120
2121 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2122 point (Bug#9623).
2123
2124 * button.el (button-at): Minor addition to docstring.
2125
2126 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2127
2128 * newcomment.el (comment-choose-indent): No space after BOL.
2129
2130 2012-03-22 Sam Steingold <sds@gnu.org>
2131
2132 * window.el (switch-to-prev-buffer): Revert last patch because the
2133 bug turned out to be an advertised feature (Elisp manual 28.14).
2134
2135 2012-03-22 Glenn Morris <rgm@gnu.org>
2136
2137 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2138 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2139
2140 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2141
2142 * net/network-stream.el (network-stream-open-starttls): Make error
2143 message under Windows be less misleading.
2144
2145 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2146
2147 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2148 understands (bug#9942).
2149
2150 2012-03-22 Chong Yidong <cyd@gnu.org>
2151
2152 * simple.el (end-of-visible-line): Handle return value of
2153 next-single-property-change properly (Bug#9371).
2154
2155 2012-03-22 Kenichi Handa <handa@m17n.org>
2156
2157 * international/quail.el (quail-insert-kbd-layout): Fix previous
2158 change. To avoid unwanted bidi reordering, use
2159 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2160
2161 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2162
2163 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2164 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2165 (ruby-beginning-of-indent): Be more careful with the difference
2166 between word-boundary and symbol boundary.
2167 (ruby-mode-syntax-table): Make : a symbol constituent.
2168
2169 2012-03-21 Andreas Politz <politza@fh-trier.de>
2170
2171 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2172
2173 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2174
2175 * progmodes/etags.el (tags-completion-at-point-function):
2176 Improve last fix.
2177
2178 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2179
2180 2012-03-21 Sam Steingold <sds@gnu.org>
2181
2182 * progmodes/etags.el (tags-completion-at-point-function):
2183 Avoid the error when point is inside the pattern.
2184
2185 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2186
2187 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2188 line (Bug#10855).
2189
2190 2012-03-21 Drew Adams <drew.adams@oracle.com>
2191
2192 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2193
2194 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2195
2196 * ido.el (ido-set-current-directory, ido-read-internal)
2197 (ido-choose-completion-string, ido-completion-help): Handle nil
2198 value of ido-completion-buffer (Bug#11008).
2199
2200 2012-03-21 Sam Steingold <sds@gnu.org>
2201
2202 * window.el (switch-to-prev-buffer): Do not switch to a visible
2203 window previous buffer, just like with the frame previous buffers.
2204
2205 2012-03-21 Chong Yidong <cyd@gnu.org>
2206
2207 * faces.el (make-face, make-empty-face, copy-face):
2208 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2209 Doc fixes.
2210
2211 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2214 (widget-complete): Remove broken use of it.
2215
2216 2012-03-20 Chong Yidong <cyd@gnu.org>
2217
2218 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2219 Use string-width and truncate-string-width to handle arbitrary
2220 characters.
2221
2222 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2223
2224 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2225 to draw rectangles, not squares. (Regression introduced by revno
2226 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2227
2228 2012-03-18 Chong Yidong <cyd@gnu.org>
2229
2230 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2231 it is not yet defined (for temacs).
2232
2233 2012-03-18 Leo Liu <sdl.web@gmail.com>
2234
2235 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2236
2237 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2238
2239 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2240 (ispell-choices-win-default-height, ispell-silently-savep)
2241 (ispell-dictionary-alist, ispell-encoding8-command)
2242 (ispell-check-version, ispell-aspell-find-dictionary)
2243 (ispell-valid-dictionary-list, ispell-words-keyword)
2244 (ispell-get-word, ispell-internal-change-dictionary)
2245 (ispell-region, ispell-skip-region-list)
2246 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2247 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2248 (ispell-message-text-end, ispell-message)
2249 (ispell-buffer-local-parsing): Doc fix.
2250
2251 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2252
2253 * htmlfontify.el: Add support for code block fontification for ODT
2254 export (Bug #9914).
2255 (hfy-optimisations): Define new option
2256 `body-text-only'
2257 (hfy-fontify-buffer): Honor above setting.
2258 (hfy-begin-span, hfy-end-span): New routines factored out form
2259 `hfy-fontify-buffer'.
2260 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2261 that permit insertion of custom tags.
2262 (hfy-fontify-buffer): Use above handlers.
2263 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2264 (hfy-face-to-css): Re-defined to be a variable.
2265 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2266 over multiple runs. This is made possible by having the caller let
2267 bind a special variable `hfy-user-sheet-assoc'.
2268 (htmlfontify-string): New defun.
2269 (hfy-compile-face-map): Make sure that the last char in the
2270 buffer is correctly fontified.
2271 (hfy-face-resolve-face): Whitespace only change.
2272
2273 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2274
2275 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2276 message more clear.
2277
2278 2012-03-16 Leo Liu <sdl.web@gmail.com>
2279
2280 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2281
2282 2012-03-16 Alan Mackenzie <acm@muc.de>
2283
2284 Further optimise the handling of large macros.
2285
2286 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2287 limit to a call of `c-literal-limits'.
2288 (c-determine-+ve-limit): New function.
2289 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2290 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2291 In CASE 5B, restrict a search limit to 500.
2292 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2293
2294 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2295 Restrict macro bounds to +-500 from after-change's BEG END.
2296
2297 2012-03-16 Leo Liu <sdl.web@gmail.com>
2298
2299 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2300
2301 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2302
2303 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2304 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2305
2306 2012-03-16 Glenn Morris <rgm@gnu.org>
2307
2308 * view.el (view-buffer, view-buffer-other-window)
2309 (view-buffer-other-frame): Doc fixes re special mode-class.
2310
2311 * subr.el (eval-after-load): If named feature is provided not from
2312 a file, run after-load forms. (Bug#10946)
2313
2314 * calendar/calendar.el (calendar-insert-at-column):
2315 Handle non-unit-width characters a bit better. (Bug#10978)
2316
2317 2012-03-15 Chong Yidong <cyd@gnu.org>
2318
2319 * emacs-lisp/ring.el (ring-extend): New function.
2320 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2321
2322 * comint.el (comint-read-input-ring)
2323 (comint-add-to-input-history): Grow comint-input-ring lazily.
2324
2325 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2328 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2329
2330 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2331 (imenu-add-to-menubar): Don't add a redundant index.
2332 (imenu-update-menubar): Handle a dynamically composed keymap.
2333
2334 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2335
2336 * mail/sendmail.el (mail-encode-header):
2337 Bind rfc2047-encode-encoded-words to nil.
2338
2339 2012-03-13 Glenn Morris <rgm@gnu.org>
2340
2341 * calendar/calendar.el (calendar-string-spread):
2342 Handle non-unit-width characters a bit better. (Bug#10978)
2343
2344 2012-03-13 Leo Liu <sdl.web@gmail.com>
2345
2346 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2347 directory and file as argument (Bug#10822).
2348
2349 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2350
2351 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2352 For dynamically generated code, follow $PC.
2353 (gdb-disassembly-handler-custom): Handle no function name case.
2354
2355 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2356
2357 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2358 * emulation/ws-mode.el (ws-query-replace):
2359 * sort.el (sort-regexp-fields):
2360 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2361
2362 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * dabbrev.el: Fix cycle completion order (bug#10963).
2365 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2366 (dabbrev-completion): Don't use an obarray; provide
2367 a cycle-sort-function.
2368
2369 2012-03-12 Leo Liu <sdl.web@gmail.com>
2370
2371 * simple.el (kill-new): Use equal-including-properties for comparison.
2372 (kill-do-not-save-duplicates): Doc fix.
2373
2374 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2375
2376 * dabbrev.el: Fix cycle completion (bug#10963).
2377 Use lexical binding and wrap to 80 columns.
2378 (dabbrev-completion): Delay computing the list of completions.
2379
2380 2012-03-12 Kenichi Handa <handa@m17n.org>
2381
2382 * international/quail.el (quail-insert-kbd-layout): Surround each
2383 row by LRO and PDF instead of inserting many LRMs. Pad the left
2384 and right of each non-spacing marks. Insert invisible space
2385 between lower and upper characters to prevent composition.
2386
2387 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * minibuffer.el (minibuffer-complete): Don't get confused when the
2390 function is run twice via different commands (bug#10958).
2391 (complete-with-action): Fix docstring.
2392
2393 2012-03-12 Chong Yidong <cyd@gnu.org>
2394
2395 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2396 (nxml-completion-at-point-function): New function.
2397 (nxml-mode): Use it.
2398 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2399
2400 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2401 Load generated autoloads file before byte compiling (Bug#10970).
2402 (package--make-autoloads-and-compile): New helper fun.
2403
2404 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2405
2406 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2407
2408 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2409
2410 * autorevert.el (auto-revert-handler): Ensure, that
2411 file-readable-p is applied only for local files or in
2412 auto-revert-tail-mode.
2413
2414 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2415
2416 * server.el (server-eval-at): Handle non-tcp connections.
2417 Decode result string.
2418
2419 * server.el (server-msg-size): New constant.
2420 (server-reply-print): New function.
2421 (server-eval-and-print): Use it.
2422 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2423 Handle -print-nonl.
2424
2425 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2426
2427 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2428 (Bug#10987).
2429
2430 2012-03-11 Chong Yidong <cyd@gnu.org>
2431
2432 * simple.el (goto-line): Doc fix (Bug#9938).
2433
2434 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2435
2436 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2437 when finished (Bug#10963).
2438
2439 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2440
2441 * window.el (split-window-below): Fix bug in case where
2442 split-window-keep-point is nil (Bug#10971).
2443
2444 2012-03-11 Juri Linkov <juri@jurta.org>
2445
2446 * replace.el (replace-highlight): Set isearch-word to nil
2447 unconditionally. (Bug#10887)
2448
2449 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2450
2451 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2452 mairix-replace-illegal-chars; all callers changed. Don't remove
2453 ^, ~, and = characters: they are meaningful in mairix search specs.
2454 (mairix-widget-create-query): Add usage information about mairix
2455 search forms: negating words, searching for substrings, etc.
2456
2457 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2458
2459 * international/fontset.el (font-encoding-alist): Add an entry for
2460 ksx1001 (Bug#5667).
2461
2462 2012-03-10 Richard Stallman <rms@gnu.org>
2463
2464 * mail/sendmail.el (mail-encode-header):
2465 Set rfc2047-encode-encoded-words.
2466
2467 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2468
2469 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2470 view buffer means not swapped.
2471 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2472 (rmail-write-region-annotate): Error if real text has disappeared.
2473
2474 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2475
2476 2012-03-10 Chong Yidong <cyd@gnu.org>
2477
2478 * emulation/cua-rect.el (cua--init-rectangles):
2479 * emulation/cua-base.el (cua--init-keymaps):
2480 Add delete-forward-char to remappings (Bug#9666).
2481
2482 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2483
2484 * speedbar.el (speedbar-unhighlight-one-tag-line):
2485 Avoid unhighlighting due to frame switching (Bug#10275).
2486
2487 2012-03-10 Chong Yidong <cyd@gnu.org>
2488
2489 * minibuffer.el (completion-in-region, completion-help-at-point):
2490 Give the completion field overlay a high priority (Bug#6830).
2491
2492 * dired.el (dired-goto-file): Recognize absolute file name
2493 listings (Bug#7126).
2494 (dired-goto-file-1): New helper function.
2495 (dired-toggle-read-only): Inhibit warnings.
2496
2497 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/dbus.el (dbus-property-handler): Return empty array if
2500 there are no properties.
2501
2502 2012-03-09 Leo Liu <sdl.web@gmail.com>
2503
2504 * savehist.el (savehist-printable): Stricter check for string
2505 value (Bug#10937).
2506
2507 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2508
2509 * mail/smtpmail.el (smtpmail-send-it):
2510 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2511 valid mbox format.
2512
2513 2012-03-09 Glenn Morris <rgm@gnu.org>
2514
2515 * files.el (dir-locals-find-file):
2516 Don't check result is regular, readable.
2517 (dir-locals-read-from-file): Demote errors.
2518
2519 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2520
2521 * international/quail.el (quail-insert-kbd-layout):
2522 Insert invisible LRM characters before each character in a keyboard
2523 layout cell, to prevent their reordering by bidi display engine.
2524 For details, see the discussion in
2525 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2526
2527 2012-03-08 Alan Mackenzie <acm@muc.de>
2528
2529 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2530 the starting position; make it extend the marked region when
2531 invoked repeatedly - all under appropriate circumstances.
2532 Fixes bugs #5525, #10906.
2533
2534 2012-03-08 Glenn Morris <rgm@gnu.org>
2535
2536 * files.el (locate-dominating-file, dir-locals-find-file):
2537 Undo 2012-03-06 change.
2538
2539 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2540
2541 * international/quail.el (quail-help):
2542 Force bidi-paragraph-direction be left-to-right. See discussion in
2543 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2544 for the reason.
2545
2546 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2547
2548 Avoid superfluous registering of signals. (Bug#10807)
2549
2550 * notifications.el (notifications-on-action-object)
2551 (notifications-on-close-object): New defvars.
2552 (notifications-on-action-signal, notifications-on-closed-signal):
2553 Unregister the signal if not needed any longer.
2554 (notifications-notify): Register `notifications-action-signal' or
2555 `notifications-closed-signal', if :on-action or :on-close has been
2556 passed as argument.
2557
2558 2012-03-07 Chong Yidong <cyd@gnu.org>
2559
2560 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2561 non-X platforms.
2562
2563 2012-03-06 Glenn Morris <rgm@gnu.org>
2564
2565 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2566 (x-disown-selection-internal, x-get-selection-internal):
2567 Doc fix (add arglist signatures). (Bug#10783)
2568
2569 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2570
2571 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2572 Handle breakpoints with no "type".
2573
2574 2012-03-06 Glenn Morris <rgm@gnu.org>
2575
2576 * files.el (locate-dominating-file): Add optional predicate argument.
2577 (dir-locals-find-file): Make use of above change.
2578
2579 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2580
2581 * info.el (Info-insert-dir): Also try "dir.gz".
2582
2583 2012-03-06 Glenn Morris <rgm@gnu.org>
2584
2585 * files.el (dir-locals-find-file):
2586 Ignore non-readable or non-regular files. (Bug#10928)
2587
2588 * files.el (locate-dominating-file): Doc fix.
2589
2590 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2591
2592 * calendar/calendar.el (calendar-set-mode-line):
2593 `getenv' returns a string. (Bug#10951)
2594
2595 2012-03-05 Leo Liu <sdl.web@gmail.com>
2596
2597 * simple.el (backward-delete-char-untabify): Constrain point to
2598 field (Bug#10939).
2599
2600 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2601
2602 2012-03-05 Chong Yidong <cyd@gnu.org>
2603
2604 * simple.el (count-words): If called from Lisp, return the word
2605 count, for symmetry with `count-lines'. Arglist changed.
2606 (count-words--message): Args changed. Consolidate counting code
2607 from count-words and count-words-region.
2608 (count-words-region): Caller changed.
2609 (count-lines-region): Make it an obsolete alias.
2610
2611 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2612
2613 * saveplace.el (save-place-to-alist)
2614 (save-place-ignore-files-regexp): Allow value nil to disable this
2615 feature.
2616
2617 2012-03-04 Chong Yidong <cyd@gnu.org>
2618
2619 * faces.el (face-spec-reset-face): For the default face, reset the
2620 attributes to default values (Bug#10748).
2621
2622 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2623
2624 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2625 previous patch: Check `message-send-mail-function', and not the
2626 default function (bug#10897).
2627
2628 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2629
2630 * notifications.el (notifications-on-action-signal)
2631 (notifications-on-closed-signal): Check for unique service name of
2632 incoming event. Fix error in removing entry.
2633 (top): Register for signals with wildcard service name.
2634 (notifications-notify): Use daemon unique service name for map entries.
2635
2636 2012-03-04 Chong Yidong <cyd@gnu.org>
2637
2638 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2639
2640 2012-03-04 Glenn Morris <rgm@gnu.org>
2641
2642 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2643 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2644 (expand-abbrev, define-abbrev-table): Doc fixes.
2645
2646 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2647
2648 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2649 `message-default-send-mail-function' and not `send-mail-function'
2650 when doing the prompting for `sendmail-query-once' before sending
2651 in Message buffers (bug#10897).
2652
2653 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2654 This is inconsistent with all the other stream functions, which leave
2655 the setting up to the higher levels (if so wanted) (bug#10931).
2656
2657 2012-03-02 Alan Mackenzie <acm@muc.de>
2658
2659 Depessimize the handling of very large macros.
2660
2661 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2662 (c-macro-cache-syntactic): New variables to implement a one
2663 element macro cache.
2664 (c-invalidate-macro-cache): New function.
2665 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2666 Adapt to use the new cache.
2667 (c-state-safe-place): Use better the cache of safe positions.
2668 (c-state-semi-nonlit-pos-cache)
2669 (c-state-semi-nonlit-pos-cache-limit):
2670 New variables for...
2671 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2672 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2673 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2674 Use c-state-semi-safe-place.
2675
2676 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2677 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2678
2679 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2680
2681 * jka-compr.el (jka-compr-call-process):
2682 Apply `file-accessible-directory-p' only when the default directory is
2683 not remote.
2684
2685 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2686
2687 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2688 access of FILE2, if FILE1 does not exist.
2689
2690 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2691 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2692
2693 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2694 Add "PAGER=" to `process-environment'.
2695
2696 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2697
2698 * progmodes/sql.el: Bug fix
2699 (sql-get-login-ext): Save login values in globals.
2700 (sql-get-login): Use new version of `sql-get-login-ext'.
2701 (sql-interactive-mode): Set global `sql-connection' to nil.
2702 (sql-connect): Set global values for connection.
2703 (sql-product-interactive): Save global values as buffer local.
2704
2705 2012-02-29 Leo Liu <sdl.web@gmail.com>
2706
2707 * abbrev.el (define-abbrevs): Reset sys to nil.
2708
2709 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2710
2711 * files.el (file-equal-p): Rename from `files-equal-p'.
2712 Return nil when one or both files don't exist.
2713 (file-subdir-of-p): Now only top directory must exists,
2714 return nil if it doesn't.
2715 (copy-directory): No need to test with `file-subdir-of-p' after
2716 creating dir.
2717 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2718 to `file-equal-p'.
2719
2720 2012-02-28 Glenn Morris <rgm@gnu.org>
2721
2722 * shell.el (shell-mode):
2723 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2724 * play/landmark.el (landmark-font-lock-face-O):
2725 * play/handwrite.el (handwrite):
2726 * play/gomoku.el (gomoku-O):
2727 * net/browse-url.el (browse-url-browser-display):
2728 * international/mule.el (define-charset):
2729 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2730 * filesets.el (filesets-find-file-delay):
2731 * eshell/em-xtra.el (eshell-xtra):
2732 * eshell/em-unix.el (eshell-grep):
2733 * emulation/viper.el (viper-mode):
2734 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2735 * emacs-lisp/easymenu.el (easy-menu-define):
2736 * calendar/timeclock.el (timeclock-use-display-time):
2737 * bs.el (bs-mode):
2738 * bookmark.el (bookmark-save-flag):
2739 Doc fix (standardize possessive apostrophe usage).
2740
2741 2012-02-27 Chong Yidong <cyd@gnu.org>
2742
2743 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2744 Fix key-binding lookup for ESC key (Bug#9146).
2745
2746 * font-lock.el (font-lock-specified-p): Rename from
2747 font-lock-spec-present. Callers changed.
2748
2749 2012-02-27 Daniel Hackney <dan@haxney.org>
2750
2751 * emacs-lisp/package.el (package-compute-transaction):
2752 Handle holding a package version to t in package-load-list.
2753
2754 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2755
2756 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2757 (tramp-get-inode, tramp-get-device): Use cached values.
2758
2759 2012-02-26 Alan Mackenzie <acm@muc.de>
2760
2761 Check there is a font-lock specification before doing initial
2762 fontification.
2763
2764 * font-core.el (font-lock-mode): Move the conditional from
2765 :after-hook to font-lock-initial-fontify.
2766 (font-lock-default-function): Move the check for a specification
2767 to font-lock-spec-present.
2768
2769 * font-lock.el (font-lock-initial-fontify): Call ...
2770 (font-lock-spec-present): New function.
2771
2772 2012-02-26 Jim Blandy <jimb@red-bean.com>
2773
2774 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2775 (gdb-send): Apply it to the operand of the '-interpreter-exec
2776 console' command, so that we can pass arguments with (say) quotes
2777 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2778
2779 2012-02-26 Chong Yidong <cyd@gnu.org>
2780
2781 * help-fns.el (describe-function-1): Clarify description of
2782 remapping (Bug#10844).
2783
2784 * files.el (files-equal-p): Doc fix.
2785 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2786 and quit the loop once a mismatch is found.
2787
2788 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2789
2790 * bs.el (bs--show-with-configuration): Don't throw an error
2791 if the window cannot be split; otherwise, subsequent calls to
2792 bs-show fail, restoring a stale window config. (Bug#10882)
2793
2794 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2795
2796 * term/ns-win.el (global-map): Bind ns-drag-file to
2797 ns-find-file (Bug#5855, Bug#10050).
2798
2799 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2800
2801 * calendar/parse-time.el (parse-time-string): Allow extractor to
2802 return nil.
2803
2804 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2805
2806 * net/tramp.el (tramp-file-name-for-operation):
2807 Add `files-equal-p' and `file-subdir-of-p'.
2808
2809 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2810 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2811 Add COPY-CONTENTS argument.
2812
2813 2012-02-25 Chong Yidong <cyd@gnu.org>
2814
2815 Add custom groups for VC backends, for consistency with vc-bzr.
2816
2817 * vc/vc-arch.el (vc-arch):
2818 * vc/vc-cvs.el (vc-cvs):
2819 * vc/vc-git.el (vc-git):
2820 * vc/vc-hg.el (vc-hg):
2821 * vc/vc-mtn.el (vc-mtn):
2822 * vc/vc-rcs.el (vc-rcs):
2823 * vc/vc-sccs.el (vc-sccs):
2824 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2825 All relevant defcustoms reassigned.
2826
2827 2012-02-25 Chong Yidong <cyd@gnu.org>
2828
2829 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2830
2831 * term/x-win.el (x-initialize-window-system): Reduce default for
2832 x-selection-timeout to 5 seconds (Bug#8869).
2833
2834 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2835
2836 * files.el (files-equal-p, file-subdir-of-p): New functions.
2837 (copy-directory): Error when trying to copy a directory on itself.
2838 Add missing copy-contents arg to tramp handler.
2839 * dired-aux.el (dired-copy-file-recursive): Same.
2840 (dired-create-files): Modify destination when source is equal to
2841 dest when copying files.
2842 Return also when dest is a subdir of source. (Bug#10489)
2843
2844 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2845
2846 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2847 (Bug#10874)
2848
2849 2012-02-23 Alan Mackenzie <acm@muc.de>
2850
2851 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2852 parameter "after-hook:" to allow the expansion to run code after
2853 the execution of the mode hooks.
2854
2855 * font-lock.el (font-lock-initial-fontify): New function extracted
2856 from font-lock-mode-internal.
2857
2858 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2859 :after-hook.
2860
2861 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2864 (completion--cache-all-sorted-completions): New function.
2865 (completion-all-sorted-completions): Use it.
2866 (completion--do-completion, minibuffer-force-complete):
2867 Use it to re-instate the flush hook.
2868
2869 * icomplete.el (icomplete-completions): Replace last fix with a better
2870 one (bug#10850).
2871
2872 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2873
2874 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2875 when it might call us back infinitely (bug#10797).
2876
2877 2012-02-23 Glenn Morris <rgm@gnu.org>
2878
2879 * minibuffer.el (completion-category-overrides): Doc fix.
2880
2881 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2882
2883 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2884 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2885
2886 2012-02-23 Glenn Morris <rgm@gnu.org>
2887
2888 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2889 (authors-obsolete-files-regexps, authors-ignored-files)
2890 (authors-ambiguous-files, authors-renamed-files-alist):
2891 Add more entries.
2892
2893 2012-02-23 Juri Linkov <juri@jurta.org>
2894
2895 * isearch.el (isearch-occur): Sync interactive spec with occur's
2896 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2897
2898 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2899
2900 2012-02-22 Juri Linkov <juri@jurta.org>
2901
2902 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2903 (ucs-insert): Doc fix. Check for hex digits in the string.
2904 Don't display `nil' in the error message. (Bug#10857)
2905
2906 2012-02-22 Alan Mackenzie <acm@muc.de>
2907
2908 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2909
2910 2012-02-22 Glenn Morris <rgm@gnu.org>
2911
2912 * ffap.el (ffap-c-path):
2913 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2914
2915 2012-02-22 Chong Yidong <cyd@gnu.org>
2916
2917 * custom.el (load-theme): Doc fix.
2918
2919 2012-02-22 Glenn Morris <rgm@gnu.org>
2920
2921 * dired-x.el (dired-guess-shell-alist-default):
2922 Remove escape sequences from nroff output. (Bug#172)
2923
2924 2012-02-21 Glenn Morris <rgm@gnu.org>
2925
2926 * vc/emerge.el (emerge-defvar-local):
2927 Set `permanent-local' property rather than unused `preserved'.
2928
2929 * textmodes/picture.el (picture-delete-char): New alias.
2930 (picture-mode-map): Use it. (Bug#10860)
2931 (picture-mode): Doc fix.
2932
2933 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2934
2935 * newcomment.el (uncomment-region-default): Remove unused binding.
2936
2937 2012-02-21 Glenn Morris <rgm@gnu.org>
2938
2939 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2940 (picture-self-insert, picture-tab-chars): Doc fix.
2941 (picture-mode-map): Fix C-a, C-e.
2942
2943 2012-02-20 Glenn Morris <rgm@gnu.org>
2944
2945 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2946
2947 2012-02-20 Leo Liu <sdl.web@gmail.com>
2948
2949 * icomplete.el (icomplete-completions): Check FROM arg before
2950 passing to substring (Bug#10850).
2951
2952 2012-02-19 Chong Yidong <cyd@gnu.org>
2953
2954 * comint.el: Require ansi-color.
2955 (comint-output-filter-functions): Add ansi-color-process-output.
2956
2957 * ansi-color.el: Don't set comint-output-filter-functions; it is
2958 now in the initial value defined in comint.el.
2959 (ansi-color-apply-face-function): New variable.
2960 (ansi-color-apply-on-region): Use it.
2961 (ansi-color-apply-overlay-face): New function.
2962
2963 * shell.el (shell): No need to require ansi-color.
2964 (shell-mode): Use ansi-color-apply-face-function to highlight
2965 color escapes using font-lock-face property (Bug#10835).
2966
2967 2012-02-19 Chong Yidong <cyd@gnu.org>
2968
2969 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2970 mode-line formats (Bug#10839).
2971
2972 2012-02-18 Glenn Morris <rgm@gnu.org>
2973
2974 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2975
2976 * mail/undigest.el (unforward-rmail-message): Doc fix.
2977
2978 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2979
2980 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2981
2982 * international/characters.el (script-list): Sync with the latest
2983 Unicode Character Database.
2984
2985 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2986
2987 * international/titdic-cnv.el: Remove duplicate coding tag.
2988 * language/cham.el: Likewise.
2989 * language/tai-viet.el: Likewise.
2990
2991 2012-02-18 Glenn Morris <rgm@gnu.org>
2992
2993 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2994 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2995 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2996 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2997 * calendar/holidays.el (holiday-bahai-holidays)
2998 (calendar-holidays, list-holidays):
2999 Use utf-8 Bahá'í in doc-strings, menus, etc.
3000
3001 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3002
3003 * saveplace.el (save-place-ignore-files-regexp): New variable
3004 allowing for excluding files from saving their location of point.
3005 The default value matches the temporary commit message editing
3006 files from Git, SVN, Bazaar, and Mercurial.
3007 (save-place-to-alist): Use it.
3008
3009 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3010 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * newcomment.el (uncomment-region-default): Don't leave extra space
3013 when an arg is provided (bug#8150).
3014
3015 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3016
3017 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3018
3019 2012-02-17 Glenn Morris <rgm@gnu.org>
3020
3021 * net/socks.el: Require network-stream. (Bug#10599)
3022
3023 2012-02-17 Kenichi Handa <handa@m17n.org>
3024
3025 * international/charprop.el:
3026 * international/uni-name.el:
3027 * international/uni-old-name.el:
3028 * international/uni-comment.el: Regenerate.
3029
3030 2012-02-16 Glenn Morris <rgm@gnu.org>
3031
3032 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3033 Interactively in calendar buffer, give an error if not on a date.
3034
3035 2012-02-15 Glenn Morris <rgm@gnu.org>
3036
3037 * shell.el (shell-delimiter-argument-list):
3038 Revert 2011-02-17 change. (Bug#8027)
3039
3040 2012-02-15 Chong Yidong <cyd@gnu.org>
3041
3042 * minibuffer.el (completion-at-point-functions): Doc fix.
3043
3044 * custom.el (defcustom): Doc fix; note use of defvar.
3045
3046 2012-02-15 Glenn Morris <rgm@gnu.org>
3047
3048 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3049 Doc fixes.
3050
3051 2012-02-14 Glenn Morris <rgm@gnu.org>
3052
3053 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3054
3055 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3056
3057 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3058 way the ports list is computed.
3059 (smtpmail-query-smtp-server): Prompt the user for a port number if
3060 we can't connect to any of the standard ports (bug#10810).
3061
3062 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3063
3064 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3065
3066 2012-02-13 Glenn Morris <rgm@gnu.org>
3067
3068 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3069
3070 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3071
3072 * net/gnutls.el (gnutls-trustfiles): New variable.
3073 (gnutls-negotiate): Use it.
3074
3075 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3076
3077 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3078 does its stuff if Gnus is running.
3079
3080 2012-02-13 Alan Mackenzie <acm@muc.de>
3081
3082 Fix a loop in c-set-fl-decl-start.
3083
3084 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3085 c-backward-syntactic-ws actually moves backwards.
3086
3087 2012-02-13 Leo Liu <sdl.web@gmail.com>
3088
3089 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3090 beginning so that all \C-o chars are removed.
3091
3092 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3093
3094 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3095
3096 2012-02-12 Alan Mackenzie <acm@muc.de>
3097
3098 Fix infinite loop with long macros.
3099 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3100
3101 2012-02-12 Chong Yidong <cyd@gnu.org>
3102
3103 * window.el (display-buffer): Doc fix (Bug#10785).
3104
3105 2012-02-12 Glenn Morris <rgm@gnu.org>
3106
3107 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3108 (x-disown-selection-internal, x-get-selection-internal):
3109 Sync docs with the xselect.c versions.
3110
3111 * allout-widgets.el: Add missing license notice.
3112
3113 2012-02-11 Glenn Morris <rgm@gnu.org>
3114
3115 * select.el (x-get-selection-internal, x-own-selection-internal)
3116 (x-disown-selection-internal):
3117 * x-dnd.el (x-get-selection-internal): Update declarations.
3118
3119 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3120
3121 * window.el (window-sides-slots):
3122 * tool-bar.el (tool-bar-position):
3123 * term/xterm.el (xterm-extra-capabilities):
3124 * ses.el (ses-self-reference-early-detection):
3125 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3126 (verilog-auto-wire-type)
3127 (verilog-auto-delete-trailing-whitespace)
3128 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3129 (verilog-auto-tieoff-declaration):
3130 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3131 (sql-oracle-statement-starters, sql-oracle-scan-on):
3132 * progmodes/prolog.el (prolog-align-comments-flag)
3133 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3134 (prolog-left-indent-regexp, prolog-paren-indent-p)
3135 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3136 (prolog-types, prolog-mode-specificators)
3137 (prolog-determinism-specificators, prolog-directives)
3138 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3139 (prolog-electric-dot-flag)
3140 (prolog-electric-dot-full-predicate-template)
3141 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3142 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3143 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3144 (prolog-program-switches, prolog-prompt-regexp)
3145 (prolog-debug-on-string, prolog-debug-off-string)
3146 (prolog-trace-on-string, prolog-trace-off-string)
3147 (prolog-zip-on-string, prolog-zip-off-string)
3148 (prolog-use-standard-consult-compile-method-flag)
3149 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3150 (prolog-imenu-max-lines, prolog-info-predicate-index)
3151 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3152 (prolog-char-quote-workaround):
3153 * progmodes/cc-vars.el (c-defun-tactic):
3154 * net/tramp.el (tramp-encoding-command-interactive)
3155 (tramp-local-end-of-line):
3156 * net/soap-client.el (soap-client):
3157 * net/netrc.el (netrc-file):
3158 * net/gnutls.el (gnutls):
3159 * minibuffer.el (completion-category-overrides)
3160 (completion-cycle-threshold)
3161 (completion-pcm-complete-word-inserts-delimiters):
3162 * man.el (Man-name-local-regexp):
3163 * mail/feedmail.el (feedmail-display-full-frame):
3164 * international/characters.el (glyphless-char-display-control):
3165 * eshell/em-ls.el (eshell-ls-date-format):
3166 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3167 (lisp-lambda-list-keyword-parameter-indentation)
3168 (lisp-lambda-list-keyword-parameter-alignment):
3169 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3170 * dired-x.el (dired-omit-verbose):
3171 * cus-theme.el (custom-theme-allow-multiple-selections):
3172 * calc/calc.el (calc-highlight-selections-with-faces)
3173 (calc-lu-field-reference, calc-lu-power-reference)
3174 (calc-note-threshold):
3175 * battery.el (battery-mode-line-limit):
3176 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3177 (archive-7z-update):
3178 * allout.el (allout-prefixed-keybindings)
3179 (allout-unprefixed-keybindings)
3180 (allout-inhibit-auto-fill-on-headline)
3181 (allout-flattened-numbering-abbreviation):
3182 * allout-widgets.el (allout-widgets-auto-activation)
3183 (allout-widgets-icons-dark-subdir)
3184 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3185 (allout-widgets-theme-dark-background)
3186 (allout-widgets-theme-light-background)
3187 (allout-widgets-item-image-properties-emacs)
3188 (allout-widgets-item-image-properties-xemacs)
3189 (allout-widgets-run-unit-tests-on-load)
3190 (allout-widgets-time-decoration-activity)
3191 (allout-widgets-hook-error-post-time)
3192 (allout-widgets-track-decoration):
3193 Add missing :version tags to new defcustoms and defgroups.
3194
3195 * progmodes/sql.el (sql-ansi-statement-starters)
3196 (sql-oracle-statement-starters): Add custom type.
3197
3198 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3199 (prolog-system-version): Give it a type.
3200
3201 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3202
3203 * term/pc-win.el (x-select-text, x-selection-owner-p)
3204 (x-own-selection-internal, x-disown-selection-internal)
3205 (x-get-selection-internal): Sync doc strings and argument lists
3206 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3207
3208 2012-02-11 Leo Liu <sdl.web@gmail.com>
3209
3210 * progmodes/python.el (python-end-of-statement): Fix infinite
3211 loop. (Bug#10788)
3212
3213 2012-02-10 Glenn Morris <rgm@gnu.org>
3214
3215 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3216 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3217
3218 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3219
3220 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3221 about SMTP before checking the From header.
3222
3223 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3224 into own function for reuse by emacsbug.el.
3225
3226 2012-02-10 Leo Liu <sdl.web@gmail.com>
3227
3228 * subr.el (condition-case-unless-debug): Rename from
3229 condition-case-no-debug. All callers changed.
3230 (with-demoted-errors): Fix caller.
3231
3232 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3233 * nxml/rng-valid.el (rng-do-some-validation):
3234 * emacs-lisp/package.el (package-refresh-contents)
3235 (package-menu-execute):
3236 * desktop.el (desktop-create-buffer):
3237 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3238
3239 2012-02-10 Glenn Morris <rgm@gnu.org>
3240
3241 * textmodes/bibtex.el:
3242 Add missing :version tags for new/changed defcustoms.
3243
3244 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3245
3246 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3247
3248 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3249 (smtpmail-via-smtp): Use it, or fall back on the From address.
3250 (smtpmail-send-it): Ditto.
3251
3252 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3253
3254 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3255 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3256 (byte-compile-tmp-var): New const.
3257 (byte-compile-defvar): Use it to minimize .elc size.
3258 Just use `defvar' rather than simulate it (bug#10761).
3259
3260 2012-02-09 Glenn Morris <rgm@gnu.org>
3261
3262 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3263
3264 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3265 Add :version tags.
3266
3267 * progmodes/compile.el (compilation-error-screen-columns)
3268 (compilation-first-column, compilation-filter-start): Doc fixes.
3269
3270 * vc/log-view.el (log-view-toggle-entry-display):
3271 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3272
3273 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3274 (report-emacs-bug-can-use-xdg-email):
3275 (report-emacs-bug-insert-to-mailer): Doc fixes.
3276 (report-emacs-bug): Message fix.
3277
3278 * net/browse-url.el (browse-url-can-use-xdg-open)
3279 (browse-url-xdg-open): Doc fixes.
3280
3281 * electric.el (electric-indent-mode, electric-pair-mode)
3282 (electric-layout-rules, electric-layout-mode): Doc fixes.
3283 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3284
3285 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3286
3287 * server.el (server-unselect-display): Don't inadvertently kill
3288 the current buffer. (Bug#10729)
3289
3290 2012-02-08 Glenn Morris <rgm@gnu.org>
3291
3292 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3293 (sql-list-table): Doc fixes.
3294
3295 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3296 Comment out (does nothing).
3297
3298 * completion.el (dynamic-completion-mode):
3299 * dirtrack.el (dirtrack-debug-mode):
3300 * electric.el (electric-layout-mode):
3301 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3302 * face-remap.el (text-scale-mode, buffer-face-mode):
3303 * iimage.el (iimage-mode):
3304 * image-mode.el (image-transform-mode):
3305 * minibuffer.el (completion-in-region-mode):
3306 * scroll-lock.el (scroll-lock-mode):
3307 * simple.el (next-error-follow-minor-mode):
3308 * tar-mode.el (tar-subfile-mode):
3309 * tooltip.el (tooltip-mode):
3310 * vcursor.el (vcursor-use-vcursor-map):
3311 * wid-browse.el (widget-minor-mode):
3312 * emulation/tpu-edt.el (tpu-edt-mode):
3313 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3314 * international/iso-ascii.el (iso-ascii-mode):
3315 * language/thai-util.el (thai-word-mode):
3316 * mail/supercite.el (sc-minor-mode):
3317 * net/goto-addr.el (goto-address-mode):
3318 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3319 * progmodes/cwarn.el (cwarn-mode):
3320 * progmodes/flymake.el (flymake-mode):
3321 * progmodes/glasses.el (glasses-mode):
3322 * progmodes/hideshow.el (hs-minor-mode):
3323 * progmodes/pascal.el (pascal-outline-mode):
3324 * textmodes/enriched.el (enriched-mode):
3325 * vc/smerge-mode.el (smerge-mode):
3326 Doc fixes (minor mode argument).
3327
3328 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3329
3330 * ls-lisp.el (ls-lisp-sanitize): New function.
3331 (ls-lisp-insert-directory): Use it to fix or remove any elements
3332 in file-alist with missing attributes. (Bug#4673)
3333
3334 2012-02-07 Alan Mackenzie <acm@muc.de>
3335
3336 Fix spurious recognition of c-in-knr-argdecl.
3337
3338 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3339 putative K&R region.
3340
3341 2012-02-07 Alan Mackenzie <acm@muc.de>
3342
3343 * progmodes/cc-engine.el (c-forward-objc-directive):
3344 Prevent looping in "#pragma mark @implementation".
3345
3346 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3347
3348 * notifications.el (notifications-on-closed-signal): Make `reason'
3349 optional. (Bug#10744)
3350
3351 2012-02-07 Glenn Morris <rgm@gnu.org>
3352
3353 * emacs-lisp/easy-mmode.el (define-minor-mode):
3354 Doc fixes for the macro and the mode it defines.
3355
3356 * image.el (imagemagick-types-inhibit): Doc fix.
3357
3358 * cus-start.el (imagemagick-render-type): Add it.
3359
3360 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3361
3362 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3363 Set the default at load time, too, so that `font-lock-fontify-buffer'
3364 can be called without setting up the entire mode first. This fixes
3365 a bug in `mm-inline-text' with C MIME parts.
3366
3367 2012-02-06 Chong Yidong <cyd@gnu.org>
3368
3369 * simple.el (list-processes--refresh): Delete exited processes
3370 (Bug#8094).
3371
3372 * comint.el (comint-next-prompt): next-single-char-property-change
3373 and prev-single-char-property-change never return nil (Bug#8657).
3374
3375 * custom.el (defcustom): Doc fix (Bug#9711).
3376
3377 2012-02-05 Chong Yidong <cyd@gnu.org>
3378
3379 * cus-edit.el (custom-variable-reset-backup): Quote the value
3380 before storing it in the customized-value property (Bug#6712).
3381 (custom-display): Add a customization type tag.
3382 (custom-buffer-create-internal): Improve tooltip message.
3383
3384 * wid-edit.el (widget-field-value-get): New optional arg to
3385 suppress trailing whitespace truncation.
3386 (character): Use it (Bug#2689).
3387
3388 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3389
3390 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3391 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3392
3393 2012-02-05 Chong Yidong <cyd@gnu.org>
3394
3395 * cus-edit.el (custom-variable-value-create): For mismatched
3396 types, show the current value (Bug#7600).
3397
3398 * custom.el (defcustom): Doc fix.
3399
3400 2012-02-05 Glenn Morris <rgm@gnu.org>
3401
3402 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3403
3404 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3405
3406 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3407 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3408 (pp-last-sexp): Use `looking-at-p'.
3409
3410 2012-02-04 Glenn Morris <rgm@gnu.org>
3411
3412 * files.el (revert-buffer):
3413 Doc fix (mention revert-buffer-in-progress-p).
3414
3415 * emacs-lisp/ert-x.el (ert-simulate-command):
3416 Check deferred-action-list (which is obsolete) is bound.
3417
3418 * subr.el (with-wrapper-hook): Doc fixes.
3419
3420 * simple.el (filter-buffer-substring-functions)
3421 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3422
3423 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3424
3425 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3426 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3427
3428 2012-02-04 Leo Liu <sdl.web@gmail.com>
3429
3430 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3431
3432 2012-02-04 Glenn Morris <rgm@gnu.org>
3433
3434 * image.el (image-extension-data): Add obsolete alias.
3435
3436 * isearch.el (isearch-update): Doc fix.
3437
3438 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3439
3440 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3441
3442 2012-02-03 Glenn Morris <rgm@gnu.org>
3443
3444 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3445 (image-animate-timeout): Doc fix.
3446
3447 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3448
3449 2012-02-02 Glenn Morris <rgm@gnu.org>
3450
3451 * server.el (server-auth-dir): Doc fix.
3452 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3453
3454 * subr.el (run-mode-hooks): Doc fix.
3455
3456 2012-02-02 Juri Linkov <juri@jurta.org>
3457
3458 * image-mode.el (image-toggle-display-image): Remove tautological
3459 `major-mode' from the `derived-mode-p' test.
3460
3461 2012-02-02 Kenichi Handa <handa@m17n.org>
3462
3463 * composite.el (compose-region): Cancel previous change.
3464
3465 2012-02-02 Kenichi Handa <handa@m17n.org>
3466
3467 * composite.el (compose-region, compose-string): Signal error for
3468 a null string component (Bug#6988).
3469
3470 2012-02-01 Chong Yidong <cyd@gnu.org>
3471
3472 * view.el (view-buffer-other-window, view-buffer-other-frame):
3473 Handle special modes like view-buffer (Bug#10650).
3474 (view-buffer): Simplify.
3475
3476 * frame.el (set-frame-font): Tweak meaning of third argument.
3477
3478 * dynamic-setting.el (font-setting-change-default-font):
3479 Use set-frame-font (Bug#9982).
3480
3481 2012-02-01 Glenn Morris <rgm@gnu.org>
3482
3483 * progmodes/compile.el (compilation-internal-error-properties):
3484 Respect compilation-first-column in the "*compilation*" buffer.
3485
3486 * emacs-lisp/easy-mmode.el (define-minor-mode):
3487 Relax :variable's test for a named function.
3488
3489 2012-01-31 Alan Mackenzie <acm@muc.de>
3490
3491 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3492 off by one error.
3493
3494 2012-01-31 Chong Yidong <cyd@gnu.org>
3495
3496 * frame.el (set-frame-font): New arg ALL-FRAMES.
3497
3498 * menu-bar.el (menu-set-font): Use set-frame-font.
3499
3500 * faces.el (face-spec-reset-face): Don't apply unspecified
3501 attribute values to the default face.
3502
3503 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3504
3505 * progmodes/cwarn.el (cwarn): Remove dead link.
3506 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3507 Remove * from defcustom docstrings.
3508 (turn-on-cwarn-mode): Make obsolete.
3509 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3510 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3511
3512 2012-01-31 Glenn Morris <rgm@gnu.org>
3513
3514 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3515 Fix :variable handling of mode a symbol not equal to modefun.
3516 Allow named functions to be used as the cdr of :variable.
3517
3518 2012-01-30 Glenn Morris <rgm@gnu.org>
3519
3520 * emacs-lisp/authors.el (authors-fixed-entries):
3521 Remove reference to deleted file rnewspost.el.
3522
3523 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3524
3525 * window.el (window-with-parameter): Remove unused variable `windows'.
3526 (window--side-check): Remove unused variable `code'.
3527 (window--resize-siblings): Remove unused variable `first'.
3528 (adjust-window-trailing-edge): Remove unused variable `failed'.
3529 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3530 Use `let', not `let*'.
3531 (balance-windows-2): Remove unused variable `found'.
3532 (window--state-put-2): Remove unused variable `splits'.
3533 (window-state-put): Remove unused variable `selected'.
3534 (same-window-p): Use `string-match-p'.
3535 (display-buffer-assq-regexp): Remove unused variable `value'.
3536 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3537 Mark argument ALIST as ignored.
3538 (pop-to-buffer): Remove unused variable `old-window'.
3539
3540 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3541
3542 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3543 and .lzma compressed files.
3544
3545 2012-01-29 Chong Yidong <cyd@gnu.org>
3546
3547 * frame.el (window-system-default-frame-alist): Doc fix.
3548
3549 * dynamic-setting.el (font-setting-change-default-font): Don't
3550 change the default face if SET-FONT argument is non-nil (Bug#9982).
3551
3552 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3553
3554 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3555
3556 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3557
3558 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3559 breakpoints in files outside current directory (Bug#6098).
3560
3561 2012-01-29 Chong Yidong <cyd@gnu.org>
3562
3563 * progmodes/python.el: Require ansi-color at top-level.
3564
3565 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3566 Define and use in Emacs Lisp mode (Bug#9360).
3567 (lisp-mode-abbrev-table): Add doc.
3568 (lisp-mode-variables): Don't set local-abbrev-table.
3569 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3570
3571 2012-01-28 Roland Winkler <winkler@gnu.org>
3572
3573 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3574
3575 2012-01-28 Roland Winkler <winkler@gnu.org>
3576
3577 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3578 (bibtex-set-dialect): Use it. Either set global values of
3579 dialect-dependent variables or bind these variables buffer-locally
3580 (Bug#10254).
3581 (bibtex-mode): Call bibtex-set-dialect via
3582 hack-local-variables-hook.
3583 (bibtex-dialect): Update docstring.
3584 Add safe-local-variable predicate.
3585 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3586 bibtex-set-dialect.
3587 (bibtex-mode-map): Define menu for each dialect.
3588 (bibtex-entry): Fix docstring.
3589
3590 2012-01-28 Chong Yidong <cyd@gnu.org>
3591
3592 * eshell/esh-arg.el (eshell-quote-argument): New function.
3593
3594 * eshell/esh-ext.el (eshell-invoke-batch-file):
3595 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3596 first arg to eshell-parse-command (Bug#10523).
3597
3598 2012-01-28 Drew Adams <drew.adams@oracle.com>
3599
3600 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3601 `default-directory' is non-nil.
3602
3603 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3604
3605 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3606 line that displays system-configuration-options. (Bug#9924)
3607
3608 2012-01-28 Drew Adams <drew.adams@oracle.com>
3609
3610 * descr-text.el (describe-char): Show information about POS, in
3611 addition to information about the character at POS. Improve and
3612 update the doc string. Change "code point" to "code point in
3613 charset", to avoid confusion with the character's Unicode code
3614 point shown above that. (Bug#10129)
3615
3616 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3617
3618 * descr-text.el (describe-char): Show the raw character, not only
3619 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3620 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3621 for the reasons.
3622
3623 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3624
3625 * emacs-lisp/package.el (package-install):
3626 Run package-refresh-contents if there is no archive yet (Bug#9798).
3627
3628 2012-01-28 Chong Yidong <cyd@gnu.org>
3629
3630 * emacs-lisp/package.el (package-maybe-load-descriptor):
3631 New function, split from package-maybe-load-descriptor.
3632 (package-maybe-load-descriptor): Use it.
3633 (package-download-transaction): Fully load required packages
3634 inside the loop, so that `require' calls work (Bug#10593).
3635 (package-install): No need to call package-initialize now.
3636
3637 2012-01-28 Chong Yidong <cyd@gnu.org>
3638
3639 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3640
3641 * tooltip.el (tooltip-mode): Doc fix.
3642 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3643
3644 * frame.el (set-cursor-color): Doc fix (Bug#352).
3645
3646 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3647 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3648
3649 * cus-edit.el (custom-buffer-create-internal): Fix search button
3650 action (Bug#10542).
3651 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3652
3653 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3654
3655 * dired.el (dired-mark-files-regexp):
3656 Include any subdirectory components. (Bug#10445)
3657
3658 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3659
3660 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3661 Handle [host]:port syntax. (Bug#10533)
3662
3663 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3664
3665 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3666
3667 2012-01-26 Glenn Morris <rgm@gnu.org>
3668
3669 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3670 * term.el (term-raw-escape-map): Use Control-X-prefix.
3671 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3672
3673 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3674
3675 * window.el (window-state-get, window--state-get-1): Don't deal
3676 with fixed-sizeness of windows. Simplify code.
3677
3678 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3679
3680 * window.el (window--state-get-1, window--state-put-2):
3681 Don't save and restore the mark.
3682
3683 2012-01-25 Chong Yidong <cyd@gnu.org>
3684
3685 * custom.el (custom-variable-p): Doc fix.
3686
3687 2012-01-25 Glenn Morris <rgm@gnu.org>
3688
3689 * dired.el (dired-goto-file): Handle some of the more common
3690 characters that `ls -b' escapes. (Bug#10596)
3691
3692 * progmodes/compile.el (compilation-next-error-function):
3693 Respect compilation-first-column in the "*compilation*" buffer.
3694 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3695
3696 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3697
3698 2012-01-24 Glenn Morris <rgm@gnu.org>
3699
3700 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3701
3702 2012-01-24 Julien Danjou <julien@danjou.info>
3703
3704 * color.el (color-rgb-to-hsl): Fix value computing.
3705 (color-hue-to-rgb): New function.
3706 (color-hsl-to-rgb): New function.
3707 (color-clamp, color-saturate-hsl, color-saturate-name)
3708 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3709 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3710
3711 2012-01-24 Glenn Morris <rgm@gnu.org>
3712
3713 * vc/vc-rcs.el (vc-rcs-create-tag):
3714 * vc/vc-sccs.el (vc-sccs-create-tag):
3715 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3716
3717 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3718
3719 * eshell/esh-util.el (eshell-read-hosts-file):
3720 Skip comment lines. (Bug#10549)
3721
3722 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3723
3724 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3725
3726 * subr.el (display-delayed-warnings): Doc fix.
3727 (collapse-delayed-warnings): New function to collapse identical
3728 adjacent warnings.
3729 (delayed-warnings-hook): Add it.
3730
3731 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3732
3733 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3734
3735 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3736 properties, when "login-as" is set.
3737
3738 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3739 (tramp-default-user-alist): Don't add "pscp".
3740 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3741 property "login-as", if set. (Bug#10530)
3742
3743 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3744
3745 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3746 "plink1" and "psftp". (Bug#10530)
3747
3748 2012-01-21 Kenichi Handa <handa@m17n.org>
3749
3750 * international/mule-cmds.el (prefer-coding-system): Show a
3751 warning message if the default value of file-name-coding-system
3752 was not changed.
3753
3754 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3755
3756 * windmove.el (windmove-reference-loc):
3757 Fix windmove-reference-loc miscalculation.
3758
3759 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3760
3761 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3762 default unit.
3763
3764 2012-01-21 Glenn Morris <rgm@gnu.org>
3765
3766 * international/mule.el (auto-coding-alist): Add .tbz.
3767
3768 * files.el (local-enable-local-variables): Doc fix.
3769 (inhibit-local-variables-regexps): Rename from
3770 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3771 Doc fix. Add some extensions from auto-coding-alist.
3772 (inhibit-local-variables-suffixes):
3773 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3774 (inhibit-local-variables-p):
3775 New function, extracted from set-auto-mode-1.
3776 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3777 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3778 (hack-local-variables): Doc fix. Make the mode-only case
3779 respect enable-local-variables and friends.
3780 Respect inhibit-local-variables-regexps for file-locals, but
3781 not for directory-locals.
3782 (set-visited-file-name):
3783 Take account of inhibit-local-variables-regexps.
3784 Whether it applies may change as the file name is changed.
3785 * jka-cmpr-hook.el (jka-compr-install):
3786 * jka-compr.el (jka-compr-uninstall):
3787 Update for inhibit-first-line-modes-suffixes name change.
3788
3789 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3790
3791 * help-macro.el (make-help-screen): Temporarily restore original
3792 binding for minor-mode-map-alist (Bug#10454).
3793
3794 2012-01-19 Julien Danjou <julien@danjou.info>
3795
3796 * color.el (color-name-to-rgb): Use the white color to find the max
3797 color component value and return correctly computed values.
3798 (color-name-to-rgb): Add missing float conversion for max value.
3799
3800 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3801
3802 * window.el (window--state-get-1, window-state-get): Do not use
3803 special state value for window-persistent-parameters.
3804 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3805 (window--state-put-2): Reset all window parameters to nil before
3806 assigning values of persistent parameters.
3807
3808 2012-01-18 Alan Mackenzie <acm@muc.de>
3809
3810 Eliminate sluggishness and hangs in fontification of "semicolon
3811 deserts".
3812
3813 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3814 Change value 10000 -> 3000.
3815 (c-state-safe-place): Reformulate so it doesn't stack up an
3816 infinite number of wrong entries in c-state-nonlit-pos-cache.
3817 (c-determine-limit-get-base, c-determine-limit): New functions to
3818 determine backward search limits disregarding literals.
3819 (c-find-decl-spots): Amend commenting.
3820 (c-cheap-inside-bracelist-p): New function which detects "={".
3821
3822 * progmodes/cc-fonts.el
3823 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3824 backward search.
3825 (c-font-lock-declarations): Fix an occurrence of point being
3826 undefined. Check additionally for point being in a bracelist or
3827 near a macro invocation without a semicolon so as to avoid a
3828 fruitless time consuming search for a declarator. Give a more
3829 precise search limit for declarators using the new
3830 c-determine-limit.
3831
3832 2012-01-18 Glenn Morris <rgm@gnu.org>
3833
3834 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3835 (set-auto-mode): Doc fixes.
3836
3837 2012-01-17 Glenn Morris <rgm@gnu.org>
3838
3839 * isearch.el (search-nonincremental-instead): Fix doc typo.
3840
3841 * dired.el (dired-insert-directory): Handle newlines in directory name.
3842 (dired-build-subdir-alist): Unescape newlines in directory name.
3843
3844 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3845
3846 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3847 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3848 (tramp-action-terminal): Use it. (Bug#10530)
3849
3850 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3853
3854 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3855
3856 * window.el (window-state-ignored-parameters): Remove variable.
3857 (window--state-get-1): Rename argument MARKERS to IGNORE.
3858 Handle persistent window parameters. Make copy of clone-of
3859 parameter only if requested. (Bug#10348)
3860 (window--state-put-2): Install a window parameter only if it has
3861 a non-nil value or an existing parameter shall be overwritten.
3862
3863 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3864
3865 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3866
3867 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3868
3869 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3870 don't pass the (nil) value of `upnode' to string-match.
3871
3872 2012-01-14 Chong Yidong <cyd@gnu.org>
3873
3874 * startup.el (command-line): Fix X resource class for cursorColor.
3875 Fix values recognized by the cursorBlink resource.
3876
3877 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3878
3879 * epg.el (epg--make-temp-file): Avoid permission race condition
3880 when running on old Emacs versions (bug#10403).
3881
3882 2012-01-14 Glenn Morris <rgm@gnu.org>
3883
3884 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3885
3886 2012-01-13 Alan Mackenzie <acm@muc.de>
3887
3888 Fix filling for when filladapt mode is enabled.
3889
3890 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3891 c-mask-paragraph, pass in `fill-paragraph' rather than
3892 `fill-region-as-paragraph'. (This is a reversion of a previous
3893 change.)
3894 * progmodes/cc-mode.el (c-basic-common-init):
3895 Make fill-paragraph-handle-comment buffer local and set it to nil.
3896
3897 2012-01-13 Glenn Morris <rgm@gnu.org>
3898
3899 * dired.el (dired-switches-escape-p): New function.
3900 (dired-insert-directory): Use dired-switches-escape-p.
3901 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3902
3903 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3904
3905 2012-01-12 Glenn Morris <rgm@gnu.org>
3906
3907 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3908 changes in adaptive-fill-regexp. (Bug#10276)
3909
3910 2012-01-11 Alan Mackenzie <acm@muc.de>
3911
3912 Fix Emacs bug #10463 - put `widen's around the critical spots.
3913
3914 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3915 widen around each invocation of c-state-pp-to-literal. Remove an
3916 unused let variable.
3917
3918 2012-01-11 Glenn Morris <rgm@gnu.org>
3919
3920 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3921 Doc fix.
3922
3923 2012-01-10 Chong Yidong <cyd@gnu.org>
3924
3925 * net/network-stream.el (network-stream-open-starttls):
3926 Avoid emitting a confusing error message when the server gives a bad
3927 response to the capability command.
3928
3929 2012-01-10 Glenn Morris <rgm@gnu.org>
3930
3931 * mail/unrmail.el (unrmail): Tweak previous change.
3932
3933 2012-01-09 Chong Yidong <cyd@gnu.org>
3934
3935 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3936
3937 2012-01-08 Alan Mackenzie <acm@muc.de>
3938
3939 Optimise font locking in long enum definitions.
3940
3941 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3942 arm to a cond form to handle enums.
3943 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3944 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3945
3946 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3947
3948 * files.el (move-file-to-trash): Preserve default file modes on error.
3949 (Bug#10401)
3950
3951 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3952
3953 * faces.el (set-face-attribute): Clarify the meaning of the nil
3954 frame (bug#10294).
3955
3956 * subr.el (with-selected-frame): Mention that the selected frame
3957 is restored (bug#9980).
3958
3959 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3960 (bug#9759).
3961
3962 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3963 (password-read): Don't autoload unused function.
3964
3965 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3966
3967 * progmodes/which-func.el (which-func-mode): Turn into a
3968 non-interactive function and mark as obsolete (bug#10428).
3969
3970 2012-01-06 Chong Yidong <cyd@gnu.org>
3971
3972 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3973 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3974 functions, along with 1 and -1.
3975
3976 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3977
3978 * time.el (display-time-load-average)
3979 (display-time-default-load-average): Doc fixes. See the thread
3980 starting at
3981 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3982 for the details.
3983
3984 2012-01-06 Glenn Morris <rgm@gnu.org>
3985
3986 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3987 has no messages. (Bug#10377)
3988
3989 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3990 than Info-edit. (Bug#10385)
3991
3992 * time.el (display-time-load-average, display-time-next-load-average):
3993 Doc fixes.
3994
3995 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3996 local setting of buffer-read-only to the input buffer. (Bug#10419)
3997
3998 * calendar/calendar.el (calendar-mode):
3999 Locally set scroll-margin to 0. (Bug#10379)
4000
4001 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4002
4003 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4004
4005 2012-01-05 Glenn Morris <rgm@gnu.org>
4006
4007 * eshell/em-unix.el (diff-no-select): Autoload it.
4008 (eshell/diff): Use diff-no-select. (Bug#10420)
4009
4010 2012-01-05 Chong Yidong <cyd@gnu.org>
4011
4012 * shell.el (shell-dynamic-complete-functions): Revert last change.
4013 (shell-command-completion-function): New function.
4014 (shell-completion-vars): Use it to implement
4015 shell-completion-execonly (Bug#10417).
4016
4017 * custom.el (enable-theme): Don't set custom-safe-themes.
4018
4019 * cus-theme.el (custom-theme-merge-theme):
4020 Ignore custom-enabled-themes and custom-safe-themes.
4021
4022 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4023
4024 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4025 first prompt in `sql-interacive-mode'.
4026 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4027 keywords.
4028 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4029 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4030 context of original buffer. Invoke `sql-login-hook'.
4031
4032 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4033
4034 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4035 letters in cite-prefix.
4036
4037 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4038
4039 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4040
4041 2012-01-03 Chong Yidong <cyd@gnu.org>
4042
4043 * shell.el (shell-dynamic-complete-functions):
4044 Put pcomplete-completions-at-point, so as to try
4045 comint-filename-completion first (Bug#10417).
4046
4047 2012-01-02 Richard Stallman <rms@gnu.org>
4048
4049 * battery.el (battery-status-function):
4050 Detect when to use battery-yeeloong-sysfs.
4051 (battery-echo-area-format): Add string for Yeeloong.
4052 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4053 (battery-yeeloong-sysfs): New function.
4054
4055 2012-01-02 Chong Yidong <cyd@gnu.org>
4056
4057 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4058 (dirtrack): Merge code for handling relative filenames in prompt
4059 from shell-dir-cookie-watcher.
4060 (dirtrack-debug-message): New arg to avoid excess format calls.
4061
4062 * shell.el (shell-dir-cookie-re): Variable deleted.
4063 (shell-dir-cookie-watcher): Function deleted.
4064 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4065 with dirtrack-mode.
4066
4067 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4068
4069 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4070 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4071 libgnutls-26.dll.
4072
4073 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4074
4075 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4076
4077 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4078
4079 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4080 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4081
4082 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4083
4084 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4085 also for alternative shells.
4086 (tramp-open-connection-setup-interactive-shell): Check, whether
4087 the shell is a busybox.
4088 (tramp-send-command): Don't suppress multiple prompts for
4089 busyboxes, it hurts.
4090
4091 2011-12-28 Chong Yidong <cyd@gnu.org>
4092
4093 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4094 (gdb-get-source-file): Move mode line update to
4095 gdb-get-source-file (Bug#10087).
4096
4097 2011-12-25 Chong Yidong <cyd@gnu.org>
4098
4099 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4100 gud-gdb-marker-filter without taking it as an argument.
4101 (gud-gdb-run-command-fetch-lines): Caller changed.
4102 (gud-gdb-completion-function): New variable.
4103 (gud-gdb-completion-at-point): Use it.
4104 (gud-gdb-completions-1): Split from gud-gdb-completions.
4105
4106 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4107 function as separate arguments.
4108 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4109 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4110 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4111 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4112 (gdb-stopped, def-gdb-auto-update-trigger)
4113 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4114 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4115 Callers changed.
4116 (gud-gdbmi-completions): New function.
4117 (gdb): Use it for generating the completion table.
4118
4119 2011-12-24 Alan Mackenzie <acm@muc.de>
4120
4121 Introduce a mechanism to widen the region used in context font
4122 locking. Use this to protect declarations from losing their contexts.
4123
4124 * progmodes/cc-langs.el (c-before-font-lock-functions):
4125 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4126 (c-before-context-fontification-functions): New defvar, a list of
4127 functions to be run just before context (etc.) font locking.
4128
4129 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4130 New, functionality extracted from
4131 c-neutralize-syntax-in-and-mark-CPP.
4132 (c-in-after-change-fontification): New variable.
4133 (c-after-change): Set c-in-after-change-fontification.
4134 (c-set-fl-decl-start): Rejig its interface, so it can be called
4135 from both after-change and context fontifying.
4136 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4137 New functions.
4138 (c-standard-font-lock-fontify-region-function): New variable.
4139 (c-font-lock-fontify-region): New function.
4140
4141 2011-12-24 Juri Linkov <juri@jurta.org>
4142
4143 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4144 (Bug#10348)
4145
4146 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4147
4148 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4149 existence of source file. (Bug#10325)
4150
4151 2011-12-23 Alan Mackenzie <acm@muc.de>
4152
4153 Fix unstable fontification inside templates.
4154
4155 * progmodes/cc-langs.el (c-before-font-lock-functions):
4156 Newly created from the singular version. The (c c++ objc) entry now
4157 additionally has c-set-fl-decl-start. The other languages (apart
4158 from AWK) have that as a single entry.
4159
4160 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4161 The functionality for "local" declarations has been extracted to
4162 c-set-fl-decl-start.
4163
4164 * progmodes/cc-mode.el (c-common-init, c-after-change):
4165 Changes due to pluralisation of c-before-font-lock-functions.
4166 (c-set-fl-decl-start): New function, extracted from
4167 c-font-lock-enclosing-decls and enhanced.
4168
4169 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4170
4171 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4172
4173 2011-12-22 Juri Linkov <juri@jurta.org>
4174
4175 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4176
4177 2011-12-22 Chong Yidong <cyd@gnu.org>
4178
4179 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4180
4181 2011-12-21 Drew Adams <drew.adams@oracle.com>
4182
4183 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4184
4185 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4186
4187 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4188
4189 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4190
4191 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4192 highlighting and support. Fix up comments for capitalization.
4193 (cfengine-mode-debug): New var.
4194 (cfengine3-mode): Change the modeline indicator to "CFE3".
4195 (cfengine3-font-lock-keywords): Improve defun highlighting.
4196 (cfengine2-actions): Rename from `cfengine-actions'.
4197 (cfengine2-font-lock-keywords): Rename from
4198 `cfengine-font-lock-keywords'.
4199 (cfengine2-imenu-expression): Rename from
4200 `cfengine-imenu-expression'.
4201 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4202 (cfengine2-beginning-of-defun): Rename from
4203 `cfengine-beginning-of-defun'.
4204 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4205 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4206 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4207 modeline indicator to "CFE2".
4208 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4209 (cfengine-mode-abbrevs): Mark obsolete.
4210
4211 2011-12-21 Chong Yidong <cyd@gnu.org>
4212
4213 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4214 filename argument.
4215
4216 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4217
4218 * window.el (window-normalize-buffer-to-display): Remove.
4219 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4220
4221 2011-12-19 Chong Yidong <cyd@gnu.org>
4222
4223 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4224 Don't signal an error in a predicate function; return non-nil.
4225 (vc-dir-mark-file): Move the error here.
4226 (vc-dir-mark-unmark): If acting on the region, keep going if one
4227 of the entries cannot be marked/unmarked.
4228 (vc-dir-mark-all-files): If current entry is a directory, mark
4229 only child files, as documented.
4230
4231 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4232
4233 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4234 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4235 addition.
4236
4237 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4238
4239 * term/ns-win.el (ns-get-selection-internal)
4240 (ns-store-selection-internal): Declare.
4241 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4242 Declare as obsolete.
4243 (ns-get-pasteboard, ns-paste-secondary):
4244 Use ns-get-selection-internal.
4245 (ns-set-pasteboard, ns-copy-including-secondary):
4246 Use ns-store-selection-internal.
4247
4248 2011-12-17 Chong Yidong <cyd@gnu.org>
4249
4250 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4251 (vc-deduce-fileset): Doc fix.
4252
4253 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4254
4255 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4256
4257 2011-12-13 Sam Steingold <sds@gnu.org>
4258
4259 * man.el (Man-getpage-in-background): When running under a
4260 window-system, ignore $MANWIDTH and $COLUMNS.
4261
4262 2011-12-15 Kenichi Handa <handa@m17n.org>
4263
4264 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4265 (setup-ethiopic-environment-internal): Comment out key-binding for
4266 ethio-toggle-punctuation.
4267
4268 2011-12-13 Alan Mackenzie <acm@muc.de>
4269
4270 Add the switch statement to AWK Mode.
4271
4272 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4273 "default" to the keywords regexp.
4274
4275 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4276 expression as the rest.
4277 (c-nonlabel-token-key): Allow string literals for AWK.
4278 Refactor for the other modes.
4279
4280 Large brace-block initialisation makes CC Mode slow: Fix.
4281 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4282 routines. Limit backward searching in c-font-lock-enclosing.decl.
4283
4284 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4285 pp-state and literal type in addition to the limits.
4286 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4287 (c-state-literal-at): Use the above new defun.
4288 (c-slow-in-literal, c-fast-in-literal): Remove.
4289 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4290
4291 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4292 being in a literal. Add a limit for backward searching.
4293
4294 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4295 c-slow-in-literal.
4296
4297 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4298
4299 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4300
4301 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4302
4303 * window.el (delete-other-windows): Use correct frame in call to
4304 window-with-parameter.
4305
4306 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4307
4308 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4309 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4310 (makefile-gmake-statements, makefile-makepp-statements):
4311 Use it and add new makepp keywords.
4312 (makefile-makepp-font-lock-keywords): Add new patterns.
4313 (makefile-match-function-end): Match new [...] and [[...]].
4314
4315 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4316
4317 * ses.el (ses-call-printer-return, ses-cell-property-get)
4318 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4319 (ses-create-cell-variable, ses-reset-header-string)
4320 (ses-cell-set-formula, ses-repair-cell-reference-all)
4321 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4322 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4323 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4324 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4325 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4326 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4327 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4328 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4329 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4330 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4331 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4332 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4333
4334 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4335
4336 * ses.el: The overall change is to add cell renaming, that is
4337 setting fancy names for cell symbols other than name matching
4338 "\\`[A-Z]+[0-9]+\\'" regexp .
4339 (ses-create-cell-variable): New defun.
4340 (ses-relocate-formula): Relocate formulas only for cells the
4341 symbols of which are not renamed, i.e. symbols whose names do not
4342 match regexp "\\`[A-Z]+[0-9]+\\'".
4343 (ses-relocate-all): Relocate values only for cells the symbols of
4344 which are not renamed.
4345 (ses-load): Create cells variables as the (ses-cell ...) are read,
4346 in order to check row col consistency with cell symbol name only
4347 for cells that are not renamed.
4348 (ses-replace-name-in-formula): New defun.
4349 (ses-rename-cell): New defun.
4350
4351 2011-12-11 Chong Yidong <cyd@gnu.org>
4352
4353 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4354 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4355
4356 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4357
4358 * window.el (other-window): Fix docstring.
4359
4360 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4361
4362 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4363 `from' or `to' address before taking its substring.
4364 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4365 encoded name is chopped in the middle of the encoded string, and
4366 thus displayed encoded.
4367
4368 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4369
4370 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4371
4372 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4373
4374 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4375 to use texinfo-update-node and commands that call it if the
4376 Texinfo file uses @node lines without next/prev/up pointers.
4377 Correct outdated description about texinfo-master-menu.
4378 (texinfo-all-menus-update, texinfo-master-menu)
4379 (texinfo-update-node, texinfo-every-node-update)
4380 (texinfo-multiple-files-update): Doc fix. Warn against updating
4381 all the @node lines.
4382 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4383 argument is numeric. Explain better in the doc string what the
4384 function really does.
4385 (texinfo-insert-master-menu-list): Improve the error message
4386 displayed if there's no menu in the Top node.
4387 (Bug#2975) See also this thread:
4388 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4389
4390 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4391
4392 * speedbar.el (speedbar-supported-extension-expressions):
4393 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4394
4395 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4396
4397 * printing.el (pr-mode-alist):
4398 * simple.el (filter-buffer-substring-functions)
4399 (completion-list-insert-choice-function):
4400 * window.el (window-with-parameter, window-atom-root)
4401 (window-sides-slots, window-size-fixed, window-min-delta)
4402 (window-max-delta, window--resize-mini-window)
4403 (window--resize-child-windows-normal, window-tree)
4404 (delete-other-windows, quit-window, split-window)
4405 (display-buffer-record-window, special-display-buffer-names)
4406 (special-display-regexps, special-display-popup-frame)
4407 (same-window-p, split-window-sensibly)
4408 (display-buffer-overriding-action, display-buffer-alist)
4409 (display-buffer-base-action, display-buffer, switch-to-buffer)
4410 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4411 (fit-window-to-buffer, recenter-positions)
4412 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4413 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4414 and remove unneeded backslashes in docstrings.
4415
4416 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4419
4420 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4421 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4422 end in ".mk".
4423 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4424 when reading the makefile (bug#10116).
4425
4426 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4429 (bug#10116).
4430
4431 2011-12-06 Glenn Morris <rgm@gnu.org>
4432
4433 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4434
4435 2011-12-06 Chong Yidong <cyd@gnu.org>
4436
4437 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4438
4439 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4440
4441 * textmodes/table.el (table-shorten-cell): Fix typo.
4442
4443 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4444
4445 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4446
4447 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4448
4449 * descr-text.el (describe-char): Fix display of strong
4450 right-to-left characters and directional embeddings and overrides.
4451
4452 * simple.el (what-cursor-position): Fix display of codepoints of
4453 strong right-to-left characters.
4454
4455 2011-12-05 Chong Yidong <cyd@gnu.org>
4456
4457 * faces.el (read-color): Doc fix.
4458
4459 2011-12-05 Glenn Morris <rgm@gnu.org>
4460
4461 * align.el (align--set-marker): Add doc-string.
4462 Don't try to move something that is not a marker. (Bug#10216)
4463
4464 2011-12-04 Glenn Morris <rgm@gnu.org>
4465
4466 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4467 overly zealous deletion of trailing whitespace.
4468
4469 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4470
4471 * server.el (server-delete-client): On Windows, do not try to delete
4472 the only terminal.
4473 (server-process-filter): On Windows, treat requests for a tty frame as
4474 if they were for a GUI frame if the running server is in GUI mode.
4475
4476 2011-12-03 Glenn Morris <rgm@gnu.org>
4477
4478 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4479
4480 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * electric.el: Streamline electric-indent's hook.
4483 (electric-indent-chars): Revert to simple list.
4484 (electric-indent-functions): New var.
4485 (electric-indent-post-self-insert-function): Use it.
4486
4487 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4488 there's no inferior buffer (bug#10196).
4489 (prolog-consult-compile): Don't use toggle-read-only.
4490
4491 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4492
4493 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4494 interrupt. (Bug#10187)
4495
4496 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4499 (bug#9160).
4500
4501 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4502 (bug#10191).
4503
4504 2011-12-02 Juri Linkov <juri@jurta.org>
4505
4506 * info.el (Info-search): Display "end of manual" when Isearch
4507 reaches the end of single-file Info manual. (Bug#9918)
4508
4509 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4510
4511 * isearch.el (isearch-message-prefix): Run the input method part
4512 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4513
4514 2011-12-02 Juri Linkov <juri@jurta.org>
4515
4516 * isearch.el (isearch-occur): Use `word-search-regexp' for
4517 `isearch-word'.
4518 (isearch-search-and-update): Add condition for `isearch-word' and
4519 call `word-search-regexp'. (Bug#10145)
4520
4521 2011-12-01 Glenn Morris <rgm@gnu.org>
4522
4523 * eshell/em-hist.el (eshell-hist-initialize):
4524 Handle eshell-history-size nil and HISTSIZE set or unset.
4525 (eshell-history-file-name, eshell-history-size): Fix custom type.
4526
4527 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4528
4529 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4530
4531 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4532
4533 * progmodes/verilog-mode.el (verilog-pretty-expr):
4534 Rework verilog-pretty-expr to handle new assignment operators in system
4535 verilog, such as += *= and the like.
4536 (verilog-assignment-operator-re): Regular expression to find the
4537 assigment operator in a verilog assignment.
4538 (verilog-assignment-operation-re): Regular expression to find an
4539 assignment statement for pretty-expr.
4540 (verilog-in-attribute-p): Query returns true if point is in an
4541 attribute context; used to skip these for expression line up from
4542 pretty-expr.
4543 (verilog-in-parameter-p): Query returns true if point is in an
4544 parameter definition context; used to skip these for expression
4545 line up from pretty-expr.
4546 (verilog-in-parenthesis-p): Query returns true if point is in a
4547 parenthetical expression, specifically ( ) but not [ ] or { };
4548 used by pretty-expr.
4549 (verilog-just-one-space): If there is no space, don't add one.
4550 (verilog-get-lineup-indent-2): Specifically skip just attribute
4551 contexts for expression lineup, rather than skipping all
4552 parenthetical expressions.
4553 (verilog-calculate-indent): Fix comment, and fix indent.
4554 (verilog-do-indent): Indent declarations in lists (suggested by
4555 Joachim Lechner).
4556 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4557 skeleton items.
4558 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4559 by Alain Mellan).
4560
4561 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4562
4563 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4564 parameters with embedded comments. Reported by Ray Stevens.
4565 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4566 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4567 Reported by Tim Holt.
4568 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4569 instantiated by upper module causing wrong expansion until AUTOed a
4570 second time. Reported by K C Buckenmaier.
4571 (verilog-diff-auto): Fix showing .* as a difference when
4572 `verilog-auto-star-save' off. Reported by Dan Dever.
4573 (verilog-auto-reset, verilog-read-always-signals)
4574 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4575 temporary signals in reset list if
4576 verilog-auto-reset-blocking-in-non is nil, and match assignment
4577 style to each signal's assignment type, bug381.
4578 Reported by Thomas Esposito.
4579 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4580 (verilog-uvm-statement-re): Support UVM indentation and
4581 highlighting, with old OVM keywords only.
4582 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4583 Support AUTOTIEOFF creating non-wire data types.
4584 Suggested by Jonathan Greenlaw.
4585 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4586 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4587 (verilog-inject-sense, verilog-read-inst-pins)
4588 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4589 Fix mismatching parenthesis inside commented out code when deleting
4590 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4591 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4592 non-numeric vector width. Reported by Alex Reed.
4593 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4594 detecting signals with parameter widths. Reported by Alex Reed.
4595 (verilog-auto-delete-trailing-whitespace):
4596 With `verilog-auto-delete-trailing-whitespace' remove trailing
4597 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4598 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4599 Fix verilog-scan-cache corruption when running user AUTO expansion
4600 hooks that call indentation routines.
4601 (verilog-simplify-range-expression): Fix typo ignoring lower case
4602 identifiers.
4603 (verilog-delete-auto): Fix delete-autos to also remove user created
4604 automatics, as long as they start with AUTO.
4605 (verilog-batch-diff-auto, verilog-diff-auto)
4606 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4607 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4608 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4609 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4610 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4611 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4612 is disabled and its cache will get corrupt, causing AUTOS not to
4613 expand. Instead use only -quick functions.
4614 (verilog-scan-region): Fix scanning over escaped quotes.
4615 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4616 (verilog-re-search-backward-quick)
4617 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4618 related functions now ignore strings, to fix misparsing of strings
4619 with magic comments embedded in them.
4620 (verilog-read-auto-template):
4621 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4622 Reported by Brad Dobbie.
4623 (verilog-read-auto-template):
4624 Fix 'verilog-auto-inst-template-numbers' with comments.
4625 Reported by Brad Dobbie.
4626 (verilog-auto-inst, verilog-auto-inst-param)
4627 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4628 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4629 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4630 debugging templates without merge conflicts, bug357.
4631 Reported by Brad Dobbie.
4632 (verilog-read-auto-template):
4633 Fix verilog-auto-inst-template-numbers with multiple templates.
4634 Reported by Brad Dobbie.
4635 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4636 abbrevs so user won't be asked to save.
4637 (verilog-read-auto-lisp-present): Fix to start at beginning of
4638 buffer in case called outside of verilog-auto.
4639 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4640 to "X-2". Reported by Matthew Myers.
4641 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4642 all inputs from module templates. Reported by Leith Johnson.
4643 (verilog-module-inside-filename-p): Fix locating programs as with
4644 modules.
4645 (verilog-auto-inst-port): Fix vl-width expressions when using
4646 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4647 (verilog-decls-get-regs, verilog-decls-get-signals,
4648 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4649 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4650 verilog-read-decls): Combine reg and wire structures into one var
4651 structure to represent SystemVerilog concepts.
4652 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4653 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4654 (verilog-auto-wire-type, verilog-insert-definition):
4655 Add verilog-auto-wire-type and AUTOLOGIC to support using
4656 SystemVerilog "logic" keyword instead of "wire"/"reg".
4657 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4658 to declares outputs that also have assignments (presumably in an
4659 ifdef or generate if so there's not a driver conflict).
4660 Reported by Matthew Myers.
4661 (verilog-auto-declare-nettype, verilog-insert-definition):
4662 Add verilog-auto-declare-nettype to fix declarations using
4663 `default_nettype none. Reported by Julian Gorfajn.
4664 (verilog-read-always-signals-recurse, verilog-read-decls)
4665 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4666 malformed end statement, bug325. Reported by Joshua Wise and
4667 Andrew Drake.
4668 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4669 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4670 when expanding .* in interfaces, bug320.
4671 Reported by Pierre-David Pfister.
4672 (verilog-read-module-name): Fix import statements between module
4673 name and open parenthesis, bug317.
4674 Reported by Pierre-David Pfister.
4675 (verilog-simplify-range-expression): Fix simplification of
4676 multiplications inside AUTOWIRE connections, bug303.
4677 (verilog-auto-inst-port): Support parameter expansion in
4678 multidimensional arrays.
4679 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4680 after "assert property". Reported by Julian Gorfajn.
4681 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4682 with multiplication, bug303.
4683 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4684 Reported by Jan Frode Lonnum.
4685
4686 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4687
4688 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4689 (hfy-shell-file-name, hfy-shell):
4690 * international/fontset.el (x-decompose-font-name): Fix typos.
4691
4692 2011-11-29 Ken Brown <kbrown@cornell.edu>
4693
4694 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4695 (gdb-version): Remove defvar.
4696 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4697 (gdb-gud-context-command, gdb-non-stop-handler)
4698 (gdb-current-context-command, gdb-stopped): Use it.
4699 (gdb-init-1): Enable pretty printing here.
4700 (gdb-non-stop-handler): Don't enable pretty-printing here.
4701 Check to see if the target supports non-stop mode; if not, turn off
4702 non-stop mode. Use the following.
4703 (gdb-check-target-async): New defun.
4704 (gud-watch, gdb-stopped): Fix whitespace.
4705 (gdb-get-source-file): Don't try to display the source file if
4706 `gdb-main-file' is nil.
4707
4708 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * align.el: Try to generate fewer markers (bug#10047).
4711 (align--set-marker): New macro.
4712 (align-region): Use it.
4713
4714 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4717
4718 2011-11-29 Chong Yidong <cyd@gnu.org>
4719
4720 * indent.el (indent-for-tab-command, indent-according-to-mode):
4721 Doc fix.
4722 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4723
4724 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4725
4726 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4727 aware of remote file names. (Bug#10124)
4728
4729 2011-11-29 Chong Yidong <cyd@gnu.org>
4730
4731 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4732
4733 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * files.el (find-file): Don't use force-same-window (bug#10144).
4736 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4737 use pop-to-buffer if the selected window can't be used.
4738 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4739
4740 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4741
4742 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4743 special-mode-map.
4744
4745 2011-11-28 Chong Yidong <cyd@gnu.org>
4746
4747 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4748
4749 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4750
4751 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4752 gdb-get-source-file-list on gdb-create-source-file-list.
4753
4754 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4755
4756 * whitespace.el (whitespace-newline): Use a different foreground
4757 color for 16-color light-background displays.
4758
4759 2011-11-24 Chong Yidong <cyd@gnu.org>
4760
4761 * window.el (display-buffer--special-action): Doc fix.
4762
4763 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4764
4765 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4766 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4767 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4768 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4769 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4770 (avl-tree-stack-first):
4771 * emacs-lisp/cconv.el (cconv--analyse-use):
4772 * net/gnutls.el (gnutls-negotiate): Fix typos.
4773
4774 2011-11-24 Glenn Morris <rgm@gnu.org>
4775
4776 * lpr.el (lpr-windows-system, lpr-lp-system):
4777 * mail/binhex.el (binhex-begin-line):
4778 * progmodes/grep.el (grep-history, grep-find-history):
4779 * textmodes/flyspell.el:
4780 * vc/pcvs-defs.el (cvs-global-menu):
4781 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4782 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4783 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4784
4785 * net/tls.el: Fix case of "GnuTLS".
4786
4787 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4788
4789 * version.el (emacs-build-system): Give it a doc-string.
4790
4791 2011-11-24 Juri Linkov <juri@jurta.org>
4792
4793 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4794
4795 2011-11-24 Glenn Morris <rgm@gnu.org>
4796
4797 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4798 if called on a non-mime message just toggle the headers. (Bug#8006)
4799
4800 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4801
4802 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4803 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4804 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4805 (allout-rebullet-heading, allout-open-sibtopic)
4806 (allout-toggle-current-subtree-encryption)
4807 (allout-toggle-subtree-encryption, allout-encrypt-string)
4808 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4809 (allout-distinctive-bullets-string, allout-auto-activation):
4810 * window.el (window-normalize-buffer-to-display):
4811 * progmodes/verilog-mode.el (verilog-batch-indent):
4812 * textmodes/bibtex.el (bibtex-field-braces-opt)
4813 (bibtex-field-strings-opt):
4814 * vc/cvs-status.el (cvs-tree-merge):
4815 Fix typos.
4816
4817 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4818
4819 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4820 `non-essential' to t, in order to avoid remote connections.
4821
4822 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4823
4824 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4825 On MS-DOS and MS-Windows, compare with loaddefs.el
4826 case-insensitively.
4827
4828 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4829
4830 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4831
4832 2011-11-23 Glenn Morris <rgm@gnu.org>
4833
4834 * paths.el (rmail-file-name): Reformat the doc-string so that it
4835 is picked up.
4836
4837 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4838 (rmail-auto-file): Ignore case in the "special" field names,
4839 as mail-fetch-field does for all others.
4840
4841 * mail/rmail.el (rmail-forward):
4842 * mail/rmailkwd.el (rmail-set-label):
4843 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4844 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4845
4846 * mail/rmail.el (rmail-current-message): Doc fix.
4847
4848 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4849
4850 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4853
4854 2011-11-22 Glenn Morris <rgm@gnu.org>
4855
4856 * mail/rmailmm.el (test-rmail-mime-handler)
4857 (test-rmail-mime-bulk-handler)
4858 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4859
4860 2011-11-21 Juri Linkov <juri@jurta.org>
4861
4862 * calc/calc.el (calc-read-key-sequence):
4863 Let-bind `input-method-function' to nil. (Bug#10018)
4864
4865 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4866
4867 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4868 Tell the caller that the next line needs recomputation, even
4869 though it doesn't start a sexp (bug#10094).
4870
4871 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4874
4875 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4878 Use force-same-window.
4879
4880 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4881
4882 * descr-text.el (describe-char-unicode-data):
4883 * json.el (json-string-escape):
4884 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4885 (Footnote-unicode, Footnote-style-p):
4886 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4887
4888 2011-11-20 Chong Yidong <cyd@gnu.org>
4889
4890 * window.el (replace-buffer-in-windows): Restore interactive spec.
4891
4892 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4893
4894 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4895
4896 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4897 (byte-compile-global-not-obsolete-vars): New var.
4898 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4899 Use it.
4900 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4901
4902 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4905 * progmodes/pascal.el (electric-pascal-equal):
4906 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4907 * xml.el (xml-substitute-special): Fix typos.
4908
4909 2011-11-20 Glenn Morris <rgm@gnu.org>
4910
4911 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4912 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4913 Doc fixes.
4914 (rmail-decode-mime-charset): Mark as obsolete.
4915
4916 * mail/rmailsum.el (rmail-message-regexp-p-1):
4917 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4918 Before using mime functions, check they are set. (Bug#10077)
4919
4920 2011-11-19 Juri Linkov <juri@jurta.org>
4921
4922 * info.el (Info-finder-find-node): Use `package--builtins' instead
4923 of `package-alist'. Use node names formed by the pattern "Keyword "
4924 and the keyword name.
4925
4926 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4927
4928 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4929
4930 2011-11-19 Juri Linkov <juri@jurta.org>
4931
4932 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4933 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4934 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4935 `old-history', `old-history-forward'. Add let-binding
4936 `window-selected'. Remove calls to `kill-buffer',
4937 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4938 before calling `Info-find-node', so `Info-find-node-2' will reread
4939 the Info file. Restore window positions only when `window-selected'
4940 is non-nil.
4941
4942 2011-11-19 Juri Linkov <juri@jurta.org>
4943
4944 * isearch.el (isearch-lazy-highlight-new-loop):
4945 Remove condition `(not isearch-error)'. (Bug#9918)
4946
4947 * misearch.el (multi-isearch-search-fun): Add condition
4948 `(not bound)' to ignore lazy-highlighting search.
4949 Add the search-failed message "end of multi" when the end of
4950 multi-sequence is reached. Uncapitalize the search-failed
4951 message "Repeat for next buffer".
4952
4953 * info.el (Info-search): Add the search-failed message
4954 "end of the manual" when the end of the manual is reached
4955 in Isearch mode.
4956
4957 2011-11-19 Juri Linkov <juri@jurta.org>
4958
4959 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4960 Use non-destructive `remove' instead of `delete' because
4961 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4962 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4963
4964 2011-11-19 Juri Linkov <juri@jurta.org>
4965
4966 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4967 to nil instead of binding `search-ring' and `regexp-search-ring'.
4968 (Bug#9185)
4969
4970 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4971
4972 * simple.el (line-move): Force movement by logical lines for any
4973 hscrolled window, not only when auto-hscroll-mode is on.
4974 (line-move-visual): Update doc string to that effect. (Bug#10076)
4975
4976 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4977
4978 * language/european.el (macintosh): Define as alias for mac-roman.
4979
4980 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4981
4982 * mail/rmailmm.el (rmail-mime-display-header)
4983 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4984 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4985 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4986 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4987 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4988 of a raw aref.
4989 (rmail-mime-entity-segment): To get past the tagline, move forward
4990 2 more lines, to account for the 2 empty lines that precede and
4991 follow the line with the buttons.
4992 (rmail-mime-update-tagline): Move one more line, to get past the
4993 empty line that follows the buttons in the tagline. (Bug#9520)
4994
4995 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4996
4997 * window.el (window-max-delta-1, window-min-delta-1)
4998 (window-min-size-1, window-state-get-1, window-state-put-1)
4999 (window-state-put-2): Use "window--" prefix.
5000
5001 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5002
5003 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5004 (smie-warning-count): New var.
5005 (smie-set-prec2tab): Use it.
5006 (smie-bnf->prec2): Improve warnings. Add docstring.
5007 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5008 (smie-bnf--set-class): New function.
5009 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5010 corner case.
5011
5012 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5013 (compilation-error-properties, compilation-move-to-column):
5014 Handle compilation-first-column while in the target buffer.
5015
5016 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5017 Don't hardcode point-min==1.
5018
5019 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5020 (eshell-rewrite-for-command): Remove workaround.
5021 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5022 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5023 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5024
5025 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5026
5027 2011-11-17 Glenn Morris <rgm@gnu.org>
5028
5029 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5030 Ignore buffer-local generated-autoload-file if it is the same
5031 as the global value. (Bug#10049)
5032
5033 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5034
5035 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5036 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5037 (reftex-toc-previous-heading, reftex-toc-max-level)
5038 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5039 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5040 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5041 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5042 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5043 (reftex-toc-rename-label, reftex-toc-visit-location)
5044 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5045 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5046 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5047 leaving "*toc*" only for references to the buffer.
5048
5049 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5050
5051 * window.el (window-resize, delete-window, split-window):
5052 Replace window-splits by window-combination-resize.
5053 * cus-start.el (window-splits): Replace by window-combination-resize.
5054
5055 2011-11-17 Glenn Morris <rgm@gnu.org>
5056
5057 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5058 Make bash entry derive from sh entry, not shell entry.
5059
5060 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5061
5062 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5063 properties of linked files. (Bug#9879)
5064
5065 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5066 local file name.
5067
5068 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5069
5070 * menu-bar.el (menu-bar-file-menu):
5071 * printing.el (pr-ps-utility):
5072 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5073 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5074 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5075 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5076 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5077 (icalendar--convert-cyclic-to-ical)
5078 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5079 (icalendar--convert-ical-to-diary)
5080 (icalendar--convert-recurring-to-diary)
5081 (icalendar--convert-non-recurring-all-day-to-diary)
5082 (icalendar-import-format-sample):
5083 * progmodes/idlw-shell.el (idlwave-shell-mode):
5084 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5085 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5086 (vhdl-ps-print-init): Fix typos.
5087
5088 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5089
5090 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5091 FSF and collapse date sequence, obscure author/maintainer email address
5092 better, remove extra version line, track relocation of author's webpage.
5093
5094 * progmodes/python.el (python-pdbtrack-input-prompt)
5095 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5096 regular python pdb prompts. Adjustments shamelessly taken exactly as
5097 suggested in EmacsWiki page (tiny change):
5098 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5099
5100 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5101
5102 * expand.el (expand-pos, expand-index, expand-point):
5103 Remove redundant info from docstring.
5104 (expand-add-abbrevs): Doc fix.
5105 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5106 (expand-sample-perl-mode-expand-list): Fix typos.
5107
5108 * net/dbus.el (dbus-event-member-name):
5109 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5110 * term/pc-win.el (msdos-create-frame-with-faces):
5111 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5112
5113 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5114
5115 * window.el (split-window, window-state-get-1)
5116 (window-state-put-1, window-state-put-2): Rename occurrences of
5117 window-nest to window-combination-limit.
5118 * cus-start.el (window-nest): Rename to window-combination-limit.
5119
5120 2011-11-16 Chong Yidong <cyd@gnu.org>
5121
5122 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5123 regexp (Bug#10033).
5124
5125 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5128 `completing-read' will remove *Completions* and will preserve
5129 current-buffer for us.
5130 (tmm-add-prompt): Users of *Completions* will always (re)set its
5131 major mode.
5132 (tmm-old-comp-map): Remove.
5133
5134 2011-11-16 Glenn Morris <rgm@gnu.org>
5135
5136 * mail/rmailedit.el: Require rmailmm when compiling.
5137 (rmail-old-mime-state): New declaration.
5138 (rmail-edit-current-message): If editing a mime message,
5139 edit the "raw" message from the mbox buffer.
5140 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5141
5142 2011-11-15 Glenn Morris <rgm@gnu.org>
5143
5144 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5145 which wasn't being used. Add optional arg to force given state.
5146 (rmail-mime): Add optional arg to force given state.
5147
5148 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5149
5150 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5151 * frame.el (display-mm-dimensions-alist):
5152 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5153 (outline-move-subtree-down):
5154 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5155 (newsticker--treeview-do-get-node):
5156 * net/quickurl.el (quickurl-list-buffer-name):
5157 * progmodes/dcl-mode.el (dcl-mode):
5158 * progmodes/gdb-mi.el (gdb-mapcar*):
5159 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5160
5161 2011-11-15 Glenn Morris <rgm@gnu.org>
5162
5163 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5164 in a boolean sense, so just make it a boolean, and fix the doc.
5165 (rmail-show-mime-function, rmail-mime-feature)
5166 (rmail-require-mime-maybe): Doc fixes.
5167 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5168
5169 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5170
5171 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5172
5173 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5174 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5175 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5176 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5177
5178 2011-11-15 Glenn Morris <rgm@gnu.org>
5179
5180 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5181 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5182 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5183 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5184 (rmail-mime, rmail-show-mime): Doc fixes.
5185
5186 * term/ns-win.el (mode-line-frame-identification):
5187 Leave it alone. (Bug#10051)
5188
5189 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5190
5191 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5192 Handle empty buffers. (Bug#9978)
5193
5194 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5195
5196 * international/mule.el (define-charset):
5197 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5198 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5199 * progmodes/verilog-mode.el (verilog-backward-token):
5200 * textmodes/ispell.el (lookup-words):
5201 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5202
5203 2011-11-14 Glenn Morris <rgm@gnu.org>
5204
5205 * progmodes/executable.el
5206 (executable-make-buffer-file-executable-if-script-p):
5207 Handle file-modes returning nil.
5208
5209 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5210 message - not necessary, and causes problems. (Bug#9831)
5211
5212 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5213
5214 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5215
5216 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5217 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5218 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5219
5220 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5221
5222 * window.el (window-resize, delete-window): Use window-splits
5223 variable instead of function.
5224 (window-state-get-1, window-state-put-2, window-state-put):
5225 Don't deal with windows' splits status.
5226
5227 2011-11-12 Glenn Morris <rgm@gnu.org>
5228
5229 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5230 (apropos-documentation): Doc fixes.
5231
5232 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5235 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5236
5237 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * electric.el (electric-indent-post-self-insert-function): Make it
5240 possible for a char to only indent in some circumstances.
5241 (electric-indent-mode): Simplify.
5242
5243 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5244
5245 * window.el (windows-with-parameter): Remove unused function.
5246 (windows-at-side): Rename to window-at-side-list.
5247 (window-check, window-atom-check, window-atom-check-1)
5248 (window-side-check, window-size-ignore, window-size-fixed-1)
5249 (window-in-direction-2): Prefix with "window--".
5250 (window-tree-1): Rename to window--subtree, fix doc-string.
5251
5252 2011-11-11 Glenn Morris <rgm@gnu.org>
5253
5254 * subr.el (eval-after-load): If FILE is already loaded,
5255 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5256
5257 2011-11-10 Glenn Morris <rgm@gnu.org>
5258
5259 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5260 Call svn via vc-svn-command rather than vc-do-command.
5261 (vc-svn-command): Add --non-interactive. (Bug#9993)
5262 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5263
5264 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5265 Add toggle-read-only. (Bug#7292)
5266 * files.el (toggle-read-only): Mention that it should only
5267 be used interactively. (Bug#10006)
5268
5269 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5272 Adjust regexp for OCaml warnings.
5273
5274 * electric.el (electric-pair-post-self-insert-function): Let user
5275 turn it off buffer-locally (bug#9932).
5276
5277 * progmodes/python.el (python-beginning-of-statement):
5278 Rewrite (bug#2703).
5279
5280 * progmodes/compile.el: Better handle TABs (bug#9749).
5281 (compilation-internal-error-properties)
5282 (compilation-next-error-function): Obey the target buffer's
5283 compilation-error-screen-columns.
5284
5285 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5286
5287 * progmodes/meta-mode.el: Remove obsolete comments.
5288 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5289 Fix typos in docstrings.
5290
5291 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5292
5293 * window.el (window-size-fixed-p): Rewrite doc-string.
5294 (window-resizable-p): Rename to window--resizable-p. Update callers.
5295 (window--resizable): New function. Make all callers of
5296 window-resizable call window--resizable instead.
5297 (window-resizable): Rewrite in terms of window--resizable.
5298
5299 2011-11-08 Glenn Morris <rgm@gnu.org>
5300
5301 * progmodes/delphi.el (delphi-mode-syntax-table):
5302 Let define-derived-mode define a proper syntax table. (Bug#9994)
5303
5304 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * window.el: Stay away from defsubst.
5307 (window-list-no-nils): Remove.
5308 (window-state-get-1, window-state-get): Use backquote instead.
5309
5310 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5311
5312 * emacs-lisp/find-func.el (find-function-read):
5313 Fix incorrect use of default argument in `completing-read'.
5314
5315 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5316
5317 * window.el (display-buffer-function, special-display-function):
5318 Mention display-buffer-record-window but do not mention
5319 help-setup parameter in doc-strings.
5320 (window-min-delta): Fix doc-string typo.
5321
5322 2011-11-08 Chong Yidong <cyd@gnu.org>
5323
5324 * window.el (window-total-height, window-total-width): Doc fix.
5325 (window-body-size): Move from C.
5326 (window-body-height, window-body-width): Move to C.
5327
5328 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 * window.el: Make special-display like display-buffer-alist (bug#9532).
5331 (display-buffer--special-action): New function, morphed
5332 from display-buffer--special.
5333 (display-buffer): Use it to handle special-display-buffers at higher
5334 priority (just after display-buffer-alist).
5335 (display-buffer-fallback-action, display-buffer--other-frame-action)
5336 (pop-to-buffer-same-window): Remove display-buffer--special.
5337
5338 2011-11-07 Glenn Morris <rgm@gnu.org>
5339
5340 * calendar/cal-menu.el (cal-menu-set-date-title):
5341 Do nothing if not in a calendar. (Bug#9976)
5342
5343 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * files.el (find-file): Always use selected-window.
5346
5347 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5348
5349 * window.el (window-combinations): Make WINDOW argument
5350 mandatory. Rewrite doc-string.
5351 (walk-window-subtree, window-atom-check, window-min-delta)
5352 (window-max-delta, window--resize-this-window)
5353 (window--resize-root-window-vertically, window-tree)
5354 (balance-windows, window-state-put): Rewrite doc-strings as to
5355 not mention the term "subwindow".
5356 (window--resize-subwindows-skip-p): Rename to
5357 window--resize-child-windows-skip-p.
5358 (window--resize-subwindows-normal): Rename to
5359 window--resize-child-windows-normal.
5360 (window--resize-subwindows): Rename to
5361 window--resize-child-windows.
5362 (window-or-subwindow-p): Rename to window--in-subtree-p.
5363
5364 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5365
5366 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5367 Ensure that mbox format messages end in two newlines (Bug#9974).
5368
5369 2011-11-06 Chong Yidong <cyd@gnu.org>
5370
5371 * window.el (window-combination-p): Function deleted; its
5372 side-effect is not used in any existing code.
5373 (window-combinations, window-combined-p): Call window-*-child
5374 directly.
5375
5376 2011-11-05 Chong Yidong <cyd@gnu.org>
5377
5378 * window.el (window-valid-p): Rename from window-any-p.
5379 (window-size-ignore, window-state-get): Callers changed.
5380 (window-normalize-window): Rename from window-normalize-any-window.
5381 New arg LIVE-ONLY, replacing window-normalize-live-window.
5382 (window-normalize-live-window): Delete.
5383 (window-combination-p, window-combined-p, window-combinations)
5384 (walk-window-subtree, window-atom-root, window-min-size)
5385 (window-sizable, window-sizable-p, window-size-fixed-p)
5386 (window-min-delta, window-max-delta, window-resizable)
5387 (window-resizable-p, window-full-height-p, window-full-width-p)
5388 (window-current-scroll-bars, window-point-1, set-window-point-1)
5389 (window-at-side-p, window-in-direction, window-resize)
5390 (adjust-window-trailing-edge, maximize-window, minimize-window)
5391 (window-deletable-p, delete-window, delete-other-windows)
5392 (record-window-buffer, unrecord-window-buffer)
5393 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5394 (quit-window, split-window, window-state-put)
5395 (set-window-text-height, fit-window-to-buffer)
5396 (shrink-window-if-larger-than-buffer): Callers changed.
5397
5398 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5399
5400 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5401 rfc2047-decode-string.
5402 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5403 warnings.
5404
5405 * window.el (window-body-height, window-body-width): Mention in
5406 the doc string that the return values are in frame's canonical
5407 units. (Bug#9949)
5408
5409 2011-11-03 Alan Mackenzie <acm@muc.de>
5410
5411 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5412 change in cc-engine.el.
5413
5414 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5415
5416 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5417
5418 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5419
5420 * window.el (quit-window): Call unrecord-window-buffer after
5421 showing another buffer in the window. (Bug#9937)
5422 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5423
5424 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5425
5426 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5427 Accept status with more than 9 shelves. (Bug#9935)
5428 Reported by Colin D Bennett <colin@gibibit.com>.
5429
5430 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5431
5432 * help.el (with-help-window): Don't reference
5433 temp-buffer-show-specifiers in doc-string.
5434
5435 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5436
5437 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5438 menu-item.
5439
5440 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5441
5442 * whitespace.el: New version 13.2.2.
5443 (whitespace-newline-mode): Disable properly. Reported by Sarah
5444 <EmacsWiki>.
5445
5446 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5447
5448 * net/newst-treeview.el: Remove "Time-stamp".
5449 (newsticker--group-manage-orphan-feeds): Do not call
5450 newsticker--treeview-tree-update.
5451 (newsticker-treeview-update, newsticker-treeview):
5452 Call newsticker--treeview-tree-update if necessary.
5453
5454 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5455
5456 * window.el (window-iso-combination-p, window-iso-combined-p)
5457 (window-iso-combinations): Remove "iso-" infix.
5458 Suggested by Chong Yidong.
5459 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5460 (window-max-delta-1, window-resize, window--resize-siblings)
5461 (window--resize-this-window, adjust-window-trailing-edge)
5462 (split-window, balance-windows-1)
5463 (shrink-window-if-larger-than-buffer):
5464 * calendar/calendar.el (calendar-generate-window):
5465 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5466
5467 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5470 in place (bug#9907).
5471 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5472 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5473 (eshell-structure-basic-command, eshell-rewrite-while-command)
5474 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5475 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5476 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5477 (eshell-do-pipelines-synchronously, eshell-eval-command):
5478 Use backquotes and prefer setq to set.
5479 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5480 (eshell-macrop): Use functionp.
5481 (eshell-do-eval): Handle multiple expressions in `while' body.
5482
5483 2011-10-30 Chong Yidong <cyd@gnu.org>
5484
5485 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5486 instead of set-mark (Bug#9810).
5487
5488 2011-10-30 Chong Yidong <cyd@gnu.org>
5489
5490 * window.el (split-window-below, split-window-right): Rename from
5491 split-window-above-each-other and split-window-side-by-side
5492 respectively. All callers changed.
5493 (split-window-sensibly, split-window-sensibly): Use them.
5494 (split-window-keep-point): Doc fix.
5495
5496 * isearch.el: Add isearch-scroll property to split-window-below
5497 and split-window-right.
5498
5499 * follow.el (follow-mode):
5500 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5501 * progmodes/ada-xref.el (ada-gdb-application):
5502 * emulation/vip.el (vip-buffer-in-two-windows):
5503 * image-dired.el (image-dired-dired-with-window-configuration):
5504 * dired-x.el (dired-do-find-marked-files):
5505 * dired.el (dired-pop-to-buffer):
5506 * bs.el (bs--show-with-configuration):
5507 * vc/emerge.el (emerge-setup-windows):
5508 * textmodes/two-column.el (2C-two-columns):
5509 * textmodes/reftex-toc.el (reftex-toc):
5510 * progmodes/gdb-mi.el (gdb-setup-windows):
5511 * progmodes/fortran.el (fortran-window-create):
5512 * net/newst-treeview.el (newsticker--treeview-window-init):
5513 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5514 * emulation/tpu-edt.el (tpu-gold-map):
5515 * emulation/crisp.el (crisp-mode-map):
5516 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5517
5518 2011-10-29 Chong Yidong <cyd@gnu.org>
5519
5520 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5521
5522 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5523
5524 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5525 forged Ispell output (Bug#7904).
5526
5527 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5528
5529 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * doc-view.el: Avoid ugly errors about not finding nil.
5532 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5533 (doc-view-dvipdf-program, doc-view-unoconv-program)
5534 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5535 Avoid nil or absolute file name as default value.
5536 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5537
5538 2011-10-28 Alan Mackenzie <acm@muc.de>
5539
5540 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5541
5542 2011-10-28 Alan Mackenzie <acm@muc.de>
5543
5544 Amend the handling of c-beginning/end-of-defun in nested declaration
5545 scopes.
5546
5547 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5548 cc-langs.el. Change it to a defcustom.
5549
5550 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5551 cc-vars.el.
5552
5553 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5554 Prevent "class foo : bar" being spuriously recognized as a label.
5555
5556 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5557 Add parameter `inclusive' (to include enclosing braces in the region).
5558 (c-widen-to-enclosing-decl-scope): New function.
5559 (c-while-widening-to-decl-block): New macro.
5560 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5561 outward for defun boundaries, and correspondingly change symbol
5562 `respect-enclosure' to `go-outward'.
5563 (c-declaration-limits): Change algorithm to report only the "innermost"
5564 defun's boundaries.
5565
5566 2011-10-28 Deniz Dogan <deniz@dogan.se>
5567
5568 * net/rcirc.el (rcirc-mode): Use hard newlines.
5569
5570 2011-10-28 Alan Mackenzie <acm@muc.de>
5571
5572 Amend to indent and fontify macros "which include their own semicolon"
5573 correctly, using the "virtual semicolon" mechanism.
5574
5575 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5576
5577 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5578 Recode to scan one line at a time rather than having \n and \r
5579 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5580 (c-forward-label): Amend for virtual semicolons.
5581 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5582
5583 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5584 of the new C macros.
5585
5586 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5587 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5588 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5589 (c-opt-cpp-macro-define): Make into a full language variable.
5590 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5591 AWK Mode (including \n, \r) removed, no longer needed.
5592
5593 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5594 Invoke c-make-macro-with-semi-re.
5595
5596 * progmodes/cc-vars.el (c-macro-with-semi-re):
5597 (c-macro-names-with-semicolon): New variables.
5598 (c-make-macro-with-semi-re): New function.
5599
5600 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * vc/log-edit.el: Fill empty field rather than adding new one.
5603 (log-edit-add-field): New function.
5604 (log-edit-insert-changelog): Use it.
5605
5606 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5607
5608 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5609
5610 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5613 (gdb--check-interpreter): New function.
5614 (gdb): Use it.
5615
5616 2011-10-27 Glenn Morris <rgm@gnu.org>
5617
5618 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5619 (least-positive-float, least-negative-float)
5620 (least-positive-normalized-float, least-negative-normalized-float)
5621 (float-epsilon, float-negative-epsilon):
5622 Remove unnecessary declarations.
5623
5624 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5625 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5626 (least-positive-float, least-negative-float)
5627 (least-positive-normalized-float, least-negative-normalized-float)
5628 (float-epsilon, float-negative-epsilon): Add doc-strings,
5629 based on those in cl.texi.
5630
5631 * files.el (set-visited-file-name): If the major-mode changed,
5632 reload the local variables. (Bug#9796)
5633
5634 2011-10-27 Chong Yidong <cyd@gnu.org>
5635
5636 * subr.el (change-major-mode-after-body-hook): New hook.
5637 (run-mode-hooks): Run it.
5638
5639 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5640 Use change-major-mode-before-body-hook.
5641
5642 * simple.el (fundamental-mode):
5643 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5644 change introducing fundamental-mode-hook.
5645
5646 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5647
5648 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5649
5650 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5651
5652 * ido.el (ido-file-name-all-completions-1): Do not require
5653 tramp.el explicitly. (Bug#7583)
5654
5655 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5656
5657 * progmodes/octave-mod.el:
5658 * progmodes/octave-inf.el: Update maintainer.
5659
5660 2011-10-26 Chong Yidong <cyd@gnu.org>
5661
5662 * subr.el (with-wrapper-hook): Rewrite doc.
5663
5664 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5665
5666 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5667 filenames "/method:foo:". (Bug#9793)
5668
5669 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5672 (bug#9865).
5673
5674 2011-10-24 Glenn Morris <rgm@gnu.org>
5675
5676 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5677
5678 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5679
5680 * notifications.el: Add the requirement of a running D-Bus session
5681 bus to the Commentary.
5682
5683 2011-10-24 Juri Linkov <juri@jurta.org>
5684
5685 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5686 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5687 (Bug#9364)
5688
5689 2011-10-24 Juri Linkov <juri@jurta.org>
5690
5691 * info.el (Info-following-node-name-re): Add newline to the list
5692 of allowed characters for leading space. (Bug#9824)
5693
5694 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * progmodes/octave-inf.el (inferior-octave-mode-map):
5697 Fix C-c C-h binding.
5698 * progmodes/octave-mod.el (octave-help): Remove.
5699
5700 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5701
5702 Sync with Tramp 2.2.3.
5703
5704 * net/tramp-cache.el (top): Pacify byte-compiler using
5705 `init-file-user' and `site-run-file'.
5706
5707 * net/trampver.el: Update release number.
5708
5709 2011-10-23 Chong Yidong <cyd@gnu.org>
5710
5711 * files.el (toggle-read-only): Remove obsolete comment about
5712 version control.
5713
5714 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5715 for toggle-read-only. Note that this hasn't called vc-next-action
5716 since 2008-05-02, though it wasn't documented at the time.
5717
5718 * vc/ediff-init.el (ediff-toggle-read-only-function):
5719 Use toggle-read-only.
5720
5721 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5722
5723 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5724 of c-parse-state.
5725
5726 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5727 correct faulty logical expression.
5728 (c-parse-state-state, c-record-parse-state-state):
5729 (c-replay-parse-state-state): New defvar/defuns.
5730 (c-debug-parse-state): Use new functions.
5731
5732 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5733
5734 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5735 last fix. Use window-in-direction correctly.
5736
5737 2011-10-21 Chong Yidong <cyd@gnu.org>
5738
5739 * progmodes/idlwave.el (idlwave-mode):
5740 * progmodes/vera-mode.el (vera-mode): No need to set
5741 require-final-newline; that's done in prog-mode.
5742 Suggested by Stefan Monnier.
5743
5744 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5745
5746 * mouse.el (mouse-drag-window-above)
5747 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5748 (mouse-drag-mode-line-1, mouse-drag-header-line)
5749 (mouse-drag-vertical-line-rightward-window): Remove.
5750 (mouse-drag-line): New function.
5751 (mouse-drag-mode-line, mouse-drag-header-line)
5752 (mouse-drag-vertical-line): Call mouse-drag-line.
5753 * window.el (window-at-side-p, windows-at-side): New functions.
5754
5755 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5756
5757 * tar-mode.el (tar-grind-file-mode):
5758 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5759
5760 2011-10-21 Chong Yidong <cyd@gnu.org>
5761
5762 * progmodes/idlwave.el (idlwave-mode):
5763 * progmodes/vera-mode.el (vera-mode):
5764 Use mode-require-final-newline.
5765
5766 2011-10-20 Glenn Morris <rgm@gnu.org>
5767
5768 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5769
5770 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5771
5772 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5773
5774 2011-10-20 Chong Yidong <cyd@gnu.org>
5775
5776 * emulation/cua-base.el (cua-mode):
5777 * mail/footnote.el (footnote-mode):
5778 * mail/mailabbrev.el (mail-abbrevs-mode):
5779 * net/xesam.el (xesam-minor-mode):
5780 * progmodes/bug-reference.el (bug-reference-mode):
5781 * progmodes/cap-words.el (capitalized-words-mode):
5782 * progmodes/compile.el (compilation-minor-mode)
5783 (compilation-shell-minor-mode):
5784 * progmodes/gud.el (gud-tooltip-mode):
5785 * progmodes/hideif.el (hide-ifdef-mode):
5786 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5787 * progmodes/subword.el (subword-mode):
5788 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5789 * progmodes/which-func.el (which-function-mode):
5790 * term/tvi970.el (tvi970-set-keypad-mode):
5791 * term/vt100.el (vt100-wide-mode):
5792 * textmodes/flyspell.el (flyspell-mode):
5793 * textmodes/ispell.el (ispell-minor-mode):
5794 * textmodes/nroff-mode.el (nroff-electric-mode):
5795 * textmodes/paragraphs.el (use-hard-newlines):
5796 * textmodes/refill.el (refill-mode):
5797 * textmodes/reftex.el (reftex-mode):
5798 * textmodes/rst.el (rst-minor-mode):
5799 * textmodes/sgml-mode.el (html-autoview-mode)
5800 (sgml-electric-tag-pair-mode):
5801 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5802 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5803 * emulation/crisp.el (crisp-mode):
5804 * emacs-lisp/eldoc.el (eldoc-mode):
5805 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5806 minor mode behavior.
5807
5808 2011-10-19 Juri Linkov <juri@jurta.org>
5809
5810 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5811 the list of hard-coded chars with escape-glyph face.
5812
5813 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5816
5817 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5818
5819 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5820 running process.
5821
5822 2011-10-19 Glenn Morris <rgm@gnu.org>
5823
5824 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5825 Ignore ignored files. (Bug#9726)
5826
5827 2011-10-19 Chong Yidong <cyd@gnu.org>
5828
5829 Doc fix for minor modes, stating that an omitted argument enables
5830 the mode unconditionally when called from Lisp.
5831
5832 * abbrev.el (abbrev-mode):
5833 * allout.el (allout-mode):
5834 * autoinsert.el (auto-insert-mode):
5835 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5836 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5837 (global-auto-revert-mode):
5838 * battery.el (display-battery-mode):
5839 * composite.el (global-auto-composition-mode)
5840 (auto-composition-mode):
5841 * delsel.el (delete-selection-mode):
5842 * desktop.el (desktop-save-mode):
5843 * dired-x.el (dired-omit-mode):
5844 * dirtrack.el (dirtrack-mode):
5845 * doc-view.el (doc-view-minor-mode):
5846 * double.el (double-mode):
5847 * electric.el (electric-indent-mode, electric-pair-mode):
5848 * emacs-lock.el (emacs-lock-mode):
5849 * epa-hook.el (auto-encryption-mode):
5850 * follow.el (follow-mode):
5851 * font-core.el (font-lock-mode):
5852 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5853 * help.el (temp-buffer-resize-mode):
5854 * hilit-chg.el (highlight-changes-mode)
5855 (highlight-changes-visible-mode):
5856 * hi-lock.el (hi-lock-mode):
5857 * hl-line.el (hl-line-mode, global-hl-line-mode):
5858 * icomplete.el (icomplete-mode):
5859 * ido.el (ido-everywhere):
5860 * image-file.el (auto-image-file-mode):
5861 * image-mode.el (image-minor-mode):
5862 * iswitchb.el (iswitchb-mode):
5863 * jka-cmpr-hook.el (auto-compression-mode):
5864 * linum.el (linum-mode):
5865 * longlines.el (longlines-mode):
5866 * master.el (master-mode):
5867 * mb-depth.el (minibuffer-depth-indicate-mode):
5868 * menu-bar.el (menu-bar-mode):
5869 * minibuf-eldef.el (minibuffer-electric-default-mode):
5870 * mouse-sel.el (mouse-sel-mode):
5871 * msb.el (msb-mode):
5872 * mwheel.el (mouse-wheel-mode):
5873 * outline.el (outline-minor-mode):
5874 * paren.el (show-paren-mode):
5875 * recentf.el (recentf-mode):
5876 * reveal.el (reveal-mode, global-reveal-mode):
5877 * rfn-eshadow.el (file-name-shadow-mode):
5878 * ruler-mode.el (ruler-mode):
5879 * savehist.el (savehist-mode):
5880 * scroll-all.el (scroll-all-mode):
5881 * scroll-bar.el (scroll-bar-mode):
5882 * server.el (server-mode):
5883 * shell.el (shell-dirtrack-mode):
5884 * simple.el (auto-fill-mode, transient-mark-mode)
5885 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5886 (line-number-mode, column-number-mode, size-indication-mode)
5887 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5888 * strokes.el (strokes-mode):
5889 * time.el (display-time-mode):
5890 * t-mouse.el (gpm-mouse-mode):
5891 * tool-bar.el (tool-bar-mode):
5892 * tooltip.el (tooltip-mode):
5893 * type-break.el (type-break-mode-line-message-mode)
5894 (type-break-query-mode):
5895 * view.el (view-mode):
5896 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5897 (global-whitespace-mode, global-whitespace-newline-mode):
5898 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5899
5900 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5901 Fix autogenerated docstring.
5902
5903 2011-10-19 Juri Linkov <juri@jurta.org>
5904
5905 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5906 by checking environment variables "DESKTOP_SESSION" and
5907 "XDG_CURRENT_DESKTOP". (Bug#9779)
5908
5909 2011-10-19 Juri Linkov <juri@jurta.org>
5910
5911 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5912 (browse-url-chromium-program, browse-url-chromium-arguments):
5913 New defcustoms.
5914 (browse-url-default-browser): Check for `browse-url-chromium' and
5915 call `browse-url-chromium-program'.
5916 (browse-url-chromium): New command. (Bug#9779)
5917
5918 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5919
5920 * facemenu.el (list-colors-duplicates): On Windows, detect more
5921 duplicates by assuming that only colors matching "^System" are
5922 special "system colors". (Bug#9722)
5923
5924 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5925
5926 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5927 to distinguish the author from the committer.
5928
5929 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5930
5931 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5932
5933 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5934
5935 * international/mule.el (sgml-html-meta-auto-coding-function):
5936 Add support for detecting encoding in HTML5 specified only as
5937 <meta charset="UTF-8">. Implementation just makes http-equiv and
5938 content-type parts from HTML4 encoding string optional. (Bug#9716)
5939
5940 2011-10-18 Glenn Morris <rgm@gnu.org>
5941
5942 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5943
5944 2011-10-18 Chong Yidong <cyd@gnu.org>
5945
5946 * faces.el (cursor): Doc fix.
5947
5948 2011-10-17 Chong Yidong <cyd@gnu.org>
5949
5950 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5951
5952 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5953
5954 * dirtrack.el (dirtrack): Support shell buffers with path
5955 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5956
5957 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5958
5959 * json.el: Bump version to 1.3 and note change in History.
5960 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5961
5962 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5963
5964 * comint.el (comint-insert-input, comint-send-input)
5965 (comint-get-old-input-default, comint-backward-matching-input)
5966 (comint-next-prompt): Use nil instead of `input' for field property of
5967 past user input (bug#114).
5968
5969 * minibuffer.el (completion--replace): Inherit surrounding properties
5970 (bug#114).
5971 (minibuffer-complete-and-exit): Use it.
5972
5973 * comint.el (comint--table-subvert): Quote the all-completions output
5974 (bug#9160).
5975
5976 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5977
5978 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5979
5980 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5981 window on right of selected. (Bug#9350) Reword other window
5982 entries and separate them from frame entries.
5983
5984 2011-10-15 Glenn Morris <rgm@gnu.org>
5985
5986 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5987 Doc fixes.
5988
5989 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5990
5991 * net/network-stream.el (network-stream-open-starttls):
5992 Improve detection of failure due to lack of TLS support.
5993
5994 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5995 putting the input text in front and in bold.
5996
5997 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6000
6001 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6002 empty buffer.
6003
6004 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6005 unread-command-events rather than pushing yet-another event.
6006
6007 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6008
6009 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6010 the explanation of the possible choices. Make the options passed
6011 to completing-read shorter.
6012
6013 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6014
6015 * textmodes/flyspell.el (flyspell-large-region): Make sure
6016 extended character mode is used if defined (Bug#1339).
6017
6018 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6019
6020 * simple.el (what-cursor-position): Fix the display of the
6021 character info for LRE, LRO, RLE, and RLO characters by appending
6022 an invisible PDF.
6023
6024 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6025
6026 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6027 even in case of error; add debug spec; simplify data flow.
6028 (with-timeout-handler): Remove.
6029
6030 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6031
6032 Fix Bug#6019, Bug#9315.
6033
6034 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6035 complete `buffer-file-name', the local file name part could look
6036 remotely (for example on VMS).
6037
6038 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6039 `tramp-run-real-handler'.
6040 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6041 already quoted by '"'.
6042
6043 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6044 Let `file-name-handler-alist' be nil, the local file name part
6045 could look remotely (for example on VMS).
6046
6047 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6050 from here...
6051 (flyspell-post-command-hook): ...to here.
6052
6053 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6056 if not needed.
6057 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6058 using completion. Protect against "slow" callers.
6059 Remove the "message hack".
6060
6061 2011-10-11 Juri Linkov <juri@jurta.org>
6062
6063 * isearch.el (isearch-lazy-highlight-word): New variable.
6064 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6065 Use it. (Bug#9727)
6066
6067 2011-10-11 Glenn Morris <rgm@gnu.org>
6068
6069 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6070 like f90-previous-statement does.
6071
6072 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6073
6074 * eshell/eshell.el (eshell-command): History should be saved
6075 only in interactive use, to avoid error.
6076
6077 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * minibuffer.el (completion-file-name-table): Fix last change,
6080 i.e. ignore normal errors but not the other ones.
6081
6082 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6083
6084 * window.el (special-display-buffer-names)
6085 (special-display-regexps): Remove some remnants of earlier
6086 changes from doc-strings.
6087 (quit-windows-on): New function.
6088
6089 * vc/vc.el (vc-revert, vc-rollback):
6090 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6091 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6092 (Bug#6183) (Bug#7074) (Bug#7447)
6093
6094 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6095
6096 * window.el (frame-auto-hide-function): Add version tag.
6097 (Bug#9699)
6098
6099 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6100
6101 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6102 condition.
6103
6104 2011-10-09 Leo Liu <sdl.web@gmail.com>
6105
6106 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6107 (Bug#9701)
6108
6109 2011-10-08 Glenn Morris <rgm@gnu.org>
6110
6111 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6112 before the first code statement zero indent. (Bug#9690)
6113
6114 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6115
6116 * simple.el (count-words-region): Always count in the region.
6117 Report the number of lines and characters too.
6118 (count-words): New command, which counts in the buffer if the
6119 region is inactive, as count-words-region used to.
6120 (count-words--message): New function. Handle plurals.
6121 (count-lines-region): Make it an alias for count-words-region.
6122
6123 * bindings.el (esc-map): Replace count-lines-region with
6124 count-words-region.
6125
6126 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6127
6128 * window.el (window--delete): Delete dedicated frame
6129 unconditionally when argument KILL is non-nil. (Bug#9699)
6130 (switch-to-buffer): Fix doc-string typo.
6131
6132 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6133
6134 * eshell/eshell.el (eshell-command): Avoid using hooks.
6135
6136 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6137
6138 * bindings.el ([M-left],[M-right]): Bind to left-word and
6139 right-word respectively.
6140
6141 2011-10-07 Glenn Morris <rgm@gnu.org>
6142
6143 * cus-start.el (debug-on-quit): Fix custom type.
6144
6145 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6146
6147 * subr.el (define-key-after): Clarify that the function is not
6148 useful for non-menu keymaps.
6149
6150 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6151
6152 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6153
6154 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6155 in current minibuffer (Fix bug with recursive minibuffers).
6156
6157 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6158
6159 * progmodes/gdb-mi.el (gdb): Doc fix.
6160
6161 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6162
6163 * window.el (frame-auto-hide-function): New option replacing
6164 frame-auto-delete. Suggested by Stefan Monnier.
6165 (window--delete): Call frame-auto-hide-function instead of
6166 investigating frame-auto-delete.
6167 (window-point-1, set-window-point-1): New functions.
6168 (window-in-direction, record-window-buffer, window-state-get-1)
6169 (display-buffer-record-window): Use window-point-1 instead of
6170 window-point.
6171 (set-window-buffer-start-and-point): Use set-window-point-1.
6172
6173 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6176
6177 2011-10-05 Glenn Morris <rgm@gnu.org>
6178
6179 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6180 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6181
6182 2011-10-05 Leo Liu <sdl.web@gmail.com>
6183
6184 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6185 works with buffer object.
6186
6187 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * mpc.el (mpc-tool-bar-map): Add labels.
6190
6191 2011-10-04 Glenn Morris <rgm@gnu.org>
6192
6193 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6194
6195 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6196
6197 * window.el (window--delete): New function.
6198 (frame-auto-delete): Resuscitate option.
6199 (bury-buffer, replace-buffer-in-windows)
6200 (quit-window): Rewrite using window--delete.
6201 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6202 Pass display-buffer-mark-dedicated to window--display-buffer-2
6203 (Bug#9639).
6204
6205 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6208 returns a list (bug#9554). Add remote file name completion.
6209 * comint.el (comint--table-subvert): Curry and get quote&unquote
6210 functions as arguments.
6211 (comint--complete-file-name-data): Adjust call accordingly.
6212 * pcomplete.el (pcomplete--table-subvert): Remove.
6213 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6214
6215 * minibuffer.el (completion-table-case-fold): Use currying.
6216 (completion--styles-type, completion--cycling-threshold-type):
6217 New constants.
6218 (completion-styles, completion-category-overrides)
6219 (completion-cycle-threshold): Use them.
6220 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6221 completion-table-case-fold.
6222
6223 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6224
6225 * minibuffer.el (completion-category-overrides): Fix type of styles
6226 and add more user friendly tags (bug#9660).
6227
6228 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6231 (mule-input-method-string): New widget.
6232 (default-input-method, language-info-custom-alist): Use it.
6233
6234 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * pcomplete.el: Require comint.
6237 (pcomplete--common-suffix): Remove.
6238 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6239 (pcomplete--table-subvert): Sync with comint--table-subvert.
6240 (pcomplete--entries): Use comint-completion-file-name-table.
6241 * comint.el (comint-unquote-filename): Simplify.
6242 (comint-completion-file-name-table): New function (bug#9616).
6243 (comint--complete-file-name-data): Use it.
6244
6245 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6246 (pcmpl-gnu-tar-buffer): Remove.
6247 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6248 around. Make sure pcomplete-suffix-list is only changed temporarily.
6249 Don't look inside the tar's file if it's too large.
6250
6251 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6252
6253 * cus-edit.el (custom-mode-map):
6254 * epa.el (epa-key-list-mode-map):
6255 * man.el (Man-mode-map):
6256 * startup.el (splash-screen-keymap):
6257 * simple.el (special-mode-map): Use scroll-up-command and
6258 scroll-down-command.
6259
6260 * progmodes/idlw-help.el (idlwave-help-mode-map):
6261 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6262 * net/newst-plainview.el (newsticker-mode-map):
6263 * emulation/ws-mode.el (wordstar-mode-map):
6264 * emulation/vi.el (vi-com-map):
6265 * calc/calc-graph.el (calc-graph-show-dumb):
6266 * term/sun.el (terminal-init-sun):
6267 * term/ns-win.el (global-map):
6268 * progmodes/grep.el (grep-mode-map):
6269 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6270 * mail/rmail.el (rmail-mode-map):
6271 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6272
6273 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6274 custom-safe-themes as special.
6275
6276 2011-10-01 Julien Danjou <julien@danjou.info>
6277
6278 * notifications.el (notifications-notify): Fix docstring.
6279
6280 2011-10-01 Per Starbäck <per@starback.se>
6281
6282 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6283
6284 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6285
6286 * startup.el (command-line-1): Fix last fix by inserting
6287 initial-scratch-message into *scratch* before displaying it.
6288 (Bug#9605) and (Bug#9636)
6289
6290 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6291
6292 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6293 window is hscrolled, move by logical lines. (Bug#9607)
6294 (line-move-visual): Update the doc string to the above effect.
6295
6296 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6297
6298 * window.el (display-buffer-record-window): When WINDOW is the
6299 selected window use `point' instead of `window-point'. (Bug#9626)
6300
6301 * startup.el (command-line-1): Use insert-before-markers when
6302 inserting initial-scratch-message. (Bug#9605)
6303
6304 * help.el (help-window): Remove variable.
6305
6306 2011-09-29 Glenn Morris <rgm@gnu.org>
6307
6308 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6309
6310 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6311
6312 * descr-text.el (describe-char-categories): Accept category
6313 descriptions more than one line long.
6314
6315 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * simple.el (delete-trailing-whitespace): Fix last change.
6318
6319 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6320 Don't confuse "y => 3" as the beginning of a `y' operation.
6321
6322 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6323 object has more than 4 slots (bug#9613).
6324
6325 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6326
6327 * subr.el (with-output-to-temp-buffer):
6328 * net/quickurl.el (quickurl, quickurl-browse-url):
6329 Fix typos in docstrings.
6330
6331 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6332
6333 * minibuffer.el (completion-styles)
6334 (completion-category-overrides): Cross reference each other in doc
6335 strings.
6336
6337 2011-09-27 Glenn Morris <rgm@gnu.org>
6338
6339 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6340 to split-string. (Bug#9606)
6341
6342 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6343
6344 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6345 (bug#9615).
6346
6347 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6348
6349 * emacs-lisp/package.el (list-packages): Fix echo area message.
6350
6351 2011-09-27 Leo Liu <sdl.web@gmail.com>
6352
6353 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6354
6355 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6356
6357 * net/dbus.el (dbus-unregister-object): Don't release services for
6358 registered signals. (Bug#9581)
6359
6360 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6361
6362 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6363 function that picks between cfengine 2 and 3 support
6364 automatically. Update docs accordingly.
6365
6366 2011-09-22 Kenichi Handa <handa@m17n.org>
6367
6368 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6369 ZERO.
6370 (indian-itrans-v5-table-for-tamil): New variable.
6371 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6372
6373 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6374
6375 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6376 that's true if the current command involved collapsing of text.
6377 It's reset to false at the beginning of the next command.
6378 (allout-post-command-business): Move the cursor to the beginning
6379 of entry if the cursor is hidden and collapsing activity just
6380 happened.
6381
6382 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6383
6384 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6385 tracking (Bug#9541).
6386
6387 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6388
6389 * net/newst-reader.el (newsticker-html-renderer)
6390 (newsticker-show-news): Automatically load html rendering package
6391 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6392 because w3m-fill-column is let-bound" and the error "Symbol's value
6393 as variable is void: w3m-fill-column".
6394
6395 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6396
6397 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6398 Release services only if they are defined. (Bug#9581)
6399
6400 2011-09-23 Richard Stallman <rms@gnu.org>
6401
6402 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6403 distinguish start of paragraph from start of its text.
6404
6405 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6406
6407 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6408 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6409 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6410
6411 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6412
6413 * international/mule-diag.el (mule-diag): Insert a newline after
6414 each fontset description.
6415
6416 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * simple.el (delete-trailing-whitespace):
6419 Document last change; simplify.
6420
6421 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6422
6423 * simple.el (delete-trailing-whitespace): Also delete
6424 extra newlines at the end of the buffer.
6425
6426 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6427 (picture-newline): Use forward-line so as to ignore fields.
6428
6429 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6430
6431 * subr.el (with-wrapper-hook): Fix edebug spec.
6432
6433 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6434
6435 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6436 (bug#4538).
6437
6438 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6439
6440 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6441 Fix nasty bug using wrong cached values.
6442
6443 2011-09-23 Alan Mackenzie <acm@muc.de>
6444
6445 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6446
6447 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6448
6449 * window.el (pop-to-buffer): Ensure right window is selected if we
6450 chose another frame.
6451
6452 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6453
6454 * simple.el (what-cursor-position): Use get-char-property-change
6455 and next-single-char-property-change, to be able to show display
6456 properties that come from overlays as well as text properties.
6457
6458 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6459
6460 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6461
6462 * cmuscheme.el (run-scheme, switch-to-scheme):
6463 * cus-edit.el (customize-group, custom-buffer-create)
6464 (customize-browse):
6465 * info.el (info):
6466 * shell.el (shell):
6467 * mail/sendmail.el (mail):
6468 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6469
6470 2011-09-22 Richard Stallman <rms@gnu.org>
6471
6472 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6473 move back only to line beg, don't move back over blank lines.
6474
6475 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6476
6477 * files.el (copy-directory): Set directory attributes only in case
6478 they could be retrieved from the source directory. (Bug#9565)
6479
6480 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6481
6482 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6483 (hs-find-block-beginning, hs-hide-level-recursive):
6484 Ignore strings as well as comments. (Bug#9502)
6485
6486 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6487
6488 * progmodes/sql.el (sql-comint-postgres):
6489 Convert port number to a string. (Bug#9566)
6490
6491 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6492
6493 * window.el (quit-window): Undedicate window when switching to
6494 previous buffer. Reported by Thierry Volpiatto
6495 <thierry.volpiatto@gmail.com>.
6496 (special-display-popup-frame): When popping up a new frame reset
6497 its previous buffers to nil. Simplify code.
6498
6499 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6500
6501 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6502 and process filter, as done also in `shell-command'.
6503
6504 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6505
6506 * window.el (set-window-buffer-start-and-point):
6507 Call set-window-start with NOFORCE argument t.
6508 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6509 (quit-window): Reword doc-string. Handle new format of
6510 quit-restore parameter. Don't delete window if it has a
6511 previous buffer we can show instead of the present one.
6512 (display-buffer-record-window): Rewrite using a new format for
6513 the quit-restore window parameter
6514 (special-display-popup-frame, display-buffer-same-window)
6515 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6516 (display-buffer-pop-up-window, display-buffer-use-some-window):
6517 Adapt symbol passed to display-buffer-record-window.
6518 * help.el (help-window-setup): Handle new format of quit-restore
6519 parameter.
6520
6521 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 * faces.el (face-list): Fix docstring (bug#9564).
6524
6525 * window.el (display-buffer--action-function-custom-type):
6526 Don't include internal functions in the Custom interface.
6527
6528 2011-09-20 Juri Linkov <juri@jurta.org>
6529
6530 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6531 (Info-forward-node, Info-backward-node, Info-next-preorder)
6532 (Info-last-preorder): Use it. (Bug#9528)
6533
6534 2011-09-20 Juri Linkov <juri@jurta.org>
6535
6536 * info.el (Info-last-preorder): Visit last menu item only when
6537 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6538
6539 2011-09-20 Julien Danjou <julien@danjou.info>
6540
6541 * password-cache.el (password-cache-remove): Remove entries even if the
6542 value is nil, so that password with a nil value (negative caching) is
6543 possible to invalidate.
6544
6545 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6546
6547 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6548 all whitespace around breakpoint. (Bug#9553)
6549 (f90-find-breakpoint): Only break at whitespace inside a comment.
6550
6551 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * minibuffer.el (completion-file-name-table): Keep track of errors.
6554 (completion-table-with-predicate): Handle the case where pred1 is nil.
6555 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6556
6557 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6558
6559 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6560 (debugger-return-value): Signal an error if the debugging context does
6561 not await any return value.
6562
6563 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6564 * image-mode.el (image-toggle-display-text)
6565 (image-toggle-display-image): Stay away from evil `intangible'.
6566
6567 2011-09-19 Leo Liu <sdl.web@gmail.com>
6568
6569 * replace.el (occur-revert-arguments): Make it permanent-local.
6570 (occur-mode): Don't call font-lock-defontify.
6571
6572 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6573
6574 * net/ldap.el (ldap-search-internal): Don't push empty search
6575 result (Bug#9508).
6576
6577 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6580
6581 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6582
6583 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6584 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6585
6586 2011-09-18 Juri Linkov <juri@jurta.org>
6587
6588 * buff-menu.el (Buffer-menu-mode-map):
6589 * dired.el (dired-mode-map):
6590 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6591 (lisp-interaction-mode-map):
6592 * emacs-lisp/package.el (package-menu-mode-map):
6593 * epa.el (epa-key-list-mode-map):
6594 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6595 (menu-bar-options-menu):
6596 * outline.el (outline-mode-menu-bar-map):
6597 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6598 * vc/vc-dir.el (vc-dir-menu-map):
6599 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6600 Capitalize non-function content words in menu item strings.
6601
6602 * dired.el (dired-mode-map): Add menu item for
6603 `image-dired-dired-toggle-marked-thumbs'.
6604
6605 2011-09-18 Juri Linkov <juri@jurta.org>
6606
6607 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6608 to `isearch-case-fold-search' and restore its original value
6609 after the `isearch-mode' call.
6610
6611 2011-09-18 Juri Linkov <juri@jurta.org>
6612
6613 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6614 because `zgrep' returns 1 for successful matches (bug#9226).
6615
6616 2011-09-18 Juri Linkov <juri@jurta.org>
6617
6618 * info.el (Info-extract-menu-node-name): Check the second match
6619 for empty string (second test-case of bug#9528).
6620 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6621 intermediate nodes to the history (first test-case of bug#9528).
6622
6623 2011-09-18 Juri Linkov <juri@jurta.org>
6624
6625 * info.el (Info-mode-syntax-table): New variable.
6626 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6627
6628 2011-09-18 Juri Linkov <juri@jurta.org>
6629
6630 * info.el (Info-file-supports-index-cookies):
6631 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6632 outputs one more line for long file names (bug#4142).
6633
6634 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6635
6636 * newcomment.el (comment-normalize-vars): If prompting for
6637 comment-start, set comment-start-skip too (Bug#8424).
6638
6639 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6640
6641 * icomplete.el: Fix previous fix of Bug#5849.
6642 (icomplete-mode): Don't set completion-show-inline-help.
6643 (icomplete-minibuffer-setup): Set completion-show-inline-help
6644 locally during icompletion.
6645
6646 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6647
6648 * woman.el (woman2-process-escapes): Don't delete unrecognized
6649 escapes (Bug#7843).
6650
6651 * files.el (inhibit-first-line-modes-regexps): Add image files.
6652 (hack-local-variables-prop-line): Return nil for malformed
6653 prop-lines (Bug#9044).
6654
6655 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6656
6657 * net/tramp.el (top): Don't require 'shell.
6658 (tramp-methods): Fix docstring.
6659 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6660 Return complete remote file name. Handle "smb" case.
6661 Use `tramp-tmpdir', if defined for the respective method.
6662 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6663
6664 * net/tramp-compat.el (top): Require 'shell.
6665
6666 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6667 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6668 `tramp-current-host'.
6669 (tramp-get-remote-tmpdir): Remove.
6670
6671 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6672 `tramp-tmpdir' entries.
6673 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6674 (tramp-smb-handle-file-attributes): Ignore errors.
6675 (tramp-smb-wait-for-output): Check also for process end.
6676
6677 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6678
6679 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6680 when sending QUIT (bug#9312).
6681
6682 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6683
6684 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6685 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6686 occur-mode-display-occurrence.
6687 (occur-edit-mode): Add usage message.
6688 (occur-cease-edit): New command.
6689 (occur-after-change-function): Use text properties to find the
6690 position of the prefix text.
6691 (occur-engine): Set stickiness of prefix text properties.
6692
6693 2011-09-17 Glenn Morris <rgm@gnu.org>
6694
6695 * progmodes/etags.el (complete-tag):
6696 Fix call to completion-in-region. (Bug#9526)
6697
6698 2011-09-17 Juri Linkov <juri@jurta.org>
6699
6700 * textmodes/ispell.el (ispell-word): Add to the error message
6701 the word, ispell program name and current dictionary (bug#9121).
6702 (ispell-tex-arg-end): Capitalize "error" in the error message.
6703
6704 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6705
6706 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6707 check. (Bug#4251)
6708
6709 2011-09-17 Juri Linkov <juri@jurta.org>
6710
6711 * window.el (window-safe-min-height, window-safe-min-width):
6712 Fix typos (followup to bug#9522).
6713
6714 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6715
6716 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6717
6718 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6719
6720 * simple.el (line-move): If goal-column is set, move by logical
6721 lines, not by display lines. (Bug#971)
6722 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6723 to reflect the above change.
6724
6725 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6726
6727 * image.el (imagemagick-register-types): Use regexp-opt.
6728
6729 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6730
6731 * window.el (display-buffer-base-action): Rename from
6732 display-buffer-default-action. Make default value empty.
6733 (display-buffer-overriding-action): Convert to defvar.
6734 (display-buffer-fallback-action): New var.
6735
6736 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6737
6738 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6739 declaration.
6740 (package--add-to-archive-contents): If there is a duplicate entry
6741 with an older version, remove it.
6742 (package-menu-mark-delete, package-menu-mark-install)
6743 (package-menu-mark-unmark): Make unused args optional.
6744 (package-menu-mark-obsolete-for-deletion):
6745 Use package-menu-get-status instead of a regexp search.
6746 (package-menu-get-status): Use tabulated-list-entry.
6747 (package-menu-mark-upgrades): New command.
6748 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6749 (package-menu-execute): Do installation before deletion.
6750 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6751 instead of checking major-mode.
6752 (package-menu--find-upgrades): New function.
6753
6754 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6755
6756 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6757 passwords in the log buffer.
6758 (smtpmail-process-filter): Update the process marker so that the
6759 "broken by peer" status message is inserted in the right place.
6760
6761 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6764 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6765 bibtex-completion-at-point-function.
6766 (bibtex-completion-at-point-function): Use them.
6767
6768 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6769
6770 * mpc.el (mpc-constraints-tag-lookup): New function.
6771 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6772 also to browser "album|playlist".
6773
6774 2011-09-14 Juri Linkov <juri@jurta.org>
6775
6776 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6777 (isearch-edit-string): Use length of `isearch-string' when
6778 `isearch-fail-pos' returns nil.
6779 (isearch-message): Remove duplicate code and call
6780 `isearch-fail-pos' with arg `t'.
6781
6782 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6783
6784 * replace.el (occur-mode-goto-occurrence): Don't force using other
6785 window (Bug#9499).
6786
6787 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6788
6789 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6790
6791 * window.el (display-buffer-window): Remove.
6792 (display-buffer-record-window): Use help-setup window parameter
6793 instead of variable display-buffer-window.
6794 (display-buffer-function, special-display-buffer-names)
6795 (special-display-function): Mention help-setup parameter instead
6796 of display-buffer-window in doc-string.
6797 * help.el (help-window-setup): New argument help-window.
6798 Use help-window-setup parameter instead of display-buffer-window.
6799 Reword some messages.
6800 (with-help-window): Pass window used for displaying the buffer
6801 to help-window-setup. Don't set display-buffer-window.
6802
6803 2011-09-13 Glenn Morris <rgm@gnu.org>
6804
6805 * emacs-lisp/debug.el (debugger-make-xrefs):
6806 Preserve point. (Bug#9462)
6807
6808 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6809
6810 * window.el (window-deletable-p): Use next-frame.
6811
6812 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6813
6814 * window.el (window-auto-delete): Remove.
6815 (window-deletable-p): Remove argument FORCE. Don't deal with
6816 dedication and previous buffers.
6817 (switch-to-prev-buffer): Don't delete window.
6818 (delete-windows-on): Delete a window's frame if and only if the
6819 window is dedicated.
6820 (replace-buffer-in-windows): Delete buffer's window or frame if
6821 and only if window is dedicated.
6822 (quit-window): Handle quit-restore as before last change.
6823 (bury-buffer): Delete window only if window-deletable-p returns t.
6824
6825 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6826
6827 * window.el (window-deletable-p): Never delete the last frame on a
6828 given terminal.
6829
6830 2011-09-13 Glenn Morris <rgm@gnu.org>
6831
6832 * help.el (describe-key-briefly): Copy previous standard-output change.
6833
6834 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6835
6836 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6837
6838 2011-09-13 Glenn Morris <rgm@gnu.org>
6839
6840 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6841 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6842
6843 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6844
6845 * dired-aux.el (dired-mark-read-string): Don't return default
6846 value on empty input (Bug#9361).
6847 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6848 Omit initial minibuffer contents.
6849 (dired-do-chmod): Signal an error on empty input.
6850 (dired-mark-read-string): Don't return default on empty input.
6851
6852 * files.el (file-modes-symbolic-to-number): Doc fix.
6853
6854 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * international/mule-cmds.el (ucs-completions): Remove.
6857 (read-char-by-name): Use complete-with-action instead; add metadata.
6858
6859 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6860
6861 * window.el (display-buffer--action-function-custom-type)
6862 (display-buffer--action-custom-type): New vars.
6863 (display-buffer-alist, display-buffer-default-action)
6864 (display-buffer-overriding-action): Add defcustom types.
6865
6866 * frame.el (delete-other-frames): Doc fix (Bug#276).
6867
6868 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6869
6870 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6871
6872 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6873
6874 Change modes that used same-window-* vars to use switch-to-buffer.
6875
6876 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6877 Use switch-to-buffer.
6878
6879 * cus-edit.el (customize-group, custom-buffer-create)
6880 (customize-browse, custom-buffer-create-other-window):
6881 Use switch-to-buffer or switch-to-buffer-other-window.
6882
6883 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6884 (Info-prev, Info-up, Info-speedbar-goto-node)
6885 (info-display-manual): Use switch-to-buffer.
6886 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6887
6888 * mail/sendmail.el (mail): Use switch-to-buffer.
6889 (mail-recover): Use switch-to-buffer-other-window.
6890
6891 * cmuscheme.el (run-scheme, switch-to-scheme):
6892 * ielm.el (ielm):
6893 * shell.el (shell):
6894 * net/rlogin.el (rlogin):
6895 * net/telnet.el (telnet, rsh):
6896 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6897
6898 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6899
6900 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6901
6902 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6903
6904 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6905 so don't mention it (bug#9301).
6906 (dired-sort-toggle-or-edit): Clarify string further.
6907
6908 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6909 match `x', `w32' and `ns', like the manual says (bug#9029).
6910
6911 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6912 (process-kill-buffer-query-function): Mention the buffer name in
6913 the query.
6914
6915 * image-mode.el (image-next-line): The line parameter is mandatory
6916 (bug#9258).
6917
6918 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6919 which can be useful (bug#9301).
6920
6921 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6922
6923 * subr.el (match-string): Mention that the current buffer should
6924 be the same as the search was done in (bug#9282).
6925
6926 * facemenu.el: Disable the remove-* commands if the mark isn't
6927 active (bug#9162).
6928
6929 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6930
6931 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6932 of display-buffer.
6933 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6934
6935 * replace.el (occur-mode-goto-occurrence)
6936 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6937 and display-buffer.
6938
6939 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6940 display-buffer.
6941
6942 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6943 special-display and same-window variables.
6944 (mail-other-window): Use switch-to-buffer-other-window.
6945 (mail-other-frame): USe switch-to-buffer-other-frame.
6946
6947 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6948 Use display-buffer-other-frame.
6949 (gdb-display-gdb-buffer): Use pop-to-buffer.
6950
6951 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6952
6953 * progmodes/python.el: Don't set same-window-buffer-names.
6954
6955 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6956
6957 * window.el (display-buffer-alist): Add *Python*.
6958
6959 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6960
6961 * window.el (display-buffer-alist): Add entry for buffers
6962 previously handled same-window-*.
6963 (display-buffer-alist, display-buffer-default-action)
6964 (display-buffer-overriding-action): Mark as risky.
6965 (display-buffer-alist): Document action function changes.
6966 (display-buffer--same-window-action)
6967 (display-buffer--other-frame-action): New variables.
6968 (switch-to-buffer, display-buffer-other-frame): Use them.
6969 (display-buffer): Rename reuse-frame entry to reusable-frames.
6970 (display-buffer-reuse-selected-window): Function deleted.
6971 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6972 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6973 (display-buffer-special): New function.
6974 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6975 display-buffer-reuse-or-pop-window. Split off special-display
6976 part into display-buffer-special.
6977 (display-buffer-use-some-window): Don't perform any special
6978 pop-up-frames handling.
6979 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6980 (display-buffer--maybe-same-window): Rename from
6981 display-buffer-maybe-same-window.
6982
6983 * info.el: Don't set same-window-regexps.
6984 (info-setup): New function.
6985 (info-other-window, info): Call it.
6986
6987 * cus-edit.el: Don't set same-window-regexps.
6988 (customize-group): New argument.
6989 (customize-group-other-window): Use it.
6990 (customize-face, customize-face-other-window): Likewise.
6991 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6992
6993 * net/rlogin.el:
6994 * net/telnet.el:
6995 * progmodes/gud.el: Don't set same-window-regexps.
6996
6997 * cmuscheme.el:
6998 * ielm.el:
6999 * shell.el:
7000 * mail/sendmail.el:
7001 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7002
7003 2011-09-10 Juri Linkov <juri@jurta.org>
7004
7005 * isearch.el (isearch-edit-string): Remove obsolete mention of
7006 `C-w' (`isearch-yank-word-or-char') from docstring.
7007 (isearch-query-replace): Fix typo in docstring (bug#9466).
7008
7009 2011-09-10 Juri Linkov <juri@jurta.org>
7010
7011 * paren.el (show-paren-function): Don't show escaped parens.
7012 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7013
7014 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7015
7016 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7017 (mm-default-file-encoding): Remove autoload forms, they are
7018 replaced with autoload cookies in mml.el and mm-encode.el.
7019 (mail-add-attachment): New command.
7020 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7021 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7022 the doc string.
7023 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7024
7025 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7026
7027 * simple.el (count-words-region): Use buffer if there's no region
7028 (bug#9429).
7029
7030 2011-09-09 Juri Linkov <juri@jurta.org>
7031
7032 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7033 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7034 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7035
7036 2011-09-09 Alan Mackenzie <acm@muc.de>
7037
7038 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7039 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7040
7041 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7042
7043 Fix for Savannah bug#9392.
7044 * simple.el (mail-encode-mml): New defvar.
7045
7046 * mail/rmail.el (mail-encode-mml): Add a defvar.
7047 (rmail-enable-mime-composing): Default to t.
7048 (rmail-forward): Use MIME method of forwarding only if both
7049 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7050 Set mail-encode-mml non-nil if the MIME method was used.
7051
7052 * mail/sendmail.el (mml-to-mime): Add autoload form.
7053 (mail-encode-mml): Add a defvar.
7054 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7055 to nil.
7056 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7057 message through mml-to-mime, and reset mail-encode-mml to nil.
7058
7059 2011-09-09 Glenn Morris <rgm@gnu.org>
7060
7061 * woman.el (woman-if-body): When processing an .el block,
7062 do not delete the next .el block as well. (Bug#9447)
7063 (woman-special-characters): Add oq, cq, and hy characters.
7064
7065 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7066
7067 * window.el (window-deletable-p): Make sure window is live before
7068 invoking window-prev-buffers.
7069
7070 2011-09-08 Leo Liu <sdl.web@gmail.com>
7071
7072 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7073
7074 2011-09-08 Juri Linkov <juri@jurta.org>
7075
7076 * progmodes/compile.el (compilation-environment): Make it
7077 a defcustom (bug#8340).
7078
7079 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7080
7081 * window.el (frame-auto-delete): Rename to window-auto-delete.
7082 Make it control auto-deletion of windows and/or frames.
7083 (window-deletable-p): New argument FORCE. Rewrite conditions
7084 for deleting window/frame. (Bug#9419)
7085 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7086 Rewrite handling of case when window/frame can be deleted.
7087 (delete-windows-on): Call window-deletable-p with new FORCE
7088 argument t. (Bug#9456)
7089
7090 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7091
7092 * help-mode.el (help-mode): Restore autoload.
7093
7094 2011-09-07 Juri Linkov <juri@jurta.org>
7095
7096 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7097 `compilation-environment'. Set buffer-local
7098 `compilation-environment' to `thisenv' later after (funcall mode).
7099 (Bug#8340)
7100
7101 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7102 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7103 instead of replacing its value. (Bug#8340)
7104
7105 2011-09-07 Juri Linkov <juri@jurta.org>
7106
7107 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7108 based on text properties put by `grep-filter' instead of matching
7109 escape sequences.
7110 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7111 to the value of `grep-error-screen-columns' (bug#9438).
7112
7113 2011-09-07 Juri Linkov <juri@jurta.org>
7114
7115 * simple.el (next-error-highlight, next-error-highlight-no-select):
7116 Doc fix (bug#9432).
7117
7118 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7119
7120 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7121 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7122
7123 2011-09-07 Leo Liu <sdl.web@gmail.com>
7124
7125 * net/rcirc.el (rcirc-mode): Conditionally initialize
7126 rcirc-input-ring.
7127
7128 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * emacs-lisp/find-func.el (find-function-C-source): Only set
7131 find-function-C-source-directory after checking that we found a source
7132 file there (bug#9440).
7133
7134 2011-09-06 Alan Mackenzie <acm@muc.de>
7135
7136 * isearch.el (isearch-other-meta-char): Wherever a key list is
7137 unread, "unread" the prefix arg, too. This fixes bug #8901.
7138
7139 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7140
7141 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7142
7143 2011-09-05 Juri Linkov <juri@jurta.org>
7144
7145 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7146
7147 2011-09-05 Juri Linkov <juri@jurta.org>
7148
7149 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7150 keeping point where processing of grep matches begins, and
7151 continue to delete remaining escape sequences from the same point.
7152 (grep-filter): Make leading zero optional in "0?1;31m" because
7153 git-grep emits "\033[1;31m" escape sequences unlike expected
7154 "\033[01;31m" as GNU Grep does (bug#9408).
7155 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7156
7157 2011-09-05 Juri Linkov <juri@jurta.org>
7158
7159 * subr.el (y-or-n-p): Capitalize "yes".
7160
7161 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7162
7163 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7164 `tramp-cache-unload-hook' where appropriate.
7165 (tramp-methods): Rename `tramp-remote-sh' to
7166 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7167 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7168
7169 * net/tramp-sh.el (top): Don't require 'shell.
7170 (tramp-methods): Add `tramp-remote-shell' and
7171 `tramp-remote-shell-args' entries.
7172 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7173 (tramp-sh-handle-shell-command): Remove.
7174 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7175 Use `tramp-remote-shell'.
7176
7177 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7178
7179 * mail/sendmail.el (sendmail-query-once-function): Delete.
7180 (sendmail-query-once): Save directly to send-mail-function.
7181 Update message-send-mail-function too.
7182
7183 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7184
7185 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7186
7187 * progmodes/python.el (python-mode-map): Use correct function to
7188 start python interpreter from menu-bar (as reported by Geert
7189 Kloosterman).
7190 (inferior-python-mode-map): Fix typo.
7191 (python-shell-map): Remove.
7192
7193 2011-09-03 Deniz Dogan <deniz@dogan.se>
7194
7195 * net/rcirc.el (rcirc-print): Simplify code for
7196 rcirc-scroll-show-maximum-output. There is no need to walk
7197 through all windows to find the right one.
7198
7199 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7200
7201 * help.el (help-return-method): Doc fix.
7202
7203 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7204
7205 * window.el (window-deletable-p): Don't return a non-nil value
7206 when there's a buffer that was shown in the window before.
7207 (Bug#9419)
7208 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7209 Set window's previous buffers to nil.
7210
7211 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7212
7213 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7214 newline before and after the tag line, so it doesn't interfere
7215 with determining the paragraph direction of bidirectional text.
7216
7217 2011-09-03 Leo Liu <sdl.web@gmail.com>
7218
7219 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7220
7221 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7222
7223 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7224 (pop-to-buffer): Change interactive spec. Pass second argument
7225 directly to display-buffer.
7226 (display-buffer): Fix interactive spec. Use functionp to
7227 distinguish between a function and a list of functions.
7228
7229 * abbrev.el (edit-abbrevs):
7230 * arc-mode.el (archive-extract):
7231 * autoinsert.el (auto-insert):
7232 * bookmark.el (bookmark-bmenu-list):
7233 * files.el (find-file):
7234 * view.el (view-buffer):
7235 * progmodes/compile.el (compilation-goto-locus):
7236 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7237
7238 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7239
7240 * window.el (display-buffer-alist): Doc fix.
7241 (display-buffer): Add docstring. Don't treat
7242 display-buffer-default specially.
7243 (display-buffer-reuse-selected-window)
7244 (display-buffer-same-window, display-buffer-maybe-same-window)
7245 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7246 (display-buffer-pop-up-window)
7247 (display-buffer-reuse-or-pop-window)
7248 (display-buffer-use-some-window): New functions.
7249 (display-buffer-default-action): Use them.
7250 (display-buffer-default): Delete.
7251 (pop-to-buffer-1): Fix choice of actions.
7252
7253 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7254
7255 * minibuffer.el (completion--insert-strings): Don't get confused by
7256 completion entries that end with an LF char.
7257
7258 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7259
7260 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7261
7262 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7263
7264 * window.el (display-buffer): Restore interactive spec.
7265 (display-buffer-same-window, display-buffer-other-window):
7266 New functions.
7267 (pop-to-buffer-1): New function. Use the above.
7268 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7269 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7270
7271 * view.el (view-buffer-other-window, view-buffer-other-frame):
7272 Just use pop-to-buffer.
7273
7274 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7275
7276 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7277
7278 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7279
7280 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7281
7282 2011-08-31 Richard Stallman <rms@gnu.org>
7283
7284 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7285 of the separation of rmail-view-buffer from rmail-buffer.
7286 If you say no to "replace original", the decrypt is in the
7287 view buffer. If you say yes, the decrypt goes into the
7288 rmail buffer also.
7289
7290 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7291
7292 * window.el (display-buffer-window): Rewrite doc-string.
7293 (display-buffer-record-window): New function.
7294 (display-buffer-macro-specifiers)
7295 (display-buffer-even-window-sizes, display-buffer-set-height)
7296 (display-buffer-set-width, display-buffer-in-window)
7297 (display-buffer-reuse-window, display-buffer-split-specifiers)
7298 (display-buffer-side-specifiers, display-buffer-split-window-1)
7299 (display-buffer-split-window, display-buffer-split-atom-window)
7300 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7301 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7302 (display-buffer-other-window-means-other-frame)
7303 (display-buffer-normalize-special)
7304 (display-buffer-normalize-default)
7305 (display-buffer-normalize-argument)
7306 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7307 (display-buffer-normalize-specifiers, display-buffer-frame)
7308 (display-buffer-same-window, display-buffer-same-frame)
7309 (display-buffer-other-window)
7310 (display-buffer-same-frame-other-window)
7311 (display-buffer-other-frame, pop-to-buffer-same-window)
7312 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7313 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7314 (switch-to-buffer-same-frame)
7315 (switch-to-buffer-other-window-same-frame)
7316 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7317 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7318 (display-buffer-alist-set): Remove.
7319 (display-buffer-function, special-display-buffer-names)
7320 (special-display-regexps, special-display-function):
7321 In doc-string refer to display-buffer-window and quit-restore
7322 parameter.
7323 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7324 (special-display-frame-alist, special-display-popup-frame)
7325 (same-window-buffer-names, same-window-regexps, same-window-p)
7326 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7327 (split-window-preferred-function, split-height-threshold)
7328 (split-width-threshold, window-splittable-p)
7329 (split-window-sensibly, window--try-to-split-window)
7330 (window--frame-usable-p, even-window-heights)
7331 (window--even-window-heights, window--display-buffer-1)
7332 (window--display-buffer-2, display-buffer-other-frame):
7333 Restore old Emacs 23 code, order and doc-strings where applicable.
7334 (display-buffer-default, display-buffer-assq-regexp): New functions.
7335 (display-buffer-alist): Rewrite doc-string.
7336 (display-buffer-default-action)
7337 (display-buffer-overriding-action): New variables.
7338 (display-buffer, switch-to-buffer): Rewrite.
7339 (pop-to-buffer): Restore Emacs 23 behavior but use
7340 window-normalize-buffer-to-display.
7341 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7342 Restore Emacs 23 behavior but use
7343 window-normalize-buffer-to-switch-to.
7344 (pop-to-buffer-same-window): Rewrite.
7345 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7346 Rewrite using Emacs 23 options.
7347
7348 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7349
7350 * net/tramp.el (tramp-root-regexp): Remove.
7351 (tramp-completion-file-name-regexp-unified)
7352 (tramp-completion-file-name-regexp-separate)
7353 (tramp-completion-file-name-regexp-url): Don't use leading volume
7354 letter on win32 systems. (Bug#5303, Bug#9311)
7355 (tramp-drop-volume-letter): Simplify definition.
7356 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7357
7358 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7361 (bug#9356).
7362
7363 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7364
7365 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7366
7367 2011-08-29 Juri Linkov <juri@jurta.org>
7368
7369 * isearch.el (isearch-done): Don't display message "Mark saved"
7370 when arg `edit' is non-nil to prevent its flicker in the echo area.
7371
7372 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7373
7374 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7375 obsolete packages for deletion.
7376
7377 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7378
7379 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7380 (help-mode): Derive help-mode from special-mode. Don't invoke
7381 view-mode from help-mode.
7382 (help-xref-override-view-map): Remove.
7383 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7384 view-mode is not used anymore.
7385
7386 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7387
7388 * server.el (server-port): Doc fix.
7389
7390 * cus-theme.el (custom-theme-choose-mode): Inherit from
7391 special-mode (Bug#9124).
7392 (custom-theme-choose-mode-map): Add special-mode to parent.
7393
7394 2011-08-28 Alan Mackenzie <acm@muc.de>
7395
7396 * progmodes/cc-fonts.el
7397 (c-make-font-lock-BO-decl-search-function): New function.
7398 (c-basic-matchers-after - "Fontify the clauses after various
7399 keywords"): Extract the three keyword lists for the 3 erroneous
7400 constructs from the list of four, and use the new function above
7401 in place of an old one.
7402
7403 2011-08-28 Deniz Dogan <deniz@dogan.se>
7404
7405 * net/rcirc.el (rcirc-insert-prev-input)
7406 (rcirc-insert-next-input): Remove unused argument.
7407
7408 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7409
7410 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7411
7412 2011-08-27 Alan Mackenzie <acm@muc.de>
7413
7414 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7415 handle function pointer parameters properly.
7416
7417 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7418
7419 * window.el (display-buffer-reuse-window): Fix case where
7420 selected window was reused with non-nil OTHER-WINDOW argument.
7421 (Bug#9381)
7422
7423 2011-08-27 Deniz Dogan <deniz@dogan.se>
7424
7425 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7426 oftc's NickServ messages.
7427
7428 2011-08-27 Glenn Morris <rgm@gnu.org>
7429
7430 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7431
7432 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7433
7434 * emacs-lisp/package.el (package-install): Call package-initialize
7435 if called interactively.
7436
7437 2011-08-26 Leo Liu <sdl.web@gmail.com>
7438
7439 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7440
7441 2011-08-25 Juri Linkov <juri@jurta.org>
7442
7443 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7444 `search-whitespace-regexp' (bug#9364).
7445
7446 2011-08-25 Juri Linkov <juri@jurta.org>
7447
7448 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7449 `regexp-search-ring' to their global values to protect from
7450 updating by `read-from-minibuffer' (bug#9185).
7451
7452 2011-08-25 Juri Linkov <juri@jurta.org>
7453
7454 * textmodes/ispell.el (ispell-command-loop): Add newline
7455 at the end of the "Use option `i'..." line.
7456
7457 2011-08-25 Juri Linkov <juri@jurta.org>
7458
7459 * battery.el (display-battery-mode): If `battery-status-function'
7460 or `battery-mode-line-format' is nil, display the message and set
7461 `display-battery-mode' to nil (bug#9363).
7462
7463 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7464
7465 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7466 bidi-string-mark-left-to-right; they are unnecessary now.
7467
7468 2011-08-25 Deniz Dogan <deniz@dogan.se>
7469
7470 * net/quickurl.el: Documentation typo fixes.
7471
7472 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7473
7474 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7475
7476 2011-08-25 Glenn Morris <rgm@gnu.org>
7477
7478 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7479
7480 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7481 (smtpmail-via-smtp): Handle nil response from smtp.
7482
7483 2011-08-24 Juri Linkov <juri@jurta.org>
7484
7485 * proced.el (proced-marked): Inherit from `error' instead of
7486 `font-lock-warning-face'.
7487
7488 * ibuffer.el (ibuffer-marked-face): Change default face from
7489 `font-lock-warning-face' to `warning'.
7490 (ibuffer-deletion-face): Change default face from
7491 `font-lock-type-face' to `error'.
7492
7493 * battery.el (battery-update): Use the face `error' instead of
7494 `font-lock-warning-face' (bug#6117).
7495
7496 2011-08-24 Juri Linkov <juri@jurta.org>
7497
7498 * faces.el (success): Change face color from "Green3" to
7499 "ForestGreen" on light background (bug#9353).
7500
7501 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7502
7503 * window.el (quit-window): Rename from quit-restore-window.
7504 Use same arglist as old quit-window.
7505 (frame-auto-delete): Doc fix.
7506
7507 * view.el (view-mode-exit): Use quit-window.
7508
7509 2011-08-24 Juri Linkov <juri@jurta.org>
7510
7511 * isearch.el (isearch-ring-adjust1): Start visiting previous
7512 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7513 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7514 for empty search string (when the last search string is reused
7515 automatically) to adjust the isearch ring to the last element and
7516 prepare the correct index for further M-p commands (bug#9185).
7517
7518 2011-08-24 Kenichi Handa <handa@m17n.org>
7519
7520 * international/ucs-normalize.el: If decomposition property of
7521 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7522 nil.
7523 (nfd, nfkd): Likewise.
7524
7525 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7526
7527 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7528 from process filters aren't reliably transmitted to the surrounding
7529 accept-process-output.
7530 (mpc-proc-check): New function.
7531 (mpc-proc-sync): Use it (bug#8293)
7532
7533 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7536 Add compatibility functions (bug#9313).
7537
7538 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7539
7540 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7541
7542 * international/uni-bidi.el: Regenerate.
7543
7544 2011-08-23 Kenichi Handa <handa@m17n.org>
7545
7546 * international/charprop.el:
7547 * international/uni-bidi.el:
7548 * international/uni-category.el:
7549 * international/uni-combining.el:
7550 * international/uni-comment.el:
7551 * international/uni-decimal.el:
7552 * international/uni-decomposition.el:
7553 * international/uni-digit.el:
7554 * international/uni-lowercase.el:
7555 * international/uni-mirrored.el:
7556 * international/uni-name.el:
7557 * international/uni-numeric.el:
7558 * international/uni-old-name.el:
7559 * international/uni-titlecase.el:
7560 * international/uni-uppercase.el: Regenerate.
7561
7562 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7563
7564 * help.el (help-window-setup): Fix message displayed when other
7565 window is reused. (Bug#9341)
7566
7567 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7570 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7571
7572 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7573 Mark obsolete.
7574 * shell.el (shell-parse-pcomplete-arguments): New function.
7575 (shell-completion-vars): Use it instead (bug#9160).
7576
7577 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7580 strings and comments (bug#9333).
7581
7582 * emacs-lisp/debug.el (debug-arglist): New function.
7583 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7584 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7585
7586 2011-08-22 Juri Linkov <juri@jurta.org>
7587
7588 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7589 Revert regexp that highlights output switches to its old
7590 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7591
7592 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7593 to check for empty output (bug#9226).
7594
7595 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7596
7597 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7598 symbol-constituent as the default, as that stops font-lock from
7599 working properly (Bug#8843).
7600
7601 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7602
7603 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7604 `coding-system-for-*' around the process open call to avoid
7605 auth-source side effects.
7606 (smtpmail-try-auth-methods): Expand the secret password.
7607 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7608 probe hangs.
7609
7610 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7611
7612 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7613
7614 * emacs-lisp/find-func.el (find-function-noselect): New arg
7615 lisp-only.
7616
7617 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7618 signal an error for built-in functions (Bug#6664).
7619
7620 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7621
7622 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7623 (smtpmail-try-auth-methods): Use it.
7624
7625 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7626
7627 * font-lock.el (font-lock-fontify-region)
7628 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7629 (font-lock-default-unfontify-buffer)
7630 (font-lock-default-fontify-region)
7631 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7632
7633 * progmodes/compile.el (compilation-error-properties):
7634 Fix confusion between file struct and message struct (Bug#9319).
7635 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7636 `ant' regexp.
7637
7638 * net/browse-url.el (browse-url-firefox): Don't call
7639 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7640
7641 2011-08-20 Glenn Morris <rgm@gnu.org>
7642
7643 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7644
7645 * tutorial.el (tutorial--default-keys): Update some default bindings.
7646
7647 * files.el (hack-local-variables): Fully ignore case for "mode:".
7648
7649 2011-08-20 Alan Mackenzie <acm@muc.de>
7650
7651 Resolve invalid use of a regexp in regexp-opt.
7652
7653 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7654 detection for a java annotation.
7655
7656 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7657 detection for a java annotation.
7658
7659 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7660 handling for java.
7661 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7662
7663 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7664
7665 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7666 (Bug#9274).
7667
7668 2011-08-20 Alan Mackenzie <acm@muc.de>
7669
7670 Fontify CPP expressions correctly when starting in the middle of
7671 such a construct. Mainly for when jit-lock etc. starts a chunk
7672 here.
7673
7674 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7675 variable.
7676 (c-make-font-lock-search-form): New function, extracted from
7677 c-make-font-lock-search-function.
7678 (c-make-font-lock-search-function): Use the above function.
7679 (c-make-font-lock-context-search-function): New function.
7680 (c-cpp-matchers): Enhance the preprocessor expression case with
7681 the above function
7682 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7683 which takes an expression.
7684
7685 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7686
7687 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7688
7689 * window.el (display-buffer-reuse-window)
7690 (display-buffer-pop-up-window): Don't reuse or split a side
7691 window.
7692
7693 2011-08-19 Glenn Morris <rgm@gnu.org>
7694
7695 * files.el (hack-local-variables-prop-line, hack-local-variables):
7696 Downcase "Mode:". (Bug#9331)
7697
7698 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7699
7700 * international/characters.el: Add L and R categories.
7701
7702 * subr.el (bidi-string-mark-left-to-right): Rename from
7703 string-mark-left-to-right. Use category search.
7704
7705 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7706
7707 2011-08-18 Juri Linkov <juri@jurta.org>
7708
7709 * faces.el (error, warning, success): New faces with definitions
7710 copied from old default values of `font-lock-warning-face',
7711 `compilation-warning', `compilation-info' (bug#6117).
7712
7713 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7714
7715 * progmodes/compile.el (compilation-error): Inherit from `error'.
7716 (compilation-warning): Inherit from `warning'.
7717 (compilation-info): Inherit from `success'.
7718
7719 * dired.el (dired-marked): Inherit from `warning'.
7720 (dired-flagged): Inherit from `error'.
7721
7722 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7723
7724 * mail/smtpmail.el (auth-source): Require to avoid problems with
7725 binding variables (bug#9298). Also clean up some unused
7726 autoloads.
7727
7728 * net/network-stream.el (network-stream-open-starttls):
7729 Support using starttls.el without using gnutls-cli.
7730
7731 2011-08-17 Juri Linkov <juri@jurta.org>
7732
7733 * progmodes/grep.el (rgrep): Handle the case when
7734 `grep-find-command' is a cons cell (bug#9278).
7735
7736 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7737
7738 * window.el (display-buffer-pop-up-frame): Run frame creation
7739 function with BUFFER current (as special-display-popup-frame
7740 does). Reported by Drew Adams.
7741
7742 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7743
7744 * epa-mail.el: Simplify GnuPG group expansion using
7745 epg-expand-group.
7746 (epa-mail-group-alist, epa-mail-group-modtime)
7747 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7748 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7749 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7750 Remove.
7751
7752 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7753
7754 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7755
7756 2011-08-16 Alan Mackenzie <acm@muc.de>
7757
7758 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7759 Correct, to avoid the inside of macros.
7760
7761 2011-08-16 Richard Stallman <rms@gnu.org>
7762
7763 * epa-mail.el: Handle GnuPG group definitions.
7764 (epa-mail-group-alist, epa-mail-group-modtime)
7765 (epa-mail-gnupg-conf-file): New variables.
7766 (epa-mail-parse-groups, epa-mail-sync-groups)
7767 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7768 (epa-mail-expand-recipients): New functions.
7769 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7770
7771 * mail/rmail.el (rmail-epa-decrypt): New command.
7772
7773 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7774 Don't bind buffer-read-only, just inhibit-read-only.
7775 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7776 (epa-decrypt-armor-in-region): Make error message clearer.
7777
7778 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7781 and "a2b" to "ab" for `prefix'.
7782
7783 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7784
7785 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7786 filter groups.
7787 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7788 Fourquet (Bug#8804).
7789
7790 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7791
7792 * startup.el (argi): Declare as global variable (bug#9275).
7793
7794 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7795
7796 * subr.el (string-mark-left-to-right): Search the entire string
7797 for RTL script, not just the terminating character. Doc fix.
7798
7799 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7802 New function.
7803 (js--regexp-literal, js-syntax-propertize-function): Remove.
7804 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7805 (js-mode-map): Don't rebind electric keys.
7806 (js-insert-and-indent): Remove.
7807 (js-mode): Setup electric-layout and electric-indent instead.
7808
7809 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7810
7811 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7812
7813 * epa.el (epa-progress-callback-function): Fix the logic of
7814 displaying progress.
7815 * epa-file.el (epa-file-insert-file-contents): Make progress
7816 display more user-friendly.
7817 (epa-file-write-region): Ditto.
7818
7819 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7820
7821 * subr.el (string-mark-left-to-right): New function.
7822
7823 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7824 Use string-mark-left-to-right.
7825 (list-buffers-noselect): Caller changed.
7826
7827 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7828 Use string-mark-left-to-right.
7829 (tabulated-list-print): Recenter after moving point.
7830
7831 2011-08-10 Juri Linkov <juri@jurta.org>
7832
7833 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7834 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7835 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7836
7837 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7838
7839 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7840 (Bug#7554).
7841
7842 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7843
7844 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7845 character. (Bug#6594)
7846
7847 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7848
7849 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7850 (image-dired--with-db-file): New macro.
7851 (image-dired-write-tags, image-dired-remove-tag)
7852 (image-dired-create-gallery-lists, image-dired-write-comments)
7853 (image-dired-get-comment, image-dired-mark-tagged-files)
7854 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7855 (image-dired-gallery-generate): Use insert-file-contents.
7856
7857 * time.el (display-time-world-list, display-time-world-display):
7858 * time-stamp.el (time-stamp-string):
7859 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7860 set-time-zone-rule (Bug#7337).
7861
7862 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7863
7864 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7865 (epg-error-to-string, epg-errors-to-string): New function.
7866 (epg-wait-for-completion): Reverse errors list.
7867 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7868 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7869 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7870 (epg-sign-keys, epg-generate-key-from-file)
7871 (epg-generate-key-from-string): Format errors by using
7872 epg-errors-to-string (bug#9255).
7873 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7874
7875 2011-08-07 Juri Linkov <juri@jurta.org>
7876
7877 * faces.el (list-faces-display): Remove extra angle bracket
7878 from `help-mode-map'.
7879
7880 * info.el (Info-history-toc-nodes): Doc fix.
7881
7882 * longlines.el (longlines-mode): Doc fix.
7883
7884 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7885
7886 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7887 of statements and in a few more cases (bug#9183).
7888
7889 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7890 New functions.
7891 (cl-transform-lambda): Use them (bug#9239).
7892
7893 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7894
7895 * window.el (display-buffer-same-window)
7896 (display-buffer-same-frame, display-buffer-other-window)
7897 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7898 (pop-to-buffer-other-window)
7899 (pop-to-buffer-same-frame-other-window)
7900 (pop-to-buffer-other-frame): Make them defuns.
7901 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7902
7903 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * subr.el (make-composed-keymap): Move from C. Change calling
7906 convention, and improve docstring to bring attention to a subtle point.
7907 * minibuffer.el (completing-read-default): Adjust accordingly.
7908
7909 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7910
7911 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7912 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7913
7914 * net/trampver.el: Update release number.
7915
7916 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7919 "in" (bug#9190).
7920
7921 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7922
7923 * mail/sendmail.el (sendmail-query-once): Restore the current
7924 buffer after querying (bug#9074).
7925
7926 * dired.el (dired-flagged): Use different faces for marked and
7927 flagged files (bug#6117).
7928
7929 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7930 (bug#4433).
7931
7932 * ido.el (ido-mode): Switch off the message if called
7933 non-interactively.
7934
7935 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7936 before 587, since it appears that that's more likely to work for
7937 more people.
7938
7939 * cus-edit.el (custom-file): When running under emacs -q, always
7940 refuse to save the customizations, even if the .emacs file doesn't
7941 exist.
7942
7943 * info.el: Remove the `Info-beginning-of-buffer' function
7944 (bug#8325).
7945
7946 * net/network-stream.el (network-stream-open-starttls):
7947 Use `starttls-available-p' to see whether starttls.el can be used.
7948
7949 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7950
7951 * window.el (display-buffer-in-window): Don't set dedicated status
7952 of window here (Bug#9215).
7953 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7954 (display-buffer-pop-up-side-window)
7955 (display-buffer-in-side-window): Set dedicated status of window here.
7956
7957 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7958
7959 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7960 before binding generated-autoload-file.
7961
7962 2011-08-01 Deniz Dogan <deniz@dogan.se>
7963
7964 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7965
7966 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7967
7968 Sync with Tramp 2.2.2.
7969
7970 * net/trampver.el: Update release number.
7971
7972 2011-07-30 Juri Linkov <juri@jurta.org>
7973
7974 * dired-aux.el (dired-touch-initial): Remove function.
7975 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7976 current time, and `default' to the last modification time of the
7977 current marked file (bug#6887).
7978
7979 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7980
7981 * simple.el (goto-line): Use string-to-number to provide a
7982 numeric argument to read-number (bug#9163).
7983
7984 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7985
7986 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7987 connection process, it could be nil.
7988
7989 2011-07-27 Leo Liu <sdl.web@gmail.com>
7990
7991 Simplify url handling in rcirc-mode.
7992
7993 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7994 (rcirc-browse-url-at-mouse): Remove.
7995 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7996
7997 2011-07-26 Alan Mackenzie <acm@muc.de>
7998
7999 Fontify bitfield declarations properly.
8000
8001 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8002 (c-symbol-chars): Now exported as a lang variable.
8003 (c-not-primitive-type-keywords): New lang variable.
8004
8005 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8006 QT keyword "more" to prevent "more slots: ...." being spuriously
8007 parsed as a bitfield declaration.
8008
8009 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8010 Refactor and enhance to handle bitfield declarations.
8011 (c-punctuation-in): New function.
8012 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8013 declarations properly.
8014
8015 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8016
8017 * calendar/icalendar.el (icalendar--all-events): Take care of
8018 multiple vcalendars in a single file.
8019 (icalendar--convert-float-to-ical): Checkdoc fixes.
8020
8021 2011-07-25 Deniz Dogan <deniz@dogan.se>
8022
8023 * image.el (insert-image): Clarifying docstring.
8024
8025 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8026
8027 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8028 `tramp-send-command-and-check' if there is no error.
8029 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8030
8031 2011-07-22 Alan Mackenzie <acm@muc.de>
8032
8033 Prevent cc-langs.elc being loaded at run time.
8034
8035 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8036 cc-langs.
8037
8038 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8039 "(require 'cc-langs)". Quote a form so it will evaluate at
8040 (cc-mode's) compilation time.
8041
8042 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8043
8044 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8045 loading. (Bug#9114)
8046
8047 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8048
8049 * window.el (display-buffer-pop-up-window)
8050 (display-buffer-pop-up-side-window)
8051 (display-buffer-in-side-window): Call display-buffer-set-height
8052 and display-buffer-set-width after setting the new window's
8053 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8054
8055 2011-07-20 Sam Steingold <sds@gnu.org>
8056
8057 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8058 (etags-tags-included-tables): Call `convert-standard-filename' on
8059 the file names contained in TAGS so that windows Emacs can handle
8060 TAGS files created by cygwin ctags.
8061
8062 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8063
8064 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8065 which apparently didn't work.
8066
8067 2011-07-19 Roland Winkler <winkler@gnu.org>
8068
8069 * proced.el (proced-send-signal): For *Marked Processes* buffer
8070 put point at beginning of buffer.
8071
8072 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8073
8074 * proced.el (proced-format): Make header lines align with the text
8075 (bug#1779).
8076
8077 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8078
8079 * view.el (view-buffer): Allow running in `special' modes if we're
8080 visiting a file (bug#8615).
8081
8082 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8083
8084 * window.el (display-buffer-alist-of-strings-p)
8085 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8086 New functions.
8087 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8088 more accurately.
8089
8090 2011-07-18 Alan Mackenzie <acm@muc.de>
8091
8092 Fontify declarators properly when, e.g., a jit-lock chunk begins
8093 inside a declaration.
8094
8095 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8096
8097 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8098 New function.
8099 (c-complex-decl-matchers): Insert reference to
8100 c-font-lock-enclosing-decls.
8101
8102 * progmodes/cc-engine.el (c-backward-single-comment):
8103 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8104 to nil around calls to (forward-comment -1).
8105
8106 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8107
8108 * image.el (put-image): Doc typo fix.
8109
8110 * progmodes/etags.el (tags-search): Doc typo fix.
8111
8112 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8113 password if we get errors 550 to 554.
8114
8115 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8116
8117 * net/gnutls.el (gnutls-log-level): Remove.
8118
8119 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8120 indentation character (bug#6380).
8121
8122 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8123
8124 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8125 to clarify what the problem is (bug#4291).
8126
8127 * simple.el (current-kill): Clarify what
8128 `interprogram-paste-function' does (bug#7500).
8129 (auto-fill-mode): Document `auto-fill-function' in relation to
8130 `auto-fill-mode' (bug#2470).
8131
8132 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8133
8134 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8135 method if slot is read-only (bug#9035).
8136
8137 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8138
8139 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8140 * window.el (pop-to-buffer): Select window used even if it was
8141 selected before, see discussion of (Bug#8615), (Bug#6954).
8142 Pass argument NORECORD on to select-frame-set-input-focus.
8143
8144 2011-07-15 Glenn Morris <rgm@gnu.org>
8145
8146 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8147 Respect help-form.
8148
8149 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8150
8151 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8152 (gnutls-negotiate): Use it.
8153
8154 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8155
8156 * net/gnutls.el (gnutls-negotiate):
8157 Upcase `gnutls-algorithm-priority'.
8158
8159 2011-07-15 Glenn Morris <rgm@gnu.org>
8160
8161 * jka-compr.el (jka-compr-verbose): Move from here...
8162 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8163 Add missing :version tag.
8164 * info.el: No need to require jka-compr when compiling.
8165
8166 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8167
8168 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8169 (gnutls-negotiate): Use it.
8170
8171 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8172
8173 * info.el (Info-beginning-of-buffer): New command.
8174 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8175 announcing `b' as the key (bug#8325).
8176 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8177
8178 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8179
8180 * international/mule-cmds.el
8181 (describe-specified-language-support): Make the error message
8182 clearer (bug#8905).
8183
8184 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8185
8186 * isearch.el (isearch-barrier): Add a doc string, since it's
8187 mentioned in a function doc string (bug#8678).
8188
8189 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8190
8191 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8192 buffer argument (Bug#9083) and self-identifying label argument.
8193
8194 2011-07-15 Glenn Morris <rgm@gnu.org>
8195
8196 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8197
8198 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8199
8200 * man.el (Man-fontify-manpage): Fix message when formatting the
8201 man page (bug#7929).
8202
8203 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8204
8205 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8206 argument LRM; if non-nil, append an invisible LRM character to the
8207 buffer name.
8208 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8209 last argument non-nil, when formatting buffer names.
8210 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8211 paragraph direction.
8212
8213 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8214
8215 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8216 the man page name (bug#7929).
8217
8218 * image.el (put-image): Mention the `put-image' overlay property
8219 (bug#7834).
8220
8221 * scroll-bar.el (set-scroll-bar-mode): Mention that
8222 `scroll-bar-mode' lists the values (bug#7772).
8223
8224 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8225 command (bug#7729).
8226
8227 * rect.el (apply-on-rectangle): Return the point after the last
8228 operation.
8229 (string-rectangle): Go to the point after the last operation
8230 (bug#7522).
8231
8232 * printing.el (pr-toggle-region): Clarify the documentation
8233 slightly (bug#7493).
8234
8235 * time.el (display-time-update):
8236 Allow `display-time-mail-function' to return nil (bug#7158).
8237 Fix suggested by Detlev Zundel.
8238
8239 * vc/diff.el (diff): Clarify the order the file names are read
8240 (bug#7111).
8241
8242 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8243 the doc string (bug#7015).
8244
8245 * font-lock.el (font-lock-maximum-decoration): Mention what
8246 numeric levels mean (bug#6935).
8247
8248 * startup.el (initial-buffer-choice): Don't mention the `none'
8249 selection, which is against policy.
8250
8251 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8252
8253 * window.el (display-buffer-normalize-special):
8254 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8255
8256 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8257
8258 * subr.el (version<, version<=, version=): Mention "-CVS" and
8259 "-12345" alpha version numbers.
8260
8261 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8262
8263 * bindings.el: Add advertised binding for set-mark-command
8264 (Bug#5772).
8265
8266 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8267
8268 * bindings.el (mode-line-other-buffer):
8269 * bookmark.el (bookmark-bmenu-2-window):
8270 * bs.el (bs-cycle-next, bs-cycle-previous):
8271 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8272 switch-to-buffer.
8273
8274 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8275 Delete.
8276
8277 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8278
8279 * follow.el (follow-debug-message, follow-redisplay):
8280 * jka-cmpr-hook.el (with-auto-compression-mode):
8281 Fix typos in docstrings.
8282
8283 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8284
8285 * subr.el (with-silent-modifications): Clarify somewhat what the
8286 macro inhibits (bug#6525).
8287
8288 * simple.el (eval-expression): Note what it does if called
8289 interactively (bug#6495).
8290
8291 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8292
8293 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8294 Use pop-to-buffer buffer-or-name if it is nil.
8295
8296 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8297 Remove switch-to-buffer.
8298
8299 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8300
8301 * files.el (make-directory): Clarify that an error will be raised
8302 if there's an error (bug#6397).
8303
8304 * startup.el (initial-buffer-choice): Add `none' as a choice
8305 (bug#6234).
8306
8307 * subr.el (add-hook): Clarify section about buffer-local hooks
8308 (bug#6218).
8309
8310 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8311
8312 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8313
8314 * tabify.el (untabify): Preserve the current column so that point
8315 doesn't move (bug#6032).
8316
8317 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8318
8319 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8320 Rewrite to avoid awkward possessive "s" (bug#5986).
8321
8322 2011-07-13 Glenn Morris <rgm@gnu.org>
8323
8324 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8325 (dired-insert-directory): Give a message the first time
8326 if ls is found not to support --dired.
8327
8328 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8329
8330 * simple.el (toggle-truncate-lines): Clarify what is toggled
8331 (bug#5580). Text by Drew Adams.
8332
8333 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8334
8335 * simple.el (blink-matching-open): Make the error message from the
8336 last change less verbose.
8337
8338 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8339
8340 * font-lock.el (font-lock-comment-face): Use the high contrast
8341 "yellow" color for font-lock-comment-face on low color terminals
8342 using a dark background color (bug#4221).
8343
8344 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8345
8346 * dired.el (dired-insert-set-properties): Make the doc string
8347 reflect what it does now (bug#5325).
8348
8349 * simple.el (blink-matching-open): Say that we were unable to find
8350 the match within the limit, if we're limited (bug#5122).
8351
8352 * international/mule-cmds.el (prefer-coding-system): Add an
8353 example (bug#4869).
8354
8355 * progmodes/etags.el (tags-search): Document `file-list-form'
8356 (bug#4731).
8357
8358 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8359
8360 * net/browse-url.el (browse-url-default-browser)
8361 (browse-url-browser-function): Make the default browser choice a
8362 bit more logical (bug#4300). Also clean up the doc string.
8363
8364 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8365
8366 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8367 binary endings (bug#4440).
8368
8369 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8370
8371 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8372 which can be pretty annoying (bug#8971).
8373
8374 * jka-compr.el (jka-compr-verbose): New variable, and use
8375 throughout (bug#8971).
8376
8377 * info.el (Info-find-file): Fall back on the installation
8378 directory if we can't find the info node anywhere else.
8379
8380 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8381
8382 * vc/vc.el (vc-revert-file):
8383 Don't set file time-stamp in the past. (Bug#5181)
8384
8385 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8386
8387 * files.el (after-find-file): Give a better error message when
8388 trying to find a symlink that points to a file that doesn't exist
8389 (bug#4398).
8390
8391 * progmodes/cc-vars.el: Remove (probably) misleading comment
8392 (bug#4396).
8393
8394 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8395
8396 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8397
8398 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8399
8400 * mouse-sel.el: Hack restoring functionality, while keeping
8401 compatibility with 2010-07-03 changes to mouse selection.
8402 (mouse-sel-primary-overlay): New var.
8403 (mouse-sel-selection-alist): Use it.
8404 (mouse-sel-mode): Doc fix; remove points that are default features
8405 of mouse.el.
8406
8407 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8408
8409 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8410 Fix previous fix (bug#2490).
8411
8412 2011-07-12 Roland Winkler <winkler@gnu.org>
8413
8414 * textmodes/bibtex.el (bibtex-initialize):
8415 Use pop-to-buffer-same-window.
8416 (bibtex-search-entries): Fix interactive call.
8417
8418 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8419
8420 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8421 Fontise bytecomp Error lines more correctly (bug#2490).
8422 Fix suggested by Johan Bockgård.
8423
8424 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8425
8426 * dired-x.el (dired-guess-default): Use `delete-dups'.
8427
8428 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8429
8430 * dired.el (dired-mark-prompt):
8431 * dired-aux.el (dired-read-shell-command): Doc fix.
8432
8433 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8434
8435 * mail/sendmail.el (sendmail-query-once):
8436 Use `customize-save-variable' unconditionally, now that it works under
8437 emacs -Q.
8438
8439 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8440
8441 * cus-edit.el (custom-file): Take an optional no-error variable.
8442 (customize-save-variable): Set the variable, and give a warning if
8443 running under "emacs -q".
8444
8445 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8446
8447 * loadhist.el (unload-feature-special-hooks):
8448 Add `auto-coding-functions', `fill-nobreak-predicate' and
8449 `find-directory-functions' (bug#5327).
8450
8451 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8452
8453 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8454
8455 * cus-edit.el (custom-guess-name-alist): -alist variables should
8456 use the `alist' type (bug#3120). Suggested by Drew Adams.
8457
8458 * printing.el: Add documentation to all the `pr-toggle-' commands.
8459
8460 2011-07-11 Leo Liu <sdl.web@gmail.com>
8461
8462 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8463 backends where it makes sense (bug#2623).
8464
8465 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8466
8467 * dired-x.el (dired-guess-default): Remove duplicate shell command
8468 entries (bug#2028).
8469 (dired-guess-default): Fix grammar in doc string (bug#2028).
8470 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8471
8472 * subr.el (remove-duplicates): New conveniency function.
8473
8474 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8475
8476 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8477 (bug#1526).
8478
8479 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8480
8481 * window.el (display-buffer-normalize-default): Don't invert
8482 meaning of even-window-heights. Reported by Eli Zaretskii
8483 <eliz@gnu.org>.
8484
8485 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8486
8487 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8488
8489 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8490
8491 * window.el (display-buffer): Fix arguments to
8492 display-buffer-reuse-window in last change.
8493
8494 * faces.el (link): Use a less saturated blue on light backgrounds.
8495
8496 * startup.el (fancy-startup-text, fancy-about-text)
8497 (fancy-startup-tail): Use font-lock faces, for background safety.
8498
8499 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8500
8501 * emulation/viper-cmd.el (viper-change-state-to-vi):
8502 Limit triggering of abbrev expansion (Bug#9038).
8503
8504 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8505
8506 * window.el (display-buffer-default-specifiers): Remove.
8507 (display-buffer-macro-specifiers): Remove default specifiers.
8508 (display-buffer-alist): Default to nil.
8509 (display-buffer-reuse-window): New optional argument other-window.
8510 (display-buffer-pop-up-window): Allow splitting internal
8511 windows. Check whether a live window was created.
8512 (display-buffer-other-window-means-other-frame)
8513 (display-buffer-normalize-arguments): Rename to
8514 display-buffer-normalize-argument and rewrite. Set the
8515 other-window specifier.
8516 (display-buffer-normalize-special): New function.
8517 (display-buffer-normalize-options): Rename to
8518 display-buffer-normalize-default and rewrite.
8519 (display-buffer-normalize-options-inhibit): Remove.
8520 (display-buffer-normalize-specifiers): Rewrite.
8521 (display-buffer): Process other-window specifier and call
8522 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8523 more faithfully.
8524 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8525 (display-buffer-alist-set): Don't handle 'unset default values.
8526 (display-buffer-in-window, display-buffer-alist-set):
8527 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8528 <tassilo@member.fsf.org>.
8529
8530 2011-07-09 Leo Liu <sdl.web@gmail.com>
8531
8532 * register.el (insert-register): Restore accidental change on
8533 2011-06-26. (Bug#9028)
8534
8535 2011-07-09 Glenn Morris <rgm@gnu.org>
8536
8537 * subr.el (remq): Handle the empty list. (Bug#9024)
8538
8539 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8540
8541 * mail/sendmail.el (send-mail-function): No longer delay custom
8542 initialization.
8543 * custom.el (custom-initialize-delay): Doc fix.
8544
8545 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8548
8549 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8550
8551 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8552 human-friendly prompt.
8553
8554 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8555
8556 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8557 provided by a particular plugin.
8558
8559 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8560
8561 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8562 save customizations (with "emacs -Q"), just set the variable
8563 instead of erroring out.
8564
8565 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8566
8567 2011-07-08 Juri Linkov <juri@jurta.org>
8568
8569 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8570 (archive-zip-update-case): Use 7z if found by `executable-find'.
8571 The order of searching the available programs is the same as in
8572 `archive-zip-extract' (bug#8968).
8573
8574 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8575
8576 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8577 (menu-bar-options-menu): Tweak descriptions.
8578
8579 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8580
8581 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8582 menu items into verb phrases (bug#1421). Also refill to fit under
8583 80 columns.
8584
8585 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8586
8587 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8588 (Info-read-node-name): Doc fix (Bug#1084).
8589
8590 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8591 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8592 (end-of-sexp, beginning-of-sexp)
8593 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8594 (forward-symbol, forward-same-syntax, word-at-point)
8595 (sentence-at-point): Doc fix (Bug#1144).
8596
8597 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8598
8599 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8600 should cover it (bug#1281).
8601
8602 * cus-edit.el (custom-show): Mark as obsolete.
8603
8604 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8605 negotiation fails, then possibly try again with a non-encrypted
8606 connection (bug#9017).
8607
8608 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8609 be used.
8610
8611 2011-07-07 Richard Stallman <rms@gnu.org>
8612
8613 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8614 property, and handle its changed format.
8615 Look for the correct line number.
8616 Use file's line contents (but not past first =) to find
8617 correct line in message.
8618
8619 2011-07-07 Kenichi Handa <handa@m17n.org>
8620
8621 * international/characters.el (build-unicode-category-table):
8622 Delete it.
8623 (unicode-category-table): Set it by unicode-property-table-internal.
8624
8625 * international/mule-cmds.el (char-code-property-alist): Move to
8626 to src/chartab.c.
8627 (get-char-code-property): Call unicode-property-table-internal to
8628 load a file. Call get-unicode-property-internal where necessary.
8629 (put-char-code-property): Call unicode-property-table-internal to
8630 load a file. Call put-unicode-property-internal where necessary.
8631 put-unicode-property-internal where necessary.
8632 (char-code-property-description):
8633 Call unicode-property-table-internal to load a file.
8634
8635 * international/charprop.el:
8636 * international/uni-bidi.el:
8637 * international/uni-category.el:
8638 * international/uni-combining.el:
8639 * international/uni-comment.el:
8640 * international/uni-decimal.el:
8641 * international/uni-decomposition.el:
8642 * international/uni-digit.el:
8643 * international/uni-lowercase.el:
8644 * international/uni-mirrored.el:
8645 * international/uni-name.el:
8646 * international/uni-numeric.el:
8647 * international/uni-old-name.el:
8648 * international/uni-titlecase.el:
8649 * international/uni-uppercase.el: Regenerate.
8650
8651 * loadup.el: Load international/charprop.el before
8652 international/characters.
8653
8654 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8655
8656 * window.el (next-buffer, previous-buffer): Signal an error if
8657 called from a minibuffer window.
8658
8659 * bindings.el: Revert 2011-07-04 change.
8660
8661 2011-07-06 Richard Stallman <rms@gnu.org>
8662
8663 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8664 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8665 Treat markers like ints.
8666 (rmail-mime-entity): Doc fix.
8667
8668 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8669
8670 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8671 defcustom again for backwards compatibility.
8672
8673 * simple.el (shell-command-on-region): Fill.
8674
8675 * dired-aux.el (dired-kill-line): Add a doc string.
8676
8677 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8678 to "\\sw\\|\\s_" (bug#358).
8679
8680 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8681 (dired-unmark-backward): Ditto.
8682 (dired-flag-backup-files): Ditto.
8683
8684 * dired-x.el (dired-mark-sexp): Ditto.
8685
8686 2011-07-06 Richard Stallman <rms@gnu.org>
8687
8688 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8689 (rmail-mime-entity): New arg TRUNCATED.
8690 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8691 New functions.
8692 (rmail-mime-save): Warn if entity is truncated.
8693 (rmail-mime-toggle-hidden): Likewise, for showing.
8694 (rmail-mime-process-multipart): Record when an entity is truncated.
8695
8696 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8697 if ENTITY is a string.
8698
8699 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8700
8701 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8702 of faces when `M-C-x'-ing their definitions (bug#8378).
8703 Also clean up the code slightly.
8704
8705 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8706 because that makes the colors go away.
8707
8708 * mail/sendmail.el (send-mail-function): Change the default to
8709 `sendmail-query-once'.
8710 (sendmail-query-once): Add an autoload cookie.
8711
8712 * net/network-stream.el (network-stream-open-starttls): Try using
8713 a plain connection even if the server offered STARTTLS, and we
8714 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8715 capability. This should make smtpmail.el work in slightly more
8716 configurations.
8717
8718 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8719
8720 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8721 New defun.
8722 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8723
8724 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8725
8726 * progmodes/sql.el: Version 3.0
8727 (sql-product-alist): Add product :completion-object,
8728 :completion-column, and :statement attributes.
8729 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8730 (sql-mode-syntax-table): Mark all punctuation.
8731 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8732 ansi keywords.
8733 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8734 (sql-mode-oracle-font-lock-keywords): Improve.
8735 (sql-oracle-show-reserved-words): New function for development.
8736 (sql-product-font-lock): Simplify for source code buffers.
8737 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8738 New functions.
8739 (sql-highlight-product): Set product specific syntax table.
8740 (sql-mode-map): Add statement movement functions.
8741 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8742 New variable.
8743 (sql-statement-regexp, sql-beginning-of-statement)
8744 (sql-end-of-statement, sql-signum): New functions.
8745 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8746 (sql-show-sqli-buffer): Bug fix.
8747 (sql-interactive-mode): Store connection data as buffer local.
8748 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8749 with sql-interactive-mode.
8750 (sql-save-connection): Save buffer local settings.
8751 (sql-connection-menu-filter): Change menu entry name.
8752 (sql-product-interactive): Bug fix.
8753 (sql-preoutput-hold): New variable.
8754 (sql-interactive-remove-continuation-prompt): Bug fixes.
8755 (sql-debug-redirect): New variable.
8756 (sql-str-literal): New function.
8757 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8758 Redesign.
8759 (sql-oracle-save-settings, sql-oracle-restore-settings)
8760 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8761 (sql-completion-object, sql-completion-column)
8762 (sql-completion-sqlbuf): New variables.
8763 (sql-build-completions-1, sql-build-completions)
8764 (sql-try-completion): New functions.
8765 (sql-read-table-name): Use them.
8766 (sql-contains-names): New buffer local variable.
8767 (sql-list-all, sql-list-table): Use it.
8768 (sql-oracle-completion-types): New variable.
8769 (sql-oracle-completion-object, sql-sqlite-completion-object)
8770 (sql-postgres-completion-object): New functions.
8771
8772 2011-07-06 Glenn Morris <rgm@gnu.org>
8773
8774 * window.el (pop-to-buffer): Doc fix.
8775
8776 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8777
8778 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8779
8780 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8781
8782 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8783
8784 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8785
8786 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8787
8788 * button.el (button): Inherit from link face. Suggested by Dan
8789 Nicolaescu.
8790
8791 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * progmodes/gdb-mi.el: Fit in 80 columns.
8794 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8795 switch-to-buffer.
8796
8797 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8798 if imenu is simply not configured (bug#8941).
8799
8800 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8801
8802 * allout.el (allout-post-undo-hook): New allout outline-change
8803 event hook to signal undo activity.
8804 (allout-post-command-business): Run allout-post-undo-hook if an
8805 undo just occurred.
8806 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8807 * allout-widgets.el (allout-widgets-after-undo-function):
8808 Ensure the integrity of the current item's decoration after it has been
8809 in the vicinity of an undo.
8810 (allout-widgets-mode): Include allout-widgets-after-undo-function
8811 on the new allout-post-undo-hook.
8812
8813 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8816 Let define-derived-mode define it.
8817 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8818 cycles of abbrev-table inheritance (bug#8998).
8819
8820 2011-07-05 Roland Winkler <winkler@gnu.org>
8821
8822 * textmodes/bibtex.el: Add support for biblatex.
8823 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8824 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8825 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8826 (bibtex-entry-alist, bibtex-field-alist): New variables.
8827 (bibtex-entry-field-alist): Obsolete alias for
8828 bibtex-BibTeX-entry-alist.
8829 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8830 (bibtex-set-dialect): New command.
8831 (bibtex-entry-type, bibtex-entry-head)
8832 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8833 Bind via bibtex-set-dialect.
8834 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8835 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8836 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8837 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8838 Define via bibtex-set-dialect.
8839 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8840 Obey bibtex-no-opt-remove-re.
8841 (bibtex-vec-push, bibtex-vec-incr): New functions.
8842 (bibtex-format-entry, bibtex-field-list)
8843 (bibtex-print-help-message, bibtex-validate)
8844 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8845
8846 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * progmodes/compile.el (compilation-goto-locus):
8849 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8850 * bs.el (bs-cycle-next, bs-cycle-previous):
8851 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8852 * bindings.el (mode-line-other-buffer):
8853 * autoinsert.el (auto-insert):
8854 * arc-mode.el (archive-extract):
8855 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8856
8857 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8858
8859 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8860 Fix check of `emacs-lock-unlockable-modes'.
8861 Coerce true values of `emacs-lock--try-unlocking' to t.
8862
8863 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8864
8865 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8866 * emacs-lock.el: New file.
8867
8868 2011-07-05 Julien Danjou <julien@danjou.info>
8869
8870 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8871 than `boundp' to check if face is set.
8872
8873 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8874
8875 * register.el (registerv-make):
8876 * window.el (window-min-height): Fix typos in docstrings.
8877
8878 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8879
8880 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8881 Update doc string.
8882
8883 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8884
8885 * server.el (server-execute): Catch quit and call
8886 `server-return-error' to pass the error back to emacsclient and
8887 close the connection (bug#8942).
8888
8889 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8890
8891 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8892 insecure exception for current topic. Also note that auto-saves
8893 are handled differently.
8894
8895 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8896 State variables for tracking auto-save inhibition situation.
8897
8898 (allout-write-contents-hook-handler): Rename from
8899 'allout-write-file-hook-handler', and describe how it depends on
8900 write-contents-functions sensitivity to non-nil value to prevent
8901 file write.
8902
8903 (allout-auto-save-hook-handler): Remove. auto-save does not check
8904 this in individual buffers, only in the starting buffer, so this
8905 is not the right way for us to inhibit auto-save in a buffer
8906 according to its condition.
8907
8908 (allout-mode): Use new allout-write-contents-hook-handler, and
8909 only with write-contents-functions. Remove auto-save provisions -
8910 they're implemented elsewhere.
8911
8912 (allout-before-change-handler): If undo is in progress, note that
8913 for attention of allout-post-command-business.
8914
8915 (allout-post-command-business): If the command we're following was
8916 an undo, check for change in the status of encrypted items and
8917 adjust auto-save inhibitions accordingly.
8918
8919 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8920 according to whether there are or aren't any plain-text topics
8921 pending encryption.
8922
8923 (allout-inhibit-auto-save-info-for-decryption):
8924 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8925 if there are plain-text topics pending encryption.
8926
8927 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8928 buffer-saved-size and some allout state to not inhibit auto-saves
8929 if there are no longer any plain-text topics pending encryption.
8930
8931 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8932 No longer provide for exemption of the current topic.
8933
8934 2011-07-04 Juri Linkov <juri@jurta.org>
8935
8936 Add 7z operations to delete and save changed members (bug#8968).
8937 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8938 New defcustoms.
8939 (archive-7z-write-file-member): New function.
8940 (archive-7z-summarize): Fix the number of dashes in the
8941 listing output.
8942
8943 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8944
8945 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8946 (bug#8958).
8947
8948 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8949
8950 * bindings.el: Ignore next-buffer and previous-buffer in
8951 minibuffer-local-map.
8952
8953 * font-lock.el (font-lock-builtin-face): Change light background
8954 color to dark slate blue (Bug#6693).
8955
8956 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8957
8958 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8959
8960 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8961
8962 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8963 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8964 Add switch-to-buffer.
8965
8966 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8967
8968 * isearch.el (isearch-search-fun-function): Clarify further the
8969 meaning of the function returned.
8970
8971 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8972
8973 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8974
8975 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8976 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8977 Use it.
8978 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8979 `tramp-default-remote-path' does not exist.
8980 (tramp-send-command-and-read): New optional argument NOERROR.
8981 (tramp-open-connection-setup-interactive-shell)
8982 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8983 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8984 (tramp-process-sentinel): Flush also process' connection property.
8985 (tramp-sh-handle-start-file-process): Do not set process
8986 sentinel. It is done now ...
8987 (tramp-maybe-open-connection): ... here. (Bug#8929)
8988
8989 2011-07-04 MON KEY <monkey@sandpframing.com>
8990
8991 * play/animate.el (animate-string): Doc fixes and allow changing
8992 the buffer name (bug#5417).
8993
8994 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8995
8996 * play/animate.el (animation-buffer-name): Rename from *animate*.
8997
8998 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8999
9000 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9001 This is simpler and helps future-proof the code.
9002 (timer-until): Use time-subtract and float-time.
9003 (timer--time-less-p): Use time-less-p.
9004
9005 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9006
9007 * type-break.el (timep): Use the value of `float-time' to avoid a
9008 byte-compiler warning.
9009
9010 * server.el (server-eval-and-print): Return any result, even nil.
9011
9012 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9013
9014 * type-break.el: Accept time formats that the builtins accept.
9015 (timep, type-break-time-difference): Accept any format that
9016 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9017 This is simpler and helps future-proof the code.
9018 (type-break-time-difference): Round rather than ignoring
9019 subseconds components.
9020
9021 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9022
9023 * info.el (Info-apropos-matches): Make non-interactive, since it
9024 doesn't seem to do anything useful as a command (bug#8829).
9025
9026 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9027
9028 * frame.el (frame-background-mode, frame-set-background-mode):
9029 Move from faces.el.
9030 (frame-default-terminal-background): New function.
9031
9032 * custom.el (custom-push-theme): Don't record faces in `changed'
9033 theme; this doesn't work correctly for per-frame face settings.
9034 (disable-theme): Use face-set-after-frame-default to reset faces.
9035 (custom--frame-color-default): New function.
9036
9037 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9038
9039 * dired.el (dired-flagging-regexp): Remove unused variable
9040 (bug#8769).
9041
9042 2011-03-29 Kevin Ryde <user42@zip.com.au>
9043
9044 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9045 `perl-Test2' extend to match possible "fail #N" rep count
9046 (bug#8377).
9047
9048 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9049
9050 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9051 `smtpmail-via-smtp' now returns the error instead of nil.
9052
9053 * isearch.el (isearch-search-fun-function): Clarify the doc string
9054 (bug#8101).
9055
9056 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9057
9058 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9059 unnecessary spaces (bug#8987).
9060
9061 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9062
9063 * net/network-stream.el (open-network-stream): Use the
9064 :end-of-capability command thoughout.
9065
9066 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9067
9068 * net/network-stream.el (open-network-stream): Add the
9069 :end-of-capability command parameter, used by pop3.el.
9070
9071 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9072
9073 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9074
9075 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9076 for list)" (bug#6475).
9077
9078 * files.el (file-expand-wildcards): Ignore non-readable
9079 sub-directories while trying to find matches instead of signaling
9080 an error (bug#6297).
9081
9082 * man.el (Man-reference-regexp): Allow matching possible
9083 word-wrapped references (bug#6289).
9084
9085 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9086 for consistency with the other vc buffers (bug#6197).
9087 (vc-checkin): Ditto.
9088
9089 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9090
9091 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9092
9093 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9094
9095 * custom.el (defcustom): Clarify that :set is only used in the
9096 Customize user interface (bug#6089).
9097
9098 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9099 associated with a file, refuse to run instead of erroring out
9100 (bug#6084).
9101
9102 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9103 the doc string, since it appears that using `fill-column' always
9104 controls the width (bug#7845).
9105
9106 * simple.el (shell-command-on-region): Say where the error output
9107 went if `shell-command-default-error-buffer' is set (bug#6857).
9108
9109 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9110
9111 * allout.el (allout-yank-processing): Adjust cursor position for
9112 backwards-deleted space.
9113
9114 (allout-rebullet-heading): Register changes with
9115 allout-exposure-changed-hook, so the modified topic is properly
9116 decorated.
9117
9118 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9119
9120 * minibuffer.el (completion-in-region): Document PREDICATE
9121 (bug#7136).
9122
9123 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9124 of keyword/argument pairs (bug#6904).
9125
9126 * replace.el (multi-occur):
9127 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9128
9129 2011-07-02 Drew Adams <drew.adams@oracle.com>
9130
9131 * dired.el (dired-mark-if): Make the message about whether it's
9132 marking or unmarking clearer (bug#8523).
9133
9134 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9135
9136 * disp-table.el (display-table-print-array): New function.
9137 (describe-display-table): Use it to print the vectors more pretty
9138 (Bug#8859).
9139
9140 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9141
9142 * window.el (window-state-get-1): Don't assign clone numbers.
9143 Add clone-of item to list of window parameters.
9144 (window-state-put-2): Don't process clone numbers.
9145 (display-buffer-alist): Fix doc-string.
9146
9147 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9148
9149 * subr.el (remq): Don't allocate if it's not needed.
9150 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9151 (keymap--merge-bindings): New functions.
9152 (keymap-canonicalize): Use them to refine the canonicalization.
9153 * minibuffer.el (minibuffer-local-completion-map)
9154 (minibuffer-local-must-match-map): Move initialization from C.
9155 (minibuffer-local-filename-completion-map): Move initialization from C;
9156 don't inherit from anything here.
9157 (minibuffer-local-filename-must-match-map): Make obsolete.
9158 (completing-read-default): Use make-composed-keymap to combine
9159 minibuffer-local-filename-completion-map with either
9160 minibuffer-local-must-match-map or
9161 minibuffer-local-filename-completion-map.
9162
9163 2011-07-01 Glenn Morris <rgm@gnu.org>
9164
9165 * type-break.el (type-break-time-sum): Use dolist.
9166
9167 * textmodes/flyspell.el (flyspell-word-search-backward):
9168 Replace CL function.
9169
9170 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * mouse.el (mouse--strip-first-event): New function.
9173 (function-key-map): Use it to map fringe clicks to normal clicks
9174 by default.
9175
9176 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9177 (vc-bzr-revision-completion-table): Add support for annotate and date.
9178
9179 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9180 inherit from parent.
9181
9182 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9183
9184 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9185 (dired-show-file-type): Doc fixup (bug#8818).
9186
9187 * dired.el (dired-mode): Fix up the doc string as suggested by
9188 Drew Adams (bug#8817).
9189
9190 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9191 cookie, since the manual says that it should be possible to add
9192 this function to `find-file-hook' (bug#8709).
9193
9194 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9195
9196 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9197 here. Noted Ted Zlatanov as the maintainer.
9198 (cfengine-common-settings, cfengine-common-syntax): New functions
9199 to set up common things between `cfengine-mode' and
9200 `cfengine3-mode'.
9201 (cfengine3-mode): New mode.
9202 (cfengine3-defuns cfengine3-defuns-regex
9203 (cfengine3-class-selector-regex cfengine3-category-regex)
9204 (cfengine3-vartypes cfengine3-font-lock-keywords)
9205 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9206 (cfengine3-indent-line): Add from cfengine3.el.
9207
9208 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9209
9210 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9211
9212 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9213
9214 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9215
9216 * window.el (same-window-buffer-names, same-window-regexps)
9217 (same-window-p, special-display-frame-alist)
9218 (special-display-popup-frame, special-display-function)
9219 (special-display-buffer-names, special-display-regexps)
9220 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9221 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9222 (split-window-preferred-function, split-height-threshold)
9223 (split-width-threshold, even-window-heights)
9224 (display-buffer-mark-dedicated, window-splittable-p)
9225 (split-window-sensibly, window-safely-shrinkable-p):
9226 Un-obsolete.
9227 (display-buffer): Don't spread args with function specifier
9228 because special-display-popup-frame won't like it.
9229
9230 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9231
9232 Time-stamp simplifications and fixes.
9233 These improve accuracy slightly, and future-proof the code
9234 against some potential changes to current-time format.
9235
9236 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9237 by using time-since and float-time.
9238
9239 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9240 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9241 + NNN microseconds".
9242
9243 * type-break.el (type-break-time-sum): Rewrite using time-add.
9244
9245 * play/hanoi.el (hanoi-current-time-float): Remove.
9246 All uses replaced by float-time.
9247
9248 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9249 This yields a more-accurate answer.
9250 (rng-time-to-float): Remove; no longer needed.
9251
9252 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9253
9254 * calendar/timeclock.el (timeclock-seconds-to-time):
9255 Defalias to seconds-to-time, since they're the same thing.
9256
9257 * emacs-lisp/elp.el (elp-elapsed-time):
9258 * emacs-lisp/benchmark.el (benchmark-elapse):
9259 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9260
9261 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * window.el (bury-buffer): Don't iconify the only frame.
9264 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9265 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9266
9267 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9268
9269 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9270 Add mouse-yank-primary.
9271
9272 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9273
9274 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9275
9276 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9277
9278 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9279 (find-library-name): Use it to find relative load names when provided
9280 absolute file name (bug#8803).
9281
9282 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9283
9284 * textmodes/flyspell.el (flyspell-word): Consider words that
9285 differ only in case as potential doublons (bug#5687).
9286
9287 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9288 Remove two rather uninteresting debugging-like messages to make
9289 debbugs.el more silent.
9290
9291 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9292 a password-like phrase.
9293
9294 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9295
9296 * progmodes/cc-guess.el: New file.
9297
9298 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9299
9300 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9301 derived from `c-basic-common-init'.
9302
9303 * progmodes/cc-mode.el (top-level): Require cc-guess.
9304 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9305
9306 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9307
9308 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9309
9310 2011-06-30 Alan Mackenzie <acm@muc.de>
9311
9312 * progmodes/cc-engine.el (c-guess-continued-construct):
9313 Correct the handling of template-args-cont, particularly for when font
9314 lock is disabled. Name this case as "CASE G".
9315
9316 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9317
9318 * allout.el (allout-yank-processing): Fix injection of extra space
9319 between bullet and non-whitespace character in first topic when
9320 pasting, ensuring that the actual spacing in the pasted topic
9321 following the bullet char is preserved. This extra space was
9322 causing pasted encrypted topics to get a decrypted status even
9323 when the content was actually still encrypted. Now the decryption
9324 status from before the paste is preserved.
9325
9326 (allout-flag-region): Set all allout overlays so they evaporate
9327 when reduced to zero length (evanescent), to prevent overlay
9328 leakage.
9329
9330 2011-06-30 Glenn Morris <rgm@gnu.org>
9331
9332 * w32-fns.el (w32-charset-info-alist): Declare.
9333
9334 * find-dired.el (find-grep-options): Simplify.
9335
9336 * term/ns-win.el (ns-set-resource): Declare.
9337
9338 * ses.el (row, col): Declare dynamic variables honestly.
9339
9340 * textmodes/reftex-parse.el (index-tags): Declare.
9341
9342 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9343
9344 * cus-edit.el (customize-push-and-save): New function.
9345
9346 * files.el (hack-local-variables-confirm): Use it.
9347
9348 * custom.el (load-theme): New arg NO-CONFIRM.
9349 Use customize-push-and-save (Bug#8720).
9350 (custom-enabled-themes): Doc fix.
9351
9352 * cus-theme.el (customize-create-theme)
9353 (custom-theme-merge-theme): Callers to load-theme changed.
9354
9355 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9356
9357 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9358 short URLs have at least one dot in them (bug #7614).
9359
9360 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9361 nil, because using a pty is apparently too slow (bug #895).
9362
9363 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9364
9365 * mail/sendmail.el (sendmail-query-once): New function.
9366 (sendmail-query-once-function): New variable.
9367
9368 2011-06-29 Glenn Morris <rgm@gnu.org>
9369
9370 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9371
9372 * ses.el (top-level): Require cl when compiling.
9373 (ses-set-localvars): Fix error statement.
9374 Call it at compile time to silence a storm of warnings.
9375
9376 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9377
9378 * window.el (normalize-live-buffer): Rename to
9379 window-normalize-buffer.
9380 (normalize-live-frame): Rename to window-normalize-frame.
9381 (normalize-any-window): Rename to window-normalize-any-window.
9382 (normalize-live-window): Rename to window-normalize-live-window.
9383 (make-window-atom): Rename to window-make-atom.
9384 (window-resize-reset): Rename to window--resize-reset.
9385 (window-resize-reset-1): Rename to window--resize-reset-1.
9386 (resize-mini-window): Rename to window--resize-mini-window.
9387 (resize-subwindows-skip-p): Rename to
9388 window--resize-subwindows-skip-p.
9389 (resize-subwindows-normal): Rename to
9390 window--resize-subwindows-normal.
9391 (resize-subwindows): Rename to window--resize-subwindows.
9392 (resize-other-windows): Rename to window--resize-siblings.
9393 (resize-this-window): Rename to window--resize-this-window.
9394 (resize-root-window): Rename to window--resize-root-window.
9395 (resize-root-window-vertically): Rename to
9396 window--resize-root-window-vertically.
9397 (normalize-buffer-to-display): Rename to
9398 window-normalize-buffer-to-display.
9399 (normalize-buffer-to-switch-to): Rename to
9400 window-normalize-buffer-to-switch-to.
9401 Correspondingly update all callers of the functions listed
9402 above.
9403 (display-buffer-alist, display-buffer-normalize-arguments)
9404 (display-buffer-normalize-options, display-buffer)
9405 (display-buffer-alist-set): Use "function" instead of
9406 "fun-with-args".
9407
9408 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9409
9410 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9411 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9412 debbugs.gnu.org. Mention acknowledgment email.
9413
9414 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9415
9416 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9417 buffer multibyteness, since it shouldn't matter.
9418
9419 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9420
9421 * window.el (display-buffer-in-side-window): Handle dedicated
9422 windows as in display-buffer-reuse-window.
9423 (display-buffer-normalize-alist): Use value of override
9424 specifier.
9425 (display-buffer-normalize-specifiers): Use value of
9426 other-window-means-other-frame specifier.
9427 (display-buffer-alist): Rewrite some texts in widgets.
9428 (display-buffer): Spread arguments when calling function
9429 specified by fun-with-args.
9430
9431 2011-06-28 Deniz Dogan <deniz@dogan.se>
9432
9433 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9434 Unnest `let'.
9435
9436 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9437 selectors (Bug#5732).
9438 (css-proprietary-nmstart-re): Use `regexp-opt'.
9439
9440 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9441
9442 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9443 (eshell-ls-date-format): New defcustom.
9444 (eshell-ls-file): Use it.
9445
9446 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9447
9448 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9449
9450 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9451
9452 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9453 (ange-ftp-make-tmp-name): New arg.
9454 (ange-ftp-file-local-copy): Use it.
9455
9456 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9457
9458 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9459 no-conversion (Bug#8870).
9460
9461 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9462
9463 * window.el (window-right, window-left, window-child)
9464 (window-child-count, window-last-child)
9465 (window-iso-combination-p, walk-window-tree-1)
9466 (window-atom-check-1, window-tree-1, delete-window)
9467 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9468 new naming conventions - window-vchild, window-hchild,
9469 window-next and window-prev are now called window-top-child,
9470 window-left-child, window-next-sibling and window-prev-sibling
9471 respectively.
9472 (resize-window-reset): Rename to window-resize-reset.
9473 (resize-window-reset-1): Rename to window-resize-reset-1.
9474 (resize-window): Rename to window-resize.
9475 (window-min-height, window-min-width)
9476 (resize-mini-window, resize-this-window, resize-root-window)
9477 (resize-root-window-vertically, adjust-window-trailing-edge)
9478 (enlarge-window, shrink-window, maximize-window)
9479 (minimize-window, delete-window, quit-restore-window)
9480 (split-window, balance-windows, balance-windows-area-adjust)
9481 (balance-windows-area, window-state-put-2)
9482 (display-buffer-even-window-sizes, display-buffer-set-height)
9483 (display-buffer-set-width, set-window-text-height)
9484 (fit-window-to-buffer): Rename all "resize-window" prefixed
9485 calls to use the "window-resize" prefix convention.
9486 (display-buffer-alist): Fix symbol for label specifier.
9487 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9488 corresponding specifier.
9489 Reported by Juanma Barranquero <lekktu@gmail.com>.
9490
9491 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9492
9493 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9494 convention.
9495 (ses-call-printer): Does not pass an empty string to formatter when the
9496 cell is empty to keep from barking printer Calc math-format-value.
9497
9498 2011-06-27 Richard Stallman <rms@gnu.org>
9499
9500 * battery.el (battery-mode-line-limit): New variable.
9501 (battery-update): Handle it.
9502
9503 * mail/rmailmm.el (rmail-mime-process-multipart):
9504 Handle truncated messages.
9505
9506 2011-06-27 Glenn Morris <rgm@gnu.org>
9507
9508 * progmodes/flymake.el (flymake-err-line-patterns):
9509 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9510
9511 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9512
9513 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9514 (ses--clean-!, ses--clean-_): New functions.
9515 (ses-range): Add configurability of readout order, and conversion
9516 to Calc vector.
9517
9518 * ses.el (ses-repair-cell-reference-all): New function.
9519 (ses-cell-symbol): Set macro as safe, so that it can be used in
9520 formulas.
9521
9522 * ses.el: Update cycle detection algorithm.
9523 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9524 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9525 (ses-set-localvars): New function.
9526 (ses-make-cell): Add property-list as a cell element.
9527 (ses-cell-property-get-fun, ses-cell-property-get)
9528 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9529 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9530 New functions.
9531 (ses-cell-property-set, ses-cell-property-pop)
9532 (ses-cell-property-get-handle): New macro.
9533 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9534 New aliases, used for code readability.
9535 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9536 cycle detection.
9537 (ses-self-reference-early-detection): New defcustom.
9538 (ses-formula-references): Robustify against self-referring cells.
9539 (ses-mode): Use ses-set-localvars.
9540 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9541 before lauching the update processing.
9542 (ses-initialize-Dijkstra-attempt): New function.
9543 (ses-recalculate-cell): Update for cycle detection based on
9544 Dijkstra algorithm.
9545
9546 * ses.el: Fix commenting and indenting convention.
9547
9548 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * bs.el (bs-cycle-next): Complete last change.
9551
9552 2011-06-27 Drew Adams <drew.adams@oracle.com>
9553
9554 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9555
9556 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9557
9558 * net/network-stream.el (network-stream-open-starttls):
9559 Don't re-get capabilities unless we've reestablished connection.
9560 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9561
9562 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9563 to binary to possibly avoid line encoding issues on Windows (among
9564 other things).
9565
9566 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9567
9568 * net/network-stream.el (open-network-stream): Return an :error
9569 saying what the problem was, if possible.
9570
9571 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9572 server.
9573
9574 * net/network-stream.el (network-stream-open-starttls): If we
9575 wanted to use STARTTLS, and the server offered it, but we weren't
9576 able to because we had no STARTTLS support, then close the connection.
9577 (open-network-stream): Return an :error element, if present.
9578
9579 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9580
9581 * hl-line.el (hl-line-sticky-flag): Doc fix.
9582 (global-hl-line-sticky-flag): New option (Bug#8323).
9583 (global-hl-line-highlight): Obey it.
9584
9585 * vc/vc.el (vc-revert-show-diff): Default to t.
9586
9587 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9588
9589 * allout-widgets.el (allout-widgets-post-command-business):
9590 Stop decorating intermediate isearch matches. They're not being
9591 undecorated when an isearch is continued past, and isearch
9592 automatically collapses them. This leads to "widget leaks", where
9593 decorated items accumulate in collapsed areas. Lines with lots of
9594 hidden widgets can slow down cursor travel, substantially.
9595 Too much complicated machinery would be needed to ensure undecoration,
9596 so we're doing without this nicety.
9597
9598 (allout-widgets-tally-string): Don't try to do a hash-table-count
9599 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9600 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9601 *Messages* when allout-widgets-maintain-tally is t.
9602
9603 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9604
9605 * window.el (display-buffer-normalize-argument): Rename to
9606 display-buffer-normalize-arguments. Handle special meaning of
9607 LABEL argument. Respect special-display-function when popping up
9608 a new frame. Fix code searching for a window showing the buffer
9609 on another frame.
9610 (display-buffer-normalize-specifiers):
9611 Call display-buffer-normalize-arguments.
9612 (display-buffer-in-window): Don't undedicate the window if its
9613 buffer remains the same.
9614 Reported by Drew Adams <drew.adams@oracle.com>.
9615 (display-buffer-alist): Add choice for same-window macro
9616 specfier.
9617 (display-buffer): Mention special meaning of LABEL argument in
9618 doc-string. Fix quoting. Don't pop up a new frame even as
9619 fallback.
9620
9621 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9622
9623 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9624 avoid deleting the current window in some cases (bug#8911).
9625
9626 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9627
9628 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9629 (Bug#8934)
9630
9631 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9632
9633 * net/network-stream.el (network-stream-open-starttls):
9634 Use built-in TLS support if `gnutls-available-p' is true.
9635 (network-stream-open-tls): Ditto.
9636
9637 2011-06-26 Leo Liu <sdl.web@gmail.com>
9638
9639 * register.el (registerv): New struct.
9640 (registerv-make): New function.
9641 (jump-to-register, describe-register-1, insert-register):
9642 Support the jump-func, print-func and insert-func slot of a registerv
9643 struct. (Bug#8415)
9644
9645 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9646
9647 * vc/vc.el (vc-revert-show-diff): New defcustom.
9648 (vc-diff-internal): New arg specifying diff buffer.
9649 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9650 reuse an existing *vc-diff* buffer (Bug#8927).
9651
9652 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9653
9654 2011-06-26 Glenn Morris <rgm@gnu.org>
9655
9656 * progmodes/f90.el (f90-critical-indent): New option.
9657 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9658 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9659 (f90-mode): Doc fix.
9660 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9661 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9662 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9663 (f90-match-end): Handle block, critical.
9664
9665 2011-06-25 Glenn Morris <rgm@gnu.org>
9666
9667 * calendar/diary-lib.el (diary-included-files): Doc fix.
9668 (diary-include-files): New function, extracted from
9669 diary-include-other-diary-files and diary-mark-included-diary-files.
9670 (diary-include-other-diary-files, diary-mark-included-diary-files):
9671 Just call diary-include-files.
9672 (diary-mark-entries): Reset diary-included-files on first call.
9673
9674 * calendar/diary-lib.el (diary-mark-entries)
9675 (diary-mark-included-diary-files):
9676 Visit included diary-files in temp buffers.
9677
9678 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9679 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9680 (f90-start-block-re, f90-imenu-generic-expression)
9681 (f90-looking-at-program-block-start, f90-no-block-limit):
9682 Add support for submodules.
9683
9684 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9685 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9686
9687 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9688
9689 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9690 buffer-file-type before setting its value, to avoid disastrous
9691 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9692
9693 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9694
9695 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9696
9697 * ses.el (ses-unload-function):
9698 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9699
9700 * proced.el (proced-unload-function):
9701 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9702
9703 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9704
9705 * server.el (server-create-window-system-frame): Add parameters arg.
9706 (server-process-filter): Doc fix. Handle frame-parameters.
9707
9708 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9709
9710 Fix bug#8730, bug#8781.
9711
9712 * loadhist.el (unload--set-major-mode): New function.
9713 (unload-feature): Use it.
9714
9715 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9716 (python-unload-function): New function.
9717
9718 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9719
9720 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9721
9722 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9723
9724 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9725 the candidates list.
9726
9727 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9728
9729 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9730
9731 2011-06-23 Richard Stallman <rms@gnu.org>
9732
9733 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9734 (rmail-variables): Set next-error-move-function.
9735 (rmail-what-message): Take argument POS.
9736 (rmail-next-error-move): New function.
9737
9738 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9741 messages for adjacent non-terminals.
9742
9743 2011-06-23 Richard Stallman <rms@gnu.org>
9744
9745 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9746 (rmail-show-message-1): Preserve buffer modified flag.
9747 (rmail-start-mail): Don't specify use of rmail-mail-return;
9748 that's done by mail-bury now.
9749 (rmail-mail-return): Handle arg NEWBUF.
9750
9751 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9752
9753 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9754 SIZE is a number.
9755
9756 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9757
9758 * window.el (get-lru-window, get-mru-window)
9759 (get-largest-window): Never return a minibuffer window.
9760 (display-buffer-pop-up-window): Fix a bug that could lead to
9761 reusing the minibuffer window.
9762 (display-buffer): Pass original specifier argument to
9763 display-buffer-function instead of the normalized one.
9764 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9765
9766 2011-06-22 Leo Liu <sdl.web@gmail.com>
9767
9768 * minibuffer.el (completing-read-function)
9769 (completing-read-default): Move from minibuf.c
9770
9771 2011-06-22 Richard Stallman <rms@gnu.org>
9772
9773 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9774 to Rmail even if not started by a special Rmail command.
9775
9776 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9777 Copy the buffer currently showing just one message.
9778
9779 2011-06-22 Roland Winkler <winkler@gnu.org>
9780
9781 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9782 (bibtex-clean-entry): First delete the old key so that a
9783 customized algorithm for generating the new key does not get
9784 confused by the old key.
9785 (bibtex-url): Obey regexp of first step.
9786 (bibtex-search-entries): Do not use add-to-list with local
9787 list-var.
9788
9789 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9790
9791 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9792 stored a user name, then query for the password first, instead of
9793 waiting for SMTP to give an error message and the trying again.
9794
9795 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9796
9797 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9798 BUFFER in call-process.
9799
9800 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9801
9802 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9803 QUIT twice.
9804 (smtpmail-try-auth-methods): Require user name and password from
9805 auth-source.
9806
9807 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9808
9809 * window.el (display-buffer-default-specifiers)
9810 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9811 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9812 (split-window): Normalize SIDE argument (Bug#8916).
9813
9814 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9815 (special-display-frame-alist, special-display-popup-frame):
9816 Remove duplicate declarations. These are now in window.el.
9817
9818 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9819
9820 * mail/smtpmail.el (smtpmail-via-smtp):
9821 Set :use-starttls-if-possible so that we always use STARTTLS if the
9822 server supports it. SMTP servers that support STARTTLS commonly
9823 require it.
9824
9825 * net/network-stream.el (network-stream-open-starttls): Support
9826 upgrading to STARTTLS always, even if we don't have built-in support.
9827 (open-network-stream): Add the :always-query-capabilities keyword.
9828
9829 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9830 upgrades with `open-network-stream', and rely solely on
9831 auth-source for all credentials. Big changes throughout the file,
9832 but in particular:
9833 (smtpmail-auth-credentials): Remove.
9834 (smtpmail-starttls-credentials): Remove.
9835 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9836 MAIL FROM, too.
9837
9838 * net/network-stream.el (network-stream-open-starttls):
9839 Provide support for client certificates both for external and built-in
9840 STARTTLS.
9841 (auth-source): Require.
9842 (open-network-stream): Document the :client-certificate keyword.
9843 (network-stream-certificate): Change cert-cert to cert and
9844 cert-key to key.
9845
9846 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9847
9848 * net/tramp-cache.el (top): Don't load the persistency file when
9849 "emacs -Q" has been called.
9850
9851 2011-06-21 Tim Harper <timcharper@gmail.com>
9852
9853 * term/ns-win.el (ns-initialize-window-system):
9854 Set application-specific `ApplePressAndHoldEnabled' system
9855 resource to NO as it is not yet supported by the NS port.
9856
9857 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9858
9859 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9860 (list-dynamic-libraries): ...not here.
9861
9862 2011-06-21 Leo Liu <sdl.web@gmail.com>
9863
9864 * subr.el (sha1): Implement sha1 using secure-hash.
9865
9866 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9867
9868 * window.el (display-buffer-alist): In default value do not
9869 enforce searching a window on any but the selected frame.
9870 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9871 (display-buffer-select-window): Remove function.
9872 (display-buffer-in-window): When a window on another frame gets
9873 reused, do not select it any more but just raise its frame if
9874 necessary (Bug#8851) and (Bug#8856).
9875 (display-buffer-normalize-options): Handle pop-up-frames related
9876 options more faithfully.
9877 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9878 window if it is on another frame.
9879 (display-buffer-alist, display-buffer-default-specifiers):
9880 Don't make new frame unsplittable by default.
9881 (display-buffer-normalize-argument): Fix doc-string typo and use
9882 'same-frame-other-window instead of 'other-window when associating
9883 with display-buffer-macro-specifiers.
9884
9885 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9886
9887 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9888 New functions.
9889 (5x5-mode-map, 5x5-mode-menu): Bind them.
9890 (5x5-draw-grid): Tweak the solver's rendering.
9891
9892 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9895 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9896
9897 2011-06-21 Drew Adams <drew.adams@oracle.com>
9898
9899 * menu-bar.el: Use function variable instead of switch-to-buffer.
9900 (menu-bar-select-buffer-function): New variable.
9901 (menu-bar-update-buffers): Use it (bug#8876).
9902
9903 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9904
9905 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9906 variable's status.
9907
9908 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9909
9910 * x-dnd.el (x-dnd-version-from-flags)
9911 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9912 and long as number (Bug#8899).
9913 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9914
9915 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9916
9917 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9918 (completion-try-completion, completion-all-completions): Compute the
9919 metadata argument if it's missing; make it optional (bug#8795).
9920
9921 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9922 (widget-complete): Use new :completion-function property.
9923 (widget-completions-at-point): New function.
9924 (default): Use :completion-function instead of :complete.
9925 (widget-default-completions): Rename from widget-default-complete;
9926 Rewrite.
9927 (widget-string-complete, widget-file-complete, widget-color-complete):
9928 Remove functions.
9929 (file, symbol, function, variable, coding-system, color):
9930 * international/mule-cmds.el (default-input-method, charset)
9931 (language-info-custom-alist):
9932 * cus-edit.el (face): Use new property :completions.
9933
9934 * progmodes/pascal.el (pascal-completions-at-point): New function.
9935 (pascal-mode): Use it.
9936 (pascal-mode-map): Use completion-at-point.
9937 (pascal-toggle-completions): Make obsolete.
9938 (pascal-complete-word, pascal-show-completions):
9939 * progmodes/octave-mod.el (octave-complete-symbol):
9940 Redefine as obsolete alias.
9941 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9942 Signal absence of completion info for old Octave,
9943 (inferior-octave-complete): Redefine as obsolete alias.
9944 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9945 (meta-completions-at-point): Rename from meta-complete-symbol and
9946 adapt it for use on completion-at-point-functions.
9947 (meta-common-mode): Use it.
9948 (meta-looking-at-backward, meta-match-buffer): Remove.
9949 (meta-complete-symbol): Redefine as obsolete alias.
9950 (meta-common-mode-map): Use completion-at-point.
9951 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9952 (makefile-mode-map): Use completion-at-point.
9953 (makefile-completions-at-point): Rename from makefile-complete and
9954 adapt it for use on completion-at-point-functions.
9955 (makefile-mode): Use it.
9956 (makefile-complete): Redefine as obsolete alias.
9957
9958 2011-06-20 Deniz Dogan <deniz@dogan.se>
9959
9960 * net/rcirc.el: Delete trailing whitespaces once and for all.
9961
9962 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9963
9964 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9965
9966 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9967
9968 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9969
9970 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9971
9972 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9973
9974 * window.el (display-buffer-other-window-means-other-frame):
9975 Call display-buffer-normalize-alist.
9976 (display-buffer-normalize-specifiers-1): Rename to
9977 display-buffer-normalize-argument. New argument other-frame.
9978 Rewrite.
9979 (display-buffer-normalize-specifiers-2): Rename to
9980 display-buffer-normalize-options.
9981 (display-buffer-normalize-alist-1): New function.
9982 (display-buffer-normalize-specifiers-3): Rename to
9983 display-buffer-normalize-alist.
9984 Call display-buffer-normalize-alist-1.
9985 (display-buffer-normalize-options-inhibit): New variable.
9986 (display-buffer-normalize-specifiers): Rewrite calling
9987 display-buffer-normalize-alist,
9988 display-buffer-normalize-argument, and
9989 display-buffer-normalize-options. Don't call the latter if
9990 display-buffer-normalize-options-inhibit is non-nil.
9991 (frame-auto-delete): New option.
9992 (window-deletable-p): Use frame-auto-delete.
9993 (window-list-no-nils, window-state-ignored-parameters)
9994 (window-state-get-1, window-state-get, window-state-put-list)
9995 (window-state-put-1, window-state-put-2, window-state-put):
9996 New functions.
9997 (display-buffer-normalize-options): Move special-display-p group
9998 after pop-up-frame group (Bug#8851) and (Bug#8856).
9999
10000 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10001
10002 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10003 groups (Bug#8776).
10004 (rx-submatch-n): New function.
10005 (rx): Document it.
10006
10007 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10008 (Bug#8768).
10009
10010 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10011
10012 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10013
10014 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10015 anytime existing face settings are present (Bug#8889).
10016
10017 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10018 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10019 Remove unused argument.
10020
10021 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10022
10023 * window.el (display-buffer-default-specifiers):
10024 Remove pop-up-frame. Add pop-up-window-min-height,
10025 pop-up-window-min-width, and another reuse-window specifier
10026 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10027 (display-buffer-normalize-specifiers-2):
10028 Handle split-height-threshold and split-width-threshold also when
10029 pop-up-windows is unset. Add a reuse-window specifier for the
10030 case popping up a new window fails.
10031 (special-display-popup-frame): Remove double quoting.
10032 (display-buffer-normalize-specifiers-1): Fix thinko.
10033
10034 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10037 according to comint-completion-addsuffix.
10038
10039 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10040 (pcomplete-suffix-list): Mark as obsolete.
10041 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10042 pcomplete-seen in the closure.
10043 (pcomplete-comint-setup): Setup completion-at-point as well.
10044 (pcomplete--entries): New function.
10045 (pcomplete--env-regexp): New var.
10046 (pcomplete-entries): Rewrite to work with partial-completion and
10047 without relying on pcomplete-suffix-list.
10048 (pcomplete-pare-list): Remove, unused.
10049
10050 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10051
10052 * window.el (display-buffer-alist): Set pop-up-window-min-height
10053 and pop-up-window-min-width in default value. Reported by
10054 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10055 other-window-means-other-frame.
10056 (display-buffer-macro-specifiers): Comment out entry for
10057 other-window specifier.
10058 (display-buffer-other-window-means-other-frame): New function.
10059 (display-buffer-normalize-specifiers-1): New arguments
10060 buffer-name and label. Treat other-window case specially.
10061 (display-buffer-normalize-specifiers-2): Treat other-window case
10062 specially.
10063 (display-buffer-normalize-specifiers-3): New function.
10064 (display-buffer-normalize-specifiers):
10065 Call display-buffer-normalize-specifiers-3.
10066
10067 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10068
10069 * window.el (same-window-p): Fix two typos introduced when
10070 adding with-no-warnings.
10071 (display-buffer-normalize-specifiers-1): Don't check
10072 pop-up-frames for 'unset initialization.
10073 (display-buffer-normalize-specifiers-2): Major rewrite using
10074 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10075 (pop-up-frames, display-buffer-reuse-frames)
10076 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10077 Suggested by David Engster <deng@randomsample.de>.
10078 (even-window-heights): Initialize to 'unset.
10079 (display-buffer-alist-set): Handle new 'unset initializations.
10080 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10081 other window case.
10082
10083 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10084
10085 * window.el (display-buffer-normalize-specifiers-1):
10086 Respect current value of pop-up-frames for most reasonable values of
10087 second argument of display-buffer (Bug#8865).
10088 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10089 (switch-to-buffer-other-window-same-frame)
10090 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10091 Adams (Bug#8875).
10092 (display-buffer): Don't check noninteractive when calling
10093 display-buffer-pop-up-frame.
10094 (display-buffer-pop-up-frame): Never pop up a frame in
10095 noninteractive mode (Bug#8857).
10096 (enlarge-window, shrink-window): Don't report an error when the
10097 window can't be resized as requested (Bug#8862).
10098
10099 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10102
10103 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10104
10105 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10106
10107 2011-06-15 Alan Mackenzie <acm@muc.de>
10108
10109 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10110 for declarators, disable knr checking to speed up for normal files.
10111 2: Refactor, replacing a sequence of nested if forms by a cond form.
10112
10113 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10114
10115 * net/network-stream.el (open-network-stream): Add the keyword
10116 :always-query-capabilities for the case where you want to force a
10117 `plain' network connection, but the protocol still requires the
10118 capabilitiy command (i.e., SMTP and EHLO).
10119
10120 * subr.el (process-live-p): Rename from `process-alive-p' for
10121 consistency with other `-live-p' functions.
10122
10123 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * window.el (same-window-buffer-names, same-window-regexps)
10126 (special-display-frame-alist, special-display-popup-frame)
10127 (special-display-function, special-display-buffer-names)
10128 (special-display-regexps, pop-up-frame-alist)
10129 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10130 (pop-up-windows, split-window-preferred-function)
10131 (split-height-threshold, split-width-threshold, even-window-heights)
10132 (display-buffer-mark-dedicated): Don't encourage the use of
10133 display-buffer-alist from Elisp code.
10134
10135 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10136
10137 * progmodes/python.el (python-mode): Derive from prog-mode.
10138 * progmodes/ps-mode.el (ps-mode):
10139 * progmodes/mixal-mode.el (mixal-mode):
10140 * progmodes/cfengine.el (cfengine-mode):
10141 * progmodes/ld-script.el (ld-script-mode): Likewise.
10142
10143 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10144
10145 * window.el (display-buffer-alist): Trim default value to avoid
10146 popping up a new frame (Bug#8857) or reusing an arbitrary window
10147 on another frame.
10148 (display-buffer): Do not fall back on popping up a new frame in
10149 batch mode (Bug#8857).
10150
10151 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10152
10153 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10154 (custom-theme-summary): New function.
10155 (customize-themes): Use it.
10156
10157 2011-06-13 Glenn Morris <rgm@gnu.org>
10158
10159 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10160
10161 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10162
10163 * help.el (help-window): Remove variable.
10164 (help-window-point-marker, temp-buffer-max-height)
10165 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10166 (help-print-return-message): Don't set help-window.
10167 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10168 (help-window-setup-finish): Remove.
10169 (help-window-display-message, help-window-setup)
10170 (with-help-window): Major rewrite based on new
10171 display-buffer-window variable.
10172
10173 * help-mode.el (help-mode-finish): Remove help-window related
10174 code.
10175
10176 * view.el (view-exits-all-viewing-windows): Remove reference to
10177 view-return-to-alist in doc-string.
10178 (view-return-to-alist): Make obsolete.
10179 (view-buffer): Call pop-to-buffer-same-window and remove
10180 undo-window code.
10181 (view-buffer-other-window): Call pop-to-buffer-other-window and
10182 simplify code. Ignore second argument.
10183 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10184 simplify code. Ignore second argument.
10185 (view-return-to-alist-update): Make obsolete.
10186 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10187 Rewrite using quit-restore window parameters.
10188 (view-mode-exit): Rename second argument to EXIT-ONLY.
10189 Rewrite using quit-restore-window.
10190 (View-exit, View-exit-and-edit, View-leave, View-quit)
10191 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10192 appropriate arguments.
10193 (view-end-message): Use quit-restore window parameter.
10194
10195 * window.el (display-buffer-function): Rewrite doc-string.
10196 (display-buffer-window, display-buffer-alist): New variables.
10197 (display-buffer-split-specifiers)
10198 (display-buffer-side-specifiers)
10199 (display-buffer-macro-specifiers): New constants.
10200 (display-buffer-even-window-sizes, display-buffer-set-height)
10201 (display-buffer-set-width, display-buffer-select-window)
10202 (display-buffer-in-window, display-buffer-reuse-window)
10203 (display-buffer-split-window-1, display-buffer-split-window)
10204 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10205 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10206 (display-buffer-in-side-window, normalize-buffer-to-display)
10207 (display-buffer-normalize-specifiers-1)
10208 (display-buffer-normalize-specifiers-2)
10209 (display-buffer-normalize-specifiers, display-buffer-frame):
10210 New functions.
10211 (display-buffer): Major rewrite.
10212 (display-buffer-other-window, display-buffer-other-frame)
10213 (pop-to-buffer, switch-to-buffer-other-window)
10214 (switch-to-buffer-other-frame): Rewrite.
10215 (display-buffer-same-window, display-buffer-same-frame)
10216 (display-buffer-same-frame-other-window)
10217 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10218 (pop-to-buffer-other-window)
10219 (pop-to-buffer-same-frame-other-window)
10220 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10221 (switch-to-buffer-other-window-same-frame): New functions.
10222 (same-window-p, special-display-p): Rewrite disabling warnings.
10223 Make obsolete.
10224 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10225 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10226 Make obsolete
10227 (same-window-buffer-names, same-window-regexps)
10228 (special-display-frame-alist, special-display-popup-frame)
10229 (special-display-function, special-display-buffer-names)
10230 (special-display-regexps, pop-up-frame-alist)
10231 (pop-up-frame-function, split-window-preferred-function)
10232 (split-height-threshold, split-width-threshold)
10233 (even-window-heights): Make obsolete.
10234
10235 2011-06-12 Glenn Morris <rgm@gnu.org>
10236
10237 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10238 Misc simplifications.
10239
10240 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10241
10242 * window.el (window-safely-shrinkable-p): Restore function which
10243 was inadvertently removed in change from 2011-06-11. Declare as
10244 obsolete.
10245
10246 * calendar/calendar.el (calendar-generate-window):
10247 Use window-iso-combined-p instead of combination of one-window-p and
10248 window-safely-shrinkable-p.
10249
10250 2011-06-12 Glenn Morris <rgm@gnu.org>
10251
10252 * progmodes/fortran.el (fortran-mode-syntax-table):
10253 * progmodes/f90.el (f90-mode-syntax-table):
10254 Set % to punctuation. (Bug#8820)
10255 (f90-find-tag-default): Remove, no longer needed.
10256
10257 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10258
10259 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10260
10261 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10262
10263 * image.el (image-animated-p): Return animation delay in seconds.
10264 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10265 (image-animate-timeout): Remove DELAY argument. Don't assume
10266 every subimage has the same delay; get it from image-animated-p.
10267 (image-animate): Caller changed.
10268
10269 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10270
10271 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10272 to ignored backtrace functions.
10273
10274 2011-06-11 Glenn Morris <rgm@gnu.org>
10275
10276 * calendar/appt.el (appt-disp-window-function): Doc fix.
10277 (appt-check): Handle overlapping appointments. (Bug#8337)
10278
10279 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10280
10281 * window.el (window-tree-1, window-tree): New functions, moving
10282 the latter to window.el.
10283 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10284 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10285 (bw-refresh-edges): Remove.
10286 (balance-windows-1, balance-windows-2): New functions.
10287 (balance-windows): Rewrite in terms of window tree functions,
10288 balance-windows-1 and balance-windows-2.
10289 (bw-adjust-window): Remove.
10290 (balance-windows-area-adjust): New function with functionality of
10291 bw-adjust-window but using resize-window.
10292 (set-window-text-height): Rewrite doc-string.
10293 Use normalize-live-window and resize-window.
10294 (enlarge-window-horizontally, shrink-window-horizontally):
10295 Rename argument to DELTA.
10296 (window-buffer-height): New function.
10297 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10298 Rewrite using new window resize routines.
10299 (kill-buffer-and-window, mouse-autoselect-window-select):
10300 Use ignore-errors instead of condition-case.
10301 (quit-window): Call delete-frame instead of delete-windows-on
10302 for the only buffer on frame.
10303
10304 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10305
10306 * loadup.el (top-level): Load window before files for the sake
10307 of replace-buffer-in-windows.
10308
10309 * files.el (read-buffer-to-switch)
10310 (switch-to-buffer-other-window)
10311 (switch-to-buffer-other-frame, display-buffer-other-frame):
10312 Move to window.el.
10313
10314 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10315 (previous-buffer): Move to window.el.
10316
10317 * bindings.el (unbury-buffer): Move to window.el.
10318
10319 * window.el (delete-other-windows-vertically): Move after
10320 definition of delete-other-windows.
10321 (other-window, delete-windows-on, replace-buffer-in-windows):
10322 Move here from window.c.
10323 (record-window-buffer, unrecord-window-buffer)
10324 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10325 (switch-to-next-buffer): New functions.
10326 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10327 from simple.el. Call switch-to-next-buffer.
10328 (previous-buffer): Move here from simple.el.
10329 Call switch-to-prev-buffer.
10330 (bury-buffer): Move here from buffer.c. Switch to previous
10331 buffer when window cannot be deleted.
10332 (unbury-buffer): Move here from bindings.el.
10333 (ctl-x-map): Move binding for other-window from window.c to
10334 here.
10335 (read-buffer-to-switch, switch-to-buffer-other-window)
10336 (switch-to-buffer-other-frame): Move here from files.el.
10337 (normalize-buffer-to-switch-to): New functions.
10338 (switch-to-buffer): Move here from buffer.c.
10339 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10340
10341 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10342
10343 * window.el (window-min-height, window-min-width): Move here
10344 from window.c. Add defcustoms and rewrite doc-strings.
10345 (resize-mini-window, resize-window): New functions.
10346 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10347 Move here from window.c.
10348 (maximize-window, minimize-window): New functions.
10349 (delete-window, delete-other-windows, split-window): Move here
10350 from window.c.
10351 (window-split-min-size): New function.
10352 (split-window-keep-point): Mention split-window-above-each-other
10353 instead of split-window-vertically.
10354 (split-window-above-each-other, split-window-vertically):
10355 Rename split-window-vertically to split-window-above-each-other
10356 and provide defalias for old definition.
10357 (split-window-side-by-side, split-window-horizontally):
10358 Rename split-window-horizontally to split-window-side-by-side
10359 and provide defalias for the old definition.
10360 (ctl-x-map): Move bindings for delete-window,
10361 delete-other-windows and enlarge-window here from window.c.
10362 Replace bindings for split-window-vertically and
10363 split-window-horizontally by bindings for
10364 split-window-above-each-other and split-window-side-by-side.
10365
10366 * cus-start.el (all): Remove entries for window-min-height and
10367 window-min-width. Add entries for window-splits and
10368 window-nest.
10369
10370 2011-06-09 Glenn Morris <rgm@gnu.org>
10371
10372 * calendar/appt.el (appt-mode-line): New function.
10373 (appt-check, appt-disp-window): Use it.
10374
10375 * files.el (hack-one-local-variable-eval-safep):
10376 Allow minor-modes with explicit +/-1 arguments.
10377
10378 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10379
10380 * term/xterm.el (xterm): Add defgroup.
10381 (xterm-extra-capabilities): Add defcustom to supply known xterm
10382 capabilities, skip querying them, or query them (default).
10383 (terminal-init-xterm): Use it.
10384 (terminal-init-xterm-modify-other-keys): New function to set up
10385 modifyOtherKeys support to simplify `terminal-init-xterm'.
10386
10387 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10388
10389 * window.el (resize-window-reset, resize-window-reset-1)
10390 (resize-subwindows-skip-p, resize-subwindows-normal)
10391 (resize-subwindows, resize-other-windows, resize-this-window)
10392 (resize-root-window, resize-root-window-vertically)
10393 (window-deletable-p, window-or-subwindow-p)
10394 (frame-root-window-p): New functions.
10395
10396 2011-06-09 Glenn Morris <rgm@gnu.org>
10397
10398 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10399 (ange-ftp-get-files): Use it.
10400
10401 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10402
10403 * mail/sendmail.el (mail-recover-1, mail-recover):
10404 * files.el (recover-file, recover-session):
10405 Handle dired-listing-switches not being just a single short option.
10406
10407 2011-06-09 Glenn Morris <rgm@gnu.org>
10408
10409 * calendar/appt.el (appt-display-message, appt-disp-window):
10410 Handle lists of appointments.
10411
10412 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10413
10414 * window.el (one-window-p): Move down in code.
10415 Rewrite doc-string.
10416 (window-current-scroll-bars): Rewrite doc-string.
10417 Normalize live window argument.
10418 (walk-windows, get-window-with-predicate, count-windows):
10419 Rewrite doc-string. Use window-list-1.
10420 (window-in-direction-2, window-in-direction, get-mru-window):
10421 New functions.
10422
10423 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10424
10425 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10426 Doc fix (Bug#8713).
10427
10428 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10429
10430 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10431
10432 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10433
10434 * loadhist.el (unload-feature-special-hooks):
10435 Add `comint-output-filter-functions'.
10436
10437 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10438
10439 * calendar/appt.el (appt-check): Move some initializations into the let.
10440
10441 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10442
10443 * window.el (window-height): Defalias to window-total-height.
10444 (window-width): Defalias to window-body-width.
10445
10446 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10447
10448 * image-mode.el (image-toggle-animation): New command.
10449 (image-mode-map): Bind it to RET.
10450 (image-mode): Update message.
10451 (image-toggle-display-image): Avoid a spurious cache flush.
10452 (image-transform-rotation): Doc fix.
10453 (image-transform-properties): Return quickly in the normal case.
10454 (image-animate-loop): Rename from image-animate-max-time.
10455
10456 * image.el (image-animate-max-time): Move to image-mode.el.
10457 (create-animated-image): Remove unnecessary function.
10458 (image-animate): Rename from image-animate-start. New arg.
10459 (image-animate-stop): Remove; just use image-animate-timer.
10460 (image-animate-timer): Use car-safe.
10461 (image-animate-timeout): Rename argument.
10462
10463 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10464
10465 * window.el (get-lru-window, get-largest-window): Move here from
10466 window.c. Rename first argument to ALL-FRAMES.
10467 Rephrase doc-strings.
10468 (get-buffer-window-list): Rewrite using window-list-1.
10469 Rephrase doc-string.
10470 (window-safe-min-height, window-safe-min-width): New constants.
10471 (window-size-ignore, window-min-size, window-min-size-1)
10472 (window-sizable, window-sizable-p, window-size-fixed-1)
10473 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10474 (window-max-delta-1, window-max-delta, window-resizable)
10475 (window-resizable-p, window-total-height, window-total-width)
10476 (window-body-width): New functions.
10477 (window-full-height-p, window-full-width-p): Rewrite using
10478 window-total-size.
10479 (window-body-height): Rewrite using window-body-size.
10480
10481 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10482
10483 * window.el (window-right, window-left, window-child)
10484 (window-child-count, window-last-child, window-any-p)
10485 (normalize-live-buffer, normalize-live-frame)
10486 (normalize-any-window, normalize-live-window)
10487 (window-iso-combination-p, window-iso-combined-p)
10488 (window-iso-combinations)
10489 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10490 (windows-with-parameter, window-with-parameter)
10491 (window-atom-root, make-window-atom, window-atom-check-1)
10492 (window-atom-check, window-side-check, window-check):
10493 New functions.
10494 (ignore-window-parameters, window-sides, window-sides-vertical)
10495 (window-sides-slots): New variables.
10496 (window-size-fixed): Move down in code. Minor doc-string fix.
10497
10498 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10499
10500 * comint.el (comint-dynamic-complete-as-filename)
10501 (comint-dynamic-complete-filename): Correctly call
10502 completion-in-region.
10503
10504 2011-06-05 Deniz Dogan <deniz@dogan.se>
10505
10506 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10507 in last change.
10508
10509 2011-06-05 Deniz Dogan <deniz@dogan.se>
10510
10511 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10512 (rcirc): Use it to prompt for encryption.
10513
10514 2011-06-05 Roland Winkler <winkler@gnu.org>
10515
10516 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10517 (bibtex-search-entries): New command bound to C-c C-a.
10518 (bibtex-display-entries): New function.
10519
10520 2011-06-05 Roland Winkler <winkler@gnu.org>
10521
10522 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10523 (bibtex-insert-kill): After yanking insert newline if necessary.
10524 (bibtex-initialize): Call bibtex-string-files-init only once.
10525 (bibtex-mode): Do not call easy-menu-add.
10526 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10527 (bibtex-yank): Set arg properly if nil.
10528
10529 2011-06-05 Roland Winkler <winkler@gnu.org>
10530
10531 * textmodes/bibtex.el (bibtex-search-entry-globally):
10532 New variable.
10533 (bibtex-search-entry): Use it.
10534
10535 2011-06-05 Roland Winkler <winkler@gnu.org>
10536
10537 * textmodes/bibtex.el (bibtex-entry-format): New option
10538 sort-fields.
10539 (bibtex-format-entry, bibtex-reformat): Honor this option.
10540 (bibtex-parse-entry): Return fields in proper order.
10541
10542 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10543
10544 * doc-view.el (doc-view-remove-if): Move computation of result out
10545 of `dolist' to silence misleading lexical-binding warning.
10546
10547 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10548
10549 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10550 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10551
10552 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10553
10554 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10555 "SunOS 5.10".
10556
10557 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10558
10559 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10560 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10561 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10562 (tramp-parse-putty):
10563 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10564 (tramp-completion-function-alist-ssh)
10565 (tramp-completion-function-alist-telnet)
10566 (tramp-completion-function-alist-su)
10567 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10568 cookie.
10569
10570 * net/tramp-ftp.el:
10571 * net/tramp-sh.el:
10572 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10573 load "tramp.el" `tramp-set-completion-function'.
10574
10575 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * shell.el: Require and use pcomplete.
10578 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10579 (shell-completion-vars): Set pcomplete-default-completion-function.
10580
10581 2011-06-04 Deniz Dogan <deniz@dogan.se>
10582
10583 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10584 `memq' (Bug#8799).
10585
10586 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10589
10590 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10591
10592 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10593 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10594 * vc/log-view.el (log-view-beginning-of-defun):
10595 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10596 (smerge-refine-forward, smerge-refine-chopup-region):
10597 Silence warning for unused `dotimes' counter variables.
10598
10599 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10600
10601 * net/tramp.el (tramp-with-progress-reporter): Rename from
10602 with-progress-reporter. Use `declare'.
10603 * net/tramp-smb.el:
10604 * net/tramp-sh.el:
10605 * net/tramp-gvfs.el: Update all uses.
10606
10607 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10608
10609 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10610 buffer isn't killed before making it current.
10611
10612 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 Silence various byte-compiler warnings.
10615 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10616 `access-type' and new obsolescence format.
10617 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10618 new format.
10619 (byte-compile-check-variable): New `access-type' argument.
10620 Only warn if the access-type is obsolete.
10621 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10622 (byte-compile-variable-set): Adjust callers.
10623 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10624 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10625 setting it as obsolete.
10626 * simple.el (minibuffer-completing-symbol):
10627 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10628 access as obsolete.
10629 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10630 obsolete yet.
10631 * international/quail.el (quail-mouse-choose-completion): Remove unused
10632 code referring to obsolete var.
10633 (quail-choose-completion-string): Remove.
10634 * server.el (server-clients-with, server-kill-buffer-query-function)
10635 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10636 * proced.el (proced-send-signal):
10637 * emacs-lisp/lisp.el (lisp-complete-symbol):
10638 Replace completion-annotate-function with completion-extra-properties.
10639
10640 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * simple.el (goto-line): Use read-number.
10643 (overriding-map-is-bound): Remove.
10644 (saved-overriding-map): Change default.
10645 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10646 Take the map as argument.
10647 (universal-argument, negative-argument, digit-argument): Use it.
10648 (restore-overriding-map): Adjust.
10649 (do-auto-fill): Use fill-forward-paragraph.
10650 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10651
10652 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10653 (minibuffer-inactive-mode): New major mode.
10654 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10655 the *Messages* buffer" hack.
10656 (mouse-popup-menubar): Don't burp if the event is a normal key.
10657
10658 Miscellaneous tweaks.
10659 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10660 lexical scoping as in subr.el's dolist and dotimes.
10661 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10662 Silence compiler warning.
10663 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10664 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10665 * international/ccl.el (ccl-compile): Trivial simplification.
10666 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10667 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10668 `printflag' argument.
10669 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10670 Purecopy the whole obsolescence data.
10671
10672 2011-06-01 Leo Liu <sdl.web@gmail.com>
10673
10674 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10675 improve doc-string as suggested by Marco Pessotto
10676 <melmothx@gmail.com>.
10677 (rcirc-print): Fix last change.
10678
10679 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10680
10681 * minibuffer.el (complete-with-action): Return nil for the metadata and
10682 boundaries of non-functional tables.
10683 (completion-table-dynamic): Return nil for the metadata.
10684 (completion-table-with-terminator): Add default case, using
10685 complete-with-action.
10686 (completion--metadata): New function.
10687 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10688 to try and avoid pathological performance problems.
10689 (completion--embedded-envvar-table): Return `category' metadata.
10690
10691 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10692
10693 * subr.el (process-alive-p): New tiny convenience function.
10694
10695 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10696
10697 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10698 content but also its previous major mode.
10699
10700 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10701
10702 * emacs-lisp/debug.el (debug): Restore the previous content of the
10703 *Backtrace* buffer when we exit with C-M-c.
10704
10705 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10706
10707 * minibuffer.el: Add metadata method to completion tables.
10708 (completion-category-overrides): New defcustom.
10709 (completion-metadata, completion--field-metadata)
10710 (completion-metadata-get, completion--styles)
10711 (completion--cycle-threshold): New functions.
10712 (completion-try-completion, completion-all-completions):
10713 Add `metadata' argument to choose completion-styles.
10714 (completion--do-completion): Use metadata to choose cycling.
10715 (completion-all-sorted-completions): Use metadata for sorting.
10716 Remove :completion-cycle-penalty which is not needed any more.
10717 (completion--try-word-completion): Add `metadata' argument.
10718 (minibuffer-completion-help): Check metadata for annotation function
10719 and sorting.
10720 (completion-file-name-table): Return `category' metadata.
10721 (minibuffer-completing-file-name): Make obsolete.
10722 * simple.el (minibuffer-completing-symbol): Make obsolete.
10723 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10724 completion-try-completion.
10725
10726 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10729
10730 2011-05-30 Leo Liu <sdl.web@gmail.com>
10731
10732 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10733 (rcirc-print): Decode all incoming messages (bug#8744).
10734 (rcirc-decode-coding-system): Allow value nil for automatic coding
10735 system detection.
10736
10737 2011-06-01 Glenn Morris <rgm@gnu.org>
10738
10739 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10740
10741 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10742
10743 * image.el (image-animate-max-time): Allow nil and t values.
10744 Default to nil.
10745 (create-animated-image): Doc fix.
10746 (image-animate-start): Remove second arg; just use
10747 image-animate-max-time.
10748 (image-animate-timeout): Doc fix. Args changed.
10749
10750 * image-mode.el (image-toggle-display-image): Ensure that the
10751 image spec passed to the animate timer is the same object as in
10752 the buffer's display property (Bug#6981).
10753 (image-transform-properties): Doc fix.
10754
10755 * image.el (image-animate-max-time): Default to nil.
10756
10757 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10758
10759 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10760 entire buffer list (Bug#8184).
10761
10762 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10763
10764 * image.el (imagemagick-types-inhibit)
10765 (imagemagick-register-types): Doc fix.
10766
10767 2011-05-29 Deniz Dogan <deniz@dogan.se>
10768
10769 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10770 default.
10771
10772 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10773
10774 * select.el: Don't perform clipboard-manager saving in hooks;
10775 leave the hooks empty.
10776
10777 2011-05-28 Leo Liu <sdl.web@gmail.com>
10778
10779 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10780 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10781 (occur-edit-mode): New major mode (Bug#8463).
10782 (occur-after-change-function): New function.
10783 (occur-engine): Give Occur tags a read-only property.
10784
10785 2011-05-28 Kevin Ryde <user42@zip.com.au>
10786
10787 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10788
10789 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10790
10791 * bindings.el (help-echo): Make the initial non-indicator dash
10792 empty on graphical terminals (Bug#7295).
10793
10794 * files.el (auto-mode-alist): Move config rule after the
10795 in-stripping one (Bug#8547).
10796
10797 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10798
10799 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10800 setting (Bug#8740).
10801
10802 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10803
10804 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10805 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10806 (Bug#8539).
10807
10808 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10809
10810 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10811
10812 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10813
10814 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10815 (hs-hide-block-at-point, hs-find-block-beginning)
10816 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10817 (Bug#8279).
10818
10819 2011-05-28 Glenn Morris <rgm@gnu.org>
10820
10821 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10822
10823 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10824
10825 * help-fns.el (describe-function-1): If the function is a derived
10826 major mode, print the parent mode.
10827
10828 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10829 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10830
10831 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * minibuffer.el (completion--capf-wrapper): Check applicability before
10834 returning non-nil for non-exclusive completion data.
10835 * progmodes/etags.el (tags-completion-at-point-function):
10836 * info-look.el (info-lookup-completions-at-point): Mark as
10837 non-exclusive.
10838 (info-complete): Adjust accordingly.
10839
10840 * info-look.el: Convert to lexical-binding and completion-at-point.
10841 (info-lookup-completions-at-point): New function.
10842 (info-complete): Use it and completion-in-region.
10843
10844 2011-05-28 Drew Adams <drew.adams@oracle.com>
10845
10846 * isearch.el: Let M-e start with point at the first mismatched char.
10847 (isearch-fail-pos): New function.
10848 (isearch-edit-string): Use it.
10849
10850 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10851
10852 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10853
10854 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10855
10856 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10857 traversal functions for avl-trees.
10858 (avl-tree--stack): New struct.
10859 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10860 (avl-tree-enter): Add optional `updatefun' arg.
10861 (avl-tree--do-enter): Add optional `updatefun' arg.
10862 Change return value.
10863 (avl-tree-delete): Add optional `test' and `nilflag' args.
10864 (avl-tree--do-delete): Add `test' and `nilflag' args.
10865 Change return value.
10866 (avl-tree-member): Add optional `nilflag'
10867 (avl-tree-member-p): New function.
10868 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10869 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10870 (avl-tree-stack-empty-p): New functions.
10871
10872 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10873 avl-tree--del-balance1 and make it work both ways.
10874 (avl-tree--del-balance2): Remove.
10875 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10876 make it work both ways.
10877 (avl-tree--enter-balance2): Remove.
10878 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10879 New macros.
10880 (avl-tree--mapc, avl-tree-map): Add direction argument.
10881
10882 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10883
10884 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10885
10886 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10887
10888 * select.el: Support clipboard managers with built-in function
10889 x-clipboard-manager-save, via delete-frame-functions and
10890 kill-emacs-hook.
10891 (xselect-convert-to-targets): Add MULTIPLE target to list.
10892 (xselect-convert-to-save-targets): New function.
10893
10894 2011-05-27 Kenichi Handa <handa@m17n.org>
10895
10896 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10897 let-binding rfc2047-encode-encoded-words to nil.
10898
10899 2011-05-27 Glenn Morris <rgm@gnu.org>
10900
10901 * mail/emacsbug.el: Don't require url-util.
10902
10903 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10904
10905 * files.el (set-auto-mode):
10906 Also respect mode: entries at the end of the file. (Bug#8586)
10907
10908 2011-05-26 Glenn Morris <rgm@gnu.org>
10909
10910 * files.el (hack-local-variables-prop-line, hack-local-variables):
10911 Downcase mode names, as seems to be traditional.
10912 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10913
10914 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10915 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10916
10917 2011-05-25 Julien Danjou <julien@danjou.info>
10918
10919 * textmodes/rst.el (rst-define-level-faces): Do not define face
10920 symbol if it is already defined.
10921
10922 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10923
10924 * play/5x5.el (5x5-new-game, 5x5-randomize):
10925 Reset 5x5-solver-output to nil when a new grid is cast.
10926 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10927 these debugging traces, as defmacro breaks the compiled code.
10928
10929 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10930
10931 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10932
10933 2011-05-24 Leo Liu <sdl.web@gmail.com>
10934
10935 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10936 (vc-bzr-sha1): Adapt.
10937
10938 * sha1.el: Remove. Function `sha1' is now builtin.
10939
10940 * bindings.el: Provide sha1 feature.
10941
10942 2011-05-24 Kenichi Handa <handa@m17n.org>
10943
10944 * mail/sendmail.el: Require `rfc2047'.
10945 (mail-insert-from-field): Do not perform RFC2047 encoding.
10946 (mail-encode-header): New function.
10947 (sendmail-send-it): Set buffer-file-coding-system of the work
10948 buffer to the return value of select-message-coding-system.
10949 Call mail-encode-header.
10950
10951 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10952
10953 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10954
10955 * mail/supercite.el (sc-default-cite-frame):
10956 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10957
10958 2011-05-24 Glenn Morris <rgm@gnu.org>
10959
10960 * progmodes/python.el (brm-menu): Declare.
10961
10962 * emulation/viper.el (viper-set-hooks): Declare.
10963
10964 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10965 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10966 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10967 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10968 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10969 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10970
10971 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10972
10973 Add an :exit-function for completion-at-point.
10974
10975 * minibuffer.el (completion--done): New fun.
10976 (completion--do-completion): Use it. New arg `expect-exact'.
10977 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10978 since completion--do-completion does it for us now.
10979 (minibuffer-force-complete): Use completion--done and
10980 completion--replace. Handle sole-completion case with more care.
10981 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10982 (completion-extra-properties): New var.
10983 (completion-annotate-function): Make obsolete.
10984 (minibuffer-completion-help): Adjust accordingly.
10985 Use completion-list-insert-choice-function.
10986 (completion-at-point, completion-help-at-point):
10987 Bind completion-extra-properties.
10988 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10989 * simple.el (completion-list-insert-choice-function): New var.
10990 (completion-setup-function): Preserve it.
10991 (choose-completion): Pay attention to it, shuffle the code a bit.
10992 (choose-completion-string): New arg `insert-function'.
10993
10994 * textmodes/bibtex.el: Convert to lexical binding.
10995 (bibtex-mode-map): Use completion-at-point.
10996 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10997 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10998 (bibtex-complete): Define as obsolete alias.
10999 (bibtex-complete-internal): Remove.
11000 (bibtex-format-entry): Remove unused sub-group in regexp.
11001 * shell.el (shell--command-completion-data)
11002 (shell-environment-variable-completion):
11003 * pcomplete.el (pcomplete-completions-at-point):
11004 * comint.el (comint--complete-file-name-data): Use :exit-function
11005 instead of completion-table-with-terminator so it also works for
11006 choose-completion.
11007
11008 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11009
11010 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11011
11012 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11013 (bug#8710).
11014
11015 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11016
11017 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11018
11019 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11020 customization variable and implement: If non-nil, auto-fill will
11021 be inhibited while on topic's header line.
11022
11023 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11024
11025 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11026 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11027 always have a solution in grid size = 5 cases.
11028 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11029 (5x5-solver-output, 5x5-log-buffer): New vars.
11030 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11031 Make these variables buffer local to achieve 5x5 multi-session-ness.
11032 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11033 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11034 (5x5-solve-suggest): New funs.
11035 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11036 randomize a grid so that we ensure that there is always a solution.
11037 (5x5-make-random-grid): Allow other movement than flipping.
11038
11039 2011-05-23 Kevin Ryde <user42@zip.com.au>
11040
11041 * emacs-lisp/advice.el (ad-read-advised-function):
11042 Use `function-called-at-point' as the default, if it has
11043 advice and passes PREDICATE.
11044
11045 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11048 byte-compile-lambda if it's actually a lambda.
11049
11050 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11051 Fix function quoting. Use backquote better.
11052
11053 2011-05-22 Yuanle Song <sylecn@gmail.com>
11054
11055 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11056 matching (Bug#8516).
11057
11058 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11059
11060 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11061 different face (Bug#8178).
11062
11063 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11064
11065 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11066 defface (Bug#8144).
11067
11068 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11069
11070 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11071 funcall as well (bug#8712). Warn when performing those conversions.
11072 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11073
11074 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11075
11076 2011-05-22 Glenn Morris <rgm@gnu.org>
11077
11078 * files.el (hack-local-variables-prop-line): Small simplifications.
11079 (hack-local-variables, hack-local-variables-prop-line):
11080 If MODE-ONLY, return the mode, rather than just `t'.
11081
11082 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11083
11084 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11085
11086 2011-05-21 Glenn Morris <rgm@gnu.org>
11087
11088 * files.el (hack-local-variables-prop-line, hack-local-variables):
11089 If only interested in the mode, don't bother doing the other stuff.
11090
11091 * image-mode.el (image-after-revert-hook):
11092 Redraw all frames on which the image is visible. (Bug#8567)
11093
11094 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11095
11096 * wid-edit.el (widget-checklist-match-inline):
11097 Fix 2011-04-19 change. (Bug#8649)
11098
11099 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11100
11101 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11102 Also allow singlespace after single-letter capitals followed by a dot.
11103
11104 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11105 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11106
11107 2011-05-20 Nix <nix@esperi.org.uk>
11108
11109 * files.el (basic-save-buffer-2):
11110 Fix handling of break-hardlink-on-save with non-existent files.
11111
11112 2011-05-19 Deniz Dogan <deniz@dogan.se>
11113
11114 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11115 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11116
11117 2011-05-19 Glenn Morris <rgm@gnu.org>
11118
11119 * progmodes/f90.el (f90-type-def-re):
11120 Handle "type, bind(c)". (Bug#8691)
11121
11122 * emacs-lisp/autoload.el (batch-update-autoloads):
11123 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11124
11125 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11126
11127 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11128 property for the correct connection in case of multihops.
11129
11130 2011-05-18 Glenn Morris <rgm@gnu.org>
11131
11132 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11133 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11134
11135 Rationalize calendar handling of day and month abbrev-arrays.
11136 * calendar/calendar.el (calendar-customized-p): New function.
11137 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11138 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11139 Add :set function.
11140 (calendar-abbrev-length, calendar-day-abbrev-array)
11141 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11142 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11143 Elements may no longer be nil.
11144 (calendar-day-name, calendar-month-name):
11145 Update for changed nature of abbrev arrays.
11146 * calendar/diary-lib.el (diary-name-pattern):
11147 Update for changed nature of abbrev arrays.
11148 (diary-mark-entries-1): Update calendar-make-alist calls.
11149 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11150 * calendar/cal-html.el (cal-html-day-abbrev-array):
11151 Simply inherit from calendar-day-abbrev-array.
11152
11153 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11154
11155 * progmodes/grep.el (grep-mode): Disable default
11156 compilation-directory-matcher setting (bug#8684).
11157
11158 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11159
11160 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11161 instead of "head" and "tail". There were problems with SunOS 5.9,
11162 and it performs better.
11163
11164 2011-05-17 Glenn Morris <rgm@gnu.org>
11165
11166 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11167
11168 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11169 Replace obsolete function.
11170
11171 * shell.el (pcomplete-parse-arguments-function): Declare.
11172
11173 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11174 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11175 (appt-check): Doc fixes.
11176 (appt-disp-window-function, appt-delete-window-function):
11177 Remove needless special case in custom :type.
11178 (appt-display-count): Default to 0, not nil.
11179 (appt-check): Reset appt-display-count to 0, not nil.
11180
11181 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11182
11183 * progmodes/python.el (python-font-lock-keywords):
11184 Add the Python 3.X keyword "nonlocal" (bug#8639).
11185
11186 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11189
11190 2011-05-16 Kevin Ryde <user42@zip.com.au>
11191
11192 * info-look.el (makefile-automake-mode): New setups, looking in
11193 automake manual, then makefile-mode.
11194 (makefile-mode): Remove automake manual, have it just in
11195 makefile-automake-mode since there's various things different or
11196 not relevant to plain make.
11197 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11198 believe a hypothetical automake-mode would go to makefile-mode,
11199 not the other way around.
11200
11201 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11202
11203 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11204 hunk-end tags (Bug#8672).
11205
11206 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11207 vc-annotate-show-diff-revision-at-line (Bug#8671).
11208
11209 2011-05-14 Glenn Morris <rgm@gnu.org>
11210
11211 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11212 in the middle of an existing one with multiple authors. (Bug#8645)
11213 (change-log-font-lock-keywords): Also handle multiple author lines
11214 with leading tabs. (Bug#8644)
11215
11216 * calendar/appt.el (appt-check): Rename some local variables.
11217 Some simplification/reordering.
11218
11219 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11220 (feedmail-sendmail-f-doesnt-sell-me-out)
11221 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11222 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11223 (feedmail-queue-runner-message-sender): Set :version.
11224 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11225 (bbdb-dwim-net-address, vm-mail): Declare.
11226 (feedmail-binmail-gnulinuxish-template):
11227 Rename from feedmail-binmail-linuxish-template.
11228 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11229 Use insert-buffer-substring.
11230
11231 2011-05-14 Bill Carpenter <bill@carpenter.org>
11232
11233 * mail/feedmail.el (feedmail-patch-level): Increase.
11234 (feedmail-debug): New custom group.
11235 (feedmail-confirm-outgoing-timeout)
11236 (feedmail-sendmail-f-doesnt-sell-me-out)
11237 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11238 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11239 (feedmail-sender-line, feedmail-from-line)
11240 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11241 (feedmail-spray-this-address)
11242 (feedmail-spray-address-fiddle-plex-list)
11243 (feedmail-queue-use-send-time-for-date)
11244 (feedmail-queue-use-send-time-for-message-id)
11245 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11246 (feedmail-buffer-eating-function):
11247 Doc fixes.
11248 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11249 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11250 (feedmail-message-action-scroll-down): New functions.
11251 (feedmail-queue-directory, feedmail-queue-draft-directory):
11252 Use expand-file-name.
11253 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11254 Remove C-v help entry.
11255 (feedmail-queue-buffer-file-name): New variable.
11256 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11257 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11258 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11259 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11260 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11261 (feedmail-message-action-toggle-spray)
11262 (feedmail-run-the-queue-no-prompts)
11263 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11264 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11265 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11266 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11267 (feedmail-envelope-deducer, feedmail-fiddle-from)
11268 (feedmail-fiddle-sender, feedmail-default-date-generator)
11269 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11270 (feedmail-fiddle-spray-address)
11271 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11272 (feedmail-fiddle-list-of-fiddle-plexes)
11273 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11274 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11275 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11276 Change default. Doc fix.
11277 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11278 (feedmail-binmail-linuxish-template): New constant.
11279 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11280 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11281 (feedmail-send-it): Add debug call.
11282 Use feedmail-queue-buffer-file-name, and
11283 feedmail-send-it-immediately-wrapper.
11284 (feedmail-message-action-send): Add debug call.
11285 Use feedmail-send-it-immediately-wrapper.
11286 (feedmail-queue-express-to-queue): Add debug call.
11287 Run feedmail-queue-express-hook.
11288 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11289 (feedmail-message-action-help-blat):
11290 Rename from feedmail-queue-send-edit-prompt-help-first.
11291 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11292 Check line-endings. Handle errors better.
11293 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11294 Doc fix. Add debug call.
11295 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11296 Use feedmail-queue-send-edit-prompt-inner.
11297 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11298 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11299 from feedmail-queue-send-edit-prompt.
11300 (feedmail-queue-send-edit-prompt-help)
11301 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11302 (feedmail-tidy-up-slug): Add debug call.
11303 Respect feedmail-queue-slug-suspect-regexp.
11304 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11305 (feedmail-dump-message-to-queue): Add debug call.
11306 Expand queue-directory.
11307 (feedmail-dump-message-to-queue): Change message slightly.
11308 Use feedmail-say-chatter.
11309 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11310 (feedmail-send-it-immediately-wrapper): New function.
11311 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11312 Insert empty string rather than newline. Handle full-frame case.
11313 Use catch/throw. Use feedmail-say-chatter.
11314 (feedmail-fiddle-from): Try mail-host-address.
11315 (feedmail-default-message-id-generator): Doc fix.
11316 Bind system-time-locale. Handle missing end.
11317 (feedmail-fiddle-x-mailer): Add debug call.
11318 Handle feedmail-x-mailer-line being nil.
11319 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11320 Add debug call. Use buffer-substring-no-properties.
11321 (feedmail-say-debug, feedmail-say-chatter): New functions.
11322 (feedmail-find-eoh): Give an explicit error.
11323
11324 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11325
11326 * net/newst-treeview.el (newsticker-treeview-face): Change default
11327 family from helvetica to sans.
11328 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11329 etc/images/newsticker.
11330
11331 * net/newst-reader.el (newsticker-feed-face): Change default
11332 family from helvetica to sans.
11333
11334 * net/newst-plainview.el (newsticker-new-item-face)
11335 (newsticker-old-item-face, newsticker-immortal-item-face)
11336 (newsticker-obsolete-item-face, newsticker-date-face)
11337 (newsticker-statistics-face): Change default family from
11338 helvetica to sans.
11339 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11340 etc/images/newsticker.
11341
11342 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11343 (newsticker--process-auto-mark-filter-match): Tell user about
11344 auto-marking.
11345
11346 2011-05-13 Didier Verna <didier@xemacs.org>
11347
11348 Common Lisp indentation improvements on defmethod and lambda-lists.
11349 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11350 TODO entries.
11351 (lisp-lambda-list-keyword-parameter-indentation)
11352 (lisp-lambda-list-keyword-parameter-alignment)
11353 (lisp-lambda-list-keyword-alignment): New customizable user options.
11354 (lisp-indent-defun-method): Improve docstring.
11355 (extended-loop-p): Fix comment.
11356 (lisp-indent-lambda-list-keywords-regexp): New variable.
11357 (lisp-indent-lambda-list): New function.
11358 (lisp-indent-259): Use it.
11359 (lisp-indent-defmethod): Support for more than one
11360 method qualifier and properly indent methods lambda-lists.
11361 (defgeneric): Provide a missing common-lisp-indent-function property.
11362
11363 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11366 bounds for the empty string (bug#8667).
11367
11368 2011-05-13 Glenn Morris <rgm@gnu.org>
11369
11370 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11371
11372 * mail/sendmail.el (sendmail-program): Try executable-find first.
11373 (sendmail-send-it): `sendmail-program' cannot be unbound.
11374
11375 * calendar/appt.el (appt-make-list): Simplify.
11376 (appt-time-msg-list): Doc fix.
11377 (appt-check): Change mode-line message at the time of the appointment.
11378
11379 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11380
11381 * progmodes/ld-script.el (ld-script-keywords)
11382 (ld-script-builtins): Update keywords list.
11383
11384 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11385
11386 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11387
11388 * shell.el (shell-completion-vars): New function.
11389 (shell-mode):
11390 * simple.el (read-shell-command): Use it.
11391 (blink-matching-open): No need for " [...]" in minibuffer-message.
11392
11393 2011-05-12 Glenn Morris <rgm@gnu.org>
11394
11395 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11396 (appt-check): Simplify.
11397
11398 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11399
11400 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11401 literal "/dev/null".
11402
11403 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11406 Fix typo.
11407
11408 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11409
11410 * progmodes/which-func.el (which-function):
11411 Use add-log-current-defun instead of add-log-current-defun-function,
11412 which might not be defined (Bug#8260).
11413
11414 2011-05-12 Glenn Morris <rgm@gnu.org>
11415
11416 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11417 Let byte-compile-initial-macro-environment always take precedence.
11418
11419 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * net/rcirc.el: Add support for SSL/TLS connections.
11422 (rcirc-server-alist): New field `encryption'.
11423 (rcirc): Check `encryption' settings.
11424 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11425 Merge make-local-variable into `set'.
11426 (rcirc--connection-open-p): New function.
11427 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11428 the process is not a network process (e.g. running gnutls-cli).
11429 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11430 Make rcirc-(en|de)code-coding-system local here.
11431 (rcirc-mode): Merge make-local-variable into `set'.
11432 (rcirc-parent-buffer): Make permanent buffer-local.
11433 (rcirc-multiline-minor-mode): Don't do it here.
11434 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11435 there's no server buffer.
11436
11437 2011-05-11 Glenn Morris <rgm@gnu.org>
11438
11439 * newcomment.el (comment-kill): Prefix "unused" local.
11440
11441 * term/w32console.el (get-screen-color): Declare.
11442
11443 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11444 Handle symbol elements of byte-compile-initial-macro-environment.
11445
11446 2011-05-10 Leo Liu <sdl.web@gmail.com>
11447
11448 * bookmark.el (bookmark-bmenu-mode-map):
11449 Bind bookmark-bmenu-search to `/'.
11450
11451 * mail/footnote.el: Convert to utf-8 encoding.
11452 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11453 (Footnote-unicode): New function.
11454 (footnote-style-alist): Add unicode style to the list.
11455 (footnote-style): Doc fix.
11456
11457 2011-05-10 Jim Meyering <meyering@redhat.com>
11458
11459 Fix doubled-word typos.
11460 * international/quail.el (quail-insert-kbd-layout): and and -> and
11461 * kermit.el: and and -> and
11462 * net/ldap.el (ldap-search-internal): to to -> to
11463 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11464 * progmodes/js.el (js-mode): and and -> and
11465 * textmodes/artist.el (artist-move-to-xy): at at -> at
11466 (artist-draw-region-trim-line-endings): if if -> if
11467 And Safetyc -> Safety.
11468 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11469
11470 2011-05-10 Glenn Morris <rgm@gnu.org>
11471 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * files.el (hack-one-local-variable-eval-safep):
11474 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11475
11476 2011-05-10 Glenn Morris <rgm@gnu.org>
11477
11478 * calendar/diary-lib.el (diary-list-entries-hook)
11479 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11480 (diary-nongregorian-marking-hook, diary-list-entries)
11481 (diary-include-other-diary-files, diary-mark-entries)
11482 (diary-mark-included-diary-files): Doc fixes.
11483
11484 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11485
11486 * misc.el: Require tabulated-list.el during compilation.
11487
11488 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11489
11490 * progmodes/compile.el (compilation-start):
11491 Run compilation-filter-hook for the async case too.
11492 (compilation-filter-hook): Doc fix.
11493
11494 2011-05-09 Deniz Dogan <deniz@dogan.se>
11495
11496 * wdired.el: Remove outdated installation comment. Fix usage
11497 comment.
11498
11499 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11500
11501 * misc.el: Implement new command `list-dynamic-libraries'.
11502 (list-dynamic-libraries--loaded-only-p): New variable.
11503 (list-dynamic-libraries--refresh): New function.
11504 (list-dynamic-libraries): New command.
11505
11506 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11507
11508 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11509 Fix the ant regexp to handle end-line and end-column info from jikes.
11510 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11511 higher priority to avoid clobbering by gnu.
11512
11513 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11514
11515 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11516 if the face has existing theme settings (Bug#8454).
11517
11518 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11519
11520 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11521 Only match variables declared via `my' or `our' (Bug#8261).
11522
11523 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11524 special file names `.' and `..' (Bug#8259).
11525
11526 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11527
11528 * progmodes/grep.el (grep-mode-font-lock-keywords):
11529 Remove buffer-changing entries.
11530 (grep-filter): New function.
11531 (grep-mode): Add it to compilation-filter-hook.
11532
11533 * progmodes/compile.el (compilation-filter-hook)
11534 (compilation-filter-start): New defvars.
11535 (compilation-filter): Call compilation-filter-hook prior to
11536 updating the process mark.
11537
11538 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11539
11540 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11541
11542 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11543
11544 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11545 mailclient-send-it even if window-system is nil. (Bug#8595)
11546
11547 * term/w32console.el (terminal-init-w32console):
11548 Call get-screen-color and use its output to set the frame
11549 background-mode. (Bug#8597)
11550
11551 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11552
11553 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11554 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11555 New functions.
11556 (defgeneric, eieio--defmethod): Use them.
11557 (eieio-defgeneric): Remove.
11558 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11559
11560 2011-05-07 Glenn Morris <rgm@gnu.org>
11561
11562 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11563 Use let rather than let*.
11564 (timeclock-find-discrep): Remove unused local.
11565
11566 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11567
11568 * calendar/appt.el (appt-time-msg-list): Doc fix.
11569
11570 2011-05-06 Noah Friedman <friedman@splode.com>
11571
11572 * apropos.el (apropos-print-doc): Only use
11573 emacs-lisp-docstring-fill-column when it is bound to an integer,
11574 per that variable's documentation.
11575
11576 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11579 and warnings are not silently discarded (e.g. use -d instead of -P).
11580
11581 2011-05-06 Glenn Morris <rgm@gnu.org>
11582
11583 * calendar/appt.el (appt-message-warning-time): Doc fix.
11584 (appt-warning-time-regexp): New option.
11585 (appt-make-list): Respect appt-message-warning-time.
11586
11587 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11588 New options.
11589 (diary-add-to-list): Strip comments from the displayed string.
11590 (diary-mode): Set comment-start and comment-end.
11591
11592 * vc/diff-mode.el (smerge-refine-subst): Declare.
11593 (diff-refine-hunk): Don't require smerge-mode when compiling.
11594
11595 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11596
11597 * simple.el (list-processes): Return nil as the docstring says.
11598
11599 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11600
11601 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11602 to "".
11603 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11604 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11605 determining of binary transfer. (Bug#7383)
11606
11607 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11608
11609 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11610 Fix port computation bug. (Bug#8618)
11611
11612 2011-05-05 Glenn Morris <rgm@gnu.org>
11613
11614 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11615
11616 * simple.el (shell-dynamic-complete-functions)
11617 (comint-dynamic-complete-functions): Declare.
11618
11619 * net/network-stream.el (gnutls-negotiate):
11620 * simple.el (tabulated-list-print): Fix declarations.
11621
11622 * progmodes/gud.el (syntax-symbol, syntax-point):
11623 Remove unnecessary and incorrect declarations.
11624
11625 * emacs-lisp/check-declare.el (check-declare-scan):
11626 Handle byte-compile-initial-macro-environment in bytecomp.el
11627
11628 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 Fix earlier half-done eieio-defmethod change (bug#8338).
11631 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11632 Streamline and change calling convention.
11633 (defmethod): Adjust accordingly and simplify.
11634 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11635 new eieio--defmethod.
11636 (slot-boundp): Minor CSE simplification.
11637
11638 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11639
11640 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11641 (glasses-make-readable): Use glasses-separate-capital-groups.
11642
11643 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11644
11645 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11646 (warning-series): Doc fix.
11647 (display-warning): Don't try to create the buffer if we just found it.
11648
11649 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11650
11651 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11652 (autoload-find-generated-file): New function.
11653 (generate-file-autoloads): Bind generated-autoload-file to
11654 buffer-file-name.
11655 (update-file-autoloads, update-directory-autoloads):
11656 Use autoload-find-generated-file. If called interactively, prompt for
11657 output file (Bug#7989).
11658 (batch-update-autoloads): Doc fix.
11659
11660 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11661
11662 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11663
11664 2011-05-04 Glenn Morris <rgm@gnu.org>
11665
11666 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11667 function, so it follows changes in calendar-date-style.
11668 (diary-fancy-date-matcher): New function.
11669 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11670 (diary-fancy-font-lock-fontify-region-function):
11671 Use diary-fancy-date-pattern as a function.
11672
11673 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11674 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11675
11676 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11677
11678 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11679 instead of positional arguments. Allow :keylist and :crlfiles
11680 arguments.
11681 (open-gnutls-stream): Call it.
11682
11683 * net/network-stream.el (network-stream-open-starttls): Adjust to
11684 call `gnutls-negotiate' with :process and :hostname arguments.
11685
11686 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * minibuffer.el (completion--message): New function.
11689 (completion--do-completion, minibuffer-complete)
11690 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11691 (completion--do-completion): Don't ignore completion-auto-help when in
11692 icomplete-mode.
11693
11694 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11695 internal encoding (e.g. tibetan zero is not whitespace).
11696 (global-whitespace-mode): Prefer save-current-buffer.
11697 (whitespace-trailing-regexp): Remove useless save-match-data.
11698 (whitespace-empty-at-bob-regexp): Minor simplification.
11699
11700 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11701
11702 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11703
11704 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11705
11706 * textmodes/ispell.el (ispell-add-per-file-word-list):
11707 Use `concat' to create string for insertion.
11708
11709 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11710
11711 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11712 Avoid open-line which runs post-self-insert-hook.
11713 (bibtex-fill-entry): Remove unused `end' var.
11714
11715 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11716
11717 * textmodes/ispell.el (ispell-add-per-file-word-list):
11718 Protect against `nil' value of `comment-start' (Bug#8579).
11719
11720 2011-05-03 Leo Liu <sdl.web@gmail.com>
11721
11722 * isearch.el (isearch-yank-pop): New command.
11723 (isearch-mode-map): Bind it to `M-y'.
11724 (isearch-forward): Mention it.
11725
11726 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * simple.el (minibuffer-complete-shell-command): Remove.
11729 (minibuffer-local-shell-command-map): Use completion-at-point.
11730 (read-shell-command): Setup completion vars here instead.
11731 (read-expression-map): Bind TAB to symbol completion.
11732
11733 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11734 error directly rather via storing it into `results'.
11735
11736 2011-05-02 Leo Liu <sdl.web@gmail.com>
11737
11738 * vc/diff.el: Fix description.
11739
11740 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11741
11742 * server.el (server-eval-at): New function.
11743
11744 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11745
11746 * net/network-stream.el (open-network-stream): Take a :nowait
11747 parameter and pass it on to `make-network-process'.
11748 (network-stream-open-plain): Ditto.
11749
11750 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11751
11752 * faces.el (face-spec-set-match-display): Don't match toolkit
11753 options on terminal frames.
11754
11755 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * progmodes/pascal.el: Use lexical binding.
11758 (pascal-mode-map): Remove author preferences.
11759
11760 * pcomplete.el (pcomplete-std-complete): Don't abuse
11761 completion-at-point.
11762
11763 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11764
11765 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11766 removing code that has been dead since 1991 or so.
11767
11768 * startup.el (command-line): When warning about "_emacs", use a
11769 delayed warning to allow the user to filter it out.
11770
11771 2011-04-28 Deniz Dogan <deniz@dogan.se>
11772
11773 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11774 user has not joined.
11775
11776 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11779 aren't any completions at point.
11780
11781 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11782
11783 * subr.el (display-delayed-warnings): New function.
11784 (delayed-warnings-hook): New variable.
11785
11786 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11787
11788 * minibuffer.el (completion-at-point, completion-help-at-point):
11789 Don't presume that a given completion-at-point-function will always
11790 use the same calling convention.
11791
11792 * pcomplete.el (pcomplete-completions-at-point):
11793 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11794 pcomplete-seen is non-nil.
11795 (pcomplete-comint-setup): Also recognize the new comint/shell
11796 completion functions.
11797 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11798 pcomplete-seen is non-nil.
11799
11800 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11801
11802 * calendar/icalendar.el (diary-lib): Add require statement.
11803 (icalendar--create-uid): Read out a uid from a text-property on
11804 the first character in the entry. This allows for code to add its
11805 own uid to the entry.
11806 (icalendar--convert-float-to-ical): Add export of
11807 `diary-float'-entries save for those with the optional DAY
11808 argument.
11809
11810 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11811
11812 * subr.el (shell-quote-argument): Use alternate escaping strategy
11813 when we spot a variable reference in a string.
11814
11815 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11816
11817 * cus-start.el (all): Define customization for debug-on-event.
11818
11819 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11820
11821 * subr.el (shell-quote-argument): Escape correctly under Windows.
11822
11823 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11824
11825 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11826
11827 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11828
11829 * net/tramp.el (tramp-process-actions): Add POS argument.
11830 Delete region between POS and (pos).
11831
11832 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11833 Use `nil' position in `tramp-process-actions' call.
11834 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11835
11836 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11837 position in `tramp-process-actions' call.
11838
11839 * net/trampver.el: Update release number.
11840
11841 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11842
11843 * custom.el (defcustom): Obey lexical-binding.
11844
11845 Fix octave-inf completion problems reported by Alexander Klimov.
11846 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11847 Inherit from octave-mode-syntax-table.
11848 (inferior-octave-mode): Set info-lookup-mode.
11849 (inferior-octave-completion-at-point): New function.
11850 (inferior-octave-complete): Use it and completion-in-region.
11851 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11852 comint-filename-completion.
11853 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11854 symbol elements which shouldn't be word elements.
11855 (octave-font-lock-keywords, octave-beginning-of-defun)
11856 (octave-function-header-regexp): Adjust regexps accordingly.
11857 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11858
11859 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11860
11861 * net/gnutls.el (gnutls-errorp): Declare before first use.
11862
11863 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11864
11865 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11866 verify-error, and verify-hostname-error parameters. Check whether
11867 default trustfile exists before going to use it. Add missing
11868 argument to gnutls-message-maybe call. Return value.
11869 Reported by Claudio Bley <claudio.bley@gmail.com>.
11870 (open-gnutls-stream): Add usage example.
11871
11872 * net/network-stream.el (network-stream-open-starttls): Give host
11873 parameter to `gnutls-negotiate'.
11874 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11875 * subr.el (shell-quote-argument): Escape correctly under Windows.
11876
11877 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11878
11879 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11880 Use correct match group (bug#8438).
11881
11882 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11883
11884 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11885 (package-menu--generate): New arg specifying packages to show.
11886 (package-menu-refresh, package-menu-execute, list-packages):
11887 Callers changed.
11888 (package-show-package-list): New function, replacing deleted
11889 package--list-packages (renamed because it is non-internal).
11890
11891 * finder.el (finder-list-matches): Use package-show-package-list
11892 instead of deleted package--list-packages.
11893
11894 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11895 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11896 (vc-annotate-mode-map): Bind it to RET.
11897
11898 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11899
11900 * progmodes/etags.el (next-file): Don't use set-buffer to change
11901 buffers (Bug#8478).
11902
11903 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11904
11905 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11906
11907 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11908 (apropos-accumulator): Doc fix.
11909 (apropos-function, apropos-macro, apropos-command)
11910 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11911 (apropos-plist): Add face property.
11912 (apropos-symbols-internal): Fix indentation.
11913 (apropos-print): Simplify help, and recognize apropos-multi-type.
11914 (apropos-print-doc): Use button-type-get to extract the button's
11915 face property. Fill docstring (Bug#8352).
11916
11917 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11918
11919 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11920
11921 * play/mpuz.el (mpuz-silent): Doc fix.
11922 (mpuz-mode-map): Use mapc.
11923 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11924 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11925 Fix typos in docstrings.
11926
11927 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11928 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11929
11930 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11931
11932 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11933
11934 * minibuffer.el (completion--do-completion): Avoid the "Next char
11935 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11936
11937 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11938 mouse-2 into unread-command-events, it is interpreted correctly.
11939
11940 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11941 (image-toggle-display): Doc fix.
11942
11943 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11944
11945 * textmodes/page.el (what-page): Use line-number-at-pos to
11946 calculate line number (Bug#6825).
11947
11948 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11949
11950 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11951 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11952 Pass argument NO-DEFAULT to `find-tag-interactive'.
11953
11954 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11955
11956 Lexical-binding cleanup.
11957
11958 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11959 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11960 * progmodes/ada-prj.el (ada-prj-initialize-values)
11961 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11962 (ada-prj-show-value):
11963 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11964 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11965 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11966 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11967 * progmodes/bug-reference.el (bug-reference-push-button):
11968 * progmodes/fortran.el (fortran-line-length):
11969 * progmodes/glasses.el (glasses-change):
11970 * progmodes/octave-mod.el (octave-fill-paragraph):
11971 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11972 (python-pdbtrack-grub-for-buffer, python-sentinel):
11973 * progmodes/sql.el (sql-save-connection):
11974 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11975 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11976 Mark unused parameters.
11977
11978 * progmodes/compile.el (compilation--flush-directory-cache)
11979 (compilation--flush-parse, compile-internal): Mark unused parameters.
11980 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11981 (compilation-next-error-function): Remove unused variable `timestamp'.
11982
11983 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11984 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11985
11986 * progmodes/dcl-mode.el (dcl-end-of-command):
11987 Remove unused variable `start'.
11988 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11989 (dcl-option-value-basic, dcl-option-value-offset)
11990 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11991 Mark unused parameters.
11992 (dcl-save-local-variable): Remove unused variable `val'.
11993 (mode): Declare.
11994
11995 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11996 Mark unused parameters.
11997 (delphi-ignore-changes): Move before first use.
11998 (delphi-charset-token-at): Remove unused variable `start'.
11999 (delphi-else-start): Remove unused variable `if-count'.
12000 (delphi-comment-block-start, delphi-comment-block-end):
12001 Remove unused variable `kind'.
12002 (delphi-indent-line): Remove unused variable `new-point'.
12003
12004 * progmodes/ebrowse.el (ebrowse-files-list)
12005 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12006 Mark unused parameters. Don't quote `lambda'.
12007 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12008 Don't quote `lambda'.
12009 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12010 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12011 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12012 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12013 Use `ignore-errors'.
12014 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12015 (ebrowse-view/find-file-and-search-pattern)
12016 (ebrowse-view/find-member-declaration/definition):
12017 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12018 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12019 Rename parameter PREFIX-ARG to PREFIX.
12020 (ebrowse-tags-read-name): Remove unused variables `start' and
12021 `member-info'.
12022 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12023 to `tags-file'.
12024
12025 * progmodes/etags.el (local-find-tag-hook): Declare.
12026 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12027 Mark unused parameters.
12028
12029 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12030 (executable-interpret): Mark unused parameter.
12031
12032 * progmodes/flymake.el (flymake-process-sentinel)
12033 (flymake-after-change-function)
12034 (flymake-create-temp-with-folder-structure)
12035 (flymake-get-include-dirs-dot): Mark unused parameters.
12036 (flymake-safe-delete-directory): Remove unused variable `err'.
12037
12038 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12039 (speedbar-timer-fn, speedbar-line-text)
12040 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12041 (speedbar-center-buffer-smartly): Declare functions.
12042 (gdb-find-watch-expression): Remove unused variable `array'.
12043 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12044 (gdb-starting): Mark unused parameters.
12045 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12046 (gdb-table-string): Remove unused variable `res'.
12047 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12048 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12049 (gdb-display-buffer): Remove unused variable `cur-size'.
12050
12051 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12052 allow lexical-binding compilation.
12053 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12054 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12055 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12056 Mark unused parameters.
12057 (gud-gdb-marker-filter): Remove unused variable `match'.
12058 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12059 lambda expressions and funcall them, instead of using `fset'.
12060
12061 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12062 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12063
12064 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12065 variable `header-beg'; use `let'.
12066
12067 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12068 `restart', `last-sexp' and `at-do'.
12069
12070 * progmodes/js.el (js--debug): Mark unused parameter.
12071 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12072 (js--splice-into-items): Remove unused variable `item'.
12073 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12074
12075 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12076 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12077 (makefile-complete): Remove unused variable `try'.
12078 (makefile-fill-paragraph, makefile-match-function-end):
12079 Mark unused parameters.
12080
12081 * progmodes/octave-inf.el (inferior-octave-complete):
12082 Remove unused variable `proc'.
12083 (inferior-octave-output-digest): Mark unused parameter.
12084
12085 * progmodes/perl-mode.el (perl-calculate-indent):
12086 Remove unused variable `err'.
12087
12088 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12089 (prolog-indent-line): Mark unused parameters.
12090 (prolog-indent-line): Remove unused variable `beg'.
12091
12092 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12093 (reporter-dont-compact-list): Declare.
12094
12095 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12096 Remove unused variable `char'.
12097 (sh-debug): Mark unused parameter.
12098 (sh-get-indent-info): Remove unused variable `start'.
12099 (sh-calculate-indent): Remove unused variable `var'.
12100
12101 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12102 (simula-electric-keyword): Remove unused variable `null'.
12103 (simula-search-backward, simula-search-forward): Remove unused
12104 variables `begin' and `end'.
12105
12106 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12107 Remove unused variable `pos'.
12108 (vera-electric-tab, vera-comment-uncomment-region):
12109 Mark unused parameters.
12110 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12111
12112 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12113
12114 * emacs-lisp/package.el (package--builtins, package-alist)
12115 (package-load-descriptor, package-built-in-p, package-activate)
12116 (define-package, package-installed-p)
12117 (package-compute-transaction, package-buffer-info)
12118 (package--push): Doc fix. Distinguish more clearly between
12119 version strings and version lists.
12120
12121 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12122
12123 Lexical-binding cleanup.
12124
12125 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12126 (5x5-make-mutate-best):
12127 * play/fortune.el (fortune-in-buffer):
12128 * play/gomoku.el (gomoku-init-display):
12129 * play/solitaire.el (solitaire, solitaire-do-check):
12130 * play/tetris.el (tetris-default-update-speed-function):
12131 Mark unused parameters.
12132
12133 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12134 (bubbles--shift): Remove unused variable `char-org'.
12135 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12136 (bubbles--show-images): Remove unused variable `char'.
12137
12138 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12139 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12140 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12141 (decipher-analyze-buffer): Use ?\s.
12142 (decipher-make-checkpoint): Remove unused variable `mapping'.
12143
12144 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12145
12146 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12147 Remove unused variable `result'; use `let'.
12148
12149 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12150 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12151 (gametree-children-shown-p, gametree-compute-reduced-score):
12152 Use `ignore-errors'.
12153
12154 * play/handwrite.el (ps-lpr-switches): Declare.
12155 (handwrite): Remove unused variables `pmin' and `lastp'.
12156
12157 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12158
12159 * play/landmark.el (landmark-init-display)
12160 (landmark-update-naught-weights): Mark unused parameters.
12161 (landmark-y): Remove unused variable `noise'. Simplify.
12162 (landmark-human-plays): Remove unused variable `score'.
12163
12164 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12165 (mpuz-try-proposal): Remove unused variable `game'.
12166
12167 * play/zone.el (life-patterns): Declare.
12168
12169 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12170
12171 * vc/vc.el (ediff-vc-internal): Declare function.
12172
12173 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12174
12175 * shell.el: Use lexical-binding and std completion UI.
12176 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12177 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12178 comint-preoutput-filter-functions rather than on
12179 comint-output-filter-functions.
12180 (shell-command-completion, shell--command-completion-data)
12181 (shell-filename-completion, shell-environment-variable-completion)
12182 (shell-c-a-p-replace-by-expanded-directory): New functions.
12183 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12184 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12185 (shell-dynamic-complete-environment-variable): Use them.
12186 (shell-dynamic-complete-as-environment-variable)
12187 (shell-dynamic-complete-as-command): Remove.
12188 (shell-match-partial-variable): Match past point.
12189 * comint.el: Clean up use of completion-at-point-functions.
12190 (comint-completion-at-point): New function.
12191 (comint-mode): Use it completion-at-point-functions.
12192 (comint-dynamic-complete): Make it obsolete.
12193 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12194 (comint-c-a-p-replace-by-expanded-history): New function.
12195 (comint-dynamic-complete-functions)
12196 (comint-replace-by-expanded-history): Use it.
12197 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12198 termination strings. Try harder to avoid second try-completion.
12199 (completion-in-region-mode-map): Disable bindings that don't work yet.
12200
12201 * comint.el: Use lexical-binding. Require CL.
12202 (comint-dynamic-complete-functions): Use comint-filename-completion.
12203 (comint-completion-addsuffix): Tweak custom type.
12204 (comint-filename-completion, comint--common-suffix)
12205 (comint--common-quoted-suffix, comint--table-subvert)
12206 (comint--complete-file-name-data): New functions.
12207 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12208 (comint-dynamic-list-filename-completions): Use them.
12209 (comint-dynamic-simple-complete): Make obsolete.
12210
12211 * minibuffer.el (completion-in-region-mode):
12212 Keep completion-in-region-mode--predicate global.
12213 (completion-in-region--postch):
12214 Assume completion-in-region-mode--predicate is not null.
12215
12216 * progmodes/flymake.el (flymake-start-syntax-check-process):
12217 Obey `dir'. Simplify.
12218
12219 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12220 we're in VC after all.
12221
12222 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12223
12224 * vc/vc.el (vc-diff-build-argument-list-internal)
12225 (vc-version-ediff, vc-ediff): New commands.
12226 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12227
12228 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12229
12230 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12231 add sanity check.
12232
12233 * obsolete/erc-hecomplete.el: Make obsolete.
12234 * obsolete/: Standardize obsolescence info in the header.
12235
12236 2011-04-20 Glenn Morris <rgm@gnu.org>
12237
12238 * calendar/solar.el (solar-horizontal-coordinates):
12239 Use the longitude argument rather than `calendar-longitude'.
12240 (solar-date-next-longitude): Remove unused locals.
12241
12242 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12243
12244 * whitespace.el: New version 13.2.1.
12245
12246 2011-04-20 felix <EmacsWiki> (tiny change)
12247
12248 * whitespace.el (global-whitespace-mode): Keep highlight when
12249 switching between major modes on a file.
12250
12251 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12252
12253 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12254 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12255 multi-line comments as well.
12256
12257 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12258
12259 Lexical-binding cleanup.
12260
12261 * arc-mode.el (archive-mode-revert):
12262 * cmuscheme.el (scheme-interactively-start-process):
12263 * custom.el (custom-initialize-delay):
12264 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12265 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12266 * emacs-lock.el (emacs-lock-clear-sentinel):
12267 * ezimage.el (defezimage):
12268 * follow.el (follow-avoid-tail-recenter):
12269 * fringe.el (set-fringe-mode-1):
12270 * generic-x.el (bat-generic-mode-compile):
12271 * help-mode.el (help-info-variable, help-do-xref)
12272 (help-mode-revert-buffer):
12273 * help.el (view-emacs-todo):
12274 * iswitchb.el (iswitchb-completion-help):
12275 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12276 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12277 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12278 * locate.el (locate-update):
12279 * longlines.el (longlines-encode-region)
12280 (longlines-after-change-function):
12281 * outline.el (outline-isearch-open-invisible):
12282 * ps-def.el (declare-function, charset-dimension, char-width)
12283 (encode-char):
12284 * ps-mule.el (ps-mule-plot-string):
12285 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12286 (recentf-edit-list-select, recentf-edit-list-validate)
12287 (recentf-open-files-action):
12288 * rect.el (delete-whitespace-rectangle-line)
12289 (rectangle-number-line-callback):
12290 * register.el (window-configuration-to-register)
12291 (frame-configuration-to-register):
12292 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12293 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12294 (xselect-convert-to-targets, xselect-convert-to-delete)
12295 (xselect-convert-to-filename, xselect-convert-to-charpos)
12296 (xselect-convert-to-lineno, xselect-convert-to-colno)
12297 (xselect-convert-to-os, xselect-convert-to-host)
12298 (xselect-convert-to-user, xselect-convert-to-class)
12299 (xselect-convert-to-name, xselect-convert-to-integer)
12300 (xselect-convert-to-atom, xselect-convert-to-identity):
12301 * subr.el (declare, ignore, process-kill-without-query)
12302 (text-clone-maintain):
12303 * terminal.el (te-get-char, te-tic-sentinel):
12304 * tool-bar.el (tool-bar-make-keymap):
12305 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12306 * type-break.el (type-break-mode, type-break-noninteractive-query):
12307 * view.el (View-back-to-mark):
12308 * wid-browse.el (widget-browse-action, widget-browse-widget)
12309 (widget-browse-widgets, widget-browse-sexp):
12310 * widget.el (define-widget-keywords):
12311 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12312 Mark unused parameters.
12313
12314 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12315 (align-areas): Remove unused variable `look'.
12316 (align-region): Remove unused variables `real-end' and `pos-list'.
12317
12318 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12319
12320 * bindings.el (mode-line-modified, mode-line-remote):
12321 Mark unused parameters.
12322 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12323
12324 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12325 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12326
12327 * comint.el (comint-history-isearch-pop-state)
12328 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12329 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12330 (comint-substitute-in-file-name): Doc fix.
12331
12332 * completion.el (cmpl-statistics-block): Mark unused parameter.
12333 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12334 (save-completions-to-file, load-completions-from-file):
12335 Remove unused local variable `e'.
12336
12337 * composite.el (compose-chars): Remove unused variable `len'.
12338 (lgstring-insert-glyph): Remove unused variable `g'.
12339 (compose-glyph-string): Remove unused variables `ascent',
12340 `descent', `lbearing' and `rbearing'.
12341 (compose-glyph-string-relative): Remove unused variables
12342 `lbearing', `rbearing' and `wadjust'.
12343 (compose-gstring-for-graphic): Remove unused variables `header',
12344 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12345 (compose-gstring-for-terminal): Remove unused variables `header'
12346 and `nchars'. Use `let', not `let*'.
12347
12348 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12349 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12350 (Custom-buffer-done, custom-buffer-create-internal)
12351 (custom-browse-visibility-action, custom-browse-group-tag-action)
12352 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12353 (widget-magic-mouse-down-action, custom-toggle-parent)
12354 (custom-add-parent-links, custom-toggle-hide-variable)
12355 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12356 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12357 (custom-face-menu-create, custom-variable-menu-create, get)
12358 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12359 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12360 (customize-apropos): Remove unused variable `tests'.
12361 (custom-group-value-create): Remove unused variable `hidden-p'.
12362 (sort-fold-case): Declare.
12363
12364 * cus-theme.el (custom-reset-standard-faces-list)
12365 (custom-reset-standard-variables-list): Declare.
12366 (customize-create-theme, custom-theme-revert, custom-theme-write)
12367 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12368 Mark unused parameters.
12369
12370 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12371
12372 * delim-col.el (delimit-columns-max): Move defvar before first use.
12373
12374 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12375 (describe-char): Don't quote `lambda'. Mark unused parameter.
12376
12377 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12378 (auto-insert): Declare.
12379 (desktop-restore-file-buffer): Rename desktop-* parameters;
12380 mark unused ones.
12381 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12382 (desktop-buffer): Rename desktop-* parameters.
12383
12384 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12385 (dframe-reposition-frame-xemacs, dframe-help-echo)
12386 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12387 Mark unused parameters.
12388
12389 * dired-aux.el (backup-extract-version-start, overwrite-query)
12390 (overwrite-backup-query, rename-regexp-query)
12391 (rename-non-directory-query): Declare.
12392 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12393 (dired-add-entry): Remove unused variable `orig-file-name'.
12394 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12395 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12396 `dired-copy-preserve-time' directly.
12397 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12398 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12399
12400 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12401 (dired-virtual-revert, dired-make-relative-symlink):
12402 Mark unused parameters.
12403 (manual-program): Declare.
12404 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12405 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12406 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12407
12408 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12409
12410 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12411
12412 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12413 Declare.
12414
12415 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12416
12417 * electric.el (Electric-command-loop): Rename parameter
12418 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12419
12420 * expand.el (expand-in-literal): Remove unused variable `here'.
12421
12422 * facemenu.el (facemenu-add-new-color):
12423 Remove unused variable `docstring'.
12424
12425 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12426 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12427 (face-attr-construct): Mark unused parameter. Doc fix.
12428 (read-color): Remove unused variable `hex-string'.
12429
12430 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12431 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12432 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12433 (display-buffer-other-frame): Remove unused variable `old-window'.
12434 (kill-buffer-hook): Declare.
12435 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12436 Mark unused parameters.
12437 (after-find-file): Pass 1 to `auto-save-mode', not t.
12438
12439 * files-x.el (auto-insert): Declare.
12440 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12441
12442 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12443 variable `buf'. Mark unused parameter.
12444 (find-lisp-insert-directory): Mark unused parameter.
12445
12446 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12447 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12448 (format-common-tail): Remove, unused.
12449 (format-deannotate-region): Remove unused variable `loc'.
12450 (format-annotate-region): Remove unused variable `p'.
12451 (format-annotate-single-property-change): Remove unused variables
12452 `default' and `tail'.
12453
12454 * forms.el (read-file-filter): Declare.
12455 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12456
12457 * frame.el (frame-creation-function-alist): Mark unused parameter.
12458 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12459
12460 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12461 Remove unused parameters.
12462 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12463 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12464
12465 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12466 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12467 (hfy-prepare-tag-map): Mark unused parameters.
12468 (htmlfontify-buffer): Use `called-interactively-p'.
12469
12470 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12471 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12472 (ibuffer-do-occur): Mark unused parameters.
12473 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12474 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12475
12476 * ibuffer.el: Don't quote `lambda'.
12477 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12478 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12479 Mark unused parameters.
12480
12481 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12482 (ido-completing-read): Mark unused parameters.
12483 (ido-copy-current-word): Mark unused parameters;
12484 remove unused variable `name'.
12485 (ido-sort-merged-list): Remove unused parameter `dirs'.
12486
12487 * ielm.el (ielm-input-sender): Mark unused parameter.
12488 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12489 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12490 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12491 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12492 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12493
12494 * image-dired.el (image-dired-display-thumbs): Remove unused
12495 variables `curr-file' and `count'.
12496 (image-dired-remove-tag): Remove unused variable `start'.
12497 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12498 variable `curr-file'
12499 (image-dired-rotate-original): Remove unused variable `temp-file'.
12500 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12501 Remove unused variable `file'.
12502 (image-dired-gallery-generate): Remove unused variable `curr'.
12503 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12504
12505 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12506
12507 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12508
12509 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12510
12511 * isearch.el (minibuffer-history-symbol): Declare.
12512 (isearch-edit-string): Remove unused variable `err'.
12513 (isearch-message-prefix, isearch-message-suffix):
12514 Mark unused parameters.
12515
12516 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12517
12518 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12519
12520 * makesum.el (double-column): Remove unused variable `cnt'.
12521
12522 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12523 (ido-ignore-item-temp-list): Declare.
12524
12525 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12526 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12527 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12528 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12529 `mouse-col-delta'.
12530
12531 * mouse-sel.el (mouse-extend-internal):
12532 Remove unused variable `orig-window-frame'.
12533
12534 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12535 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12536 Move declarations before first use.
12537 (pcomplete-opt): Mark unused parameters; doc fix.
12538
12539 * proced.el (proced-revert): Mark unused parameter.
12540 (proced-send-signal): Remove unused variable `err'.
12541
12542 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12543 Rename parameter PREFIX-ARG to ARG.
12544 (ps-basic-plot-string, ps-basic-plot-whitespace):
12545 Mark unused parameters.
12546
12547 * replace.el (replace-count): Define.
12548 (occur-revert-function): Mark unused parameters.
12549 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12550 (isearch-case-fold-search, isearch-string): Declare.
12551 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12552 bind `case-fold-search'. Remove unused variables `beg' and `end',
12553 and simplify.
12554 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12555 COUNT and bind `replace-count'.
12556 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12557 to COUNT.
12558
12559 * savehist.el (print-readably, print-string-length): Declare.
12560
12561 * shadowfile.el (shadow-expand-cluster-in-file-name):
12562 Remove unused variable `cluster'.
12563 (shadow-copy-file): Remove unused variable `i'.
12564 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12565 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12566 (shadow-define-literal-group, shadow-define-regexp-group)
12567 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12568
12569 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12570 (shell): Use `called-interactively-p'.
12571 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12572
12573 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12574 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12575 (delete-backward-char): Remove unused variable `ocol'.
12576 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12577 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12578 (event-apply-hyper-modifier, event-apply-shift-modifier)
12579 (event-apply-control-modifier, event-apply-meta-modifier):
12580 Mark unused parameters.
12581 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12582 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12583
12584 * speedbar.el (speedbar-ignored-directory-expressions)
12585 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12586 (speedbar-find-file, speedbar-dir-follow)
12587 (speedbar-directory-buttons-follow, speedbar-tag-find)
12588 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12589 (speedbar-buffers-line-directory, speedbar-buffer-click):
12590 Mark unused parameters.
12591 (speedbar-tag-file): Remove unused variable `mode'.
12592 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12593
12594 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12595
12596 * talk.el (talk): Remove unused variable `display'.
12597
12598 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12599 (tar-write-region-annotate): Mark unused parameter.
12600
12601 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12602 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12603 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12604 warning by another.
12605
12606 * time-stamp.el (time-stamp-string-preprocess):
12607 Remove unused variable `require-padding'.
12608
12609 * tree-widget.el (widget-glyph-enable): Declare.
12610 (tree-widget-action): Mark unused parameter.
12611
12612 * w32-fns.el (x-get-selection): Mark unused parameter.
12613 (autoload-make-program, generated-autoload-file): Declare.
12614
12615 * wdired.el (wdired-revert): Mark unused parameters.
12616 (wdired-xcase-word): Remove unused variable `err'.
12617
12618 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12619 (whitespace-help-scroll): Remove unused variable `data-help'.
12620
12621 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12622 (widget-image-insert, widget-after-change, default)
12623 (widget-default-format-handler, widget-default-notify)
12624 (widget-default-prompt-value, widget-info-link-action)
12625 (widget-url-link-action, widget-function-link-action)
12626 (widget-variable-link-action, widget-file-link-action)
12627 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12628 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12629 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12630 (widget-insert-button-action, widget-delete-button-action, visibility)
12631 (widget-documentation-link-action, widget-documentation-string-action)
12632 (widget-const-prompt-value, widget-regexp-match, symbol)
12633 (widget-coding-system-prompt-value)
12634 (widget-key-sequence-value-to-external, sexp)
12635 (widget-sexp-value-to-internal, character, vector, cons)
12636 (widget-choice-prompt-value, widget-boolean-prompt-value)
12637 (widget-color--choose-action): Mark unused parameters.
12638 (widget-item-match-inline, widget-choice-match-inline)
12639 (widget-checklist-match, widget-checklist-match-inline)
12640 (widget-group-match): Rename parameter VALUES to VALS.
12641 (widget-field-value-set): Remove unused variable `size'.
12642 (widget-color-action): Remove unused variables `value' and `start'.
12643
12644 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12645 variable `dir'. Doc fix.
12646 (windmove-find-other-window): Don't pass it.
12647
12648 * window.el (count-windows): Mark unused parameter.
12649 (bw-adjust-window): Remove unused variable `err'.
12650
12651 * woman.el (woman-file-name): Remove unused variable `default'.
12652 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12653 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12654 (global-font-lock-mode): Declare.
12655 (woman-decode-region): Mark unused parameter.
12656 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12657
12658 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12659 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12660 (x-dnd-handle-moz-url): Remove unused variable `title'.
12661 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12662
12663 * xml.el (xml-parse-tag, xml-parse-attlist):
12664 Remove unused variable `pos'.
12665
12666 2011-04-19 Glenn Morris <rgm@gnu.org>
12667
12668 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12669 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12670 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12671 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12672 * calendar/cal-html.el (cal-html-insert-minical):
12673 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12674 (calendar-mark-date-pattern):
12675 Prefix "unused" locals.
12676
12677 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12678 optional argument `style'.
12679
12680 * calendar/appt.el (appt-make-list):
12681 * calendar/cal-china.el (calendar-chinese-date-string):
12682 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12683 (diary-hebrew-yahrzeit):
12684 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12685 * calendar/calendar.el (calendar-generate-window):
12686 * calendar/time-date.el (time-to-days):
12687 Remove unused local variables.
12688
12689 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12690
12691 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12692 glyphless-char-display table.
12693 (tabulated-list-glyphless-char-display): New var.
12694
12695 2011-04-18 Sam Steingold <sds@gnu.org>
12696
12697 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12698 to acknowledgments.
12699
12700 2011-04-17 Glenn Morris <rgm@gnu.org>
12701
12702 * calendar/diary-lib.el (diary-sexp-entry):
12703 * calendar/holidays.el (holiday-sexp):
12704 Set debug-on-error rather than the removed stack-trace-on-error.
12705
12706 2011-04-16 Glenn Morris <rgm@gnu.org>
12707
12708 * progmodes/f90.el: Use lexical-binding.
12709 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12710
12711 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12712
12713 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12714 (mail-mode): Setup mailalias completion here instead.
12715 * mail/mailalias.el: Use lexical-binding.
12716 (pattern, mailalias-done): Declare dynamic.
12717 (mail-completion-at-point-function): New function, from mail-complete.
12718 (mail-complete): Use it.
12719 (mail-completion-expand): New function.
12720 (mail-get-names): Use it.
12721 (mail-directory, mail-directory-process, mail-directory-stream):
12722 Don't use `pattern' for lexically bound arg.
12723
12724 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12725
12726 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12727 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12728 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12729
12730 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12731 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12732 (byte-interactive-p): Define them again, for use when inlining
12733 old code.
12734
12735 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12736
12737 * loadup.el: Use `string-to-number', not `string-to-int'.
12738
12739 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12740
12741 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12742 gud-gdb-complete-command.
12743 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12744 (gud-gdb-completion-at-point): New function.
12745 (gud-gdb-completions): Remove.
12746
12747 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12748
12749 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12750 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12751 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12752 whether `executable-find' is bound.
12753
12754 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12755
12756 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12757
12758 * minibuffer.el (completion-in-region-mode-predicate)
12759 (completion-in-region-mode--predicate): New vars.
12760 (completion-in-region, completion-in-region--postch)
12761 (completion-in-region-mode): Use them.
12762 (completion--capf-wrapper): Also return the hook function.
12763 (completion-at-point, completion-help-at-point):
12764 Adjust and provide a predicate.
12765
12766 Preserve arg names for advice of subr and lexical functions (bug#8457).
12767 * help-fns.el (help-function-arglist): Consolidate the subr and
12768 new-byte-code cases. Add argument `preserve-names' to extract names
12769 from the docstring when needed.
12770 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12771 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12772 (ad-arglist): Use help-function-arglist's new arg.
12773 (ad-definition-type): Use cond.
12774
12775 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12776
12777 * autorevert.el (auto-revert-handler):
12778 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12779 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12780 Don't quote lambda.
12781
12782 * image-mode.el (image-transform-set-scale):
12783 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12784
12785 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12786
12787 * net/network-stream.el (network-stream-open-starttls): Only do
12788 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12789 Upgrades via gnutls-cli are too slow to be done opportunistically.
12790
12791 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12792
12793 * dframe.el (dframe-current-frame): Remove spurious quote.
12794
12795 2011-04-12 Glenn Morris <rgm@gnu.org>
12796
12797 * calendar/cal-tex.el (cal-tex-end-document):
12798 Try to automatically use latin1 input if needed.
12799
12800 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12801 Don't try to cons a mark onto an empty element.
12802
12803 2011-04-11 Leo Liu <sdl.web@gmail.com>
12804
12805 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12806 buffers.
12807 (ido-kill-buffer-at-head): Support killing virtual buffers.
12808
12809 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12810
12811 * minibuffer.el (completion-show-inline-help): New var.
12812 (completion--do-completion, minibuffer-complete)
12813 (minibuffer-force-complete, minibuffer-complete-word):
12814 Inhibit minibuffer messages if completion-show-inline-help is nil.
12815
12816 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12817 to avoid interference from inline help (Bug#5849).
12818
12819 2011-04-10 Leo Liu <sdl.web@gmail.com>
12820
12821 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12822 Fix typo.
12823
12824 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12825
12826 * image-mode.el (image-toggle-display-image): Signal an error if
12827 not in Image mode.
12828 (image-transform-mode, image-transform-resize)
12829 (image-transform-set-rotation): Doc fix.
12830 (image-transform-set-resize): Delete.
12831 (image-transform-set-scale, image-transform-fit-to-height)
12832 (image-transform-fit-to-width): Handle image-toggle-display-image
12833 and image-transform-resize directly.
12834
12835 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12836
12837 * doc-view.el (doc-view-fit-width-to-window)
12838 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12839 New functions for fitting the shown image to the Emacs window size.
12840 (doc-view-mode-map): Add bindings for the new functions.
12841
12842 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12843
12844 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12845 Fix typo in docstring.
12846
12847 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12848
12849 * files.el (file-size-human-readable): Produce one digit after
12850 decimal, like "ls -lh" does.
12851
12852 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12853 the file size representation.
12854
12855 * simple.el (list-processes): If async subprocesses are not
12856 available, error out with a clear error message.
12857
12858 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12859
12860 * help.el (help-form-show): New function, to be called from C.
12861 Put help-form output in a buffer named differently than *Help*.
12862
12863 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12864
12865 * files.el (file-size-human-readable): New function.
12866
12867 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12868 computing the representation inline. Don't require `cl'.
12869
12870 2011-04-08 Glenn Morris <rgm@gnu.org>
12871
12872 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12873
12874 * net/browse-url.el (browse-url-firefox):
12875 Test system-type, not system-configuration.
12876
12877 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12878 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12879 Use log-edit-empty-buffer-p. (Bug#7598)
12880
12881 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12882 (rlogin-mode-map): Initialize in the defvar.
12883 (rlogin): Use ignore-errors.
12884
12885 * replace.el (occur-mode-map): Some fixes for menu items.
12886
12887 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12888
12889 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12890
12891 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12892
12893 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12894 issuing unused warnings.
12895
12896 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12897 macro directly.
12898
12899 * simple.el: Lisp reimplement of list-processes. Based on an
12900 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12901 (process-menu-mode): New major mode.
12902 (list-processes--refresh, list-processes):
12903 (process-menu-visit-buffer): New functions.
12904
12905 * files.el (save-buffers-kill-emacs): Don't assume any return
12906 value of list-processes, which is undocumented anyway.
12907
12908 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12909
12910 * emacs-lisp/tabulated-list.el: New file.
12911
12912 * emacs-lisp/package.el: Use Tabulated List mode.
12913 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12914 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12915 table format using Tabulated List mode variables.
12916 (package--push): New macro, replacing package-list-maybe-add.
12917 (package-menu--generate): Use package--push. Renamed from
12918 package--generate-package-list.
12919 (package-menu-refresh, list-packages): Use it.
12920 (package-menu--print-info): Rename from package-print-package.
12921 Return insertion data instead of inserting it directly.
12922 (package-menu-describe-package, package-menu-execute):
12923 Use tabulated-list-get-id.
12924 (package-menu-mark-delete, package-menu-mark-install)
12925 (package-menu-mark-unmark, package-menu-backup-unmark)
12926 (package-menu-mark-obsolete-for-deletion):
12927 Use tabulated-list-put-tag.
12928 (package--list-packages, package-menu-revert)
12929 (package-menu-get-package, package-menu-get-version)
12930 (package-menu-sort-by-column): Functions deleted.
12931 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12932 (package-menu--status-predicate, package-menu--version-predicate)
12933 (package-menu--name-predicate)
12934 (package-menu--description-predicate): Handle arguments in the
12935 Tabulated List format.
12936 (package-list-packages-no-fetch): Call list-packages.
12937
12938 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12939
12940 * files.el (after-find-file-from-revert-buffer): Remove variable.
12941 (after-find-file): Don't bind it.
12942 (revert-buffer-in-progress-p): New variable.
12943 (revert-buffer): Bind it.
12944 Pass nil for `after-find-file-from-revert-buffer'.
12945
12946 * saveplace.el (save-place-find-file-hook): Use new variable
12947 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12948
12949 2011-04-06 Glenn Morris <rgm@gnu.org>
12950
12951 * Makefile.in (AUTOGEN_VCS): New variable.
12952 (autoloads): Use $AUTOGEN_VCS.
12953
12954 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12955 * calendar/calendar.el (calendar-mode-map):
12956 Check for toolkit scroll bars. (Bug#8305)
12957
12958 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12959
12960 * minibuffer.el (completion-in-region--postch)
12961 (completion-in-region-mode): Remove unnecessary messages.
12962
12963 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12964
12965 * font-lock.el (font-lock-refresh-defaults):
12966 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12967 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12968
12969 * info.el (Info-directory-list, Info-read-node-name-2)
12970 (Info-split-parameter-string): Doc fixes.
12971 (Info-virtual-nodes): Reflow docstring.
12972 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12973 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12974 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12975 Fix typos in docstrings.
12976 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12977 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12978 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12979 (Info-restore-desktop-buffer): Mark unused parameters.
12980 (Info-directory-find-file, Info-directory-find-node)
12981 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12982 (Info-virtual-index-find-node, Info-apropos-find-file)
12983 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12984 Mark unused parameters; fix typos in docstrings.
12985 (Info-virtual-index): Remove unused local variable `nodename'.
12986
12987 2011-04-05 Deniz Dogan <deniz@dogan.se>
12988
12989 * net/rcirc.el: Update my e-mail address.
12990 (rcirc-mode-map): Remove M-o binding.
12991
12992 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12993
12994 * startup.el (command-line): Save the cursor's theme-face
12995 directly, instead of using face-override-spec.
12996
12997 * custom.el (load-theme): Minor optimization in assigning faces.
12998
12999 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13000
13001 * help-fns.el (describe-variable): Complete all variables having
13002 documentation, including keywords.
13003 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13004
13005 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13006
13007 Convert to lexical-binding.
13008
13009 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13010 (bs--get-marked-string, bs--get-modified-string)
13011 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13012 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13013 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13014
13015 * ehelp.el (electric-help-execute-extended)
13016 (electric-help-ctrl-x-prefix):
13017 * hexl.el (hexl-revert-buffer-function):
13018 * linum.el (linum-after-change, linum-after-scroll):
13019 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13020
13021 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13022
13023 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13024
13025 * epa-dired.el:
13026 * epa-mail.el:
13027 * epa-hook.el:
13028 * epa-file.el:
13029 * epa.el:
13030 * epg.el: Use lexical binding.
13031
13032 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13033
13034 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13035
13036 * textmodes/flyspell.el (flyspell-word): Recognize default
13037 dictionary case for flyspell-mark-duplications-exceptions.
13038 Use regexp matching for languages.
13039 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13040 default dictionary (Bug#7926).
13041
13042 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13043
13044 * emacs-lisp/package.el (package--with-work-buffer):
13045 Recognize https URLs.
13046
13047 * net/network-stream.el: Move from gnus/proto-stream.el.
13048 Change prefix to network-stream throughout.
13049 (open-protocol-stream): Merge into open-network-stream, leaving
13050 open-protocol-stream as an alias. Handle nil BUFFER args.
13051
13052 * subr.el (open-network-stream): Move to net/network-stream.el.
13053
13054 2011-04-02 Glenn Morris <rgm@gnu.org>
13055
13056 * find-dired.el (find-exec-terminator): New option.
13057 (find-ls-option): Test for -ls support.
13058 (find-ls-subdir-switches): Test for -b in find-ls-option.
13059 (find-dired, find-grep-dired): Doc fixes.
13060 (find-dired): Use find-exec-terminator.
13061
13062 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13063 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13064 (find-name-arg): Remove purecopy.
13065
13066 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13067 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13068 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13069 accordingly. Don't add the null-device if not needed.
13070
13071 * files.el (save-some-buffers): Doc fix.
13072
13073 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13074
13075 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13076
13077 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13078
13079 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13080 Use `dolist' rather than `mapcar'.
13081
13082 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13083
13084 Add lexical binding.
13085
13086 * subr.el (apply-partially): Use new closures rather than CL.
13087 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13088 (dolist, dotimes): Use slightly different expansion for lexical code.
13089 (functionp): Move to C.
13090 (letrec): New macro.
13091 (with-wrapper-hook): Use it and apply-partially instead of CL.
13092 (eval-after-load): Preserve lexical-binding.
13093 (save-window-excursion, with-output-to-temp-buffer): Turn them
13094 into macros.
13095
13096 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13097
13098 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13099 than the arglist.
13100 (help-add-fundoc-usage): Don't add `Not documented'.
13101 (help-function-arglist): Handle closures, subroutines, and new
13102 byte-code-functions.
13103 (help-make-usage): Remove leading underscores.
13104 (describe-function-1): Handle closures.
13105 (describe-variable): Use special-variable-p for completion.
13106
13107 * files.el (lexical-binding): Declare safe.
13108
13109 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13110 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13111 (pcase): Add `let' pattern.
13112 Change memoization so it actually works.
13113 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13114 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13115 <let>: New case.
13116
13117 * emacs-lisp/macroexp.el: Use lexical binding.
13118 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13119 Don't convert ' to #' without checking that it's indeed quoting
13120 a lambda.
13121
13122 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13123 Use eval-sexp-add-defvars.
13124 (eval-sexp-add-defvars): New fun.
13125
13126 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13127
13128 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13129 Don't autoload.
13130 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13131 than the internal `byte-compile-lambda'.
13132 (defmethod): Don't hide code under quotes.
13133 (eieio-defmethod): New `code' argument.
13134
13135 * emacs-lisp/eieio-comp.el: Remove.
13136
13137 * emacs-lisp/edebug.el (edebug-eval-defun)
13138 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13139 (edebug-toggle): Avoid `eval'.
13140
13141 * emacs-lisp/disass.el (disassemble-internal): Handle new
13142 `closure' objects.
13143 (disassemble-1): Handle new byte codes.
13144
13145 * emacs-lisp/cl.el (pushnew): Silence warning.
13146
13147 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13148 (cl-byte-compile-throw): Remove.
13149 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13150
13151 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13152 closures.
13153
13154 * emacs-lisp/cconv.el: New file.
13155
13156 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13157 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13158 (byte-compile-initial-macro-environment):
13159 Handle declare-function here.
13160 (byte-compile--lexical-environment): New var.
13161 (byte-stack-ref, byte-stack-set, byte-discardN)
13162 (byte-discardN-preserve-tos): New lap codes.
13163 (byte-interactive-p): Don't use any more.
13164 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13165 New macros.
13166 (byte-compile-lapcode): Use them and handle new lap codes.
13167 (byte-compile-obsolete): Remove.
13168 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13169 (byte-compile-arglist-warn): Check late def of inlinable funs.
13170 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13171 since they should have been expanded by now.
13172 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13173 (byte-compile-from-buffer): Remove unused second arg.
13174 (byte-compile-preprocess): New function.
13175 (byte-compile-toplevel-file-form): New function to distinguish
13176 file-form calls from outside from file-form calls from hunk-handlers.
13177 (byte-compile-file-form): Simplify.
13178 (byte-compile-file-form-defsubst): Remove.
13179 (byte-compile-file-form-defmumble): Simplify now that
13180 byte-compile-lambda always returns a byte-code-function.
13181 (byte-compile): Preprocess.
13182 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13183 Remove, not used any more.
13184 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13185 (byte-compile-make-args-desc): New funs.
13186 (byte-compile-lambda): Handle lexical functions. Always return
13187 a byte-code-function.
13188 (byte-compile-reserved-constants): New var, to make up room for
13189 closed-over variables.
13190 (byte-compile-constants-vector): Obey it.
13191 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13192 (byte-compile-macroexpand-declare-function): New function.
13193 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13194 byte-code-functions.
13195 (byte-compile-form): Check obsolescence here.
13196 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13197 (byte-compile-variable-ref): Remove.
13198 (byte-compile-dynamic-variable-op): New fun.
13199 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13200 (byte-compile-variable-set): New funs.
13201 (byte-compile-discard): Add 2 args.
13202 (byte-compile-stack-ref, byte-compile-stack-set)
13203 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13204 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13205 macroexpand-all instead.
13206 (byte-compile-quote-form): Remove.
13207 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13208 (byte-compile-bind, byte-compile-unbind): New funs.
13209 (byte-compile-let): Handle let* and lexical binding.
13210 (byte-compile-let*): Remove.
13211 (byte-compile-catch, byte-compile-unwind-protect)
13212 (byte-compile-track-mouse, byte-compile-condition-case):
13213 Handle a new :fun-body form, used for lexical scoping.
13214 (byte-compile-save-window-excursion)
13215 (byte-compile-with-output-to-temp-buffer): Remove.
13216 (byte-compile-defun): Simplify.
13217 (byte-compile-stack-adjustment): New fun.
13218 (byte-compile-out): Use it.
13219 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13220
13221 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13222 handler any more.
13223
13224 * emacs-lisp/byte-opt.el: Use lexical binding.
13225 (byte-inline-lapcode): Remove (to bytecomp).
13226 (byte-compile-inline-expand): Pay attention to inlining to/from
13227 lexically bound code.
13228 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13229 any more.
13230 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13231 any more and don't call compiler-macros.
13232 (byte-compile-splice-in-already-compiled-code): Remove.
13233 (byte-code): Don't inline any more.
13234 (disassemble-offset): Receive `bytes' as argument rather than via
13235 dynamic scoping.
13236 (byte-compile-tag-number): Declare before first use.
13237 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13238 `return' even if make-spliceable.
13239 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13240 obsolete interactive-p.
13241 (byte-optimize-lapcode): Optimize new lap-codes.
13242 Don't trip up on new form of `byte-constant' lap code.
13243
13244 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13245
13246 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13247
13248 * custom.el (custom-initialize-default, custom-declare-variable):
13249 Use `defvar'.
13250
13251 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13252 New variables.
13253 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13254 (COMPILE_FIRST): Add macroexp and cconv.
13255 * makefile.w32-in: Mirror changes in Makefile.in.
13256
13257 * vc/cvs-status.el:
13258 * vc/diff-mode.el:
13259 * vc/log-edit.el:
13260 * vc/log-view.el:
13261 * vc/smerge-mode.el:
13262 * textmodes/bibtex-style.el:
13263 * textmodes/css.el:
13264 * startup.el:
13265 * uniquify.el:
13266 * minibuffer.el:
13267 * newcomment.el:
13268 * reveal.el:
13269 * server.el:
13270 * mpc.el:
13271 * emacs-lisp/smie.el:
13272 * doc-view.el:
13273 * dired.el:
13274 * abbrev.el: Use lexical binding.
13275
13276 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13277
13278 * info.el (info-display-manual): New function.
13279
13280 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13281
13282 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13283
13284 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13285
13286 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13287 an entry for that server in rcirc-authinfo. (Bug#8385)
13288
13289 2011-03-31 Glenn Morris <rgm@gnu.org>
13290
13291 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13292
13293 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13294
13295 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13296
13297 * progmodes/python.el (python-default-interpreter)
13298 (python-python-command-args, python-jython-command-args)
13299 (python-which-shell, python-which-args, python-which-bufname)
13300 (python-file-queue, python-comint-output-filter-function)
13301 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13302 variables and functions.
13303
13304 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13305
13306 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13307 (completion-in-region-mode): New minor mode.
13308 (completion-in-region): Use it.
13309 (completion-in-region--data, completion-in-region-mode-map): New vars.
13310 (completion-in-region--postch): New function.
13311 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13312 New vars.
13313 (completion--capf-wrapper): New function.
13314 (completion-at-point): Use it to track well-behavedness of
13315 hook functions.
13316 (completion-help-at-point): New command.
13317
13318 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13319
13320 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13321 syntax class to search for whitespace on a single line
13322 (Message-ID: <4D938140.4030905@redhat.com>).
13323
13324 2011-03-30 Leo Liu <sdl.web@gmail.com>
13325
13326 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13327 New commands.
13328 (edit-abbrevs-map): Bind them here.
13329 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13330
13331 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13332
13333 * allout.el (allout-hide-by-annotation, allout-flag-region):
13334 Reduce possibility of overlay leakage by making them volatile.
13335
13336 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13337 hash is not shared between buffers. Mode initialization is
13338 responsible for giving it a useful starting value.
13339 (allout-item-span): Reduce possibility of overlay leakage by
13340 making them volatile.
13341 (allout-widgets-count-buttons-in-region): Add diagnostic function
13342 for tracking down button overlay leaks.
13343
13344 2011-03-29 Leo Liu <sdl.web@gmail.com>
13345
13346 * ido.el (ido-read-internal): Use the default history var
13347 minibuffer-history if no HISTORY is specified.
13348
13349 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13350
13351 * net/imap.el (imap-shell-open, imap-process-connection-type):
13352 Use imap-process-connection-type for 'shell' streams as well as
13353 Kerberos, SSL, other subprocesses.
13354
13355 2011-03-28 Leo Liu <sdl.web@gmail.com>
13356
13357 * abbrev.el (abbrev-table-empty-p): New function.
13358 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13359 nonempty ones. (Bug#5937)
13360
13361 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13362
13363 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13364
13365 2011-03-27 Leo Liu <sdl.web@gmail.com>
13366
13367 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13368 for foreground and background colors.
13369 (ansi-color-make-color-map): Adapt.
13370
13371 2011-03-25 Leo Liu <sdl.web@gmail.com>
13372
13373 * midnight.el (midnight-time-float): Remove. Note it calculates
13374 the microsecond component incorrectly and seconds-to-time does the
13375 same job.
13376 Remove redundant (require 'timer).
13377
13378 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13379 (ido-completions): Remove unused arguments. (Bug#8329)
13380
13381 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13382
13383 * minibuffer.el (completion--flush-all-sorted-completions):
13384 Remove itself from hook.
13385 (completion-at-point): Let the functions perform the completion
13386 immediately and return nil or t.
13387 * comint.el (comint-dynamic-complete-functions): Now identical to
13388 completion-at-point-functions.
13389 (comint-dynamic-list-input-ring): Remove unused var `index'.
13390 (comint--match-partial-filename, comint--unquote&expand-filename):
13391 New funs, split from comint-match-partial-filename.
13392 (comint-dynamic-complete): Use completion-at-point.
13393 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13394
13395 2011-03-24 Drew Adams <drew.adams@oracle.com>
13396
13397 * thingatpt.el: Support `defun'.
13398
13399 2011-03-23 Leo Liu <sdl.web@gmail.com>
13400
13401 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13402
13403 * help-mode.el (help-mode-finish): Tweak regexp.
13404
13405 2011-03-23 Glenn Morris <rgm@gnu.org>
13406
13407 * eshell/esh-opt.el (eshell-eval-using-options):
13408 Do not bind unused local variable `eshell-option-stub'.
13409
13410 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13411
13412 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13413
13414 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13415 keymap variable in `with-no-warnings' to avoid a warning when the
13416 keymap has been already `defconst'ed.
13417
13418 2011-03-22 Leo Liu <sdl.web@gmail.com>
13419
13420 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13421 encode all chars in abbrevs; otherwise use emacs-mule or
13422 utf-8-emacs. (Bug#8308)
13423
13424 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13425
13426 * simple.el (backward-delete-char-untabify):
13427 Avoid warning about using `delete-backward-char'.
13428
13429 * image.el (image-type-file-name-regexps): Make it variable.
13430 `imagemagick-register-types' modifies it, and the user may want
13431 to add new extensions for known image types.
13432 (imagemagick-register-types): Throw error if not using ImageMagick.
13433
13434 2011-03-22 Leo Liu <sdl.web@gmail.com>
13435
13436 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13437 located before rcirc-prompt-end-marker.
13438 (rcirc-complete): Error if point is not after rcirc prompt.
13439 Handle the case when table is nil.
13440 (rcirc-user-authenticated): Define to fix compiler warning.
13441
13442 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13443
13444 * custom.el (custom--inhibit-theme-enable): Make it affect only
13445 custom-theme-set-variables and custom-theme-set-faces.
13446 (provide-theme): Ignore custom--inhibit-theme-enable.
13447 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13448 (custom-enabling-themes): Delete variable.
13449 (enable-theme): Accept only loaded themes as arguments.
13450 Ignore the special custom-enabled-themes variable.
13451 (custom-enabled-themes): Forbid themes from setting this.
13452 Eliminate use of custom-enabling-themes.
13453 (custom-push-theme): Quote "changed" custom var entry.
13454
13455 2011-03-21 Leo Liu <sdl.web@gmail.com>
13456
13457 * ido.el (ido-read-internal): Add ido-selected to history instead
13458 of user input.
13459
13460 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13461
13462 * subr.el (deferred-action-list, deferred-action-function):
13463 Mark obsolete.
13464
13465 2011-03-21 Leo Liu <sdl.web@gmail.com>
13466
13467 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13468 change on 2011-02-13 (bug#8309).
13469
13470 * minibuffer.el (read-file-name-function): Change default value.
13471 (read-file-name--defaults): Rename from read-file-name-defaults.
13472 (read-file-name-default): Rename from read-file-name.
13473 (read-file-name): Call read-file-name-function.
13474
13475 2011-03-21 Glenn Morris <rgm@gnu.org>
13476
13477 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13478 Doc fixes.
13479
13480 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13481
13482 * cus-theme.el: Add missing provide statement.
13483 (customize-create-theme): Extract theme value correctly.
13484 (custom-theme-visit-theme): Autoload.
13485 (customize-create-theme): Prompt before inserting default faces.
13486
13487 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13488
13489 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13490 units and musical notes.
13491
13492 2011-03-20 Leo Liu <sdl.web@gmail.com>
13493
13494 * ido.el (ido-read-internal): Use completing-read-default.
13495 (ido-completing-read): Fix compatibility with completing-read.
13496
13497 2011-03-20 Christian Ohler <ohler@gnu.org>
13498
13499 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13500 (ert-delete-all-tests): Use `called-interactively-p' rather than
13501 `interactive-p'.
13502 (ert--make-xrefs-region): Respect END.
13503
13504 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13505
13506 * dired-aux.el (dired-create-directory): Signal an error if the
13507 directory already exists (Bug#8246).
13508
13509 * facemenu.el (list-colors-display): Call list-faces-display
13510 inside with-help-window.
13511 (list-colors-print): Use display property to align the final
13512 column, instead of checking window-width.
13513
13514 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13515
13516 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13517 windows-nt systems.
13518 (emerge-protect-metachars): Quote correctly for ms-dos and
13519 windows-nt systems.
13520
13521 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13522
13523 * info.el (info-initialize): Replace all uses of `:' with
13524 path-separator for compatibility with non-Unix systems.
13525 Cache quoting of path-separator. (Bug#8258)
13526
13527 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13528
13529 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13530 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13531 (mouse-avoidance-mode): Fix typos in docstrings.
13532
13533 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13534
13535 * startup.el (package-subdirectory-regexp): Move from package.el.
13536 Omit \\` and \\', and let callers add them.
13537
13538 * emacs-lisp/package.el (package-strip-version)
13539 (package-load-all-descriptors): Add \\` and \\' to
13540 package-subdirectory-regexp before using it.
13541 (package-untar-buffer): New arg DIR; ensure that file untars only
13542 into this expected directory. Remove superfluous delete-region.
13543 (package-unpack): Caller changed.
13544 (package-tar-file-info): Use package-subdirectory-regexp.
13545
13546 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13547
13548 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13549 diff-mode-shared-map (bug#8284).
13550 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13551
13552 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13553
13554 * calendar/time-date.el (format-seconds): Use assoc instead of
13555 assoc-string, since assoc-string doesn't exist in XEmacs.
13556
13557 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13558
13559 * custom.el (custom-known-themes): Reflow docstring.
13560 (custom-theme-load-path): Fix typo in docstring.
13561 (load-theme): Fix typo in error message.
13562 (custom-available-themes, custom-variable-theme-value):
13563 Use `let', not `let*'.
13564
13565 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13566
13567 * calc/README: Mention inclusion of musical notes.
13568
13569 * calc/calc-units.el (calc-lu-quant): Rename from
13570 `calc-logunits-quantity'.
13571 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13572 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13573 (calc-db): Rename from `calc-dblevel'.
13574 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13575 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13576 (calc-np): Rename from `calc-nplevel'.
13577 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13578 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13579 (calc-lu-plus): Rename from `calc-logunits-add'.
13580 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13581 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13582 (calc-lu-minus): Rename from `calc-logunits-sub'.
13583 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13584 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13585 (calc-lu-times): Rename from `calc-logunits-mul'.
13586 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13587 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13588 (calc-lu-divide): Rename from `calc-logunits-div'.
13589 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13590 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13591
13592 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13593 functions being autoloaded.
13594
13595 * calc/calc.el (calc-lu-power-reference): Rename from
13596 `calc-logunits-power-reference'.
13597 (calc-lu-field-reference): Rename from
13598 `calc-logunits-field-reference'.
13599
13600 * calc/calc-help.el (calc-l-prefix-help):
13601 Mention musical note functions.
13602
13603 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13604
13605 * minibuffer.el (completion-all-sorted-completions):
13606 Use :completion-cycle-penalty text property if present.
13607
13608 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13609
13610 * allout.el (allout-yank-processing): Adjust for new rebulleting
13611 regime so bullet being yanked is used without prompting the user
13612 for a choice.
13613
13614 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13615
13616 * startup.el (command-line): Warn the user that _emacs is deprecated.
13617
13618 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13619
13620 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13621 (delphi-verbose, delphi-comment-face, delphi-string-face)
13622 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13623 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13624 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13625 (delphi-new-comment-line, delphi-font-lock-defaults)
13626 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13627 Fix typos in docstrings.
13628
13629 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13630
13631 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13632 Invert the roles of character and string values for INSTEAD, so a
13633 string is used for the more common case of a defaulting prompt.
13634
13635 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13636
13637 * progmodes/ruby-mode.el (ruby-backward-sexp):
13638 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13639 * play/gamegrid.el (gamegrid-make-face):
13640 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13641 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13642 * notifications.el (notifications-notify):
13643 * net/xesam.el (xesam-search-engines):
13644 * net/quickurl.el (quickurl-list-insert):
13645 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13646
13647 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13648
13649 * startup.el (command-line): Update package subdirectory regexp.
13650
13651 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13652
13653 * allout.el (allout-abbreviate-flattened-numbering)
13654 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13655
13656 * subr.el (read-char-choice): Only show the cursor after the prompt,
13657 not after the answer.
13658
13659 2011-03-15 Kevin Ryde <user42@zip.com.au>
13660
13661 * help-fns.el (variable-at-point): Skip leading quotes, if any
13662 (bug#8253).
13663
13664 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13665
13666 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13667 warning message.
13668
13669 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13670
13671 * shell.el (shell): When called interactively, offer to change the
13672 shell file name on remote hosts.
13673
13674 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13675
13676 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13677 integration for LDAP parameters. The host, base, user or binddn,
13678 and secret tokens can be specified in a netrc file, for instance.
13679 This is optional because an `auth-source' parameter must be
13680 specified in the search attributes.
13681
13682 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13683
13684 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13685
13686 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13689 into declaration. Remove redundant and harmful binding.
13690
13691 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13692
13693 * files.el (file-ownership-preserved-p): Pass `integer' as an
13694 explicit 2nd argument to `file-attributes'. If the file's owner
13695 is the Administrators group on Windows, and the current user is
13696 Administrator, consider that a match.
13697
13698 * server.el (server-ensure-safe-dir): Consider server directory
13699 safe on MS-Windows if its owner is the Administrators group while
13700 the current Emacs user is Administrator. Use `=' to compare
13701 numerical UIDs, since they could be integers or floats.
13702
13703 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13704
13705 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13706
13707 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13708
13709 Sync with Tramp 2.2.1.
13710
13711 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13712
13713 * net/trampver.el: Update release number.
13714
13715 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13716
13717 * progmodes/compile.el (compilation--previous-directory): Fix up
13718 various nil/dead-marker mismatches (bug#8014).
13719 (compilation-directory-properties, compilation-error-properties):
13720 Don't call it at a position past the one we're about to change.
13721
13722 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13723 Disable obsolescence warnings in the file that declares it.
13724
13725 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13726
13727 * allout-widgets.el (allout-widgets-tally):
13728 Initialize allout-widgets-tally as a hash table rather than nil to
13729 prevent mode-line redisplay warnings. Also, clarify the module
13730 description and fix a comment typo.
13731
13732 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13733
13734 * help-fns.el (describe-variable): Don't complete keywords.
13735 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13736
13737 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13738
13739 * emacs-lisp/package.el (package-version-join): Impose a standard
13740 string representation for pre/alpha/beta version lists.
13741 (package-unpack-single): Standardize the directory name by passing
13742 it through package-version-join.
13743 (package-strip-rcs-id): Accept any version string that does not
13744 signal an error in version-to-list.
13745
13746 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13747
13748 * simple.el (delete-trailing-whitespace): Return nil for the
13749 benefit of `write-file-functions'.
13750
13751 2011-03-10 Glenn Morris <rgm@gnu.org>
13752
13753 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13754
13755 * vc/vc-git.el (vc-git-program): New option.
13756 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13757 (vc-git--call): Use it.
13758
13759 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13760
13761 * cus-edit.el (Custom-newline): If no button at point, look
13762 for a subgroup button at start-of-line. (Bug#2298)
13763
13764 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13765
13766 2011-03-10 Julien Danjou <julien@danjou.info>
13767
13768 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13769 `cursor-type' is nil.
13770
13771 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13772
13773 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13774
13775 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13776
13777 * allout.el: Change so yank of distinctive-bullet items
13778 preserves the existing header prefix, rebulleting it if necessary,
13779 rather than replacing it. This is necessary for proper operation
13780 of cooperative addons like allout-widgets.
13781 (allout-make-topic-prefix, allout-rebullet-heading):
13782 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13783 value as alternate bullet to be used, instead of prompting the user
13784 for a bullet character.
13785
13786 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13787
13788 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13789 Do not use `tramp-file-name-port', because this returns also
13790 `tramp-default-port'.
13791
13792 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13793
13794 * net/rcirc.el (rcirc-handler-001): Remove useless
13795 with-rcirc-process-buffer.
13796 (rcirc-check-auth-status): Swap arguments to string-match.
13797
13798 2011-03-09 Glenn Morris <rgm@gnu.org>
13799
13800 * shell.el (shell-mode):
13801 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13802
13803 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13804 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13805
13806 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13807
13808 * emacs-lisp/package.el (package-refresh-contents)
13809 (package-menu-execute): Use condition-case-no-debug.
13810
13811 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13812
13813 * simple.el (shell-command-to-string): Use `process-file'.
13814
13815 * emacs-lisp/package.el (package-tar-file-info): Handle also
13816 remote files.
13817
13818 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13819 Use `equal' for upload base check.
13820
13821 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13822
13823 * textmodes/texinfo.el (texinfo-environments):
13824 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13825
13826 2011-03-08 Glenn Morris <rgm@gnu.org>
13827
13828 * cus-start.el (cursor-in-non-selected-windows):
13829 Fix :set quoting oddness. (Bug#8192)
13830
13831 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13832 in some setf expressions. (Bug#2159)
13833
13834 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13835
13836 * custom.el (custom-available-themes): Return themes in
13837 alphabetical order.
13838
13839 See ChangeLog.15 for earlier changes.
13840
13841 ;; Local Variables:
13842 ;; coding: utf-8
13843 ;; End:
13844
13845 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13846
13847 This file is part of GNU Emacs.
13848
13849 GNU Emacs is free software: you can redistribute it and/or modify
13850 it under the terms of the GNU General Public License as published by
13851 the Free Software Foundation, either version 3 of the License, or
13852 (at your option) any later version.
13853
13854 GNU Emacs is distributed in the hope that it will be useful,
13855 but WITHOUT ANY WARRANTY; without even the implied warranty of
13856 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13857 GNU General Public License for more details.
13858
13859 You should have received a copy of the GNU General Public License
13860 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.