* lisp/term.el: Move keymap initialization code to be more idiomatic.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * term.el: Move keymap initialization code to be more idiomatic.
4 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5 (term-terminal-menu): Move initialization into declaration.
6 (term-escape-char): Let the user set it in her .emacs.
7
8 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9 Provide SMIE-based indentation (not enabled by default yet).
10 (sh-mode-map): Don't bind electric keys.
11 Use electric-pair-mode instead of skeleton-pair.
12 (sh-assignment-regexp): Fit within 80 columns.
13 (sh-indent-supported): Specify actual shell name instead of boolean.
14 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
15 (sh-maybe-here-document): Use it. Make obsolete.
16 (sh-electric-here-document-mode) New minor mode.
17 (sh-mode): Use it. Don't set sh-indent-supported-here here.
18 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
19 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
20 (sh-smie-rc-grammar, sh-use-smie): New vars.
21 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
22 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
23 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
24 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
25 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
26 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
27 (sh-set-shell): Use smie-setup if requested.
28
29 * term.el (term-set-escape-char): Properly set term-escape-char.
30 See http://stackoverflow.com/questions/10524656.
31
32 2012-05-10 Chong Yidong <cyd@gnu.org>
33
34 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
35 Use url-generic-parse-url, and handle host names and Windows
36 filenames properly.
37 (ffap-url-unwrap-remote): Use url-generic-parse-url.
38 (ffap-url-unwrap-remote): Accept list values, specifying a list of
39 URL schemes to work on.
40 (ffap--toggle-read-only): New function.
41 (ffap-read-only, ffap-read-only-other-window)
42 (ffap-read-only-other-frame): Use it.
43 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
44 necessary for ffap-url-unwrap-remote.
45
46 2012-05-10 Dave Abrahams <dave@boostpro.com>
47
48 * cus-start.el (create-lockfiles): Add it.
49
50 2012-05-09 Chong Yidong <cyd@gnu.org>
51
52 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
53 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
54
55 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * shell.el (shell-completion-vars): Fix last change (bug#11348).
58
59 2012-05-09 Chong Yidong <cyd@gnu.org>
60
61 * ansi-color.el (ansi-color-process-output): Check for validity of
62 comint-last-output-start before using it. This avoids a bad
63 interaction with gdb-mi's input/output buffer.
64
65 2012-05-09 Glenn Morris <rgm@gnu.org>
66
67 * files.el (dir-locals-read-from-file):
68 Mention dir-locals in any error message.
69
70 2012-05-09 Chong Yidong <cyd@gnu.org>
71
72 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
73 package (Bug#11410).
74
75 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
76 variables into description.
77
78 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
81 shell-delimiter-argument-list (bug#11348).
82 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
83
84 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
85
86 * textmodes/rst.el: Silence byte-compiler warnings.
87 (rst-re-alist, rst-reset-section-caches): Move around.
88 (rst-re): Use `characterp', not `char-valid-p'.
89 (font-lock-beg, font-lock-end): Declare.
90
91 * progmodes/idlw-shell.el (specs): Remove reference to deleted
92 variable `idlwave-shell-activate-alt-keybindings' and simplify.
93
94 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
95
96 2012-05-08 Glenn Morris <rgm@gnu.org>
97
98 * files.el (auto-mode-alist): Treat ".make" like ".mk".
99
100 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * vc/log-edit.el: Add GNU coding standards highlighting.
103 (log-edit-font-lock-gnu-style)
104 (log-edit-font-lock-gnu-keywords): New vars.
105 (log-edit-font-lock-keywords): New fun.
106 (log-edit-mode): Don't fold case in font-lock.
107 (log-edit-font-lock-keywords): Do not assume case-folding.
108
109 * imenu.el: Misc cleanup. Make docstrings out of comments.
110 Use lexical-binding.
111 (imenu--index-alist, imenu--last-menubar-index-alist)
112 (imenu-menubar-modified-tick): Use defvar-local.
113 (imenu--split-menu): Remove unused var.
114 (imenu--cleanup-seen): Declare as global.
115 (imenu--cleanup): Use dolist.
116
117 * subr.el (defvar-local): Add debug spec and doc-string position.
118
119 2012-05-08 Glenn Morris <rgm@gnu.org>
120
121 * lisp/language/burmese.el, language/cham.el, language/czech.el:
122 * language/english.el, language/georgian.el, language/greek.el:
123 * language/japanese.el, language/khmer.el, language/korean.el:
124 * language/lao.el, language/misc-lang.el, language/romanian.el:
125 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
126 * language/thai.el, language/utf-8-lang.el:
127 Remove no-byte-compile setting.
128
129 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
130
131 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
132
133 * progmodes/make-mode.el (makefile-browse):
134 Remove unnecessary interactive. (Bug#11324)
135
136 2012-05-07 Glenn Morris <rgm@gnu.org>
137
138 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
139
140 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
141
142 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * loadup.el: Preload newcomment.el.
145 * newcomment.el: Move autoload-only code to toplevel.
146
147 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
148 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
149 Handle new :right-align column property.
150 (tabulated-list-print-col): Idem, plus use `display' text-property to
151 try and preserve alignment for variable pitch fonts.
152
153 2012-05-07 Chong Yidong <cyd@gnu.org>
154
155 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
156 (tabulated-list-use-header-line): New var.
157 (tabulated-list-init-header): Use it.
158 (tabulated-list-print-fake-header): New function.
159 (tabulated-list-print): Use it.
160 (tabulated-list-sort-button-map): Add non-header-line commands.
161 (tabulated-list-init-header): Add column name property to basic
162 labels as well.
163 (tabulated-list-col-sort): Handle non-header-line button case.
164 (tabulated-list--sort-by-column-name): Fix a corner case.
165
166 * buff-menu.el (list-buffers--refresh):
167 Handle Buffer-menu-use-header-line.
168
169 2012-05-06 Chong Yidong <cyd@gnu.org>
170
171 * buff-menu.el: Convert to Tabulated List mode.
172 (Buffer-menu-buffer+size-width): Make obsolete.
173 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
174 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
175 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
176 documentation into docstring of buffer-menu.
177 (Buffer-menu-toggle-files-only): Add an informative message.
178 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
179 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
180 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
181 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
182 (Buffer-menu-execute, Buffer-menu-select)
183 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
184 (Buffer-menu-bury): Use Tabulated List machinery.
185 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
186 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
187 Delete.
188 (list-buffers--refresh): New function.
189 (list-buffers-noselect): Use it.
190 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
191 (Buffer-menu--pretty-file-name): New helper functions.
192
193 * loadup.el: Preload tabulated-list.
194
195 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
196 tabulated-list-sort-column.
197 (tabulated-list-init-header): Add the initial aligning space even
198 if tabulated-list-padding is zero.
199
200 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
201
202 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
203 whose cdr is not a cons cell correctly (bug#11038).
204
205 2012-05-06 Chong Yidong <cyd@gnu.org>
206
207 * emacs-lisp/tabulated-list.el (tabulated-list-format):
208 Accept additional plist in column descriptors.
209 (tabulated-list-init-header): Obey it.
210 (tabulated-list-get-entry): New function.
211 (tabulated-list-put-tag): Use it. Use string-width instead of
212 length.
213 (tabulated-list--column-number): New function.
214 (tabulated-list-print): Use it.
215 (tabulated-list-print-col): New function.
216 Set `tabulated-list-column-name' property on each column's text.
217 (tabulated-list-print-entry): Use it.
218 (tabulated-list-delete-entry, tabulated-list-set-col):
219 New functions.
220 (tabulated-list-sort-column): New command (Bug#11337).
221
222 * buff-menu.el (list-buffers): Move C-x C-b binding from
223 buff-menu.el to bindings.el.
224
225 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
226 :advertised-binding feature.
227
228 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
229
230 * progmodes/compile.el (compilation-internal-error-properties):
231 Calculate start position correctly when end-col is set but
232 end-line is not (Bug#11382).
233
234 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
235
236 * man.el (Man-unindent): Use text-property-default-nonsticky to
237 prevent untabify from inheriting face properties (Bug#11408).
238
239 2012-05-05 Glenn Morris <rgm@gnu.org>
240
241 * calendar/cal-html.el: Optionally include holidays in the output.
242 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
243 (cal-html-holidays): New option.
244 (cal-html-css-default): Add holiday entry.
245 (holiday-in-range): Autoload it.
246 (cal-html-htmlify-entry): Add optional class argument.
247 (cal-html-htmlify-list): Add optional holidays argument.
248 (cal-html-insert-agenda-days): Include holidays in the output.
249 (cal-html-one-month): Maybe include holidays.
250
251 * calendar/holidays.el (holiday-in-range):
252 Move here from cal-tex-list-holidays.
253 * calendar/cal-tex.el (cal-tex-list-holidays):
254 Make it an obsolete alias for holiday-in-range. Update all callers.
255
256 2012-05-05 Chong Yidong <cyd@gnu.org>
257
258 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
259 Nextstep.
260
261 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
262
263 * files.el (file-auto-mode-skip): New var.
264 (set-auto-mode-1): Use it.
265
266 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
267
268 * repeat.el: Use lexical-binding.
269 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
270 (repeat-undo-count): Remove.
271 (repeat):
272 * progmodes/octave-mod.el (octave-abbrev-start):
273 * progmodes/f90.el (f90-abbrev-start):
274 * face-remap.el (text-scale-adjust):
275 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
276
277 * emacs-lisp/pcase.el (pcase--let*): New function.
278 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
279 a bit more.
280 (pcase--split-pred): Be more clever about ruling out overlap between
281 a predicate and some constant pattern.
282 (pcase--q1): Use `null' instead of (eq foo nil).
283
284 * subr.el (setq-local, defvar-local): New macros.
285 (kbd): Redefine as an alias.
286 (with-selected-window): Leave unrelated frames alone.
287 (set-temporary-overlay-map): New function.
288
289 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * subr.el (user-error): New function.
292 * window.el (switch-to-buffer):
293 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
294 (smerge-match-conflict):
295 * simple.el (previous-matching-history-element)
296 (next-matching-history-element, goto-history-element, undo-more)
297 (undo-start):
298 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
299 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
300 (next-file, tags-loop-scan, list-tags, complete-tag):
301 * progmodes/compile.el (compilation-loop):
302 * mouse.el (mouse-minibuffer-check):
303 * man.el (Man-bgproc-sentinel, Man-goto-page):
304 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
305 (Info-history-forward, Info-follow-reference, Info-menu)
306 (Info-extract-menu-item, Info-extract-menu-counting)
307 (Info-forward-node, Info-backward-node, Info-next-menu-item)
308 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
309 (Info-next-reference, Info-prev-reference, Info-index)
310 (Info-index-next, Info-follow-nearest-node)
311 (Info-copy-current-node-name):
312 * imenu.el (imenu--make-index-alist)
313 (imenu-default-create-index-function, imenu-add-to-menubar):
314 * files.el (basic-save-buffer, recover-file):
315 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
316 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
317 (checkdoc-message-text, checkdoc-defun):
318 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
319 * cus-edit.el (customize-changed-options, customize-rogue)
320 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
321 (custom-variable-mark-to-reset-standard)
322 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
323 (custom-file):
324 * completion.el (check-completion-length):
325 * comint.el (comint-search-arg)
326 (comint-previous-matching-input-string-position)
327 (comint-previous-matching-input)
328 (comint-replace-by-expanded-history-before-point, comint-send-input)
329 (comint-copy-old-input, comint-backward-matching-input)
330 (comint-goto-process-mark, comint-set-process-mark):
331 * calendar/calendar.el (calendar-cursor-to-date): Use it.
332 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
333
334 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
335
336 * dabbrev.el (dabbrev--ignore-case-p): New function.
337 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
338 Use it.
339
340 * files.el (automount-dir-prefix): Mark as obsolete.
341
342 2012-05-04 Glenn Morris <rgm@gnu.org>
343
344 * patcomp.el, play/bruce.el: Move to obsolete/.
345
346 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
347
348 Fix minor Y10k bugs.
349 * arc-mode.el (archive-unixdate):
350 * autoinsert.el (auto-insert-alist):
351 * calc/calc-forms.el (math-this-year):
352 * emacs-lisp/copyright.el (copyright-current-year)
353 (copyright-update-year, copyright):
354 * tar-mode.el (tar-clip-time-string):
355 * time.el (display-time-update):
356 Don't assume years have 4 digits.
357
358 2012-05-04 Chong Yidong <cyd@gnu.org>
359
360 * dos-w32.el (file-name-buffer-file-type-alist)
361 (direct-print-region-use-command-dot-com):
362 * ffap.el (ffap-menu-regexp):
363 * find-file.el (ff-special-constructs):
364 * follow.el (follow-debug):
365 * forms.el (forms--debug):
366 * iswitchb.el (iswitchb-all-frames):
367 * ido.el (ido-all-frames):
368 * emacs-lisp/timer.el (timer-max-repeats):
369 * mail/feedmail.el (feedmail-mail-send-hook)
370 (feedmail-mail-send-hook-queued):
371 * mail/footnote.el (footnote-signature-separator):
372 * mail/mailabbrev.el (mail-alias-separator-string)
373 (mail-abbrev-mode-regexp):
374 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
375 * progmodes/idlwave.el (idlwave-libinfo-file)
376 (idlwave-default-completion-case-is-down)
377 (idlwave-library-routines): Convert defvars to defcustoms.
378
379 * mail/rmail.el (rmail-decode-mime-charset):
380 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
381 (idlwave-shell-fix-inserted-breaks)
382 (idlwave-shell-activate-alt-keybindings)
383 (idlwave-shell-use-breakpoint-glyph):
384 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
385
386 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
389
390 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
391
392 * progmodes/verilog-mode.el (font-lock-keywords):
393 Fix mis-highligting auto. Reported by Craig Barner.
394 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
395 defines from global name space. Reported by Dan Dever.
396 (verilog-auto-reset, verilog-auto-reset-widths)
397 (verilog-auto-tieoff): Support using unbased numbers for
398 AUTORESET and AUTOTIEOFF.
399 (verilog-submit-bug-report): Update variable list.
400 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
401 parenthesis from not matching. Reported by Michael Rytting.
402 (verilog-auto-template-lint): Fix hash error when linting modules
403 with no used templates.
404 (verilog-warn, verilog-warn-error)
405 (verilog-warn-fatal): When non-interactive report multiple
406 warnings before exiting. Suggested by Brad Dobbie.
407 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
408 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
409 to report unused template errors. Reported by Brad Dobbie.
410 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
411 nets, bug438. Reported by Vns Blore.
412 (verilog-auto-inout-module, verilog-auto-reg)
413 (verilog-read-decls, verilog-read-sub-decls-sig)
414 (verilog-signals-edit-wire-reg, verilog-signals-with):
415 Fix passing of Verilog data types in ANSI input/output ports
416 such as "output logic" into the AUTOs. Special case "wire" and
417 "reg" for backwards compatibility presuming Verilog 2001.
418 (verilog-auto-ascii-enum): Add "auto enum" as alias.
419 (verilog-preprocess): Fix replication of preprocess output.
420 Reported by Brad Dobbie.
421 (verilog-auto-inst-interfaced-ports):
422 Create verilog-auto-inst-interfaced-ports, bug429.
423 Reported by Julian Gorfajn.
424 (verilog-after-save-font-hook)
425 (verilog-before-save-font-hook): New variable.
426 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
427 (verilog-save-font-mods): Wrap disabling fontification, reported
428 by David Rogoff.
429 (verilog-do-indent, verilog-pretty-declarations-auto)
430 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
431 Reported by Pierre-David Pfister.
432 (verilog-set-auto-endcomments): Fix endtask auto comments outside
433 of class declarations, bug292. Reported by Kevin Heilman.
434 (verilog-read-decls): Fix 'parameter type' not appearing in
435 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
436 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
437 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
438 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
439 Reported by David Kravitz.
440
441 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
442
443 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
444 assignment with tests in ifs and for loops.
445 (verilog-extended-complete-re, verilog-complete-reg): Change so
446 that DPI inport functions don't look like fuction declarations.
447 (verilog-pretty-expr): Don't line up assignment
448 operations to the test and increment in if and for loops
449 (verilog-extended-complete-re, verilog-complete-reg): Change so
450 that DPI inport functions don't look like fuction declarations
451
452 2012-05-03 Kenichi Handa <handa@m17n.org>
453
454 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
455 decoding, and show a warning message without signalling an error
456 (Bug#11282).
457
458 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * emacs-lisp/bytecomp.el
461 (byte-compile-file-form-custom-declare-variable): Compile all elements,
462 since cconv.el might have introduced :fun-body, internal-make-closure,
463 and friends for bytecomp to handle (bug#11391).
464 * custom.el (defcustom): Avoid ((λ ..) ..).
465
466 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
469
470 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
471
472 * notifications.el (dbus-debug):
473 * term/linux.el (gpm-mouse-enable):
474 * term/screen.el (xterm-register-default-colors): Declare.
475
476 2012-05-02 Chong Yidong <cyd@gnu.org>
477
478 * cus-start.el (gc-cons-percentage, exec-suffixes)
479 (dos-display-scancodes, dos-hyper-key, dos-super-key)
480 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
481 (make-cursor-line-fully-visible, void-text-area-pointer)
482 (font-list-limit): Add customization data.
483
484 * allout.el (allout-exposure-change-functions)
485 (allout-structure-added-functions)
486 (allout-structure-deleted-functions)
487 (allout-structure-shifted-functions): Rename abnormal hooks from
488 *-hook, and convert to defcustoms.
489 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
490 Convert to defcustoms.
491 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
492
493 * allout-widgets.el: Hook callers changed.
494
495 2012-05-02 Eli Zaretskii <eliz@gnu.org>
496
497 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
498 the yanked message in preference to the default value of
499 buffer-file-coding-system.
500
501 2012-05-02 Martin Rudalics <rudalics@gmx.at>
502
503 * window.el (display-buffer--action-function-custom-type):
504 Fix entry.
505
506 2012-05-02 Alan Mackenzie <acm@muc.de>
507
508 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
509
510 2012-05-01 Glenn Morris <rgm@gnu.org>
511
512 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
513
514 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
515
516 * cus-edit.el (custom-variable-documentation): Simplify with format.
517
518 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
519 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * simple.el (suggest-key-bindings, execute-extended-command):
522 Move from keyboard.c.
523
524 2012-05-01 Chong Yidong <cyd@gnu.org>
525
526 * follow.el: Eliminate advice.
527 (set-process-filter, process-filter, sit-for): Advice deleted.
528 (follow-mode-off-hook): Obsolete hook removed.
529 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
530 Vars deleted.
531 (follow-auto): Use a :set function.
532 (follow-mode): Rewritten. Don't advise process filters.
533 (follow-switch-to-current-buffer-all, follow-scroll-up)
534 (follow-scroll-down): Assume follow-mode is bound.
535 (follow-comint-scroll-to-bottom)
536 (follow-align-compilation-windows): New functions.
537 (follow--window-sorter): New function.
538 (follow-all-followers): Use it to explicitly sort windows by their
539 positions; don't make assumptions about next-window order.
540 (follow-windows-start-end, follow-delete-other-windows-and-split)
541 (follow-calc-win-start): Doc fix.
542 (follow-windows-aligned-p, follow-select-if-visible): Don't call
543 vertical-motion unnecessarily.
544 (follow-adjust-window): New function.
545 (follow-post-command-hook): Use it.
546 (follow-call-set-process-filter, follow-call-process-filter)
547 (follow-intercept-process-output, follow-tidy-process-filter-alist)
548 (follow-stop-intercept-process-output, follow-generic-filter):
549 Functions deleted.
550 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
551 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
552 New functions, replacing advice on scroll-bar-* commands.
553 (follow-mwheel-scroll): New function (Bug#4112).
554
555 * comint.el (comint-adjust-point): New function.
556 (comint-postoutput-scroll-to-bottom): Use it.
557 Call follow-comint-scroll-to-bottom for Follow mode buffers.
558
559 2012-05-01 Glenn Morris <rgm@gnu.org>
560
561 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
562 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
563 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
564 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
565 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
566 Remove no-byte-compile setting.
567
568 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
569
570 * minibuffer.el (completion-table-with-quoting): Fix compatibility
571 all-completions code to not return a number in the last cdr.
572
573 2012-04-30 Leo Liu <sdl.web@gmail.com>
574
575 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
576 read-only error.
577
578 2012-04-29 Chong Yidong <cyd@gnu.org>
579
580 * follow.el (follow-calc-win-end): Rewrite to handle partial
581 screen lines correctly (Bug#8390).
582 (follow-avoid-tail-recenter): Minor cleanup.
583
584 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 Avoid the obsolete `assoc' package.
587 * speedbar.el (speedbar-refresh): Avoid adelete.
588 (speedbar-file-lists): Simplify and avoid aput.
589 * man.el (Man--sections, Man--refpages): New vars, replacing
590 Man-sections-alist and Man-refpages-alist.
591 (Man-build-section-alist, Man-build-references-alist):
592 Use them; avoid aput.
593 (Man--last-section, Man--last-refpage): New vars.
594 (Man-follow-manual-reference): Use them.
595 Use the `default' arg of completing-read.
596 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
597
598 2012-04-27 Chong Yidong <cyd@gnu.org>
599
600 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
601
602 * startup.el (x-apply-session-resources): New function.
603
604 * term/ns-win.el (ns-initialize-window-system):
605 * term/w32-win.el (w32-initialize-window-system):
606 * term/x-win.el (x-initialize-window-system): Use it to properly
607 set menu-bar-mode and other vars from X resources, even if the
608 initial frame is not a window-system frame (Bug#2299).
609
610 * subr.el (read-key): Avoid running filter function when setting
611 up temporary tool bar entries (Bug#9922).
612
613 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
614
615 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
616 (Bug#11344)
617
618 2012-04-27 Chong Yidong <cyd@gnu.org>
619
620 * select.el (xselect--encode-string): New function, split from
621 xselect-convert-to-string.
622 (xselect-convert-to-string): Use it.
623 (xselect-convert-to-filename, xselect-convert-to-os)
624 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
625 returned strings are properly encoded (Bug#11315).
626
627 2012-04-27 Chong Yidong <cyd@gnu.org>
628
629 * simple.el (delete-active-region): Move to killing custom group.
630
631 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
632
633 * progmodes/which-func.el (which-func-current): Quote %
634 characters for mode-line processing.
635
636 2012-04-27 Chong Yidong <cyd@gnu.org>
637
638 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
639 reaching eob (Bug#11286).
640
641 2012-04-27 Eli Zaretskii <eliz@gnu.org>
642
643 * progmodes/gdb-mi.el (gdb-control-level): New variable.
644 (gdb): Make it buffer-local and init to zero.
645 (gdb-control-commands-regexp): New variable.
646 (gdb-send): Don't wrap in "-interpreter-exec console" if
647 gdb-control-level is positive. Increment gdb-control-level
648 whenever the command matches gdb-control-commands-regexp, and
649 decrement it each time the command is "end". (Bug#11279)
650
651 2012-04-27 Martin Rudalics <rudalics@gmx.at>
652
653 * window.el (adjust-window-trailing-edge, enlarge-window)
654 (shrink-window, window-resize):
655 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
656 windows (Bug#11276).
657
658 2012-04-27 Chong Yidong <cyd@gnu.org>
659
660 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
661 fix "missing prefix" warning. All callers changed.
662
663 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
664
665 * emacs-lisp/assoc.el: Move to obsolete/.
666
667 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
668
669 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
670
671 * term/ns-win.el (ns-define-service):
672 * progmodes/pascal.el (pascal-goto-defun):
673 * progmodes/js.el (js--read-tab):
674 * progmodes/etags.el (tags-lazy-completion-table):
675 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
676 * emacs-lisp/ewoc.el (ewoc--wrap):
677 * emacs-lisp/assoc.el (aput, adelete, amake):
678 * doc-view.el (doc-view-convert-current-doc):
679 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
680
681 2012-04-26 Chong Yidong <cyd@gnu.org>
682
683 * image.el (image-type-from-buffer): Only return supported image
684 type (Bug#9045).
685
686 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
687 value, for symmetry with diff-end-of-hunk.
688 (diff-split-hunk, diff-find-source-location)
689 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
690 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
691 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
692 compute the relevant hunk or file properly (Bug#6005).
693 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
694
695 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
696
697 * vc/vc-mtn.el:
698 * vc/vc-hg.el:
699 * vc/vc-git.el:
700 * vc/vc-dir.el:
701 * vc/vc-cvs.el:
702 * vc/vc-bzr.el:
703 * vc/vc-arch.el:
704 * vc/vc.el: Replace lexical-let by lexical-binding.
705 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
706 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
707 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
708
709 2012-04-26 Chong Yidong <cyd@gnu.org>
710
711 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
712 (diff-mode-shared-map): Bind it to / and [remap undo].
713
714 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
715 (ediff-window-setup-function): Use it as the default, to set up
716 windows based on whether the current frame is graphical (Bug#2138).
717 (ediff-choose-window-setup-function-automatically): Make obsolete.
718
719 * vc/ediff-init.el: Always define ediff-pixel-width/height.
720
721 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * ffap.el: Remove old code for obsolete package.
724 (ffap-complete-as-file-p): Remove.
725
726 Use completion-table-with-quoting for comint and pcomplete.
727 * comint.el (comint--unquote&requote-argument)
728 (comint--unquote-argument, comint--requote-argument): New functions.
729 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
730 (comint-quote-filename): Use regexp-opt-charset.
731 (comint--common-suffix, comint--common-quoted-suffix)
732 (comint--table-subvert): Remove.
733 (comint-unquote-function, comint-requote-function): New vars.
734 (comint--complete-file-name-data): Use them with
735 completion-table-with-quoting.
736 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
737 * pcomplete.el (pcomplete-arg-quote-list)
738 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
739 (pcomplete-unquote-argument-function): Default to non-nil.
740 (pcomplete-unquote-argument): Simplify.
741 (pcomplete--common-quoted-suffix): Remove.
742 (pcomplete-requote-argument-function): New var.
743 (pcomplete--common-suffix): New function.
744 (pcomplete-completions-at-point): Use completion-table-with-quoting
745 and completion-table-subvert.
746
747 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
748 (minibuffer--double-dollars): Preserve properties.
749 (completion--sifn-requote): New function.
750 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
751
752 * minibuffer.el: Add support for completion of quoted/escaped data.
753 (completion-table-with-quoting, completion-table-subvert): New funs.
754 (completion--twq-try, completion--twq-all): New functions.
755 (completion--nth-completion): New function.
756 (completion-try-completion, completion-all-completions): Use it.
757
758 2012-04-25 Leo Liu <sdl.web@gmail.com>
759
760 * progmodes/python.el (python-pdbtrack-get-source-buffer):
761 Use compilation-message if available to find real filename.
762
763 2012-04-25 Chong Yidong <cyd@gnu.org>
764
765 * vc/diff-mode.el (diff-setup-whitespace): New function.
766 (diff-mode): Use it.
767
768 * vc/diff.el (diff-sentinel):
769 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
770 Whitespace mode variables based on diff style (Bug#8612).
771
772 2012-04-25 Leo Liu <sdl.web@gmail.com>
773
774 * progmodes/python.el (python-send-region): Add suffix .py to the
775 temp file.
776
777 * files.el (auto-mode-alist): Use javascript-mode instead.
778
779 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
780
781 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
782
783 * soap-client.el (soap-resolve-references-for-sequence-type)
784 (soap-resolve-references-for-array-type): Hack to prevent self
785 references, see Bug#9.
786 (soap-parse-envelope): Report the contents of the 'detail' node
787 when receiving a fault reply.
788 (soap-parse-envelope): Report the contents of the entire 'detail' node.
789
790 * soap-inspect.el (soap-sample-value-for-simple-type)
791 (soap-inspect-simple-type): New function.
792
793 * soap-client.el (soap-simple-type): New struct.
794 (soap-default-xsd-types, soap-default-soapenc-types)
795 (soap-decode-basic-type, soap-encode-basic-type):
796 support unsignedInt and double basic types.
797 (soap-resolve-references-for-simple-type)
798 (soap-parse-simple-type, soap-encode-simple-type): New function.
799 (soap-parse-schema): Parse xsd:simpleType declarations.
800
801 * soap-client.el (soap-default-xsd-types)
802 (soap-default-soapenc-types): Add integer, byte and anyURI types.
803 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
804 the local name of "soapenc:Array".
805 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
806 decoding integer, byte and anyURI xsd types.
807
808 2012-04-25 Chong Yidong <cyd@gnu.org>
809
810 * cus-edit.el (custom-buffer-create-internal): Update header text.
811
812 2012-04-25 Eli Zaretskii <eliz@gnu.org>
813
814 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
815 settings on 'system-type', not on 'window-system'. On MS-Windows,
816 set interactive-mode on in GDB.
817
818 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
821 (ruby-syntax-propertize-regexp): Remove.
822 (ruby-syntax-propertize-function): Split regexp into chunks.
823 Match following code directly.
824
825 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
826
827 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
828 (ruby-syntax-propertize-regexp): New function.
829 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
830 by a special keyword.
831
832 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
833 (ruby-syntax-general-delimiters-goto-beg)
834 (ruby-syntax-propertize-general-delimiters): New functions.
835 (ruby-syntax-propertize-function): Use them to handle GDL.
836 (ruby-font-lock-keywords): Move old handling of GDL...
837 (ruby-font-lock-syntactic-keywords): .. to here.
838 (ruby-calculate-indent): Adjust indentation for GDL.
839
840 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
841
842 * notifications.el (top): Remove unneeded declarations.
843 (notifications-specification-version): Change to "1.2".
844 (notifications-interface, notifications-notify-method)
845 (notifications-close-notification-method): Fix docstring.
846 (notifications-get-capabilities-method): New defconst.
847 (notifications-notify): Add :action-items, :resident and
848 :transient hints. Change "image_data" to "image-data" and
849 "image_path" to "image-path".
850 (notifications-get-capabilities): New defun.
851
852 2012-04-24 Leo Liu <sdl.web@gmail.com>
853
854 * progmodes/python.el: Move hideshow setup to the end.
855
856 2012-04-24 Martin Rudalics <rudalics@gmx.at>
857
858 * window.el (handle-select-window): Clear echo area since this is
859 no more done by read_char (Bug#11304).
860
861 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
864 and `/ M' to filter-derived-mode.
865 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
866 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
867 (ibuffer-mark-by-mode): Use default rather than initial-input.
868 (ibuffer-filter-by-derived-mode): Autoload and require-match.
869
870 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
871
872 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
873 (ibuffer-filter-by-derived-mode): New filter.
874 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
875
876 2012-04-23 Andreas Politz <politza@fh-trier.de>
877
878 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
879
880 2012-04-23 Chong Yidong <cyd@gnu.org>
881
882 * cus-edit.el (customize-apropos, customize-apropos-options):
883 Disable matching of non-option variables (Bug#11176).
884 (customize-option, customize-option-other-window)
885 (customize-changed-options): Doc fix.
886 (customize-apropos-options, customize-apropos-faces)
887 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
888
889 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
890 Fix word list splitting (Bug#11132).
891 (apropos-symbol, apropos-keybinding, apropos-label)
892 (apropos-property, apropos-function-button)
893 (apropos-variable-button, apropos-misc-button): New faces.
894 (apropos-symbol-face, apropos-keybinding-face)
895 (apropos-label-face, apropos-property-face, apropos-match-face):
896 Variables removed (Bug#8396).
897 (apropos-library-button, apropos-format-plist, apropos-print)
898 (apropos-print-doc, apropos-describe-plist): Callers changed.
899
900 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
901
902 * net/xesam.el (xesam-mode-map): Use let-bound map in
903 initialization. (Bug#11292)
904
905 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
906
907 Preserve ispell session localwords when switching back to
908 original buffer.
909
910 * ispell.el (ispell-buffer-session-localwords): New buffer-local
911 variable to hold buffer session localwords.
912 (ispell-kill-ispell): add option 'clear to delete session
913 localwords.
914 (ispell-command-loop, ispell-change-dictionary)
915 (ispell-buffer-local-words): Preserve session localwords when
916 needed.
917
918 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
919 Preserve session localwords when needed.
920
921 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
922
923 * ispell.el (ispell-insert-word) Remove unneeded function using
924 obsolete `translation-table-for-input'.
925 (ispell-word, ispell-process-line, ispell-complete-word):
926 Use plain `insert' instead of removed `ispell-insert-word'.
927
928 2012-04-22 Chong Yidong <cyd@gnu.org>
929
930 * cus-edit.el (custom-variable-menu)
931 (custom-variable-reset-saved, custom-face-menu)
932 (custom-face-reset-saved): If there is no saved value, make the
933 "reset-saved" operation bring back the default (Bug#9509).
934 (custom-face-state): Properly detect themed faces.
935
936 * faces.el (face-spec-set): Stop supporting deprecated form of
937 third arg.
938
939 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
940
941 Move functions from C to Lisp. Make non-blocking method calls
942 the default. Implement further D-Bus standard interfaces.
943
944 * net/dbus.el (dbus-message-internal): Declare function.
945 Remove unneeded function declarations.
946 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
947 (dbus-message-type-method-return, dbus-message-type-error)
948 (dbus-message-type-signal): Declare variables. Remove local
949 definitions.
950 (dbus-interface-dbus, dbus-interface-peer)
951 (dbus-interface-introspectable, dbus-interface-properties)
952 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
953 Adapt docstring.
954 (dbus-interface-objectmanager): New defconst.
955 (dbus-call-method, dbus-call-method-asynchronously)
956 (dbus-send-signal, dbus-method-return-internal)
957 (dbus-method-error-internal, dbus-register-service)
958 (dbus-register-signal, dbus-register-method): New defuns, moved
959 from dbusbind.c
960 (dbus-call-method-handler, dbus-setenv)
961 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
962 New defuns.
963 (dbus-call-method-non-blocking): Make it an obsolete function.
964 (dbus-unregister-object, dbus-unregister-service)
965 (dbus-handle-event, dbus-register-property)
966 (dbus-property-handler): Obey the new structure of
967 `bus-registered-objects'.
968 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
969 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
970 Use `dbus-call-method'.
971
972 2012-04-22 Chong Yidong <cyd@gnu.org>
973
974 * cus-edit.el (custom-commands, custom-reset-menu)
975 (Custom-reset-standard): Tweak labels.
976 (custom-reset-button-menu): Change default to t.
977 (custom-buffer-create-internal): For the custom-reset-button-menu
978 case, put the revert button first.
979 (custom-group-subtitle): New face.
980 (custom-group-value-create): Align docstring to a specific column.
981
982 * wid-edit.el (widget-documentation-link-add): Don't handle
983 indentation in this function.
984 (widget-documentation-string-indent-to): New function.
985 (widget-documentation-string-value-create): Use it.
986
987 * autorevert.el (auto-revert):
988 * epg-config.el (epg):
989 * ibuffer.el (ibuffer):
990 * mpc.el (mpc):
991 * ses.el (ses):
992 * eshell/eshell.el (eshell):
993 * net/ange-ftp.el (ange-ftp):
994 * progmodes/ebnf2ps.el (postscript):
995 * progmodes/flymake.el (flymake):
996 * progmodes/prolog.el (prolog):
997 * progmodes/verilog-mode.el (verilog-mode):
998 * progmodes/which-func.el (which-func):
999 * term/xterm.el (xterm):
1000 * textmodes/picture.el (picture):
1001 * textmodes/tildify.el (tildify):
1002 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1003 customization buffers.
1004
1005 2012-04-22 Alan Mackenzie <acm@muc.de>
1006
1007 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1008 Adding a ) can hide the resulting (..) from searches. Fix it.
1009 Bound the backward search to the position of the existing (.
1010
1011 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1012
1013 * progmodes/verilog-mode.el (verilog-mode): Check whether
1014 which-func-modes is t before adding verilog-mode.
1015 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1016
1017 2012-04-21 Leo Liu <sdl.web@gmail.com>
1018
1019 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1020
1021 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1022
1023 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1024 filling of the last column of a table (Bug#5635).
1025 (woman-find-next-control-line): New arg, specifying an additional
1026 regexp component for the control line.
1027 (woman2-roff-buffer): Use it.
1028 (woman-break-table): New function.
1029 (woman2-TS): Use it.
1030
1031 2012-04-21 Chong Yidong <cyd@gnu.org>
1032
1033 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1034 (woman-horizontal-escapes, woman-negative-vertical-space)
1035 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1036 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1037
1038 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * minibuffer.el (completion-file-name-table): Complete user names.
1041
1042 2012-04-20 Leo Liu <sdl.web@gmail.com>
1043
1044 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1045 and pcase-let*.
1046
1047 2012-04-20 Chong Yidong <cyd@gnu.org>
1048
1049 * server.el (server-execute): Respect initial-buffer-choice if it
1050 is a string and there are no files to open (Bug#2825).
1051 (server-create-window-system-frame, server-create-tty-frame):
1052 Don't switch buffers here.
1053 (server-process-filter): Only try to open a window system frame if
1054 compiled with graphical support (Bug#8314).
1055
1056 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1057
1058 * battery.el (battery-echo-area-format): Display remaining time
1059 for sysfs backend too (Bug#11269).
1060 (battery-linux-sysfs): Fix conditional for the charge.
1061
1062 2012-04-20 Chong Yidong <cyd@gnu.org>
1063
1064 * progmodes/gdb-mi.el (gdb): Revert previous change.
1065 (gdb-inferior-io--init-proc): New function.
1066 (gdb-init-1): Use it.
1067 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1068 responsible for allocating a new pty and hooking it to gdb when
1069 the old pty gets an EIO due to process exit.
1070 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1071 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1072 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1073
1074 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1075
1076 * window.el (window-min-size, window-sizable, window-min-delta)
1077 (window-max-delta, window--resizable, window-resizable)
1078 (window-total-size, window-full-height-p, window-full-width-p)
1079 (window-in-direction, window--resize-mini-window, window-resize)
1080 (window--resize-child-windows-normal)
1081 (window--resize-child-windows, window--resize-siblings)
1082 (window--resize-this-window, adjust-window-trailing-edge)
1083 (enlarge-window, shrink-window): Doc fixes.
1084
1085 2012-04-20 Chong Yidong <cyd@gnu.org>
1086
1087 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1088 New function to call delete-process on the gdb-inferior buffer's pty.
1089 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1090 pty process (Bug#11273).
1091 (gdb-update): New arg to suppress talking to the gdb process.
1092 (gdb-done-or-error): Use it.
1093 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1094 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1095 sentinel not being called.
1096
1097 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1098
1099 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1100
1101 2012-04-20 Glenn Morris <rgm@gnu.org>
1102
1103 * net/network-stream.el (open-network-stream): Doc fix.
1104
1105 2012-04-20 Chong Yidong <cyd@gnu.org>
1106
1107 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1108
1109 2012-04-20 Alan Mackenzie <acm@muc.de>
1110
1111 Ensure searching for keywords is case sensitive.
1112
1113 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1114 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1115 (c-defun-name, c-mark-function, c-cpp-define-name)
1116 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1117 (c-context-line-break): Bind case-fold-search to nil.
1118
1119 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1120 Bind case-fold-search to nil.
1121
1122 2012-04-20 Chong Yidong <cyd@gnu.org>
1123
1124 * mail/sendmail.el (mail-bury): Call return action with the right
1125 Rmail buffer (Bug#11242).
1126
1127 * server.el (server-process-filter): Handle corner case where both
1128 tty and nowait options are present (Bug#11102).
1129
1130 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1131
1132 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1133 (top level): Put into the executable the ident-style '$Id:' tag on
1134 windows-nt as well.
1135
1136 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * electric.el (electric-indent-post-self-insert-function): Check that
1139 electric-indent-mode is enabled in current buffer.
1140
1141 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1142
1143 * imenu.el (imenu-progress-message): Restore; it is "used" in
1144 erc/erc-imenu.el and net/snmp-mode.el.
1145
1146 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1147
1148 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1149 (mouse-avoidance-nudge-mouse): Remove unused binding.
1150
1151 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1152
1153 * descr-text.el (describe-char):
1154 * progmodes/python.el (python-describe-symbol):
1155 Don't call `toggle-read-only', set `buffer-read-only'.
1156
1157 * imenu.el (imenu-default-goto-function): Mark unused args.
1158 (imenu-progress-message): Remove obsolete macro; all callers changed.
1159
1160 * subr.el (keymap-canonicalize): Remove unused binding.
1161 (read-passwd): Mark unused arg.
1162
1163 * tutorial.el (tutorial--display-changes): Remove unused binding.
1164 (tutorial--save-tutorial-to): Remove unused variable.
1165
1166 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1167 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1168 (package-generate-autoloads, package-menu--generate)
1169 (package-menu--find-upgrades): Remove unused bindings.
1170
1171 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1172 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1173 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1174 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1175 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1176 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1177 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1178 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1179 (cua-delete-char-rectangle): Mark unused args.
1180 (cua-align-rectangle): Remove unused binding.
1181
1182 * mail/rmail.el (compilation--message->loc)
1183 (epa--find-coding-system-for-mime-charset): Declare.
1184
1185 * net/dbus.el (dbus-register-service): Declare.
1186 (dbus-name-owner-changed-handler): Remove unused binding.
1187
1188 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1189 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1190 (nxml-scan-backward-within): Mark unused arg.
1191 (nxml-dynamic-markup-word): Remove unused binding.
1192
1193 * mouse.el (mouse-menu-major-mode-map):
1194 * emacs-lisp/authors.el (authors-scan-change-log)
1195 (authors-add-to-author-list):
1196 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1197 * emacs-lisp/smie.el (smie-auto-fill):
1198 * mail/sendmail.el (mail-bury):
1199 * mail/unrmail.el (unrmail):
1200 * net/tls.el (open-tls-stream):
1201 * textmodes/picture.el (picture-mouse-set-point):
1202 Remove unused bindings.
1203
1204 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1205
1206 * net/tramp.el (tramp-action-password): Let-bind
1207 `enable-recursive-minibuffers' to t.
1208
1209 2012-04-18 Sam Steingold <sds@gnu.org>
1210
1211 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1212 instead of 'string to accommodate values like [f11].
1213 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1214 * progmodes/gdb-mi.el: Likewise.
1215
1216 2012-04-18 Leo Liu <sdl.web@gmail.com>
1217
1218 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1219 current buffer.
1220 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1221 LOCAL is nil.
1222
1223 2012-04-18 Chong Yidong <cyd@gnu.org>
1224
1225 * simple.el (line-move): Use forward-line if in batch mode
1226 (Bug#11053).
1227
1228 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1229
1230 * files.el (after-find-file): Do not try to add a final newline if
1231 the buffer is read-only (Bug#11156).
1232
1233 2012-04-17 Richard Stallman <rms@gnu.org>
1234
1235 * mail/rmail.el (rmail-start-mail):
1236 Pass (rmail-mail-return...) for the return-action.
1237 Pass (rmail-yank-current-message...) for the yank-action.
1238 (rmail-yank-current-message): New function.
1239 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1240 (rmail-reply): Likewise.
1241 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1242
1243 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1244 buffer, not the last. Reject temp buffers. Use the rmail-mode
1245 buffer, not newbuf.
1246
1247 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1248
1249 * server.el (server-ensure-safe-dir): Simplify.
1250
1251 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1252
1253 * emacs-lisp/smie.el: Provide smarter auto-filling.
1254 (smie-auto-fill): New function.
1255 (smie-setup): Use it.
1256
1257 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1258
1259 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1260
1261 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1262 (comment-indent): Use it.
1263
1264 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1265
1266 * ses.el: The overall change is to add cell renaming, that is
1267 setting fancy names for cell symbols other than name matching
1268 "\\`[A-Z]+[0-9]+\\'" regexp .
1269 (ses-localvars): Add ses--renamed-cell-symb-list.
1270 (ses-create-cell-variable): New defun.
1271 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1272 (ses-relocate-formula): Relocate formulas only for cells the
1273 symbols of which are not renamed, i.e. symbols whose names do not
1274 match regexp "\\`[A-Z]+[0-9]+\\'".
1275 (ses-relocate-all): Relocate values only for cells the symbols of
1276 which are not renamed.
1277 (ses-load): Create cells variables as the (ses-cell ...) are read,
1278 in order to check row col consistency with cell symbol name only
1279 for cells that are not renamed.
1280 (ses-replace-name-in-formula): New defun.
1281 (ses-rename-cell): New defun.
1282
1283 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1284
1285 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1286 New option (bug#11118).
1287 (perl-calculate-indent): Respect it.
1288
1289 2012-04-17 Glenn Morris <rgm@gnu.org>
1290
1291 * dired-aux.el (dired-mark-read-string): Doc fix.
1292
1293 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1294
1295 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1296 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1297
1298 2012-04-17 Glenn Morris <rgm@gnu.org>
1299
1300 * mouse.el (mouse-drag-track):
1301 * speedbar.el (speedbar-frame-mode):
1302 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1303
1304 2012-04-16 Leo Liu <sdl.web@gmail.com>
1305
1306 * progmodes/python.el: Trivial cleanup.
1307
1308 2012-04-16 Glenn Morris <rgm@gnu.org>
1309
1310 * vc/vc.el (vc-string-prefix-p):
1311 * vc/pcvs-util.el (cvs-string-prefix-p):
1312 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1313 * mpc.el (mpc-string-prefix-p):
1314 Make all of these into obsolete aliases for string-prefix-p.
1315 Update callers.
1316 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1317
1318 * textmodes/two-column.el: Move custom options to the start.
1319 (frame-width): Remove compat definition.
1320 (2C-associate-buffer, 2C-dissociate):
1321 Use with-current-buffer rather than save-excursion.
1322 (2C-dissociate): Force a mode-line update.
1323 (2C-autoscroll): Use ignore-errors.
1324
1325 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1326 Autoload trivia.
1327
1328 * emacs-lisp/cl-extra.el (*random-state*):
1329 Remove unnecessary declaration.
1330
1331 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1332
1333 * play/cookie1.el (cookie-snarf):
1334 Give an explicit error if input file cannot be read.
1335
1336 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1337
1338 * progmodes/perl-mode.el (c-macro-expand):
1339 Remove unnecessary autoload (it is in loaddefs.el).
1340
1341 * textmodes/picture.el (picture-desired-column)
1342 (picture-update-desired-column): Convert comments to doc-strings.
1343 (picture-substitute): Remove function.
1344 (picture-mode-map): Initialize in the defvar.
1345
1346 * woman.el: Remove eval-after-load for tar-mode.
1347 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1348 (woman-tar-extract-file): Autoload it.
1349
1350 * frame.el (automatic-hscrolling): Make this alias obsolete.
1351
1352 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1353
1354 * ispell.el (ispell-set-spellchecker-params): Post-process
1355 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1356 (ispell-dictionary-base-alist): Revert to original XEmacs
1357 friendly version for default. [:alpha:] will be added in
1358 `ispell-set-spellchecker-params' if needed
1359
1360 2012-04-16 Chong Yidong <cyd@gnu.org>
1361
1362 * image.el (imagemagick--extension-regexp): New variable.
1363 (imagemagick-register-types): Use it.
1364 (imagemagick-types-inhibit): Add :set function. Allow new value
1365 of t to inhibit all types.
1366
1367 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1368 so we can preload it.
1369
1370 * loadup.el (fboundp): Preload regexp-opt, needed by
1371 imagemagick-register-types.
1372
1373 2012-04-15 Chong Yidong <cyd@gnu.org>
1374
1375 * frame.el (scrolling): Remove nearly unused customization group.
1376
1377 * scroll-all.el (scroll-all-mode): Move to windows group.
1378
1379 2012-04-15 Chong Yidong <cyd@gnu.org>
1380
1381 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1382
1383 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1386 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1387
1388 2012-04-15 Glenn Morris <rgm@gnu.org>
1389
1390 * simple.el (process-file-side-effects): Doc fix.
1391
1392 2012-04-15 Glenn Morris <rgm@gnu.org>
1393
1394 * international/mule-cmds.el (set-language-environment): Doc fix.
1395
1396 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1397
1398 * server.el (server-auth-key, server-generate-key): Doc fixes.
1399 (server-get-auth-key): Doc fix. Use `string-match-p'.
1400 (server-start): Reflow docstring.
1401
1402 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1403
1404 * server.el (server-generate-key): `called-interactively-p'
1405 requires a parameter.
1406
1407 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1408
1409 * server.el (server-auth-key): New variable.
1410 (server-generate-key, server-get-auth-key): New function.
1411 (server-start): Use the new variable and functions to allow
1412 setting a permanent server key (bug#9423).
1413
1414 2012-04-14 Leo Liu <sdl.web@gmail.com>
1415
1416 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1417
1418 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1419
1420 Spelling fixes.
1421 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1422 Emacs uses American spelling.
1423
1424 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1425
1426 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1427 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1428 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1429 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1430
1431 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1432
1433 * progmodes/which-func.el (which-func-modes): Change default.
1434
1435 2012-04-14 Kim F. Storm <storm@cua.dk>
1436
1437 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1438 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1439
1440 2012-04-14 Chong Yidong <cyd@gnu.org>
1441
1442 * custom.el (custom-theme-set-variables): Doc fix.
1443
1444 2012-04-14 Glenn Morris <rgm@gnu.org>
1445
1446 * international/mule.el (set-auto-coding-for-load): Doc fix.
1447
1448 2012-04-14 Alan Mackenzie <acm@muc.de>
1449
1450 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1451 imenu work again for Objective C Mode. Correct the *-index values,
1452 these having been disturbed by a previous change in 2011-08.
1453
1454 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1455 Correct two search limits.
1456
1457 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1460
1461 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1462
1463 * international/characters.el: Fix sorting.
1464
1465 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1466
1467 * international/characters.el: Add more missing Latin case pairs.
1468
1469 2012-04-14 Glenn Morris <rgm@gnu.org>
1470
1471 * files.el (dir-locals-set-class-variables): Doc fix.
1472
1473 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1474
1475 * international/characters.el: Add set-case-syntax-pair call for
1476 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1477 counterpart. (Bug#11209)
1478
1479 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1480
1481 2012-04-14 Glenn Morris <rgm@gnu.org>
1482
1483 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1484
1485 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1486
1487 * textmodes/ispell.el (ispell-dictionary-base-alist):
1488 Add data for Hebrew.
1489
1490 2012-04-14 Chong Yidong <cyd@gnu.org>
1491
1492 * net/rcirc.el (rcirc-cmd-quit):
1493 Revert 2012-03-18 change (Bug#11192).
1494
1495 2012-04-14 Glenn Morris <rgm@gnu.org>
1496
1497 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1498
1499 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1500
1501 * minibuffer.el (completion-in-region-mode-map):
1502 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1503
1504 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1505
1506 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1507
1508 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1509
1510 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1511 to allow `C-M-f' and `C-M-b' to move to the nearest path
1512 separator (bug#9511).
1513
1514 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1515
1516 * avoid.el: Require cl when compiling. And also move the
1517 `provide' to the end.
1518
1519 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1520
1521 * avoid.el (mouse-avoidance-banish-position): New variable.
1522 (mouse-avoidance-banish-destination): Use it (bug#10165).
1523
1524 2012-04-13 Leo Liu <sdl.web@gmail.com>
1525
1526 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1527
1528 2012-04-13 Ken Brown <kbrown@cornell.edu>
1529
1530 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1531 this is no longer needed now that cygstart understands file:// URLs.
1532 (browse-url-filename-alist): For the same reason, don't modify
1533 file:// URLs on Cygwin.
1534
1535 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1538 the region on shift if the binding is already shifted (bug#11221).
1539
1540 2012-04-12 Glenn Morris <rgm@gnu.org>
1541
1542 * mail/mailpost.el: Move to obsolete/.
1543
1544 2012-04-12 Drew Adams <drew.adams@oracle.com>
1545
1546 * imenu.el (imenu--generic-function): Ignore invisible definitions
1547 (bug#10123).
1548
1549 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1550
1551 * hexl.el (hexl-bits): New variable.
1552 (hexl-options): Mention the variable in the doc string.
1553 (hexl-rulerise, hexl-line-displen): New functions.
1554 (hexl-mode): Mention the new variable.
1555 (hexl-mode, hexl-current-address, hexl-current-address):
1556 Use the displen.
1557 (hexl-ascii-start-column): New function.
1558 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1559 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1560
1561 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1562
1563 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1564 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1565 the encoding, as expected by hunspell.
1566
1567 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * battery.el (battery--linux-sysfs-regexp): New const.
1570 (battery-status-function): Use it. Remove yeeloong special case.
1571 (battery-yeeloong-sysfs): Remove.
1572 (battery-echo-area-format): Remove yeeloong special case.
1573
1574 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1577 Reported by Noah Friedman.
1578
1579 * subr.el (read-passwd): Use read-string.
1580
1581 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1582
1583 * vcursor.el (vcursor-move): Increase the priority of the overlay
1584 (bug#9663).
1585
1586 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1587
1588 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1589 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1590
1591 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1592
1593 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1594 define-minor-mode (bug#10760).
1595
1596 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1597
1598 * progmodes/grep.el (rgrep): Tweak the find command line so
1599 that directories matching `grep-find-ignored-files' won't be
1600 pruned (bug#10351).
1601
1602 2012-04-11 Chong Yidong <cyd@gnu.org>
1603
1604 * startup.el (command-line): Remove support for long-obsolete
1605 variable font-lock-face-attributes.
1606
1607 2012-04-11 Glenn Morris <rgm@gnu.org>
1608
1609 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1610
1611 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1612
1613 * window.el (window--state-get-1): Obey window-point-insertion-type.
1614
1615 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1616
1617 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1618 to previous function when point is on the first character of a
1619 function. Take care of that in `narrow-to-defun' (bug#6157).
1620
1621 2012-04-11 Glenn Morris <rgm@gnu.org>
1622
1623 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1624 not just file-errors.
1625
1626 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1627 (vc-bzr-sha1): Use internal sha1.
1628
1629 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1630
1631 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1632
1633 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1634
1635 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1636 that start in the middle of the line (bug#10496).
1637
1638 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1639
1640 * battery.el (battery-linux-proc-acpi): Only one battery is
1641 discharged at a time, but that seems to confuse battery.el when
1642 computing `rate-type' for the battery not being discharged
1643 (bug#10332).
1644
1645 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1646
1647 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1648
1649 * international/quail.el: Use dolist and simplify.
1650 (quail-define-package, quail-update-keyboard-layout)
1651 (quail-define-rules): Use dolist.
1652 (quail-insert-kbd-layout, quail-get-translation): CSE.
1653
1654 * tmm.el: Use dolist, remove left over hook.
1655 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1656 Use dolist.
1657 (calendar-load-hook): Don't mess with it.
1658
1659 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1660 Use derived-mode-p. Run the diff asynchronously.
1661
1662 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1663
1664 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1665
1666 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1667
1668 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1669 (list-dynamic-libraries--loaded): New function.
1670 (list-dynamic-libraries--refresh): Use it.
1671
1672 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1673
1674 * progmodes/python.el (python-fill-paragraph):
1675 Make python-fill-region in a multiline string work when font-lock is
1676 disabled (bug#7018).
1677
1678 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1679
1680 * language/european.el (cp775): Add oem/legacy (en)coding on
1681 DOS/MS Windows for the Baltic languages. There are still plenty
1682 of texts written in this encoding/codepage (bug#6519).
1683
1684 2012-04-10 Glenn Morris <rgm@gnu.org>
1685
1686 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1687 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1688
1689 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1690
1691 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1692 next-line "n" and previous-line "p" in order to make recentf more
1693 consistent with ibuffer, dired or org-mode (bug#9387).
1694
1695 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1696
1697 * image.el (put-image): Return the overlay created instead of the
1698 optional input string (bug#7834). Note that this may break code
1699 that is (for some reason or other) depending on `put-image'
1700 returning the string.
1701
1702 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1703
1704 * simple.el (zap-to-char): Allow zapping using input methods
1705 (bug#1580).
1706
1707 * textmodes/fill.el (fill-region): Leave point and mark where they
1708 were before filling (bug#5399).
1709
1710 2012-04-09 Glenn Morris <rgm@gnu.org>
1711
1712 * version.el (emacs-bzr-get-version):
1713 Handle lightweight checkouts of local branches.
1714
1715 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1716
1717 * international/characters.el: Recover lost case pairs. (Bug#11209)
1718
1719 2012-04-09 Chong Yidong <cyd@gnu.org>
1720
1721 * custom.el (custom-variable-p): Return nil for non-symbol
1722 arguments instead of signaling an error.
1723 (user-variable-p): Obsolete alias for custom-variable-p.
1724
1725 * apropos.el (apropos-variable):
1726 * files-x.el (read-file-local-variable):
1727 * simple.el (set-variable):
1728 * woman.el (woman-mini-help):
1729 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1730
1731 2012-04-09 Glenn Morris <rgm@gnu.org>
1732
1733 * startup.el (normal-top-level): Don't look for leim-list.el
1734 in places where it will not be found. (Bug#910)
1735
1736 * international/mule-cmds.el (set-default-coding-systems):
1737 * files.el (normal-mode):
1738 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1739 This function was removed with ucs-tables.el in 2008.
1740
1741 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1742
1743 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1744 ispell-encoding8-command to "-i", without a trailing space.
1745 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1746 separate command-line arguments, to specify the encoding, since
1747 that's how hunspell expects it.
1748
1749 2012-04-08 Glenn Morris <rgm@gnu.org>
1750
1751 * loadup.el: Load bindings before cus-start.
1752 This reduces somewhat the number of "rogue" settings in emacs -Q.
1753
1754 2012-04-07 Glenn Morris <rgm@gnu.org>
1755
1756 * version.el (emacs-bzr-get-version): New function.
1757 (emacs-bzr-version): New variable.
1758 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1759 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1760
1761 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1762
1763 * international/uni-bidi.el, international/uni-category.el:
1764 * international/uni-combining.el, international/uni-decimal.el:
1765 * international/uni-decomposition.el, international/uni-digit.el:
1766 * international/uni-lowercase.el, international/uni-mirrored.el:
1767 * international/uni-name.el, international/uni-numeric.el:
1768 * international/uni-titlecase.el, international/uni-uppercase.el:
1769 Update for Unicode 6.1.
1770
1771 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1772
1773 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1774
1775 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1776
1777 * window.el (shrink-window): Mention the `window-min-height'
1778 variable in the doc string.
1779
1780 2012-04-05 Bastien Guerry <bzg@altern.org>
1781
1782 * color.el (color-lighten-name): Fix typo.
1783
1784 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * server.el (server--on-display-p): New function.
1787 (server--on-display-p): Use it.
1788
1789 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1790
1791 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1792 (bug#11145).
1793
1794 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * comint.el (comint--common-quoted-suffix): Check string boundary
1797 before comparing (bug#11158).
1798 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1799
1800 2012-04-04 Chong Yidong <cyd@gnu.org>
1801
1802 * minibuffer.el (completion-extra-properties): Doc fix.
1803
1804 * subr.el (delayed-warnings-hook): Doc fix.
1805
1806 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1807
1808 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1809 selection (Bug#11159).
1810 (epa-insert-keys): Inform that the default public key will be
1811 exported if no key is selected.
1812
1813 2012-04-04 Richard Stallman <rms@gnu.org>
1814
1815 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1816
1817 2012-04-03 Chong Yidong <cyd@gnu.org>
1818
1819 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1820 mail-insert-file, not its obsolete alias mail-attach-file.
1821
1822 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1823
1824 * notifications.el (notifications-notify): Fix docstring.
1825
1826 2012-04-02 Glenn Morris <rgm@gnu.org>
1827
1828 * emacs-lisp/authors.el (authors-aliases): Another addition.
1829
1830 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1831
1832 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1833 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1834 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1835
1836 2012-04-01 Chong Yidong <cyd@gnu.org>
1837
1838 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1839 Handle root directory properly.
1840 (copy-directory): Caller changed.
1841
1842 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1843 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1844
1845 2012-03-31 Glenn Morris <rgm@gnu.org>
1846
1847 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1848
1849 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1850
1851 * calendar/calendar.el (calendar-window-list)
1852 (calendar-hide-window): Restore. (Bug#11140)
1853 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1854
1855 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1856
1857 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1858
1859 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1860 Check if file is a symlink (Bug#10489).
1861
1862 * files.el (copy-directory): Likewise.
1863
1864 2012-03-30 Chong Yidong <cyd@gnu.org>
1865
1866 * image.el (imagemagick-types-inhibit)
1867 (imagemagick-register-types): Doc fix.
1868
1869 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1870
1871 * ispell.el (ispell-get-extended-character-mode):
1872 Disable extended-char-mode for hunspell. hunspell does not support it
1873 and treats ~word as ordinary words in pipe mode.
1874
1875 2012-03-30 Glenn Morris <rgm@gnu.org>
1876
1877 * tutorial.el (help-with-tutorial): Ensure local variables don't
1878 happen to make the buffer read-only. (Bug#11127)
1879
1880 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1881
1882 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1883 (perl-calculate-indent): Return `noindent' in strings.
1884
1885 2012-03-28 Sam Steingold <sds@gnu.org>
1886
1887 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1888 instead of the broken adhockery which does not prevent calendar
1889 buffers from being displayed at random after exit.
1890 (calendar-window-list, calendar-hide-window): Remove the broken
1891 adhockery.
1892
1893 2012-03-28 Glenn Morris <rgm@gnu.org>
1894
1895 * replace.el (query-replace-map): Doc fix.
1896
1897 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1898
1899 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1900 contents. (Bug#11109)
1901
1902 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1905 (bug#11077).
1906 (avl-tree--check, avl-tree--check-node): New funs.
1907
1908 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1909
1910 * window.el (switch-to-visible-buffer): New option.
1911 (switch-to-prev-buffer, switch-to-next-buffer):
1912 Observe switch-to-visible-buffer. Make sure that checking for a window
1913 showing a buffer already is done on the same frame.
1914
1915 2012-03-27 Glenn Morris <rgm@gnu.org>
1916
1917 * startup.el (mail-host-address): Doc fix.
1918
1919 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1922 than 197 variables.
1923
1924 2012-03-26 Ami Fischman <ami@fischman.org>
1925
1926 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1927
1928 2012-03-26 Glenn Morris <rgm@gnu.org>
1929
1930 * files.el (save-buffers-kill-emacs): Doc fix.
1931
1932 * startup.el (normal-top-level, command-line, command-line-1):
1933 Give them doc strings.
1934
1935 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1936
1937 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1938 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1939
1940 2012-03-25 Chong Yidong <cyd@gnu.org>
1941
1942 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1943 theme if it was previously enabled before (Bug#11031).
1944
1945 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1946 spec with custom-face-get-current-spec if its :shown-value is not
1947 determined yet (Bug#9337).
1948 (customize-create-theme, custom-theme-revert): Doc fixes.
1949
1950 * button.el (button-at): Minor addition to docstring.
1951
1952 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1953
1954 * vc/vc.el (vc-merge): Fix a prompt.
1955
1956 2012-03-24 Chong Yidong <cyd@gnu.org>
1957
1958 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1959 point (Bug#9623).
1960
1961 * button.el (button-at): Minor addition to docstring.
1962
1963 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * newcomment.el (comment-choose-indent): No space after BOL.
1966
1967 2012-03-22 Sam Steingold <sds@gnu.org>
1968
1969 * window.el (switch-to-prev-buffer): Revert last patch because the
1970 bug turned out to be an advertised feature (Elisp manual 28.14).
1971
1972 2012-03-22 Glenn Morris <rgm@gnu.org>
1973
1974 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1975 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1976
1977 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1978
1979 * net/network-stream.el (network-stream-open-starttls): Make error
1980 message under Windows be less misleading.
1981
1982 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1983
1984 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1985 understands (bug#9942).
1986
1987 2012-03-22 Chong Yidong <cyd@gnu.org>
1988
1989 * simple.el (end-of-visible-line): Handle return value of
1990 next-single-property-change properly (Bug#9371).
1991
1992 2012-03-22 Kenichi Handa <handa@m17n.org>
1993
1994 * international/quail.el (quail-insert-kbd-layout): Fix previous
1995 change. To avoid unwanted bidi reordering, use
1996 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1997
1998 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1999
2000 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2001 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2002 (ruby-beginning-of-indent): Be more careful with the difference
2003 between word-boundary and symbol boundary.
2004 (ruby-mode-syntax-table): Make : a symbol constituent.
2005
2006 2012-03-21 Andreas Politz <politza@fh-trier.de>
2007
2008 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2009
2010 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * progmodes/etags.el (tags-completion-at-point-function):
2013 Improve last fix.
2014
2015 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2016
2017 2012-03-21 Sam Steingold <sds@gnu.org>
2018
2019 * progmodes/etags.el (tags-completion-at-point-function):
2020 Avoid the error when point is inside the pattern.
2021
2022 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2023
2024 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2025 line (Bug#10855).
2026
2027 2012-03-21 Drew Adams <drew.adams@oracle.com>
2028
2029 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2030
2031 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2032
2033 * ido.el (ido-set-current-directory, ido-read-internal)
2034 (ido-choose-completion-string, ido-completion-help): Handle nil
2035 value of ido-completion-buffer (Bug#11008).
2036
2037 2012-03-21 Sam Steingold <sds@gnu.org>
2038
2039 * window.el (switch-to-prev-buffer): Do not switch to a visible
2040 window previous buffer, just like with the frame previous buffers.
2041
2042 2012-03-21 Chong Yidong <cyd@gnu.org>
2043
2044 * faces.el (make-face, make-empty-face, copy-face):
2045 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2046 Doc fixes.
2047
2048 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2051 (widget-complete): Remove broken use of it.
2052
2053 2012-03-20 Chong Yidong <cyd@gnu.org>
2054
2055 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2056 Use string-width and truncate-string-width to handle arbitrary
2057 characters.
2058
2059 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2060
2061 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2062 to draw rectangles, not squares. (Regression introduced by revno
2063 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2064
2065 2012-03-18 Chong Yidong <cyd@gnu.org>
2066
2067 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2068 it is not yet defined (for temacs).
2069
2070 2012-03-18 Leo Liu <sdl.web@gmail.com>
2071
2072 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2073
2074 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2075
2076 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2077 (ispell-choices-win-default-height, ispell-silently-savep)
2078 (ispell-dictionary-alist, ispell-encoding8-command)
2079 (ispell-check-version, ispell-aspell-find-dictionary)
2080 (ispell-valid-dictionary-list, ispell-words-keyword)
2081 (ispell-get-word, ispell-internal-change-dictionary)
2082 (ispell-region, ispell-skip-region-list)
2083 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2084 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2085 (ispell-message-text-end, ispell-message)
2086 (ispell-buffer-local-parsing): Doc fix.
2087
2088 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2089
2090 * htmlfontify.el: Add support for code block fontification for ODT
2091 export (Bug #9914).
2092 (hfy-optimisations): Define new option
2093 `body-text-only'
2094 (hfy-fontify-buffer): Honor above setting.
2095 (hfy-begin-span, hfy-end-span): New routines factored out form
2096 `hfy-fontify-buffer'.
2097 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2098 that permit insertion of custom tags.
2099 (hfy-fontify-buffer): Use above handlers.
2100 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2101 (hfy-face-to-css): Re-defined to be a variable.
2102 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2103 over multiple runs. This is made possible by having the caller let
2104 bind a special variable `hfy-user-sheet-assoc'.
2105 (htmlfontify-string): New defun.
2106 (hfy-compile-face-map): Make sure that the last char in the
2107 buffer is correctly fontified.
2108 (hfy-face-resolve-face): Whitespace only change.
2109
2110 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2111
2112 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2113 message more clear.
2114
2115 2012-03-16 Leo Liu <sdl.web@gmail.com>
2116
2117 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2118
2119 2012-03-16 Alan Mackenzie <acm@muc.de>
2120
2121 Further optimise the handling of large macros.
2122
2123 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2124 limit to a call of `c-literal-limits'.
2125 (c-determine-+ve-limit): New function.
2126 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2127 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2128 In CASE 5B, restrict a search limit to 500.
2129 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2130
2131 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2132 Restrict macro bounds to +-500 from after-change's BEG END.
2133
2134 2012-03-16 Leo Liu <sdl.web@gmail.com>
2135
2136 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2137
2138 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2139
2140 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2141 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2142
2143 2012-03-16 Glenn Morris <rgm@gnu.org>
2144
2145 * view.el (view-buffer, view-buffer-other-window)
2146 (view-buffer-other-frame): Doc fixes re special mode-class.
2147
2148 * subr.el (eval-after-load): If named feature is provided not from
2149 a file, run after-load forms. (Bug#10946)
2150
2151 * calendar/calendar.el (calendar-insert-at-column):
2152 Handle non-unit-width characters a bit better. (Bug#10978)
2153
2154 2012-03-15 Chong Yidong <cyd@gnu.org>
2155
2156 * emacs-lisp/ring.el (ring-extend): New function.
2157 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2158
2159 * comint.el (comint-read-input-ring)
2160 (comint-add-to-input-history): Grow comint-input-ring lazily.
2161
2162 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2165 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2166
2167 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2168 (imenu-add-to-menubar): Don't add a redundant index.
2169 (imenu-update-menubar): Handle a dynamically composed keymap.
2170
2171 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2172
2173 * mail/sendmail.el (mail-encode-header):
2174 Bind rfc2047-encode-encoded-words to nil.
2175
2176 2012-03-13 Glenn Morris <rgm@gnu.org>
2177
2178 * calendar/calendar.el (calendar-string-spread):
2179 Handle non-unit-width characters a bit better. (Bug#10978)
2180
2181 2012-03-13 Leo Liu <sdl.web@gmail.com>
2182
2183 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2184 directory and file as argument (Bug#10822).
2185
2186 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2187
2188 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2189 For dynamically generated code, follow $PC.
2190 (gdb-disassembly-handler-custom): Handle no function name case.
2191
2192 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2193
2194 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2195 * emulation/ws-mode.el (ws-query-replace):
2196 * sort.el (sort-regexp-fields):
2197 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2198
2199 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * dabbrev.el: Fix cycle completion order (bug#10963).
2202 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2203 (dabbrev-completion): Don't use an obarray; provide
2204 a cycle-sort-function.
2205
2206 2012-03-12 Leo Liu <sdl.web@gmail.com>
2207
2208 * simple.el (kill-new): Use equal-including-properties for comparison.
2209 (kill-do-not-save-duplicates): Doc fix.
2210
2211 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * dabbrev.el: Fix cycle completion (bug#10963).
2214 Use lexical binding and wrap to 80 columns.
2215 (dabbrev-completion): Delay computing the list of completions.
2216
2217 2012-03-12 Kenichi Handa <handa@m17n.org>
2218
2219 * international/quail.el (quail-insert-kbd-layout): Surround each
2220 row by LRO and PDF instead of inserting many LRMs. Pad the left
2221 and right of each non-spacing marks. Insert invisible space
2222 between lower and upper characters to prevent composition.
2223
2224 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * minibuffer.el (minibuffer-complete): Don't get confused when the
2227 function is run twice via different commands (bug#10958).
2228 (complete-with-action): Fix docstring.
2229
2230 2012-03-12 Chong Yidong <cyd@gnu.org>
2231
2232 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2233 (nxml-completion-at-point-function): New function.
2234 (nxml-mode): Use it.
2235 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2236
2237 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2238 Load generated autoloads file before byte compiling (Bug#10970).
2239 (package--make-autoloads-and-compile): New helper fun.
2240
2241 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2242
2243 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2244
2245 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2246
2247 * autorevert.el (auto-revert-handler): Ensure, that
2248 file-readable-p is applied only for local files or in
2249 auto-revert-tail-mode.
2250
2251 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2252
2253 * server.el (server-eval-at): Handle non-tcp connections.
2254 Decode result string.
2255
2256 * server.el (server-msg-size): New constant.
2257 (server-reply-print): New function.
2258 (server-eval-and-print): Use it.
2259 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2260 Handle -print-nonl.
2261
2262 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2263
2264 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2265 (Bug#10987).
2266
2267 2012-03-11 Chong Yidong <cyd@gnu.org>
2268
2269 * simple.el (goto-line): Doc fix (Bug#9938).
2270
2271 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2272
2273 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2274 when finished (Bug#10963).
2275
2276 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2277
2278 * window.el (split-window-below): Fix bug in case where
2279 split-window-keep-point is nil (Bug#10971).
2280
2281 2012-03-11 Juri Linkov <juri@jurta.org>
2282
2283 * replace.el (replace-highlight): Set isearch-word to nil
2284 unconditionally. (Bug#10887)
2285
2286 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2287
2288 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2289 mairix-replace-illegal-chars; all callers changed. Don't remove
2290 ^, ~, and = characters: they are meaningful in mairix search specs.
2291 (mairix-widget-create-query): Add usage information about mairix
2292 search forms: negating words, searching for substrings, etc.
2293
2294 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2295
2296 * international/fontset.el (font-encoding-alist): Add an entry for
2297 ksx1001 (Bug#5667).
2298
2299 2012-03-10 Richard Stallman <rms@gnu.org>
2300
2301 * mail/sendmail.el (mail-encode-header):
2302 Set rfc2047-encode-encoded-words.
2303
2304 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2305
2306 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2307 view buffer means not swapped.
2308 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2309 (rmail-write-region-annotate): Error if real text has disappeared.
2310
2311 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2312
2313 2012-03-10 Chong Yidong <cyd@gnu.org>
2314
2315 * emulation/cua-rect.el (cua--init-rectangles):
2316 * emulation/cua-base.el (cua--init-keymaps):
2317 Add delete-forward-char to remappings (Bug#9666).
2318
2319 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2320
2321 * speedbar.el (speedbar-unhighlight-one-tag-line):
2322 Avoid unhighlighting due to frame switching (Bug#10275).
2323
2324 2012-03-10 Chong Yidong <cyd@gnu.org>
2325
2326 * minibuffer.el (completion-in-region, completion-help-at-point):
2327 Give the completion field overlay a high priority (Bug#6830).
2328
2329 * dired.el (dired-goto-file): Recognize absolute file name
2330 listings (Bug#7126).
2331 (dired-goto-file-1): New helper function.
2332 (dired-toggle-read-only): Inhibit warnings.
2333
2334 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2335
2336 * net/dbus.el (dbus-property-handler): Return empty array if
2337 there are no properties.
2338
2339 2012-03-09 Leo Liu <sdl.web@gmail.com>
2340
2341 * savehist.el (savehist-printable): Stricter check for string
2342 value (Bug#10937).
2343
2344 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2345
2346 * mail/smtpmail.el (smtpmail-send-it):
2347 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2348 valid mbox format.
2349
2350 2012-03-09 Glenn Morris <rgm@gnu.org>
2351
2352 * files.el (dir-locals-find-file):
2353 Don't check result is regular, readable.
2354 (dir-locals-read-from-file): Demote errors.
2355
2356 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2357
2358 * international/quail.el (quail-insert-kbd-layout):
2359 Insert invisible LRM characters before each character in a keyboard
2360 layout cell, to prevent their reordering by bidi display engine.
2361 For details, see the discussion in
2362 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2363
2364 2012-03-08 Alan Mackenzie <acm@muc.de>
2365
2366 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2367 the starting position; make it extend the marked region when
2368 invoked repeatedly - all under appropriate circumstances.
2369 Fixes bugs #5525, #10906.
2370
2371 2012-03-08 Glenn Morris <rgm@gnu.org>
2372
2373 * files.el (locate-dominating-file, dir-locals-find-file):
2374 Undo 2012-03-06 change.
2375
2376 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2377
2378 * international/quail.el (quail-help):
2379 Force bidi-paragraph-direction be left-to-right. See discussion in
2380 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2381 for the reason.
2382
2383 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2384
2385 Avoid superfluous registering of signals. (Bug#10807)
2386
2387 * notifications.el (notifications-on-action-object)
2388 (notifications-on-close-object): New defvars.
2389 (notifications-on-action-signal, notifications-on-closed-signal):
2390 Unregister the signal if not needed any longer.
2391 (notifications-notify): Register `notifications-action-signal' or
2392 `notifications-closed-signal', if :on-action or :on-close has been
2393 passed as argument.
2394
2395 2012-03-07 Chong Yidong <cyd@gnu.org>
2396
2397 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2398 non-X platforms.
2399
2400 2012-03-06 Glenn Morris <rgm@gnu.org>
2401
2402 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2403 (x-disown-selection-internal, x-get-selection-internal):
2404 Doc fix (add arglist signatures). (Bug#10783)
2405
2406 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2407
2408 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2409 Handle breakpoints with no "type".
2410
2411 2012-03-06 Glenn Morris <rgm@gnu.org>
2412
2413 * files.el (locate-dominating-file): Add optional predicate argument.
2414 (dir-locals-find-file): Make use of above change.
2415
2416 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2417
2418 * info.el (Info-insert-dir): Also try "dir.gz".
2419
2420 2012-03-06 Glenn Morris <rgm@gnu.org>
2421
2422 * files.el (dir-locals-find-file):
2423 Ignore non-readable or non-regular files. (Bug#10928)
2424
2425 * files.el (locate-dominating-file): Doc fix.
2426
2427 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2428
2429 * calendar/calendar.el (calendar-set-mode-line):
2430 `getenv' returns a string. (Bug#10951)
2431
2432 2012-03-05 Leo Liu <sdl.web@gmail.com>
2433
2434 * simple.el (backward-delete-char-untabify): Constrain point to
2435 field (Bug#10939).
2436
2437 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2438
2439 2012-03-05 Chong Yidong <cyd@gnu.org>
2440
2441 * simple.el (count-words): If called from Lisp, return the word
2442 count, for symmetry with `count-lines'. Arglist changed.
2443 (count-words--message): Args changed. Consolidate counting code
2444 from count-words and count-words-region.
2445 (count-words-region): Caller changed.
2446 (count-lines-region): Make it an obsolete alias.
2447
2448 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2449
2450 * saveplace.el (save-place-to-alist)
2451 (save-place-ignore-files-regexp): Allow value nil to disable this
2452 feature.
2453
2454 2012-03-04 Chong Yidong <cyd@gnu.org>
2455
2456 * faces.el (face-spec-reset-face): For the default face, reset the
2457 attributes to default values (Bug#10748).
2458
2459 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2460
2461 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2462 previous patch: Check `message-send-mail-function', and not the
2463 default function (bug#10897).
2464
2465 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2466
2467 * notifications.el (notifications-on-action-signal)
2468 (notifications-on-closed-signal): Check for unique service name of
2469 incoming event. Fix error in removing entry.
2470 (top): Register for signals with wildcard service name.
2471 (notifications-notify): Use daemon unique service name for map entries.
2472
2473 2012-03-04 Chong Yidong <cyd@gnu.org>
2474
2475 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2476
2477 2012-03-04 Glenn Morris <rgm@gnu.org>
2478
2479 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2480 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2481 (expand-abbrev, define-abbrev-table): Doc fixes.
2482
2483 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2484
2485 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2486 `message-default-send-mail-function' and not `send-mail-function'
2487 when doing the prompting for `sendmail-query-once' before sending
2488 in Message buffers (bug#10897).
2489
2490 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2491 This is inconsistent with all the other stream functions, which leave
2492 the setting up to the higher levels (if so wanted) (bug#10931).
2493
2494 2012-03-02 Alan Mackenzie <acm@muc.de>
2495
2496 Depessimize the handling of very large macros.
2497
2498 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2499 (c-macro-cache-syntactic): New variables to implement a one
2500 element macro cache.
2501 (c-invalidate-macro-cache): New function.
2502 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2503 Adapt to use the new cache.
2504 (c-state-safe-place): Use better the cache of safe positions.
2505 (c-state-semi-nonlit-pos-cache)
2506 (c-state-semi-nonlit-pos-cache-limit):
2507 New variables for...
2508 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2509 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2510 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2511 Use c-state-semi-safe-place.
2512
2513 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2514 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2515
2516 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2517
2518 * jka-compr.el (jka-compr-call-process):
2519 Apply `file-accessible-directory-p' only when the default directory is
2520 not remote.
2521
2522 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2523
2524 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2525 access of FILE2, if FILE1 does not exist.
2526
2527 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2528 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2529
2530 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2531 Add "PAGER=" to `process-environment'.
2532
2533 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2534
2535 * progmodes/sql.el: Bug fix
2536 (sql-get-login-ext): Save login values in globals.
2537 (sql-get-login): Use new version of `sql-get-login-ext'.
2538 (sql-interactive-mode): Set global `sql-connection' to nil.
2539 (sql-connect): Set global values for connection.
2540 (sql-product-interactive): Save global values as buffer local.
2541
2542 2012-02-29 Leo Liu <sdl.web@gmail.com>
2543
2544 * abbrev.el (define-abbrevs): Reset sys to nil.
2545
2546 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2547
2548 * files.el (file-equal-p): Rename from `files-equal-p'.
2549 Return nil when one or both files don't exist.
2550 (file-subdir-of-p): Now only top directory must exists,
2551 return nil if it doesn't.
2552 (copy-directory): No need to test with `file-subdir-of-p' after
2553 creating dir.
2554 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2555 to `file-equal-p'.
2556
2557 2012-02-28 Glenn Morris <rgm@gnu.org>
2558
2559 * shell.el (shell-mode):
2560 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2561 * play/landmark.el (landmark-font-lock-face-O):
2562 * play/handwrite.el (handwrite):
2563 * play/gomoku.el (gomoku-O):
2564 * net/browse-url.el (browse-url-browser-display):
2565 * international/mule.el (define-charset):
2566 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2567 * filesets.el (filesets-find-file-delay):
2568 * eshell/em-xtra.el (eshell-xtra):
2569 * eshell/em-unix.el (eshell-grep):
2570 * emulation/viper.el (viper-mode):
2571 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2572 * emacs-lisp/easymenu.el (easy-menu-define):
2573 * calendar/timeclock.el (timeclock-use-display-time):
2574 * bs.el (bs-mode):
2575 * bookmark.el (bookmark-save-flag):
2576 Doc fix (standardize possessive apostrophe usage).
2577
2578 2012-02-27 Chong Yidong <cyd@gnu.org>
2579
2580 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2581 Fix key-binding lookup for ESC key (Bug#9146).
2582
2583 * font-lock.el (font-lock-specified-p): Rename from
2584 font-lock-spec-present. Callers changed.
2585
2586 2012-02-27 Daniel Hackney <dan@haxney.org>
2587
2588 * emacs-lisp/package.el (package-compute-transaction):
2589 Handle holding a package version to t in package-load-list.
2590
2591 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2592
2593 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2594 (tramp-get-inode, tramp-get-device): Use cached values.
2595
2596 2012-02-26 Alan Mackenzie <acm@muc.de>
2597
2598 Check there is a font-lock specification before doing initial
2599 fontification.
2600
2601 * font-core.el (font-lock-mode): Move the conditional from
2602 :after-hook to font-lock-initial-fontify.
2603 (font-lock-default-function): Move the check for a specification
2604 to font-lock-spec-present.
2605
2606 * font-lock.el (font-lock-initial-fontify): Call ...
2607 (font-lock-spec-present): New function.
2608
2609 2012-02-26 Jim Blandy <jimb@red-bean.com>
2610
2611 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2612 (gdb-send): Apply it to the operand of the '-interpreter-exec
2613 console' command, so that we can pass arguments with (say) quotes
2614 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2615
2616 2012-02-26 Chong Yidong <cyd@gnu.org>
2617
2618 * help-fns.el (describe-function-1): Clarify description of
2619 remapping (Bug#10844).
2620
2621 * files.el (files-equal-p): Doc fix.
2622 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2623 and quit the loop once a mismatch is found.
2624
2625 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2626
2627 * bs.el (bs--show-with-configuration): Don't throw an error
2628 if the window cannot be split; otherwise, subsequent calls to
2629 bs-show fail, restoring a stale window config. (Bug#10882)
2630
2631 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2632
2633 * term/ns-win.el (global-map): Bind ns-drag-file to
2634 ns-find-file (Bug#5855, Bug#10050).
2635
2636 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2637
2638 * calendar/parse-time.el (parse-time-string): Allow extractor to
2639 return nil.
2640
2641 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2642
2643 * net/tramp.el (tramp-file-name-for-operation):
2644 Add `files-equal-p' and `file-subdir-of-p'.
2645
2646 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2647 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2648 Add COPY-CONTENTS argument.
2649
2650 2012-02-25 Chong Yidong <cyd@gnu.org>
2651
2652 Add custom groups for VC backends, for consistency with vc-bzr.
2653
2654 * vc/vc-arch.el (vc-arch):
2655 * vc/vc-cvs.el (vc-cvs):
2656 * vc/vc-git.el (vc-git):
2657 * vc/vc-hg.el (vc-hg):
2658 * vc/vc-mtn.el (vc-mtn):
2659 * vc/vc-rcs.el (vc-rcs):
2660 * vc/vc-sccs.el (vc-sccs):
2661 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2662 All relevant defcustoms reassigned.
2663
2664 2012-02-25 Chong Yidong <cyd@gnu.org>
2665
2666 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2667
2668 * term/x-win.el (x-initialize-window-system): Reduce default for
2669 x-selection-timeout to 5 seconds (Bug#8869).
2670
2671 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2672
2673 * files.el (files-equal-p, file-subdir-of-p): New functions.
2674 (copy-directory): Error when trying to copy a directory on itself.
2675 Add missing copy-contents arg to tramp handler.
2676 * dired-aux.el (dired-copy-file-recursive): Same.
2677 (dired-create-files): Modify destination when source is equal to
2678 dest when copying files.
2679 Return also when dest is a subdir of source. (Bug#10489)
2680
2681 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2682
2683 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2684 (Bug#10874)
2685
2686 2012-02-23 Alan Mackenzie <acm@muc.de>
2687
2688 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2689 parameter "after-hook:" to allow the expansion to run code after
2690 the execution of the mode hooks.
2691
2692 * font-lock.el (font-lock-initial-fontify): New function extracted
2693 from font-lock-mode-internal.
2694
2695 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2696 :after-hook.
2697
2698 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2701 (completion--cache-all-sorted-completions): New function.
2702 (completion-all-sorted-completions): Use it.
2703 (completion--do-completion, minibuffer-force-complete):
2704 Use it to re-instate the flush hook.
2705
2706 * icomplete.el (icomplete-completions): Replace last fix with a better
2707 one (bug#10850).
2708
2709 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2710
2711 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2712 when it might call us back infinitely (bug#10797).
2713
2714 2012-02-23 Glenn Morris <rgm@gnu.org>
2715
2716 * minibuffer.el (completion-category-overrides): Doc fix.
2717
2718 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2719
2720 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2721 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2722
2723 2012-02-23 Glenn Morris <rgm@gnu.org>
2724
2725 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2726 (authors-obsolete-files-regexps, authors-ignored-files)
2727 (authors-ambiguous-files, authors-renamed-files-alist):
2728 Add more entries.
2729
2730 2012-02-23 Juri Linkov <juri@jurta.org>
2731
2732 * isearch.el (isearch-occur): Sync interactive spec with occur's
2733 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2734
2735 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2736
2737 2012-02-22 Juri Linkov <juri@jurta.org>
2738
2739 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2740 (ucs-insert): Doc fix. Check for hex digits in the string.
2741 Don't display `nil' in the error message. (Bug#10857)
2742
2743 2012-02-22 Alan Mackenzie <acm@muc.de>
2744
2745 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2746
2747 2012-02-22 Glenn Morris <rgm@gnu.org>
2748
2749 * ffap.el (ffap-c-path):
2750 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2751
2752 2012-02-22 Chong Yidong <cyd@gnu.org>
2753
2754 * custom.el (load-theme): Doc fix.
2755
2756 2012-02-22 Glenn Morris <rgm@gnu.org>
2757
2758 * dired-x.el (dired-guess-shell-alist-default):
2759 Remove escape sequences from nroff output. (Bug#172)
2760
2761 2012-02-21 Glenn Morris <rgm@gnu.org>
2762
2763 * vc/emerge.el (emerge-defvar-local):
2764 Set `permanent-local' property rather than unused `preserved'.
2765
2766 * textmodes/picture.el (picture-delete-char): New alias.
2767 (picture-mode-map): Use it. (Bug#10860)
2768 (picture-mode): Doc fix.
2769
2770 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2771
2772 * newcomment.el (uncomment-region-default): Remove unused binding.
2773
2774 2012-02-21 Glenn Morris <rgm@gnu.org>
2775
2776 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2777 (picture-self-insert, picture-tab-chars): Doc fix.
2778 (picture-mode-map): Fix C-a, C-e.
2779
2780 2012-02-20 Glenn Morris <rgm@gnu.org>
2781
2782 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2783
2784 2012-02-20 Leo Liu <sdl.web@gmail.com>
2785
2786 * icomplete.el (icomplete-completions): Check FROM arg before
2787 passing to substring (Bug#10850).
2788
2789 2012-02-19 Chong Yidong <cyd@gnu.org>
2790
2791 * comint.el: Require ansi-color.
2792 (comint-output-filter-functions): Add ansi-color-process-output.
2793
2794 * ansi-color.el: Don't set comint-output-filter-functions; it is
2795 now in the initial value defined in comint.el.
2796 (ansi-color-apply-face-function): New variable.
2797 (ansi-color-apply-on-region): Use it.
2798 (ansi-color-apply-overlay-face): New function.
2799
2800 * shell.el (shell): No need to require ansi-color.
2801 (shell-mode): Use ansi-color-apply-face-function to highlight
2802 color escapes using font-lock-face property (Bug#10835).
2803
2804 2012-02-19 Chong Yidong <cyd@gnu.org>
2805
2806 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2807 mode-line formats (Bug#10839).
2808
2809 2012-02-18 Glenn Morris <rgm@gnu.org>
2810
2811 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2812
2813 * mail/undigest.el (unforward-rmail-message): Doc fix.
2814
2815 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2816
2817 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2818
2819 * international/characters.el (script-list): Sync with the latest
2820 Unicode Character Database.
2821
2822 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2823
2824 * international/titdic-cnv.el: Remove duplicate coding tag.
2825 * language/cham.el: Likewise.
2826 * language/tai-viet.el: Likewise.
2827
2828 2012-02-18 Glenn Morris <rgm@gnu.org>
2829
2830 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2831 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2832 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2833 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2834 * calendar/holidays.el (holiday-bahai-holidays)
2835 (calendar-holidays, list-holidays):
2836 Use utf-8 Bahá'í in doc-strings, menus, etc.
2837
2838 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2839
2840 * saveplace.el (save-place-ignore-files-regexp): New variable
2841 allowing for excluding files from saving their location of point.
2842 The default value matches the temporary commit message editing
2843 files from Git, SVN, Bazaar, and Mercurial.
2844 (save-place-to-alist): Use it.
2845
2846 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2847 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * newcomment.el (uncomment-region-default): Don't leave extra space
2850 when an arg is provided (bug#8150).
2851
2852 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2853
2854 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2855
2856 2012-02-17 Glenn Morris <rgm@gnu.org>
2857
2858 * net/socks.el: Require network-stream. (Bug#10599)
2859
2860 2012-02-17 Kenichi Handa <handa@m17n.org>
2861
2862 * international/charprop.el:
2863 * international/uni-name.el:
2864 * international/uni-old-name.el:
2865 * international/uni-comment.el: Regenerate.
2866
2867 2012-02-16 Glenn Morris <rgm@gnu.org>
2868
2869 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2870 Interactively in calendar buffer, give an error if not on a date.
2871
2872 2012-02-15 Glenn Morris <rgm@gnu.org>
2873
2874 * shell.el (shell-delimiter-argument-list):
2875 Revert 2011-02-17 change. (Bug#8027)
2876
2877 2012-02-15 Chong Yidong <cyd@gnu.org>
2878
2879 * minibuffer.el (completion-at-point-functions): Doc fix.
2880
2881 * custom.el (defcustom): Doc fix; note use of defvar.
2882
2883 2012-02-15 Glenn Morris <rgm@gnu.org>
2884
2885 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2886 Doc fixes.
2887
2888 2012-02-14 Glenn Morris <rgm@gnu.org>
2889
2890 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2891
2892 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2893
2894 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2895 way the ports list is computed.
2896 (smtpmail-query-smtp-server): Prompt the user for a port number if
2897 we can't connect to any of the standard ports (bug#10810).
2898
2899 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2900
2901 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2902
2903 2012-02-13 Glenn Morris <rgm@gnu.org>
2904
2905 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2906
2907 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2908
2909 * net/gnutls.el (gnutls-trustfiles): New variable.
2910 (gnutls-negotiate): Use it.
2911
2912 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2913
2914 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2915 does its stuff if Gnus is running.
2916
2917 2012-02-13 Alan Mackenzie <acm@muc.de>
2918
2919 Fix a loop in c-set-fl-decl-start.
2920
2921 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2922 c-backward-syntactic-ws actually moves backwards.
2923
2924 2012-02-13 Leo Liu <sdl.web@gmail.com>
2925
2926 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2927 beginning so that all \C-o chars are removed.
2928
2929 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2930
2931 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2932
2933 2012-02-12 Alan Mackenzie <acm@muc.de>
2934
2935 Fix infinite loop with long macros.
2936 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2937
2938 2012-02-12 Chong Yidong <cyd@gnu.org>
2939
2940 * window.el (display-buffer): Doc fix (Bug#10785).
2941
2942 2012-02-12 Glenn Morris <rgm@gnu.org>
2943
2944 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2945 (x-disown-selection-internal, x-get-selection-internal):
2946 Sync docs with the xselect.c versions.
2947
2948 * allout-widgets.el: Add missing license notice.
2949
2950 2012-02-11 Glenn Morris <rgm@gnu.org>
2951
2952 * select.el (x-get-selection-internal, x-own-selection-internal)
2953 (x-disown-selection-internal):
2954 * x-dnd.el (x-get-selection-internal): Update declarations.
2955
2956 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2957
2958 * window.el (window-sides-slots):
2959 * tool-bar.el (tool-bar-position):
2960 * term/xterm.el (xterm-extra-capabilities):
2961 * ses.el (ses-self-reference-early-detection):
2962 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2963 (verilog-auto-wire-type)
2964 (verilog-auto-delete-trailing-whitespace)
2965 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2966 (verilog-auto-tieoff-declaration):
2967 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2968 (sql-oracle-statement-starters, sql-oracle-scan-on):
2969 * progmodes/prolog.el (prolog-align-comments-flag)
2970 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2971 (prolog-left-indent-regexp, prolog-paren-indent-p)
2972 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2973 (prolog-types, prolog-mode-specificators)
2974 (prolog-determinism-specificators, prolog-directives)
2975 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2976 (prolog-electric-dot-flag)
2977 (prolog-electric-dot-full-predicate-template)
2978 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2979 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2980 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2981 (prolog-program-switches, prolog-prompt-regexp)
2982 (prolog-debug-on-string, prolog-debug-off-string)
2983 (prolog-trace-on-string, prolog-trace-off-string)
2984 (prolog-zip-on-string, prolog-zip-off-string)
2985 (prolog-use-standard-consult-compile-method-flag)
2986 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2987 (prolog-imenu-max-lines, prolog-info-predicate-index)
2988 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2989 (prolog-char-quote-workaround):
2990 * progmodes/cc-vars.el (c-defun-tactic):
2991 * net/tramp.el (tramp-encoding-command-interactive)
2992 (tramp-local-end-of-line):
2993 * net/soap-client.el (soap-client):
2994 * net/netrc.el (netrc-file):
2995 * net/gnutls.el (gnutls):
2996 * minibuffer.el (completion-category-overrides)
2997 (completion-cycle-threshold)
2998 (completion-pcm-complete-word-inserts-delimiters):
2999 * man.el (Man-name-local-regexp):
3000 * mail/feedmail.el (feedmail-display-full-frame):
3001 * international/characters.el (glyphless-char-display-control):
3002 * eshell/em-ls.el (eshell-ls-date-format):
3003 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3004 (lisp-lambda-list-keyword-parameter-indentation)
3005 (lisp-lambda-list-keyword-parameter-alignment):
3006 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3007 * dired-x.el (dired-omit-verbose):
3008 * cus-theme.el (custom-theme-allow-multiple-selections):
3009 * calc/calc.el (calc-highlight-selections-with-faces)
3010 (calc-lu-field-reference, calc-lu-power-reference)
3011 (calc-note-threshold):
3012 * battery.el (battery-mode-line-limit):
3013 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3014 (archive-7z-update):
3015 * allout.el (allout-prefixed-keybindings)
3016 (allout-unprefixed-keybindings)
3017 (allout-inhibit-auto-fill-on-headline)
3018 (allout-flattened-numbering-abbreviation):
3019 * allout-widgets.el (allout-widgets-auto-activation)
3020 (allout-widgets-icons-dark-subdir)
3021 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3022 (allout-widgets-theme-dark-background)
3023 (allout-widgets-theme-light-background)
3024 (allout-widgets-item-image-properties-emacs)
3025 (allout-widgets-item-image-properties-xemacs)
3026 (allout-widgets-run-unit-tests-on-load)
3027 (allout-widgets-time-decoration-activity)
3028 (allout-widgets-hook-error-post-time)
3029 (allout-widgets-track-decoration):
3030 Add missing :version tags to new defcustoms and defgroups.
3031
3032 * progmodes/sql.el (sql-ansi-statement-starters)
3033 (sql-oracle-statement-starters): Add custom type.
3034
3035 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3036 (prolog-system-version): Give it a type.
3037
3038 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3039
3040 * term/pc-win.el (x-select-text, x-selection-owner-p)
3041 (x-own-selection-internal, x-disown-selection-internal)
3042 (x-get-selection-internal): Sync doc strings and argument lists
3043 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3044
3045 2012-02-11 Leo Liu <sdl.web@gmail.com>
3046
3047 * progmodes/python.el (python-end-of-statement): Fix infinite
3048 loop. (Bug#10788)
3049
3050 2012-02-10 Glenn Morris <rgm@gnu.org>
3051
3052 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3053 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3054
3055 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3056
3057 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3058 about SMTP before checking the From header.
3059
3060 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3061 into own function for reuse by emacsbug.el.
3062
3063 2012-02-10 Leo Liu <sdl.web@gmail.com>
3064
3065 * subr.el (condition-case-unless-debug): Rename from
3066 condition-case-no-debug. All callers changed.
3067 (with-demoted-errors): Fix caller.
3068
3069 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3070 * nxml/rng-valid.el (rng-do-some-validation):
3071 * emacs-lisp/package.el (package-refresh-contents)
3072 (package-menu-execute):
3073 * desktop.el (desktop-create-buffer):
3074 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3075
3076 2012-02-10 Glenn Morris <rgm@gnu.org>
3077
3078 * textmodes/bibtex.el:
3079 Add missing :version tags for new/changed defcustoms.
3080
3081 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3082
3083 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3084
3085 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3086 (smtpmail-via-smtp): Use it, or fall back on the From address.
3087 (smtpmail-send-it): Ditto.
3088
3089 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3092 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3093 (byte-compile-tmp-var): New const.
3094 (byte-compile-defvar): Use it to minimize .elc size.
3095 Just use `defvar' rather than simulate it (bug#10761).
3096
3097 2012-02-09 Glenn Morris <rgm@gnu.org>
3098
3099 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3100
3101 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3102 Add :version tags.
3103
3104 * progmodes/compile.el (compilation-error-screen-columns)
3105 (compilation-first-column, compilation-filter-start): Doc fixes.
3106
3107 * vc/log-view.el (log-view-toggle-entry-display):
3108 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3109
3110 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3111 (report-emacs-bug-can-use-xdg-email):
3112 (report-emacs-bug-insert-to-mailer): Doc fixes.
3113 (report-emacs-bug): Message fix.
3114
3115 * net/browse-url.el (browse-url-can-use-xdg-open)
3116 (browse-url-xdg-open): Doc fixes.
3117
3118 * electric.el (electric-indent-mode, electric-pair-mode)
3119 (electric-layout-rules, electric-layout-mode): Doc fixes.
3120 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3121
3122 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3123
3124 * server.el (server-unselect-display): Don't inadvertently kill
3125 the current buffer. (Bug#10729)
3126
3127 2012-02-08 Glenn Morris <rgm@gnu.org>
3128
3129 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3130 (sql-list-table): Doc fixes.
3131
3132 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3133 Comment out (does nothing).
3134
3135 * completion.el (dynamic-completion-mode):
3136 * dirtrack.el (dirtrack-debug-mode):
3137 * electric.el (electric-layout-mode):
3138 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3139 * face-remap.el (text-scale-mode, buffer-face-mode):
3140 * iimage.el (iimage-mode):
3141 * image-mode.el (image-transform-mode):
3142 * minibuffer.el (completion-in-region-mode):
3143 * scroll-lock.el (scroll-lock-mode):
3144 * simple.el (next-error-follow-minor-mode):
3145 * tar-mode.el (tar-subfile-mode):
3146 * tooltip.el (tooltip-mode):
3147 * vcursor.el (vcursor-use-vcursor-map):
3148 * wid-browse.el (widget-minor-mode):
3149 * emulation/tpu-edt.el (tpu-edt-mode):
3150 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3151 * international/iso-ascii.el (iso-ascii-mode):
3152 * language/thai-util.el (thai-word-mode):
3153 * mail/supercite.el (sc-minor-mode):
3154 * net/goto-addr.el (goto-address-mode):
3155 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3156 * progmodes/cwarn.el (cwarn-mode):
3157 * progmodes/flymake.el (flymake-mode):
3158 * progmodes/glasses.el (glasses-mode):
3159 * progmodes/hideshow.el (hs-minor-mode):
3160 * progmodes/pascal.el (pascal-outline-mode):
3161 * textmodes/enriched.el (enriched-mode):
3162 * vc/smerge-mode.el (smerge-mode):
3163 Doc fixes (minor mode argument).
3164
3165 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3166
3167 * ls-lisp.el (ls-lisp-sanitize): New function.
3168 (ls-lisp-insert-directory): Use it to fix or remove any elements
3169 in file-alist with missing attributes. (Bug#4673)
3170
3171 2012-02-07 Alan Mackenzie <acm@muc.de>
3172
3173 Fix spurious recognition of c-in-knr-argdecl.
3174
3175 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3176 putative K&R region.
3177
3178 2012-02-07 Alan Mackenzie <acm@muc.de>
3179
3180 * progmodes/cc-engine.el (c-forward-objc-directive):
3181 Prevent looping in "#pragma mark @implementation".
3182
3183 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3184
3185 * notifications.el (notifications-on-closed-signal): Make `reason'
3186 optional. (Bug#10744)
3187
3188 2012-02-07 Glenn Morris <rgm@gnu.org>
3189
3190 * emacs-lisp/easy-mmode.el (define-minor-mode):
3191 Doc fixes for the macro and the mode it defines.
3192
3193 * image.el (imagemagick-types-inhibit): Doc fix.
3194
3195 * cus-start.el (imagemagick-render-type): Add it.
3196
3197 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3198
3199 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3200 Set the default at load time, too, so that `font-lock-fontify-buffer'
3201 can be called without setting up the entire mode first. This fixes
3202 a bug in `mm-inline-text' with C MIME parts.
3203
3204 2012-02-06 Chong Yidong <cyd@gnu.org>
3205
3206 * simple.el (list-processes--refresh): Delete exited processes
3207 (Bug#8094).
3208
3209 * comint.el (comint-next-prompt): next-single-char-property-change
3210 and prev-single-char-property-change never return nil (Bug#8657).
3211
3212 * custom.el (defcustom): Doc fix (Bug#9711).
3213
3214 2012-02-05 Chong Yidong <cyd@gnu.org>
3215
3216 * cus-edit.el (custom-variable-reset-backup): Quote the value
3217 before storing it in the customized-value property (Bug#6712).
3218 (custom-display): Add a customization type tag.
3219 (custom-buffer-create-internal): Improve tooltip message.
3220
3221 * wid-edit.el (widget-field-value-get): New optional arg to
3222 suppress trailing whitespace truncation.
3223 (character): Use it (Bug#2689).
3224
3225 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3226
3227 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3228 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3229
3230 2012-02-05 Chong Yidong <cyd@gnu.org>
3231
3232 * cus-edit.el (custom-variable-value-create): For mismatched
3233 types, show the current value (Bug#7600).
3234
3235 * custom.el (defcustom): Doc fix.
3236
3237 2012-02-05 Glenn Morris <rgm@gnu.org>
3238
3239 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3240
3241 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3242
3243 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3244 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3245 (pp-last-sexp): Use `looking-at-p'.
3246
3247 2012-02-04 Glenn Morris <rgm@gnu.org>
3248
3249 * files.el (revert-buffer):
3250 Doc fix (mention revert-buffer-in-progress-p).
3251
3252 * emacs-lisp/ert-x.el (ert-simulate-command):
3253 Check deferred-action-list (which is obsolete) is bound.
3254
3255 * subr.el (with-wrapper-hook): Doc fixes.
3256
3257 * simple.el (filter-buffer-substring-functions)
3258 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3259
3260 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3261
3262 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3263 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3264
3265 2012-02-04 Leo Liu <sdl.web@gmail.com>
3266
3267 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3268
3269 2012-02-04 Glenn Morris <rgm@gnu.org>
3270
3271 * image.el (image-extension-data): Add obsolete alias.
3272
3273 * isearch.el (isearch-update): Doc fix.
3274
3275 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3276
3277 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3278
3279 2012-02-03 Glenn Morris <rgm@gnu.org>
3280
3281 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3282 (image-animate-timeout): Doc fix.
3283
3284 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3285
3286 2012-02-02 Glenn Morris <rgm@gnu.org>
3287
3288 * server.el (server-auth-dir): Doc fix.
3289 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3290
3291 * subr.el (run-mode-hooks): Doc fix.
3292
3293 2012-02-02 Juri Linkov <juri@jurta.org>
3294
3295 * image-mode.el (image-toggle-display-image): Remove tautological
3296 `major-mode' from the `derived-mode-p' test.
3297
3298 2012-02-02 Kenichi Handa <handa@m17n.org>
3299
3300 * composite.el (compose-region): Cancel previous change.
3301
3302 2012-02-02 Kenichi Handa <handa@m17n.org>
3303
3304 * composite.el (compose-region, compose-string): Signal error for
3305 a null string component (Bug#6988).
3306
3307 2012-02-01 Chong Yidong <cyd@gnu.org>
3308
3309 * view.el (view-buffer-other-window, view-buffer-other-frame):
3310 Handle special modes like view-buffer (Bug#10650).
3311 (view-buffer): Simplify.
3312
3313 * frame.el (set-frame-font): Tweak meaning of third argument.
3314
3315 * dynamic-setting.el (font-setting-change-default-font):
3316 Use set-frame-font (Bug#9982).
3317
3318 2012-02-01 Glenn Morris <rgm@gnu.org>
3319
3320 * progmodes/compile.el (compilation-internal-error-properties):
3321 Respect compilation-first-column in the "*compilation*" buffer.
3322
3323 * emacs-lisp/easy-mmode.el (define-minor-mode):
3324 Relax :variable's test for a named function.
3325
3326 2012-01-31 Alan Mackenzie <acm@muc.de>
3327
3328 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3329 off by one error.
3330
3331 2012-01-31 Chong Yidong <cyd@gnu.org>
3332
3333 * frame.el (set-frame-font): New arg ALL-FRAMES.
3334
3335 * menu-bar.el (menu-set-font): Use set-frame-font.
3336
3337 * faces.el (face-spec-reset-face): Don't apply unspecified
3338 attribute values to the default face.
3339
3340 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3341
3342 * progmodes/cwarn.el (cwarn): Remove dead link.
3343 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3344 Remove * from defcustom docstrings.
3345 (turn-on-cwarn-mode): Make obsolete.
3346 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3347 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3348
3349 2012-01-31 Glenn Morris <rgm@gnu.org>
3350
3351 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3352 Fix :variable handling of mode a symbol not equal to modefun.
3353 Allow named functions to be used as the cdr of :variable.
3354
3355 2012-01-30 Glenn Morris <rgm@gnu.org>
3356
3357 * emacs-lisp/authors.el (authors-fixed-entries):
3358 Remove reference to deleted file rnewspost.el.
3359
3360 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3361
3362 * window.el (window-with-parameter): Remove unused variable `windows'.
3363 (window--side-check): Remove unused variable `code'.
3364 (window--resize-siblings): Remove unused variable `first'.
3365 (adjust-window-trailing-edge): Remove unused variable `failed'.
3366 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3367 Use `let', not `let*'.
3368 (balance-windows-2): Remove unused variable `found'.
3369 (window--state-put-2): Remove unused variable `splits'.
3370 (window-state-put): Remove unused variable `selected'.
3371 (same-window-p): Use `string-match-p'.
3372 (display-buffer-assq-regexp): Remove unused variable `value'.
3373 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3374 Mark argument ALIST as ignored.
3375 (pop-to-buffer): Remove unused variable `old-window'.
3376
3377 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3378
3379 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3380 and .lzma compressed files.
3381
3382 2012-01-29 Chong Yidong <cyd@gnu.org>
3383
3384 * frame.el (window-system-default-frame-alist): Doc fix.
3385
3386 * dynamic-setting.el (font-setting-change-default-font): Don't
3387 change the default face if SET-FONT argument is non-nil (Bug#9982).
3388
3389 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3390
3391 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3392
3393 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3394
3395 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3396 breakpoints in files outside current directory (Bug#6098).
3397
3398 2012-01-29 Chong Yidong <cyd@gnu.org>
3399
3400 * progmodes/python.el: Require ansi-color at top-level.
3401
3402 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3403 Define and use in Emacs Lisp mode (Bug#9360).
3404 (lisp-mode-abbrev-table): Add doc.
3405 (lisp-mode-variables): Don't set local-abbrev-table.
3406 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3407
3408 2012-01-28 Roland Winkler <winkler@gnu.org>
3409
3410 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3411
3412 2012-01-28 Roland Winkler <winkler@gnu.org>
3413
3414 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3415 (bibtex-set-dialect): Use it. Either set global values of
3416 dialect-dependent variables or bind these variables buffer-locally
3417 (Bug#10254).
3418 (bibtex-mode): Call bibtex-set-dialect via
3419 hack-local-variables-hook.
3420 (bibtex-dialect): Update docstring.
3421 Add safe-local-variable predicate.
3422 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3423 bibtex-set-dialect.
3424 (bibtex-mode-map): Define menu for each dialect.
3425 (bibtex-entry): Fix docstring.
3426
3427 2012-01-28 Chong Yidong <cyd@gnu.org>
3428
3429 * eshell/esh-arg.el (eshell-quote-argument): New function.
3430
3431 * eshell/esh-ext.el (eshell-invoke-batch-file):
3432 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3433 first arg to eshell-parse-command (Bug#10523).
3434
3435 2012-01-28 Drew Adams <drew.adams@oracle.com>
3436
3437 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3438 `default-directory' is non-nil.
3439
3440 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3441
3442 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3443 line that displays system-configuration-options. (Bug#9924)
3444
3445 2012-01-28 Drew Adams <drew.adams@oracle.com>
3446
3447 * descr-text.el (describe-char): Show information about POS, in
3448 addition to information about the character at POS. Improve and
3449 update the doc string. Change "code point" to "code point in
3450 charset", to avoid confusion with the character's Unicode code
3451 point shown above that. (Bug#10129)
3452
3453 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3454
3455 * descr-text.el (describe-char): Show the raw character, not only
3456 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3457 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3458 for the reasons.
3459
3460 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3461
3462 * emacs-lisp/package.el (package-install):
3463 Run package-refresh-contents if there is no archive yet (Bug#9798).
3464
3465 2012-01-28 Chong Yidong <cyd@gnu.org>
3466
3467 * emacs-lisp/package.el (package-maybe-load-descriptor):
3468 New function, split from package-maybe-load-descriptor.
3469 (package-maybe-load-descriptor): Use it.
3470 (package-download-transaction): Fully load required packages
3471 inside the loop, so that `require' calls work (Bug#10593).
3472 (package-install): No need to call package-initialize now.
3473
3474 2012-01-28 Chong Yidong <cyd@gnu.org>
3475
3476 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3477
3478 * tooltip.el (tooltip-mode): Doc fix.
3479 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3480
3481 * frame.el (set-cursor-color): Doc fix (Bug#352).
3482
3483 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3484 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3485
3486 * cus-edit.el (custom-buffer-create-internal): Fix search button
3487 action (Bug#10542).
3488 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3489
3490 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3491
3492 * dired.el (dired-mark-files-regexp):
3493 Include any subdirectory components. (Bug#10445)
3494
3495 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3496
3497 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3498 Handle [host]:port syntax. (Bug#10533)
3499
3500 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3501
3502 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3503
3504 2012-01-26 Glenn Morris <rgm@gnu.org>
3505
3506 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3507 * term.el (term-raw-escape-map): Use Control-X-prefix.
3508 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3509
3510 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3511
3512 * window.el (window-state-get, window--state-get-1): Don't deal
3513 with fixed-sizeness of windows. Simplify code.
3514
3515 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3516
3517 * window.el (window--state-get-1, window--state-put-2):
3518 Don't save and restore the mark.
3519
3520 2012-01-25 Chong Yidong <cyd@gnu.org>
3521
3522 * custom.el (custom-variable-p): Doc fix.
3523
3524 2012-01-25 Glenn Morris <rgm@gnu.org>
3525
3526 * dired.el (dired-goto-file): Handle some of the more common
3527 characters that `ls -b' escapes. (Bug#10596)
3528
3529 * progmodes/compile.el (compilation-next-error-function):
3530 Respect compilation-first-column in the "*compilation*" buffer.
3531 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3532
3533 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3534
3535 2012-01-24 Glenn Morris <rgm@gnu.org>
3536
3537 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3538
3539 2012-01-24 Julien Danjou <julien@danjou.info>
3540
3541 * color.el (color-rgb-to-hsl): Fix value computing.
3542 (color-hue-to-rgb): New function.
3543 (color-hsl-to-rgb): New function.
3544 (color-clamp, color-saturate-hsl, color-saturate-name)
3545 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3546 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3547
3548 2012-01-24 Glenn Morris <rgm@gnu.org>
3549
3550 * vc/vc-rcs.el (vc-rcs-create-tag):
3551 * vc/vc-sccs.el (vc-sccs-create-tag):
3552 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3553
3554 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3555
3556 * eshell/esh-util.el (eshell-read-hosts-file):
3557 Skip comment lines. (Bug#10549)
3558
3559 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3560
3561 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3562
3563 * subr.el (display-delayed-warnings): Doc fix.
3564 (collapse-delayed-warnings): New function to collapse identical
3565 adjacent warnings.
3566 (delayed-warnings-hook): Add it.
3567
3568 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3569
3570 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3571
3572 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3573 properties, when "login-as" is set.
3574
3575 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3576 (tramp-default-user-alist): Don't add "pscp".
3577 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3578 property "login-as", if set. (Bug#10530)
3579
3580 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3581
3582 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3583 "plink1" and "psftp". (Bug#10530)
3584
3585 2012-01-21 Kenichi Handa <handa@m17n.org>
3586
3587 * international/mule-cmds.el (prefer-coding-system): Show a
3588 warning message if the default value of file-name-coding-system
3589 was not changed.
3590
3591 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3592
3593 * windmove.el (windmove-reference-loc):
3594 Fix windmove-reference-loc miscalculation.
3595
3596 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3597
3598 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3599 default unit.
3600
3601 2012-01-21 Glenn Morris <rgm@gnu.org>
3602
3603 * international/mule.el (auto-coding-alist): Add .tbz.
3604
3605 * files.el (local-enable-local-variables): Doc fix.
3606 (inhibit-local-variables-regexps): Rename from
3607 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3608 Doc fix. Add some extensions from auto-coding-alist.
3609 (inhibit-local-variables-suffixes):
3610 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3611 (inhibit-local-variables-p):
3612 New function, extracted from set-auto-mode-1.
3613 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3614 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3615 (hack-local-variables): Doc fix. Make the mode-only case
3616 respect enable-local-variables and friends.
3617 Respect inhibit-local-variables-regexps for file-locals, but
3618 not for directory-locals.
3619 (set-visited-file-name):
3620 Take account of inhibit-local-variables-regexps.
3621 Whether it applies may change as the file name is changed.
3622 * jka-cmpr-hook.el (jka-compr-install):
3623 * jka-compr.el (jka-compr-uninstall):
3624 Update for inhibit-first-line-modes-suffixes name change.
3625
3626 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3627
3628 * help-macro.el (make-help-screen): Temporarily restore original
3629 binding for minor-mode-map-alist (Bug#10454).
3630
3631 2012-01-19 Julien Danjou <julien@danjou.info>
3632
3633 * color.el (color-name-to-rgb): Use the white color to find the max
3634 color component value and return correctly computed values.
3635 (color-name-to-rgb): Add missing float conversion for max value.
3636
3637 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3638
3639 * window.el (window--state-get-1, window-state-get): Do not use
3640 special state value for window-persistent-parameters.
3641 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3642 (window--state-put-2): Reset all window parameters to nil before
3643 assigning values of persistent parameters.
3644
3645 2012-01-18 Alan Mackenzie <acm@muc.de>
3646
3647 Eliminate sluggishness and hangs in fontification of "semicolon
3648 deserts".
3649
3650 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3651 Change value 10000 -> 3000.
3652 (c-state-safe-place): Reformulate so it doesn't stack up an
3653 infinite number of wrong entries in c-state-nonlit-pos-cache.
3654 (c-determine-limit-get-base, c-determine-limit): New functions to
3655 determine backward search limits disregarding literals.
3656 (c-find-decl-spots): Amend commenting.
3657 (c-cheap-inside-bracelist-p): New function which detects "={".
3658
3659 * progmodes/cc-fonts.el
3660 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3661 backward search.
3662 (c-font-lock-declarations): Fix an occurrence of point being
3663 undefined. Check additionally for point being in a bracelist or
3664 near a macro invocation without a semicolon so as to avoid a
3665 fruitless time consuming search for a declarator. Give a more
3666 precise search limit for declarators using the new
3667 c-determine-limit.
3668
3669 2012-01-18 Glenn Morris <rgm@gnu.org>
3670
3671 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3672 (set-auto-mode): Doc fixes.
3673
3674 2012-01-17 Glenn Morris <rgm@gnu.org>
3675
3676 * isearch.el (search-nonincremental-instead): Fix doc typo.
3677
3678 * dired.el (dired-insert-directory): Handle newlines in directory name.
3679 (dired-build-subdir-alist): Unescape newlines in directory name.
3680
3681 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3682
3683 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3684 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3685 (tramp-action-terminal): Use it. (Bug#10530)
3686
3687 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3688
3689 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3690
3691 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3692
3693 * window.el (window-state-ignored-parameters): Remove variable.
3694 (window--state-get-1): Rename argument MARKERS to IGNORE.
3695 Handle persistent window parameters. Make copy of clone-of
3696 parameter only if requested. (Bug#10348)
3697 (window--state-put-2): Install a window parameter only if it has
3698 a non-nil value or an existing parameter shall be overwritten.
3699
3700 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3701
3702 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3703
3704 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3705
3706 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3707 don't pass the (nil) value of `upnode' to string-match.
3708
3709 2012-01-14 Chong Yidong <cyd@gnu.org>
3710
3711 * startup.el (command-line): Fix X resource class for cursorColor.
3712 Fix values recognized by the cursorBlink resource.
3713
3714 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3715
3716 * epg.el (epg--make-temp-file): Avoid permission race condition
3717 when running on old Emacs versions (bug#10403).
3718
3719 2012-01-14 Glenn Morris <rgm@gnu.org>
3720
3721 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3722
3723 2012-01-13 Alan Mackenzie <acm@muc.de>
3724
3725 Fix filling for when filladapt mode is enabled.
3726
3727 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3728 c-mask-paragraph, pass in `fill-paragraph' rather than
3729 `fill-region-as-paragraph'. (This is a reversion of a previous
3730 change.)
3731 * progmodes/cc-mode.el (c-basic-common-init):
3732 Make fill-paragraph-handle-comment buffer local and set it to nil.
3733
3734 2012-01-13 Glenn Morris <rgm@gnu.org>
3735
3736 * dired.el (dired-switches-escape-p): New function.
3737 (dired-insert-directory): Use dired-switches-escape-p.
3738 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3739
3740 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3741
3742 2012-01-12 Glenn Morris <rgm@gnu.org>
3743
3744 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3745 changes in adaptive-fill-regexp. (Bug#10276)
3746
3747 2012-01-11 Alan Mackenzie <acm@muc.de>
3748
3749 Fix Emacs bug #10463 - put `widen's around the critical spots.
3750
3751 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3752 widen around each invocation of c-state-pp-to-literal. Remove an
3753 unused let variable.
3754
3755 2012-01-11 Glenn Morris <rgm@gnu.org>
3756
3757 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3758 Doc fix.
3759
3760 2012-01-10 Chong Yidong <cyd@gnu.org>
3761
3762 * net/network-stream.el (network-stream-open-starttls):
3763 Avoid emitting a confusing error message when the server gives a bad
3764 response to the capability command.
3765
3766 2012-01-10 Glenn Morris <rgm@gnu.org>
3767
3768 * mail/unrmail.el (unrmail): Tweak previous change.
3769
3770 2012-01-09 Chong Yidong <cyd@gnu.org>
3771
3772 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3773
3774 2012-01-08 Alan Mackenzie <acm@muc.de>
3775
3776 Optimise font locking in long enum definitions.
3777
3778 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3779 arm to a cond form to handle enums.
3780 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3781 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3782
3783 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3784
3785 * files.el (move-file-to-trash): Preserve default file modes on error.
3786 (Bug#10401)
3787
3788 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3789
3790 * faces.el (set-face-attribute): Clarify the meaning of the nil
3791 frame (bug#10294).
3792
3793 * subr.el (with-selected-frame): Mention that the selected frame
3794 is restored (bug#9980).
3795
3796 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3797 (bug#9759).
3798
3799 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3800 (password-read): Don't autoload unused function.
3801
3802 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3803
3804 * progmodes/which-func.el (which-func-mode): Turn into a
3805 non-interactive function and mark as obsolete (bug#10428).
3806
3807 2012-01-06 Chong Yidong <cyd@gnu.org>
3808
3809 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3810 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3811 functions, along with 1 and -1.
3812
3813 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3814
3815 * time.el (display-time-load-average)
3816 (display-time-default-load-average): Doc fixes. See the thread
3817 starting at
3818 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3819 for the details.
3820
3821 2012-01-06 Glenn Morris <rgm@gnu.org>
3822
3823 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3824 has no messages. (Bug#10377)
3825
3826 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3827 than Info-edit. (Bug#10385)
3828
3829 * time.el (display-time-load-average, display-time-next-load-average):
3830 Doc fixes.
3831
3832 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3833 local setting of buffer-read-only to the input buffer. (Bug#10419)
3834
3835 * calendar/calendar.el (calendar-mode):
3836 Locally set scroll-margin to 0. (Bug#10379)
3837
3838 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3839
3840 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3841
3842 2012-01-05 Glenn Morris <rgm@gnu.org>
3843
3844 * eshell/em-unix.el (diff-no-select): Autoload it.
3845 (eshell/diff): Use diff-no-select. (Bug#10420)
3846
3847 2012-01-05 Chong Yidong <cyd@gnu.org>
3848
3849 * shell.el (shell-dynamic-complete-functions): Revert last change.
3850 (shell-command-completion-function): New function.
3851 (shell-completion-vars): Use it to implement
3852 shell-completion-execonly (Bug#10417).
3853
3854 * custom.el (enable-theme): Don't set custom-safe-themes.
3855
3856 * cus-theme.el (custom-theme-merge-theme):
3857 Ignore custom-enabled-themes and custom-safe-themes.
3858
3859 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3860
3861 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3862 first prompt in `sql-interacive-mode'.
3863 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3864 keywords.
3865 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3866 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3867 context of original buffer. Invoke `sql-login-hook'.
3868
3869 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3870
3871 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3872 letters in cite-prefix.
3873
3874 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3875
3876 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3877
3878 2012-01-03 Chong Yidong <cyd@gnu.org>
3879
3880 * shell.el (shell-dynamic-complete-functions):
3881 Put pcomplete-completions-at-point, so as to try
3882 comint-filename-completion first (Bug#10417).
3883
3884 2012-01-02 Richard Stallman <rms@gnu.org>
3885
3886 * battery.el (battery-status-function):
3887 Detect when to use battery-yeeloong-sysfs.
3888 (battery-echo-area-format): Add string for Yeeloong.
3889 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3890 (battery-yeeloong-sysfs): New function.
3891
3892 2012-01-02 Chong Yidong <cyd@gnu.org>
3893
3894 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3895 (dirtrack): Merge code for handling relative filenames in prompt
3896 from shell-dir-cookie-watcher.
3897 (dirtrack-debug-message): New arg to avoid excess format calls.
3898
3899 * shell.el (shell-dir-cookie-re): Variable deleted.
3900 (shell-dir-cookie-watcher): Function deleted.
3901 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3902 with dirtrack-mode.
3903
3904 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3905
3906 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3907 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3908 libgnutls-26.dll.
3909
3910 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3911
3912 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3913
3914 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3915
3916 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3917 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3918
3919 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3920
3921 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3922 also for alternative shells.
3923 (tramp-open-connection-setup-interactive-shell): Check, whether
3924 the shell is a busybox.
3925 (tramp-send-command): Don't suppress multiple prompts for
3926 busyboxes, it hurts.
3927
3928 2011-12-28 Chong Yidong <cyd@gnu.org>
3929
3930 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3931 (gdb-get-source-file): Move mode line update to
3932 gdb-get-source-file (Bug#10087).
3933
3934 2011-12-25 Chong Yidong <cyd@gnu.org>
3935
3936 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3937 gud-gdb-marker-filter without taking it as an argument.
3938 (gud-gdb-run-command-fetch-lines): Caller changed.
3939 (gud-gdb-completion-function): New variable.
3940 (gud-gdb-completion-at-point): Use it.
3941 (gud-gdb-completions-1): Split from gud-gdb-completions.
3942
3943 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3944 function as separate arguments.
3945 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3946 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3947 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3948 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3949 (gdb-stopped, def-gdb-auto-update-trigger)
3950 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3951 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3952 Callers changed.
3953 (gud-gdbmi-completions): New function.
3954 (gdb): Use it for generating the completion table.
3955
3956 2011-12-24 Alan Mackenzie <acm@muc.de>
3957
3958 Introduce a mechanism to widen the region used in context font
3959 locking. Use this to protect declarations from losing their contexts.
3960
3961 * progmodes/cc-langs.el (c-before-font-lock-functions):
3962 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3963 (c-before-context-fontification-functions): New defvar, a list of
3964 functions to be run just before context (etc.) font locking.
3965
3966 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3967 New, functionality extracted from
3968 c-neutralize-syntax-in-and-mark-CPP.
3969 (c-in-after-change-fontification): New variable.
3970 (c-after-change): Set c-in-after-change-fontification.
3971 (c-set-fl-decl-start): Rejig its interface, so it can be called
3972 from both after-change and context fontifying.
3973 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3974 New functions.
3975 (c-standard-font-lock-fontify-region-function): New variable.
3976 (c-font-lock-fontify-region): New function.
3977
3978 2011-12-24 Juri Linkov <juri@jurta.org>
3979
3980 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3981 (Bug#10348)
3982
3983 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3984
3985 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3986 existence of source file. (Bug#10325)
3987
3988 2011-12-23 Alan Mackenzie <acm@muc.de>
3989
3990 Fix unstable fontification inside templates.
3991
3992 * progmodes/cc-langs.el (c-before-font-lock-functions):
3993 Newly created from the singular version. The (c c++ objc) entry now
3994 additionally has c-set-fl-decl-start. The other languages (apart
3995 from AWK) have that as a single entry.
3996
3997 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3998 The functionality for "local" declarations has been extracted to
3999 c-set-fl-decl-start.
4000
4001 * progmodes/cc-mode.el (c-common-init, c-after-change):
4002 Changes due to pluralisation of c-before-font-lock-functions.
4003 (c-set-fl-decl-start): New function, extracted from
4004 c-font-lock-enclosing-decls and enhanced.
4005
4006 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4007
4008 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4009
4010 2011-12-22 Juri Linkov <juri@jurta.org>
4011
4012 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4013
4014 2011-12-22 Chong Yidong <cyd@gnu.org>
4015
4016 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4017
4018 2011-12-21 Drew Adams <drew.adams@oracle.com>
4019
4020 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4021
4022 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4023
4024 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4025
4026 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4027
4028 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4029 highlighting and support. Fix up comments for capitalization.
4030 (cfengine-mode-debug): New var.
4031 (cfengine3-mode): Change the modeline indicator to "CFE3".
4032 (cfengine3-font-lock-keywords): Improve defun highlighting.
4033 (cfengine2-actions): Rename from `cfengine-actions'.
4034 (cfengine2-font-lock-keywords): Rename from
4035 `cfengine-font-lock-keywords'.
4036 (cfengine2-imenu-expression): Rename from
4037 `cfengine-imenu-expression'.
4038 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4039 (cfengine2-beginning-of-defun): Rename from
4040 `cfengine-beginning-of-defun'.
4041 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4042 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4043 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4044 modeline indicator to "CFE2".
4045 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4046 (cfengine-mode-abbrevs): Mark obsolete.
4047
4048 2011-12-21 Chong Yidong <cyd@gnu.org>
4049
4050 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4051 filename argument.
4052
4053 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4054
4055 * window.el (window-normalize-buffer-to-display): Remove.
4056 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4057
4058 2011-12-19 Chong Yidong <cyd@gnu.org>
4059
4060 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4061 Don't signal an error in a predicate function; return non-nil.
4062 (vc-dir-mark-file): Move the error here.
4063 (vc-dir-mark-unmark): If acting on the region, keep going if one
4064 of the entries cannot be marked/unmarked.
4065 (vc-dir-mark-all-files): If current entry is a directory, mark
4066 only child files, as documented.
4067
4068 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4069
4070 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4071 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4072 addition.
4073
4074 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4075
4076 * term/ns-win.el (ns-get-selection-internal)
4077 (ns-store-selection-internal): Declare.
4078 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4079 Declare as obsolete.
4080 (ns-get-pasteboard, ns-paste-secondary):
4081 Use ns-get-selection-internal.
4082 (ns-set-pasteboard, ns-copy-including-secondary):
4083 Use ns-store-selection-internal.
4084
4085 2011-12-17 Chong Yidong <cyd@gnu.org>
4086
4087 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4088 (vc-deduce-fileset): Doc fix.
4089
4090 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4091
4092 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4093
4094 2011-12-13 Sam Steingold <sds@gnu.org>
4095
4096 * man.el (Man-getpage-in-background): When running under a
4097 window-system, ignore $MANWIDTH and $COLUMNS.
4098
4099 2011-12-15 Kenichi Handa <handa@m17n.org>
4100
4101 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4102 (setup-ethiopic-environment-internal): Comment out key-binding for
4103 ethio-toggle-punctuation.
4104
4105 2011-12-13 Alan Mackenzie <acm@muc.de>
4106
4107 Add the switch statement to AWK Mode.
4108
4109 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4110 "default" to the keywords regexp.
4111
4112 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4113 expression as the rest.
4114 (c-nonlabel-token-key): Allow string literals for AWK.
4115 Refactor for the other modes.
4116
4117 Large brace-block initialisation makes CC Mode slow: Fix.
4118 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4119 routines. Limit backward searching in c-font-lock-enclosing.decl.
4120
4121 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4122 pp-state and literal type in addition to the limits.
4123 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4124 (c-state-literal-at): Use the above new defun.
4125 (c-slow-in-literal, c-fast-in-literal): Remove.
4126 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4127
4128 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4129 being in a literal. Add a limit for backward searching.
4130
4131 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4132 c-slow-in-literal.
4133
4134 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4137
4138 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4139
4140 * window.el (delete-other-windows): Use correct frame in call to
4141 window-with-parameter.
4142
4143 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4144
4145 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4146 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4147 (makefile-gmake-statements, makefile-makepp-statements):
4148 Use it and add new makepp keywords.
4149 (makefile-makepp-font-lock-keywords): Add new patterns.
4150 (makefile-match-function-end): Match new [...] and [[...]].
4151
4152 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4153
4154 * ses.el (ses-call-printer-return, ses-cell-property-get)
4155 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4156 (ses-create-cell-variable, ses-reset-header-string)
4157 (ses-cell-set-formula, ses-repair-cell-reference-all)
4158 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4159 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4160 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4161 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4162 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4163 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4164 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4165 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4166 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4167 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4168 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4169 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4170
4171 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4172
4173 * ses.el: The overall change is to add cell renaming, that is
4174 setting fancy names for cell symbols other than name matching
4175 "\\`[A-Z]+[0-9]+\\'" regexp .
4176 (ses-create-cell-variable): New defun.
4177 (ses-relocate-formula): Relocate formulas only for cells the
4178 symbols of which are not renamed, i.e. symbols whose names do not
4179 match regexp "\\`[A-Z]+[0-9]+\\'".
4180 (ses-relocate-all): Relocate values only for cells the symbols of
4181 which are not renamed.
4182 (ses-load): Create cells variables as the (ses-cell ...) are read,
4183 in order to check row col consistency with cell symbol name only
4184 for cells that are not renamed.
4185 (ses-replace-name-in-formula): New defun.
4186 (ses-rename-cell): New defun.
4187
4188 2011-12-11 Chong Yidong <cyd@gnu.org>
4189
4190 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4191 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4192
4193 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4194
4195 * window.el (other-window): Fix docstring.
4196
4197 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4198
4199 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4200 `from' or `to' address before taking its substring.
4201 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4202 encoded name is chopped in the middle of the encoded string, and
4203 thus displayed encoded.
4204
4205 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4206
4207 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4208
4209 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4210
4211 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4212 to use texinfo-update-node and commands that call it if the
4213 Texinfo file uses @node lines without next/prev/up pointers.
4214 Correct outdated description about texinfo-master-menu.
4215 (texinfo-all-menus-update, texinfo-master-menu)
4216 (texinfo-update-node, texinfo-every-node-update)
4217 (texinfo-multiple-files-update): Doc fix. Warn against updating
4218 all the @node lines.
4219 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4220 argument is numeric. Explain better in the doc string what the
4221 function really does.
4222 (texinfo-insert-master-menu-list): Improve the error message
4223 displayed if there's no menu in the Top node.
4224 (Bug#2975) See also this thread:
4225 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4226
4227 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4228
4229 * speedbar.el (speedbar-supported-extension-expressions):
4230 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4231
4232 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4233
4234 * printing.el (pr-mode-alist):
4235 * simple.el (filter-buffer-substring-functions)
4236 (completion-list-insert-choice-function):
4237 * window.el (window-with-parameter, window-atom-root)
4238 (window-sides-slots, window-size-fixed, window-min-delta)
4239 (window-max-delta, window--resize-mini-window)
4240 (window--resize-child-windows-normal, window-tree)
4241 (delete-other-windows, quit-window, split-window)
4242 (display-buffer-record-window, special-display-buffer-names)
4243 (special-display-regexps, special-display-popup-frame)
4244 (same-window-p, split-window-sensibly)
4245 (display-buffer-overriding-action, display-buffer-alist)
4246 (display-buffer-base-action, display-buffer, switch-to-buffer)
4247 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4248 (fit-window-to-buffer, recenter-positions)
4249 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4250 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4251 and remove unneeded backslashes in docstrings.
4252
4253 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4256
4257 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4258 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4259 end in ".mk".
4260 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4261 when reading the makefile (bug#10116).
4262
4263 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4266 (bug#10116).
4267
4268 2011-12-06 Glenn Morris <rgm@gnu.org>
4269
4270 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4271
4272 2011-12-06 Chong Yidong <cyd@gnu.org>
4273
4274 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4275
4276 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4277
4278 * textmodes/table.el (table-shorten-cell): Fix typo.
4279
4280 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4281
4282 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4283
4284 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4285
4286 * descr-text.el (describe-char): Fix display of strong
4287 right-to-left characters and directional embeddings and overrides.
4288
4289 * simple.el (what-cursor-position): Fix display of codepoints of
4290 strong right-to-left characters.
4291
4292 2011-12-05 Chong Yidong <cyd@gnu.org>
4293
4294 * faces.el (read-color): Doc fix.
4295
4296 2011-12-05 Glenn Morris <rgm@gnu.org>
4297
4298 * align.el (align--set-marker): Add doc-string.
4299 Don't try to move something that is not a marker. (Bug#10216)
4300
4301 2011-12-04 Glenn Morris <rgm@gnu.org>
4302
4303 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4304 overly zealous deletion of trailing whitespace.
4305
4306 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4307
4308 * server.el (server-delete-client): On Windows, do not try to delete
4309 the only terminal.
4310 (server-process-filter): On Windows, treat requests for a tty frame as
4311 if they were for a GUI frame if the running server is in GUI mode.
4312
4313 2011-12-03 Glenn Morris <rgm@gnu.org>
4314
4315 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4316
4317 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4318
4319 * electric.el: Streamline electric-indent's hook.
4320 (electric-indent-chars): Revert to simple list.
4321 (electric-indent-functions): New var.
4322 (electric-indent-post-self-insert-function): Use it.
4323
4324 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4325 there's no inferior buffer (bug#10196).
4326 (prolog-consult-compile): Don't use toggle-read-only.
4327
4328 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4329
4330 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4331 interrupt. (Bug#10187)
4332
4333 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4336 (bug#9160).
4337
4338 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4339 (bug#10191).
4340
4341 2011-12-02 Juri Linkov <juri@jurta.org>
4342
4343 * info.el (Info-search): Display "end of manual" when Isearch
4344 reaches the end of single-file Info manual. (Bug#9918)
4345
4346 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4347
4348 * isearch.el (isearch-message-prefix): Run the input method part
4349 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4350
4351 2011-12-02 Juri Linkov <juri@jurta.org>
4352
4353 * isearch.el (isearch-occur): Use `word-search-regexp' for
4354 `isearch-word'.
4355 (isearch-search-and-update): Add condition for `isearch-word' and
4356 call `word-search-regexp'. (Bug#10145)
4357
4358 2011-12-01 Glenn Morris <rgm@gnu.org>
4359
4360 * eshell/em-hist.el (eshell-hist-initialize):
4361 Handle eshell-history-size nil and HISTSIZE set or unset.
4362 (eshell-history-file-name, eshell-history-size): Fix custom type.
4363
4364 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4367
4368 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4369
4370 * progmodes/verilog-mode.el (verilog-pretty-expr):
4371 Rework verilog-pretty-expr to handle new assignment operators in system
4372 verilog, such as += *= and the like.
4373 (verilog-assignment-operator-re): Regular expression to find the
4374 assigment operator in a verilog assignment.
4375 (verilog-assignment-operation-re): Regular expression to find an
4376 assignment statement for pretty-expr.
4377 (verilog-in-attribute-p): Query returns true if point is in an
4378 attribute context; used to skip these for expression line up from
4379 pretty-expr.
4380 (verilog-in-parameter-p): Query returns true if point is in an
4381 parameter definition context; used to skip these for expression
4382 line up from pretty-expr.
4383 (verilog-in-parenthesis-p): Query returns true if point is in a
4384 parenthetical expression, specifically ( ) but not [ ] or { };
4385 used by pretty-expr.
4386 (verilog-just-one-space): If there is no space, don't add one.
4387 (verilog-get-lineup-indent-2): Specifically skip just attribute
4388 contexts for expression lineup, rather than skipping all
4389 parenthetical expressions.
4390 (verilog-calculate-indent): Fix comment, and fix indent.
4391 (verilog-do-indent): Indent declarations in lists (suggested by
4392 Joachim Lechner).
4393 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4394 skeleton items.
4395 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4396 by Alain Mellan).
4397
4398 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4399
4400 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4401 parameters with embedded comments. Reported by Ray Stevens.
4402 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4403 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4404 Reported by Tim Holt.
4405 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4406 instantiated by upper module causing wrong expansion until AUTOed a
4407 second time. Reported by K C Buckenmaier.
4408 (verilog-diff-auto): Fix showing .* as a difference when
4409 `verilog-auto-star-save' off. Reported by Dan Dever.
4410 (verilog-auto-reset, verilog-read-always-signals)
4411 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4412 temporary signals in reset list if
4413 verilog-auto-reset-blocking-in-non is nil, and match assignment
4414 style to each signal's assignment type, bug381.
4415 Reported by Thomas Esposito.
4416 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4417 (verilog-uvm-statement-re): Support UVM indentation and
4418 highlighting, with old OVM keywords only.
4419 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4420 Support AUTOTIEOFF creating non-wire data types.
4421 Suggested by Jonathan Greenlaw.
4422 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4423 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4424 (verilog-inject-sense, verilog-read-inst-pins)
4425 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4426 Fix mismatching parenthesis inside commented out code when deleting
4427 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4428 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4429 non-numeric vector width. Reported by Alex Reed.
4430 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4431 detecting signals with parameter widths. Reported by Alex Reed.
4432 (verilog-auto-delete-trailing-whitespace):
4433 With `verilog-auto-delete-trailing-whitespace' remove trailing
4434 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4435 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4436 Fix verilog-scan-cache corruption when running user AUTO expansion
4437 hooks that call indentation routines.
4438 (verilog-simplify-range-expression): Fix typo ignoring lower case
4439 identifiers.
4440 (verilog-delete-auto): Fix delete-autos to also remove user created
4441 automatics, as long as they start with AUTO.
4442 (verilog-batch-diff-auto, verilog-diff-auto)
4443 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4444 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4445 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4446 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4447 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4448 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4449 is disabled and its cache will get corrupt, causing AUTOS not to
4450 expand. Instead use only -quick functions.
4451 (verilog-scan-region): Fix scanning over escaped quotes.
4452 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4453 (verilog-re-search-backward-quick)
4454 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4455 related functions now ignore strings, to fix misparsing of strings
4456 with magic comments embedded in them.
4457 (verilog-read-auto-template):
4458 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4459 Reported by Brad Dobbie.
4460 (verilog-read-auto-template):
4461 Fix 'verilog-auto-inst-template-numbers' with comments.
4462 Reported by Brad Dobbie.
4463 (verilog-auto-inst, verilog-auto-inst-param)
4464 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4465 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4466 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4467 debugging templates without merge conflicts, bug357.
4468 Reported by Brad Dobbie.
4469 (verilog-read-auto-template):
4470 Fix verilog-auto-inst-template-numbers with multiple templates.
4471 Reported by Brad Dobbie.
4472 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4473 abbrevs so user won't be asked to save.
4474 (verilog-read-auto-lisp-present): Fix to start at beginning of
4475 buffer in case called outside of verilog-auto.
4476 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4477 to "X-2". Reported by Matthew Myers.
4478 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4479 all inputs from module templates. Reported by Leith Johnson.
4480 (verilog-module-inside-filename-p): Fix locating programs as with
4481 modules.
4482 (verilog-auto-inst-port): Fix vl-width expressions when using
4483 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4484 (verilog-decls-get-regs, verilog-decls-get-signals,
4485 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4486 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4487 verilog-read-decls): Combine reg and wire structures into one var
4488 structure to represent SystemVerilog concepts.
4489 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4490 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4491 (verilog-auto-wire-type, verilog-insert-definition):
4492 Add verilog-auto-wire-type and AUTOLOGIC to support using
4493 SystemVerilog "logic" keyword instead of "wire"/"reg".
4494 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4495 to declares outputs that also have assignments (presumably in an
4496 ifdef or generate if so there's not a driver conflict).
4497 Reported by Matthew Myers.
4498 (verilog-auto-declare-nettype, verilog-insert-definition):
4499 Add verilog-auto-declare-nettype to fix declarations using
4500 `default_nettype none. Reported by Julian Gorfajn.
4501 (verilog-read-always-signals-recurse, verilog-read-decls)
4502 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4503 malformed end statement, bug325. Reported by Joshua Wise and
4504 Andrew Drake.
4505 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4506 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4507 when expanding .* in interfaces, bug320.
4508 Reported by Pierre-David Pfister.
4509 (verilog-read-module-name): Fix import statements between module
4510 name and open parenthesis, bug317.
4511 Reported by Pierre-David Pfister.
4512 (verilog-simplify-range-expression): Fix simplification of
4513 multiplications inside AUTOWIRE connections, bug303.
4514 (verilog-auto-inst-port): Support parameter expansion in
4515 multidimensional arrays.
4516 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4517 after "assert property". Reported by Julian Gorfajn.
4518 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4519 with multiplication, bug303.
4520 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4521 Reported by Jan Frode Lonnum.
4522
4523 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4524
4525 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4526 (hfy-shell-file-name, hfy-shell):
4527 * international/fontset.el (x-decompose-font-name): Fix typos.
4528
4529 2011-11-29 Ken Brown <kbrown@cornell.edu>
4530
4531 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4532 (gdb-version): Remove defvar.
4533 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4534 (gdb-gud-context-command, gdb-non-stop-handler)
4535 (gdb-current-context-command, gdb-stopped): Use it.
4536 (gdb-init-1): Enable pretty printing here.
4537 (gdb-non-stop-handler): Don't enable pretty-printing here.
4538 Check to see if the target supports non-stop mode; if not, turn off
4539 non-stop mode. Use the following.
4540 (gdb-check-target-async): New defun.
4541 (gud-watch, gdb-stopped): Fix whitespace.
4542 (gdb-get-source-file): Don't try to display the source file if
4543 `gdb-main-file' is nil.
4544
4545 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4546
4547 * align.el: Try to generate fewer markers (bug#10047).
4548 (align--set-marker): New macro.
4549 (align-region): Use it.
4550
4551 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4552
4553 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4554
4555 2011-11-29 Chong Yidong <cyd@gnu.org>
4556
4557 * indent.el (indent-for-tab-command, indent-according-to-mode):
4558 Doc fix.
4559 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4560
4561 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4562
4563 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4564 aware of remote file names. (Bug#10124)
4565
4566 2011-11-29 Chong Yidong <cyd@gnu.org>
4567
4568 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4569
4570 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * files.el (find-file): Don't use force-same-window (bug#10144).
4573 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4574 use pop-to-buffer if the selected window can't be used.
4575 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4576
4577 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4578
4579 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4580 special-mode-map.
4581
4582 2011-11-28 Chong Yidong <cyd@gnu.org>
4583
4584 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4585
4586 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4587
4588 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4589 gdb-get-source-file-list on gdb-create-source-file-list.
4590
4591 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4592
4593 * whitespace.el (whitespace-newline): Use a different foreground
4594 color for 16-color light-background displays.
4595
4596 2011-11-24 Chong Yidong <cyd@gnu.org>
4597
4598 * window.el (display-buffer--special-action): Doc fix.
4599
4600 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4601
4602 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4603 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4604 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4605 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4606 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4607 (avl-tree-stack-first):
4608 * emacs-lisp/cconv.el (cconv--analyse-use):
4609 * net/gnutls.el (gnutls-negotiate): Fix typos.
4610
4611 2011-11-24 Glenn Morris <rgm@gnu.org>
4612
4613 * lpr.el (lpr-windows-system, lpr-lp-system):
4614 * mail/binhex.el (binhex-begin-line):
4615 * progmodes/grep.el (grep-history, grep-find-history):
4616 * textmodes/flyspell.el:
4617 * vc/pcvs-defs.el (cvs-global-menu):
4618 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4619 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4620 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4621
4622 * net/tls.el: Fix case of "GnuTLS".
4623
4624 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4625
4626 * version.el (emacs-build-system): Give it a doc-string.
4627
4628 2011-11-24 Juri Linkov <juri@jurta.org>
4629
4630 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4631
4632 2011-11-24 Glenn Morris <rgm@gnu.org>
4633
4634 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4635 if called on a non-mime message just toggle the headers. (Bug#8006)
4636
4637 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4638
4639 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4640 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4641 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4642 (allout-rebullet-heading, allout-open-sibtopic)
4643 (allout-toggle-current-subtree-encryption)
4644 (allout-toggle-subtree-encryption, allout-encrypt-string)
4645 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4646 (allout-distinctive-bullets-string, allout-auto-activation):
4647 * window.el (window-normalize-buffer-to-display):
4648 * progmodes/verilog-mode.el (verilog-batch-indent):
4649 * textmodes/bibtex.el (bibtex-field-braces-opt)
4650 (bibtex-field-strings-opt):
4651 * vc/cvs-status.el (cvs-tree-merge):
4652 Fix typos.
4653
4654 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4655
4656 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4657 `non-essential' to t, in order to avoid remote connections.
4658
4659 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4660
4661 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4662 On MS-DOS and MS-Windows, compare with loaddefs.el
4663 case-insensitively.
4664
4665 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4666
4667 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4668
4669 2011-11-23 Glenn Morris <rgm@gnu.org>
4670
4671 * paths.el (rmail-file-name): Reformat the doc-string so that it
4672 is picked up.
4673
4674 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4675 (rmail-auto-file): Ignore case in the "special" field names,
4676 as mail-fetch-field does for all others.
4677
4678 * mail/rmail.el (rmail-forward):
4679 * mail/rmailkwd.el (rmail-set-label):
4680 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4681 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4682
4683 * mail/rmail.el (rmail-current-message): Doc fix.
4684
4685 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4686
4687 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4690
4691 2011-11-22 Glenn Morris <rgm@gnu.org>
4692
4693 * mail/rmailmm.el (test-rmail-mime-handler)
4694 (test-rmail-mime-bulk-handler)
4695 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4696
4697 2011-11-21 Juri Linkov <juri@jurta.org>
4698
4699 * calc/calc.el (calc-read-key-sequence):
4700 Let-bind `input-method-function' to nil. (Bug#10018)
4701
4702 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4703
4704 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4705 Tell the caller that the next line needs recomputation, even
4706 though it doesn't start a sexp (bug#10094).
4707
4708 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4711
4712 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4715 Use force-same-window.
4716
4717 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4718
4719 * descr-text.el (describe-char-unicode-data):
4720 * json.el (json-string-escape):
4721 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4722 (Footnote-unicode, Footnote-style-p):
4723 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4724
4725 2011-11-20 Chong Yidong <cyd@gnu.org>
4726
4727 * window.el (replace-buffer-in-windows): Restore interactive spec.
4728
4729 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4730
4731 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4732
4733 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4734 (byte-compile-global-not-obsolete-vars): New var.
4735 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4736 Use it.
4737 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4738
4739 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4740
4741 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4742 * progmodes/pascal.el (electric-pascal-equal):
4743 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4744 * xml.el (xml-substitute-special): Fix typos.
4745
4746 2011-11-20 Glenn Morris <rgm@gnu.org>
4747
4748 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4749 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4750 Doc fixes.
4751 (rmail-decode-mime-charset): Mark as obsolete.
4752
4753 * mail/rmailsum.el (rmail-message-regexp-p-1):
4754 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4755 Before using mime functions, check they are set. (Bug#10077)
4756
4757 2011-11-19 Juri Linkov <juri@jurta.org>
4758
4759 * info.el (Info-finder-find-node): Use `package--builtins' instead
4760 of `package-alist'. Use node names formed by the pattern "Keyword "
4761 and the keyword name.
4762
4763 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4764
4765 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4766
4767 2011-11-19 Juri Linkov <juri@jurta.org>
4768
4769 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4770 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4771 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4772 `old-history', `old-history-forward'. Add let-binding
4773 `window-selected'. Remove calls to `kill-buffer',
4774 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4775 before calling `Info-find-node', so `Info-find-node-2' will reread
4776 the Info file. Restore window positions only when `window-selected'
4777 is non-nil.
4778
4779 2011-11-19 Juri Linkov <juri@jurta.org>
4780
4781 * isearch.el (isearch-lazy-highlight-new-loop):
4782 Remove condition `(not isearch-error)'. (Bug#9918)
4783
4784 * misearch.el (multi-isearch-search-fun): Add condition
4785 `(not bound)' to ignore lazy-highlighting search.
4786 Add the search-failed message "end of multi" when the end of
4787 multi-sequence is reached. Uncapitalize the search-failed
4788 message "Repeat for next buffer".
4789
4790 * info.el (Info-search): Add the search-failed message
4791 "end of the manual" when the end of the manual is reached
4792 in Isearch mode.
4793
4794 2011-11-19 Juri Linkov <juri@jurta.org>
4795
4796 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4797 Use non-destructive `remove' instead of `delete' because
4798 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4799 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4800
4801 2011-11-19 Juri Linkov <juri@jurta.org>
4802
4803 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4804 to nil instead of binding `search-ring' and `regexp-search-ring'.
4805 (Bug#9185)
4806
4807 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4808
4809 * simple.el (line-move): Force movement by logical lines for any
4810 hscrolled window, not only when auto-hscroll-mode is on.
4811 (line-move-visual): Update doc string to that effect. (Bug#10076)
4812
4813 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4814
4815 * language/european.el (macintosh): Define as alias for mac-roman.
4816
4817 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4818
4819 * mail/rmailmm.el (rmail-mime-display-header)
4820 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4821 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4822 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4823 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4824 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4825 of a raw aref.
4826 (rmail-mime-entity-segment): To get past the tagline, move forward
4827 2 more lines, to account for the 2 empty lines that precede and
4828 follow the line with the buttons.
4829 (rmail-mime-update-tagline): Move one more line, to get past the
4830 empty line that follows the buttons in the tagline. (Bug#9520)
4831
4832 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4833
4834 * window.el (window-max-delta-1, window-min-delta-1)
4835 (window-min-size-1, window-state-get-1, window-state-put-1)
4836 (window-state-put-2): Use "window--" prefix.
4837
4838 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4841 (smie-warning-count): New var.
4842 (smie-set-prec2tab): Use it.
4843 (smie-bnf->prec2): Improve warnings. Add docstring.
4844 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4845 (smie-bnf--set-class): New function.
4846 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4847 corner case.
4848
4849 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4850 (compilation-error-properties, compilation-move-to-column):
4851 Handle compilation-first-column while in the target buffer.
4852
4853 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4854 Don't hardcode point-min==1.
4855
4856 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4857 (eshell-rewrite-for-command): Remove workaround.
4858 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4859 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4860 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4861
4862 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4863
4864 2011-11-17 Glenn Morris <rgm@gnu.org>
4865
4866 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4867 Ignore buffer-local generated-autoload-file if it is the same
4868 as the global value. (Bug#10049)
4869
4870 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4871
4872 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4873 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4874 (reftex-toc-previous-heading, reftex-toc-max-level)
4875 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4876 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4877 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4878 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4879 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4880 (reftex-toc-rename-label, reftex-toc-visit-location)
4881 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4882 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4883 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4884 leaving "*toc*" only for references to the buffer.
4885
4886 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4887
4888 * window.el (window-resize, delete-window, split-window):
4889 Replace window-splits by window-combination-resize.
4890 * cus-start.el (window-splits): Replace by window-combination-resize.
4891
4892 2011-11-17 Glenn Morris <rgm@gnu.org>
4893
4894 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4895 Make bash entry derive from sh entry, not shell entry.
4896
4897 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4898
4899 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4900 properties of linked files. (Bug#9879)
4901
4902 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4903 local file name.
4904
4905 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4906
4907 * menu-bar.el (menu-bar-file-menu):
4908 * printing.el (pr-ps-utility):
4909 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4910 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4911 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4912 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4913 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4914 (icalendar--convert-cyclic-to-ical)
4915 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4916 (icalendar--convert-ical-to-diary)
4917 (icalendar--convert-recurring-to-diary)
4918 (icalendar--convert-non-recurring-all-day-to-diary)
4919 (icalendar-import-format-sample):
4920 * progmodes/idlw-shell.el (idlwave-shell-mode):
4921 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4922 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4923 (vhdl-ps-print-init): Fix typos.
4924
4925 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4926
4927 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4928 FSF and collapse date sequence, obscure author/maintainer email address
4929 better, remove extra version line, track relocation of author's webpage.
4930
4931 * progmodes/python.el (python-pdbtrack-input-prompt)
4932 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4933 regular python pdb prompts. Adjustments shamelessly taken exactly as
4934 suggested in EmacsWiki page (tiny change):
4935 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4936
4937 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4938
4939 * expand.el (expand-pos, expand-index, expand-point):
4940 Remove redundant info from docstring.
4941 (expand-add-abbrevs): Doc fix.
4942 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4943 (expand-sample-perl-mode-expand-list): Fix typos.
4944
4945 * net/dbus.el (dbus-event-member-name):
4946 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4947 * term/pc-win.el (msdos-create-frame-with-faces):
4948 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4949
4950 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4951
4952 * window.el (split-window, window-state-get-1)
4953 (window-state-put-1, window-state-put-2): Rename occurrences of
4954 window-nest to window-combination-limit.
4955 * cus-start.el (window-nest): Rename to window-combination-limit.
4956
4957 2011-11-16 Chong Yidong <cyd@gnu.org>
4958
4959 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4960 regexp (Bug#10033).
4961
4962 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4965 `completing-read' will remove *Completions* and will preserve
4966 current-buffer for us.
4967 (tmm-add-prompt): Users of *Completions* will always (re)set its
4968 major mode.
4969 (tmm-old-comp-map): Remove.
4970
4971 2011-11-16 Glenn Morris <rgm@gnu.org>
4972
4973 * mail/rmailedit.el: Require rmailmm when compiling.
4974 (rmail-old-mime-state): New declaration.
4975 (rmail-edit-current-message): If editing a mime message,
4976 edit the "raw" message from the mbox buffer.
4977 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4978
4979 2011-11-15 Glenn Morris <rgm@gnu.org>
4980
4981 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4982 which wasn't being used. Add optional arg to force given state.
4983 (rmail-mime): Add optional arg to force given state.
4984
4985 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4986
4987 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4988 * frame.el (display-mm-dimensions-alist):
4989 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4990 (outline-move-subtree-down):
4991 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4992 (newsticker--treeview-do-get-node):
4993 * net/quickurl.el (quickurl-list-buffer-name):
4994 * progmodes/dcl-mode.el (dcl-mode):
4995 * progmodes/gdb-mi.el (gdb-mapcar*):
4996 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4997
4998 2011-11-15 Glenn Morris <rgm@gnu.org>
4999
5000 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5001 in a boolean sense, so just make it a boolean, and fix the doc.
5002 (rmail-show-mime-function, rmail-mime-feature)
5003 (rmail-require-mime-maybe): Doc fixes.
5004 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5005
5006 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5007
5008 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5009
5010 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5011 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5012 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5013 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5014
5015 2011-11-15 Glenn Morris <rgm@gnu.org>
5016
5017 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5018 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5019 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5020 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5021 (rmail-mime, rmail-show-mime): Doc fixes.
5022
5023 * term/ns-win.el (mode-line-frame-identification):
5024 Leave it alone. (Bug#10051)
5025
5026 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5027
5028 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5029 Handle empty buffers. (Bug#9978)
5030
5031 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5032
5033 * international/mule.el (define-charset):
5034 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5035 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5036 * progmodes/verilog-mode.el (verilog-backward-token):
5037 * textmodes/ispell.el (lookup-words):
5038 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5039
5040 2011-11-14 Glenn Morris <rgm@gnu.org>
5041
5042 * progmodes/executable.el
5043 (executable-make-buffer-file-executable-if-script-p):
5044 Handle file-modes returning nil.
5045
5046 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5047 message - not necessary, and causes problems. (Bug#9831)
5048
5049 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5050
5051 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5052
5053 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5054 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5055 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5056
5057 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5058
5059 * window.el (window-resize, delete-window): Use window-splits
5060 variable instead of function.
5061 (window-state-get-1, window-state-put-2, window-state-put):
5062 Don't deal with windows' splits status.
5063
5064 2011-11-12 Glenn Morris <rgm@gnu.org>
5065
5066 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5067 (apropos-documentation): Doc fixes.
5068
5069 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5070
5071 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5072 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5073
5074 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * electric.el (electric-indent-post-self-insert-function): Make it
5077 possible for a char to only indent in some circumstances.
5078 (electric-indent-mode): Simplify.
5079
5080 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5081
5082 * window.el (windows-with-parameter): Remove unused function.
5083 (windows-at-side): Rename to window-at-side-list.
5084 (window-check, window-atom-check, window-atom-check-1)
5085 (window-side-check, window-size-ignore, window-size-fixed-1)
5086 (window-in-direction-2): Prefix with "window--".
5087 (window-tree-1): Rename to window--subtree, fix doc-string.
5088
5089 2011-11-11 Glenn Morris <rgm@gnu.org>
5090
5091 * subr.el (eval-after-load): If FILE is already loaded,
5092 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5093
5094 2011-11-10 Glenn Morris <rgm@gnu.org>
5095
5096 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5097 Call svn via vc-svn-command rather than vc-do-command.
5098 (vc-svn-command): Add --non-interactive. (Bug#9993)
5099 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5100
5101 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5102 Add toggle-read-only. (Bug#7292)
5103 * files.el (toggle-read-only): Mention that it should only
5104 be used interactively. (Bug#10006)
5105
5106 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5109 Adjust regexp for OCaml warnings.
5110
5111 * electric.el (electric-pair-post-self-insert-function): Let user
5112 turn it off buffer-locally (bug#9932).
5113
5114 * progmodes/python.el (python-beginning-of-statement):
5115 Rewrite (bug#2703).
5116
5117 * progmodes/compile.el: Better handle TABs (bug#9749).
5118 (compilation-internal-error-properties)
5119 (compilation-next-error-function): Obey the target buffer's
5120 compilation-error-screen-columns.
5121
5122 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5123
5124 * progmodes/meta-mode.el: Remove obsolete comments.
5125 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5126 Fix typos in docstrings.
5127
5128 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5129
5130 * window.el (window-size-fixed-p): Rewrite doc-string.
5131 (window-resizable-p): Rename to window--resizable-p. Update callers.
5132 (window--resizable): New function. Make all callers of
5133 window-resizable call window--resizable instead.
5134 (window-resizable): Rewrite in terms of window--resizable.
5135
5136 2011-11-08 Glenn Morris <rgm@gnu.org>
5137
5138 * progmodes/delphi.el (delphi-mode-syntax-table):
5139 Let define-derived-mode define a proper syntax table. (Bug#9994)
5140
5141 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * window.el: Stay away from defsubst.
5144 (window-list-no-nils): Remove.
5145 (window-state-get-1, window-state-get): Use backquote instead.
5146
5147 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5148
5149 * emacs-lisp/find-func.el (find-function-read):
5150 Fix incorrect use of default argument in `completing-read'.
5151
5152 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5153
5154 * window.el (display-buffer-function, special-display-function):
5155 Mention display-buffer-record-window but do not mention
5156 help-setup parameter in doc-strings.
5157 (window-min-delta): Fix doc-string typo.
5158
5159 2011-11-08 Chong Yidong <cyd@gnu.org>
5160
5161 * window.el (window-total-height, window-total-width): Doc fix.
5162 (window-body-size): Move from C.
5163 (window-body-height, window-body-width): Move to C.
5164
5165 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * window.el: Make special-display like display-buffer-alist (bug#9532).
5168 (display-buffer--special-action): New function, morphed
5169 from display-buffer--special.
5170 (display-buffer): Use it to handle special-display-buffers at higher
5171 priority (just after display-buffer-alist).
5172 (display-buffer-fallback-action, display-buffer--other-frame-action)
5173 (pop-to-buffer-same-window): Remove display-buffer--special.
5174
5175 2011-11-07 Glenn Morris <rgm@gnu.org>
5176
5177 * calendar/cal-menu.el (cal-menu-set-date-title):
5178 Do nothing if not in a calendar. (Bug#9976)
5179
5180 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5181
5182 * files.el (find-file): Always use selected-window.
5183
5184 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5185
5186 * window.el (window-combinations): Make WINDOW argument
5187 mandatory. Rewrite doc-string.
5188 (walk-window-subtree, window-atom-check, window-min-delta)
5189 (window-max-delta, window--resize-this-window)
5190 (window--resize-root-window-vertically, window-tree)
5191 (balance-windows, window-state-put): Rewrite doc-strings as to
5192 not mention the term "subwindow".
5193 (window--resize-subwindows-skip-p): Rename to
5194 window--resize-child-windows-skip-p.
5195 (window--resize-subwindows-normal): Rename to
5196 window--resize-child-windows-normal.
5197 (window--resize-subwindows): Rename to
5198 window--resize-child-windows.
5199 (window-or-subwindow-p): Rename to window--in-subtree-p.
5200
5201 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5202
5203 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5204 Ensure that mbox format messages end in two newlines (Bug#9974).
5205
5206 2011-11-06 Chong Yidong <cyd@gnu.org>
5207
5208 * window.el (window-combination-p): Function deleted; its
5209 side-effect is not used in any existing code.
5210 (window-combinations, window-combined-p): Call window-*-child
5211 directly.
5212
5213 2011-11-05 Chong Yidong <cyd@gnu.org>
5214
5215 * window.el (window-valid-p): Rename from window-any-p.
5216 (window-size-ignore, window-state-get): Callers changed.
5217 (window-normalize-window): Rename from window-normalize-any-window.
5218 New arg LIVE-ONLY, replacing window-normalize-live-window.
5219 (window-normalize-live-window): Delete.
5220 (window-combination-p, window-combined-p, window-combinations)
5221 (walk-window-subtree, window-atom-root, window-min-size)
5222 (window-sizable, window-sizable-p, window-size-fixed-p)
5223 (window-min-delta, window-max-delta, window-resizable)
5224 (window-resizable-p, window-full-height-p, window-full-width-p)
5225 (window-current-scroll-bars, window-point-1, set-window-point-1)
5226 (window-at-side-p, window-in-direction, window-resize)
5227 (adjust-window-trailing-edge, maximize-window, minimize-window)
5228 (window-deletable-p, delete-window, delete-other-windows)
5229 (record-window-buffer, unrecord-window-buffer)
5230 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5231 (quit-window, split-window, window-state-put)
5232 (set-window-text-height, fit-window-to-buffer)
5233 (shrink-window-if-larger-than-buffer): Callers changed.
5234
5235 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5236
5237 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5238 rfc2047-decode-string.
5239 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5240 warnings.
5241
5242 * window.el (window-body-height, window-body-width): Mention in
5243 the doc string that the return values are in frame's canonical
5244 units. (Bug#9949)
5245
5246 2011-11-03 Alan Mackenzie <acm@muc.de>
5247
5248 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5249 change in cc-engine.el.
5250
5251 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5252
5253 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5254
5255 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5256
5257 * window.el (quit-window): Call unrecord-window-buffer after
5258 showing another buffer in the window. (Bug#9937)
5259 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5260
5261 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5262
5263 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5264 Accept status with more than 9 shelves. (Bug#9935)
5265 Reported by Colin D Bennett <colin@gibibit.com>.
5266
5267 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5268
5269 * help.el (with-help-window): Don't reference
5270 temp-buffer-show-specifiers in doc-string.
5271
5272 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5273
5274 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5275 menu-item.
5276
5277 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5278
5279 * whitespace.el: New version 13.2.2.
5280 (whitespace-newline-mode): Disable properly. Reported by Sarah
5281 <EmacsWiki>.
5282
5283 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5284
5285 * net/newst-treeview.el: Remove "Time-stamp".
5286 (newsticker--group-manage-orphan-feeds): Do not call
5287 newsticker--treeview-tree-update.
5288 (newsticker-treeview-update, newsticker-treeview):
5289 Call newsticker--treeview-tree-update if necessary.
5290
5291 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5292
5293 * window.el (window-iso-combination-p, window-iso-combined-p)
5294 (window-iso-combinations): Remove "iso-" infix.
5295 Suggested by Chong Yidong.
5296 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5297 (window-max-delta-1, window-resize, window--resize-siblings)
5298 (window--resize-this-window, adjust-window-trailing-edge)
5299 (split-window, balance-windows-1)
5300 (shrink-window-if-larger-than-buffer):
5301 * calendar/calendar.el (calendar-generate-window):
5302 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5303
5304 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5307 in place (bug#9907).
5308 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5309 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5310 (eshell-structure-basic-command, eshell-rewrite-while-command)
5311 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5312 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5313 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5314 (eshell-do-pipelines-synchronously, eshell-eval-command):
5315 Use backquotes and prefer setq to set.
5316 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5317 (eshell-macrop): Use functionp.
5318 (eshell-do-eval): Handle multiple expressions in `while' body.
5319
5320 2011-10-30 Chong Yidong <cyd@gnu.org>
5321
5322 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5323 instead of set-mark (Bug#9810).
5324
5325 2011-10-30 Chong Yidong <cyd@gnu.org>
5326
5327 * window.el (split-window-below, split-window-right): Rename from
5328 split-window-above-each-other and split-window-side-by-side
5329 respectively. All callers changed.
5330 (split-window-sensibly, split-window-sensibly): Use them.
5331 (split-window-keep-point): Doc fix.
5332
5333 * isearch.el: Add isearch-scroll property to split-window-below
5334 and split-window-right.
5335
5336 * follow.el (follow-mode):
5337 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5338 * progmodes/ada-xref.el (ada-gdb-application):
5339 * emulation/vip.el (vip-buffer-in-two-windows):
5340 * image-dired.el (image-dired-dired-with-window-configuration):
5341 * dired-x.el (dired-do-find-marked-files):
5342 * dired.el (dired-pop-to-buffer):
5343 * bs.el (bs--show-with-configuration):
5344 * vc/emerge.el (emerge-setup-windows):
5345 * textmodes/two-column.el (2C-two-columns):
5346 * textmodes/reftex-toc.el (reftex-toc):
5347 * progmodes/gdb-mi.el (gdb-setup-windows):
5348 * progmodes/fortran.el (fortran-window-create):
5349 * net/newst-treeview.el (newsticker--treeview-window-init):
5350 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5351 * emulation/tpu-edt.el (tpu-gold-map):
5352 * emulation/crisp.el (crisp-mode-map):
5353 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5354
5355 2011-10-29 Chong Yidong <cyd@gnu.org>
5356
5357 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5358
5359 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5360
5361 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5362 forged Ispell output (Bug#7904).
5363
5364 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5365
5366 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * doc-view.el: Avoid ugly errors about not finding nil.
5369 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5370 (doc-view-dvipdf-program, doc-view-unoconv-program)
5371 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5372 Avoid nil or absolute file name as default value.
5373 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5374
5375 2011-10-28 Alan Mackenzie <acm@muc.de>
5376
5377 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5378
5379 2011-10-28 Alan Mackenzie <acm@muc.de>
5380
5381 Amend the handling of c-beginning/end-of-defun in nested declaration
5382 scopes.
5383
5384 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5385 cc-langs.el. Change it to a defcustom.
5386
5387 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5388 cc-vars.el.
5389
5390 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5391 Prevent "class foo : bar" being spuriously recognized as a label.
5392
5393 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5394 Add parameter `inclusive' (to include enclosing braces in the region).
5395 (c-widen-to-enclosing-decl-scope): New function.
5396 (c-while-widening-to-decl-block): New macro.
5397 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5398 outward for defun boundaries, and correspondingly change symbol
5399 `respect-enclosure' to `go-outward'.
5400 (c-declaration-limits): Change algorithm to report only the "innermost"
5401 defun's boundaries.
5402
5403 2011-10-28 Deniz Dogan <deniz@dogan.se>
5404
5405 * net/rcirc.el (rcirc-mode): Use hard newlines.
5406
5407 2011-10-28 Alan Mackenzie <acm@muc.de>
5408
5409 Amend to indent and fontify macros "which include their own semicolon"
5410 correctly, using the "virtual semicolon" mechanism.
5411
5412 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5413
5414 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5415 Recode to scan one line at a time rather than having \n and \r
5416 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5417 (c-forward-label): Amend for virtual semicolons.
5418 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5419
5420 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5421 of the new C macros.
5422
5423 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5424 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5425 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5426 (c-opt-cpp-macro-define): Make into a full language variable.
5427 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5428 AWK Mode (including \n, \r) removed, no longer needed.
5429
5430 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5431 Invoke c-make-macro-with-semi-re.
5432
5433 * progmodes/cc-vars.el (c-macro-with-semi-re):
5434 (c-macro-names-with-semicolon): New variables.
5435 (c-make-macro-with-semi-re): New function.
5436
5437 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5438
5439 * vc/log-edit.el: Fill empty field rather than adding new one.
5440 (log-edit-add-field): New function.
5441 (log-edit-insert-changelog): Use it.
5442
5443 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5444
5445 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5446
5447 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5450 (gdb--check-interpreter): New function.
5451 (gdb): Use it.
5452
5453 2011-10-27 Glenn Morris <rgm@gnu.org>
5454
5455 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5456 (least-positive-float, least-negative-float)
5457 (least-positive-normalized-float, least-negative-normalized-float)
5458 (float-epsilon, float-negative-epsilon):
5459 Remove unnecessary declarations.
5460
5461 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5462 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5463 (least-positive-float, least-negative-float)
5464 (least-positive-normalized-float, least-negative-normalized-float)
5465 (float-epsilon, float-negative-epsilon): Add doc-strings,
5466 based on those in cl.texi.
5467
5468 * files.el (set-visited-file-name): If the major-mode changed,
5469 reload the local variables. (Bug#9796)
5470
5471 2011-10-27 Chong Yidong <cyd@gnu.org>
5472
5473 * subr.el (change-major-mode-after-body-hook): New hook.
5474 (run-mode-hooks): Run it.
5475
5476 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5477 Use change-major-mode-before-body-hook.
5478
5479 * simple.el (fundamental-mode):
5480 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5481 change introducing fundamental-mode-hook.
5482
5483 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5484
5485 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5486
5487 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5488
5489 * ido.el (ido-file-name-all-completions-1): Do not require
5490 tramp.el explicitly. (Bug#7583)
5491
5492 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * progmodes/octave-mod.el:
5495 * progmodes/octave-inf.el: Update maintainer.
5496
5497 2011-10-26 Chong Yidong <cyd@gnu.org>
5498
5499 * subr.el (with-wrapper-hook): Rewrite doc.
5500
5501 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5502
5503 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5504 filenames "/method:foo:". (Bug#9793)
5505
5506 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5509 (bug#9865).
5510
5511 2011-10-24 Glenn Morris <rgm@gnu.org>
5512
5513 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5514
5515 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5516
5517 * notifications.el: Add the requirement of a running D-Bus session
5518 bus to the Commentary.
5519
5520 2011-10-24 Juri Linkov <juri@jurta.org>
5521
5522 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5523 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5524 (Bug#9364)
5525
5526 2011-10-24 Juri Linkov <juri@jurta.org>
5527
5528 * info.el (Info-following-node-name-re): Add newline to the list
5529 of allowed characters for leading space. (Bug#9824)
5530
5531 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * progmodes/octave-inf.el (inferior-octave-mode-map):
5534 Fix C-c C-h binding.
5535 * progmodes/octave-mod.el (octave-help): Remove.
5536
5537 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5538
5539 Sync with Tramp 2.2.3.
5540
5541 * net/tramp-cache.el (top): Pacify byte-compiler using
5542 `init-file-user' and `site-run-file'.
5543
5544 * net/trampver.el: Update release number.
5545
5546 2011-10-23 Chong Yidong <cyd@gnu.org>
5547
5548 * files.el (toggle-read-only): Remove obsolete comment about
5549 version control.
5550
5551 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5552 for toggle-read-only. Note that this hasn't called vc-next-action
5553 since 2008-05-02, though it wasn't documented at the time.
5554
5555 * vc/ediff-init.el (ediff-toggle-read-only-function):
5556 Use toggle-read-only.
5557
5558 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5559
5560 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5561 of c-parse-state.
5562
5563 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5564 correct faulty logical expression.
5565 (c-parse-state-state, c-record-parse-state-state):
5566 (c-replay-parse-state-state): New defvar/defuns.
5567 (c-debug-parse-state): Use new functions.
5568
5569 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5570
5571 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5572 last fix. Use window-in-direction correctly.
5573
5574 2011-10-21 Chong Yidong <cyd@gnu.org>
5575
5576 * progmodes/idlwave.el (idlwave-mode):
5577 * progmodes/vera-mode.el (vera-mode): No need to set
5578 require-final-newline; that's done in prog-mode.
5579 Suggested by Stefan Monnier.
5580
5581 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5582
5583 * mouse.el (mouse-drag-window-above)
5584 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5585 (mouse-drag-mode-line-1, mouse-drag-header-line)
5586 (mouse-drag-vertical-line-rightward-window): Remove.
5587 (mouse-drag-line): New function.
5588 (mouse-drag-mode-line, mouse-drag-header-line)
5589 (mouse-drag-vertical-line): Call mouse-drag-line.
5590 * window.el (window-at-side-p, windows-at-side): New functions.
5591
5592 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5593
5594 * tar-mode.el (tar-grind-file-mode):
5595 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5596
5597 2011-10-21 Chong Yidong <cyd@gnu.org>
5598
5599 * progmodes/idlwave.el (idlwave-mode):
5600 * progmodes/vera-mode.el (vera-mode):
5601 Use mode-require-final-newline.
5602
5603 2011-10-20 Glenn Morris <rgm@gnu.org>
5604
5605 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5606
5607 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5608
5609 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5610
5611 2011-10-20 Chong Yidong <cyd@gnu.org>
5612
5613 * emulation/cua-base.el (cua-mode):
5614 * mail/footnote.el (footnote-mode):
5615 * mail/mailabbrev.el (mail-abbrevs-mode):
5616 * net/xesam.el (xesam-minor-mode):
5617 * progmodes/bug-reference.el (bug-reference-mode):
5618 * progmodes/cap-words.el (capitalized-words-mode):
5619 * progmodes/compile.el (compilation-minor-mode)
5620 (compilation-shell-minor-mode):
5621 * progmodes/gud.el (gud-tooltip-mode):
5622 * progmodes/hideif.el (hide-ifdef-mode):
5623 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5624 * progmodes/subword.el (subword-mode):
5625 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5626 * progmodes/which-func.el (which-function-mode):
5627 * term/tvi970.el (tvi970-set-keypad-mode):
5628 * term/vt100.el (vt100-wide-mode):
5629 * textmodes/flyspell.el (flyspell-mode):
5630 * textmodes/ispell.el (ispell-minor-mode):
5631 * textmodes/nroff-mode.el (nroff-electric-mode):
5632 * textmodes/paragraphs.el (use-hard-newlines):
5633 * textmodes/refill.el (refill-mode):
5634 * textmodes/reftex.el (reftex-mode):
5635 * textmodes/rst.el (rst-minor-mode):
5636 * textmodes/sgml-mode.el (html-autoview-mode)
5637 (sgml-electric-tag-pair-mode):
5638 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5639 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5640 * emulation/crisp.el (crisp-mode):
5641 * emacs-lisp/eldoc.el (eldoc-mode):
5642 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5643 minor mode behavior.
5644
5645 2011-10-19 Juri Linkov <juri@jurta.org>
5646
5647 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5648 the list of hard-coded chars with escape-glyph face.
5649
5650 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5651
5652 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5653
5654 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5655
5656 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5657 running process.
5658
5659 2011-10-19 Glenn Morris <rgm@gnu.org>
5660
5661 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5662 Ignore ignored files. (Bug#9726)
5663
5664 2011-10-19 Chong Yidong <cyd@gnu.org>
5665
5666 Doc fix for minor modes, stating that an omitted argument enables
5667 the mode unconditionally when called from Lisp.
5668
5669 * abbrev.el (abbrev-mode):
5670 * allout.el (allout-mode):
5671 * autoinsert.el (auto-insert-mode):
5672 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5673 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5674 (global-auto-revert-mode):
5675 * battery.el (display-battery-mode):
5676 * composite.el (global-auto-composition-mode)
5677 (auto-composition-mode):
5678 * delsel.el (delete-selection-mode):
5679 * desktop.el (desktop-save-mode):
5680 * dired-x.el (dired-omit-mode):
5681 * dirtrack.el (dirtrack-mode):
5682 * doc-view.el (doc-view-minor-mode):
5683 * double.el (double-mode):
5684 * electric.el (electric-indent-mode, electric-pair-mode):
5685 * emacs-lock.el (emacs-lock-mode):
5686 * epa-hook.el (auto-encryption-mode):
5687 * follow.el (follow-mode):
5688 * font-core.el (font-lock-mode):
5689 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5690 * help.el (temp-buffer-resize-mode):
5691 * hilit-chg.el (highlight-changes-mode)
5692 (highlight-changes-visible-mode):
5693 * hi-lock.el (hi-lock-mode):
5694 * hl-line.el (hl-line-mode, global-hl-line-mode):
5695 * icomplete.el (icomplete-mode):
5696 * ido.el (ido-everywhere):
5697 * image-file.el (auto-image-file-mode):
5698 * image-mode.el (image-minor-mode):
5699 * iswitchb.el (iswitchb-mode):
5700 * jka-cmpr-hook.el (auto-compression-mode):
5701 * linum.el (linum-mode):
5702 * longlines.el (longlines-mode):
5703 * master.el (master-mode):
5704 * mb-depth.el (minibuffer-depth-indicate-mode):
5705 * menu-bar.el (menu-bar-mode):
5706 * minibuf-eldef.el (minibuffer-electric-default-mode):
5707 * mouse-sel.el (mouse-sel-mode):
5708 * msb.el (msb-mode):
5709 * mwheel.el (mouse-wheel-mode):
5710 * outline.el (outline-minor-mode):
5711 * paren.el (show-paren-mode):
5712 * recentf.el (recentf-mode):
5713 * reveal.el (reveal-mode, global-reveal-mode):
5714 * rfn-eshadow.el (file-name-shadow-mode):
5715 * ruler-mode.el (ruler-mode):
5716 * savehist.el (savehist-mode):
5717 * scroll-all.el (scroll-all-mode):
5718 * scroll-bar.el (scroll-bar-mode):
5719 * server.el (server-mode):
5720 * shell.el (shell-dirtrack-mode):
5721 * simple.el (auto-fill-mode, transient-mark-mode)
5722 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5723 (line-number-mode, column-number-mode, size-indication-mode)
5724 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5725 * strokes.el (strokes-mode):
5726 * time.el (display-time-mode):
5727 * t-mouse.el (gpm-mouse-mode):
5728 * tool-bar.el (tool-bar-mode):
5729 * tooltip.el (tooltip-mode):
5730 * type-break.el (type-break-mode-line-message-mode)
5731 (type-break-query-mode):
5732 * view.el (view-mode):
5733 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5734 (global-whitespace-mode, global-whitespace-newline-mode):
5735 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5736
5737 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5738 Fix autogenerated docstring.
5739
5740 2011-10-19 Juri Linkov <juri@jurta.org>
5741
5742 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5743 by checking environment variables "DESKTOP_SESSION" and
5744 "XDG_CURRENT_DESKTOP". (Bug#9779)
5745
5746 2011-10-19 Juri Linkov <juri@jurta.org>
5747
5748 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5749 (browse-url-chromium-program, browse-url-chromium-arguments):
5750 New defcustoms.
5751 (browse-url-default-browser): Check for `browse-url-chromium' and
5752 call `browse-url-chromium-program'.
5753 (browse-url-chromium): New command. (Bug#9779)
5754
5755 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5756
5757 * facemenu.el (list-colors-duplicates): On Windows, detect more
5758 duplicates by assuming that only colors matching "^System" are
5759 special "system colors". (Bug#9722)
5760
5761 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5764 to distinguish the author from the committer.
5765
5766 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5767
5768 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5769
5770 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5771
5772 * international/mule.el (sgml-html-meta-auto-coding-function):
5773 Add support for detecting encoding in HTML5 specified only as
5774 <meta charset="UTF-8">. Implementation just makes http-equiv and
5775 content-type parts from HTML4 encoding string optional. (Bug#9716)
5776
5777 2011-10-18 Glenn Morris <rgm@gnu.org>
5778
5779 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5780
5781 2011-10-18 Chong Yidong <cyd@gnu.org>
5782
5783 * faces.el (cursor): Doc fix.
5784
5785 2011-10-17 Chong Yidong <cyd@gnu.org>
5786
5787 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5788
5789 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5790
5791 * dirtrack.el (dirtrack): Support shell buffers with path
5792 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5793
5794 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5795
5796 * json.el: Bump version to 1.3 and note change in History.
5797 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5798
5799 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5800
5801 * comint.el (comint-insert-input, comint-send-input)
5802 (comint-get-old-input-default, comint-backward-matching-input)
5803 (comint-next-prompt): Use nil instead of `input' for field property of
5804 past user input (bug#114).
5805
5806 * minibuffer.el (completion--replace): Inherit surrounding properties
5807 (bug#114).
5808 (minibuffer-complete-and-exit): Use it.
5809
5810 * comint.el (comint--table-subvert): Quote the all-completions output
5811 (bug#9160).
5812
5813 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5814
5815 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5816
5817 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5818 window on right of selected. (Bug#9350) Reword other window
5819 entries and separate them from frame entries.
5820
5821 2011-10-15 Glenn Morris <rgm@gnu.org>
5822
5823 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5824 Doc fixes.
5825
5826 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5827
5828 * net/network-stream.el (network-stream-open-starttls):
5829 Improve detection of failure due to lack of TLS support.
5830
5831 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5832 putting the input text in front and in bold.
5833
5834 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5837
5838 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5839 empty buffer.
5840
5841 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5842 unread-command-events rather than pushing yet-another event.
5843
5844 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5845
5846 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5847 the explanation of the possible choices. Make the options passed
5848 to completing-read shorter.
5849
5850 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5851
5852 * textmodes/flyspell.el (flyspell-large-region): Make sure
5853 extended character mode is used if defined (Bug#1339).
5854
5855 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5856
5857 * simple.el (what-cursor-position): Fix the display of the
5858 character info for LRE, LRO, RLE, and RLO characters by appending
5859 an invisible PDF.
5860
5861 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5864 even in case of error; add debug spec; simplify data flow.
5865 (with-timeout-handler): Remove.
5866
5867 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5868
5869 Fix Bug#6019, Bug#9315.
5870
5871 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5872 complete `buffer-file-name', the local file name part could look
5873 remotely (for example on VMS).
5874
5875 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5876 `tramp-run-real-handler'.
5877 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5878 already quoted by '"'.
5879
5880 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5881 Let `file-name-handler-alist' be nil, the local file name part
5882 could look remotely (for example on VMS).
5883
5884 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5885
5886 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5887 from here...
5888 (flyspell-post-command-hook): ...to here.
5889
5890 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5893 if not needed.
5894 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5895 using completion. Protect against "slow" callers.
5896 Remove the "message hack".
5897
5898 2011-10-11 Juri Linkov <juri@jurta.org>
5899
5900 * isearch.el (isearch-lazy-highlight-word): New variable.
5901 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5902 Use it. (Bug#9727)
5903
5904 2011-10-11 Glenn Morris <rgm@gnu.org>
5905
5906 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5907 like f90-previous-statement does.
5908
5909 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5910
5911 * eshell/eshell.el (eshell-command): History should be saved
5912 only in interactive use, to avoid error.
5913
5914 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5915
5916 * minibuffer.el (completion-file-name-table): Fix last change,
5917 i.e. ignore normal errors but not the other ones.
5918
5919 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5920
5921 * window.el (special-display-buffer-names)
5922 (special-display-regexps): Remove some remnants of earlier
5923 changes from doc-strings.
5924 (quit-windows-on): New function.
5925
5926 * vc/vc.el (vc-revert, vc-rollback):
5927 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5928 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5929 (Bug#6183) (Bug#7074) (Bug#7447)
5930
5931 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5932
5933 * window.el (frame-auto-hide-function): Add version tag.
5934 (Bug#9699)
5935
5936 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5937
5938 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5939 condition.
5940
5941 2011-10-09 Leo Liu <sdl.web@gmail.com>
5942
5943 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5944 (Bug#9701)
5945
5946 2011-10-08 Glenn Morris <rgm@gnu.org>
5947
5948 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5949 before the first code statement zero indent. (Bug#9690)
5950
5951 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5952
5953 * simple.el (count-words-region): Always count in the region.
5954 Report the number of lines and characters too.
5955 (count-words): New command, which counts in the buffer if the
5956 region is inactive, as count-words-region used to.
5957 (count-words--message): New function. Handle plurals.
5958 (count-lines-region): Make it an alias for count-words-region.
5959
5960 * bindings.el (esc-map): Replace count-lines-region with
5961 count-words-region.
5962
5963 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5964
5965 * window.el (window--delete): Delete dedicated frame
5966 unconditionally when argument KILL is non-nil. (Bug#9699)
5967 (switch-to-buffer): Fix doc-string typo.
5968
5969 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5970
5971 * eshell/eshell.el (eshell-command): Avoid using hooks.
5972
5973 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5974
5975 * bindings.el ([M-left],[M-right]): Bind to left-word and
5976 right-word respectively.
5977
5978 2011-10-07 Glenn Morris <rgm@gnu.org>
5979
5980 * cus-start.el (debug-on-quit): Fix custom type.
5981
5982 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5983
5984 * subr.el (define-key-after): Clarify that the function is not
5985 useful for non-menu keymaps.
5986
5987 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5988
5989 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5990
5991 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5992 in current minibuffer (Fix bug with recursive minibuffers).
5993
5994 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5995
5996 * progmodes/gdb-mi.el (gdb): Doc fix.
5997
5998 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5999
6000 * window.el (frame-auto-hide-function): New option replacing
6001 frame-auto-delete. Suggested by Stefan Monnier.
6002 (window--delete): Call frame-auto-hide-function instead of
6003 investigating frame-auto-delete.
6004 (window-point-1, set-window-point-1): New functions.
6005 (window-in-direction, record-window-buffer, window-state-get-1)
6006 (display-buffer-record-window): Use window-point-1 instead of
6007 window-point.
6008 (set-window-buffer-start-and-point): Use set-window-point-1.
6009
6010 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6013
6014 2011-10-05 Glenn Morris <rgm@gnu.org>
6015
6016 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6017 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6018
6019 2011-10-05 Leo Liu <sdl.web@gmail.com>
6020
6021 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6022 works with buffer object.
6023
6024 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6025
6026 * mpc.el (mpc-tool-bar-map): Add labels.
6027
6028 2011-10-04 Glenn Morris <rgm@gnu.org>
6029
6030 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6031
6032 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6033
6034 * window.el (window--delete): New function.
6035 (frame-auto-delete): Resuscitate option.
6036 (bury-buffer, replace-buffer-in-windows)
6037 (quit-window): Rewrite using window--delete.
6038 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6039 Pass display-buffer-mark-dedicated to window--display-buffer-2
6040 (Bug#9639).
6041
6042 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6045 returns a list (bug#9554). Add remote file name completion.
6046 * comint.el (comint--table-subvert): Curry and get quote&unquote
6047 functions as arguments.
6048 (comint--complete-file-name-data): Adjust call accordingly.
6049 * pcomplete.el (pcomplete--table-subvert): Remove.
6050 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6051
6052 * minibuffer.el (completion-table-case-fold): Use currying.
6053 (completion--styles-type, completion--cycling-threshold-type):
6054 New constants.
6055 (completion-styles, completion-category-overrides)
6056 (completion-cycle-threshold): Use them.
6057 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6058 completion-table-case-fold.
6059
6060 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6061
6062 * minibuffer.el (completion-category-overrides): Fix type of styles
6063 and add more user friendly tags (bug#9660).
6064
6065 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6068 (mule-input-method-string): New widget.
6069 (default-input-method, language-info-custom-alist): Use it.
6070
6071 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * pcomplete.el: Require comint.
6074 (pcomplete--common-suffix): Remove.
6075 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6076 (pcomplete--table-subvert): Sync with comint--table-subvert.
6077 (pcomplete--entries): Use comint-completion-file-name-table.
6078 * comint.el (comint-unquote-filename): Simplify.
6079 (comint-completion-file-name-table): New function (bug#9616).
6080 (comint--complete-file-name-data): Use it.
6081
6082 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6083 (pcmpl-gnu-tar-buffer): Remove.
6084 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6085 around. Make sure pcomplete-suffix-list is only changed temporarily.
6086 Don't look inside the tar's file if it's too large.
6087
6088 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6089
6090 * cus-edit.el (custom-mode-map):
6091 * epa.el (epa-key-list-mode-map):
6092 * man.el (Man-mode-map):
6093 * startup.el (splash-screen-keymap):
6094 * simple.el (special-mode-map): Use scroll-up-command and
6095 scroll-down-command.
6096
6097 * progmodes/idlw-help.el (idlwave-help-mode-map):
6098 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6099 * net/newst-plainview.el (newsticker-mode-map):
6100 * emulation/ws-mode.el (wordstar-mode-map):
6101 * emulation/vi.el (vi-com-map):
6102 * calc/calc-graph.el (calc-graph-show-dumb):
6103 * term/sun.el (terminal-init-sun):
6104 * term/ns-win.el (global-map):
6105 * progmodes/grep.el (grep-mode-map):
6106 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6107 * mail/rmail.el (rmail-mode-map):
6108 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6109
6110 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6111 custom-safe-themes as special.
6112
6113 2011-10-01 Julien Danjou <julien@danjou.info>
6114
6115 * notifications.el (notifications-notify): Fix docstring.
6116
6117 2011-10-01 Per Starbäck <per@starback.se>
6118
6119 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6120
6121 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6122
6123 * startup.el (command-line-1): Fix last fix by inserting
6124 initial-scratch-message into *scratch* before displaying it.
6125 (Bug#9605) and (Bug#9636)
6126
6127 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6128
6129 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6130 window is hscrolled, move by logical lines. (Bug#9607)
6131 (line-move-visual): Update the doc string to the above effect.
6132
6133 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6134
6135 * window.el (display-buffer-record-window): When WINDOW is the
6136 selected window use `point' instead of `window-point'. (Bug#9626)
6137
6138 * startup.el (command-line-1): Use insert-before-markers when
6139 inserting initial-scratch-message. (Bug#9605)
6140
6141 * help.el (help-window): Remove variable.
6142
6143 2011-09-29 Glenn Morris <rgm@gnu.org>
6144
6145 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6146
6147 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6148
6149 * descr-text.el (describe-char-categories): Accept category
6150 descriptions more than one line long.
6151
6152 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * simple.el (delete-trailing-whitespace): Fix last change.
6155
6156 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6157 Don't confuse "y => 3" as the beginning of a `y' operation.
6158
6159 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6160 object has more than 4 slots (bug#9613).
6161
6162 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6163
6164 * subr.el (with-output-to-temp-buffer):
6165 * net/quickurl.el (quickurl, quickurl-browse-url):
6166 Fix typos in docstrings.
6167
6168 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6169
6170 * minibuffer.el (completion-styles)
6171 (completion-category-overrides): Cross reference each other in doc
6172 strings.
6173
6174 2011-09-27 Glenn Morris <rgm@gnu.org>
6175
6176 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6177 to split-string. (Bug#9606)
6178
6179 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6180
6181 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6182 (bug#9615).
6183
6184 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6185
6186 * emacs-lisp/package.el (list-packages): Fix echo area message.
6187
6188 2011-09-27 Leo Liu <sdl.web@gmail.com>
6189
6190 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6191
6192 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6193
6194 * net/dbus.el (dbus-unregister-object): Don't release services for
6195 registered signals. (Bug#9581)
6196
6197 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6198
6199 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6200 function that picks between cfengine 2 and 3 support
6201 automatically. Update docs accordingly.
6202
6203 2011-09-22 Kenichi Handa <handa@m17n.org>
6204
6205 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6206 ZERO.
6207 (indian-itrans-v5-table-for-tamil): New variable.
6208 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6209
6210 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6211
6212 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6213 that's true if the current command involved collapsing of text.
6214 It's reset to false at the beginning of the next command.
6215 (allout-post-command-business): Move the cursor to the beginning
6216 of entry if the cursor is hidden and collapsing activity just
6217 happened.
6218
6219 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6220
6221 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6222 tracking (Bug#9541).
6223
6224 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6225
6226 * net/newst-reader.el (newsticker-html-renderer)
6227 (newsticker-show-news): Automatically load html rendering package
6228 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6229 because w3m-fill-column is let-bound" and the error "Symbol's value
6230 as variable is void: w3m-fill-column".
6231
6232 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6233
6234 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6235 Release services only if they are defined. (Bug#9581)
6236
6237 2011-09-23 Richard Stallman <rms@gnu.org>
6238
6239 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6240 distinguish start of paragraph from start of its text.
6241
6242 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6243
6244 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6245 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6246 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6247
6248 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6249
6250 * international/mule-diag.el (mule-diag): Insert a newline after
6251 each fontset description.
6252
6253 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * simple.el (delete-trailing-whitespace):
6256 Document last change; simplify.
6257
6258 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6259
6260 * simple.el (delete-trailing-whitespace): Also delete
6261 extra newlines at the end of the buffer.
6262
6263 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6264 (picture-newline): Use forward-line so as to ignore fields.
6265
6266 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * subr.el (with-wrapper-hook): Fix edebug spec.
6269
6270 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6271
6272 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6273 (bug#4538).
6274
6275 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6276
6277 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6278 Fix nasty bug using wrong cached values.
6279
6280 2011-09-23 Alan Mackenzie <acm@muc.de>
6281
6282 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6283
6284 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6285
6286 * window.el (pop-to-buffer): Ensure right window is selected if we
6287 chose another frame.
6288
6289 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6290
6291 * simple.el (what-cursor-position): Use get-char-property-change
6292 and next-single-char-property-change, to be able to show display
6293 properties that come from overlays as well as text properties.
6294
6295 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6296
6297 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6298
6299 * cmuscheme.el (run-scheme, switch-to-scheme):
6300 * cus-edit.el (customize-group, custom-buffer-create)
6301 (customize-browse):
6302 * info.el (info):
6303 * shell.el (shell):
6304 * mail/sendmail.el (mail):
6305 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6306
6307 2011-09-22 Richard Stallman <rms@gnu.org>
6308
6309 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6310 move back only to line beg, don't move back over blank lines.
6311
6312 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6313
6314 * files.el (copy-directory): Set directory attributes only in case
6315 they could be retrieved from the source directory. (Bug#9565)
6316
6317 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6318
6319 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6320 (hs-find-block-beginning, hs-hide-level-recursive):
6321 Ignore strings as well as comments. (Bug#9502)
6322
6323 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6324
6325 * progmodes/sql.el (sql-comint-postgres):
6326 Convert port number to a string. (Bug#9566)
6327
6328 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6329
6330 * window.el (quit-window): Undedicate window when switching to
6331 previous buffer. Reported by Thierry Volpiatto
6332 <thierry.volpiatto@gmail.com>.
6333 (special-display-popup-frame): When popping up a new frame reset
6334 its previous buffers to nil. Simplify code.
6335
6336 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6337
6338 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6339 and process filter, as done also in `shell-command'.
6340
6341 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6342
6343 * window.el (set-window-buffer-start-and-point):
6344 Call set-window-start with NOFORCE argument t.
6345 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6346 (quit-window): Reword doc-string. Handle new format of
6347 quit-restore parameter. Don't delete window if it has a
6348 previous buffer we can show instead of the present one.
6349 (display-buffer-record-window): Rewrite using a new format for
6350 the quit-restore window parameter
6351 (special-display-popup-frame, display-buffer-same-window)
6352 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6353 (display-buffer-pop-up-window, display-buffer-use-some-window):
6354 Adapt symbol passed to display-buffer-record-window.
6355 * help.el (help-window-setup): Handle new format of quit-restore
6356 parameter.
6357
6358 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6359
6360 * faces.el (face-list): Fix docstring (bug#9564).
6361
6362 * window.el (display-buffer--action-function-custom-type):
6363 Don't include internal functions in the Custom interface.
6364
6365 2011-09-20 Juri Linkov <juri@jurta.org>
6366
6367 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6368 (Info-forward-node, Info-backward-node, Info-next-preorder)
6369 (Info-last-preorder): Use it. (Bug#9528)
6370
6371 2011-09-20 Juri Linkov <juri@jurta.org>
6372
6373 * info.el (Info-last-preorder): Visit last menu item only when
6374 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6375
6376 2011-09-20 Julien Danjou <julien@danjou.info>
6377
6378 * password-cache.el (password-cache-remove): Remove entries even if the
6379 value is nil, so that password with a nil value (negative caching) is
6380 possible to invalidate.
6381
6382 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6383
6384 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6385 all whitespace around breakpoint. (Bug#9553)
6386 (f90-find-breakpoint): Only break at whitespace inside a comment.
6387
6388 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * minibuffer.el (completion-file-name-table): Keep track of errors.
6391 (completion-table-with-predicate): Handle the case where pred1 is nil.
6392 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6393
6394 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6397 (debugger-return-value): Signal an error if the debugging context does
6398 not await any return value.
6399
6400 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6401 * image-mode.el (image-toggle-display-text)
6402 (image-toggle-display-image): Stay away from evil `intangible'.
6403
6404 2011-09-19 Leo Liu <sdl.web@gmail.com>
6405
6406 * replace.el (occur-revert-arguments): Make it permanent-local.
6407 (occur-mode): Don't call font-lock-defontify.
6408
6409 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6410
6411 * net/ldap.el (ldap-search-internal): Don't push empty search
6412 result (Bug#9508).
6413
6414 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6415
6416 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6417
6418 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6419
6420 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6421 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6422
6423 2011-09-18 Juri Linkov <juri@jurta.org>
6424
6425 * buff-menu.el (Buffer-menu-mode-map):
6426 * dired.el (dired-mode-map):
6427 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6428 (lisp-interaction-mode-map):
6429 * emacs-lisp/package.el (package-menu-mode-map):
6430 * epa.el (epa-key-list-mode-map):
6431 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6432 (menu-bar-options-menu):
6433 * outline.el (outline-mode-menu-bar-map):
6434 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6435 * vc/vc-dir.el (vc-dir-menu-map):
6436 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6437 Capitalize non-function content words in menu item strings.
6438
6439 * dired.el (dired-mode-map): Add menu item for
6440 `image-dired-dired-toggle-marked-thumbs'.
6441
6442 2011-09-18 Juri Linkov <juri@jurta.org>
6443
6444 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6445 to `isearch-case-fold-search' and restore its original value
6446 after the `isearch-mode' call.
6447
6448 2011-09-18 Juri Linkov <juri@jurta.org>
6449
6450 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6451 because `zgrep' returns 1 for successful matches (bug#9226).
6452
6453 2011-09-18 Juri Linkov <juri@jurta.org>
6454
6455 * info.el (Info-extract-menu-node-name): Check the second match
6456 for empty string (second test-case of bug#9528).
6457 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6458 intermediate nodes to the history (first test-case of bug#9528).
6459
6460 2011-09-18 Juri Linkov <juri@jurta.org>
6461
6462 * info.el (Info-mode-syntax-table): New variable.
6463 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6464
6465 2011-09-18 Juri Linkov <juri@jurta.org>
6466
6467 * info.el (Info-file-supports-index-cookies):
6468 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6469 outputs one more line for long file names (bug#4142).
6470
6471 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6472
6473 * newcomment.el (comment-normalize-vars): If prompting for
6474 comment-start, set comment-start-skip too (Bug#8424).
6475
6476 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6477
6478 * icomplete.el: Fix previous fix of Bug#5849.
6479 (icomplete-mode): Don't set completion-show-inline-help.
6480 (icomplete-minibuffer-setup): Set completion-show-inline-help
6481 locally during icompletion.
6482
6483 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6484
6485 * woman.el (woman2-process-escapes): Don't delete unrecognized
6486 escapes (Bug#7843).
6487
6488 * files.el (inhibit-first-line-modes-regexps): Add image files.
6489 (hack-local-variables-prop-line): Return nil for malformed
6490 prop-lines (Bug#9044).
6491
6492 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6493
6494 * net/tramp.el (top): Don't require 'shell.
6495 (tramp-methods): Fix docstring.
6496 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6497 Return complete remote file name. Handle "smb" case.
6498 Use `tramp-tmpdir', if defined for the respective method.
6499 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6500
6501 * net/tramp-compat.el (top): Require 'shell.
6502
6503 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6504 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6505 `tramp-current-host'.
6506 (tramp-get-remote-tmpdir): Remove.
6507
6508 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6509 `tramp-tmpdir' entries.
6510 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6511 (tramp-smb-handle-file-attributes): Ignore errors.
6512 (tramp-smb-wait-for-output): Check also for process end.
6513
6514 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6515
6516 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6517 when sending QUIT (bug#9312).
6518
6519 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6520
6521 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6522 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6523 occur-mode-display-occurrence.
6524 (occur-edit-mode): Add usage message.
6525 (occur-cease-edit): New command.
6526 (occur-after-change-function): Use text properties to find the
6527 position of the prefix text.
6528 (occur-engine): Set stickiness of prefix text properties.
6529
6530 2011-09-17 Glenn Morris <rgm@gnu.org>
6531
6532 * progmodes/etags.el (complete-tag):
6533 Fix call to completion-in-region. (Bug#9526)
6534
6535 2011-09-17 Juri Linkov <juri@jurta.org>
6536
6537 * textmodes/ispell.el (ispell-word): Add to the error message
6538 the word, ispell program name and current dictionary (bug#9121).
6539 (ispell-tex-arg-end): Capitalize "error" in the error message.
6540
6541 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6542
6543 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6544 check. (Bug#4251)
6545
6546 2011-09-17 Juri Linkov <juri@jurta.org>
6547
6548 * window.el (window-safe-min-height, window-safe-min-width):
6549 Fix typos (followup to bug#9522).
6550
6551 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6552
6553 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6554
6555 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6556
6557 * simple.el (line-move): If goal-column is set, move by logical
6558 lines, not by display lines. (Bug#971)
6559 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6560 to reflect the above change.
6561
6562 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * image.el (imagemagick-register-types): Use regexp-opt.
6565
6566 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6567
6568 * window.el (display-buffer-base-action): Rename from
6569 display-buffer-default-action. Make default value empty.
6570 (display-buffer-overriding-action): Convert to defvar.
6571 (display-buffer-fallback-action): New var.
6572
6573 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6574
6575 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6576 declaration.
6577 (package--add-to-archive-contents): If there is a duplicate entry
6578 with an older version, remove it.
6579 (package-menu-mark-delete, package-menu-mark-install)
6580 (package-menu-mark-unmark): Make unused args optional.
6581 (package-menu-mark-obsolete-for-deletion):
6582 Use package-menu-get-status instead of a regexp search.
6583 (package-menu-get-status): Use tabulated-list-entry.
6584 (package-menu-mark-upgrades): New command.
6585 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6586 (package-menu-execute): Do installation before deletion.
6587 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6588 instead of checking major-mode.
6589 (package-menu--find-upgrades): New function.
6590
6591 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6592
6593 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6594 passwords in the log buffer.
6595 (smtpmail-process-filter): Update the process marker so that the
6596 "broken by peer" status message is inserted in the right place.
6597
6598 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6601 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6602 bibtex-completion-at-point-function.
6603 (bibtex-completion-at-point-function): Use them.
6604
6605 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6606
6607 * mpc.el (mpc-constraints-tag-lookup): New function.
6608 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6609 also to browser "album|playlist".
6610
6611 2011-09-14 Juri Linkov <juri@jurta.org>
6612
6613 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6614 (isearch-edit-string): Use length of `isearch-string' when
6615 `isearch-fail-pos' returns nil.
6616 (isearch-message): Remove duplicate code and call
6617 `isearch-fail-pos' with arg `t'.
6618
6619 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6620
6621 * replace.el (occur-mode-goto-occurrence): Don't force using other
6622 window (Bug#9499).
6623
6624 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6625
6626 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6627
6628 * window.el (display-buffer-window): Remove.
6629 (display-buffer-record-window): Use help-setup window parameter
6630 instead of variable display-buffer-window.
6631 (display-buffer-function, special-display-buffer-names)
6632 (special-display-function): Mention help-setup parameter instead
6633 of display-buffer-window in doc-string.
6634 * help.el (help-window-setup): New argument help-window.
6635 Use help-window-setup parameter instead of display-buffer-window.
6636 Reword some messages.
6637 (with-help-window): Pass window used for displaying the buffer
6638 to help-window-setup. Don't set display-buffer-window.
6639
6640 2011-09-13 Glenn Morris <rgm@gnu.org>
6641
6642 * emacs-lisp/debug.el (debugger-make-xrefs):
6643 Preserve point. (Bug#9462)
6644
6645 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6646
6647 * window.el (window-deletable-p): Use next-frame.
6648
6649 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6650
6651 * window.el (window-auto-delete): Remove.
6652 (window-deletable-p): Remove argument FORCE. Don't deal with
6653 dedication and previous buffers.
6654 (switch-to-prev-buffer): Don't delete window.
6655 (delete-windows-on): Delete a window's frame if and only if the
6656 window is dedicated.
6657 (replace-buffer-in-windows): Delete buffer's window or frame if
6658 and only if window is dedicated.
6659 (quit-window): Handle quit-restore as before last change.
6660 (bury-buffer): Delete window only if window-deletable-p returns t.
6661
6662 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6663
6664 * window.el (window-deletable-p): Never delete the last frame on a
6665 given terminal.
6666
6667 2011-09-13 Glenn Morris <rgm@gnu.org>
6668
6669 * help.el (describe-key-briefly): Copy previous standard-output change.
6670
6671 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6672
6673 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6674
6675 2011-09-13 Glenn Morris <rgm@gnu.org>
6676
6677 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6678 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6679
6680 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6681
6682 * dired-aux.el (dired-mark-read-string): Don't return default
6683 value on empty input (Bug#9361).
6684 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6685 Omit initial minibuffer contents.
6686 (dired-do-chmod): Signal an error on empty input.
6687 (dired-mark-read-string): Don't return default on empty input.
6688
6689 * files.el (file-modes-symbolic-to-number): Doc fix.
6690
6691 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 * international/mule-cmds.el (ucs-completions): Remove.
6694 (read-char-by-name): Use complete-with-action instead; add metadata.
6695
6696 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6697
6698 * window.el (display-buffer--action-function-custom-type)
6699 (display-buffer--action-custom-type): New vars.
6700 (display-buffer-alist, display-buffer-default-action)
6701 (display-buffer-overriding-action): Add defcustom types.
6702
6703 * frame.el (delete-other-frames): Doc fix (Bug#276).
6704
6705 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6706
6707 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6708
6709 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6710
6711 Change modes that used same-window-* vars to use switch-to-buffer.
6712
6713 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6714 Use switch-to-buffer.
6715
6716 * cus-edit.el (customize-group, custom-buffer-create)
6717 (customize-browse, custom-buffer-create-other-window):
6718 Use switch-to-buffer or switch-to-buffer-other-window.
6719
6720 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6721 (Info-prev, Info-up, Info-speedbar-goto-node)
6722 (info-display-manual): Use switch-to-buffer.
6723 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6724
6725 * mail/sendmail.el (mail): Use switch-to-buffer.
6726 (mail-recover): Use switch-to-buffer-other-window.
6727
6728 * cmuscheme.el (run-scheme, switch-to-scheme):
6729 * ielm.el (ielm):
6730 * shell.el (shell):
6731 * net/rlogin.el (rlogin):
6732 * net/telnet.el (telnet, rsh):
6733 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6734
6735 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6736
6737 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6738
6739 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6740
6741 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6742 so don't mention it (bug#9301).
6743 (dired-sort-toggle-or-edit): Clarify string further.
6744
6745 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6746 match `x', `w32' and `ns', like the manual says (bug#9029).
6747
6748 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6749 (process-kill-buffer-query-function): Mention the buffer name in
6750 the query.
6751
6752 * image-mode.el (image-next-line): The line parameter is mandatory
6753 (bug#9258).
6754
6755 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6756 which can be useful (bug#9301).
6757
6758 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6759
6760 * subr.el (match-string): Mention that the current buffer should
6761 be the same as the search was done in (bug#9282).
6762
6763 * facemenu.el: Disable the remove-* commands if the mark isn't
6764 active (bug#9162).
6765
6766 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6767
6768 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6769 of display-buffer.
6770 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6771
6772 * replace.el (occur-mode-goto-occurrence)
6773 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6774 and display-buffer.
6775
6776 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6777 display-buffer.
6778
6779 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6780 special-display and same-window variables.
6781 (mail-other-window): Use switch-to-buffer-other-window.
6782 (mail-other-frame): USe switch-to-buffer-other-frame.
6783
6784 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6785 Use display-buffer-other-frame.
6786 (gdb-display-gdb-buffer): Use pop-to-buffer.
6787
6788 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6789
6790 * progmodes/python.el: Don't set same-window-buffer-names.
6791
6792 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6793
6794 * window.el (display-buffer-alist): Add *Python*.
6795
6796 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6797
6798 * window.el (display-buffer-alist): Add entry for buffers
6799 previously handled same-window-*.
6800 (display-buffer-alist, display-buffer-default-action)
6801 (display-buffer-overriding-action): Mark as risky.
6802 (display-buffer-alist): Document action function changes.
6803 (display-buffer--same-window-action)
6804 (display-buffer--other-frame-action): New variables.
6805 (switch-to-buffer, display-buffer-other-frame): Use them.
6806 (display-buffer): Rename reuse-frame entry to reusable-frames.
6807 (display-buffer-reuse-selected-window): Function deleted.
6808 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6809 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6810 (display-buffer-special): New function.
6811 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6812 display-buffer-reuse-or-pop-window. Split off special-display
6813 part into display-buffer-special.
6814 (display-buffer-use-some-window): Don't perform any special
6815 pop-up-frames handling.
6816 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6817 (display-buffer--maybe-same-window): Rename from
6818 display-buffer-maybe-same-window.
6819
6820 * info.el: Don't set same-window-regexps.
6821 (info-setup): New function.
6822 (info-other-window, info): Call it.
6823
6824 * cus-edit.el: Don't set same-window-regexps.
6825 (customize-group): New argument.
6826 (customize-group-other-window): Use it.
6827 (customize-face, customize-face-other-window): Likewise.
6828 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6829
6830 * net/rlogin.el:
6831 * net/telnet.el:
6832 * progmodes/gud.el: Don't set same-window-regexps.
6833
6834 * cmuscheme.el:
6835 * ielm.el:
6836 * shell.el:
6837 * mail/sendmail.el:
6838 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6839
6840 2011-09-10 Juri Linkov <juri@jurta.org>
6841
6842 * isearch.el (isearch-edit-string): Remove obsolete mention of
6843 `C-w' (`isearch-yank-word-or-char') from docstring.
6844 (isearch-query-replace): Fix typo in docstring (bug#9466).
6845
6846 2011-09-10 Juri Linkov <juri@jurta.org>
6847
6848 * paren.el (show-paren-function): Don't show escaped parens.
6849 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6850
6851 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6852
6853 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6854 (mm-default-file-encoding): Remove autoload forms, they are
6855 replaced with autoload cookies in mml.el and mm-encode.el.
6856 (mail-add-attachment): New command.
6857 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6858 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6859 the doc string.
6860 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6861
6862 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6863
6864 * simple.el (count-words-region): Use buffer if there's no region
6865 (bug#9429).
6866
6867 2011-09-09 Juri Linkov <juri@jurta.org>
6868
6869 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6870 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6871 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6872
6873 2011-09-09 Alan Mackenzie <acm@muc.de>
6874
6875 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6876 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6877
6878 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6879
6880 Fix for Savannah bug#9392.
6881 * simple.el (mail-encode-mml): New defvar.
6882
6883 * mail/rmail.el (mail-encode-mml): Add a defvar.
6884 (rmail-enable-mime-composing): Default to t.
6885 (rmail-forward): Use MIME method of forwarding only if both
6886 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6887 Set mail-encode-mml non-nil if the MIME method was used.
6888
6889 * mail/sendmail.el (mml-to-mime): Add autoload form.
6890 (mail-encode-mml): Add a defvar.
6891 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6892 to nil.
6893 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6894 message through mml-to-mime, and reset mail-encode-mml to nil.
6895
6896 2011-09-09 Glenn Morris <rgm@gnu.org>
6897
6898 * woman.el (woman-if-body): When processing an .el block,
6899 do not delete the next .el block as well. (Bug#9447)
6900 (woman-special-characters): Add oq, cq, and hy characters.
6901
6902 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6903
6904 * window.el (window-deletable-p): Make sure window is live before
6905 invoking window-prev-buffers.
6906
6907 2011-09-08 Leo Liu <sdl.web@gmail.com>
6908
6909 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6910
6911 2011-09-08 Juri Linkov <juri@jurta.org>
6912
6913 * progmodes/compile.el (compilation-environment): Make it
6914 a defcustom (bug#8340).
6915
6916 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6917
6918 * window.el (frame-auto-delete): Rename to window-auto-delete.
6919 Make it control auto-deletion of windows and/or frames.
6920 (window-deletable-p): New argument FORCE. Rewrite conditions
6921 for deleting window/frame. (Bug#9419)
6922 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6923 Rewrite handling of case when window/frame can be deleted.
6924 (delete-windows-on): Call window-deletable-p with new FORCE
6925 argument t. (Bug#9456)
6926
6927 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6928
6929 * help-mode.el (help-mode): Restore autoload.
6930
6931 2011-09-07 Juri Linkov <juri@jurta.org>
6932
6933 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6934 `compilation-environment'. Set buffer-local
6935 `compilation-environment' to `thisenv' later after (funcall mode).
6936 (Bug#8340)
6937
6938 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6939 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6940 instead of replacing its value. (Bug#8340)
6941
6942 2011-09-07 Juri Linkov <juri@jurta.org>
6943
6944 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6945 based on text properties put by `grep-filter' instead of matching
6946 escape sequences.
6947 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6948 to the value of `grep-error-screen-columns' (bug#9438).
6949
6950 2011-09-07 Juri Linkov <juri@jurta.org>
6951
6952 * simple.el (next-error-highlight, next-error-highlight-no-select):
6953 Doc fix (bug#9432).
6954
6955 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6956
6957 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6958 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6959
6960 2011-09-07 Leo Liu <sdl.web@gmail.com>
6961
6962 * net/rcirc.el (rcirc-mode): Conditionally initialize
6963 rcirc-input-ring.
6964
6965 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * emacs-lisp/find-func.el (find-function-C-source): Only set
6968 find-function-C-source-directory after checking that we found a source
6969 file there (bug#9440).
6970
6971 2011-09-06 Alan Mackenzie <acm@muc.de>
6972
6973 * isearch.el (isearch-other-meta-char): Wherever a key list is
6974 unread, "unread" the prefix arg, too. This fixes bug #8901.
6975
6976 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6977
6978 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6979
6980 2011-09-05 Juri Linkov <juri@jurta.org>
6981
6982 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6983
6984 2011-09-05 Juri Linkov <juri@jurta.org>
6985
6986 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6987 keeping point where processing of grep matches begins, and
6988 continue to delete remaining escape sequences from the same point.
6989 (grep-filter): Make leading zero optional in "0?1;31m" because
6990 git-grep emits "\033[1;31m" escape sequences unlike expected
6991 "\033[01;31m" as GNU Grep does (bug#9408).
6992 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6993
6994 2011-09-05 Juri Linkov <juri@jurta.org>
6995
6996 * subr.el (y-or-n-p): Capitalize "yes".
6997
6998 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6999
7000 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7001 `tramp-cache-unload-hook' where appropriate.
7002 (tramp-methods): Rename `tramp-remote-sh' to
7003 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7004 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7005
7006 * net/tramp-sh.el (top): Don't require 'shell.
7007 (tramp-methods): Add `tramp-remote-shell' and
7008 `tramp-remote-shell-args' entries.
7009 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7010 (tramp-sh-handle-shell-command): Remove.
7011 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7012 Use `tramp-remote-shell'.
7013
7014 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7015
7016 * mail/sendmail.el (sendmail-query-once-function): Delete.
7017 (sendmail-query-once): Save directly to send-mail-function.
7018 Update message-send-mail-function too.
7019
7020 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7021
7022 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7023
7024 * progmodes/python.el (python-mode-map): Use correct function to
7025 start python interpreter from menu-bar (as reported by Geert
7026 Kloosterman).
7027 (inferior-python-mode-map): Fix typo.
7028 (python-shell-map): Remove.
7029
7030 2011-09-03 Deniz Dogan <deniz@dogan.se>
7031
7032 * net/rcirc.el (rcirc-print): Simplify code for
7033 rcirc-scroll-show-maximum-output. There is no need to walk
7034 through all windows to find the right one.
7035
7036 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7037
7038 * help.el (help-return-method): Doc fix.
7039
7040 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7041
7042 * window.el (window-deletable-p): Don't return a non-nil value
7043 when there's a buffer that was shown in the window before.
7044 (Bug#9419)
7045 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7046 Set window's previous buffers to nil.
7047
7048 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7049
7050 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7051 newline before and after the tag line, so it doesn't interfere
7052 with determining the paragraph direction of bidirectional text.
7053
7054 2011-09-03 Leo Liu <sdl.web@gmail.com>
7055
7056 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7057
7058 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7059
7060 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7061 (pop-to-buffer): Change interactive spec. Pass second argument
7062 directly to display-buffer.
7063 (display-buffer): Fix interactive spec. Use functionp to
7064 distinguish between a function and a list of functions.
7065
7066 * abbrev.el (edit-abbrevs):
7067 * arc-mode.el (archive-extract):
7068 * autoinsert.el (auto-insert):
7069 * bookmark.el (bookmark-bmenu-list):
7070 * files.el (find-file):
7071 * view.el (view-buffer):
7072 * progmodes/compile.el (compilation-goto-locus):
7073 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7074
7075 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7076
7077 * window.el (display-buffer-alist): Doc fix.
7078 (display-buffer): Add docstring. Don't treat
7079 display-buffer-default specially.
7080 (display-buffer-reuse-selected-window)
7081 (display-buffer-same-window, display-buffer-maybe-same-window)
7082 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7083 (display-buffer-pop-up-window)
7084 (display-buffer-reuse-or-pop-window)
7085 (display-buffer-use-some-window): New functions.
7086 (display-buffer-default-action): Use them.
7087 (display-buffer-default): Delete.
7088 (pop-to-buffer-1): Fix choice of actions.
7089
7090 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * minibuffer.el (completion--insert-strings): Don't get confused by
7093 completion entries that end with an LF char.
7094
7095 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7096
7097 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7098
7099 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7100
7101 * window.el (display-buffer): Restore interactive spec.
7102 (display-buffer-same-window, display-buffer-other-window):
7103 New functions.
7104 (pop-to-buffer-1): New function. Use the above.
7105 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7106 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7107
7108 * view.el (view-buffer-other-window, view-buffer-other-frame):
7109 Just use pop-to-buffer.
7110
7111 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7112
7113 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7114
7115 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7116
7117 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7118
7119 2011-08-31 Richard Stallman <rms@gnu.org>
7120
7121 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7122 of the separation of rmail-view-buffer from rmail-buffer.
7123 If you say no to "replace original", the decrypt is in the
7124 view buffer. If you say yes, the decrypt goes into the
7125 rmail buffer also.
7126
7127 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7128
7129 * window.el (display-buffer-window): Rewrite doc-string.
7130 (display-buffer-record-window): New function.
7131 (display-buffer-macro-specifiers)
7132 (display-buffer-even-window-sizes, display-buffer-set-height)
7133 (display-buffer-set-width, display-buffer-in-window)
7134 (display-buffer-reuse-window, display-buffer-split-specifiers)
7135 (display-buffer-side-specifiers, display-buffer-split-window-1)
7136 (display-buffer-split-window, display-buffer-split-atom-window)
7137 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7138 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7139 (display-buffer-other-window-means-other-frame)
7140 (display-buffer-normalize-special)
7141 (display-buffer-normalize-default)
7142 (display-buffer-normalize-argument)
7143 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7144 (display-buffer-normalize-specifiers, display-buffer-frame)
7145 (display-buffer-same-window, display-buffer-same-frame)
7146 (display-buffer-other-window)
7147 (display-buffer-same-frame-other-window)
7148 (display-buffer-other-frame, pop-to-buffer-same-window)
7149 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7150 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7151 (switch-to-buffer-same-frame)
7152 (switch-to-buffer-other-window-same-frame)
7153 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7154 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7155 (display-buffer-alist-set): Remove.
7156 (display-buffer-function, special-display-buffer-names)
7157 (special-display-regexps, special-display-function):
7158 In doc-string refer to display-buffer-window and quit-restore
7159 parameter.
7160 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7161 (special-display-frame-alist, special-display-popup-frame)
7162 (same-window-buffer-names, same-window-regexps, same-window-p)
7163 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7164 (split-window-preferred-function, split-height-threshold)
7165 (split-width-threshold, window-splittable-p)
7166 (split-window-sensibly, window--try-to-split-window)
7167 (window--frame-usable-p, even-window-heights)
7168 (window--even-window-heights, window--display-buffer-1)
7169 (window--display-buffer-2, display-buffer-other-frame):
7170 Restore old Emacs 23 code, order and doc-strings where applicable.
7171 (display-buffer-default, display-buffer-assq-regexp): New functions.
7172 (display-buffer-alist): Rewrite doc-string.
7173 (display-buffer-default-action)
7174 (display-buffer-overriding-action): New variables.
7175 (display-buffer, switch-to-buffer): Rewrite.
7176 (pop-to-buffer): Restore Emacs 23 behavior but use
7177 window-normalize-buffer-to-display.
7178 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7179 Restore Emacs 23 behavior but use
7180 window-normalize-buffer-to-switch-to.
7181 (pop-to-buffer-same-window): Rewrite.
7182 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7183 Rewrite using Emacs 23 options.
7184
7185 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7186
7187 * net/tramp.el (tramp-root-regexp): Remove.
7188 (tramp-completion-file-name-regexp-unified)
7189 (tramp-completion-file-name-regexp-separate)
7190 (tramp-completion-file-name-regexp-url): Don't use leading volume
7191 letter on win32 systems. (Bug#5303, Bug#9311)
7192 (tramp-drop-volume-letter): Simplify definition.
7193 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7194
7195 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7198 (bug#9356).
7199
7200 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7201
7202 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7203
7204 2011-08-29 Juri Linkov <juri@jurta.org>
7205
7206 * isearch.el (isearch-done): Don't display message "Mark saved"
7207 when arg `edit' is non-nil to prevent its flicker in the echo area.
7208
7209 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7210
7211 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7212 obsolete packages for deletion.
7213
7214 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7215
7216 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7217 (help-mode): Derive help-mode from special-mode. Don't invoke
7218 view-mode from help-mode.
7219 (help-xref-override-view-map): Remove.
7220 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7221 view-mode is not used anymore.
7222
7223 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7224
7225 * server.el (server-port): Doc fix.
7226
7227 * cus-theme.el (custom-theme-choose-mode): Inherit from
7228 special-mode (Bug#9124).
7229 (custom-theme-choose-mode-map): Add special-mode to parent.
7230
7231 2011-08-28 Alan Mackenzie <acm@muc.de>
7232
7233 * progmodes/cc-fonts.el
7234 (c-make-font-lock-BO-decl-search-function): New function.
7235 (c-basic-matchers-after - "Fontify the clauses after various
7236 keywords"): Extract the three keyword lists for the 3 erroneous
7237 constructs from the list of four, and use the new function above
7238 in place of an old one.
7239
7240 2011-08-28 Deniz Dogan <deniz@dogan.se>
7241
7242 * net/rcirc.el (rcirc-insert-prev-input)
7243 (rcirc-insert-next-input): Remove unused argument.
7244
7245 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7248
7249 2011-08-27 Alan Mackenzie <acm@muc.de>
7250
7251 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7252 handle function pointer parameters properly.
7253
7254 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7255
7256 * window.el (display-buffer-reuse-window): Fix case where
7257 selected window was reused with non-nil OTHER-WINDOW argument.
7258 (Bug#9381)
7259
7260 2011-08-27 Deniz Dogan <deniz@dogan.se>
7261
7262 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7263 oftc's NickServ messages.
7264
7265 2011-08-27 Glenn Morris <rgm@gnu.org>
7266
7267 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7268
7269 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7270
7271 * emacs-lisp/package.el (package-install): Call package-initialize
7272 if called interactively.
7273
7274 2011-08-26 Leo Liu <sdl.web@gmail.com>
7275
7276 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7277
7278 2011-08-25 Juri Linkov <juri@jurta.org>
7279
7280 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7281 `search-whitespace-regexp' (bug#9364).
7282
7283 2011-08-25 Juri Linkov <juri@jurta.org>
7284
7285 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7286 `regexp-search-ring' to their global values to protect from
7287 updating by `read-from-minibuffer' (bug#9185).
7288
7289 2011-08-25 Juri Linkov <juri@jurta.org>
7290
7291 * textmodes/ispell.el (ispell-command-loop): Add newline
7292 at the end of the "Use option `i'..." line.
7293
7294 2011-08-25 Juri Linkov <juri@jurta.org>
7295
7296 * battery.el (display-battery-mode): If `battery-status-function'
7297 or `battery-mode-line-format' is nil, display the message and set
7298 `display-battery-mode' to nil (bug#9363).
7299
7300 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7301
7302 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7303 bidi-string-mark-left-to-right; they are unnecessary now.
7304
7305 2011-08-25 Deniz Dogan <deniz@dogan.se>
7306
7307 * net/quickurl.el: Documentation typo fixes.
7308
7309 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7310
7311 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7312
7313 2011-08-25 Glenn Morris <rgm@gnu.org>
7314
7315 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7316
7317 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7318 (smtpmail-via-smtp): Handle nil response from smtp.
7319
7320 2011-08-24 Juri Linkov <juri@jurta.org>
7321
7322 * proced.el (proced-marked): Inherit from `error' instead of
7323 `font-lock-warning-face'.
7324
7325 * ibuffer.el (ibuffer-marked-face): Change default face from
7326 `font-lock-warning-face' to `warning'.
7327 (ibuffer-deletion-face): Change default face from
7328 `font-lock-type-face' to `error'.
7329
7330 * battery.el (battery-update): Use the face `error' instead of
7331 `font-lock-warning-face' (bug#6117).
7332
7333 2011-08-24 Juri Linkov <juri@jurta.org>
7334
7335 * faces.el (success): Change face color from "Green3" to
7336 "ForestGreen" on light background (bug#9353).
7337
7338 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7339
7340 * window.el (quit-window): Rename from quit-restore-window.
7341 Use same arglist as old quit-window.
7342 (frame-auto-delete): Doc fix.
7343
7344 * view.el (view-mode-exit): Use quit-window.
7345
7346 2011-08-24 Juri Linkov <juri@jurta.org>
7347
7348 * isearch.el (isearch-ring-adjust1): Start visiting previous
7349 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7350 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7351 for empty search string (when the last search string is reused
7352 automatically) to adjust the isearch ring to the last element and
7353 prepare the correct index for further M-p commands (bug#9185).
7354
7355 2011-08-24 Kenichi Handa <handa@m17n.org>
7356
7357 * international/ucs-normalize.el: If decomposition property of
7358 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7359 nil.
7360 (nfd, nfkd): Likewise.
7361
7362 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7365 from process filters aren't reliably transmitted to the surrounding
7366 accept-process-output.
7367 (mpc-proc-check): New function.
7368 (mpc-proc-sync): Use it (bug#8293)
7369
7370 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7371
7372 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7373 Add compatibility functions (bug#9313).
7374
7375 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7376
7377 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7378
7379 * international/uni-bidi.el: Regenerate.
7380
7381 2011-08-23 Kenichi Handa <handa@m17n.org>
7382
7383 * international/charprop.el:
7384 * international/uni-bidi.el:
7385 * international/uni-category.el:
7386 * international/uni-combining.el:
7387 * international/uni-comment.el:
7388 * international/uni-decimal.el:
7389 * international/uni-decomposition.el:
7390 * international/uni-digit.el:
7391 * international/uni-lowercase.el:
7392 * international/uni-mirrored.el:
7393 * international/uni-name.el:
7394 * international/uni-numeric.el:
7395 * international/uni-old-name.el:
7396 * international/uni-titlecase.el:
7397 * international/uni-uppercase.el: Regenerate.
7398
7399 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7400
7401 * help.el (help-window-setup): Fix message displayed when other
7402 window is reused. (Bug#9341)
7403
7404 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7407 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7408
7409 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7410 Mark obsolete.
7411 * shell.el (shell-parse-pcomplete-arguments): New function.
7412 (shell-completion-vars): Use it instead (bug#9160).
7413
7414 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7417 strings and comments (bug#9333).
7418
7419 * emacs-lisp/debug.el (debug-arglist): New function.
7420 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7421 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7422
7423 2011-08-22 Juri Linkov <juri@jurta.org>
7424
7425 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7426 Revert regexp that highlights output switches to its old
7427 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7428
7429 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7430 to check for empty output (bug#9226).
7431
7432 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7433
7434 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7435 symbol-constituent as the default, as that stops font-lock from
7436 working properly (Bug#8843).
7437
7438 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7439
7440 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7441 `coding-system-for-*' around the process open call to avoid
7442 auth-source side effects.
7443 (smtpmail-try-auth-methods): Expand the secret password.
7444 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7445 probe hangs.
7446
7447 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7448
7449 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7450
7451 * emacs-lisp/find-func.el (find-function-noselect): New arg
7452 lisp-only.
7453
7454 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7455 signal an error for built-in functions (Bug#6664).
7456
7457 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7458
7459 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7460 (smtpmail-try-auth-methods): Use it.
7461
7462 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7463
7464 * font-lock.el (font-lock-fontify-region)
7465 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7466 (font-lock-default-unfontify-buffer)
7467 (font-lock-default-fontify-region)
7468 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7469
7470 * progmodes/compile.el (compilation-error-properties):
7471 Fix confusion between file struct and message struct (Bug#9319).
7472 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7473 `ant' regexp.
7474
7475 * net/browse-url.el (browse-url-firefox): Don't call
7476 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7477
7478 2011-08-20 Glenn Morris <rgm@gnu.org>
7479
7480 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7481
7482 * tutorial.el (tutorial--default-keys): Update some default bindings.
7483
7484 * files.el (hack-local-variables): Fully ignore case for "mode:".
7485
7486 2011-08-20 Alan Mackenzie <acm@muc.de>
7487
7488 Resolve invalid use of a regexp in regexp-opt.
7489
7490 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7491 detection for a java annotation.
7492
7493 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7494 detection for a java annotation.
7495
7496 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7497 handling for java.
7498 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7499
7500 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7501
7502 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7503 (Bug#9274).
7504
7505 2011-08-20 Alan Mackenzie <acm@muc.de>
7506
7507 Fontify CPP expressions correctly when starting in the middle of
7508 such a construct. Mainly for when jit-lock etc. starts a chunk
7509 here.
7510
7511 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7512 variable.
7513 (c-make-font-lock-search-form): New function, extracted from
7514 c-make-font-lock-search-function.
7515 (c-make-font-lock-search-function): Use the above function.
7516 (c-make-font-lock-context-search-function): New function.
7517 (c-cpp-matchers): Enhance the preprocessor expression case with
7518 the above function
7519 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7520 which takes an expression.
7521
7522 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7523
7524 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7525
7526 * window.el (display-buffer-reuse-window)
7527 (display-buffer-pop-up-window): Don't reuse or split a side
7528 window.
7529
7530 2011-08-19 Glenn Morris <rgm@gnu.org>
7531
7532 * files.el (hack-local-variables-prop-line, hack-local-variables):
7533 Downcase "Mode:". (Bug#9331)
7534
7535 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7536
7537 * international/characters.el: Add L and R categories.
7538
7539 * subr.el (bidi-string-mark-left-to-right): Rename from
7540 string-mark-left-to-right. Use category search.
7541
7542 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7543
7544 2011-08-18 Juri Linkov <juri@jurta.org>
7545
7546 * faces.el (error, warning, success): New faces with definitions
7547 copied from old default values of `font-lock-warning-face',
7548 `compilation-warning', `compilation-info' (bug#6117).
7549
7550 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7551
7552 * progmodes/compile.el (compilation-error): Inherit from `error'.
7553 (compilation-warning): Inherit from `warning'.
7554 (compilation-info): Inherit from `success'.
7555
7556 * dired.el (dired-marked): Inherit from `warning'.
7557 (dired-flagged): Inherit from `error'.
7558
7559 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7560
7561 * mail/smtpmail.el (auth-source): Require to avoid problems with
7562 binding variables (bug#9298). Also clean up some unused
7563 autoloads.
7564
7565 * net/network-stream.el (network-stream-open-starttls):
7566 Support using starttls.el without using gnutls-cli.
7567
7568 2011-08-17 Juri Linkov <juri@jurta.org>
7569
7570 * progmodes/grep.el (rgrep): Handle the case when
7571 `grep-find-command' is a cons cell (bug#9278).
7572
7573 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7574
7575 * window.el (display-buffer-pop-up-frame): Run frame creation
7576 function with BUFFER current (as special-display-popup-frame
7577 does). Reported by Drew Adams.
7578
7579 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7580
7581 * epa-mail.el: Simplify GnuPG group expansion using
7582 epg-expand-group.
7583 (epa-mail-group-alist, epa-mail-group-modtime)
7584 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7585 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7586 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7587 Remove.
7588
7589 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7590
7591 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7592
7593 2011-08-16 Alan Mackenzie <acm@muc.de>
7594
7595 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7596 Correct, to avoid the inside of macros.
7597
7598 2011-08-16 Richard Stallman <rms@gnu.org>
7599
7600 * epa-mail.el: Handle GnuPG group definitions.
7601 (epa-mail-group-alist, epa-mail-group-modtime)
7602 (epa-mail-gnupg-conf-file): New variables.
7603 (epa-mail-parse-groups, epa-mail-sync-groups)
7604 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7605 (epa-mail-expand-recipients): New functions.
7606 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7607
7608 * mail/rmail.el (rmail-epa-decrypt): New command.
7609
7610 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7611 Don't bind buffer-read-only, just inhibit-read-only.
7612 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7613 (epa-decrypt-armor-in-region): Make error message clearer.
7614
7615 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7616
7617 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7618 and "a2b" to "ab" for `prefix'.
7619
7620 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7621
7622 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7623 filter groups.
7624 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7625 Fourquet (Bug#8804).
7626
7627 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7628
7629 * startup.el (argi): Declare as global variable (bug#9275).
7630
7631 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7632
7633 * subr.el (string-mark-left-to-right): Search the entire string
7634 for RTL script, not just the terminating character. Doc fix.
7635
7636 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7637
7638 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7639 New function.
7640 (js--regexp-literal, js-syntax-propertize-function): Remove.
7641 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7642 (js-mode-map): Don't rebind electric keys.
7643 (js-insert-and-indent): Remove.
7644 (js-mode): Setup electric-layout and electric-indent instead.
7645
7646 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7647
7648 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7649
7650 * epa.el (epa-progress-callback-function): Fix the logic of
7651 displaying progress.
7652 * epa-file.el (epa-file-insert-file-contents): Make progress
7653 display more user-friendly.
7654 (epa-file-write-region): Ditto.
7655
7656 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7657
7658 * subr.el (string-mark-left-to-right): New function.
7659
7660 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7661 Use string-mark-left-to-right.
7662 (list-buffers-noselect): Caller changed.
7663
7664 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7665 Use string-mark-left-to-right.
7666 (tabulated-list-print): Recenter after moving point.
7667
7668 2011-08-10 Juri Linkov <juri@jurta.org>
7669
7670 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7671 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7672 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7673
7674 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7675
7676 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7677 (Bug#7554).
7678
7679 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7680
7681 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7682 character. (Bug#6594)
7683
7684 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7685
7686 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7687 (image-dired--with-db-file): New macro.
7688 (image-dired-write-tags, image-dired-remove-tag)
7689 (image-dired-create-gallery-lists, image-dired-write-comments)
7690 (image-dired-get-comment, image-dired-mark-tagged-files)
7691 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7692 (image-dired-gallery-generate): Use insert-file-contents.
7693
7694 * time.el (display-time-world-list, display-time-world-display):
7695 * time-stamp.el (time-stamp-string):
7696 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7697 set-time-zone-rule (Bug#7337).
7698
7699 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7700
7701 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7702 (epg-error-to-string, epg-errors-to-string): New function.
7703 (epg-wait-for-completion): Reverse errors list.
7704 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7705 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7706 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7707 (epg-sign-keys, epg-generate-key-from-file)
7708 (epg-generate-key-from-string): Format errors by using
7709 epg-errors-to-string (bug#9255).
7710 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7711
7712 2011-08-07 Juri Linkov <juri@jurta.org>
7713
7714 * faces.el (list-faces-display): Remove extra angle bracket
7715 from `help-mode-map'.
7716
7717 * info.el (Info-history-toc-nodes): Doc fix.
7718
7719 * longlines.el (longlines-mode): Doc fix.
7720
7721 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7724 of statements and in a few more cases (bug#9183).
7725
7726 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7727 New functions.
7728 (cl-transform-lambda): Use them (bug#9239).
7729
7730 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7731
7732 * window.el (display-buffer-same-window)
7733 (display-buffer-same-frame, display-buffer-other-window)
7734 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7735 (pop-to-buffer-other-window)
7736 (pop-to-buffer-same-frame-other-window)
7737 (pop-to-buffer-other-frame): Make them defuns.
7738 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7739
7740 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * subr.el (make-composed-keymap): Move from C. Change calling
7743 convention, and improve docstring to bring attention to a subtle point.
7744 * minibuffer.el (completing-read-default): Adjust accordingly.
7745
7746 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7747
7748 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7749 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7750
7751 * net/trampver.el: Update release number.
7752
7753 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7756 "in" (bug#9190).
7757
7758 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7759
7760 * mail/sendmail.el (sendmail-query-once): Restore the current
7761 buffer after querying (bug#9074).
7762
7763 * dired.el (dired-flagged): Use different faces for marked and
7764 flagged files (bug#6117).
7765
7766 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7767 (bug#4433).
7768
7769 * ido.el (ido-mode): Switch off the message if called
7770 non-interactively.
7771
7772 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7773 before 587, since it appears that that's more likely to work for
7774 more people.
7775
7776 * cus-edit.el (custom-file): When running under emacs -q, always
7777 refuse to save the customizations, even if the .emacs file doesn't
7778 exist.
7779
7780 * info.el: Remove the `Info-beginning-of-buffer' function
7781 (bug#8325).
7782
7783 * net/network-stream.el (network-stream-open-starttls):
7784 Use `starttls-available-p' to see whether starttls.el can be used.
7785
7786 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7787
7788 * window.el (display-buffer-in-window): Don't set dedicated status
7789 of window here (Bug#9215).
7790 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7791 (display-buffer-pop-up-side-window)
7792 (display-buffer-in-side-window): Set dedicated status of window here.
7793
7794 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7797 before binding generated-autoload-file.
7798
7799 2011-08-01 Deniz Dogan <deniz@dogan.se>
7800
7801 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7802
7803 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7804
7805 Sync with Tramp 2.2.2.
7806
7807 * net/trampver.el: Update release number.
7808
7809 2011-07-30 Juri Linkov <juri@jurta.org>
7810
7811 * dired-aux.el (dired-touch-initial): Remove function.
7812 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7813 current time, and `default' to the last modification time of the
7814 current marked file (bug#6887).
7815
7816 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7817
7818 * simple.el (goto-line): Use string-to-number to provide a
7819 numeric argument to read-number (bug#9163).
7820
7821 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7822
7823 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7824 connection process, it could be nil.
7825
7826 2011-07-27 Leo Liu <sdl.web@gmail.com>
7827
7828 Simplify url handling in rcirc-mode.
7829
7830 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7831 (rcirc-browse-url-at-mouse): Remove.
7832 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7833
7834 2011-07-26 Alan Mackenzie <acm@muc.de>
7835
7836 Fontify bitfield declarations properly.
7837
7838 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7839 (c-symbol-chars): Now exported as a lang variable.
7840 (c-not-primitive-type-keywords): New lang variable.
7841
7842 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7843 QT keyword "more" to prevent "more slots: ...." being spuriously
7844 parsed as a bitfield declaration.
7845
7846 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7847 Refactor and enhance to handle bitfield declarations.
7848 (c-punctuation-in): New function.
7849 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7850 declarations properly.
7851
7852 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7853
7854 * calendar/icalendar.el (icalendar--all-events): Take care of
7855 multiple vcalendars in a single file.
7856 (icalendar--convert-float-to-ical): Checkdoc fixes.
7857
7858 2011-07-25 Deniz Dogan <deniz@dogan.se>
7859
7860 * image.el (insert-image): Clarifying docstring.
7861
7862 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7863
7864 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7865 `tramp-send-command-and-check' if there is no error.
7866 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7867
7868 2011-07-22 Alan Mackenzie <acm@muc.de>
7869
7870 Prevent cc-langs.elc being loaded at run time.
7871
7872 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7873 cc-langs.
7874
7875 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7876 "(require 'cc-langs)". Quote a form so it will evaluate at
7877 (cc-mode's) compilation time.
7878
7879 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7880
7881 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7882 loading. (Bug#9114)
7883
7884 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7885
7886 * window.el (display-buffer-pop-up-window)
7887 (display-buffer-pop-up-side-window)
7888 (display-buffer-in-side-window): Call display-buffer-set-height
7889 and display-buffer-set-width after setting the new window's
7890 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7891
7892 2011-07-20 Sam Steingold <sds@gnu.org>
7893
7894 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7895 (etags-tags-included-tables): Call `convert-standard-filename' on
7896 the file names contained in TAGS so that windows Emacs can handle
7897 TAGS files created by cygwin ctags.
7898
7899 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7900
7901 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7902 which apparently didn't work.
7903
7904 2011-07-19 Roland Winkler <winkler@gnu.org>
7905
7906 * proced.el (proced-send-signal): For *Marked Processes* buffer
7907 put point at beginning of buffer.
7908
7909 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7910
7911 * proced.el (proced-format): Make header lines align with the text
7912 (bug#1779).
7913
7914 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7915
7916 * view.el (view-buffer): Allow running in `special' modes if we're
7917 visiting a file (bug#8615).
7918
7919 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7920
7921 * window.el (display-buffer-alist-of-strings-p)
7922 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7923 New functions.
7924 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7925 more accurately.
7926
7927 2011-07-18 Alan Mackenzie <acm@muc.de>
7928
7929 Fontify declarators properly when, e.g., a jit-lock chunk begins
7930 inside a declaration.
7931
7932 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7933
7934 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7935 New function.
7936 (c-complex-decl-matchers): Insert reference to
7937 c-font-lock-enclosing-decls.
7938
7939 * progmodes/cc-engine.el (c-backward-single-comment):
7940 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7941 to nil around calls to (forward-comment -1).
7942
7943 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7944
7945 * image.el (put-image): Doc typo fix.
7946
7947 * progmodes/etags.el (tags-search): Doc typo fix.
7948
7949 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7950 password if we get errors 550 to 554.
7951
7952 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7953
7954 * net/gnutls.el (gnutls-log-level): Remove.
7955
7956 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7957 indentation character (bug#6380).
7958
7959 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7960
7961 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7962 to clarify what the problem is (bug#4291).
7963
7964 * simple.el (current-kill): Clarify what
7965 `interprogram-paste-function' does (bug#7500).
7966 (auto-fill-mode): Document `auto-fill-function' in relation to
7967 `auto-fill-mode' (bug#2470).
7968
7969 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7970
7971 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7972 method if slot is read-only (bug#9035).
7973
7974 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7975
7976 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7977 * window.el (pop-to-buffer): Select window used even if it was
7978 selected before, see discussion of (Bug#8615), (Bug#6954).
7979 Pass argument NORECORD on to select-frame-set-input-focus.
7980
7981 2011-07-15 Glenn Morris <rgm@gnu.org>
7982
7983 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7984 Respect help-form.
7985
7986 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7987
7988 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7989 (gnutls-negotiate): Use it.
7990
7991 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7992
7993 * net/gnutls.el (gnutls-negotiate):
7994 Upcase `gnutls-algorithm-priority'.
7995
7996 2011-07-15 Glenn Morris <rgm@gnu.org>
7997
7998 * jka-compr.el (jka-compr-verbose): Move from here...
7999 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8000 Add missing :version tag.
8001 * info.el: No need to require jka-compr when compiling.
8002
8003 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8004
8005 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8006 (gnutls-negotiate): Use it.
8007
8008 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8009
8010 * info.el (Info-beginning-of-buffer): New command.
8011 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8012 announcing `b' as the key (bug#8325).
8013 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8014
8015 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8016
8017 * international/mule-cmds.el
8018 (describe-specified-language-support): Make the error message
8019 clearer (bug#8905).
8020
8021 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8022
8023 * isearch.el (isearch-barrier): Add a doc string, since it's
8024 mentioned in a function doc string (bug#8678).
8025
8026 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8027
8028 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8029 buffer argument (Bug#9083) and self-identifying label argument.
8030
8031 2011-07-15 Glenn Morris <rgm@gnu.org>
8032
8033 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8034
8035 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8036
8037 * man.el (Man-fontify-manpage): Fix message when formatting the
8038 man page (bug#7929).
8039
8040 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8041
8042 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8043 argument LRM; if non-nil, append an invisible LRM character to the
8044 buffer name.
8045 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8046 last argument non-nil, when formatting buffer names.
8047 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8048 paragraph direction.
8049
8050 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8051
8052 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8053 the man page name (bug#7929).
8054
8055 * image.el (put-image): Mention the `put-image' overlay property
8056 (bug#7834).
8057
8058 * scroll-bar.el (set-scroll-bar-mode): Mention that
8059 `scroll-bar-mode' lists the values (bug#7772).
8060
8061 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8062 command (bug#7729).
8063
8064 * rect.el (apply-on-rectangle): Return the point after the last
8065 operation.
8066 (string-rectangle): Go to the point after the last operation
8067 (bug#7522).
8068
8069 * printing.el (pr-toggle-region): Clarify the documentation
8070 slightly (bug#7493).
8071
8072 * time.el (display-time-update):
8073 Allow `display-time-mail-function' to return nil (bug#7158).
8074 Fix suggested by Detlev Zundel.
8075
8076 * vc/diff.el (diff): Clarify the order the file names are read
8077 (bug#7111).
8078
8079 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8080 the doc string (bug#7015).
8081
8082 * font-lock.el (font-lock-maximum-decoration): Mention what
8083 numeric levels mean (bug#6935).
8084
8085 * startup.el (initial-buffer-choice): Don't mention the `none'
8086 selection, which is against policy.
8087
8088 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8089
8090 * window.el (display-buffer-normalize-special):
8091 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8092
8093 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8094
8095 * subr.el (version<, version<=, version=): Mention "-CVS" and
8096 "-12345" alpha version numbers.
8097
8098 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8099
8100 * bindings.el: Add advertised binding for set-mark-command
8101 (Bug#5772).
8102
8103 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8104
8105 * bindings.el (mode-line-other-buffer):
8106 * bookmark.el (bookmark-bmenu-2-window):
8107 * bs.el (bs-cycle-next, bs-cycle-previous):
8108 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8109 switch-to-buffer.
8110
8111 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8112 Delete.
8113
8114 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8115
8116 * follow.el (follow-debug-message, follow-redisplay):
8117 * jka-cmpr-hook.el (with-auto-compression-mode):
8118 Fix typos in docstrings.
8119
8120 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8121
8122 * subr.el (with-silent-modifications): Clarify somewhat what the
8123 macro inhibits (bug#6525).
8124
8125 * simple.el (eval-expression): Note what it does if called
8126 interactively (bug#6495).
8127
8128 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8129
8130 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8131 Use pop-to-buffer buffer-or-name if it is nil.
8132
8133 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8134 Remove switch-to-buffer.
8135
8136 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8137
8138 * files.el (make-directory): Clarify that an error will be raised
8139 if there's an error (bug#6397).
8140
8141 * startup.el (initial-buffer-choice): Add `none' as a choice
8142 (bug#6234).
8143
8144 * subr.el (add-hook): Clarify section about buffer-local hooks
8145 (bug#6218).
8146
8147 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8148
8149 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8150
8151 * tabify.el (untabify): Preserve the current column so that point
8152 doesn't move (bug#6032).
8153
8154 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8155
8156 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8157 Rewrite to avoid awkward possessive "s" (bug#5986).
8158
8159 2011-07-13 Glenn Morris <rgm@gnu.org>
8160
8161 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8162 (dired-insert-directory): Give a message the first time
8163 if ls is found not to support --dired.
8164
8165 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8166
8167 * simple.el (toggle-truncate-lines): Clarify what is toggled
8168 (bug#5580). Text by Drew Adams.
8169
8170 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8171
8172 * simple.el (blink-matching-open): Make the error message from the
8173 last change less verbose.
8174
8175 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8176
8177 * font-lock.el (font-lock-comment-face): Use the high contrast
8178 "yellow" color for font-lock-comment-face on low color terminals
8179 using a dark background color (bug#4221).
8180
8181 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8182
8183 * dired.el (dired-insert-set-properties): Make the doc string
8184 reflect what it does now (bug#5325).
8185
8186 * simple.el (blink-matching-open): Say that we were unable to find
8187 the match within the limit, if we're limited (bug#5122).
8188
8189 * international/mule-cmds.el (prefer-coding-system): Add an
8190 example (bug#4869).
8191
8192 * progmodes/etags.el (tags-search): Document `file-list-form'
8193 (bug#4731).
8194
8195 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8196
8197 * net/browse-url.el (browse-url-default-browser)
8198 (browse-url-browser-function): Make the default browser choice a
8199 bit more logical (bug#4300). Also clean up the doc string.
8200
8201 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8202
8203 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8204 binary endings (bug#4440).
8205
8206 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8207
8208 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8209 which can be pretty annoying (bug#8971).
8210
8211 * jka-compr.el (jka-compr-verbose): New variable, and use
8212 throughout (bug#8971).
8213
8214 * info.el (Info-find-file): Fall back on the installation
8215 directory if we can't find the info node anywhere else.
8216
8217 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8218
8219 * vc/vc.el (vc-revert-file):
8220 Don't set file time-stamp in the past. (Bug#5181)
8221
8222 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8223
8224 * files.el (after-find-file): Give a better error message when
8225 trying to find a symlink that points to a file that doesn't exist
8226 (bug#4398).
8227
8228 * progmodes/cc-vars.el: Remove (probably) misleading comment
8229 (bug#4396).
8230
8231 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8232
8233 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8234
8235 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8236
8237 * mouse-sel.el: Hack restoring functionality, while keeping
8238 compatibility with 2010-07-03 changes to mouse selection.
8239 (mouse-sel-primary-overlay): New var.
8240 (mouse-sel-selection-alist): Use it.
8241 (mouse-sel-mode): Doc fix; remove points that are default features
8242 of mouse.el.
8243
8244 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8245
8246 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8247 Fix previous fix (bug#2490).
8248
8249 2011-07-12 Roland Winkler <winkler@gnu.org>
8250
8251 * textmodes/bibtex.el (bibtex-initialize):
8252 Use pop-to-buffer-same-window.
8253 (bibtex-search-entries): Fix interactive call.
8254
8255 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8256
8257 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8258 Fontise bytecomp Error lines more correctly (bug#2490).
8259 Fix suggested by Johan Bockgård.
8260
8261 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8262
8263 * dired-x.el (dired-guess-default): Use `delete-dups'.
8264
8265 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8266
8267 * dired.el (dired-mark-prompt):
8268 * dired-aux.el (dired-read-shell-command): Doc fix.
8269
8270 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8271
8272 * mail/sendmail.el (sendmail-query-once):
8273 Use `customize-save-variable' unconditionally, now that it works under
8274 emacs -Q.
8275
8276 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8277
8278 * cus-edit.el (custom-file): Take an optional no-error variable.
8279 (customize-save-variable): Set the variable, and give a warning if
8280 running under "emacs -q".
8281
8282 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * loadhist.el (unload-feature-special-hooks):
8285 Add `auto-coding-functions', `fill-nobreak-predicate' and
8286 `find-directory-functions' (bug#5327).
8287
8288 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8289
8290 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8291
8292 * cus-edit.el (custom-guess-name-alist): -alist variables should
8293 use the `alist' type (bug#3120). Suggested by Drew Adams.
8294
8295 * printing.el: Add documentation to all the `pr-toggle-' commands.
8296
8297 2011-07-11 Leo Liu <sdl.web@gmail.com>
8298
8299 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8300 backends where it makes sense (bug#2623).
8301
8302 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8303
8304 * dired-x.el (dired-guess-default): Remove duplicate shell command
8305 entries (bug#2028).
8306 (dired-guess-default): Fix grammar in doc string (bug#2028).
8307 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8308
8309 * subr.el (remove-duplicates): New conveniency function.
8310
8311 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8312
8313 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8314 (bug#1526).
8315
8316 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8317
8318 * window.el (display-buffer-normalize-default): Don't invert
8319 meaning of even-window-heights. Reported by Eli Zaretskii
8320 <eliz@gnu.org>.
8321
8322 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8323
8324 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8325
8326 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8327
8328 * window.el (display-buffer): Fix arguments to
8329 display-buffer-reuse-window in last change.
8330
8331 * faces.el (link): Use a less saturated blue on light backgrounds.
8332
8333 * startup.el (fancy-startup-text, fancy-about-text)
8334 (fancy-startup-tail): Use font-lock faces, for background safety.
8335
8336 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8337
8338 * emulation/viper-cmd.el (viper-change-state-to-vi):
8339 Limit triggering of abbrev expansion (Bug#9038).
8340
8341 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8342
8343 * window.el (display-buffer-default-specifiers): Remove.
8344 (display-buffer-macro-specifiers): Remove default specifiers.
8345 (display-buffer-alist): Default to nil.
8346 (display-buffer-reuse-window): New optional argument other-window.
8347 (display-buffer-pop-up-window): Allow splitting internal
8348 windows. Check whether a live window was created.
8349 (display-buffer-other-window-means-other-frame)
8350 (display-buffer-normalize-arguments): Rename to
8351 display-buffer-normalize-argument and rewrite. Set the
8352 other-window specifier.
8353 (display-buffer-normalize-special): New function.
8354 (display-buffer-normalize-options): Rename to
8355 display-buffer-normalize-default and rewrite.
8356 (display-buffer-normalize-options-inhibit): Remove.
8357 (display-buffer-normalize-specifiers): Rewrite.
8358 (display-buffer): Process other-window specifier and call
8359 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8360 more faithfully.
8361 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8362 (display-buffer-alist-set): Don't handle 'unset default values.
8363 (display-buffer-in-window, display-buffer-alist-set):
8364 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8365 <tassilo@member.fsf.org>.
8366
8367 2011-07-09 Leo Liu <sdl.web@gmail.com>
8368
8369 * register.el (insert-register): Restore accidental change on
8370 2011-06-26. (Bug#9028)
8371
8372 2011-07-09 Glenn Morris <rgm@gnu.org>
8373
8374 * subr.el (remq): Handle the empty list. (Bug#9024)
8375
8376 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8377
8378 * mail/sendmail.el (send-mail-function): No longer delay custom
8379 initialization.
8380 * custom.el (custom-initialize-delay): Doc fix.
8381
8382 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8385
8386 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8387
8388 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8389 human-friendly prompt.
8390
8391 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8392
8393 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8394 provided by a particular plugin.
8395
8396 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8397
8398 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8399 save customizations (with "emacs -Q"), just set the variable
8400 instead of erroring out.
8401
8402 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8403
8404 2011-07-08 Juri Linkov <juri@jurta.org>
8405
8406 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8407 (archive-zip-update-case): Use 7z if found by `executable-find'.
8408 The order of searching the available programs is the same as in
8409 `archive-zip-extract' (bug#8968).
8410
8411 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8412
8413 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8414 (menu-bar-options-menu): Tweak descriptions.
8415
8416 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8417
8418 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8419 menu items into verb phrases (bug#1421). Also refill to fit under
8420 80 columns.
8421
8422 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8423
8424 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8425 (Info-read-node-name): Doc fix (Bug#1084).
8426
8427 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8428 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8429 (end-of-sexp, beginning-of-sexp)
8430 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8431 (forward-symbol, forward-same-syntax, word-at-point)
8432 (sentence-at-point): Doc fix (Bug#1144).
8433
8434 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8435
8436 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8437 should cover it (bug#1281).
8438
8439 * cus-edit.el (custom-show): Mark as obsolete.
8440
8441 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8442 negotiation fails, then possibly try again with a non-encrypted
8443 connection (bug#9017).
8444
8445 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8446 be used.
8447
8448 2011-07-07 Richard Stallman <rms@gnu.org>
8449
8450 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8451 property, and handle its changed format.
8452 Look for the correct line number.
8453 Use file's line contents (but not past first =) to find
8454 correct line in message.
8455
8456 2011-07-07 Kenichi Handa <handa@m17n.org>
8457
8458 * international/characters.el (build-unicode-category-table):
8459 Delete it.
8460 (unicode-category-table): Set it by unicode-property-table-internal.
8461
8462 * international/mule-cmds.el (char-code-property-alist): Move to
8463 to src/chartab.c.
8464 (get-char-code-property): Call unicode-property-table-internal to
8465 load a file. Call get-unicode-property-internal where necessary.
8466 (put-char-code-property): Call unicode-property-table-internal to
8467 load a file. Call put-unicode-property-internal where necessary.
8468 put-unicode-property-internal where necessary.
8469 (char-code-property-description):
8470 Call unicode-property-table-internal to load a file.
8471
8472 * international/charprop.el:
8473 * international/uni-bidi.el:
8474 * international/uni-category.el:
8475 * international/uni-combining.el:
8476 * international/uni-comment.el:
8477 * international/uni-decimal.el:
8478 * international/uni-decomposition.el:
8479 * international/uni-digit.el:
8480 * international/uni-lowercase.el:
8481 * international/uni-mirrored.el:
8482 * international/uni-name.el:
8483 * international/uni-numeric.el:
8484 * international/uni-old-name.el:
8485 * international/uni-titlecase.el:
8486 * international/uni-uppercase.el: Regenerate.
8487
8488 * loadup.el: Load international/charprop.el before
8489 international/characters.
8490
8491 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8492
8493 * window.el (next-buffer, previous-buffer): Signal an error if
8494 called from a minibuffer window.
8495
8496 * bindings.el: Revert 2011-07-04 change.
8497
8498 2011-07-06 Richard Stallman <rms@gnu.org>
8499
8500 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8501 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8502 Treat markers like ints.
8503 (rmail-mime-entity): Doc fix.
8504
8505 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8506
8507 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8508 defcustom again for backwards compatibility.
8509
8510 * simple.el (shell-command-on-region): Fill.
8511
8512 * dired-aux.el (dired-kill-line): Add a doc string.
8513
8514 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8515 to "\\sw\\|\\s_" (bug#358).
8516
8517 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8518 (dired-unmark-backward): Ditto.
8519 (dired-flag-backup-files): Ditto.
8520
8521 * dired-x.el (dired-mark-sexp): Ditto.
8522
8523 2011-07-06 Richard Stallman <rms@gnu.org>
8524
8525 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8526 (rmail-mime-entity): New arg TRUNCATED.
8527 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8528 New functions.
8529 (rmail-mime-save): Warn if entity is truncated.
8530 (rmail-mime-toggle-hidden): Likewise, for showing.
8531 (rmail-mime-process-multipart): Record when an entity is truncated.
8532
8533 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8534 if ENTITY is a string.
8535
8536 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8537
8538 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8539 of faces when `M-C-x'-ing their definitions (bug#8378).
8540 Also clean up the code slightly.
8541
8542 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8543 because that makes the colors go away.
8544
8545 * mail/sendmail.el (send-mail-function): Change the default to
8546 `sendmail-query-once'.
8547 (sendmail-query-once): Add an autoload cookie.
8548
8549 * net/network-stream.el (network-stream-open-starttls): Try using
8550 a plain connection even if the server offered STARTTLS, and we
8551 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8552 capability. This should make smtpmail.el work in slightly more
8553 configurations.
8554
8555 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8556
8557 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8558 New defun.
8559 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8560
8561 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8562
8563 * progmodes/sql.el: Version 3.0
8564 (sql-product-alist): Add product :completion-object,
8565 :completion-column, and :statement attributes.
8566 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8567 (sql-mode-syntax-table): Mark all punctuation.
8568 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8569 ansi keywords.
8570 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8571 (sql-mode-oracle-font-lock-keywords): Improve.
8572 (sql-oracle-show-reserved-words): New function for development.
8573 (sql-product-font-lock): Simplify for source code buffers.
8574 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8575 New functions.
8576 (sql-highlight-product): Set product specific syntax table.
8577 (sql-mode-map): Add statement movement functions.
8578 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8579 New variable.
8580 (sql-statement-regexp, sql-beginning-of-statement)
8581 (sql-end-of-statement, sql-signum): New functions.
8582 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8583 (sql-show-sqli-buffer): Bug fix.
8584 (sql-interactive-mode): Store connection data as buffer local.
8585 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8586 with sql-interactive-mode.
8587 (sql-save-connection): Save buffer local settings.
8588 (sql-connection-menu-filter): Change menu entry name.
8589 (sql-product-interactive): Bug fix.
8590 (sql-preoutput-hold): New variable.
8591 (sql-interactive-remove-continuation-prompt): Bug fixes.
8592 (sql-debug-redirect): New variable.
8593 (sql-str-literal): New function.
8594 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8595 Redesign.
8596 (sql-oracle-save-settings, sql-oracle-restore-settings)
8597 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8598 (sql-completion-object, sql-completion-column)
8599 (sql-completion-sqlbuf): New variables.
8600 (sql-build-completions-1, sql-build-completions)
8601 (sql-try-completion): New functions.
8602 (sql-read-table-name): Use them.
8603 (sql-contains-names): New buffer local variable.
8604 (sql-list-all, sql-list-table): Use it.
8605 (sql-oracle-completion-types): New variable.
8606 (sql-oracle-completion-object, sql-sqlite-completion-object)
8607 (sql-postgres-completion-object): New functions.
8608
8609 2011-07-06 Glenn Morris <rgm@gnu.org>
8610
8611 * window.el (pop-to-buffer): Doc fix.
8612
8613 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8614
8615 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8616
8617 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8618
8619 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8620
8621 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8622
8623 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8624
8625 * button.el (button): Inherit from link face. Suggested by Dan
8626 Nicolaescu.
8627
8628 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8629
8630 * progmodes/gdb-mi.el: Fit in 80 columns.
8631 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8632 switch-to-buffer.
8633
8634 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8635 if imenu is simply not configured (bug#8941).
8636
8637 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8638
8639 * allout.el (allout-post-undo-hook): New allout outline-change
8640 event hook to signal undo activity.
8641 (allout-post-command-business): Run allout-post-undo-hook if an
8642 undo just occurred.
8643 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8644 * allout-widgets.el (allout-widgets-after-undo-function):
8645 Ensure the integrity of the current item's decoration after it has been
8646 in the vicinity of an undo.
8647 (allout-widgets-mode): Include allout-widgets-after-undo-function
8648 on the new allout-post-undo-hook.
8649
8650 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8653 Let define-derived-mode define it.
8654 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8655 cycles of abbrev-table inheritance (bug#8998).
8656
8657 2011-07-05 Roland Winkler <winkler@gnu.org>
8658
8659 * textmodes/bibtex.el: Add support for biblatex.
8660 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8661 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8662 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8663 (bibtex-entry-alist, bibtex-field-alist): New variables.
8664 (bibtex-entry-field-alist): Obsolete alias for
8665 bibtex-BibTeX-entry-alist.
8666 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8667 (bibtex-set-dialect): New command.
8668 (bibtex-entry-type, bibtex-entry-head)
8669 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8670 Bind via bibtex-set-dialect.
8671 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8672 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8673 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8674 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8675 Define via bibtex-set-dialect.
8676 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8677 Obey bibtex-no-opt-remove-re.
8678 (bibtex-vec-push, bibtex-vec-incr): New functions.
8679 (bibtex-format-entry, bibtex-field-list)
8680 (bibtex-print-help-message, bibtex-validate)
8681 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8682
8683 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * progmodes/compile.el (compilation-goto-locus):
8686 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8687 * bs.el (bs-cycle-next, bs-cycle-previous):
8688 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8689 * bindings.el (mode-line-other-buffer):
8690 * autoinsert.el (auto-insert):
8691 * arc-mode.el (archive-extract):
8692 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8693
8694 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8695
8696 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8697 Fix check of `emacs-lock-unlockable-modes'.
8698 Coerce true values of `emacs-lock--try-unlocking' to t.
8699
8700 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8701
8702 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8703 * emacs-lock.el: New file.
8704
8705 2011-07-05 Julien Danjou <julien@danjou.info>
8706
8707 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8708 than `boundp' to check if face is set.
8709
8710 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8711
8712 * register.el (registerv-make):
8713 * window.el (window-min-height): Fix typos in docstrings.
8714
8715 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8716
8717 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8718 Update doc string.
8719
8720 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8721
8722 * server.el (server-execute): Catch quit and call
8723 `server-return-error' to pass the error back to emacsclient and
8724 close the connection (bug#8942).
8725
8726 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8727
8728 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8729 insecure exception for current topic. Also note that auto-saves
8730 are handled differently.
8731
8732 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8733 State variables for tracking auto-save inhibition situation.
8734
8735 (allout-write-contents-hook-handler): Rename from
8736 'allout-write-file-hook-handler', and describe how it depends on
8737 write-contents-functions sensitivity to non-nil value to prevent
8738 file write.
8739
8740 (allout-auto-save-hook-handler): Remove. auto-save does not check
8741 this in individual buffers, only in the starting buffer, so this
8742 is not the right way for us to inhibit auto-save in a buffer
8743 according to its condition.
8744
8745 (allout-mode): Use new allout-write-contents-hook-handler, and
8746 only with write-contents-functions. Remove auto-save provisions -
8747 they're implemented elsewhere.
8748
8749 (allout-before-change-handler): If undo is in progress, note that
8750 for attention of allout-post-command-business.
8751
8752 (allout-post-command-business): If the command we're following was
8753 an undo, check for change in the status of encrypted items and
8754 adjust auto-save inhibitions accordingly.
8755
8756 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8757 according to whether there are or aren't any plain-text topics
8758 pending encryption.
8759
8760 (allout-inhibit-auto-save-info-for-decryption):
8761 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8762 if there are plain-text topics pending encryption.
8763
8764 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8765 buffer-saved-size and some allout state to not inhibit auto-saves
8766 if there are no longer any plain-text topics pending encryption.
8767
8768 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8769 No longer provide for exemption of the current topic.
8770
8771 2011-07-04 Juri Linkov <juri@jurta.org>
8772
8773 Add 7z operations to delete and save changed members (bug#8968).
8774 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8775 New defcustoms.
8776 (archive-7z-write-file-member): New function.
8777 (archive-7z-summarize): Fix the number of dashes in the
8778 listing output.
8779
8780 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8783 (bug#8958).
8784
8785 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8786
8787 * bindings.el: Ignore next-buffer and previous-buffer in
8788 minibuffer-local-map.
8789
8790 * font-lock.el (font-lock-builtin-face): Change light background
8791 color to dark slate blue (Bug#6693).
8792
8793 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8794
8795 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8796
8797 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8800 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8801 Add switch-to-buffer.
8802
8803 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8804
8805 * isearch.el (isearch-search-fun-function): Clarify further the
8806 meaning of the function returned.
8807
8808 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8809
8810 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8811
8812 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8813 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8814 Use it.
8815 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8816 `tramp-default-remote-path' does not exist.
8817 (tramp-send-command-and-read): New optional argument NOERROR.
8818 (tramp-open-connection-setup-interactive-shell)
8819 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8820 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8821 (tramp-process-sentinel): Flush also process' connection property.
8822 (tramp-sh-handle-start-file-process): Do not set process
8823 sentinel. It is done now ...
8824 (tramp-maybe-open-connection): ... here. (Bug#8929)
8825
8826 2011-07-04 MON KEY <monkey@sandpframing.com>
8827
8828 * play/animate.el (animate-string): Doc fixes and allow changing
8829 the buffer name (bug#5417).
8830
8831 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8832
8833 * play/animate.el (animation-buffer-name): Rename from *animate*.
8834
8835 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8836
8837 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8838 This is simpler and helps future-proof the code.
8839 (timer-until): Use time-subtract and float-time.
8840 (timer--time-less-p): Use time-less-p.
8841
8842 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8843
8844 * type-break.el (timep): Use the value of `float-time' to avoid a
8845 byte-compiler warning.
8846
8847 * server.el (server-eval-and-print): Return any result, even nil.
8848
8849 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8850
8851 * type-break.el: Accept time formats that the builtins accept.
8852 (timep, type-break-time-difference): Accept any format that
8853 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8854 This is simpler and helps future-proof the code.
8855 (type-break-time-difference): Round rather than ignoring
8856 subseconds components.
8857
8858 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8859
8860 * info.el (Info-apropos-matches): Make non-interactive, since it
8861 doesn't seem to do anything useful as a command (bug#8829).
8862
8863 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8864
8865 * frame.el (frame-background-mode, frame-set-background-mode):
8866 Move from faces.el.
8867 (frame-default-terminal-background): New function.
8868
8869 * custom.el (custom-push-theme): Don't record faces in `changed'
8870 theme; this doesn't work correctly for per-frame face settings.
8871 (disable-theme): Use face-set-after-frame-default to reset faces.
8872 (custom--frame-color-default): New function.
8873
8874 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8875
8876 * dired.el (dired-flagging-regexp): Remove unused variable
8877 (bug#8769).
8878
8879 2011-03-29 Kevin Ryde <user42@zip.com.au>
8880
8881 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8882 `perl-Test2' extend to match possible "fail #N" rep count
8883 (bug#8377).
8884
8885 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8886
8887 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8888 `smtpmail-via-smtp' now returns the error instead of nil.
8889
8890 * isearch.el (isearch-search-fun-function): Clarify the doc string
8891 (bug#8101).
8892
8893 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8894
8895 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8896 unnecessary spaces (bug#8987).
8897
8898 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8899
8900 * net/network-stream.el (open-network-stream): Use the
8901 :end-of-capability command thoughout.
8902
8903 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8904
8905 * net/network-stream.el (open-network-stream): Add the
8906 :end-of-capability command parameter, used by pop3.el.
8907
8908 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8909
8910 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8911
8912 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8913 for list)" (bug#6475).
8914
8915 * files.el (file-expand-wildcards): Ignore non-readable
8916 sub-directories while trying to find matches instead of signaling
8917 an error (bug#6297).
8918
8919 * man.el (Man-reference-regexp): Allow matching possible
8920 word-wrapped references (bug#6289).
8921
8922 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8923 for consistency with the other vc buffers (bug#6197).
8924 (vc-checkin): Ditto.
8925
8926 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8927
8928 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8929
8930 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8931
8932 * custom.el (defcustom): Clarify that :set is only used in the
8933 Customize user interface (bug#6089).
8934
8935 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8936 associated with a file, refuse to run instead of erroring out
8937 (bug#6084).
8938
8939 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8940 the doc string, since it appears that using `fill-column' always
8941 controls the width (bug#7845).
8942
8943 * simple.el (shell-command-on-region): Say where the error output
8944 went if `shell-command-default-error-buffer' is set (bug#6857).
8945
8946 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8947
8948 * allout.el (allout-yank-processing): Adjust cursor position for
8949 backwards-deleted space.
8950
8951 (allout-rebullet-heading): Register changes with
8952 allout-exposure-changed-hook, so the modified topic is properly
8953 decorated.
8954
8955 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8956
8957 * minibuffer.el (completion-in-region): Document PREDICATE
8958 (bug#7136).
8959
8960 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8961 of keyword/argument pairs (bug#6904).
8962
8963 * replace.el (multi-occur):
8964 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8965
8966 2011-07-02 Drew Adams <drew.adams@oracle.com>
8967
8968 * dired.el (dired-mark-if): Make the message about whether it's
8969 marking or unmarking clearer (bug#8523).
8970
8971 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8972
8973 * disp-table.el (display-table-print-array): New function.
8974 (describe-display-table): Use it to print the vectors more pretty
8975 (Bug#8859).
8976
8977 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8978
8979 * window.el (window-state-get-1): Don't assign clone numbers.
8980 Add clone-of item to list of window parameters.
8981 (window-state-put-2): Don't process clone numbers.
8982 (display-buffer-alist): Fix doc-string.
8983
8984 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * subr.el (remq): Don't allocate if it's not needed.
8987 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8988 (keymap--merge-bindings): New functions.
8989 (keymap-canonicalize): Use them to refine the canonicalization.
8990 * minibuffer.el (minibuffer-local-completion-map)
8991 (minibuffer-local-must-match-map): Move initialization from C.
8992 (minibuffer-local-filename-completion-map): Move initialization from C;
8993 don't inherit from anything here.
8994 (minibuffer-local-filename-must-match-map): Make obsolete.
8995 (completing-read-default): Use make-composed-keymap to combine
8996 minibuffer-local-filename-completion-map with either
8997 minibuffer-local-must-match-map or
8998 minibuffer-local-filename-completion-map.
8999
9000 2011-07-01 Glenn Morris <rgm@gnu.org>
9001
9002 * type-break.el (type-break-time-sum): Use dolist.
9003
9004 * textmodes/flyspell.el (flyspell-word-search-backward):
9005 Replace CL function.
9006
9007 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * mouse.el (mouse--strip-first-event): New function.
9010 (function-key-map): Use it to map fringe clicks to normal clicks
9011 by default.
9012
9013 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9014 (vc-bzr-revision-completion-table): Add support for annotate and date.
9015
9016 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9017 inherit from parent.
9018
9019 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9020
9021 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9022 (dired-show-file-type): Doc fixup (bug#8818).
9023
9024 * dired.el (dired-mode): Fix up the doc string as suggested by
9025 Drew Adams (bug#8817).
9026
9027 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9028 cookie, since the manual says that it should be possible to add
9029 this function to `find-file-hook' (bug#8709).
9030
9031 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9032
9033 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9034 here. Noted Ted Zlatanov as the maintainer.
9035 (cfengine-common-settings, cfengine-common-syntax): New functions
9036 to set up common things between `cfengine-mode' and
9037 `cfengine3-mode'.
9038 (cfengine3-mode): New mode.
9039 (cfengine3-defuns cfengine3-defuns-regex
9040 (cfengine3-class-selector-regex cfengine3-category-regex)
9041 (cfengine3-vartypes cfengine3-font-lock-keywords)
9042 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9043 (cfengine3-indent-line): Add from cfengine3.el.
9044
9045 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9046
9047 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9048
9049 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9050
9051 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9052
9053 * window.el (same-window-buffer-names, same-window-regexps)
9054 (same-window-p, special-display-frame-alist)
9055 (special-display-popup-frame, special-display-function)
9056 (special-display-buffer-names, special-display-regexps)
9057 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9058 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9059 (split-window-preferred-function, split-height-threshold)
9060 (split-width-threshold, even-window-heights)
9061 (display-buffer-mark-dedicated, window-splittable-p)
9062 (split-window-sensibly, window-safely-shrinkable-p):
9063 Un-obsolete.
9064 (display-buffer): Don't spread args with function specifier
9065 because special-display-popup-frame won't like it.
9066
9067 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9068
9069 Time-stamp simplifications and fixes.
9070 These improve accuracy slightly, and future-proof the code
9071 against some potential changes to current-time format.
9072
9073 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9074 by using time-since and float-time.
9075
9076 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9077 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9078 + NNN microseconds".
9079
9080 * type-break.el (type-break-time-sum): Rewrite using time-add.
9081
9082 * play/hanoi.el (hanoi-current-time-float): Remove.
9083 All uses replaced by float-time.
9084
9085 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9086 This yields a more-accurate answer.
9087 (rng-time-to-float): Remove; no longer needed.
9088
9089 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9090
9091 * calendar/timeclock.el (timeclock-seconds-to-time):
9092 Defalias to seconds-to-time, since they're the same thing.
9093
9094 * emacs-lisp/elp.el (elp-elapsed-time):
9095 * emacs-lisp/benchmark.el (benchmark-elapse):
9096 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9097
9098 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * window.el (bury-buffer): Don't iconify the only frame.
9101 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9102 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9103
9104 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9105
9106 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9107 Add mouse-yank-primary.
9108
9109 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9110
9111 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9112
9113 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9116 (find-library-name): Use it to find relative load names when provided
9117 absolute file name (bug#8803).
9118
9119 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9120
9121 * textmodes/flyspell.el (flyspell-word): Consider words that
9122 differ only in case as potential doublons (bug#5687).
9123
9124 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9125 Remove two rather uninteresting debugging-like messages to make
9126 debbugs.el more silent.
9127
9128 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9129 a password-like phrase.
9130
9131 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9132
9133 * progmodes/cc-guess.el: New file.
9134
9135 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9136
9137 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9138 derived from `c-basic-common-init'.
9139
9140 * progmodes/cc-mode.el (top-level): Require cc-guess.
9141 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9142
9143 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9144
9145 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9146
9147 2011-06-30 Alan Mackenzie <acm@muc.de>
9148
9149 * progmodes/cc-engine.el (c-guess-continued-construct):
9150 Correct the handling of template-args-cont, particularly for when font
9151 lock is disabled. Name this case as "CASE G".
9152
9153 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9154
9155 * allout.el (allout-yank-processing): Fix injection of extra space
9156 between bullet and non-whitespace character in first topic when
9157 pasting, ensuring that the actual spacing in the pasted topic
9158 following the bullet char is preserved. This extra space was
9159 causing pasted encrypted topics to get a decrypted status even
9160 when the content was actually still encrypted. Now the decryption
9161 status from before the paste is preserved.
9162
9163 (allout-flag-region): Set all allout overlays so they evaporate
9164 when reduced to zero length (evanescent), to prevent overlay
9165 leakage.
9166
9167 2011-06-30 Glenn Morris <rgm@gnu.org>
9168
9169 * w32-fns.el (w32-charset-info-alist): Declare.
9170
9171 * find-dired.el (find-grep-options): Simplify.
9172
9173 * term/ns-win.el (ns-set-resource): Declare.
9174
9175 * ses.el (row, col): Declare dynamic variables honestly.
9176
9177 * textmodes/reftex-parse.el (index-tags): Declare.
9178
9179 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9180
9181 * cus-edit.el (customize-push-and-save): New function.
9182
9183 * files.el (hack-local-variables-confirm): Use it.
9184
9185 * custom.el (load-theme): New arg NO-CONFIRM.
9186 Use customize-push-and-save (Bug#8720).
9187 (custom-enabled-themes): Doc fix.
9188
9189 * cus-theme.el (customize-create-theme)
9190 (custom-theme-merge-theme): Callers to load-theme changed.
9191
9192 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9193
9194 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9195 short URLs have at least one dot in them (bug #7614).
9196
9197 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9198 nil, because using a pty is apparently too slow (bug #895).
9199
9200 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9201
9202 * mail/sendmail.el (sendmail-query-once): New function.
9203 (sendmail-query-once-function): New variable.
9204
9205 2011-06-29 Glenn Morris <rgm@gnu.org>
9206
9207 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9208
9209 * ses.el (top-level): Require cl when compiling.
9210 (ses-set-localvars): Fix error statement.
9211 Call it at compile time to silence a storm of warnings.
9212
9213 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9214
9215 * window.el (normalize-live-buffer): Rename to
9216 window-normalize-buffer.
9217 (normalize-live-frame): Rename to window-normalize-frame.
9218 (normalize-any-window): Rename to window-normalize-any-window.
9219 (normalize-live-window): Rename to window-normalize-live-window.
9220 (make-window-atom): Rename to window-make-atom.
9221 (window-resize-reset): Rename to window--resize-reset.
9222 (window-resize-reset-1): Rename to window--resize-reset-1.
9223 (resize-mini-window): Rename to window--resize-mini-window.
9224 (resize-subwindows-skip-p): Rename to
9225 window--resize-subwindows-skip-p.
9226 (resize-subwindows-normal): Rename to
9227 window--resize-subwindows-normal.
9228 (resize-subwindows): Rename to window--resize-subwindows.
9229 (resize-other-windows): Rename to window--resize-siblings.
9230 (resize-this-window): Rename to window--resize-this-window.
9231 (resize-root-window): Rename to window--resize-root-window.
9232 (resize-root-window-vertically): Rename to
9233 window--resize-root-window-vertically.
9234 (normalize-buffer-to-display): Rename to
9235 window-normalize-buffer-to-display.
9236 (normalize-buffer-to-switch-to): Rename to
9237 window-normalize-buffer-to-switch-to.
9238 Correspondingly update all callers of the functions listed
9239 above.
9240 (display-buffer-alist, display-buffer-normalize-arguments)
9241 (display-buffer-normalize-options, display-buffer)
9242 (display-buffer-alist-set): Use "function" instead of
9243 "fun-with-args".
9244
9245 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9246
9247 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9248 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9249 debbugs.gnu.org. Mention acknowledgment email.
9250
9251 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9252
9253 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9254 buffer multibyteness, since it shouldn't matter.
9255
9256 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9257
9258 * window.el (display-buffer-in-side-window): Handle dedicated
9259 windows as in display-buffer-reuse-window.
9260 (display-buffer-normalize-alist): Use value of override
9261 specifier.
9262 (display-buffer-normalize-specifiers): Use value of
9263 other-window-means-other-frame specifier.
9264 (display-buffer-alist): Rewrite some texts in widgets.
9265 (display-buffer): Spread arguments when calling function
9266 specified by fun-with-args.
9267
9268 2011-06-28 Deniz Dogan <deniz@dogan.se>
9269
9270 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9271 Unnest `let'.
9272
9273 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9274 selectors (Bug#5732).
9275 (css-proprietary-nmstart-re): Use `regexp-opt'.
9276
9277 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9278
9279 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9280 (eshell-ls-date-format): New defcustom.
9281 (eshell-ls-file): Use it.
9282
9283 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9286
9287 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9288
9289 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9290 (ange-ftp-make-tmp-name): New arg.
9291 (ange-ftp-file-local-copy): Use it.
9292
9293 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9294
9295 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9296 no-conversion (Bug#8870).
9297
9298 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9299
9300 * window.el (window-right, window-left, window-child)
9301 (window-child-count, window-last-child)
9302 (window-iso-combination-p, walk-window-tree-1)
9303 (window-atom-check-1, window-tree-1, delete-window)
9304 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9305 new naming conventions - window-vchild, window-hchild,
9306 window-next and window-prev are now called window-top-child,
9307 window-left-child, window-next-sibling and window-prev-sibling
9308 respectively.
9309 (resize-window-reset): Rename to window-resize-reset.
9310 (resize-window-reset-1): Rename to window-resize-reset-1.
9311 (resize-window): Rename to window-resize.
9312 (window-min-height, window-min-width)
9313 (resize-mini-window, resize-this-window, resize-root-window)
9314 (resize-root-window-vertically, adjust-window-trailing-edge)
9315 (enlarge-window, shrink-window, maximize-window)
9316 (minimize-window, delete-window, quit-restore-window)
9317 (split-window, balance-windows, balance-windows-area-adjust)
9318 (balance-windows-area, window-state-put-2)
9319 (display-buffer-even-window-sizes, display-buffer-set-height)
9320 (display-buffer-set-width, set-window-text-height)
9321 (fit-window-to-buffer): Rename all "resize-window" prefixed
9322 calls to use the "window-resize" prefix convention.
9323 (display-buffer-alist): Fix symbol for label specifier.
9324 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9325 corresponding specifier.
9326 Reported by Juanma Barranquero <lekktu@gmail.com>.
9327
9328 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9329
9330 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9331 convention.
9332 (ses-call-printer): Does not pass an empty string to formatter when the
9333 cell is empty to keep from barking printer Calc math-format-value.
9334
9335 2011-06-27 Richard Stallman <rms@gnu.org>
9336
9337 * battery.el (battery-mode-line-limit): New variable.
9338 (battery-update): Handle it.
9339
9340 * mail/rmailmm.el (rmail-mime-process-multipart):
9341 Handle truncated messages.
9342
9343 2011-06-27 Glenn Morris <rgm@gnu.org>
9344
9345 * progmodes/flymake.el (flymake-err-line-patterns):
9346 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9347
9348 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9349
9350 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9351 (ses--clean-!, ses--clean-_): New functions.
9352 (ses-range): Add configurability of readout order, and conversion
9353 to Calc vector.
9354
9355 * ses.el (ses-repair-cell-reference-all): New function.
9356 (ses-cell-symbol): Set macro as safe, so that it can be used in
9357 formulas.
9358
9359 * ses.el: Update cycle detection algorithm.
9360 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9361 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9362 (ses-set-localvars): New function.
9363 (ses-make-cell): Add property-list as a cell element.
9364 (ses-cell-property-get-fun, ses-cell-property-get)
9365 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9366 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9367 New functions.
9368 (ses-cell-property-set, ses-cell-property-pop)
9369 (ses-cell-property-get-handle): New macro.
9370 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9371 New aliases, used for code readability.
9372 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9373 cycle detection.
9374 (ses-self-reference-early-detection): New defcustom.
9375 (ses-formula-references): Robustify against self-referring cells.
9376 (ses-mode): Use ses-set-localvars.
9377 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9378 before lauching the update processing.
9379 (ses-initialize-Dijkstra-attempt): New function.
9380 (ses-recalculate-cell): Update for cycle detection based on
9381 Dijkstra algorithm.
9382
9383 * ses.el: Fix commenting and indenting convention.
9384
9385 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * bs.el (bs-cycle-next): Complete last change.
9388
9389 2011-06-27 Drew Adams <drew.adams@oracle.com>
9390
9391 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9392
9393 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9394
9395 * net/network-stream.el (network-stream-open-starttls):
9396 Don't re-get capabilities unless we've reestablished connection.
9397 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9398
9399 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9400 to binary to possibly avoid line encoding issues on Windows (among
9401 other things).
9402
9403 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9404
9405 * net/network-stream.el (open-network-stream): Return an :error
9406 saying what the problem was, if possible.
9407
9408 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9409 server.
9410
9411 * net/network-stream.el (network-stream-open-starttls): If we
9412 wanted to use STARTTLS, and the server offered it, but we weren't
9413 able to because we had no STARTTLS support, then close the connection.
9414 (open-network-stream): Return an :error element, if present.
9415
9416 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9417
9418 * hl-line.el (hl-line-sticky-flag): Doc fix.
9419 (global-hl-line-sticky-flag): New option (Bug#8323).
9420 (global-hl-line-highlight): Obey it.
9421
9422 * vc/vc.el (vc-revert-show-diff): Default to t.
9423
9424 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9425
9426 * allout-widgets.el (allout-widgets-post-command-business):
9427 Stop decorating intermediate isearch matches. They're not being
9428 undecorated when an isearch is continued past, and isearch
9429 automatically collapses them. This leads to "widget leaks", where
9430 decorated items accumulate in collapsed areas. Lines with lots of
9431 hidden widgets can slow down cursor travel, substantially.
9432 Too much complicated machinery would be needed to ensure undecoration,
9433 so we're doing without this nicety.
9434
9435 (allout-widgets-tally-string): Don't try to do a hash-table-count
9436 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9437 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9438 *Messages* when allout-widgets-maintain-tally is t.
9439
9440 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9441
9442 * window.el (display-buffer-normalize-argument): Rename to
9443 display-buffer-normalize-arguments. Handle special meaning of
9444 LABEL argument. Respect special-display-function when popping up
9445 a new frame. Fix code searching for a window showing the buffer
9446 on another frame.
9447 (display-buffer-normalize-specifiers):
9448 Call display-buffer-normalize-arguments.
9449 (display-buffer-in-window): Don't undedicate the window if its
9450 buffer remains the same.
9451 Reported by Drew Adams <drew.adams@oracle.com>.
9452 (display-buffer-alist): Add choice for same-window macro
9453 specfier.
9454 (display-buffer): Mention special meaning of LABEL argument in
9455 doc-string. Fix quoting. Don't pop up a new frame even as
9456 fallback.
9457
9458 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9459
9460 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9461 avoid deleting the current window in some cases (bug#8911).
9462
9463 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9464
9465 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9466 (Bug#8934)
9467
9468 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9469
9470 * net/network-stream.el (network-stream-open-starttls):
9471 Use built-in TLS support if `gnutls-available-p' is true.
9472 (network-stream-open-tls): Ditto.
9473
9474 2011-06-26 Leo Liu <sdl.web@gmail.com>
9475
9476 * register.el (registerv): New struct.
9477 (registerv-make): New function.
9478 (jump-to-register, describe-register-1, insert-register):
9479 Support the jump-func, print-func and insert-func slot of a registerv
9480 struct. (Bug#8415)
9481
9482 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9483
9484 * vc/vc.el (vc-revert-show-diff): New defcustom.
9485 (vc-diff-internal): New arg specifying diff buffer.
9486 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9487 reuse an existing *vc-diff* buffer (Bug#8927).
9488
9489 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9490
9491 2011-06-26 Glenn Morris <rgm@gnu.org>
9492
9493 * progmodes/f90.el (f90-critical-indent): New option.
9494 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9495 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9496 (f90-mode): Doc fix.
9497 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9498 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9499 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9500 (f90-match-end): Handle block, critical.
9501
9502 2011-06-25 Glenn Morris <rgm@gnu.org>
9503
9504 * calendar/diary-lib.el (diary-included-files): Doc fix.
9505 (diary-include-files): New function, extracted from
9506 diary-include-other-diary-files and diary-mark-included-diary-files.
9507 (diary-include-other-diary-files, diary-mark-included-diary-files):
9508 Just call diary-include-files.
9509 (diary-mark-entries): Reset diary-included-files on first call.
9510
9511 * calendar/diary-lib.el (diary-mark-entries)
9512 (diary-mark-included-diary-files):
9513 Visit included diary-files in temp buffers.
9514
9515 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9516 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9517 (f90-start-block-re, f90-imenu-generic-expression)
9518 (f90-looking-at-program-block-start, f90-no-block-limit):
9519 Add support for submodules.
9520
9521 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9522 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9523
9524 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9525
9526 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9527 buffer-file-type before setting its value, to avoid disastrous
9528 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9529
9530 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9531
9532 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9533
9534 * ses.el (ses-unload-function):
9535 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9536
9537 * proced.el (proced-unload-function):
9538 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9539
9540 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9541
9542 * server.el (server-create-window-system-frame): Add parameters arg.
9543 (server-process-filter): Doc fix. Handle frame-parameters.
9544
9545 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9546
9547 Fix bug#8730, bug#8781.
9548
9549 * loadhist.el (unload--set-major-mode): New function.
9550 (unload-feature): Use it.
9551
9552 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9553 (python-unload-function): New function.
9554
9555 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9558
9559 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9560
9561 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9562 the candidates list.
9563
9564 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9565
9566 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9567
9568 2011-06-23 Richard Stallman <rms@gnu.org>
9569
9570 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9571 (rmail-variables): Set next-error-move-function.
9572 (rmail-what-message): Take argument POS.
9573 (rmail-next-error-move): New function.
9574
9575 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9578 messages for adjacent non-terminals.
9579
9580 2011-06-23 Richard Stallman <rms@gnu.org>
9581
9582 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9583 (rmail-show-message-1): Preserve buffer modified flag.
9584 (rmail-start-mail): Don't specify use of rmail-mail-return;
9585 that's done by mail-bury now.
9586 (rmail-mail-return): Handle arg NEWBUF.
9587
9588 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9589
9590 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9591 SIZE is a number.
9592
9593 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9594
9595 * window.el (get-lru-window, get-mru-window)
9596 (get-largest-window): Never return a minibuffer window.
9597 (display-buffer-pop-up-window): Fix a bug that could lead to
9598 reusing the minibuffer window.
9599 (display-buffer): Pass original specifier argument to
9600 display-buffer-function instead of the normalized one.
9601 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9602
9603 2011-06-22 Leo Liu <sdl.web@gmail.com>
9604
9605 * minibuffer.el (completing-read-function)
9606 (completing-read-default): Move from minibuf.c
9607
9608 2011-06-22 Richard Stallman <rms@gnu.org>
9609
9610 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9611 to Rmail even if not started by a special Rmail command.
9612
9613 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9614 Copy the buffer currently showing just one message.
9615
9616 2011-06-22 Roland Winkler <winkler@gnu.org>
9617
9618 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9619 (bibtex-clean-entry): First delete the old key so that a
9620 customized algorithm for generating the new key does not get
9621 confused by the old key.
9622 (bibtex-url): Obey regexp of first step.
9623 (bibtex-search-entries): Do not use add-to-list with local
9624 list-var.
9625
9626 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9627
9628 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9629 stored a user name, then query for the password first, instead of
9630 waiting for SMTP to give an error message and the trying again.
9631
9632 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9633
9634 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9635 BUFFER in call-process.
9636
9637 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9638
9639 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9640 QUIT twice.
9641 (smtpmail-try-auth-methods): Require user name and password from
9642 auth-source.
9643
9644 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9645
9646 * window.el (display-buffer-default-specifiers)
9647 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9648 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9649 (split-window): Normalize SIDE argument (Bug#8916).
9650
9651 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9652 (special-display-frame-alist, special-display-popup-frame):
9653 Remove duplicate declarations. These are now in window.el.
9654
9655 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9656
9657 * mail/smtpmail.el (smtpmail-via-smtp):
9658 Set :use-starttls-if-possible so that we always use STARTTLS if the
9659 server supports it. SMTP servers that support STARTTLS commonly
9660 require it.
9661
9662 * net/network-stream.el (network-stream-open-starttls): Support
9663 upgrading to STARTTLS always, even if we don't have built-in support.
9664 (open-network-stream): Add the :always-query-capabilities keyword.
9665
9666 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9667 upgrades with `open-network-stream', and rely solely on
9668 auth-source for all credentials. Big changes throughout the file,
9669 but in particular:
9670 (smtpmail-auth-credentials): Remove.
9671 (smtpmail-starttls-credentials): Remove.
9672 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9673 MAIL FROM, too.
9674
9675 * net/network-stream.el (network-stream-open-starttls):
9676 Provide support for client certificates both for external and built-in
9677 STARTTLS.
9678 (auth-source): Require.
9679 (open-network-stream): Document the :client-certificate keyword.
9680 (network-stream-certificate): Change cert-cert to cert and
9681 cert-key to key.
9682
9683 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9684
9685 * net/tramp-cache.el (top): Don't load the persistency file when
9686 "emacs -Q" has been called.
9687
9688 2011-06-21 Tim Harper <timcharper@gmail.com>
9689
9690 * term/ns-win.el (ns-initialize-window-system):
9691 Set application-specific `ApplePressAndHoldEnabled' system
9692 resource to NO as it is not yet supported by the NS port.
9693
9694 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9695
9696 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9697 (list-dynamic-libraries): ...not here.
9698
9699 2011-06-21 Leo Liu <sdl.web@gmail.com>
9700
9701 * subr.el (sha1): Implement sha1 using secure-hash.
9702
9703 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9704
9705 * window.el (display-buffer-alist): In default value do not
9706 enforce searching a window on any but the selected frame.
9707 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9708 (display-buffer-select-window): Remove function.
9709 (display-buffer-in-window): When a window on another frame gets
9710 reused, do not select it any more but just raise its frame if
9711 necessary (Bug#8851) and (Bug#8856).
9712 (display-buffer-normalize-options): Handle pop-up-frames related
9713 options more faithfully.
9714 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9715 window if it is on another frame.
9716 (display-buffer-alist, display-buffer-default-specifiers):
9717 Don't make new frame unsplittable by default.
9718 (display-buffer-normalize-argument): Fix doc-string typo and use
9719 'same-frame-other-window instead of 'other-window when associating
9720 with display-buffer-macro-specifiers.
9721
9722 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9723
9724 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9725 New functions.
9726 (5x5-mode-map, 5x5-mode-menu): Bind them.
9727 (5x5-draw-grid): Tweak the solver's rendering.
9728
9729 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9732 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9733
9734 2011-06-21 Drew Adams <drew.adams@oracle.com>
9735
9736 * menu-bar.el: Use function variable instead of switch-to-buffer.
9737 (menu-bar-select-buffer-function): New variable.
9738 (menu-bar-update-buffers): Use it (bug#8876).
9739
9740 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9743 variable's status.
9744
9745 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9746
9747 * x-dnd.el (x-dnd-version-from-flags)
9748 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9749 and long as number (Bug#8899).
9750 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9751
9752 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9755 (completion-try-completion, completion-all-completions): Compute the
9756 metadata argument if it's missing; make it optional (bug#8795).
9757
9758 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9759 (widget-complete): Use new :completion-function property.
9760 (widget-completions-at-point): New function.
9761 (default): Use :completion-function instead of :complete.
9762 (widget-default-completions): Rename from widget-default-complete;
9763 Rewrite.
9764 (widget-string-complete, widget-file-complete, widget-color-complete):
9765 Remove functions.
9766 (file, symbol, function, variable, coding-system, color):
9767 * international/mule-cmds.el (default-input-method, charset)
9768 (language-info-custom-alist):
9769 * cus-edit.el (face): Use new property :completions.
9770
9771 * progmodes/pascal.el (pascal-completions-at-point): New function.
9772 (pascal-mode): Use it.
9773 (pascal-mode-map): Use completion-at-point.
9774 (pascal-toggle-completions): Make obsolete.
9775 (pascal-complete-word, pascal-show-completions):
9776 * progmodes/octave-mod.el (octave-complete-symbol):
9777 Redefine as obsolete alias.
9778 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9779 Signal absence of completion info for old Octave,
9780 (inferior-octave-complete): Redefine as obsolete alias.
9781 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9782 (meta-completions-at-point): Rename from meta-complete-symbol and
9783 adapt it for use on completion-at-point-functions.
9784 (meta-common-mode): Use it.
9785 (meta-looking-at-backward, meta-match-buffer): Remove.
9786 (meta-complete-symbol): Redefine as obsolete alias.
9787 (meta-common-mode-map): Use completion-at-point.
9788 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9789 (makefile-mode-map): Use completion-at-point.
9790 (makefile-completions-at-point): Rename from makefile-complete and
9791 adapt it for use on completion-at-point-functions.
9792 (makefile-mode): Use it.
9793 (makefile-complete): Redefine as obsolete alias.
9794
9795 2011-06-20 Deniz Dogan <deniz@dogan.se>
9796
9797 * net/rcirc.el: Delete trailing whitespaces once and for all.
9798
9799 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9800
9801 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9802
9803 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9804
9805 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9806
9807 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9808
9809 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9810
9811 * window.el (display-buffer-other-window-means-other-frame):
9812 Call display-buffer-normalize-alist.
9813 (display-buffer-normalize-specifiers-1): Rename to
9814 display-buffer-normalize-argument. New argument other-frame.
9815 Rewrite.
9816 (display-buffer-normalize-specifiers-2): Rename to
9817 display-buffer-normalize-options.
9818 (display-buffer-normalize-alist-1): New function.
9819 (display-buffer-normalize-specifiers-3): Rename to
9820 display-buffer-normalize-alist.
9821 Call display-buffer-normalize-alist-1.
9822 (display-buffer-normalize-options-inhibit): New variable.
9823 (display-buffer-normalize-specifiers): Rewrite calling
9824 display-buffer-normalize-alist,
9825 display-buffer-normalize-argument, and
9826 display-buffer-normalize-options. Don't call the latter if
9827 display-buffer-normalize-options-inhibit is non-nil.
9828 (frame-auto-delete): New option.
9829 (window-deletable-p): Use frame-auto-delete.
9830 (window-list-no-nils, window-state-ignored-parameters)
9831 (window-state-get-1, window-state-get, window-state-put-list)
9832 (window-state-put-1, window-state-put-2, window-state-put):
9833 New functions.
9834 (display-buffer-normalize-options): Move special-display-p group
9835 after pop-up-frame group (Bug#8851) and (Bug#8856).
9836
9837 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9838
9839 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9840 groups (Bug#8776).
9841 (rx-submatch-n): New function.
9842 (rx): Document it.
9843
9844 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9845 (Bug#8768).
9846
9847 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9848
9849 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9850
9851 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9852 anytime existing face settings are present (Bug#8889).
9853
9854 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9855 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9856 Remove unused argument.
9857
9858 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9859
9860 * window.el (display-buffer-default-specifiers):
9861 Remove pop-up-frame. Add pop-up-window-min-height,
9862 pop-up-window-min-width, and another reuse-window specifier
9863 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9864 (display-buffer-normalize-specifiers-2):
9865 Handle split-height-threshold and split-width-threshold also when
9866 pop-up-windows is unset. Add a reuse-window specifier for the
9867 case popping up a new window fails.
9868 (special-display-popup-frame): Remove double quoting.
9869 (display-buffer-normalize-specifiers-1): Fix thinko.
9870
9871 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9874 according to comint-completion-addsuffix.
9875
9876 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9877 (pcomplete-suffix-list): Mark as obsolete.
9878 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9879 pcomplete-seen in the closure.
9880 (pcomplete-comint-setup): Setup completion-at-point as well.
9881 (pcomplete--entries): New function.
9882 (pcomplete--env-regexp): New var.
9883 (pcomplete-entries): Rewrite to work with partial-completion and
9884 without relying on pcomplete-suffix-list.
9885 (pcomplete-pare-list): Remove, unused.
9886
9887 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9888
9889 * window.el (display-buffer-alist): Set pop-up-window-min-height
9890 and pop-up-window-min-width in default value. Reported by
9891 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9892 other-window-means-other-frame.
9893 (display-buffer-macro-specifiers): Comment out entry for
9894 other-window specifier.
9895 (display-buffer-other-window-means-other-frame): New function.
9896 (display-buffer-normalize-specifiers-1): New arguments
9897 buffer-name and label. Treat other-window case specially.
9898 (display-buffer-normalize-specifiers-2): Treat other-window case
9899 specially.
9900 (display-buffer-normalize-specifiers-3): New function.
9901 (display-buffer-normalize-specifiers):
9902 Call display-buffer-normalize-specifiers-3.
9903
9904 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9905
9906 * window.el (same-window-p): Fix two typos introduced when
9907 adding with-no-warnings.
9908 (display-buffer-normalize-specifiers-1): Don't check
9909 pop-up-frames for 'unset initialization.
9910 (display-buffer-normalize-specifiers-2): Major rewrite using
9911 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9912 (pop-up-frames, display-buffer-reuse-frames)
9913 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9914 Suggested by David Engster <deng@randomsample.de>.
9915 (even-window-heights): Initialize to 'unset.
9916 (display-buffer-alist-set): Handle new 'unset initializations.
9917 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9918 other window case.
9919
9920 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9921
9922 * window.el (display-buffer-normalize-specifiers-1):
9923 Respect current value of pop-up-frames for most reasonable values of
9924 second argument of display-buffer (Bug#8865).
9925 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9926 (switch-to-buffer-other-window-same-frame)
9927 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9928 Adams (Bug#8875).
9929 (display-buffer): Don't check noninteractive when calling
9930 display-buffer-pop-up-frame.
9931 (display-buffer-pop-up-frame): Never pop up a frame in
9932 noninteractive mode (Bug#8857).
9933 (enlarge-window, shrink-window): Don't report an error when the
9934 window can't be resized as requested (Bug#8862).
9935
9936 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9937
9938 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9939
9940 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9941
9942 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9943
9944 2011-06-15 Alan Mackenzie <acm@muc.de>
9945
9946 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9947 for declarators, disable knr checking to speed up for normal files.
9948 2: Refactor, replacing a sequence of nested if forms by a cond form.
9949
9950 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9951
9952 * net/network-stream.el (open-network-stream): Add the keyword
9953 :always-query-capabilities for the case where you want to force a
9954 `plain' network connection, but the protocol still requires the
9955 capabilitiy command (i.e., SMTP and EHLO).
9956
9957 * subr.el (process-live-p): Rename from `process-alive-p' for
9958 consistency with other `-live-p' functions.
9959
9960 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * window.el (same-window-buffer-names, same-window-regexps)
9963 (special-display-frame-alist, special-display-popup-frame)
9964 (special-display-function, special-display-buffer-names)
9965 (special-display-regexps, pop-up-frame-alist)
9966 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9967 (pop-up-windows, split-window-preferred-function)
9968 (split-height-threshold, split-width-threshold, even-window-heights)
9969 (display-buffer-mark-dedicated): Don't encourage the use of
9970 display-buffer-alist from Elisp code.
9971
9972 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9973
9974 * progmodes/python.el (python-mode): Derive from prog-mode.
9975 * progmodes/ps-mode.el (ps-mode):
9976 * progmodes/mixal-mode.el (mixal-mode):
9977 * progmodes/cfengine.el (cfengine-mode):
9978 * progmodes/ld-script.el (ld-script-mode): Likewise.
9979
9980 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9981
9982 * window.el (display-buffer-alist): Trim default value to avoid
9983 popping up a new frame (Bug#8857) or reusing an arbitrary window
9984 on another frame.
9985 (display-buffer): Do not fall back on popping up a new frame in
9986 batch mode (Bug#8857).
9987
9988 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9989
9990 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9991 (custom-theme-summary): New function.
9992 (customize-themes): Use it.
9993
9994 2011-06-13 Glenn Morris <rgm@gnu.org>
9995
9996 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9997
9998 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9999
10000 * help.el (help-window): Remove variable.
10001 (help-window-point-marker, temp-buffer-max-height)
10002 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10003 (help-print-return-message): Don't set help-window.
10004 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10005 (help-window-setup-finish): Remove.
10006 (help-window-display-message, help-window-setup)
10007 (with-help-window): Major rewrite based on new
10008 display-buffer-window variable.
10009
10010 * help-mode.el (help-mode-finish): Remove help-window related
10011 code.
10012
10013 * view.el (view-exits-all-viewing-windows): Remove reference to
10014 view-return-to-alist in doc-string.
10015 (view-return-to-alist): Make obsolete.
10016 (view-buffer): Call pop-to-buffer-same-window and remove
10017 undo-window code.
10018 (view-buffer-other-window): Call pop-to-buffer-other-window and
10019 simplify code. Ignore second argument.
10020 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10021 simplify code. Ignore second argument.
10022 (view-return-to-alist-update): Make obsolete.
10023 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10024 Rewrite using quit-restore window parameters.
10025 (view-mode-exit): Rename second argument to EXIT-ONLY.
10026 Rewrite using quit-restore-window.
10027 (View-exit, View-exit-and-edit, View-leave, View-quit)
10028 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10029 appropriate arguments.
10030 (view-end-message): Use quit-restore window parameter.
10031
10032 * window.el (display-buffer-function): Rewrite doc-string.
10033 (display-buffer-window, display-buffer-alist): New variables.
10034 (display-buffer-split-specifiers)
10035 (display-buffer-side-specifiers)
10036 (display-buffer-macro-specifiers): New constants.
10037 (display-buffer-even-window-sizes, display-buffer-set-height)
10038 (display-buffer-set-width, display-buffer-select-window)
10039 (display-buffer-in-window, display-buffer-reuse-window)
10040 (display-buffer-split-window-1, display-buffer-split-window)
10041 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10042 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10043 (display-buffer-in-side-window, normalize-buffer-to-display)
10044 (display-buffer-normalize-specifiers-1)
10045 (display-buffer-normalize-specifiers-2)
10046 (display-buffer-normalize-specifiers, display-buffer-frame):
10047 New functions.
10048 (display-buffer): Major rewrite.
10049 (display-buffer-other-window, display-buffer-other-frame)
10050 (pop-to-buffer, switch-to-buffer-other-window)
10051 (switch-to-buffer-other-frame): Rewrite.
10052 (display-buffer-same-window, display-buffer-same-frame)
10053 (display-buffer-same-frame-other-window)
10054 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10055 (pop-to-buffer-other-window)
10056 (pop-to-buffer-same-frame-other-window)
10057 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10058 (switch-to-buffer-other-window-same-frame): New functions.
10059 (same-window-p, special-display-p): Rewrite disabling warnings.
10060 Make obsolete.
10061 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10062 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10063 Make obsolete
10064 (same-window-buffer-names, same-window-regexps)
10065 (special-display-frame-alist, special-display-popup-frame)
10066 (special-display-function, special-display-buffer-names)
10067 (special-display-regexps, pop-up-frame-alist)
10068 (pop-up-frame-function, split-window-preferred-function)
10069 (split-height-threshold, split-width-threshold)
10070 (even-window-heights): Make obsolete.
10071
10072 2011-06-12 Glenn Morris <rgm@gnu.org>
10073
10074 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10075 Misc simplifications.
10076
10077 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10078
10079 * window.el (window-safely-shrinkable-p): Restore function which
10080 was inadvertently removed in change from 2011-06-11. Declare as
10081 obsolete.
10082
10083 * calendar/calendar.el (calendar-generate-window):
10084 Use window-iso-combined-p instead of combination of one-window-p and
10085 window-safely-shrinkable-p.
10086
10087 2011-06-12 Glenn Morris <rgm@gnu.org>
10088
10089 * progmodes/fortran.el (fortran-mode-syntax-table):
10090 * progmodes/f90.el (f90-mode-syntax-table):
10091 Set % to punctuation. (Bug#8820)
10092 (f90-find-tag-default): Remove, no longer needed.
10093
10094 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10095
10096 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10097
10098 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10099
10100 * image.el (image-animated-p): Return animation delay in seconds.
10101 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10102 (image-animate-timeout): Remove DELAY argument. Don't assume
10103 every subimage has the same delay; get it from image-animated-p.
10104 (image-animate): Caller changed.
10105
10106 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10107
10108 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10109 to ignored backtrace functions.
10110
10111 2011-06-11 Glenn Morris <rgm@gnu.org>
10112
10113 * calendar/appt.el (appt-disp-window-function): Doc fix.
10114 (appt-check): Handle overlapping appointments. (Bug#8337)
10115
10116 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10117
10118 * window.el (window-tree-1, window-tree): New functions, moving
10119 the latter to window.el.
10120 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10121 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10122 (bw-refresh-edges): Remove.
10123 (balance-windows-1, balance-windows-2): New functions.
10124 (balance-windows): Rewrite in terms of window tree functions,
10125 balance-windows-1 and balance-windows-2.
10126 (bw-adjust-window): Remove.
10127 (balance-windows-area-adjust): New function with functionality of
10128 bw-adjust-window but using resize-window.
10129 (set-window-text-height): Rewrite doc-string.
10130 Use normalize-live-window and resize-window.
10131 (enlarge-window-horizontally, shrink-window-horizontally):
10132 Rename argument to DELTA.
10133 (window-buffer-height): New function.
10134 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10135 Rewrite using new window resize routines.
10136 (kill-buffer-and-window, mouse-autoselect-window-select):
10137 Use ignore-errors instead of condition-case.
10138 (quit-window): Call delete-frame instead of delete-windows-on
10139 for the only buffer on frame.
10140
10141 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10142
10143 * loadup.el (top-level): Load window before files for the sake
10144 of replace-buffer-in-windows.
10145
10146 * files.el (read-buffer-to-switch)
10147 (switch-to-buffer-other-window)
10148 (switch-to-buffer-other-frame, display-buffer-other-frame):
10149 Move to window.el.
10150
10151 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10152 (previous-buffer): Move to window.el.
10153
10154 * bindings.el (unbury-buffer): Move to window.el.
10155
10156 * window.el (delete-other-windows-vertically): Move after
10157 definition of delete-other-windows.
10158 (other-window, delete-windows-on, replace-buffer-in-windows):
10159 Move here from window.c.
10160 (record-window-buffer, unrecord-window-buffer)
10161 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10162 (switch-to-next-buffer): New functions.
10163 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10164 from simple.el. Call switch-to-next-buffer.
10165 (previous-buffer): Move here from simple.el.
10166 Call switch-to-prev-buffer.
10167 (bury-buffer): Move here from buffer.c. Switch to previous
10168 buffer when window cannot be deleted.
10169 (unbury-buffer): Move here from bindings.el.
10170 (ctl-x-map): Move binding for other-window from window.c to
10171 here.
10172 (read-buffer-to-switch, switch-to-buffer-other-window)
10173 (switch-to-buffer-other-frame): Move here from files.el.
10174 (normalize-buffer-to-switch-to): New functions.
10175 (switch-to-buffer): Move here from buffer.c.
10176 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10177
10178 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10179
10180 * window.el (window-min-height, window-min-width): Move here
10181 from window.c. Add defcustoms and rewrite doc-strings.
10182 (resize-mini-window, resize-window): New functions.
10183 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10184 Move here from window.c.
10185 (maximize-window, minimize-window): New functions.
10186 (delete-window, delete-other-windows, split-window): Move here
10187 from window.c.
10188 (window-split-min-size): New function.
10189 (split-window-keep-point): Mention split-window-above-each-other
10190 instead of split-window-vertically.
10191 (split-window-above-each-other, split-window-vertically):
10192 Rename split-window-vertically to split-window-above-each-other
10193 and provide defalias for old definition.
10194 (split-window-side-by-side, split-window-horizontally):
10195 Rename split-window-horizontally to split-window-side-by-side
10196 and provide defalias for the old definition.
10197 (ctl-x-map): Move bindings for delete-window,
10198 delete-other-windows and enlarge-window here from window.c.
10199 Replace bindings for split-window-vertically and
10200 split-window-horizontally by bindings for
10201 split-window-above-each-other and split-window-side-by-side.
10202
10203 * cus-start.el (all): Remove entries for window-min-height and
10204 window-min-width. Add entries for window-splits and
10205 window-nest.
10206
10207 2011-06-09 Glenn Morris <rgm@gnu.org>
10208
10209 * calendar/appt.el (appt-mode-line): New function.
10210 (appt-check, appt-disp-window): Use it.
10211
10212 * files.el (hack-one-local-variable-eval-safep):
10213 Allow minor-modes with explicit +/-1 arguments.
10214
10215 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10216
10217 * term/xterm.el (xterm): Add defgroup.
10218 (xterm-extra-capabilities): Add defcustom to supply known xterm
10219 capabilities, skip querying them, or query them (default).
10220 (terminal-init-xterm): Use it.
10221 (terminal-init-xterm-modify-other-keys): New function to set up
10222 modifyOtherKeys support to simplify `terminal-init-xterm'.
10223
10224 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10225
10226 * window.el (resize-window-reset, resize-window-reset-1)
10227 (resize-subwindows-skip-p, resize-subwindows-normal)
10228 (resize-subwindows, resize-other-windows, resize-this-window)
10229 (resize-root-window, resize-root-window-vertically)
10230 (window-deletable-p, window-or-subwindow-p)
10231 (frame-root-window-p): New functions.
10232
10233 2011-06-09 Glenn Morris <rgm@gnu.org>
10234
10235 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10236 (ange-ftp-get-files): Use it.
10237
10238 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10239
10240 * mail/sendmail.el (mail-recover-1, mail-recover):
10241 * files.el (recover-file, recover-session):
10242 Handle dired-listing-switches not being just a single short option.
10243
10244 2011-06-09 Glenn Morris <rgm@gnu.org>
10245
10246 * calendar/appt.el (appt-display-message, appt-disp-window):
10247 Handle lists of appointments.
10248
10249 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10250
10251 * window.el (one-window-p): Move down in code.
10252 Rewrite doc-string.
10253 (window-current-scroll-bars): Rewrite doc-string.
10254 Normalize live window argument.
10255 (walk-windows, get-window-with-predicate, count-windows):
10256 Rewrite doc-string. Use window-list-1.
10257 (window-in-direction-2, window-in-direction, get-mru-window):
10258 New functions.
10259
10260 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10261
10262 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10263 Doc fix (Bug#8713).
10264
10265 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10266
10267 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10268
10269 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10270
10271 * loadhist.el (unload-feature-special-hooks):
10272 Add `comint-output-filter-functions'.
10273
10274 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10275
10276 * calendar/appt.el (appt-check): Move some initializations into the let.
10277
10278 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10279
10280 * window.el (window-height): Defalias to window-total-height.
10281 (window-width): Defalias to window-body-width.
10282
10283 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10284
10285 * image-mode.el (image-toggle-animation): New command.
10286 (image-mode-map): Bind it to RET.
10287 (image-mode): Update message.
10288 (image-toggle-display-image): Avoid a spurious cache flush.
10289 (image-transform-rotation): Doc fix.
10290 (image-transform-properties): Return quickly in the normal case.
10291 (image-animate-loop): Rename from image-animate-max-time.
10292
10293 * image.el (image-animate-max-time): Move to image-mode.el.
10294 (create-animated-image): Remove unnecessary function.
10295 (image-animate): Rename from image-animate-start. New arg.
10296 (image-animate-stop): Remove; just use image-animate-timer.
10297 (image-animate-timer): Use car-safe.
10298 (image-animate-timeout): Rename argument.
10299
10300 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10301
10302 * window.el (get-lru-window, get-largest-window): Move here from
10303 window.c. Rename first argument to ALL-FRAMES.
10304 Rephrase doc-strings.
10305 (get-buffer-window-list): Rewrite using window-list-1.
10306 Rephrase doc-string.
10307 (window-safe-min-height, window-safe-min-width): New constants.
10308 (window-size-ignore, window-min-size, window-min-size-1)
10309 (window-sizable, window-sizable-p, window-size-fixed-1)
10310 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10311 (window-max-delta-1, window-max-delta, window-resizable)
10312 (window-resizable-p, window-total-height, window-total-width)
10313 (window-body-width): New functions.
10314 (window-full-height-p, window-full-width-p): Rewrite using
10315 window-total-size.
10316 (window-body-height): Rewrite using window-body-size.
10317
10318 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10319
10320 * window.el (window-right, window-left, window-child)
10321 (window-child-count, window-last-child, window-any-p)
10322 (normalize-live-buffer, normalize-live-frame)
10323 (normalize-any-window, normalize-live-window)
10324 (window-iso-combination-p, window-iso-combined-p)
10325 (window-iso-combinations)
10326 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10327 (windows-with-parameter, window-with-parameter)
10328 (window-atom-root, make-window-atom, window-atom-check-1)
10329 (window-atom-check, window-side-check, window-check):
10330 New functions.
10331 (ignore-window-parameters, window-sides, window-sides-vertical)
10332 (window-sides-slots): New variables.
10333 (window-size-fixed): Move down in code. Minor doc-string fix.
10334
10335 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10336
10337 * comint.el (comint-dynamic-complete-as-filename)
10338 (comint-dynamic-complete-filename): Correctly call
10339 completion-in-region.
10340
10341 2011-06-05 Deniz Dogan <deniz@dogan.se>
10342
10343 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10344 in last change.
10345
10346 2011-06-05 Deniz Dogan <deniz@dogan.se>
10347
10348 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10349 (rcirc): Use it to prompt for encryption.
10350
10351 2011-06-05 Roland Winkler <winkler@gnu.org>
10352
10353 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10354 (bibtex-search-entries): New command bound to C-c C-a.
10355 (bibtex-display-entries): New function.
10356
10357 2011-06-05 Roland Winkler <winkler@gnu.org>
10358
10359 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10360 (bibtex-insert-kill): After yanking insert newline if necessary.
10361 (bibtex-initialize): Call bibtex-string-files-init only once.
10362 (bibtex-mode): Do not call easy-menu-add.
10363 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10364 (bibtex-yank): Set arg properly if nil.
10365
10366 2011-06-05 Roland Winkler <winkler@gnu.org>
10367
10368 * textmodes/bibtex.el (bibtex-search-entry-globally):
10369 New variable.
10370 (bibtex-search-entry): Use it.
10371
10372 2011-06-05 Roland Winkler <winkler@gnu.org>
10373
10374 * textmodes/bibtex.el (bibtex-entry-format): New option
10375 sort-fields.
10376 (bibtex-format-entry, bibtex-reformat): Honor this option.
10377 (bibtex-parse-entry): Return fields in proper order.
10378
10379 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10380
10381 * doc-view.el (doc-view-remove-if): Move computation of result out
10382 of `dolist' to silence misleading lexical-binding warning.
10383
10384 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10385
10386 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10387 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10388
10389 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10390
10391 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10392 "SunOS 5.10".
10393
10394 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10395
10396 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10397 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10398 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10399 (tramp-parse-putty):
10400 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10401 (tramp-completion-function-alist-ssh)
10402 (tramp-completion-function-alist-telnet)
10403 (tramp-completion-function-alist-su)
10404 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10405 cookie.
10406
10407 * net/tramp-ftp.el:
10408 * net/tramp-sh.el:
10409 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10410 load "tramp.el" `tramp-set-completion-function'.
10411
10412 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 * shell.el: Require and use pcomplete.
10415 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10416 (shell-completion-vars): Set pcomplete-default-completion-function.
10417
10418 2011-06-04 Deniz Dogan <deniz@dogan.se>
10419
10420 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10421 `memq' (Bug#8799).
10422
10423 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10424
10425 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10426
10427 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10428
10429 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10430 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10431 * vc/log-view.el (log-view-beginning-of-defun):
10432 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10433 (smerge-refine-forward, smerge-refine-chopup-region):
10434 Silence warning for unused `dotimes' counter variables.
10435
10436 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10437
10438 * net/tramp.el (tramp-with-progress-reporter): Rename from
10439 with-progress-reporter. Use `declare'.
10440 * net/tramp-smb.el:
10441 * net/tramp-sh.el:
10442 * net/tramp-gvfs.el: Update all uses.
10443
10444 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10445
10446 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10447 buffer isn't killed before making it current.
10448
10449 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10450
10451 Silence various byte-compiler warnings.
10452 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10453 `access-type' and new obsolescence format.
10454 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10455 new format.
10456 (byte-compile-check-variable): New `access-type' argument.
10457 Only warn if the access-type is obsolete.
10458 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10459 (byte-compile-variable-set): Adjust callers.
10460 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10461 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10462 setting it as obsolete.
10463 * simple.el (minibuffer-completing-symbol):
10464 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10465 access as obsolete.
10466 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10467 obsolete yet.
10468 * international/quail.el (quail-mouse-choose-completion): Remove unused
10469 code referring to obsolete var.
10470 (quail-choose-completion-string): Remove.
10471 * server.el (server-clients-with, server-kill-buffer-query-function)
10472 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10473 * proced.el (proced-send-signal):
10474 * emacs-lisp/lisp.el (lisp-complete-symbol):
10475 Replace completion-annotate-function with completion-extra-properties.
10476
10477 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10478
10479 * simple.el (goto-line): Use read-number.
10480 (overriding-map-is-bound): Remove.
10481 (saved-overriding-map): Change default.
10482 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10483 Take the map as argument.
10484 (universal-argument, negative-argument, digit-argument): Use it.
10485 (restore-overriding-map): Adjust.
10486 (do-auto-fill): Use fill-forward-paragraph.
10487 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10488
10489 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10490 (minibuffer-inactive-mode): New major mode.
10491 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10492 the *Messages* buffer" hack.
10493 (mouse-popup-menubar): Don't burp if the event is a normal key.
10494
10495 Miscellaneous tweaks.
10496 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10497 lexical scoping as in subr.el's dolist and dotimes.
10498 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10499 Silence compiler warning.
10500 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10501 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10502 * international/ccl.el (ccl-compile): Trivial simplification.
10503 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10504 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10505 `printflag' argument.
10506 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10507 Purecopy the whole obsolescence data.
10508
10509 2011-06-01 Leo Liu <sdl.web@gmail.com>
10510
10511 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10512 improve doc-string as suggested by Marco Pessotto
10513 <melmothx@gmail.com>.
10514 (rcirc-print): Fix last change.
10515
10516 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10517
10518 * minibuffer.el (complete-with-action): Return nil for the metadata and
10519 boundaries of non-functional tables.
10520 (completion-table-dynamic): Return nil for the metadata.
10521 (completion-table-with-terminator): Add default case, using
10522 complete-with-action.
10523 (completion--metadata): New function.
10524 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10525 to try and avoid pathological performance problems.
10526 (completion--embedded-envvar-table): Return `category' metadata.
10527
10528 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10529
10530 * subr.el (process-alive-p): New tiny convenience function.
10531
10532 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10533
10534 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10535 content but also its previous major mode.
10536
10537 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10538
10539 * emacs-lisp/debug.el (debug): Restore the previous content of the
10540 *Backtrace* buffer when we exit with C-M-c.
10541
10542 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * minibuffer.el: Add metadata method to completion tables.
10545 (completion-category-overrides): New defcustom.
10546 (completion-metadata, completion--field-metadata)
10547 (completion-metadata-get, completion--styles)
10548 (completion--cycle-threshold): New functions.
10549 (completion-try-completion, completion-all-completions):
10550 Add `metadata' argument to choose completion-styles.
10551 (completion--do-completion): Use metadata to choose cycling.
10552 (completion-all-sorted-completions): Use metadata for sorting.
10553 Remove :completion-cycle-penalty which is not needed any more.
10554 (completion--try-word-completion): Add `metadata' argument.
10555 (minibuffer-completion-help): Check metadata for annotation function
10556 and sorting.
10557 (completion-file-name-table): Return `category' metadata.
10558 (minibuffer-completing-file-name): Make obsolete.
10559 * simple.el (minibuffer-completing-symbol): Make obsolete.
10560 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10561 completion-try-completion.
10562
10563 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10564
10565 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10566
10567 2011-05-30 Leo Liu <sdl.web@gmail.com>
10568
10569 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10570 (rcirc-print): Decode all incoming messages (bug#8744).
10571 (rcirc-decode-coding-system): Allow value nil for automatic coding
10572 system detection.
10573
10574 2011-06-01 Glenn Morris <rgm@gnu.org>
10575
10576 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10577
10578 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10579
10580 * image.el (image-animate-max-time): Allow nil and t values.
10581 Default to nil.
10582 (create-animated-image): Doc fix.
10583 (image-animate-start): Remove second arg; just use
10584 image-animate-max-time.
10585 (image-animate-timeout): Doc fix. Args changed.
10586
10587 * image-mode.el (image-toggle-display-image): Ensure that the
10588 image spec passed to the animate timer is the same object as in
10589 the buffer's display property (Bug#6981).
10590 (image-transform-properties): Doc fix.
10591
10592 * image.el (image-animate-max-time): Default to nil.
10593
10594 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10595
10596 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10597 entire buffer list (Bug#8184).
10598
10599 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10600
10601 * image.el (imagemagick-types-inhibit)
10602 (imagemagick-register-types): Doc fix.
10603
10604 2011-05-29 Deniz Dogan <deniz@dogan.se>
10605
10606 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10607 default.
10608
10609 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10610
10611 * select.el: Don't perform clipboard-manager saving in hooks;
10612 leave the hooks empty.
10613
10614 2011-05-28 Leo Liu <sdl.web@gmail.com>
10615
10616 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10617 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10618 (occur-edit-mode): New major mode (Bug#8463).
10619 (occur-after-change-function): New function.
10620 (occur-engine): Give Occur tags a read-only property.
10621
10622 2011-05-28 Kevin Ryde <user42@zip.com.au>
10623
10624 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10625
10626 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10627
10628 * bindings.el (help-echo): Make the initial non-indicator dash
10629 empty on graphical terminals (Bug#7295).
10630
10631 * files.el (auto-mode-alist): Move config rule after the
10632 in-stripping one (Bug#8547).
10633
10634 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10635
10636 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10637 setting (Bug#8740).
10638
10639 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10640
10641 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10642 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10643 (Bug#8539).
10644
10645 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10646
10647 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10648
10649 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10650
10651 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10652 (hs-hide-block-at-point, hs-find-block-beginning)
10653 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10654 (Bug#8279).
10655
10656 2011-05-28 Glenn Morris <rgm@gnu.org>
10657
10658 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10659
10660 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10661
10662 * help-fns.el (describe-function-1): If the function is a derived
10663 major mode, print the parent mode.
10664
10665 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10666 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10667
10668 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10669
10670 * minibuffer.el (completion--capf-wrapper): Check applicability before
10671 returning non-nil for non-exclusive completion data.
10672 * progmodes/etags.el (tags-completion-at-point-function):
10673 * info-look.el (info-lookup-completions-at-point): Mark as
10674 non-exclusive.
10675 (info-complete): Adjust accordingly.
10676
10677 * info-look.el: Convert to lexical-binding and completion-at-point.
10678 (info-lookup-completions-at-point): New function.
10679 (info-complete): Use it and completion-in-region.
10680
10681 2011-05-28 Drew Adams <drew.adams@oracle.com>
10682
10683 * isearch.el: Let M-e start with point at the first mismatched char.
10684 (isearch-fail-pos): New function.
10685 (isearch-edit-string): Use it.
10686
10687 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10688
10689 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10690
10691 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10692
10693 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10694 traversal functions for avl-trees.
10695 (avl-tree--stack): New struct.
10696 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10697 (avl-tree-enter): Add optional `updatefun' arg.
10698 (avl-tree--do-enter): Add optional `updatefun' arg.
10699 Change return value.
10700 (avl-tree-delete): Add optional `test' and `nilflag' args.
10701 (avl-tree--do-delete): Add `test' and `nilflag' args.
10702 Change return value.
10703 (avl-tree-member): Add optional `nilflag'
10704 (avl-tree-member-p): New function.
10705 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10706 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10707 (avl-tree-stack-empty-p): New functions.
10708
10709 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10710 avl-tree--del-balance1 and make it work both ways.
10711 (avl-tree--del-balance2): Remove.
10712 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10713 make it work both ways.
10714 (avl-tree--enter-balance2): Remove.
10715 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10716 New macros.
10717 (avl-tree--mapc, avl-tree-map): Add direction argument.
10718
10719 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10720
10721 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10722
10723 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10724
10725 * select.el: Support clipboard managers with built-in function
10726 x-clipboard-manager-save, via delete-frame-functions and
10727 kill-emacs-hook.
10728 (xselect-convert-to-targets): Add MULTIPLE target to list.
10729 (xselect-convert-to-save-targets): New function.
10730
10731 2011-05-27 Kenichi Handa <handa@m17n.org>
10732
10733 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10734 let-binding rfc2047-encode-encoded-words to nil.
10735
10736 2011-05-27 Glenn Morris <rgm@gnu.org>
10737
10738 * mail/emacsbug.el: Don't require url-util.
10739
10740 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10741
10742 * files.el (set-auto-mode):
10743 Also respect mode: entries at the end of the file. (Bug#8586)
10744
10745 2011-05-26 Glenn Morris <rgm@gnu.org>
10746
10747 * files.el (hack-local-variables-prop-line, hack-local-variables):
10748 Downcase mode names, as seems to be traditional.
10749 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10750
10751 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10752 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10753
10754 2011-05-25 Julien Danjou <julien@danjou.info>
10755
10756 * textmodes/rst.el (rst-define-level-faces): Do not define face
10757 symbol if it is already defined.
10758
10759 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10760
10761 * play/5x5.el (5x5-new-game, 5x5-randomize):
10762 Reset 5x5-solver-output to nil when a new grid is cast.
10763 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10764 these debugging traces, as defmacro breaks the compiled code.
10765
10766 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10767
10768 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10769
10770 2011-05-24 Leo Liu <sdl.web@gmail.com>
10771
10772 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10773 (vc-bzr-sha1): Adapt.
10774
10775 * sha1.el: Remove. Function `sha1' is now builtin.
10776
10777 * bindings.el: Provide sha1 feature.
10778
10779 2011-05-24 Kenichi Handa <handa@m17n.org>
10780
10781 * mail/sendmail.el: Require `rfc2047'.
10782 (mail-insert-from-field): Do not perform RFC2047 encoding.
10783 (mail-encode-header): New function.
10784 (sendmail-send-it): Set buffer-file-coding-system of the work
10785 buffer to the return value of select-message-coding-system.
10786 Call mail-encode-header.
10787
10788 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10789
10790 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10791
10792 * mail/supercite.el (sc-default-cite-frame):
10793 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10794
10795 2011-05-24 Glenn Morris <rgm@gnu.org>
10796
10797 * progmodes/python.el (brm-menu): Declare.
10798
10799 * emulation/viper.el (viper-set-hooks): Declare.
10800
10801 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10802 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10803 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10804 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10805 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10806 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10807
10808 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 Add an :exit-function for completion-at-point.
10811
10812 * minibuffer.el (completion--done): New fun.
10813 (completion--do-completion): Use it. New arg `expect-exact'.
10814 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10815 since completion--do-completion does it for us now.
10816 (minibuffer-force-complete): Use completion--done and
10817 completion--replace. Handle sole-completion case with more care.
10818 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10819 (completion-extra-properties): New var.
10820 (completion-annotate-function): Make obsolete.
10821 (minibuffer-completion-help): Adjust accordingly.
10822 Use completion-list-insert-choice-function.
10823 (completion-at-point, completion-help-at-point):
10824 Bind completion-extra-properties.
10825 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10826 * simple.el (completion-list-insert-choice-function): New var.
10827 (completion-setup-function): Preserve it.
10828 (choose-completion): Pay attention to it, shuffle the code a bit.
10829 (choose-completion-string): New arg `insert-function'.
10830
10831 * textmodes/bibtex.el: Convert to lexical binding.
10832 (bibtex-mode-map): Use completion-at-point.
10833 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10834 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10835 (bibtex-complete): Define as obsolete alias.
10836 (bibtex-complete-internal): Remove.
10837 (bibtex-format-entry): Remove unused sub-group in regexp.
10838 * shell.el (shell--command-completion-data)
10839 (shell-environment-variable-completion):
10840 * pcomplete.el (pcomplete-completions-at-point):
10841 * comint.el (comint--complete-file-name-data): Use :exit-function
10842 instead of completion-table-with-terminator so it also works for
10843 choose-completion.
10844
10845 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10848
10849 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10850 (bug#8710).
10851
10852 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10853
10854 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10855
10856 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10857 customization variable and implement: If non-nil, auto-fill will
10858 be inhibited while on topic's header line.
10859
10860 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10861
10862 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10863 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10864 always have a solution in grid size = 5 cases.
10865 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10866 (5x5-solver-output, 5x5-log-buffer): New vars.
10867 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10868 Make these variables buffer local to achieve 5x5 multi-session-ness.
10869 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10870 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10871 (5x5-solve-suggest): New funs.
10872 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10873 randomize a grid so that we ensure that there is always a solution.
10874 (5x5-make-random-grid): Allow other movement than flipping.
10875
10876 2011-05-23 Kevin Ryde <user42@zip.com.au>
10877
10878 * emacs-lisp/advice.el (ad-read-advised-function):
10879 Use `function-called-at-point' as the default, if it has
10880 advice and passes PREDICATE.
10881
10882 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10885 byte-compile-lambda if it's actually a lambda.
10886
10887 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10888 Fix function quoting. Use backquote better.
10889
10890 2011-05-22 Yuanle Song <sylecn@gmail.com>
10891
10892 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10893 matching (Bug#8516).
10894
10895 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10896
10897 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10898 different face (Bug#8178).
10899
10900 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10901
10902 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10903 defface (Bug#8144).
10904
10905 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10906
10907 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10908 funcall as well (bug#8712). Warn when performing those conversions.
10909 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10910
10911 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10912
10913 2011-05-22 Glenn Morris <rgm@gnu.org>
10914
10915 * files.el (hack-local-variables-prop-line): Small simplifications.
10916 (hack-local-variables, hack-local-variables-prop-line):
10917 If MODE-ONLY, return the mode, rather than just `t'.
10918
10919 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10920
10921 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10922
10923 2011-05-21 Glenn Morris <rgm@gnu.org>
10924
10925 * files.el (hack-local-variables-prop-line, hack-local-variables):
10926 If only interested in the mode, don't bother doing the other stuff.
10927
10928 * image-mode.el (image-after-revert-hook):
10929 Redraw all frames on which the image is visible. (Bug#8567)
10930
10931 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10932
10933 * wid-edit.el (widget-checklist-match-inline):
10934 Fix 2011-04-19 change. (Bug#8649)
10935
10936 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10939 Also allow singlespace after single-letter capitals followed by a dot.
10940
10941 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10942 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10943
10944 2011-05-20 Nix <nix@esperi.org.uk>
10945
10946 * files.el (basic-save-buffer-2):
10947 Fix handling of break-hardlink-on-save with non-existent files.
10948
10949 2011-05-19 Deniz Dogan <deniz@dogan.se>
10950
10951 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10952 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10953
10954 2011-05-19 Glenn Morris <rgm@gnu.org>
10955
10956 * progmodes/f90.el (f90-type-def-re):
10957 Handle "type, bind(c)". (Bug#8691)
10958
10959 * emacs-lisp/autoload.el (batch-update-autoloads):
10960 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10961
10962 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10963
10964 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10965 property for the correct connection in case of multihops.
10966
10967 2011-05-18 Glenn Morris <rgm@gnu.org>
10968
10969 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10970 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10971
10972 Rationalize calendar handling of day and month abbrev-arrays.
10973 * calendar/calendar.el (calendar-customized-p): New function.
10974 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10975 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10976 Add :set function.
10977 (calendar-abbrev-length, calendar-day-abbrev-array)
10978 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10979 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10980 Elements may no longer be nil.
10981 (calendar-day-name, calendar-month-name):
10982 Update for changed nature of abbrev arrays.
10983 * calendar/diary-lib.el (diary-name-pattern):
10984 Update for changed nature of abbrev arrays.
10985 (diary-mark-entries-1): Update calendar-make-alist calls.
10986 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10987 * calendar/cal-html.el (cal-html-day-abbrev-array):
10988 Simply inherit from calendar-day-abbrev-array.
10989
10990 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 * progmodes/grep.el (grep-mode): Disable default
10993 compilation-directory-matcher setting (bug#8684).
10994
10995 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10996
10997 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10998 instead of "head" and "tail". There were problems with SunOS 5.9,
10999 and it performs better.
11000
11001 2011-05-17 Glenn Morris <rgm@gnu.org>
11002
11003 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11004
11005 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11006 Replace obsolete function.
11007
11008 * shell.el (pcomplete-parse-arguments-function): Declare.
11009
11010 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11011 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11012 (appt-check): Doc fixes.
11013 (appt-disp-window-function, appt-delete-window-function):
11014 Remove needless special case in custom :type.
11015 (appt-display-count): Default to 0, not nil.
11016 (appt-check): Reset appt-display-count to 0, not nil.
11017
11018 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11019
11020 * progmodes/python.el (python-font-lock-keywords):
11021 Add the Python 3.X keyword "nonlocal" (bug#8639).
11022
11023 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11024
11025 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11026
11027 2011-05-16 Kevin Ryde <user42@zip.com.au>
11028
11029 * info-look.el (makefile-automake-mode): New setups, looking in
11030 automake manual, then makefile-mode.
11031 (makefile-mode): Remove automake manual, have it just in
11032 makefile-automake-mode since there's various things different or
11033 not relevant to plain make.
11034 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11035 believe a hypothetical automake-mode would go to makefile-mode,
11036 not the other way around.
11037
11038 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11039
11040 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11041 hunk-end tags (Bug#8672).
11042
11043 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11044 vc-annotate-show-diff-revision-at-line (Bug#8671).
11045
11046 2011-05-14 Glenn Morris <rgm@gnu.org>
11047
11048 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11049 in the middle of an existing one with multiple authors. (Bug#8645)
11050 (change-log-font-lock-keywords): Also handle multiple author lines
11051 with leading tabs. (Bug#8644)
11052
11053 * calendar/appt.el (appt-check): Rename some local variables.
11054 Some simplification/reordering.
11055
11056 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11057 (feedmail-sendmail-f-doesnt-sell-me-out)
11058 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11059 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11060 (feedmail-queue-runner-message-sender): Set :version.
11061 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11062 (bbdb-dwim-net-address, vm-mail): Declare.
11063 (feedmail-binmail-gnulinuxish-template):
11064 Rename from feedmail-binmail-linuxish-template.
11065 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11066 Use insert-buffer-substring.
11067
11068 2011-05-14 Bill Carpenter <bill@carpenter.org>
11069
11070 * mail/feedmail.el (feedmail-patch-level): Increase.
11071 (feedmail-debug): New custom group.
11072 (feedmail-confirm-outgoing-timeout)
11073 (feedmail-sendmail-f-doesnt-sell-me-out)
11074 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11075 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11076 (feedmail-sender-line, feedmail-from-line)
11077 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11078 (feedmail-spray-this-address)
11079 (feedmail-spray-address-fiddle-plex-list)
11080 (feedmail-queue-use-send-time-for-date)
11081 (feedmail-queue-use-send-time-for-message-id)
11082 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11083 (feedmail-buffer-eating-function):
11084 Doc fixes.
11085 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11086 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11087 (feedmail-message-action-scroll-down): New functions.
11088 (feedmail-queue-directory, feedmail-queue-draft-directory):
11089 Use expand-file-name.
11090 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11091 Remove C-v help entry.
11092 (feedmail-queue-buffer-file-name): New variable.
11093 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11094 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11095 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11096 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11097 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11098 (feedmail-message-action-toggle-spray)
11099 (feedmail-run-the-queue-no-prompts)
11100 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11101 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11102 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11103 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11104 (feedmail-envelope-deducer, feedmail-fiddle-from)
11105 (feedmail-fiddle-sender, feedmail-default-date-generator)
11106 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11107 (feedmail-fiddle-spray-address)
11108 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11109 (feedmail-fiddle-list-of-fiddle-plexes)
11110 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11111 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11112 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11113 Change default. Doc fix.
11114 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11115 (feedmail-binmail-linuxish-template): New constant.
11116 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11117 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11118 (feedmail-send-it): Add debug call.
11119 Use feedmail-queue-buffer-file-name, and
11120 feedmail-send-it-immediately-wrapper.
11121 (feedmail-message-action-send): Add debug call.
11122 Use feedmail-send-it-immediately-wrapper.
11123 (feedmail-queue-express-to-queue): Add debug call.
11124 Run feedmail-queue-express-hook.
11125 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11126 (feedmail-message-action-help-blat):
11127 Rename from feedmail-queue-send-edit-prompt-help-first.
11128 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11129 Check line-endings. Handle errors better.
11130 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11131 Doc fix. Add debug call.
11132 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11133 Use feedmail-queue-send-edit-prompt-inner.
11134 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11135 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11136 from feedmail-queue-send-edit-prompt.
11137 (feedmail-queue-send-edit-prompt-help)
11138 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11139 (feedmail-tidy-up-slug): Add debug call.
11140 Respect feedmail-queue-slug-suspect-regexp.
11141 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11142 (feedmail-dump-message-to-queue): Add debug call.
11143 Expand queue-directory.
11144 (feedmail-dump-message-to-queue): Change message slightly.
11145 Use feedmail-say-chatter.
11146 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11147 (feedmail-send-it-immediately-wrapper): New function.
11148 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11149 Insert empty string rather than newline. Handle full-frame case.
11150 Use catch/throw. Use feedmail-say-chatter.
11151 (feedmail-fiddle-from): Try mail-host-address.
11152 (feedmail-default-message-id-generator): Doc fix.
11153 Bind system-time-locale. Handle missing end.
11154 (feedmail-fiddle-x-mailer): Add debug call.
11155 Handle feedmail-x-mailer-line being nil.
11156 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11157 Add debug call. Use buffer-substring-no-properties.
11158 (feedmail-say-debug, feedmail-say-chatter): New functions.
11159 (feedmail-find-eoh): Give an explicit error.
11160
11161 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11162
11163 * net/newst-treeview.el (newsticker-treeview-face): Change default
11164 family from helvetica to sans.
11165 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11166 etc/images/newsticker.
11167
11168 * net/newst-reader.el (newsticker-feed-face): Change default
11169 family from helvetica to sans.
11170
11171 * net/newst-plainview.el (newsticker-new-item-face)
11172 (newsticker-old-item-face, newsticker-immortal-item-face)
11173 (newsticker-obsolete-item-face, newsticker-date-face)
11174 (newsticker-statistics-face): Change default family from
11175 helvetica to sans.
11176 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11177 etc/images/newsticker.
11178
11179 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11180 (newsticker--process-auto-mark-filter-match): Tell user about
11181 auto-marking.
11182
11183 2011-05-13 Didier Verna <didier@xemacs.org>
11184
11185 Common Lisp indentation improvements on defmethod and lambda-lists.
11186 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11187 TODO entries.
11188 (lisp-lambda-list-keyword-parameter-indentation)
11189 (lisp-lambda-list-keyword-parameter-alignment)
11190 (lisp-lambda-list-keyword-alignment): New customizable user options.
11191 (lisp-indent-defun-method): Improve docstring.
11192 (extended-loop-p): Fix comment.
11193 (lisp-indent-lambda-list-keywords-regexp): New variable.
11194 (lisp-indent-lambda-list): New function.
11195 (lisp-indent-259): Use it.
11196 (lisp-indent-defmethod): Support for more than one
11197 method qualifier and properly indent methods lambda-lists.
11198 (defgeneric): Provide a missing common-lisp-indent-function property.
11199
11200 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11203 bounds for the empty string (bug#8667).
11204
11205 2011-05-13 Glenn Morris <rgm@gnu.org>
11206
11207 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11208
11209 * mail/sendmail.el (sendmail-program): Try executable-find first.
11210 (sendmail-send-it): `sendmail-program' cannot be unbound.
11211
11212 * calendar/appt.el (appt-make-list): Simplify.
11213 (appt-time-msg-list): Doc fix.
11214 (appt-check): Change mode-line message at the time of the appointment.
11215
11216 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11217
11218 * progmodes/ld-script.el (ld-script-keywords)
11219 (ld-script-builtins): Update keywords list.
11220
11221 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11222
11223 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11224
11225 * shell.el (shell-completion-vars): New function.
11226 (shell-mode):
11227 * simple.el (read-shell-command): Use it.
11228 (blink-matching-open): No need for " [...]" in minibuffer-message.
11229
11230 2011-05-12 Glenn Morris <rgm@gnu.org>
11231
11232 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11233 (appt-check): Simplify.
11234
11235 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11236
11237 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11238 literal "/dev/null".
11239
11240 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11241
11242 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11243 Fix typo.
11244
11245 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11246
11247 * progmodes/which-func.el (which-function):
11248 Use add-log-current-defun instead of add-log-current-defun-function,
11249 which might not be defined (Bug#8260).
11250
11251 2011-05-12 Glenn Morris <rgm@gnu.org>
11252
11253 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11254 Let byte-compile-initial-macro-environment always take precedence.
11255
11256 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * net/rcirc.el: Add support for SSL/TLS connections.
11259 (rcirc-server-alist): New field `encryption'.
11260 (rcirc): Check `encryption' settings.
11261 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11262 Merge make-local-variable into `set'.
11263 (rcirc--connection-open-p): New function.
11264 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11265 the process is not a network process (e.g. running gnutls-cli).
11266 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11267 Make rcirc-(en|de)code-coding-system local here.
11268 (rcirc-mode): Merge make-local-variable into `set'.
11269 (rcirc-parent-buffer): Make permanent buffer-local.
11270 (rcirc-multiline-minor-mode): Don't do it here.
11271 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11272 there's no server buffer.
11273
11274 2011-05-11 Glenn Morris <rgm@gnu.org>
11275
11276 * newcomment.el (comment-kill): Prefix "unused" local.
11277
11278 * term/w32console.el (get-screen-color): Declare.
11279
11280 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11281 Handle symbol elements of byte-compile-initial-macro-environment.
11282
11283 2011-05-10 Leo Liu <sdl.web@gmail.com>
11284
11285 * bookmark.el (bookmark-bmenu-mode-map):
11286 Bind bookmark-bmenu-search to `/'.
11287
11288 * mail/footnote.el: Convert to utf-8 encoding.
11289 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11290 (Footnote-unicode): New function.
11291 (footnote-style-alist): Add unicode style to the list.
11292 (footnote-style): Doc fix.
11293
11294 2011-05-10 Jim Meyering <meyering@redhat.com>
11295
11296 Fix doubled-word typos.
11297 * international/quail.el (quail-insert-kbd-layout): and and -> and
11298 * kermit.el: and and -> and
11299 * net/ldap.el (ldap-search-internal): to to -> to
11300 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11301 * progmodes/js.el (js-mode): and and -> and
11302 * textmodes/artist.el (artist-move-to-xy): at at -> at
11303 (artist-draw-region-trim-line-endings): if if -> if
11304 And Safetyc -> Safety.
11305 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11306
11307 2011-05-10 Glenn Morris <rgm@gnu.org>
11308 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * files.el (hack-one-local-variable-eval-safep):
11311 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11312
11313 2011-05-10 Glenn Morris <rgm@gnu.org>
11314
11315 * calendar/diary-lib.el (diary-list-entries-hook)
11316 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11317 (diary-nongregorian-marking-hook, diary-list-entries)
11318 (diary-include-other-diary-files, diary-mark-entries)
11319 (diary-mark-included-diary-files): Doc fixes.
11320
11321 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11322
11323 * misc.el: Require tabulated-list.el during compilation.
11324
11325 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11326
11327 * progmodes/compile.el (compilation-start):
11328 Run compilation-filter-hook for the async case too.
11329 (compilation-filter-hook): Doc fix.
11330
11331 2011-05-09 Deniz Dogan <deniz@dogan.se>
11332
11333 * wdired.el: Remove outdated installation comment. Fix usage
11334 comment.
11335
11336 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11337
11338 * misc.el: Implement new command `list-dynamic-libraries'.
11339 (list-dynamic-libraries--loaded-only-p): New variable.
11340 (list-dynamic-libraries--refresh): New function.
11341 (list-dynamic-libraries): New command.
11342
11343 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11344
11345 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11346 Fix the ant regexp to handle end-line and end-column info from jikes.
11347 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11348 higher priority to avoid clobbering by gnu.
11349
11350 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11351
11352 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11353 if the face has existing theme settings (Bug#8454).
11354
11355 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11356
11357 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11358 Only match variables declared via `my' or `our' (Bug#8261).
11359
11360 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11361 special file names `.' and `..' (Bug#8259).
11362
11363 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11364
11365 * progmodes/grep.el (grep-mode-font-lock-keywords):
11366 Remove buffer-changing entries.
11367 (grep-filter): New function.
11368 (grep-mode): Add it to compilation-filter-hook.
11369
11370 * progmodes/compile.el (compilation-filter-hook)
11371 (compilation-filter-start): New defvars.
11372 (compilation-filter): Call compilation-filter-hook prior to
11373 updating the process mark.
11374
11375 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11376
11377 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11378
11379 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11380
11381 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11382 mailclient-send-it even if window-system is nil. (Bug#8595)
11383
11384 * term/w32console.el (terminal-init-w32console):
11385 Call get-screen-color and use its output to set the frame
11386 background-mode. (Bug#8597)
11387
11388 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11389
11390 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11391 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11392 New functions.
11393 (defgeneric, eieio--defmethod): Use them.
11394 (eieio-defgeneric): Remove.
11395 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11396
11397 2011-05-07 Glenn Morris <rgm@gnu.org>
11398
11399 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11400 Use let rather than let*.
11401 (timeclock-find-discrep): Remove unused local.
11402
11403 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11404
11405 * calendar/appt.el (appt-time-msg-list): Doc fix.
11406
11407 2011-05-06 Noah Friedman <friedman@splode.com>
11408
11409 * apropos.el (apropos-print-doc): Only use
11410 emacs-lisp-docstring-fill-column when it is bound to an integer,
11411 per that variable's documentation.
11412
11413 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11414
11415 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11416 and warnings are not silently discarded (e.g. use -d instead of -P).
11417
11418 2011-05-06 Glenn Morris <rgm@gnu.org>
11419
11420 * calendar/appt.el (appt-message-warning-time): Doc fix.
11421 (appt-warning-time-regexp): New option.
11422 (appt-make-list): Respect appt-message-warning-time.
11423
11424 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11425 New options.
11426 (diary-add-to-list): Strip comments from the displayed string.
11427 (diary-mode): Set comment-start and comment-end.
11428
11429 * vc/diff-mode.el (smerge-refine-subst): Declare.
11430 (diff-refine-hunk): Don't require smerge-mode when compiling.
11431
11432 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11433
11434 * simple.el (list-processes): Return nil as the docstring says.
11435
11436 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11437
11438 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11439 to "".
11440 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11441 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11442 determining of binary transfer. (Bug#7383)
11443
11444 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11445
11446 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11447 Fix port computation bug. (Bug#8618)
11448
11449 2011-05-05 Glenn Morris <rgm@gnu.org>
11450
11451 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11452
11453 * simple.el (shell-dynamic-complete-functions)
11454 (comint-dynamic-complete-functions): Declare.
11455
11456 * net/network-stream.el (gnutls-negotiate):
11457 * simple.el (tabulated-list-print): Fix declarations.
11458
11459 * progmodes/gud.el (syntax-symbol, syntax-point):
11460 Remove unnecessary and incorrect declarations.
11461
11462 * emacs-lisp/check-declare.el (check-declare-scan):
11463 Handle byte-compile-initial-macro-environment in bytecomp.el
11464
11465 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 Fix earlier half-done eieio-defmethod change (bug#8338).
11468 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11469 Streamline and change calling convention.
11470 (defmethod): Adjust accordingly and simplify.
11471 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11472 new eieio--defmethod.
11473 (slot-boundp): Minor CSE simplification.
11474
11475 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11476
11477 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11478 (glasses-make-readable): Use glasses-separate-capital-groups.
11479
11480 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11481
11482 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11483 (warning-series): Doc fix.
11484 (display-warning): Don't try to create the buffer if we just found it.
11485
11486 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11487
11488 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11489 (autoload-find-generated-file): New function.
11490 (generate-file-autoloads): Bind generated-autoload-file to
11491 buffer-file-name.
11492 (update-file-autoloads, update-directory-autoloads):
11493 Use autoload-find-generated-file. If called interactively, prompt for
11494 output file (Bug#7989).
11495 (batch-update-autoloads): Doc fix.
11496
11497 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11498
11499 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11500
11501 2011-05-04 Glenn Morris <rgm@gnu.org>
11502
11503 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11504 function, so it follows changes in calendar-date-style.
11505 (diary-fancy-date-matcher): New function.
11506 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11507 (diary-fancy-font-lock-fontify-region-function):
11508 Use diary-fancy-date-pattern as a function.
11509
11510 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11511 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11512
11513 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11514
11515 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11516 instead of positional arguments. Allow :keylist and :crlfiles
11517 arguments.
11518 (open-gnutls-stream): Call it.
11519
11520 * net/network-stream.el (network-stream-open-starttls): Adjust to
11521 call `gnutls-negotiate' with :process and :hostname arguments.
11522
11523 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11524
11525 * minibuffer.el (completion--message): New function.
11526 (completion--do-completion, minibuffer-complete)
11527 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11528 (completion--do-completion): Don't ignore completion-auto-help when in
11529 icomplete-mode.
11530
11531 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11532 internal encoding (e.g. tibetan zero is not whitespace).
11533 (global-whitespace-mode): Prefer save-current-buffer.
11534 (whitespace-trailing-regexp): Remove useless save-match-data.
11535 (whitespace-empty-at-bob-regexp): Minor simplification.
11536
11537 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11538
11539 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11540
11541 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11542
11543 * textmodes/ispell.el (ispell-add-per-file-word-list):
11544 Use `concat' to create string for insertion.
11545
11546 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11547
11548 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11549 Avoid open-line which runs post-self-insert-hook.
11550 (bibtex-fill-entry): Remove unused `end' var.
11551
11552 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11553
11554 * textmodes/ispell.el (ispell-add-per-file-word-list):
11555 Protect against `nil' value of `comment-start' (Bug#8579).
11556
11557 2011-05-03 Leo Liu <sdl.web@gmail.com>
11558
11559 * isearch.el (isearch-yank-pop): New command.
11560 (isearch-mode-map): Bind it to `M-y'.
11561 (isearch-forward): Mention it.
11562
11563 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11564
11565 * simple.el (minibuffer-complete-shell-command): Remove.
11566 (minibuffer-local-shell-command-map): Use completion-at-point.
11567 (read-shell-command): Setup completion vars here instead.
11568 (read-expression-map): Bind TAB to symbol completion.
11569
11570 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11571 error directly rather via storing it into `results'.
11572
11573 2011-05-02 Leo Liu <sdl.web@gmail.com>
11574
11575 * vc/diff.el: Fix description.
11576
11577 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11578
11579 * server.el (server-eval-at): New function.
11580
11581 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11582
11583 * net/network-stream.el (open-network-stream): Take a :nowait
11584 parameter and pass it on to `make-network-process'.
11585 (network-stream-open-plain): Ditto.
11586
11587 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11588
11589 * faces.el (face-spec-set-match-display): Don't match toolkit
11590 options on terminal frames.
11591
11592 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11593
11594 * progmodes/pascal.el: Use lexical binding.
11595 (pascal-mode-map): Remove author preferences.
11596
11597 * pcomplete.el (pcomplete-std-complete): Don't abuse
11598 completion-at-point.
11599
11600 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11601
11602 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11603 removing code that has been dead since 1991 or so.
11604
11605 * startup.el (command-line): When warning about "_emacs", use a
11606 delayed warning to allow the user to filter it out.
11607
11608 2011-04-28 Deniz Dogan <deniz@dogan.se>
11609
11610 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11611 user has not joined.
11612
11613 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11616 aren't any completions at point.
11617
11618 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11619
11620 * subr.el (display-delayed-warnings): New function.
11621 (delayed-warnings-hook): New variable.
11622
11623 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11624
11625 * minibuffer.el (completion-at-point, completion-help-at-point):
11626 Don't presume that a given completion-at-point-function will always
11627 use the same calling convention.
11628
11629 * pcomplete.el (pcomplete-completions-at-point):
11630 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11631 pcomplete-seen is non-nil.
11632 (pcomplete-comint-setup): Also recognize the new comint/shell
11633 completion functions.
11634 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11635 pcomplete-seen is non-nil.
11636
11637 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11638
11639 * calendar/icalendar.el (diary-lib): Add require statement.
11640 (icalendar--create-uid): Read out a uid from a text-property on
11641 the first character in the entry. This allows for code to add its
11642 own uid to the entry.
11643 (icalendar--convert-float-to-ical): Add export of
11644 `diary-float'-entries save for those with the optional DAY
11645 argument.
11646
11647 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11648
11649 * subr.el (shell-quote-argument): Use alternate escaping strategy
11650 when we spot a variable reference in a string.
11651
11652 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11653
11654 * cus-start.el (all): Define customization for debug-on-event.
11655
11656 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11657
11658 * subr.el (shell-quote-argument): Escape correctly under Windows.
11659
11660 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11661
11662 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11663
11664 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11665
11666 * net/tramp.el (tramp-process-actions): Add POS argument.
11667 Delete region between POS and (pos).
11668
11669 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11670 Use `nil' position in `tramp-process-actions' call.
11671 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11672
11673 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11674 position in `tramp-process-actions' call.
11675
11676 * net/trampver.el: Update release number.
11677
11678 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11679
11680 * custom.el (defcustom): Obey lexical-binding.
11681
11682 Fix octave-inf completion problems reported by Alexander Klimov.
11683 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11684 Inherit from octave-mode-syntax-table.
11685 (inferior-octave-mode): Set info-lookup-mode.
11686 (inferior-octave-completion-at-point): New function.
11687 (inferior-octave-complete): Use it and completion-in-region.
11688 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11689 comint-filename-completion.
11690 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11691 symbol elements which shouldn't be word elements.
11692 (octave-font-lock-keywords, octave-beginning-of-defun)
11693 (octave-function-header-regexp): Adjust regexps accordingly.
11694 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11695
11696 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11697
11698 * net/gnutls.el (gnutls-errorp): Declare before first use.
11699
11700 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11701
11702 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11703 verify-error, and verify-hostname-error parameters. Check whether
11704 default trustfile exists before going to use it. Add missing
11705 argument to gnutls-message-maybe call. Return value.
11706 Reported by Claudio Bley <claudio.bley@gmail.com>.
11707 (open-gnutls-stream): Add usage example.
11708
11709 * net/network-stream.el (network-stream-open-starttls): Give host
11710 parameter to `gnutls-negotiate'.
11711 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11712 * subr.el (shell-quote-argument): Escape correctly under Windows.
11713
11714 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11715
11716 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11717 Use correct match group (bug#8438).
11718
11719 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11720
11721 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11722 (package-menu--generate): New arg specifying packages to show.
11723 (package-menu-refresh, package-menu-execute, list-packages):
11724 Callers changed.
11725 (package-show-package-list): New function, replacing deleted
11726 package--list-packages (renamed because it is non-internal).
11727
11728 * finder.el (finder-list-matches): Use package-show-package-list
11729 instead of deleted package--list-packages.
11730
11731 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11732 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11733 (vc-annotate-mode-map): Bind it to RET.
11734
11735 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11736
11737 * progmodes/etags.el (next-file): Don't use set-buffer to change
11738 buffers (Bug#8478).
11739
11740 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11741
11742 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11743
11744 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11745 (apropos-accumulator): Doc fix.
11746 (apropos-function, apropos-macro, apropos-command)
11747 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11748 (apropos-plist): Add face property.
11749 (apropos-symbols-internal): Fix indentation.
11750 (apropos-print): Simplify help, and recognize apropos-multi-type.
11751 (apropos-print-doc): Use button-type-get to extract the button's
11752 face property. Fill docstring (Bug#8352).
11753
11754 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11755
11756 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11757
11758 * play/mpuz.el (mpuz-silent): Doc fix.
11759 (mpuz-mode-map): Use mapc.
11760 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11761 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11762 Fix typos in docstrings.
11763
11764 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11765 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11766
11767 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11768
11769 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11770
11771 * minibuffer.el (completion--do-completion): Avoid the "Next char
11772 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11773
11774 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11775 mouse-2 into unread-command-events, it is interpreted correctly.
11776
11777 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11778 (image-toggle-display): Doc fix.
11779
11780 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11781
11782 * textmodes/page.el (what-page): Use line-number-at-pos to
11783 calculate line number (Bug#6825).
11784
11785 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11786
11787 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11788 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11789 Pass argument NO-DEFAULT to `find-tag-interactive'.
11790
11791 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11792
11793 Lexical-binding cleanup.
11794
11795 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11796 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11797 * progmodes/ada-prj.el (ada-prj-initialize-values)
11798 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11799 (ada-prj-show-value):
11800 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11801 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11802 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11803 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11804 * progmodes/bug-reference.el (bug-reference-push-button):
11805 * progmodes/fortran.el (fortran-line-length):
11806 * progmodes/glasses.el (glasses-change):
11807 * progmodes/octave-mod.el (octave-fill-paragraph):
11808 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11809 (python-pdbtrack-grub-for-buffer, python-sentinel):
11810 * progmodes/sql.el (sql-save-connection):
11811 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11812 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11813 Mark unused parameters.
11814
11815 * progmodes/compile.el (compilation--flush-directory-cache)
11816 (compilation--flush-parse, compile-internal): Mark unused parameters.
11817 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11818 (compilation-next-error-function): Remove unused variable `timestamp'.
11819
11820 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11821 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11822
11823 * progmodes/dcl-mode.el (dcl-end-of-command):
11824 Remove unused variable `start'.
11825 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11826 (dcl-option-value-basic, dcl-option-value-offset)
11827 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11828 Mark unused parameters.
11829 (dcl-save-local-variable): Remove unused variable `val'.
11830 (mode): Declare.
11831
11832 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11833 Mark unused parameters.
11834 (delphi-ignore-changes): Move before first use.
11835 (delphi-charset-token-at): Remove unused variable `start'.
11836 (delphi-else-start): Remove unused variable `if-count'.
11837 (delphi-comment-block-start, delphi-comment-block-end):
11838 Remove unused variable `kind'.
11839 (delphi-indent-line): Remove unused variable `new-point'.
11840
11841 * progmodes/ebrowse.el (ebrowse-files-list)
11842 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11843 Mark unused parameters. Don't quote `lambda'.
11844 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11845 Don't quote `lambda'.
11846 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11847 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11848 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11849 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11850 Use `ignore-errors'.
11851 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11852 (ebrowse-view/find-file-and-search-pattern)
11853 (ebrowse-view/find-member-declaration/definition):
11854 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11855 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11856 Rename parameter PREFIX-ARG to PREFIX.
11857 (ebrowse-tags-read-name): Remove unused variables `start' and
11858 `member-info'.
11859 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11860 to `tags-file'.
11861
11862 * progmodes/etags.el (local-find-tag-hook): Declare.
11863 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11864 Mark unused parameters.
11865
11866 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11867 (executable-interpret): Mark unused parameter.
11868
11869 * progmodes/flymake.el (flymake-process-sentinel)
11870 (flymake-after-change-function)
11871 (flymake-create-temp-with-folder-structure)
11872 (flymake-get-include-dirs-dot): Mark unused parameters.
11873 (flymake-safe-delete-directory): Remove unused variable `err'.
11874
11875 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11876 (speedbar-timer-fn, speedbar-line-text)
11877 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11878 (speedbar-center-buffer-smartly): Declare functions.
11879 (gdb-find-watch-expression): Remove unused variable `array'.
11880 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11881 (gdb-starting): Mark unused parameters.
11882 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11883 (gdb-table-string): Remove unused variable `res'.
11884 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11885 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11886 (gdb-display-buffer): Remove unused variable `cur-size'.
11887
11888 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11889 allow lexical-binding compilation.
11890 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11891 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11892 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11893 Mark unused parameters.
11894 (gud-gdb-marker-filter): Remove unused variable `match'.
11895 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11896 lambda expressions and funcall them, instead of using `fset'.
11897
11898 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11899 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11900
11901 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11902 variable `header-beg'; use `let'.
11903
11904 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11905 `restart', `last-sexp' and `at-do'.
11906
11907 * progmodes/js.el (js--debug): Mark unused parameter.
11908 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11909 (js--splice-into-items): Remove unused variable `item'.
11910 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11911
11912 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11913 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11914 (makefile-complete): Remove unused variable `try'.
11915 (makefile-fill-paragraph, makefile-match-function-end):
11916 Mark unused parameters.
11917
11918 * progmodes/octave-inf.el (inferior-octave-complete):
11919 Remove unused variable `proc'.
11920 (inferior-octave-output-digest): Mark unused parameter.
11921
11922 * progmodes/perl-mode.el (perl-calculate-indent):
11923 Remove unused variable `err'.
11924
11925 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11926 (prolog-indent-line): Mark unused parameters.
11927 (prolog-indent-line): Remove unused variable `beg'.
11928
11929 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11930 (reporter-dont-compact-list): Declare.
11931
11932 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11933 Remove unused variable `char'.
11934 (sh-debug): Mark unused parameter.
11935 (sh-get-indent-info): Remove unused variable `start'.
11936 (sh-calculate-indent): Remove unused variable `var'.
11937
11938 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11939 (simula-electric-keyword): Remove unused variable `null'.
11940 (simula-search-backward, simula-search-forward): Remove unused
11941 variables `begin' and `end'.
11942
11943 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11944 Remove unused variable `pos'.
11945 (vera-electric-tab, vera-comment-uncomment-region):
11946 Mark unused parameters.
11947 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11948
11949 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11950
11951 * emacs-lisp/package.el (package--builtins, package-alist)
11952 (package-load-descriptor, package-built-in-p, package-activate)
11953 (define-package, package-installed-p)
11954 (package-compute-transaction, package-buffer-info)
11955 (package--push): Doc fix. Distinguish more clearly between
11956 version strings and version lists.
11957
11958 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11959
11960 Lexical-binding cleanup.
11961
11962 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11963 (5x5-make-mutate-best):
11964 * play/fortune.el (fortune-in-buffer):
11965 * play/gomoku.el (gomoku-init-display):
11966 * play/solitaire.el (solitaire, solitaire-do-check):
11967 * play/tetris.el (tetris-default-update-speed-function):
11968 Mark unused parameters.
11969
11970 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11971 (bubbles--shift): Remove unused variable `char-org'.
11972 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11973 (bubbles--show-images): Remove unused variable `char'.
11974
11975 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11976 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11977 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11978 (decipher-analyze-buffer): Use ?\s.
11979 (decipher-make-checkpoint): Remove unused variable `mapping'.
11980
11981 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11982
11983 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11984 Remove unused variable `result'; use `let'.
11985
11986 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11987 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11988 (gametree-children-shown-p, gametree-compute-reduced-score):
11989 Use `ignore-errors'.
11990
11991 * play/handwrite.el (ps-lpr-switches): Declare.
11992 (handwrite): Remove unused variables `pmin' and `lastp'.
11993
11994 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11995
11996 * play/landmark.el (landmark-init-display)
11997 (landmark-update-naught-weights): Mark unused parameters.
11998 (landmark-y): Remove unused variable `noise'. Simplify.
11999 (landmark-human-plays): Remove unused variable `score'.
12000
12001 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12002 (mpuz-try-proposal): Remove unused variable `game'.
12003
12004 * play/zone.el (life-patterns): Declare.
12005
12006 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12007
12008 * vc/vc.el (ediff-vc-internal): Declare function.
12009
12010 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * shell.el: Use lexical-binding and std completion UI.
12013 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12014 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12015 comint-preoutput-filter-functions rather than on
12016 comint-output-filter-functions.
12017 (shell-command-completion, shell--command-completion-data)
12018 (shell-filename-completion, shell-environment-variable-completion)
12019 (shell-c-a-p-replace-by-expanded-directory): New functions.
12020 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12021 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12022 (shell-dynamic-complete-environment-variable): Use them.
12023 (shell-dynamic-complete-as-environment-variable)
12024 (shell-dynamic-complete-as-command): Remove.
12025 (shell-match-partial-variable): Match past point.
12026 * comint.el: Clean up use of completion-at-point-functions.
12027 (comint-completion-at-point): New function.
12028 (comint-mode): Use it completion-at-point-functions.
12029 (comint-dynamic-complete): Make it obsolete.
12030 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12031 (comint-c-a-p-replace-by-expanded-history): New function.
12032 (comint-dynamic-complete-functions)
12033 (comint-replace-by-expanded-history): Use it.
12034 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12035 termination strings. Try harder to avoid second try-completion.
12036 (completion-in-region-mode-map): Disable bindings that don't work yet.
12037
12038 * comint.el: Use lexical-binding. Require CL.
12039 (comint-dynamic-complete-functions): Use comint-filename-completion.
12040 (comint-completion-addsuffix): Tweak custom type.
12041 (comint-filename-completion, comint--common-suffix)
12042 (comint--common-quoted-suffix, comint--table-subvert)
12043 (comint--complete-file-name-data): New functions.
12044 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12045 (comint-dynamic-list-filename-completions): Use them.
12046 (comint-dynamic-simple-complete): Make obsolete.
12047
12048 * minibuffer.el (completion-in-region-mode):
12049 Keep completion-in-region-mode--predicate global.
12050 (completion-in-region--postch):
12051 Assume completion-in-region-mode--predicate is not null.
12052
12053 * progmodes/flymake.el (flymake-start-syntax-check-process):
12054 Obey `dir'. Simplify.
12055
12056 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12057 we're in VC after all.
12058
12059 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12060
12061 * vc/vc.el (vc-diff-build-argument-list-internal)
12062 (vc-version-ediff, vc-ediff): New commands.
12063 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12064
12065 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12068 add sanity check.
12069
12070 * obsolete/erc-hecomplete.el: Make obsolete.
12071 * obsolete/: Standardize obsolescence info in the header.
12072
12073 2011-04-20 Glenn Morris <rgm@gnu.org>
12074
12075 * calendar/solar.el (solar-horizontal-coordinates):
12076 Use the longitude argument rather than `calendar-longitude'.
12077 (solar-date-next-longitude): Remove unused locals.
12078
12079 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12080
12081 * whitespace.el: New version 13.2.1.
12082
12083 2011-04-20 felix <EmacsWiki> (tiny change)
12084
12085 * whitespace.el (global-whitespace-mode): Keep highlight when
12086 switching between major modes on a file.
12087
12088 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12089
12090 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12091 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12092 multi-line comments as well.
12093
12094 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12095
12096 Lexical-binding cleanup.
12097
12098 * arc-mode.el (archive-mode-revert):
12099 * cmuscheme.el (scheme-interactively-start-process):
12100 * custom.el (custom-initialize-delay):
12101 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12102 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12103 * emacs-lock.el (emacs-lock-clear-sentinel):
12104 * ezimage.el (defezimage):
12105 * follow.el (follow-avoid-tail-recenter):
12106 * fringe.el (set-fringe-mode-1):
12107 * generic-x.el (bat-generic-mode-compile):
12108 * help-mode.el (help-info-variable, help-do-xref)
12109 (help-mode-revert-buffer):
12110 * help.el (view-emacs-todo):
12111 * iswitchb.el (iswitchb-completion-help):
12112 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12113 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12114 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12115 * locate.el (locate-update):
12116 * longlines.el (longlines-encode-region)
12117 (longlines-after-change-function):
12118 * outline.el (outline-isearch-open-invisible):
12119 * ps-def.el (declare-function, charset-dimension, char-width)
12120 (encode-char):
12121 * ps-mule.el (ps-mule-plot-string):
12122 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12123 (recentf-edit-list-select, recentf-edit-list-validate)
12124 (recentf-open-files-action):
12125 * rect.el (delete-whitespace-rectangle-line)
12126 (rectangle-number-line-callback):
12127 * register.el (window-configuration-to-register)
12128 (frame-configuration-to-register):
12129 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12130 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12131 (xselect-convert-to-targets, xselect-convert-to-delete)
12132 (xselect-convert-to-filename, xselect-convert-to-charpos)
12133 (xselect-convert-to-lineno, xselect-convert-to-colno)
12134 (xselect-convert-to-os, xselect-convert-to-host)
12135 (xselect-convert-to-user, xselect-convert-to-class)
12136 (xselect-convert-to-name, xselect-convert-to-integer)
12137 (xselect-convert-to-atom, xselect-convert-to-identity):
12138 * subr.el (declare, ignore, process-kill-without-query)
12139 (text-clone-maintain):
12140 * terminal.el (te-get-char, te-tic-sentinel):
12141 * tool-bar.el (tool-bar-make-keymap):
12142 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12143 * type-break.el (type-break-mode, type-break-noninteractive-query):
12144 * view.el (View-back-to-mark):
12145 * wid-browse.el (widget-browse-action, widget-browse-widget)
12146 (widget-browse-widgets, widget-browse-sexp):
12147 * widget.el (define-widget-keywords):
12148 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12149 Mark unused parameters.
12150
12151 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12152 (align-areas): Remove unused variable `look'.
12153 (align-region): Remove unused variables `real-end' and `pos-list'.
12154
12155 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12156
12157 * bindings.el (mode-line-modified, mode-line-remote):
12158 Mark unused parameters.
12159 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12160
12161 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12162 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12163
12164 * comint.el (comint-history-isearch-pop-state)
12165 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12166 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12167 (comint-substitute-in-file-name): Doc fix.
12168
12169 * completion.el (cmpl-statistics-block): Mark unused parameter.
12170 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12171 (save-completions-to-file, load-completions-from-file):
12172 Remove unused local variable `e'.
12173
12174 * composite.el (compose-chars): Remove unused variable `len'.
12175 (lgstring-insert-glyph): Remove unused variable `g'.
12176 (compose-glyph-string): Remove unused variables `ascent',
12177 `descent', `lbearing' and `rbearing'.
12178 (compose-glyph-string-relative): Remove unused variables
12179 `lbearing', `rbearing' and `wadjust'.
12180 (compose-gstring-for-graphic): Remove unused variables `header',
12181 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12182 (compose-gstring-for-terminal): Remove unused variables `header'
12183 and `nchars'. Use `let', not `let*'.
12184
12185 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12186 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12187 (Custom-buffer-done, custom-buffer-create-internal)
12188 (custom-browse-visibility-action, custom-browse-group-tag-action)
12189 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12190 (widget-magic-mouse-down-action, custom-toggle-parent)
12191 (custom-add-parent-links, custom-toggle-hide-variable)
12192 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12193 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12194 (custom-face-menu-create, custom-variable-menu-create, get)
12195 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12196 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12197 (customize-apropos): Remove unused variable `tests'.
12198 (custom-group-value-create): Remove unused variable `hidden-p'.
12199 (sort-fold-case): Declare.
12200
12201 * cus-theme.el (custom-reset-standard-faces-list)
12202 (custom-reset-standard-variables-list): Declare.
12203 (customize-create-theme, custom-theme-revert, custom-theme-write)
12204 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12205 Mark unused parameters.
12206
12207 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12208
12209 * delim-col.el (delimit-columns-max): Move defvar before first use.
12210
12211 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12212 (describe-char): Don't quote `lambda'. Mark unused parameter.
12213
12214 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12215 (auto-insert): Declare.
12216 (desktop-restore-file-buffer): Rename desktop-* parameters;
12217 mark unused ones.
12218 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12219 (desktop-buffer): Rename desktop-* parameters.
12220
12221 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12222 (dframe-reposition-frame-xemacs, dframe-help-echo)
12223 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12224 Mark unused parameters.
12225
12226 * dired-aux.el (backup-extract-version-start, overwrite-query)
12227 (overwrite-backup-query, rename-regexp-query)
12228 (rename-non-directory-query): Declare.
12229 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12230 (dired-add-entry): Remove unused variable `orig-file-name'.
12231 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12232 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12233 `dired-copy-preserve-time' directly.
12234 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12235 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12236
12237 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12238 (dired-virtual-revert, dired-make-relative-symlink):
12239 Mark unused parameters.
12240 (manual-program): Declare.
12241 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12242 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12243 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12244
12245 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12246
12247 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12248
12249 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12250 Declare.
12251
12252 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12253
12254 * electric.el (Electric-command-loop): Rename parameter
12255 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12256
12257 * expand.el (expand-in-literal): Remove unused variable `here'.
12258
12259 * facemenu.el (facemenu-add-new-color):
12260 Remove unused variable `docstring'.
12261
12262 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12263 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12264 (face-attr-construct): Mark unused parameter. Doc fix.
12265 (read-color): Remove unused variable `hex-string'.
12266
12267 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12268 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12269 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12270 (display-buffer-other-frame): Remove unused variable `old-window'.
12271 (kill-buffer-hook): Declare.
12272 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12273 Mark unused parameters.
12274 (after-find-file): Pass 1 to `auto-save-mode', not t.
12275
12276 * files-x.el (auto-insert): Declare.
12277 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12278
12279 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12280 variable `buf'. Mark unused parameter.
12281 (find-lisp-insert-directory): Mark unused parameter.
12282
12283 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12284 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12285 (format-common-tail): Remove, unused.
12286 (format-deannotate-region): Remove unused variable `loc'.
12287 (format-annotate-region): Remove unused variable `p'.
12288 (format-annotate-single-property-change): Remove unused variables
12289 `default' and `tail'.
12290
12291 * forms.el (read-file-filter): Declare.
12292 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12293
12294 * frame.el (frame-creation-function-alist): Mark unused parameter.
12295 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12296
12297 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12298 Remove unused parameters.
12299 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12300 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12301
12302 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12303 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12304 (hfy-prepare-tag-map): Mark unused parameters.
12305 (htmlfontify-buffer): Use `called-interactively-p'.
12306
12307 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12308 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12309 (ibuffer-do-occur): Mark unused parameters.
12310 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12311 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12312
12313 * ibuffer.el: Don't quote `lambda'.
12314 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12315 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12316 Mark unused parameters.
12317
12318 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12319 (ido-completing-read): Mark unused parameters.
12320 (ido-copy-current-word): Mark unused parameters;
12321 remove unused variable `name'.
12322 (ido-sort-merged-list): Remove unused parameter `dirs'.
12323
12324 * ielm.el (ielm-input-sender): Mark unused parameter.
12325 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12326 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12327 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12328 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12329 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12330
12331 * image-dired.el (image-dired-display-thumbs): Remove unused
12332 variables `curr-file' and `count'.
12333 (image-dired-remove-tag): Remove unused variable `start'.
12334 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12335 variable `curr-file'
12336 (image-dired-rotate-original): Remove unused variable `temp-file'.
12337 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12338 Remove unused variable `file'.
12339 (image-dired-gallery-generate): Remove unused variable `curr'.
12340 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12341
12342 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12343
12344 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12345
12346 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12347
12348 * isearch.el (minibuffer-history-symbol): Declare.
12349 (isearch-edit-string): Remove unused variable `err'.
12350 (isearch-message-prefix, isearch-message-suffix):
12351 Mark unused parameters.
12352
12353 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12354
12355 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12356
12357 * makesum.el (double-column): Remove unused variable `cnt'.
12358
12359 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12360 (ido-ignore-item-temp-list): Declare.
12361
12362 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12363 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12364 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12365 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12366 `mouse-col-delta'.
12367
12368 * mouse-sel.el (mouse-extend-internal):
12369 Remove unused variable `orig-window-frame'.
12370
12371 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12372 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12373 Move declarations before first use.
12374 (pcomplete-opt): Mark unused parameters; doc fix.
12375
12376 * proced.el (proced-revert): Mark unused parameter.
12377 (proced-send-signal): Remove unused variable `err'.
12378
12379 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12380 Rename parameter PREFIX-ARG to ARG.
12381 (ps-basic-plot-string, ps-basic-plot-whitespace):
12382 Mark unused parameters.
12383
12384 * replace.el (replace-count): Define.
12385 (occur-revert-function): Mark unused parameters.
12386 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12387 (isearch-case-fold-search, isearch-string): Declare.
12388 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12389 bind `case-fold-search'. Remove unused variables `beg' and `end',
12390 and simplify.
12391 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12392 COUNT and bind `replace-count'.
12393 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12394 to COUNT.
12395
12396 * savehist.el (print-readably, print-string-length): Declare.
12397
12398 * shadowfile.el (shadow-expand-cluster-in-file-name):
12399 Remove unused variable `cluster'.
12400 (shadow-copy-file): Remove unused variable `i'.
12401 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12402 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12403 (shadow-define-literal-group, shadow-define-regexp-group)
12404 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12405
12406 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12407 (shell): Use `called-interactively-p'.
12408 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12409
12410 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12411 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12412 (delete-backward-char): Remove unused variable `ocol'.
12413 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12414 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12415 (event-apply-hyper-modifier, event-apply-shift-modifier)
12416 (event-apply-control-modifier, event-apply-meta-modifier):
12417 Mark unused parameters.
12418 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12419 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12420
12421 * speedbar.el (speedbar-ignored-directory-expressions)
12422 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12423 (speedbar-find-file, speedbar-dir-follow)
12424 (speedbar-directory-buttons-follow, speedbar-tag-find)
12425 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12426 (speedbar-buffers-line-directory, speedbar-buffer-click):
12427 Mark unused parameters.
12428 (speedbar-tag-file): Remove unused variable `mode'.
12429 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12430
12431 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12432
12433 * talk.el (talk): Remove unused variable `display'.
12434
12435 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12436 (tar-write-region-annotate): Mark unused parameter.
12437
12438 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12439 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12440 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12441 warning by another.
12442
12443 * time-stamp.el (time-stamp-string-preprocess):
12444 Remove unused variable `require-padding'.
12445
12446 * tree-widget.el (widget-glyph-enable): Declare.
12447 (tree-widget-action): Mark unused parameter.
12448
12449 * w32-fns.el (x-get-selection): Mark unused parameter.
12450 (autoload-make-program, generated-autoload-file): Declare.
12451
12452 * wdired.el (wdired-revert): Mark unused parameters.
12453 (wdired-xcase-word): Remove unused variable `err'.
12454
12455 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12456 (whitespace-help-scroll): Remove unused variable `data-help'.
12457
12458 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12459 (widget-image-insert, widget-after-change, default)
12460 (widget-default-format-handler, widget-default-notify)
12461 (widget-default-prompt-value, widget-info-link-action)
12462 (widget-url-link-action, widget-function-link-action)
12463 (widget-variable-link-action, widget-file-link-action)
12464 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12465 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12466 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12467 (widget-insert-button-action, widget-delete-button-action, visibility)
12468 (widget-documentation-link-action, widget-documentation-string-action)
12469 (widget-const-prompt-value, widget-regexp-match, symbol)
12470 (widget-coding-system-prompt-value)
12471 (widget-key-sequence-value-to-external, sexp)
12472 (widget-sexp-value-to-internal, character, vector, cons)
12473 (widget-choice-prompt-value, widget-boolean-prompt-value)
12474 (widget-color--choose-action): Mark unused parameters.
12475 (widget-item-match-inline, widget-choice-match-inline)
12476 (widget-checklist-match, widget-checklist-match-inline)
12477 (widget-group-match): Rename parameter VALUES to VALS.
12478 (widget-field-value-set): Remove unused variable `size'.
12479 (widget-color-action): Remove unused variables `value' and `start'.
12480
12481 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12482 variable `dir'. Doc fix.
12483 (windmove-find-other-window): Don't pass it.
12484
12485 * window.el (count-windows): Mark unused parameter.
12486 (bw-adjust-window): Remove unused variable `err'.
12487
12488 * woman.el (woman-file-name): Remove unused variable `default'.
12489 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12490 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12491 (global-font-lock-mode): Declare.
12492 (woman-decode-region): Mark unused parameter.
12493 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12494
12495 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12496 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12497 (x-dnd-handle-moz-url): Remove unused variable `title'.
12498 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12499
12500 * xml.el (xml-parse-tag, xml-parse-attlist):
12501 Remove unused variable `pos'.
12502
12503 2011-04-19 Glenn Morris <rgm@gnu.org>
12504
12505 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12506 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12507 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12508 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12509 * calendar/cal-html.el (cal-html-insert-minical):
12510 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12511 (calendar-mark-date-pattern):
12512 Prefix "unused" locals.
12513
12514 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12515 optional argument `style'.
12516
12517 * calendar/appt.el (appt-make-list):
12518 * calendar/cal-china.el (calendar-chinese-date-string):
12519 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12520 (diary-hebrew-yahrzeit):
12521 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12522 * calendar/calendar.el (calendar-generate-window):
12523 * calendar/time-date.el (time-to-days):
12524 Remove unused local variables.
12525
12526 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12527
12528 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12529 glyphless-char-display table.
12530 (tabulated-list-glyphless-char-display): New var.
12531
12532 2011-04-18 Sam Steingold <sds@gnu.org>
12533
12534 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12535 to acknowledgments.
12536
12537 2011-04-17 Glenn Morris <rgm@gnu.org>
12538
12539 * calendar/diary-lib.el (diary-sexp-entry):
12540 * calendar/holidays.el (holiday-sexp):
12541 Set debug-on-error rather than the removed stack-trace-on-error.
12542
12543 2011-04-16 Glenn Morris <rgm@gnu.org>
12544
12545 * progmodes/f90.el: Use lexical-binding.
12546 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12547
12548 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12549
12550 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12551 (mail-mode): Setup mailalias completion here instead.
12552 * mail/mailalias.el: Use lexical-binding.
12553 (pattern, mailalias-done): Declare dynamic.
12554 (mail-completion-at-point-function): New function, from mail-complete.
12555 (mail-complete): Use it.
12556 (mail-completion-expand): New function.
12557 (mail-get-names): Use it.
12558 (mail-directory, mail-directory-process, mail-directory-stream):
12559 Don't use `pattern' for lexically bound arg.
12560
12561 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12562
12563 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12564 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12565 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12566
12567 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12568 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12569 (byte-interactive-p): Define them again, for use when inlining
12570 old code.
12571
12572 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12573
12574 * loadup.el: Use `string-to-number', not `string-to-int'.
12575
12576 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12577
12578 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12579 gud-gdb-complete-command.
12580 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12581 (gud-gdb-completion-at-point): New function.
12582 (gud-gdb-completions): Remove.
12583
12584 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12585
12586 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12587 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12588 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12589 whether `executable-find' is bound.
12590
12591 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12592
12593 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12594
12595 * minibuffer.el (completion-in-region-mode-predicate)
12596 (completion-in-region-mode--predicate): New vars.
12597 (completion-in-region, completion-in-region--postch)
12598 (completion-in-region-mode): Use them.
12599 (completion--capf-wrapper): Also return the hook function.
12600 (completion-at-point, completion-help-at-point):
12601 Adjust and provide a predicate.
12602
12603 Preserve arg names for advice of subr and lexical functions (bug#8457).
12604 * help-fns.el (help-function-arglist): Consolidate the subr and
12605 new-byte-code cases. Add argument `preserve-names' to extract names
12606 from the docstring when needed.
12607 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12608 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12609 (ad-arglist): Use help-function-arglist's new arg.
12610 (ad-definition-type): Use cond.
12611
12612 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12613
12614 * autorevert.el (auto-revert-handler):
12615 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12616 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12617 Don't quote lambda.
12618
12619 * image-mode.el (image-transform-set-scale):
12620 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12621
12622 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12623
12624 * net/network-stream.el (network-stream-open-starttls): Only do
12625 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12626 Upgrades via gnutls-cli are too slow to be done opportunistically.
12627
12628 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12629
12630 * dframe.el (dframe-current-frame): Remove spurious quote.
12631
12632 2011-04-12 Glenn Morris <rgm@gnu.org>
12633
12634 * calendar/cal-tex.el (cal-tex-end-document):
12635 Try to automatically use latin1 input if needed.
12636
12637 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12638 Don't try to cons a mark onto an empty element.
12639
12640 2011-04-11 Leo Liu <sdl.web@gmail.com>
12641
12642 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12643 buffers.
12644 (ido-kill-buffer-at-head): Support killing virtual buffers.
12645
12646 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12647
12648 * minibuffer.el (completion-show-inline-help): New var.
12649 (completion--do-completion, minibuffer-complete)
12650 (minibuffer-force-complete, minibuffer-complete-word):
12651 Inhibit minibuffer messages if completion-show-inline-help is nil.
12652
12653 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12654 to avoid interference from inline help (Bug#5849).
12655
12656 2011-04-10 Leo Liu <sdl.web@gmail.com>
12657
12658 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12659 Fix typo.
12660
12661 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12662
12663 * image-mode.el (image-toggle-display-image): Signal an error if
12664 not in Image mode.
12665 (image-transform-mode, image-transform-resize)
12666 (image-transform-set-rotation): Doc fix.
12667 (image-transform-set-resize): Delete.
12668 (image-transform-set-scale, image-transform-fit-to-height)
12669 (image-transform-fit-to-width): Handle image-toggle-display-image
12670 and image-transform-resize directly.
12671
12672 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12673
12674 * doc-view.el (doc-view-fit-width-to-window)
12675 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12676 New functions for fitting the shown image to the Emacs window size.
12677 (doc-view-mode-map): Add bindings for the new functions.
12678
12679 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12680
12681 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12682 Fix typo in docstring.
12683
12684 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12685
12686 * files.el (file-size-human-readable): Produce one digit after
12687 decimal, like "ls -lh" does.
12688
12689 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12690 the file size representation.
12691
12692 * simple.el (list-processes): If async subprocesses are not
12693 available, error out with a clear error message.
12694
12695 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12696
12697 * help.el (help-form-show): New function, to be called from C.
12698 Put help-form output in a buffer named differently than *Help*.
12699
12700 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12701
12702 * files.el (file-size-human-readable): New function.
12703
12704 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12705 computing the representation inline. Don't require `cl'.
12706
12707 2011-04-08 Glenn Morris <rgm@gnu.org>
12708
12709 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12710
12711 * net/browse-url.el (browse-url-firefox):
12712 Test system-type, not system-configuration.
12713
12714 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12715 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12716 Use log-edit-empty-buffer-p. (Bug#7598)
12717
12718 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12719 (rlogin-mode-map): Initialize in the defvar.
12720 (rlogin): Use ignore-errors.
12721
12722 * replace.el (occur-mode-map): Some fixes for menu items.
12723
12724 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12725
12726 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12727
12728 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12729
12730 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12731 issuing unused warnings.
12732
12733 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12734 macro directly.
12735
12736 * simple.el: Lisp reimplement of list-processes. Based on an
12737 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12738 (process-menu-mode): New major mode.
12739 (list-processes--refresh, list-processes):
12740 (process-menu-visit-buffer): New functions.
12741
12742 * files.el (save-buffers-kill-emacs): Don't assume any return
12743 value of list-processes, which is undocumented anyway.
12744
12745 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12746
12747 * emacs-lisp/tabulated-list.el: New file.
12748
12749 * emacs-lisp/package.el: Use Tabulated List mode.
12750 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12751 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12752 table format using Tabulated List mode variables.
12753 (package--push): New macro, replacing package-list-maybe-add.
12754 (package-menu--generate): Use package--push. Renamed from
12755 package--generate-package-list.
12756 (package-menu-refresh, list-packages): Use it.
12757 (package-menu--print-info): Rename from package-print-package.
12758 Return insertion data instead of inserting it directly.
12759 (package-menu-describe-package, package-menu-execute):
12760 Use tabulated-list-get-id.
12761 (package-menu-mark-delete, package-menu-mark-install)
12762 (package-menu-mark-unmark, package-menu-backup-unmark)
12763 (package-menu-mark-obsolete-for-deletion):
12764 Use tabulated-list-put-tag.
12765 (package--list-packages, package-menu-revert)
12766 (package-menu-get-package, package-menu-get-version)
12767 (package-menu-sort-by-column): Functions deleted.
12768 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12769 (package-menu--status-predicate, package-menu--version-predicate)
12770 (package-menu--name-predicate)
12771 (package-menu--description-predicate): Handle arguments in the
12772 Tabulated List format.
12773 (package-list-packages-no-fetch): Call list-packages.
12774
12775 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12776
12777 * files.el (after-find-file-from-revert-buffer): Remove variable.
12778 (after-find-file): Don't bind it.
12779 (revert-buffer-in-progress-p): New variable.
12780 (revert-buffer): Bind it.
12781 Pass nil for `after-find-file-from-revert-buffer'.
12782
12783 * saveplace.el (save-place-find-file-hook): Use new variable
12784 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12785
12786 2011-04-06 Glenn Morris <rgm@gnu.org>
12787
12788 * Makefile.in (AUTOGEN_VCS): New variable.
12789 (autoloads): Use $AUTOGEN_VCS.
12790
12791 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12792 * calendar/calendar.el (calendar-mode-map):
12793 Check for toolkit scroll bars. (Bug#8305)
12794
12795 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12796
12797 * minibuffer.el (completion-in-region--postch)
12798 (completion-in-region-mode): Remove unnecessary messages.
12799
12800 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12801
12802 * font-lock.el (font-lock-refresh-defaults):
12803 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12804 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12805
12806 * info.el (Info-directory-list, Info-read-node-name-2)
12807 (Info-split-parameter-string): Doc fixes.
12808 (Info-virtual-nodes): Reflow docstring.
12809 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12810 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12811 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12812 Fix typos in docstrings.
12813 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12814 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12815 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12816 (Info-restore-desktop-buffer): Mark unused parameters.
12817 (Info-directory-find-file, Info-directory-find-node)
12818 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12819 (Info-virtual-index-find-node, Info-apropos-find-file)
12820 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12821 Mark unused parameters; fix typos in docstrings.
12822 (Info-virtual-index): Remove unused local variable `nodename'.
12823
12824 2011-04-05 Deniz Dogan <deniz@dogan.se>
12825
12826 * net/rcirc.el: Update my e-mail address.
12827 (rcirc-mode-map): Remove M-o binding.
12828
12829 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12830
12831 * startup.el (command-line): Save the cursor's theme-face
12832 directly, instead of using face-override-spec.
12833
12834 * custom.el (load-theme): Minor optimization in assigning faces.
12835
12836 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12837
12838 * help-fns.el (describe-variable): Complete all variables having
12839 documentation, including keywords.
12840 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12841
12842 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12843
12844 Convert to lexical-binding.
12845
12846 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12847 (bs--get-marked-string, bs--get-modified-string)
12848 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12849 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12850 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12851
12852 * ehelp.el (electric-help-execute-extended)
12853 (electric-help-ctrl-x-prefix):
12854 * hexl.el (hexl-revert-buffer-function):
12855 * linum.el (linum-after-change, linum-after-scroll):
12856 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12857
12858 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12859
12860 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12861
12862 * epa-dired.el:
12863 * epa-mail.el:
12864 * epa-hook.el:
12865 * epa-file.el:
12866 * epa.el:
12867 * epg.el: Use lexical binding.
12868
12869 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12870
12871 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12872
12873 * textmodes/flyspell.el (flyspell-word): Recognize default
12874 dictionary case for flyspell-mark-duplications-exceptions.
12875 Use regexp matching for languages.
12876 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12877 default dictionary (Bug#7926).
12878
12879 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12880
12881 * emacs-lisp/package.el (package--with-work-buffer):
12882 Recognize https URLs.
12883
12884 * net/network-stream.el: Move from gnus/proto-stream.el.
12885 Change prefix to network-stream throughout.
12886 (open-protocol-stream): Merge into open-network-stream, leaving
12887 open-protocol-stream as an alias. Handle nil BUFFER args.
12888
12889 * subr.el (open-network-stream): Move to net/network-stream.el.
12890
12891 2011-04-02 Glenn Morris <rgm@gnu.org>
12892
12893 * find-dired.el (find-exec-terminator): New option.
12894 (find-ls-option): Test for -ls support.
12895 (find-ls-subdir-switches): Test for -b in find-ls-option.
12896 (find-dired, find-grep-dired): Doc fixes.
12897 (find-dired): Use find-exec-terminator.
12898
12899 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12900 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12901 (find-name-arg): Remove purecopy.
12902
12903 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12904 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12905 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12906 accordingly. Don't add the null-device if not needed.
12907
12908 * files.el (save-some-buffers): Doc fix.
12909
12910 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12911
12912 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12913
12914 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12915
12916 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12917 Use `dolist' rather than `mapcar'.
12918
12919 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12920
12921 Add lexical binding.
12922
12923 * subr.el (apply-partially): Use new closures rather than CL.
12924 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12925 (dolist, dotimes): Use slightly different expansion for lexical code.
12926 (functionp): Move to C.
12927 (letrec): New macro.
12928 (with-wrapper-hook): Use it and apply-partially instead of CL.
12929 (eval-after-load): Preserve lexical-binding.
12930 (save-window-excursion, with-output-to-temp-buffer): Turn them
12931 into macros.
12932
12933 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12934
12935 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12936 than the arglist.
12937 (help-add-fundoc-usage): Don't add `Not documented'.
12938 (help-function-arglist): Handle closures, subroutines, and new
12939 byte-code-functions.
12940 (help-make-usage): Remove leading underscores.
12941 (describe-function-1): Handle closures.
12942 (describe-variable): Use special-variable-p for completion.
12943
12944 * files.el (lexical-binding): Declare safe.
12945
12946 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12947 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12948 (pcase): Add `let' pattern.
12949 Change memoization so it actually works.
12950 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12951 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12952 <let>: New case.
12953
12954 * emacs-lisp/macroexp.el: Use lexical binding.
12955 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12956 Don't convert ' to #' without checking that it's indeed quoting
12957 a lambda.
12958
12959 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12960 Use eval-sexp-add-defvars.
12961 (eval-sexp-add-defvars): New fun.
12962
12963 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12964
12965 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12966 Don't autoload.
12967 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12968 than the internal `byte-compile-lambda'.
12969 (defmethod): Don't hide code under quotes.
12970 (eieio-defmethod): New `code' argument.
12971
12972 * emacs-lisp/eieio-comp.el: Remove.
12973
12974 * emacs-lisp/edebug.el (edebug-eval-defun)
12975 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12976 (edebug-toggle): Avoid `eval'.
12977
12978 * emacs-lisp/disass.el (disassemble-internal): Handle new
12979 `closure' objects.
12980 (disassemble-1): Handle new byte codes.
12981
12982 * emacs-lisp/cl.el (pushnew): Silence warning.
12983
12984 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12985 (cl-byte-compile-throw): Remove.
12986 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12987
12988 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12989 closures.
12990
12991 * emacs-lisp/cconv.el: New file.
12992
12993 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12994 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12995 (byte-compile-initial-macro-environment):
12996 Handle declare-function here.
12997 (byte-compile--lexical-environment): New var.
12998 (byte-stack-ref, byte-stack-set, byte-discardN)
12999 (byte-discardN-preserve-tos): New lap codes.
13000 (byte-interactive-p): Don't use any more.
13001 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13002 New macros.
13003 (byte-compile-lapcode): Use them and handle new lap codes.
13004 (byte-compile-obsolete): Remove.
13005 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13006 (byte-compile-arglist-warn): Check late def of inlinable funs.
13007 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13008 since they should have been expanded by now.
13009 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13010 (byte-compile-from-buffer): Remove unused second arg.
13011 (byte-compile-preprocess): New function.
13012 (byte-compile-toplevel-file-form): New function to distinguish
13013 file-form calls from outside from file-form calls from hunk-handlers.
13014 (byte-compile-file-form): Simplify.
13015 (byte-compile-file-form-defsubst): Remove.
13016 (byte-compile-file-form-defmumble): Simplify now that
13017 byte-compile-lambda always returns a byte-code-function.
13018 (byte-compile): Preprocess.
13019 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13020 Remove, not used any more.
13021 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13022 (byte-compile-make-args-desc): New funs.
13023 (byte-compile-lambda): Handle lexical functions. Always return
13024 a byte-code-function.
13025 (byte-compile-reserved-constants): New var, to make up room for
13026 closed-over variables.
13027 (byte-compile-constants-vector): Obey it.
13028 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13029 (byte-compile-macroexpand-declare-function): New function.
13030 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13031 byte-code-functions.
13032 (byte-compile-form): Check obsolescence here.
13033 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13034 (byte-compile-variable-ref): Remove.
13035 (byte-compile-dynamic-variable-op): New fun.
13036 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13037 (byte-compile-variable-set): New funs.
13038 (byte-compile-discard): Add 2 args.
13039 (byte-compile-stack-ref, byte-compile-stack-set)
13040 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13041 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13042 macroexpand-all instead.
13043 (byte-compile-quote-form): Remove.
13044 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13045 (byte-compile-bind, byte-compile-unbind): New funs.
13046 (byte-compile-let): Handle let* and lexical binding.
13047 (byte-compile-let*): Remove.
13048 (byte-compile-catch, byte-compile-unwind-protect)
13049 (byte-compile-track-mouse, byte-compile-condition-case):
13050 Handle a new :fun-body form, used for lexical scoping.
13051 (byte-compile-save-window-excursion)
13052 (byte-compile-with-output-to-temp-buffer): Remove.
13053 (byte-compile-defun): Simplify.
13054 (byte-compile-stack-adjustment): New fun.
13055 (byte-compile-out): Use it.
13056 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13057
13058 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13059 handler any more.
13060
13061 * emacs-lisp/byte-opt.el: Use lexical binding.
13062 (byte-inline-lapcode): Remove (to bytecomp).
13063 (byte-compile-inline-expand): Pay attention to inlining to/from
13064 lexically bound code.
13065 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13066 any more.
13067 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13068 any more and don't call compiler-macros.
13069 (byte-compile-splice-in-already-compiled-code): Remove.
13070 (byte-code): Don't inline any more.
13071 (disassemble-offset): Receive `bytes' as argument rather than via
13072 dynamic scoping.
13073 (byte-compile-tag-number): Declare before first use.
13074 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13075 `return' even if make-spliceable.
13076 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13077 obsolete interactive-p.
13078 (byte-optimize-lapcode): Optimize new lap-codes.
13079 Don't trip up on new form of `byte-constant' lap code.
13080
13081 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13082
13083 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13084
13085 * custom.el (custom-initialize-default, custom-declare-variable):
13086 Use `defvar'.
13087
13088 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13089 New variables.
13090 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13091 (COMPILE_FIRST): Add macroexp and cconv.
13092 * makefile.w32-in: Mirror changes in Makefile.in.
13093
13094 * vc/cvs-status.el:
13095 * vc/diff-mode.el:
13096 * vc/log-edit.el:
13097 * vc/log-view.el:
13098 * vc/smerge-mode.el:
13099 * textmodes/bibtex-style.el:
13100 * textmodes/css.el:
13101 * startup.el:
13102 * uniquify.el:
13103 * minibuffer.el:
13104 * newcomment.el:
13105 * reveal.el:
13106 * server.el:
13107 * mpc.el:
13108 * emacs-lisp/smie.el:
13109 * doc-view.el:
13110 * dired.el:
13111 * abbrev.el: Use lexical binding.
13112
13113 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13114
13115 * info.el (info-display-manual): New function.
13116
13117 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13118
13119 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13120
13121 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13122
13123 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13124 an entry for that server in rcirc-authinfo. (Bug#8385)
13125
13126 2011-03-31 Glenn Morris <rgm@gnu.org>
13127
13128 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13129
13130 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13131
13132 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13133
13134 * progmodes/python.el (python-default-interpreter)
13135 (python-python-command-args, python-jython-command-args)
13136 (python-which-shell, python-which-args, python-which-bufname)
13137 (python-file-queue, python-comint-output-filter-function)
13138 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13139 variables and functions.
13140
13141 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13142
13143 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13144 (completion-in-region-mode): New minor mode.
13145 (completion-in-region): Use it.
13146 (completion-in-region--data, completion-in-region-mode-map): New vars.
13147 (completion-in-region--postch): New function.
13148 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13149 New vars.
13150 (completion--capf-wrapper): New function.
13151 (completion-at-point): Use it to track well-behavedness of
13152 hook functions.
13153 (completion-help-at-point): New command.
13154
13155 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13156
13157 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13158 syntax class to search for whitespace on a single line
13159 (Message-ID: <4D938140.4030905@redhat.com>).
13160
13161 2011-03-30 Leo Liu <sdl.web@gmail.com>
13162
13163 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13164 New commands.
13165 (edit-abbrevs-map): Bind them here.
13166 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13167
13168 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13169
13170 * allout.el (allout-hide-by-annotation, allout-flag-region):
13171 Reduce possibility of overlay leakage by making them volatile.
13172
13173 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13174 hash is not shared between buffers. Mode initialization is
13175 responsible for giving it a useful starting value.
13176 (allout-item-span): Reduce possibility of overlay leakage by
13177 making them volatile.
13178 (allout-widgets-count-buttons-in-region): Add diagnostic function
13179 for tracking down button overlay leaks.
13180
13181 2011-03-29 Leo Liu <sdl.web@gmail.com>
13182
13183 * ido.el (ido-read-internal): Use the default history var
13184 minibuffer-history if no HISTORY is specified.
13185
13186 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13187
13188 * net/imap.el (imap-shell-open, imap-process-connection-type):
13189 Use imap-process-connection-type for 'shell' streams as well as
13190 Kerberos, SSL, other subprocesses.
13191
13192 2011-03-28 Leo Liu <sdl.web@gmail.com>
13193
13194 * abbrev.el (abbrev-table-empty-p): New function.
13195 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13196 nonempty ones. (Bug#5937)
13197
13198 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13199
13200 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13201
13202 2011-03-27 Leo Liu <sdl.web@gmail.com>
13203
13204 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13205 for foreground and background colors.
13206 (ansi-color-make-color-map): Adapt.
13207
13208 2011-03-25 Leo Liu <sdl.web@gmail.com>
13209
13210 * midnight.el (midnight-time-float): Remove. Note it calculates
13211 the microsecond component incorrectly and seconds-to-time does the
13212 same job.
13213 Remove redundant (require 'timer).
13214
13215 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13216 (ido-completions): Remove unused arguments. (Bug#8329)
13217
13218 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13219
13220 * minibuffer.el (completion--flush-all-sorted-completions):
13221 Remove itself from hook.
13222 (completion-at-point): Let the functions perform the completion
13223 immediately and return nil or t.
13224 * comint.el (comint-dynamic-complete-functions): Now identical to
13225 completion-at-point-functions.
13226 (comint-dynamic-list-input-ring): Remove unused var `index'.
13227 (comint--match-partial-filename, comint--unquote&expand-filename):
13228 New funs, split from comint-match-partial-filename.
13229 (comint-dynamic-complete): Use completion-at-point.
13230 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13231
13232 2011-03-24 Drew Adams <drew.adams@oracle.com>
13233
13234 * thingatpt.el: Support `defun'.
13235
13236 2011-03-23 Leo Liu <sdl.web@gmail.com>
13237
13238 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13239
13240 * help-mode.el (help-mode-finish): Tweak regexp.
13241
13242 2011-03-23 Glenn Morris <rgm@gnu.org>
13243
13244 * eshell/esh-opt.el (eshell-eval-using-options):
13245 Do not bind unused local variable `eshell-option-stub'.
13246
13247 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13248
13249 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13250
13251 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13252 keymap variable in `with-no-warnings' to avoid a warning when the
13253 keymap has been already `defconst'ed.
13254
13255 2011-03-22 Leo Liu <sdl.web@gmail.com>
13256
13257 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13258 encode all chars in abbrevs; otherwise use emacs-mule or
13259 utf-8-emacs. (Bug#8308)
13260
13261 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13262
13263 * simple.el (backward-delete-char-untabify):
13264 Avoid warning about using `delete-backward-char'.
13265
13266 * image.el (image-type-file-name-regexps): Make it variable.
13267 `imagemagick-register-types' modifies it, and the user may want
13268 to add new extensions for known image types.
13269 (imagemagick-register-types): Throw error if not using ImageMagick.
13270
13271 2011-03-22 Leo Liu <sdl.web@gmail.com>
13272
13273 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13274 located before rcirc-prompt-end-marker.
13275 (rcirc-complete): Error if point is not after rcirc prompt.
13276 Handle the case when table is nil.
13277 (rcirc-user-authenticated): Define to fix compiler warning.
13278
13279 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13280
13281 * custom.el (custom--inhibit-theme-enable): Make it affect only
13282 custom-theme-set-variables and custom-theme-set-faces.
13283 (provide-theme): Ignore custom--inhibit-theme-enable.
13284 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13285 (custom-enabling-themes): Delete variable.
13286 (enable-theme): Accept only loaded themes as arguments.
13287 Ignore the special custom-enabled-themes variable.
13288 (custom-enabled-themes): Forbid themes from setting this.
13289 Eliminate use of custom-enabling-themes.
13290 (custom-push-theme): Quote "changed" custom var entry.
13291
13292 2011-03-21 Leo Liu <sdl.web@gmail.com>
13293
13294 * ido.el (ido-read-internal): Add ido-selected to history instead
13295 of user input.
13296
13297 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * subr.el (deferred-action-list, deferred-action-function):
13300 Mark obsolete.
13301
13302 2011-03-21 Leo Liu <sdl.web@gmail.com>
13303
13304 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13305 change on 2011-02-13 (bug#8309).
13306
13307 * minibuffer.el (read-file-name-function): Change default value.
13308 (read-file-name--defaults): Rename from read-file-name-defaults.
13309 (read-file-name-default): Rename from read-file-name.
13310 (read-file-name): Call read-file-name-function.
13311
13312 2011-03-21 Glenn Morris <rgm@gnu.org>
13313
13314 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13315 Doc fixes.
13316
13317 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13318
13319 * cus-theme.el: Add missing provide statement.
13320 (customize-create-theme): Extract theme value correctly.
13321 (custom-theme-visit-theme): Autoload.
13322 (customize-create-theme): Prompt before inserting default faces.
13323
13324 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13325
13326 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13327 units and musical notes.
13328
13329 2011-03-20 Leo Liu <sdl.web@gmail.com>
13330
13331 * ido.el (ido-read-internal): Use completing-read-default.
13332 (ido-completing-read): Fix compatibility with completing-read.
13333
13334 2011-03-20 Christian Ohler <ohler@gnu.org>
13335
13336 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13337 (ert-delete-all-tests): Use `called-interactively-p' rather than
13338 `interactive-p'.
13339 (ert--make-xrefs-region): Respect END.
13340
13341 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13342
13343 * dired-aux.el (dired-create-directory): Signal an error if the
13344 directory already exists (Bug#8246).
13345
13346 * facemenu.el (list-colors-display): Call list-faces-display
13347 inside with-help-window.
13348 (list-colors-print): Use display property to align the final
13349 column, instead of checking window-width.
13350
13351 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13352
13353 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13354 windows-nt systems.
13355 (emerge-protect-metachars): Quote correctly for ms-dos and
13356 windows-nt systems.
13357
13358 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13359
13360 * info.el (info-initialize): Replace all uses of `:' with
13361 path-separator for compatibility with non-Unix systems.
13362 Cache quoting of path-separator. (Bug#8258)
13363
13364 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13365
13366 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13367 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13368 (mouse-avoidance-mode): Fix typos in docstrings.
13369
13370 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13371
13372 * startup.el (package-subdirectory-regexp): Move from package.el.
13373 Omit \\` and \\', and let callers add them.
13374
13375 * emacs-lisp/package.el (package-strip-version)
13376 (package-load-all-descriptors): Add \\` and \\' to
13377 package-subdirectory-regexp before using it.
13378 (package-untar-buffer): New arg DIR; ensure that file untars only
13379 into this expected directory. Remove superfluous delete-region.
13380 (package-unpack): Caller changed.
13381 (package-tar-file-info): Use package-subdirectory-regexp.
13382
13383 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13386 diff-mode-shared-map (bug#8284).
13387 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13388
13389 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13390
13391 * calendar/time-date.el (format-seconds): Use assoc instead of
13392 assoc-string, since assoc-string doesn't exist in XEmacs.
13393
13394 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13395
13396 * custom.el (custom-known-themes): Reflow docstring.
13397 (custom-theme-load-path): Fix typo in docstring.
13398 (load-theme): Fix typo in error message.
13399 (custom-available-themes, custom-variable-theme-value):
13400 Use `let', not `let*'.
13401
13402 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13403
13404 * calc/README: Mention inclusion of musical notes.
13405
13406 * calc/calc-units.el (calc-lu-quant): Rename from
13407 `calc-logunits-quantity'.
13408 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13409 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13410 (calc-db): Rename from `calc-dblevel'.
13411 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13412 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13413 (calc-np): Rename from `calc-nplevel'.
13414 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13415 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13416 (calc-lu-plus): Rename from `calc-logunits-add'.
13417 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13418 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13419 (calc-lu-minus): Rename from `calc-logunits-sub'.
13420 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13421 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13422 (calc-lu-times): Rename from `calc-logunits-mul'.
13423 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13424 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13425 (calc-lu-divide): Rename from `calc-logunits-div'.
13426 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13427 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13428
13429 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13430 functions being autoloaded.
13431
13432 * calc/calc.el (calc-lu-power-reference): Rename from
13433 `calc-logunits-power-reference'.
13434 (calc-lu-field-reference): Rename from
13435 `calc-logunits-field-reference'.
13436
13437 * calc/calc-help.el (calc-l-prefix-help):
13438 Mention musical note functions.
13439
13440 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13441
13442 * minibuffer.el (completion-all-sorted-completions):
13443 Use :completion-cycle-penalty text property if present.
13444
13445 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13446
13447 * allout.el (allout-yank-processing): Adjust for new rebulleting
13448 regime so bullet being yanked is used without prompting the user
13449 for a choice.
13450
13451 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13452
13453 * startup.el (command-line): Warn the user that _emacs is deprecated.
13454
13455 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13456
13457 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13458 (delphi-verbose, delphi-comment-face, delphi-string-face)
13459 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13460 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13461 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13462 (delphi-new-comment-line, delphi-font-lock-defaults)
13463 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13464 Fix typos in docstrings.
13465
13466 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13467
13468 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13469 Invert the roles of character and string values for INSTEAD, so a
13470 string is used for the more common case of a defaulting prompt.
13471
13472 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13473
13474 * progmodes/ruby-mode.el (ruby-backward-sexp):
13475 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13476 * play/gamegrid.el (gamegrid-make-face):
13477 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13478 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13479 * notifications.el (notifications-notify):
13480 * net/xesam.el (xesam-search-engines):
13481 * net/quickurl.el (quickurl-list-insert):
13482 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13483
13484 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13485
13486 * startup.el (command-line): Update package subdirectory regexp.
13487
13488 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13489
13490 * allout.el (allout-abbreviate-flattened-numbering)
13491 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13492
13493 * subr.el (read-char-choice): Only show the cursor after the prompt,
13494 not after the answer.
13495
13496 2011-03-15 Kevin Ryde <user42@zip.com.au>
13497
13498 * help-fns.el (variable-at-point): Skip leading quotes, if any
13499 (bug#8253).
13500
13501 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13504 warning message.
13505
13506 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13507
13508 * shell.el (shell): When called interactively, offer to change the
13509 shell file name on remote hosts.
13510
13511 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13512
13513 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13514 integration for LDAP parameters. The host, base, user or binddn,
13515 and secret tokens can be specified in a netrc file, for instance.
13516 This is optional because an `auth-source' parameter must be
13517 specified in the search attributes.
13518
13519 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13520
13521 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13522
13523 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13524
13525 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13526 into declaration. Remove redundant and harmful binding.
13527
13528 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13529
13530 * files.el (file-ownership-preserved-p): Pass `integer' as an
13531 explicit 2nd argument to `file-attributes'. If the file's owner
13532 is the Administrators group on Windows, and the current user is
13533 Administrator, consider that a match.
13534
13535 * server.el (server-ensure-safe-dir): Consider server directory
13536 safe on MS-Windows if its owner is the Administrators group while
13537 the current Emacs user is Administrator. Use `=' to compare
13538 numerical UIDs, since they could be integers or floats.
13539
13540 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13541
13542 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13543
13544 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13545
13546 Sync with Tramp 2.2.1.
13547
13548 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13549
13550 * net/trampver.el: Update release number.
13551
13552 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * progmodes/compile.el (compilation--previous-directory): Fix up
13555 various nil/dead-marker mismatches (bug#8014).
13556 (compilation-directory-properties, compilation-error-properties):
13557 Don't call it at a position past the one we're about to change.
13558
13559 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13560 Disable obsolescence warnings in the file that declares it.
13561
13562 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13563
13564 * allout-widgets.el (allout-widgets-tally):
13565 Initialize allout-widgets-tally as a hash table rather than nil to
13566 prevent mode-line redisplay warnings. Also, clarify the module
13567 description and fix a comment typo.
13568
13569 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13570
13571 * help-fns.el (describe-variable): Don't complete keywords.
13572 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13573
13574 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13575
13576 * emacs-lisp/package.el (package-version-join): Impose a standard
13577 string representation for pre/alpha/beta version lists.
13578 (package-unpack-single): Standardize the directory name by passing
13579 it through package-version-join.
13580 (package-strip-rcs-id): Accept any version string that does not
13581 signal an error in version-to-list.
13582
13583 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13584
13585 * simple.el (delete-trailing-whitespace): Return nil for the
13586 benefit of `write-file-functions'.
13587
13588 2011-03-10 Glenn Morris <rgm@gnu.org>
13589
13590 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13591
13592 * vc/vc-git.el (vc-git-program): New option.
13593 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13594 (vc-git--call): Use it.
13595
13596 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13597
13598 * cus-edit.el (Custom-newline): If no button at point, look
13599 for a subgroup button at start-of-line. (Bug#2298)
13600
13601 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13602
13603 2011-03-10 Julien Danjou <julien@danjou.info>
13604
13605 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13606 `cursor-type' is nil.
13607
13608 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13609
13610 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13611
13612 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13613
13614 * allout.el: Change so yank of distinctive-bullet items
13615 preserves the existing header prefix, rebulleting it if necessary,
13616 rather than replacing it. This is necessary for proper operation
13617 of cooperative addons like allout-widgets.
13618 (allout-make-topic-prefix, allout-rebullet-heading):
13619 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13620 value as alternate bullet to be used, instead of prompting the user
13621 for a bullet character.
13622
13623 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13624
13625 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13626 Do not use `tramp-file-name-port', because this returns also
13627 `tramp-default-port'.
13628
13629 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13630
13631 * net/rcirc.el (rcirc-handler-001): Remove useless
13632 with-rcirc-process-buffer.
13633 (rcirc-check-auth-status): Swap arguments to string-match.
13634
13635 2011-03-09 Glenn Morris <rgm@gnu.org>
13636
13637 * shell.el (shell-mode):
13638 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13639
13640 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13641 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13642
13643 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13644
13645 * emacs-lisp/package.el (package-refresh-contents)
13646 (package-menu-execute): Use condition-case-no-debug.
13647
13648 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13649
13650 * simple.el (shell-command-to-string): Use `process-file'.
13651
13652 * emacs-lisp/package.el (package-tar-file-info): Handle also
13653 remote files.
13654
13655 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13656 Use `equal' for upload base check.
13657
13658 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13659
13660 * textmodes/texinfo.el (texinfo-environments):
13661 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13662
13663 2011-03-08 Glenn Morris <rgm@gnu.org>
13664
13665 * cus-start.el (cursor-in-non-selected-windows):
13666 Fix :set quoting oddness. (Bug#8192)
13667
13668 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13669 in some setf expressions. (Bug#2159)
13670
13671 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13672
13673 * custom.el (custom-available-themes): Return themes in
13674 alphabetical order.
13675
13676 See ChangeLog.15 for earlier changes.
13677
13678 ;; Local Variables:
13679 ;; coding: utf-8
13680 ;; End:
13681
13682 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13683
13684 This file is part of GNU Emacs.
13685
13686 GNU Emacs is free software: you can redistribute it and/or modify
13687 it under the terms of the GNU General Public License as published by
13688 the Free Software Foundation, either version 3 of the License, or
13689 (at your option) any later version.
13690
13691 GNU Emacs is distributed in the hope that it will be useful,
13692 but WITHOUT ANY WARRANTY; without even the implied warranty of
13693 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13694 GNU General Public License for more details.
13695
13696 You should have received a copy of the GNU General Public License
13697 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.