]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
lisp/textmodes/rst.el: Silence byte-compiler warnings.
[gnu-emacs] / lisp / ChangeLog
1 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2
3 * textmodes/rst.el: Silence byte-compiler warnings.
4 (rst-re-alist, rst-reset-section-caches): Move around.
5 (rst-re): Use `characterp', not `char-valid-p'.
6 (font-lock-beg, font-lock-end): Declare.
7
8 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10
11 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12
13 2012-05-08 Glenn Morris <rgm@gnu.org>
14
15 * files.el (auto-mode-alist): Treat ".make" like ".mk".
16
17 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * vc/log-edit.el: Add GNU coding standards highlighting.
20 (log-edit-font-lock-gnu-style)
21 (log-edit-font-lock-gnu-keywords): New vars.
22 (log-edit-font-lock-keywords): New fun.
23 (log-edit-mode): Don't fold case in font-lock.
24 (log-edit-font-lock-keywords): Do not assume case-folding.
25
26 * imenu.el: Misc cleanup. Make docstrings out of comments.
27 Use lexical-binding.
28 (imenu--index-alist, imenu--last-menubar-index-alist)
29 (imenu-menubar-modified-tick): Use defvar-local.
30 (imenu--split-menu): Remove unused var.
31 (imenu--cleanup-seen): Declare as global.
32 (imenu--cleanup): Use dolist.
33
34 * subr.el (defvar-local): Add debug spec and doc-string position.
35
36 2012-05-08 Glenn Morris <rgm@gnu.org>
37
38 * lisp/language/burmese.el, language/cham.el, language/czech.el:
39 * language/english.el, language/georgian.el, language/greek.el:
40 * language/japanese.el, language/khmer.el, language/korean.el:
41 * language/lao.el, language/misc-lang.el, language/romanian.el:
42 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
43 * language/thai.el, language/utf-8-lang.el:
44 Remove no-byte-compile setting.
45
46 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
47
48 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
49
50 * progmodes/make-mode.el (makefile-browse):
51 Remove unnecessary interactive. (Bug#11324)
52
53 2012-05-07 Glenn Morris <rgm@gnu.org>
54
55 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
56
57 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
58
59 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * loadup.el: Preload newcomment.el.
62 * newcomment.el: Move autoload-only code to toplevel.
63
64 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
65 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
66 Handle new :right-align column property.
67 (tabulated-list-print-col): Idem, plus use `display' text-property to
68 try and preserve alignment for variable pitch fonts.
69
70 2012-05-07 Chong Yidong <cyd@gnu.org>
71
72 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
73 (tabulated-list-use-header-line): New var.
74 (tabulated-list-init-header): Use it.
75 (tabulated-list-print-fake-header): New function.
76 (tabulated-list-print): Use it.
77 (tabulated-list-sort-button-map): Add non-header-line commands.
78 (tabulated-list-init-header): Add column name property to basic
79 labels as well.
80 (tabulated-list-col-sort): Handle non-header-line button case.
81 (tabulated-list--sort-by-column-name): Fix a corner case.
82
83 * buff-menu.el (list-buffers--refresh):
84 Handle Buffer-menu-use-header-line.
85
86 2012-05-06 Chong Yidong <cyd@gnu.org>
87
88 * buff-menu.el: Convert to Tabulated List mode.
89 (Buffer-menu-buffer+size-width): Make obsolete.
90 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
91 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
92 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
93 documentation into docstring of buffer-menu.
94 (Buffer-menu-toggle-files-only): Add an informative message.
95 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
96 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
97 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
98 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
99 (Buffer-menu-execute, Buffer-menu-select)
100 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
101 (Buffer-menu-bury): Use Tabulated List machinery.
102 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
103 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
104 Delete.
105 (list-buffers--refresh): New function.
106 (list-buffers-noselect): Use it.
107 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
108 (Buffer-menu--pretty-file-name): New helper functions.
109
110 * loadup.el: Preload tabulated-list.
111
112 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
113 tabulated-list-sort-column.
114 (tabulated-list-init-header): Add the initial aligning space even
115 if tabulated-list-padding is zero.
116
117 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
118
119 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
120 whose cdr is not a cons cell correctly (bug#11038).
121
122 2012-05-06 Chong Yidong <cyd@gnu.org>
123
124 * emacs-lisp/tabulated-list.el (tabulated-list-format):
125 Accept additional plist in column descriptors.
126 (tabulated-list-init-header): Obey it.
127 (tabulated-list-get-entry): New function.
128 (tabulated-list-put-tag): Use it. Use string-width instead of
129 length.
130 (tabulated-list--column-number): New function.
131 (tabulated-list-print): Use it.
132 (tabulated-list-print-col): New function.
133 Set `tabulated-list-column-name' property on each column's text.
134 (tabulated-list-print-entry): Use it.
135 (tabulated-list-delete-entry, tabulated-list-set-col):
136 New functions.
137 (tabulated-list-sort-column): New command (Bug#11337).
138
139 * buff-menu.el (list-buffers): Move C-x C-b binding from
140 buff-menu.el to bindings.el.
141
142 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
143 :advertised-binding feature.
144
145 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
146
147 * progmodes/compile.el (compilation-internal-error-properties):
148 Calculate start position correctly when end-col is set but
149 end-line is not (Bug#11382).
150
151 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
152
153 * man.el (Man-unindent): Use text-property-default-nonsticky to
154 prevent untabify from inheriting face properties (Bug#11408).
155
156 2012-05-05 Glenn Morris <rgm@gnu.org>
157
158 * calendar/cal-html.el: Optionally include holidays in the output.
159 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
160 (cal-html-holidays): New option.
161 (cal-html-css-default): Add holiday entry.
162 (holiday-in-range): Autoload it.
163 (cal-html-htmlify-entry): Add optional class argument.
164 (cal-html-htmlify-list): Add optional holidays argument.
165 (cal-html-insert-agenda-days): Include holidays in the output.
166 (cal-html-one-month): Maybe include holidays.
167
168 * calendar/holidays.el (holiday-in-range):
169 Move here from cal-tex-list-holidays.
170 * calendar/cal-tex.el (cal-tex-list-holidays):
171 Make it an obsolete alias for holiday-in-range. Update all callers.
172
173 2012-05-05 Chong Yidong <cyd@gnu.org>
174
175 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
176 Nextstep.
177
178 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
179
180 * files.el (file-auto-mode-skip): New var.
181 (set-auto-mode-1): Use it.
182
183 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * repeat.el: Use lexical-binding.
186 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
187 (repeat-undo-count): Remove.
188 (repeat):
189 * progmodes/octave-mod.el (octave-abbrev-start):
190 * progmodes/f90.el (f90-abbrev-start):
191 * face-remap.el (text-scale-adjust):
192 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
193
194 * emacs-lisp/pcase.el (pcase--let*): New function.
195 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
196 a bit more.
197 (pcase--split-pred): Be more clever about ruling out overlap between
198 a predicate and some constant pattern.
199 (pcase--q1): Use `null' instead of (eq foo nil).
200
201 * subr.el (setq-local, defvar-local): New macros.
202 (kbd): Redefine as an alias.
203 (with-selected-window): Leave unrelated frames alone.
204 (set-temporary-overlay-map): New function.
205
206 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * subr.el (user-error): New function.
209 * window.el (switch-to-buffer):
210 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
211 (smerge-match-conflict):
212 * simple.el (previous-matching-history-element)
213 (next-matching-history-element, goto-history-element, undo-more)
214 (undo-start):
215 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
216 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
217 (next-file, tags-loop-scan, list-tags, complete-tag):
218 * progmodes/compile.el (compilation-loop):
219 * mouse.el (mouse-minibuffer-check):
220 * man.el (Man-bgproc-sentinel, Man-goto-page):
221 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
222 (Info-history-forward, Info-follow-reference, Info-menu)
223 (Info-extract-menu-item, Info-extract-menu-counting)
224 (Info-forward-node, Info-backward-node, Info-next-menu-item)
225 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
226 (Info-next-reference, Info-prev-reference, Info-index)
227 (Info-index-next, Info-follow-nearest-node)
228 (Info-copy-current-node-name):
229 * imenu.el (imenu--make-index-alist)
230 (imenu-default-create-index-function, imenu-add-to-menubar):
231 * files.el (basic-save-buffer, recover-file):
232 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
233 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
234 (checkdoc-message-text, checkdoc-defun):
235 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
236 * cus-edit.el (customize-changed-options, customize-rogue)
237 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
238 (custom-variable-mark-to-reset-standard)
239 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
240 (custom-file):
241 * completion.el (check-completion-length):
242 * comint.el (comint-search-arg)
243 (comint-previous-matching-input-string-position)
244 (comint-previous-matching-input)
245 (comint-replace-by-expanded-history-before-point, comint-send-input)
246 (comint-copy-old-input, comint-backward-matching-input)
247 (comint-goto-process-mark, comint-set-process-mark):
248 * calendar/calendar.el (calendar-cursor-to-date): Use it.
249 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
250
251 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * dabbrev.el (dabbrev--ignore-case-p): New function.
254 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
255 Use it.
256
257 * files.el (automount-dir-prefix): Mark as obsolete.
258
259 2012-05-04 Glenn Morris <rgm@gnu.org>
260
261 * patcomp.el, play/bruce.el: Move to obsolete/.
262
263 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
264
265 Fix minor Y10k bugs.
266 * arc-mode.el (archive-unixdate):
267 * autoinsert.el (auto-insert-alist):
268 * calc/calc-forms.el (math-this-year):
269 * emacs-lisp/copyright.el (copyright-current-year)
270 (copyright-update-year, copyright):
271 * tar-mode.el (tar-clip-time-string):
272 * time.el (display-time-update):
273 Don't assume years have 4 digits.
274
275 2012-05-04 Chong Yidong <cyd@gnu.org>
276
277 * dos-w32.el (file-name-buffer-file-type-alist)
278 (direct-print-region-use-command-dot-com):
279 * ffap.el (ffap-menu-regexp):
280 * find-file.el (ff-special-constructs):
281 * follow.el (follow-debug):
282 * forms.el (forms--debug):
283 * iswitchb.el (iswitchb-all-frames):
284 * ido.el (ido-all-frames):
285 * emacs-lisp/timer.el (timer-max-repeats):
286 * mail/feedmail.el (feedmail-mail-send-hook)
287 (feedmail-mail-send-hook-queued):
288 * mail/footnote.el (footnote-signature-separator):
289 * mail/mailabbrev.el (mail-alias-separator-string)
290 (mail-abbrev-mode-regexp):
291 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
292 * progmodes/idlwave.el (idlwave-libinfo-file)
293 (idlwave-default-completion-case-is-down)
294 (idlwave-library-routines): Convert defvars to defcustoms.
295
296 * mail/rmail.el (rmail-decode-mime-charset):
297 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
298 (idlwave-shell-fix-inserted-breaks)
299 (idlwave-shell-activate-alt-keybindings)
300 (idlwave-shell-use-breakpoint-glyph):
301 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
302
303 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
304
305 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
306
307 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
308
309 * progmodes/verilog-mode.el (font-lock-keywords):
310 Fix mis-highligting auto. Reported by Craig Barner.
311 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
312 defines from global name space. Reported by Dan Dever.
313 (verilog-auto-reset, verilog-auto-reset-widths)
314 (verilog-auto-tieoff): Support using unbased numbers for
315 AUTORESET and AUTOTIEOFF.
316 (verilog-submit-bug-report): Update variable list.
317 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
318 parenthesis from not matching. Reported by Michael Rytting.
319 (verilog-auto-template-lint): Fix hash error when linting modules
320 with no used templates.
321 (verilog-warn, verilog-warn-error)
322 (verilog-warn-fatal): When non-interactive report multiple
323 warnings before exiting. Suggested by Brad Dobbie.
324 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
325 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
326 to report unused template errors. Reported by Brad Dobbie.
327 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
328 nets, bug438. Reported by Vns Blore.
329 (verilog-auto-inout-module, verilog-auto-reg)
330 (verilog-read-decls, verilog-read-sub-decls-sig)
331 (verilog-signals-edit-wire-reg, verilog-signals-with):
332 Fix passing of Verilog data types in ANSI input/output ports
333 such as "output logic" into the AUTOs. Special case "wire" and
334 "reg" for backwards compatibility presuming Verilog 2001.
335 (verilog-auto-ascii-enum): Add "auto enum" as alias.
336 (verilog-preprocess): Fix replication of preprocess output.
337 Reported by Brad Dobbie.
338 (verilog-auto-inst-interfaced-ports):
339 Create verilog-auto-inst-interfaced-ports, bug429.
340 Reported by Julian Gorfajn.
341 (verilog-after-save-font-hook)
342 (verilog-before-save-font-hook): New variable.
343 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
344 (verilog-save-font-mods): Wrap disabling fontification, reported
345 by David Rogoff.
346 (verilog-do-indent, verilog-pretty-declarations-auto)
347 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
348 Reported by Pierre-David Pfister.
349 (verilog-set-auto-endcomments): Fix endtask auto comments outside
350 of class declarations, bug292. Reported by Kevin Heilman.
351 (verilog-read-decls): Fix 'parameter type' not appearing in
352 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
353 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
354 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
355 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
356 Reported by David Kravitz.
357
358 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
359
360 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
361 assignment with tests in ifs and for loops.
362 (verilog-extended-complete-re, verilog-complete-reg): Change so
363 that DPI inport functions don't look like fuction declarations.
364 (verilog-pretty-expr): Don't line up assignment
365 operations to the test and increment in if and for loops
366 (verilog-extended-complete-re, verilog-complete-reg): Change so
367 that DPI inport functions don't look like fuction declarations
368
369 2012-05-03 Kenichi Handa <handa@m17n.org>
370
371 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
372 decoding, and show a warning message without signalling an error
373 (Bug#11282).
374
375 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
376
377 * emacs-lisp/bytecomp.el
378 (byte-compile-file-form-custom-declare-variable): Compile all elements,
379 since cconv.el might have introduced :fun-body, internal-make-closure,
380 and friends for bytecomp to handle (bug#11391).
381 * custom.el (defcustom): Avoid ((λ ..) ..).
382
383 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
384
385 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
386
387 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
388
389 * notifications.el (dbus-debug):
390 * term/linux.el (gpm-mouse-enable):
391 * term/screen.el (xterm-register-default-colors): Declare.
392
393 2012-05-02 Chong Yidong <cyd@gnu.org>
394
395 * cus-start.el (gc-cons-percentage, exec-suffixes)
396 (dos-display-scancodes, dos-hyper-key, dos-super-key)
397 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
398 (make-cursor-line-fully-visible, void-text-area-pointer)
399 (font-list-limit): Add customization data.
400
401 * allout.el (allout-exposure-change-functions)
402 (allout-structure-added-functions)
403 (allout-structure-deleted-functions)
404 (allout-structure-shifted-functions): Rename abnormal hooks from
405 *-hook, and convert to defcustoms.
406 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
407 Convert to defcustoms.
408 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
409
410 * allout-widgets.el: Hook callers changed.
411
412 2012-05-02 Eli Zaretskii <eliz@gnu.org>
413
414 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
415 the yanked message in preference to the default value of
416 buffer-file-coding-system.
417
418 2012-05-02 Martin Rudalics <rudalics@gmx.at>
419
420 * window.el (display-buffer--action-function-custom-type):
421 Fix entry.
422
423 2012-05-02 Alan Mackenzie <acm@muc.de>
424
425 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
426
427 2012-05-01 Glenn Morris <rgm@gnu.org>
428
429 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
430
431 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
432
433 * cus-edit.el (custom-variable-documentation): Simplify with format.
434
435 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
436 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * simple.el (suggest-key-bindings, execute-extended-command):
439 Move from keyboard.c.
440
441 2012-05-01 Chong Yidong <cyd@gnu.org>
442
443 * follow.el: Eliminate advice.
444 (set-process-filter, process-filter, sit-for): Advice deleted.
445 (follow-mode-off-hook): Obsolete hook removed.
446 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
447 Vars deleted.
448 (follow-auto): Use a :set function.
449 (follow-mode): Rewritten. Don't advise process filters.
450 (follow-switch-to-current-buffer-all, follow-scroll-up)
451 (follow-scroll-down): Assume follow-mode is bound.
452 (follow-comint-scroll-to-bottom)
453 (follow-align-compilation-windows): New functions.
454 (follow--window-sorter): New function.
455 (follow-all-followers): Use it to explicitly sort windows by their
456 positions; don't make assumptions about next-window order.
457 (follow-windows-start-end, follow-delete-other-windows-and-split)
458 (follow-calc-win-start): Doc fix.
459 (follow-windows-aligned-p, follow-select-if-visible): Don't call
460 vertical-motion unnecessarily.
461 (follow-adjust-window): New function.
462 (follow-post-command-hook): Use it.
463 (follow-call-set-process-filter, follow-call-process-filter)
464 (follow-intercept-process-output, follow-tidy-process-filter-alist)
465 (follow-stop-intercept-process-output, follow-generic-filter):
466 Functions deleted.
467 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
468 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
469 New functions, replacing advice on scroll-bar-* commands.
470 (follow-mwheel-scroll): New function (Bug#4112).
471
472 * comint.el (comint-adjust-point): New function.
473 (comint-postoutput-scroll-to-bottom): Use it.
474 Call follow-comint-scroll-to-bottom for Follow mode buffers.
475
476 2012-05-01 Glenn Morris <rgm@gnu.org>
477
478 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
479 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
480 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
481 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
482 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
483 Remove no-byte-compile setting.
484
485 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * minibuffer.el (completion-table-with-quoting): Fix compatibility
488 all-completions code to not return a number in the last cdr.
489
490 2012-04-30 Leo Liu <sdl.web@gmail.com>
491
492 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
493 read-only error.
494
495 2012-04-29 Chong Yidong <cyd@gnu.org>
496
497 * follow.el (follow-calc-win-end): Rewrite to handle partial
498 screen lines correctly (Bug#8390).
499 (follow-avoid-tail-recenter): Minor cleanup.
500
501 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 Avoid the obsolete `assoc' package.
504 * speedbar.el (speedbar-refresh): Avoid adelete.
505 (speedbar-file-lists): Simplify and avoid aput.
506 * man.el (Man--sections, Man--refpages): New vars, replacing
507 Man-sections-alist and Man-refpages-alist.
508 (Man-build-section-alist, Man-build-references-alist):
509 Use them; avoid aput.
510 (Man--last-section, Man--last-refpage): New vars.
511 (Man-follow-manual-reference): Use them.
512 Use the `default' arg of completing-read.
513 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
514
515 2012-04-27 Chong Yidong <cyd@gnu.org>
516
517 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
518
519 * startup.el (x-apply-session-resources): New function.
520
521 * term/ns-win.el (ns-initialize-window-system):
522 * term/w32-win.el (w32-initialize-window-system):
523 * term/x-win.el (x-initialize-window-system): Use it to properly
524 set menu-bar-mode and other vars from X resources, even if the
525 initial frame is not a window-system frame (Bug#2299).
526
527 * subr.el (read-key): Avoid running filter function when setting
528 up temporary tool bar entries (Bug#9922).
529
530 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
531
532 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
533 (Bug#11344)
534
535 2012-04-27 Chong Yidong <cyd@gnu.org>
536
537 * select.el (xselect--encode-string): New function, split from
538 xselect-convert-to-string.
539 (xselect-convert-to-string): Use it.
540 (xselect-convert-to-filename, xselect-convert-to-os)
541 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
542 returned strings are properly encoded (Bug#11315).
543
544 2012-04-27 Chong Yidong <cyd@gnu.org>
545
546 * simple.el (delete-active-region): Move to killing custom group.
547
548 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
549
550 * progmodes/which-func.el (which-func-current): Quote %
551 characters for mode-line processing.
552
553 2012-04-27 Chong Yidong <cyd@gnu.org>
554
555 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
556 reaching eob (Bug#11286).
557
558 2012-04-27 Eli Zaretskii <eliz@gnu.org>
559
560 * progmodes/gdb-mi.el (gdb-control-level): New variable.
561 (gdb): Make it buffer-local and init to zero.
562 (gdb-control-commands-regexp): New variable.
563 (gdb-send): Don't wrap in "-interpreter-exec console" if
564 gdb-control-level is positive. Increment gdb-control-level
565 whenever the command matches gdb-control-commands-regexp, and
566 decrement it each time the command is "end". (Bug#11279)
567
568 2012-04-27 Martin Rudalics <rudalics@gmx.at>
569
570 * window.el (adjust-window-trailing-edge, enlarge-window)
571 (shrink-window, window-resize):
572 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
573 windows (Bug#11276).
574
575 2012-04-27 Chong Yidong <cyd@gnu.org>
576
577 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
578 fix "missing prefix" warning. All callers changed.
579
580 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * emacs-lisp/assoc.el: Move to obsolete/.
583
584 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
587
588 * term/ns-win.el (ns-define-service):
589 * progmodes/pascal.el (pascal-goto-defun):
590 * progmodes/js.el (js--read-tab):
591 * progmodes/etags.el (tags-lazy-completion-table):
592 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
593 * emacs-lisp/ewoc.el (ewoc--wrap):
594 * emacs-lisp/assoc.el (aput, adelete, amake):
595 * doc-view.el (doc-view-convert-current-doc):
596 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
597
598 2012-04-26 Chong Yidong <cyd@gnu.org>
599
600 * image.el (image-type-from-buffer): Only return supported image
601 type (Bug#9045).
602
603 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
604 value, for symmetry with diff-end-of-hunk.
605 (diff-split-hunk, diff-find-source-location)
606 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
607 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
608 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
609 compute the relevant hunk or file properly (Bug#6005).
610 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
611
612 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * vc/vc-mtn.el:
615 * vc/vc-hg.el:
616 * vc/vc-git.el:
617 * vc/vc-dir.el:
618 * vc/vc-cvs.el:
619 * vc/vc-bzr.el:
620 * vc/vc-arch.el:
621 * vc/vc.el: Replace lexical-let by lexical-binding.
622 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
623 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
624 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
625
626 2012-04-26 Chong Yidong <cyd@gnu.org>
627
628 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
629 (diff-mode-shared-map): Bind it to / and [remap undo].
630
631 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
632 (ediff-window-setup-function): Use it as the default, to set up
633 windows based on whether the current frame is graphical (Bug#2138).
634 (ediff-choose-window-setup-function-automatically): Make obsolete.
635
636 * vc/ediff-init.el: Always define ediff-pixel-width/height.
637
638 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * ffap.el: Remove old code for obsolete package.
641 (ffap-complete-as-file-p): Remove.
642
643 Use completion-table-with-quoting for comint and pcomplete.
644 * comint.el (comint--unquote&requote-argument)
645 (comint--unquote-argument, comint--requote-argument): New functions.
646 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
647 (comint-quote-filename): Use regexp-opt-charset.
648 (comint--common-suffix, comint--common-quoted-suffix)
649 (comint--table-subvert): Remove.
650 (comint-unquote-function, comint-requote-function): New vars.
651 (comint--complete-file-name-data): Use them with
652 completion-table-with-quoting.
653 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
654 * pcomplete.el (pcomplete-arg-quote-list)
655 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
656 (pcomplete-unquote-argument-function): Default to non-nil.
657 (pcomplete-unquote-argument): Simplify.
658 (pcomplete--common-quoted-suffix): Remove.
659 (pcomplete-requote-argument-function): New var.
660 (pcomplete--common-suffix): New function.
661 (pcomplete-completions-at-point): Use completion-table-with-quoting
662 and completion-table-subvert.
663
664 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
665 (minibuffer--double-dollars): Preserve properties.
666 (completion--sifn-requote): New function.
667 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
668
669 * minibuffer.el: Add support for completion of quoted/escaped data.
670 (completion-table-with-quoting, completion-table-subvert): New funs.
671 (completion--twq-try, completion--twq-all): New functions.
672 (completion--nth-completion): New function.
673 (completion-try-completion, completion-all-completions): Use it.
674
675 2012-04-25 Leo Liu <sdl.web@gmail.com>
676
677 * progmodes/python.el (python-pdbtrack-get-source-buffer):
678 Use compilation-message if available to find real filename.
679
680 2012-04-25 Chong Yidong <cyd@gnu.org>
681
682 * vc/diff-mode.el (diff-setup-whitespace): New function.
683 (diff-mode): Use it.
684
685 * vc/diff.el (diff-sentinel):
686 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
687 Whitespace mode variables based on diff style (Bug#8612).
688
689 2012-04-25 Leo Liu <sdl.web@gmail.com>
690
691 * progmodes/python.el (python-send-region): Add suffix .py to the
692 temp file.
693
694 * files.el (auto-mode-alist): Use javascript-mode instead.
695
696 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
697
698 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
699
700 * soap-client.el (soap-resolve-references-for-sequence-type)
701 (soap-resolve-references-for-array-type): Hack to prevent self
702 references, see Bug#9.
703 (soap-parse-envelope): Report the contents of the 'detail' node
704 when receiving a fault reply.
705 (soap-parse-envelope): Report the contents of the entire 'detail' node.
706
707 * soap-inspect.el (soap-sample-value-for-simple-type)
708 (soap-inspect-simple-type): New function.
709
710 * soap-client.el (soap-simple-type): New struct.
711 (soap-default-xsd-types, soap-default-soapenc-types)
712 (soap-decode-basic-type, soap-encode-basic-type):
713 support unsignedInt and double basic types.
714 (soap-resolve-references-for-simple-type)
715 (soap-parse-simple-type, soap-encode-simple-type): New function.
716 (soap-parse-schema): Parse xsd:simpleType declarations.
717
718 * soap-client.el (soap-default-xsd-types)
719 (soap-default-soapenc-types): Add integer, byte and anyURI types.
720 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
721 the local name of "soapenc:Array".
722 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
723 decoding integer, byte and anyURI xsd types.
724
725 2012-04-25 Chong Yidong <cyd@gnu.org>
726
727 * cus-edit.el (custom-buffer-create-internal): Update header text.
728
729 2012-04-25 Eli Zaretskii <eliz@gnu.org>
730
731 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
732 settings on 'system-type', not on 'window-system'. On MS-Windows,
733 set interactive-mode on in GDB.
734
735 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
738 (ruby-syntax-propertize-regexp): Remove.
739 (ruby-syntax-propertize-function): Split regexp into chunks.
740 Match following code directly.
741
742 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
743
744 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
745 (ruby-syntax-propertize-regexp): New function.
746 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
747 by a special keyword.
748
749 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
750 (ruby-syntax-general-delimiters-goto-beg)
751 (ruby-syntax-propertize-general-delimiters): New functions.
752 (ruby-syntax-propertize-function): Use them to handle GDL.
753 (ruby-font-lock-keywords): Move old handling of GDL...
754 (ruby-font-lock-syntactic-keywords): .. to here.
755 (ruby-calculate-indent): Adjust indentation for GDL.
756
757 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
758
759 * notifications.el (top): Remove unneeded declarations.
760 (notifications-specification-version): Change to "1.2".
761 (notifications-interface, notifications-notify-method)
762 (notifications-close-notification-method): Fix docstring.
763 (notifications-get-capabilities-method): New defconst.
764 (notifications-notify): Add :action-items, :resident and
765 :transient hints. Change "image_data" to "image-data" and
766 "image_path" to "image-path".
767 (notifications-get-capabilities): New defun.
768
769 2012-04-24 Leo Liu <sdl.web@gmail.com>
770
771 * progmodes/python.el: Move hideshow setup to the end.
772
773 2012-04-24 Martin Rudalics <rudalics@gmx.at>
774
775 * window.el (handle-select-window): Clear echo area since this is
776 no more done by read_char (Bug#11304).
777
778 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
781 and `/ M' to filter-derived-mode.
782 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
783 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
784 (ibuffer-mark-by-mode): Use default rather than initial-input.
785 (ibuffer-filter-by-derived-mode): Autoload and require-match.
786
787 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
788
789 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
790 (ibuffer-filter-by-derived-mode): New filter.
791 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
792
793 2012-04-23 Andreas Politz <politza@fh-trier.de>
794
795 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
796
797 2012-04-23 Chong Yidong <cyd@gnu.org>
798
799 * cus-edit.el (customize-apropos, customize-apropos-options):
800 Disable matching of non-option variables (Bug#11176).
801 (customize-option, customize-option-other-window)
802 (customize-changed-options): Doc fix.
803 (customize-apropos-options, customize-apropos-faces)
804 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
805
806 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
807 Fix word list splitting (Bug#11132).
808 (apropos-symbol, apropos-keybinding, apropos-label)
809 (apropos-property, apropos-function-button)
810 (apropos-variable-button, apropos-misc-button): New faces.
811 (apropos-symbol-face, apropos-keybinding-face)
812 (apropos-label-face, apropos-property-face, apropos-match-face):
813 Variables removed (Bug#8396).
814 (apropos-library-button, apropos-format-plist, apropos-print)
815 (apropos-print-doc, apropos-describe-plist): Callers changed.
816
817 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
818
819 * net/xesam.el (xesam-mode-map): Use let-bound map in
820 initialization. (Bug#11292)
821
822 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
823
824 Preserve ispell session localwords when switching back to
825 original buffer.
826
827 * ispell.el (ispell-buffer-session-localwords): New buffer-local
828 variable to hold buffer session localwords.
829 (ispell-kill-ispell): add option 'clear to delete session
830 localwords.
831 (ispell-command-loop, ispell-change-dictionary)
832 (ispell-buffer-local-words): Preserve session localwords when
833 needed.
834
835 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
836 Preserve session localwords when needed.
837
838 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
839
840 * ispell.el (ispell-insert-word) Remove unneeded function using
841 obsolete `translation-table-for-input'.
842 (ispell-word, ispell-process-line, ispell-complete-word):
843 Use plain `insert' instead of removed `ispell-insert-word'.
844
845 2012-04-22 Chong Yidong <cyd@gnu.org>
846
847 * cus-edit.el (custom-variable-menu)
848 (custom-variable-reset-saved, custom-face-menu)
849 (custom-face-reset-saved): If there is no saved value, make the
850 "reset-saved" operation bring back the default (Bug#9509).
851 (custom-face-state): Properly detect themed faces.
852
853 * faces.el (face-spec-set): Stop supporting deprecated form of
854 third arg.
855
856 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
857
858 Move functions from C to Lisp. Make non-blocking method calls
859 the default. Implement further D-Bus standard interfaces.
860
861 * net/dbus.el (dbus-message-internal): Declare function.
862 Remove unneeded function declarations.
863 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
864 (dbus-message-type-method-return, dbus-message-type-error)
865 (dbus-message-type-signal): Declare variables. Remove local
866 definitions.
867 (dbus-interface-dbus, dbus-interface-peer)
868 (dbus-interface-introspectable, dbus-interface-properties)
869 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
870 Adapt docstring.
871 (dbus-interface-objectmanager): New defconst.
872 (dbus-call-method, dbus-call-method-asynchronously)
873 (dbus-send-signal, dbus-method-return-internal)
874 (dbus-method-error-internal, dbus-register-service)
875 (dbus-register-signal, dbus-register-method): New defuns, moved
876 from dbusbind.c
877 (dbus-call-method-handler, dbus-setenv)
878 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
879 New defuns.
880 (dbus-call-method-non-blocking): Make it an obsolete function.
881 (dbus-unregister-object, dbus-unregister-service)
882 (dbus-handle-event, dbus-register-property)
883 (dbus-property-handler): Obey the new structure of
884 `bus-registered-objects'.
885 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
886 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
887 Use `dbus-call-method'.
888
889 2012-04-22 Chong Yidong <cyd@gnu.org>
890
891 * cus-edit.el (custom-commands, custom-reset-menu)
892 (Custom-reset-standard): Tweak labels.
893 (custom-reset-button-menu): Change default to t.
894 (custom-buffer-create-internal): For the custom-reset-button-menu
895 case, put the revert button first.
896 (custom-group-subtitle): New face.
897 (custom-group-value-create): Align docstring to a specific column.
898
899 * wid-edit.el (widget-documentation-link-add): Don't handle
900 indentation in this function.
901 (widget-documentation-string-indent-to): New function.
902 (widget-documentation-string-value-create): Use it.
903
904 * autorevert.el (auto-revert):
905 * epg-config.el (epg):
906 * ibuffer.el (ibuffer):
907 * mpc.el (mpc):
908 * ses.el (ses):
909 * eshell/eshell.el (eshell):
910 * net/ange-ftp.el (ange-ftp):
911 * progmodes/ebnf2ps.el (postscript):
912 * progmodes/flymake.el (flymake):
913 * progmodes/prolog.el (prolog):
914 * progmodes/verilog-mode.el (verilog-mode):
915 * progmodes/which-func.el (which-func):
916 * term/xterm.el (xterm):
917 * textmodes/picture.el (picture):
918 * textmodes/tildify.el (tildify):
919 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
920 customization buffers.
921
922 2012-04-22 Alan Mackenzie <acm@muc.de>
923
924 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
925 Adding a ) can hide the resulting (..) from searches. Fix it.
926 Bound the backward search to the position of the existing (.
927
928 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
929
930 * progmodes/verilog-mode.el (verilog-mode): Check whether
931 which-func-modes is t before adding verilog-mode.
932 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
933
934 2012-04-21 Leo Liu <sdl.web@gmail.com>
935
936 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
937
938 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
939
940 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
941 filling of the last column of a table (Bug#5635).
942 (woman-find-next-control-line): New arg, specifying an additional
943 regexp component for the control line.
944 (woman2-roff-buffer): Use it.
945 (woman-break-table): New function.
946 (woman2-TS): Use it.
947
948 2012-04-21 Chong Yidong <cyd@gnu.org>
949
950 * woman.el (woman-set-buffer-display-table, woman-decode-region)
951 (woman-horizontal-escapes, woman-negative-vertical-space)
952 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
953 (WoMan-warn-ignored): Use ?\s instead of ?\ .
954
955 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * minibuffer.el (completion-file-name-table): Complete user names.
958
959 2012-04-20 Leo Liu <sdl.web@gmail.com>
960
961 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
962 and pcase-let*.
963
964 2012-04-20 Chong Yidong <cyd@gnu.org>
965
966 * server.el (server-execute): Respect initial-buffer-choice if it
967 is a string and there are no files to open (Bug#2825).
968 (server-create-window-system-frame, server-create-tty-frame):
969 Don't switch buffers here.
970 (server-process-filter): Only try to open a window system frame if
971 compiled with graphical support (Bug#8314).
972
973 2012-04-20 Dan Nicolaescu <dann@gnu.org>
974
975 * battery.el (battery-echo-area-format): Display remaining time
976 for sysfs backend too (Bug#11269).
977 (battery-linux-sysfs): Fix conditional for the charge.
978
979 2012-04-20 Chong Yidong <cyd@gnu.org>
980
981 * progmodes/gdb-mi.el (gdb): Revert previous change.
982 (gdb-inferior-io--init-proc): New function.
983 (gdb-init-1): Use it.
984 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
985 responsible for allocating a new pty and hooking it to gdb when
986 the old pty gets an EIO due to process exit.
987 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
988 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
989 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
990
991 2012-04-20 Eli Zaretskii <eliz@gnu.org>
992
993 * window.el (window-min-size, window-sizable, window-min-delta)
994 (window-max-delta, window--resizable, window-resizable)
995 (window-total-size, window-full-height-p, window-full-width-p)
996 (window-in-direction, window--resize-mini-window, window-resize)
997 (window--resize-child-windows-normal)
998 (window--resize-child-windows, window--resize-siblings)
999 (window--resize-this-window, adjust-window-trailing-edge)
1000 (enlarge-window, shrink-window): Doc fixes.
1001
1002 2012-04-20 Chong Yidong <cyd@gnu.org>
1003
1004 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1005 New function to call delete-process on the gdb-inferior buffer's pty.
1006 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1007 pty process (Bug#11273).
1008 (gdb-update): New arg to suppress talking to the gdb process.
1009 (gdb-done-or-error): Use it.
1010 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1011 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1012 sentinel not being called.
1013
1014 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1015
1016 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1017
1018 2012-04-20 Glenn Morris <rgm@gnu.org>
1019
1020 * net/network-stream.el (open-network-stream): Doc fix.
1021
1022 2012-04-20 Chong Yidong <cyd@gnu.org>
1023
1024 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1025
1026 2012-04-20 Alan Mackenzie <acm@muc.de>
1027
1028 Ensure searching for keywords is case sensitive.
1029
1030 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1031 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1032 (c-defun-name, c-mark-function, c-cpp-define-name)
1033 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1034 (c-context-line-break): Bind case-fold-search to nil.
1035
1036 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1037 Bind case-fold-search to nil.
1038
1039 2012-04-20 Chong Yidong <cyd@gnu.org>
1040
1041 * mail/sendmail.el (mail-bury): Call return action with the right
1042 Rmail buffer (Bug#11242).
1043
1044 * server.el (server-process-filter): Handle corner case where both
1045 tty and nowait options are present (Bug#11102).
1046
1047 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1048
1049 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1050 (top level): Put into the executable the ident-style '$Id:' tag on
1051 windows-nt as well.
1052
1053 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1054
1055 * electric.el (electric-indent-post-self-insert-function): Check that
1056 electric-indent-mode is enabled in current buffer.
1057
1058 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1059
1060 * imenu.el (imenu-progress-message): Restore; it is "used" in
1061 erc/erc-imenu.el and net/snmp-mode.el.
1062
1063 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1064
1065 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1066 (mouse-avoidance-nudge-mouse): Remove unused binding.
1067
1068 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1069
1070 * descr-text.el (describe-char):
1071 * progmodes/python.el (python-describe-symbol):
1072 Don't call `toggle-read-only', set `buffer-read-only'.
1073
1074 * imenu.el (imenu-default-goto-function): Mark unused args.
1075 (imenu-progress-message): Remove obsolete macro; all callers changed.
1076
1077 * subr.el (keymap-canonicalize): Remove unused binding.
1078 (read-passwd): Mark unused arg.
1079
1080 * tutorial.el (tutorial--display-changes): Remove unused binding.
1081 (tutorial--save-tutorial-to): Remove unused variable.
1082
1083 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1084 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1085 (package-generate-autoloads, package-menu--generate)
1086 (package-menu--find-upgrades): Remove unused bindings.
1087
1088 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1089 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1090 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1091 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1092 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1093 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1094 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1095 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1096 (cua-delete-char-rectangle): Mark unused args.
1097 (cua-align-rectangle): Remove unused binding.
1098
1099 * mail/rmail.el (compilation--message->loc)
1100 (epa--find-coding-system-for-mime-charset): Declare.
1101
1102 * net/dbus.el (dbus-register-service): Declare.
1103 (dbus-name-owner-changed-handler): Remove unused binding.
1104
1105 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1106 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1107 (nxml-scan-backward-within): Mark unused arg.
1108 (nxml-dynamic-markup-word): Remove unused binding.
1109
1110 * mouse.el (mouse-menu-major-mode-map):
1111 * emacs-lisp/authors.el (authors-scan-change-log)
1112 (authors-add-to-author-list):
1113 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1114 * emacs-lisp/smie.el (smie-auto-fill):
1115 * mail/sendmail.el (mail-bury):
1116 * mail/unrmail.el (unrmail):
1117 * net/tls.el (open-tls-stream):
1118 * textmodes/picture.el (picture-mouse-set-point):
1119 Remove unused bindings.
1120
1121 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/tramp.el (tramp-action-password): Let-bind
1124 `enable-recursive-minibuffers' to t.
1125
1126 2012-04-18 Sam Steingold <sds@gnu.org>
1127
1128 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1129 instead of 'string to accommodate values like [f11].
1130 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1131 * progmodes/gdb-mi.el: Likewise.
1132
1133 2012-04-18 Leo Liu <sdl.web@gmail.com>
1134
1135 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1136 current buffer.
1137 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1138 LOCAL is nil.
1139
1140 2012-04-18 Chong Yidong <cyd@gnu.org>
1141
1142 * simple.el (line-move): Use forward-line if in batch mode
1143 (Bug#11053).
1144
1145 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1146
1147 * files.el (after-find-file): Do not try to add a final newline if
1148 the buffer is read-only (Bug#11156).
1149
1150 2012-04-17 Richard Stallman <rms@gnu.org>
1151
1152 * mail/rmail.el (rmail-start-mail):
1153 Pass (rmail-mail-return...) for the return-action.
1154 Pass (rmail-yank-current-message...) for the yank-action.
1155 (rmail-yank-current-message): New function.
1156 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1157 (rmail-reply): Likewise.
1158 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1159
1160 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1161 buffer, not the last. Reject temp buffers. Use the rmail-mode
1162 buffer, not newbuf.
1163
1164 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1165
1166 * server.el (server-ensure-safe-dir): Simplify.
1167
1168 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * emacs-lisp/smie.el: Provide smarter auto-filling.
1171 (smie-auto-fill): New function.
1172 (smie-setup): Use it.
1173
1174 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1175
1176 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1177
1178 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1179 (comment-indent): Use it.
1180
1181 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1182
1183 * ses.el: The overall change is to add cell renaming, that is
1184 setting fancy names for cell symbols other than name matching
1185 "\\`[A-Z]+[0-9]+\\'" regexp .
1186 (ses-localvars): Add ses--renamed-cell-symb-list.
1187 (ses-create-cell-variable): New defun.
1188 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1189 (ses-relocate-formula): Relocate formulas only for cells the
1190 symbols of which are not renamed, i.e. symbols whose names do not
1191 match regexp "\\`[A-Z]+[0-9]+\\'".
1192 (ses-relocate-all): Relocate values only for cells the symbols of
1193 which are not renamed.
1194 (ses-load): Create cells variables as the (ses-cell ...) are read,
1195 in order to check row col consistency with cell symbol name only
1196 for cells that are not renamed.
1197 (ses-replace-name-in-formula): New defun.
1198 (ses-rename-cell): New defun.
1199
1200 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1201
1202 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1203 New option (bug#11118).
1204 (perl-calculate-indent): Respect it.
1205
1206 2012-04-17 Glenn Morris <rgm@gnu.org>
1207
1208 * dired-aux.el (dired-mark-read-string): Doc fix.
1209
1210 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1211
1212 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1213 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1214
1215 2012-04-17 Glenn Morris <rgm@gnu.org>
1216
1217 * mouse.el (mouse-drag-track):
1218 * speedbar.el (speedbar-frame-mode):
1219 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1220
1221 2012-04-16 Leo Liu <sdl.web@gmail.com>
1222
1223 * progmodes/python.el: Trivial cleanup.
1224
1225 2012-04-16 Glenn Morris <rgm@gnu.org>
1226
1227 * vc/vc.el (vc-string-prefix-p):
1228 * vc/pcvs-util.el (cvs-string-prefix-p):
1229 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1230 * mpc.el (mpc-string-prefix-p):
1231 Make all of these into obsolete aliases for string-prefix-p.
1232 Update callers.
1233 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1234
1235 * textmodes/two-column.el: Move custom options to the start.
1236 (frame-width): Remove compat definition.
1237 (2C-associate-buffer, 2C-dissociate):
1238 Use with-current-buffer rather than save-excursion.
1239 (2C-dissociate): Force a mode-line update.
1240 (2C-autoscroll): Use ignore-errors.
1241
1242 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1243 Autoload trivia.
1244
1245 * emacs-lisp/cl-extra.el (*random-state*):
1246 Remove unnecessary declaration.
1247
1248 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1249
1250 * play/cookie1.el (cookie-snarf):
1251 Give an explicit error if input file cannot be read.
1252
1253 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1254
1255 * progmodes/perl-mode.el (c-macro-expand):
1256 Remove unnecessary autoload (it is in loaddefs.el).
1257
1258 * textmodes/picture.el (picture-desired-column)
1259 (picture-update-desired-column): Convert comments to doc-strings.
1260 (picture-substitute): Remove function.
1261 (picture-mode-map): Initialize in the defvar.
1262
1263 * woman.el: Remove eval-after-load for tar-mode.
1264 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1265 (woman-tar-extract-file): Autoload it.
1266
1267 * frame.el (automatic-hscrolling): Make this alias obsolete.
1268
1269 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1270
1271 * ispell.el (ispell-set-spellchecker-params): Post-process
1272 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1273 (ispell-dictionary-base-alist): Revert to original XEmacs
1274 friendly version for default. [:alpha:] will be added in
1275 `ispell-set-spellchecker-params' if needed
1276
1277 2012-04-16 Chong Yidong <cyd@gnu.org>
1278
1279 * image.el (imagemagick--extension-regexp): New variable.
1280 (imagemagick-register-types): Use it.
1281 (imagemagick-types-inhibit): Add :set function. Allow new value
1282 of t to inhibit all types.
1283
1284 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1285 so we can preload it.
1286
1287 * loadup.el (fboundp): Preload regexp-opt, needed by
1288 imagemagick-register-types.
1289
1290 2012-04-15 Chong Yidong <cyd@gnu.org>
1291
1292 * frame.el (scrolling): Remove nearly unused customization group.
1293
1294 * scroll-all.el (scroll-all-mode): Move to windows group.
1295
1296 2012-04-15 Chong Yidong <cyd@gnu.org>
1297
1298 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1299
1300 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1303 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1304
1305 2012-04-15 Glenn Morris <rgm@gnu.org>
1306
1307 * simple.el (process-file-side-effects): Doc fix.
1308
1309 2012-04-15 Glenn Morris <rgm@gnu.org>
1310
1311 * international/mule-cmds.el (set-language-environment): Doc fix.
1312
1313 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1314
1315 * server.el (server-auth-key, server-generate-key): Doc fixes.
1316 (server-get-auth-key): Doc fix. Use `string-match-p'.
1317 (server-start): Reflow docstring.
1318
1319 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1320
1321 * server.el (server-generate-key): `called-interactively-p'
1322 requires a parameter.
1323
1324 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1325
1326 * server.el (server-auth-key): New variable.
1327 (server-generate-key, server-get-auth-key): New function.
1328 (server-start): Use the new variable and functions to allow
1329 setting a permanent server key (bug#9423).
1330
1331 2012-04-14 Leo Liu <sdl.web@gmail.com>
1332
1333 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1334
1335 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1336
1337 Spelling fixes.
1338 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1339 Emacs uses American spelling.
1340
1341 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1342
1343 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1344 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1345 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1346 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1347
1348 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * progmodes/which-func.el (which-func-modes): Change default.
1351
1352 2012-04-14 Kim F. Storm <storm@cua.dk>
1353
1354 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1355 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1356
1357 2012-04-14 Chong Yidong <cyd@gnu.org>
1358
1359 * custom.el (custom-theme-set-variables): Doc fix.
1360
1361 2012-04-14 Glenn Morris <rgm@gnu.org>
1362
1363 * international/mule.el (set-auto-coding-for-load): Doc fix.
1364
1365 2012-04-14 Alan Mackenzie <acm@muc.de>
1366
1367 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1368 imenu work again for Objective C Mode. Correct the *-index values,
1369 these having been disturbed by a previous change in 2011-08.
1370
1371 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1372 Correct two search limits.
1373
1374 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1377
1378 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1379
1380 * international/characters.el: Fix sorting.
1381
1382 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1383
1384 * international/characters.el: Add more missing Latin case pairs.
1385
1386 2012-04-14 Glenn Morris <rgm@gnu.org>
1387
1388 * files.el (dir-locals-set-class-variables): Doc fix.
1389
1390 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1391
1392 * international/characters.el: Add set-case-syntax-pair call for
1393 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1394 counterpart. (Bug#11209)
1395
1396 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1397
1398 2012-04-14 Glenn Morris <rgm@gnu.org>
1399
1400 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1401
1402 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1403
1404 * textmodes/ispell.el (ispell-dictionary-base-alist):
1405 Add data for Hebrew.
1406
1407 2012-04-14 Chong Yidong <cyd@gnu.org>
1408
1409 * net/rcirc.el (rcirc-cmd-quit):
1410 Revert 2012-03-18 change (Bug#11192).
1411
1412 2012-04-14 Glenn Morris <rgm@gnu.org>
1413
1414 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1415
1416 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1417
1418 * minibuffer.el (completion-in-region-mode-map):
1419 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1420
1421 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1422
1423 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1424
1425 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1426
1427 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1428 to allow `C-M-f' and `C-M-b' to move to the nearest path
1429 separator (bug#9511).
1430
1431 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1432
1433 * avoid.el: Require cl when compiling. And also move the
1434 `provide' to the end.
1435
1436 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1437
1438 * avoid.el (mouse-avoidance-banish-position): New variable.
1439 (mouse-avoidance-banish-destination): Use it (bug#10165).
1440
1441 2012-04-13 Leo Liu <sdl.web@gmail.com>
1442
1443 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1444
1445 2012-04-13 Ken Brown <kbrown@cornell.edu>
1446
1447 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1448 this is no longer needed now that cygstart understands file:// URLs.
1449 (browse-url-filename-alist): For the same reason, don't modify
1450 file:// URLs on Cygwin.
1451
1452 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1455 the region on shift if the binding is already shifted (bug#11221).
1456
1457 2012-04-12 Glenn Morris <rgm@gnu.org>
1458
1459 * mail/mailpost.el: Move to obsolete/.
1460
1461 2012-04-12 Drew Adams <drew.adams@oracle.com>
1462
1463 * imenu.el (imenu--generic-function): Ignore invisible definitions
1464 (bug#10123).
1465
1466 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1467
1468 * hexl.el (hexl-bits): New variable.
1469 (hexl-options): Mention the variable in the doc string.
1470 (hexl-rulerise, hexl-line-displen): New functions.
1471 (hexl-mode): Mention the new variable.
1472 (hexl-mode, hexl-current-address, hexl-current-address):
1473 Use the displen.
1474 (hexl-ascii-start-column): New function.
1475 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1476 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1477
1478 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1479
1480 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1481 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1482 the encoding, as expected by hunspell.
1483
1484 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1485
1486 * battery.el (battery--linux-sysfs-regexp): New const.
1487 (battery-status-function): Use it. Remove yeeloong special case.
1488 (battery-yeeloong-sysfs): Remove.
1489 (battery-echo-area-format): Remove yeeloong special case.
1490
1491 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1494 Reported by Noah Friedman.
1495
1496 * subr.el (read-passwd): Use read-string.
1497
1498 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1499
1500 * vcursor.el (vcursor-move): Increase the priority of the overlay
1501 (bug#9663).
1502
1503 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1504
1505 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1506 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1507
1508 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1509
1510 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1511 define-minor-mode (bug#10760).
1512
1513 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1514
1515 * progmodes/grep.el (rgrep): Tweak the find command line so
1516 that directories matching `grep-find-ignored-files' won't be
1517 pruned (bug#10351).
1518
1519 2012-04-11 Chong Yidong <cyd@gnu.org>
1520
1521 * startup.el (command-line): Remove support for long-obsolete
1522 variable font-lock-face-attributes.
1523
1524 2012-04-11 Glenn Morris <rgm@gnu.org>
1525
1526 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1527
1528 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1529
1530 * window.el (window--state-get-1): Obey window-point-insertion-type.
1531
1532 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1533
1534 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1535 to previous function when point is on the first character of a
1536 function. Take care of that in `narrow-to-defun' (bug#6157).
1537
1538 2012-04-11 Glenn Morris <rgm@gnu.org>
1539
1540 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1541 not just file-errors.
1542
1543 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1544 (vc-bzr-sha1): Use internal sha1.
1545
1546 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1549
1550 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1551
1552 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1553 that start in the middle of the line (bug#10496).
1554
1555 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1556
1557 * battery.el (battery-linux-proc-acpi): Only one battery is
1558 discharged at a time, but that seems to confuse battery.el when
1559 computing `rate-type' for the battery not being discharged
1560 (bug#10332).
1561
1562 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1565
1566 * international/quail.el: Use dolist and simplify.
1567 (quail-define-package, quail-update-keyboard-layout)
1568 (quail-define-rules): Use dolist.
1569 (quail-insert-kbd-layout, quail-get-translation): CSE.
1570
1571 * tmm.el: Use dolist, remove left over hook.
1572 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1573 Use dolist.
1574 (calendar-load-hook): Don't mess with it.
1575
1576 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1577 Use derived-mode-p. Run the diff asynchronously.
1578
1579 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1580
1581 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1582
1583 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1584
1585 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1586 (list-dynamic-libraries--loaded): New function.
1587 (list-dynamic-libraries--refresh): Use it.
1588
1589 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1590
1591 * progmodes/python.el (python-fill-paragraph):
1592 Make python-fill-region in a multiline string work when font-lock is
1593 disabled (bug#7018).
1594
1595 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1596
1597 * language/european.el (cp775): Add oem/legacy (en)coding on
1598 DOS/MS Windows for the Baltic languages. There are still plenty
1599 of texts written in this encoding/codepage (bug#6519).
1600
1601 2012-04-10 Glenn Morris <rgm@gnu.org>
1602
1603 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1604 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1605
1606 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1607
1608 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1609 next-line "n" and previous-line "p" in order to make recentf more
1610 consistent with ibuffer, dired or org-mode (bug#9387).
1611
1612 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1613
1614 * image.el (put-image): Return the overlay created instead of the
1615 optional input string (bug#7834). Note that this may break code
1616 that is (for some reason or other) depending on `put-image'
1617 returning the string.
1618
1619 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1620
1621 * simple.el (zap-to-char): Allow zapping using input methods
1622 (bug#1580).
1623
1624 * textmodes/fill.el (fill-region): Leave point and mark where they
1625 were before filling (bug#5399).
1626
1627 2012-04-09 Glenn Morris <rgm@gnu.org>
1628
1629 * version.el (emacs-bzr-get-version):
1630 Handle lightweight checkouts of local branches.
1631
1632 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1633
1634 * international/characters.el: Recover lost case pairs. (Bug#11209)
1635
1636 2012-04-09 Chong Yidong <cyd@gnu.org>
1637
1638 * custom.el (custom-variable-p): Return nil for non-symbol
1639 arguments instead of signaling an error.
1640 (user-variable-p): Obsolete alias for custom-variable-p.
1641
1642 * apropos.el (apropos-variable):
1643 * files-x.el (read-file-local-variable):
1644 * simple.el (set-variable):
1645 * woman.el (woman-mini-help):
1646 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1647
1648 2012-04-09 Glenn Morris <rgm@gnu.org>
1649
1650 * startup.el (normal-top-level): Don't look for leim-list.el
1651 in places where it will not be found. (Bug#910)
1652
1653 * international/mule-cmds.el (set-default-coding-systems):
1654 * files.el (normal-mode):
1655 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1656 This function was removed with ucs-tables.el in 2008.
1657
1658 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1659
1660 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1661 ispell-encoding8-command to "-i", without a trailing space.
1662 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1663 separate command-line arguments, to specify the encoding, since
1664 that's how hunspell expects it.
1665
1666 2012-04-08 Glenn Morris <rgm@gnu.org>
1667
1668 * loadup.el: Load bindings before cus-start.
1669 This reduces somewhat the number of "rogue" settings in emacs -Q.
1670
1671 2012-04-07 Glenn Morris <rgm@gnu.org>
1672
1673 * version.el (emacs-bzr-get-version): New function.
1674 (emacs-bzr-version): New variable.
1675 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1676 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1677
1678 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1679
1680 * international/uni-bidi.el, international/uni-category.el:
1681 * international/uni-combining.el, international/uni-decimal.el:
1682 * international/uni-decomposition.el, international/uni-digit.el:
1683 * international/uni-lowercase.el, international/uni-mirrored.el:
1684 * international/uni-name.el, international/uni-numeric.el:
1685 * international/uni-titlecase.el, international/uni-uppercase.el:
1686 Update for Unicode 6.1.
1687
1688 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1689
1690 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1691
1692 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1693
1694 * window.el (shrink-window): Mention the `window-min-height'
1695 variable in the doc string.
1696
1697 2012-04-05 Bastien Guerry <bzg@altern.org>
1698
1699 * color.el (color-lighten-name): Fix typo.
1700
1701 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1702
1703 * server.el (server--on-display-p): New function.
1704 (server--on-display-p): Use it.
1705
1706 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1707
1708 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1709 (bug#11145).
1710
1711 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1712
1713 * comint.el (comint--common-quoted-suffix): Check string boundary
1714 before comparing (bug#11158).
1715 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1716
1717 2012-04-04 Chong Yidong <cyd@gnu.org>
1718
1719 * minibuffer.el (completion-extra-properties): Doc fix.
1720
1721 * subr.el (delayed-warnings-hook): Doc fix.
1722
1723 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1724
1725 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1726 selection (Bug#11159).
1727 (epa-insert-keys): Inform that the default public key will be
1728 exported if no key is selected.
1729
1730 2012-04-04 Richard Stallman <rms@gnu.org>
1731
1732 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1733
1734 2012-04-03 Chong Yidong <cyd@gnu.org>
1735
1736 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1737 mail-insert-file, not its obsolete alias mail-attach-file.
1738
1739 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1740
1741 * notifications.el (notifications-notify): Fix docstring.
1742
1743 2012-04-02 Glenn Morris <rgm@gnu.org>
1744
1745 * emacs-lisp/authors.el (authors-aliases): Another addition.
1746
1747 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1748
1749 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1750 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1751 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1752
1753 2012-04-01 Chong Yidong <cyd@gnu.org>
1754
1755 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1756 Handle root directory properly.
1757 (copy-directory): Caller changed.
1758
1759 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1760 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1761
1762 2012-03-31 Glenn Morris <rgm@gnu.org>
1763
1764 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1765
1766 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1767
1768 * calendar/calendar.el (calendar-window-list)
1769 (calendar-hide-window): Restore. (Bug#11140)
1770 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1771
1772 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1773
1774 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1775
1776 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1777 Check if file is a symlink (Bug#10489).
1778
1779 * files.el (copy-directory): Likewise.
1780
1781 2012-03-30 Chong Yidong <cyd@gnu.org>
1782
1783 * image.el (imagemagick-types-inhibit)
1784 (imagemagick-register-types): Doc fix.
1785
1786 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1787
1788 * ispell.el (ispell-get-extended-character-mode):
1789 Disable extended-char-mode for hunspell. hunspell does not support it
1790 and treats ~word as ordinary words in pipe mode.
1791
1792 2012-03-30 Glenn Morris <rgm@gnu.org>
1793
1794 * tutorial.el (help-with-tutorial): Ensure local variables don't
1795 happen to make the buffer read-only. (Bug#11127)
1796
1797 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1798
1799 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1800 (perl-calculate-indent): Return `noindent' in strings.
1801
1802 2012-03-28 Sam Steingold <sds@gnu.org>
1803
1804 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1805 instead of the broken adhockery which does not prevent calendar
1806 buffers from being displayed at random after exit.
1807 (calendar-window-list, calendar-hide-window): Remove the broken
1808 adhockery.
1809
1810 2012-03-28 Glenn Morris <rgm@gnu.org>
1811
1812 * replace.el (query-replace-map): Doc fix.
1813
1814 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1815
1816 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1817 contents. (Bug#11109)
1818
1819 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1822 (bug#11077).
1823 (avl-tree--check, avl-tree--check-node): New funs.
1824
1825 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1826
1827 * window.el (switch-to-visible-buffer): New option.
1828 (switch-to-prev-buffer, switch-to-next-buffer):
1829 Observe switch-to-visible-buffer. Make sure that checking for a window
1830 showing a buffer already is done on the same frame.
1831
1832 2012-03-27 Glenn Morris <rgm@gnu.org>
1833
1834 * startup.el (mail-host-address): Doc fix.
1835
1836 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1839 than 197 variables.
1840
1841 2012-03-26 Ami Fischman <ami@fischman.org>
1842
1843 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1844
1845 2012-03-26 Glenn Morris <rgm@gnu.org>
1846
1847 * files.el (save-buffers-kill-emacs): Doc fix.
1848
1849 * startup.el (normal-top-level, command-line, command-line-1):
1850 Give them doc strings.
1851
1852 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1853
1854 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1855 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1856
1857 2012-03-25 Chong Yidong <cyd@gnu.org>
1858
1859 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1860 theme if it was previously enabled before (Bug#11031).
1861
1862 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1863 spec with custom-face-get-current-spec if its :shown-value is not
1864 determined yet (Bug#9337).
1865 (customize-create-theme, custom-theme-revert): Doc fixes.
1866
1867 * button.el (button-at): Minor addition to docstring.
1868
1869 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1870
1871 * vc/vc.el (vc-merge): Fix a prompt.
1872
1873 2012-03-24 Chong Yidong <cyd@gnu.org>
1874
1875 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1876 point (Bug#9623).
1877
1878 * button.el (button-at): Minor addition to docstring.
1879
1880 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1881
1882 * newcomment.el (comment-choose-indent): No space after BOL.
1883
1884 2012-03-22 Sam Steingold <sds@gnu.org>
1885
1886 * window.el (switch-to-prev-buffer): Revert last patch because the
1887 bug turned out to be an advertised feature (Elisp manual 28.14).
1888
1889 2012-03-22 Glenn Morris <rgm@gnu.org>
1890
1891 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1892 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1893
1894 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1895
1896 * net/network-stream.el (network-stream-open-starttls): Make error
1897 message under Windows be less misleading.
1898
1899 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1900
1901 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1902 understands (bug#9942).
1903
1904 2012-03-22 Chong Yidong <cyd@gnu.org>
1905
1906 * simple.el (end-of-visible-line): Handle return value of
1907 next-single-property-change properly (Bug#9371).
1908
1909 2012-03-22 Kenichi Handa <handa@m17n.org>
1910
1911 * international/quail.el (quail-insert-kbd-layout): Fix previous
1912 change. To avoid unwanted bidi reordering, use
1913 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1914
1915 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1916
1917 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1918 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1919 (ruby-beginning-of-indent): Be more careful with the difference
1920 between word-boundary and symbol boundary.
1921 (ruby-mode-syntax-table): Make : a symbol constituent.
1922
1923 2012-03-21 Andreas Politz <politza@fh-trier.de>
1924
1925 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1926
1927 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1928
1929 * progmodes/etags.el (tags-completion-at-point-function):
1930 Improve last fix.
1931
1932 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1933
1934 2012-03-21 Sam Steingold <sds@gnu.org>
1935
1936 * progmodes/etags.el (tags-completion-at-point-function):
1937 Avoid the error when point is inside the pattern.
1938
1939 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1940
1941 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1942 line (Bug#10855).
1943
1944 2012-03-21 Drew Adams <drew.adams@oracle.com>
1945
1946 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1947
1948 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1949
1950 * ido.el (ido-set-current-directory, ido-read-internal)
1951 (ido-choose-completion-string, ido-completion-help): Handle nil
1952 value of ido-completion-buffer (Bug#11008).
1953
1954 2012-03-21 Sam Steingold <sds@gnu.org>
1955
1956 * window.el (switch-to-prev-buffer): Do not switch to a visible
1957 window previous buffer, just like with the frame previous buffers.
1958
1959 2012-03-21 Chong Yidong <cyd@gnu.org>
1960
1961 * faces.el (make-face, make-empty-face, copy-face):
1962 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1963 Doc fixes.
1964
1965 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1968 (widget-complete): Remove broken use of it.
1969
1970 2012-03-20 Chong Yidong <cyd@gnu.org>
1971
1972 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1973 Use string-width and truncate-string-width to handle arbitrary
1974 characters.
1975
1976 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1977
1978 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1979 to draw rectangles, not squares. (Regression introduced by revno
1980 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1981
1982 2012-03-18 Chong Yidong <cyd@gnu.org>
1983
1984 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1985 it is not yet defined (for temacs).
1986
1987 2012-03-18 Leo Liu <sdl.web@gmail.com>
1988
1989 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1990
1991 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1992
1993 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1994 (ispell-choices-win-default-height, ispell-silently-savep)
1995 (ispell-dictionary-alist, ispell-encoding8-command)
1996 (ispell-check-version, ispell-aspell-find-dictionary)
1997 (ispell-valid-dictionary-list, ispell-words-keyword)
1998 (ispell-get-word, ispell-internal-change-dictionary)
1999 (ispell-region, ispell-skip-region-list)
2000 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2001 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2002 (ispell-message-text-end, ispell-message)
2003 (ispell-buffer-local-parsing): Doc fix.
2004
2005 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2006
2007 * htmlfontify.el: Add support for code block fontification for ODT
2008 export (Bug #9914).
2009 (hfy-optimisations): Define new option
2010 `body-text-only'
2011 (hfy-fontify-buffer): Honor above setting.
2012 (hfy-begin-span, hfy-end-span): New routines factored out form
2013 `hfy-fontify-buffer'.
2014 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2015 that permit insertion of custom tags.
2016 (hfy-fontify-buffer): Use above handlers.
2017 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2018 (hfy-face-to-css): Re-defined to be a variable.
2019 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2020 over multiple runs. This is made possible by having the caller let
2021 bind a special variable `hfy-user-sheet-assoc'.
2022 (htmlfontify-string): New defun.
2023 (hfy-compile-face-map): Make sure that the last char in the
2024 buffer is correctly fontified.
2025 (hfy-face-resolve-face): Whitespace only change.
2026
2027 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2028
2029 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2030 message more clear.
2031
2032 2012-03-16 Leo Liu <sdl.web@gmail.com>
2033
2034 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2035
2036 2012-03-16 Alan Mackenzie <acm@muc.de>
2037
2038 Further optimise the handling of large macros.
2039
2040 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2041 limit to a call of `c-literal-limits'.
2042 (c-determine-+ve-limit): New function.
2043 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2044 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2045 In CASE 5B, restrict a search limit to 500.
2046 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2047
2048 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2049 Restrict macro bounds to +-500 from after-change's BEG END.
2050
2051 2012-03-16 Leo Liu <sdl.web@gmail.com>
2052
2053 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2054
2055 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2056
2057 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2058 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2059
2060 2012-03-16 Glenn Morris <rgm@gnu.org>
2061
2062 * view.el (view-buffer, view-buffer-other-window)
2063 (view-buffer-other-frame): Doc fixes re special mode-class.
2064
2065 * subr.el (eval-after-load): If named feature is provided not from
2066 a file, run after-load forms. (Bug#10946)
2067
2068 * calendar/calendar.el (calendar-insert-at-column):
2069 Handle non-unit-width characters a bit better. (Bug#10978)
2070
2071 2012-03-15 Chong Yidong <cyd@gnu.org>
2072
2073 * emacs-lisp/ring.el (ring-extend): New function.
2074 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2075
2076 * comint.el (comint-read-input-ring)
2077 (comint-add-to-input-history): Grow comint-input-ring lazily.
2078
2079 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2080
2081 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2082 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2083
2084 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2085 (imenu-add-to-menubar): Don't add a redundant index.
2086 (imenu-update-menubar): Handle a dynamically composed keymap.
2087
2088 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2089
2090 * mail/sendmail.el (mail-encode-header):
2091 Bind rfc2047-encode-encoded-words to nil.
2092
2093 2012-03-13 Glenn Morris <rgm@gnu.org>
2094
2095 * calendar/calendar.el (calendar-string-spread):
2096 Handle non-unit-width characters a bit better. (Bug#10978)
2097
2098 2012-03-13 Leo Liu <sdl.web@gmail.com>
2099
2100 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2101 directory and file as argument (Bug#10822).
2102
2103 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2104
2105 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2106 For dynamically generated code, follow $PC.
2107 (gdb-disassembly-handler-custom): Handle no function name case.
2108
2109 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2110
2111 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2112 * emulation/ws-mode.el (ws-query-replace):
2113 * sort.el (sort-regexp-fields):
2114 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2115
2116 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * dabbrev.el: Fix cycle completion order (bug#10963).
2119 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2120 (dabbrev-completion): Don't use an obarray; provide
2121 a cycle-sort-function.
2122
2123 2012-03-12 Leo Liu <sdl.web@gmail.com>
2124
2125 * simple.el (kill-new): Use equal-including-properties for comparison.
2126 (kill-do-not-save-duplicates): Doc fix.
2127
2128 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * dabbrev.el: Fix cycle completion (bug#10963).
2131 Use lexical binding and wrap to 80 columns.
2132 (dabbrev-completion): Delay computing the list of completions.
2133
2134 2012-03-12 Kenichi Handa <handa@m17n.org>
2135
2136 * international/quail.el (quail-insert-kbd-layout): Surround each
2137 row by LRO and PDF instead of inserting many LRMs. Pad the left
2138 and right of each non-spacing marks. Insert invisible space
2139 between lower and upper characters to prevent composition.
2140
2141 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * minibuffer.el (minibuffer-complete): Don't get confused when the
2144 function is run twice via different commands (bug#10958).
2145 (complete-with-action): Fix docstring.
2146
2147 2012-03-12 Chong Yidong <cyd@gnu.org>
2148
2149 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2150 (nxml-completion-at-point-function): New function.
2151 (nxml-mode): Use it.
2152 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2153
2154 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2155 Load generated autoloads file before byte compiling (Bug#10970).
2156 (package--make-autoloads-and-compile): New helper fun.
2157
2158 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2159
2160 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2161
2162 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2163
2164 * autorevert.el (auto-revert-handler): Ensure, that
2165 file-readable-p is applied only for local files or in
2166 auto-revert-tail-mode.
2167
2168 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2169
2170 * server.el (server-eval-at): Handle non-tcp connections.
2171 Decode result string.
2172
2173 * server.el (server-msg-size): New constant.
2174 (server-reply-print): New function.
2175 (server-eval-and-print): Use it.
2176 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2177 Handle -print-nonl.
2178
2179 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2180
2181 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2182 (Bug#10987).
2183
2184 2012-03-11 Chong Yidong <cyd@gnu.org>
2185
2186 * simple.el (goto-line): Doc fix (Bug#9938).
2187
2188 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2189
2190 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2191 when finished (Bug#10963).
2192
2193 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2194
2195 * window.el (split-window-below): Fix bug in case where
2196 split-window-keep-point is nil (Bug#10971).
2197
2198 2012-03-11 Juri Linkov <juri@jurta.org>
2199
2200 * replace.el (replace-highlight): Set isearch-word to nil
2201 unconditionally. (Bug#10887)
2202
2203 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2204
2205 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2206 mairix-replace-illegal-chars; all callers changed. Don't remove
2207 ^, ~, and = characters: they are meaningful in mairix search specs.
2208 (mairix-widget-create-query): Add usage information about mairix
2209 search forms: negating words, searching for substrings, etc.
2210
2211 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2212
2213 * international/fontset.el (font-encoding-alist): Add an entry for
2214 ksx1001 (Bug#5667).
2215
2216 2012-03-10 Richard Stallman <rms@gnu.org>
2217
2218 * mail/sendmail.el (mail-encode-header):
2219 Set rfc2047-encode-encoded-words.
2220
2221 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2222
2223 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2224 view buffer means not swapped.
2225 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2226 (rmail-write-region-annotate): Error if real text has disappeared.
2227
2228 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2229
2230 2012-03-10 Chong Yidong <cyd@gnu.org>
2231
2232 * emulation/cua-rect.el (cua--init-rectangles):
2233 * emulation/cua-base.el (cua--init-keymaps):
2234 Add delete-forward-char to remappings (Bug#9666).
2235
2236 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2237
2238 * speedbar.el (speedbar-unhighlight-one-tag-line):
2239 Avoid unhighlighting due to frame switching (Bug#10275).
2240
2241 2012-03-10 Chong Yidong <cyd@gnu.org>
2242
2243 * minibuffer.el (completion-in-region, completion-help-at-point):
2244 Give the completion field overlay a high priority (Bug#6830).
2245
2246 * dired.el (dired-goto-file): Recognize absolute file name
2247 listings (Bug#7126).
2248 (dired-goto-file-1): New helper function.
2249 (dired-toggle-read-only): Inhibit warnings.
2250
2251 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2252
2253 * net/dbus.el (dbus-property-handler): Return empty array if
2254 there are no properties.
2255
2256 2012-03-09 Leo Liu <sdl.web@gmail.com>
2257
2258 * savehist.el (savehist-printable): Stricter check for string
2259 value (Bug#10937).
2260
2261 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2262
2263 * mail/smtpmail.el (smtpmail-send-it):
2264 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2265 valid mbox format.
2266
2267 2012-03-09 Glenn Morris <rgm@gnu.org>
2268
2269 * files.el (dir-locals-find-file):
2270 Don't check result is regular, readable.
2271 (dir-locals-read-from-file): Demote errors.
2272
2273 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2274
2275 * international/quail.el (quail-insert-kbd-layout):
2276 Insert invisible LRM characters before each character in a keyboard
2277 layout cell, to prevent their reordering by bidi display engine.
2278 For details, see the discussion in
2279 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2280
2281 2012-03-08 Alan Mackenzie <acm@muc.de>
2282
2283 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2284 the starting position; make it extend the marked region when
2285 invoked repeatedly - all under appropriate circumstances.
2286 Fixes bugs #5525, #10906.
2287
2288 2012-03-08 Glenn Morris <rgm@gnu.org>
2289
2290 * files.el (locate-dominating-file, dir-locals-find-file):
2291 Undo 2012-03-06 change.
2292
2293 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2294
2295 * international/quail.el (quail-help):
2296 Force bidi-paragraph-direction be left-to-right. See discussion in
2297 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2298 for the reason.
2299
2300 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2301
2302 Avoid superfluous registering of signals. (Bug#10807)
2303
2304 * notifications.el (notifications-on-action-object)
2305 (notifications-on-close-object): New defvars.
2306 (notifications-on-action-signal, notifications-on-closed-signal):
2307 Unregister the signal if not needed any longer.
2308 (notifications-notify): Register `notifications-action-signal' or
2309 `notifications-closed-signal', if :on-action or :on-close has been
2310 passed as argument.
2311
2312 2012-03-07 Chong Yidong <cyd@gnu.org>
2313
2314 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2315 non-X platforms.
2316
2317 2012-03-06 Glenn Morris <rgm@gnu.org>
2318
2319 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2320 (x-disown-selection-internal, x-get-selection-internal):
2321 Doc fix (add arglist signatures). (Bug#10783)
2322
2323 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2324
2325 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2326 Handle breakpoints with no "type".
2327
2328 2012-03-06 Glenn Morris <rgm@gnu.org>
2329
2330 * files.el (locate-dominating-file): Add optional predicate argument.
2331 (dir-locals-find-file): Make use of above change.
2332
2333 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2334
2335 * info.el (Info-insert-dir): Also try "dir.gz".
2336
2337 2012-03-06 Glenn Morris <rgm@gnu.org>
2338
2339 * files.el (dir-locals-find-file):
2340 Ignore non-readable or non-regular files. (Bug#10928)
2341
2342 * files.el (locate-dominating-file): Doc fix.
2343
2344 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2345
2346 * calendar/calendar.el (calendar-set-mode-line):
2347 `getenv' returns a string. (Bug#10951)
2348
2349 2012-03-05 Leo Liu <sdl.web@gmail.com>
2350
2351 * simple.el (backward-delete-char-untabify): Constrain point to
2352 field (Bug#10939).
2353
2354 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2355
2356 2012-03-05 Chong Yidong <cyd@gnu.org>
2357
2358 * simple.el (count-words): If called from Lisp, return the word
2359 count, for symmetry with `count-lines'. Arglist changed.
2360 (count-words--message): Args changed. Consolidate counting code
2361 from count-words and count-words-region.
2362 (count-words-region): Caller changed.
2363 (count-lines-region): Make it an obsolete alias.
2364
2365 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2366
2367 * saveplace.el (save-place-to-alist)
2368 (save-place-ignore-files-regexp): Allow value nil to disable this
2369 feature.
2370
2371 2012-03-04 Chong Yidong <cyd@gnu.org>
2372
2373 * faces.el (face-spec-reset-face): For the default face, reset the
2374 attributes to default values (Bug#10748).
2375
2376 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2377
2378 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2379 previous patch: Check `message-send-mail-function', and not the
2380 default function (bug#10897).
2381
2382 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2383
2384 * notifications.el (notifications-on-action-signal)
2385 (notifications-on-closed-signal): Check for unique service name of
2386 incoming event. Fix error in removing entry.
2387 (top): Register for signals with wildcard service name.
2388 (notifications-notify): Use daemon unique service name for map entries.
2389
2390 2012-03-04 Chong Yidong <cyd@gnu.org>
2391
2392 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2393
2394 2012-03-04 Glenn Morris <rgm@gnu.org>
2395
2396 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2397 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2398 (expand-abbrev, define-abbrev-table): Doc fixes.
2399
2400 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2401
2402 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2403 `message-default-send-mail-function' and not `send-mail-function'
2404 when doing the prompting for `sendmail-query-once' before sending
2405 in Message buffers (bug#10897).
2406
2407 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2408 This is inconsistent with all the other stream functions, which leave
2409 the setting up to the higher levels (if so wanted) (bug#10931).
2410
2411 2012-03-02 Alan Mackenzie <acm@muc.de>
2412
2413 Depessimize the handling of very large macros.
2414
2415 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2416 (c-macro-cache-syntactic): New variables to implement a one
2417 element macro cache.
2418 (c-invalidate-macro-cache): New function.
2419 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2420 Adapt to use the new cache.
2421 (c-state-safe-place): Use better the cache of safe positions.
2422 (c-state-semi-nonlit-pos-cache)
2423 (c-state-semi-nonlit-pos-cache-limit):
2424 New variables for...
2425 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2426 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2427 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2428 Use c-state-semi-safe-place.
2429
2430 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2431 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2432
2433 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2434
2435 * jka-compr.el (jka-compr-call-process):
2436 Apply `file-accessible-directory-p' only when the default directory is
2437 not remote.
2438
2439 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2442 access of FILE2, if FILE1 does not exist.
2443
2444 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2445 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2446
2447 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2448 Add "PAGER=" to `process-environment'.
2449
2450 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2451
2452 * progmodes/sql.el: Bug fix
2453 (sql-get-login-ext): Save login values in globals.
2454 (sql-get-login): Use new version of `sql-get-login-ext'.
2455 (sql-interactive-mode): Set global `sql-connection' to nil.
2456 (sql-connect): Set global values for connection.
2457 (sql-product-interactive): Save global values as buffer local.
2458
2459 2012-02-29 Leo Liu <sdl.web@gmail.com>
2460
2461 * abbrev.el (define-abbrevs): Reset sys to nil.
2462
2463 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2464
2465 * files.el (file-equal-p): Rename from `files-equal-p'.
2466 Return nil when one or both files don't exist.
2467 (file-subdir-of-p): Now only top directory must exists,
2468 return nil if it doesn't.
2469 (copy-directory): No need to test with `file-subdir-of-p' after
2470 creating dir.
2471 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2472 to `file-equal-p'.
2473
2474 2012-02-28 Glenn Morris <rgm@gnu.org>
2475
2476 * shell.el (shell-mode):
2477 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2478 * play/landmark.el (landmark-font-lock-face-O):
2479 * play/handwrite.el (handwrite):
2480 * play/gomoku.el (gomoku-O):
2481 * net/browse-url.el (browse-url-browser-display):
2482 * international/mule.el (define-charset):
2483 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2484 * filesets.el (filesets-find-file-delay):
2485 * eshell/em-xtra.el (eshell-xtra):
2486 * eshell/em-unix.el (eshell-grep):
2487 * emulation/viper.el (viper-mode):
2488 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2489 * emacs-lisp/easymenu.el (easy-menu-define):
2490 * calendar/timeclock.el (timeclock-use-display-time):
2491 * bs.el (bs-mode):
2492 * bookmark.el (bookmark-save-flag):
2493 Doc fix (standardize possessive apostrophe usage).
2494
2495 2012-02-27 Chong Yidong <cyd@gnu.org>
2496
2497 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2498 Fix key-binding lookup for ESC key (Bug#9146).
2499
2500 * font-lock.el (font-lock-specified-p): Rename from
2501 font-lock-spec-present. Callers changed.
2502
2503 2012-02-27 Daniel Hackney <dan@haxney.org>
2504
2505 * emacs-lisp/package.el (package-compute-transaction):
2506 Handle holding a package version to t in package-load-list.
2507
2508 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2509
2510 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2511 (tramp-get-inode, tramp-get-device): Use cached values.
2512
2513 2012-02-26 Alan Mackenzie <acm@muc.de>
2514
2515 Check there is a font-lock specification before doing initial
2516 fontification.
2517
2518 * font-core.el (font-lock-mode): Move the conditional from
2519 :after-hook to font-lock-initial-fontify.
2520 (font-lock-default-function): Move the check for a specification
2521 to font-lock-spec-present.
2522
2523 * font-lock.el (font-lock-initial-fontify): Call ...
2524 (font-lock-spec-present): New function.
2525
2526 2012-02-26 Jim Blandy <jimb@red-bean.com>
2527
2528 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2529 (gdb-send): Apply it to the operand of the '-interpreter-exec
2530 console' command, so that we can pass arguments with (say) quotes
2531 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2532
2533 2012-02-26 Chong Yidong <cyd@gnu.org>
2534
2535 * help-fns.el (describe-function-1): Clarify description of
2536 remapping (Bug#10844).
2537
2538 * files.el (files-equal-p): Doc fix.
2539 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2540 and quit the loop once a mismatch is found.
2541
2542 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2543
2544 * bs.el (bs--show-with-configuration): Don't throw an error
2545 if the window cannot be split; otherwise, subsequent calls to
2546 bs-show fail, restoring a stale window config. (Bug#10882)
2547
2548 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2549
2550 * term/ns-win.el (global-map): Bind ns-drag-file to
2551 ns-find-file (Bug#5855, Bug#10050).
2552
2553 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2554
2555 * calendar/parse-time.el (parse-time-string): Allow extractor to
2556 return nil.
2557
2558 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2559
2560 * net/tramp.el (tramp-file-name-for-operation):
2561 Add `files-equal-p' and `file-subdir-of-p'.
2562
2563 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2564 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2565 Add COPY-CONTENTS argument.
2566
2567 2012-02-25 Chong Yidong <cyd@gnu.org>
2568
2569 Add custom groups for VC backends, for consistency with vc-bzr.
2570
2571 * vc/vc-arch.el (vc-arch):
2572 * vc/vc-cvs.el (vc-cvs):
2573 * vc/vc-git.el (vc-git):
2574 * vc/vc-hg.el (vc-hg):
2575 * vc/vc-mtn.el (vc-mtn):
2576 * vc/vc-rcs.el (vc-rcs):
2577 * vc/vc-sccs.el (vc-sccs):
2578 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2579 All relevant defcustoms reassigned.
2580
2581 2012-02-25 Chong Yidong <cyd@gnu.org>
2582
2583 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2584
2585 * term/x-win.el (x-initialize-window-system): Reduce default for
2586 x-selection-timeout to 5 seconds (Bug#8869).
2587
2588 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2589
2590 * files.el (files-equal-p, file-subdir-of-p): New functions.
2591 (copy-directory): Error when trying to copy a directory on itself.
2592 Add missing copy-contents arg to tramp handler.
2593 * dired-aux.el (dired-copy-file-recursive): Same.
2594 (dired-create-files): Modify destination when source is equal to
2595 dest when copying files.
2596 Return also when dest is a subdir of source. (Bug#10489)
2597
2598 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2599
2600 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2601 (Bug#10874)
2602
2603 2012-02-23 Alan Mackenzie <acm@muc.de>
2604
2605 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2606 parameter "after-hook:" to allow the expansion to run code after
2607 the execution of the mode hooks.
2608
2609 * font-lock.el (font-lock-initial-fontify): New function extracted
2610 from font-lock-mode-internal.
2611
2612 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2613 :after-hook.
2614
2615 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2618 (completion--cache-all-sorted-completions): New function.
2619 (completion-all-sorted-completions): Use it.
2620 (completion--do-completion, minibuffer-force-complete):
2621 Use it to re-instate the flush hook.
2622
2623 * icomplete.el (icomplete-completions): Replace last fix with a better
2624 one (bug#10850).
2625
2626 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2627
2628 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2629 when it might call us back infinitely (bug#10797).
2630
2631 2012-02-23 Glenn Morris <rgm@gnu.org>
2632
2633 * minibuffer.el (completion-category-overrides): Doc fix.
2634
2635 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2636
2637 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2638 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2639
2640 2012-02-23 Glenn Morris <rgm@gnu.org>
2641
2642 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2643 (authors-obsolete-files-regexps, authors-ignored-files)
2644 (authors-ambiguous-files, authors-renamed-files-alist):
2645 Add more entries.
2646
2647 2012-02-23 Juri Linkov <juri@jurta.org>
2648
2649 * isearch.el (isearch-occur): Sync interactive spec with occur's
2650 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2651
2652 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2653
2654 2012-02-22 Juri Linkov <juri@jurta.org>
2655
2656 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2657 (ucs-insert): Doc fix. Check for hex digits in the string.
2658 Don't display `nil' in the error message. (Bug#10857)
2659
2660 2012-02-22 Alan Mackenzie <acm@muc.de>
2661
2662 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2663
2664 2012-02-22 Glenn Morris <rgm@gnu.org>
2665
2666 * ffap.el (ffap-c-path):
2667 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2668
2669 2012-02-22 Chong Yidong <cyd@gnu.org>
2670
2671 * custom.el (load-theme): Doc fix.
2672
2673 2012-02-22 Glenn Morris <rgm@gnu.org>
2674
2675 * dired-x.el (dired-guess-shell-alist-default):
2676 Remove escape sequences from nroff output. (Bug#172)
2677
2678 2012-02-21 Glenn Morris <rgm@gnu.org>
2679
2680 * vc/emerge.el (emerge-defvar-local):
2681 Set `permanent-local' property rather than unused `preserved'.
2682
2683 * textmodes/picture.el (picture-delete-char): New alias.
2684 (picture-mode-map): Use it. (Bug#10860)
2685 (picture-mode): Doc fix.
2686
2687 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2688
2689 * newcomment.el (uncomment-region-default): Remove unused binding.
2690
2691 2012-02-21 Glenn Morris <rgm@gnu.org>
2692
2693 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2694 (picture-self-insert, picture-tab-chars): Doc fix.
2695 (picture-mode-map): Fix C-a, C-e.
2696
2697 2012-02-20 Glenn Morris <rgm@gnu.org>
2698
2699 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2700
2701 2012-02-20 Leo Liu <sdl.web@gmail.com>
2702
2703 * icomplete.el (icomplete-completions): Check FROM arg before
2704 passing to substring (Bug#10850).
2705
2706 2012-02-19 Chong Yidong <cyd@gnu.org>
2707
2708 * comint.el: Require ansi-color.
2709 (comint-output-filter-functions): Add ansi-color-process-output.
2710
2711 * ansi-color.el: Don't set comint-output-filter-functions; it is
2712 now in the initial value defined in comint.el.
2713 (ansi-color-apply-face-function): New variable.
2714 (ansi-color-apply-on-region): Use it.
2715 (ansi-color-apply-overlay-face): New function.
2716
2717 * shell.el (shell): No need to require ansi-color.
2718 (shell-mode): Use ansi-color-apply-face-function to highlight
2719 color escapes using font-lock-face property (Bug#10835).
2720
2721 2012-02-19 Chong Yidong <cyd@gnu.org>
2722
2723 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2724 mode-line formats (Bug#10839).
2725
2726 2012-02-18 Glenn Morris <rgm@gnu.org>
2727
2728 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2729
2730 * mail/undigest.el (unforward-rmail-message): Doc fix.
2731
2732 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2733
2734 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2735
2736 * international/characters.el (script-list): Sync with the latest
2737 Unicode Character Database.
2738
2739 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2740
2741 * international/titdic-cnv.el: Remove duplicate coding tag.
2742 * language/cham.el: Likewise.
2743 * language/tai-viet.el: Likewise.
2744
2745 2012-02-18 Glenn Morris <rgm@gnu.org>
2746
2747 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2748 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2749 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2750 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2751 * calendar/holidays.el (holiday-bahai-holidays)
2752 (calendar-holidays, list-holidays):
2753 Use utf-8 Bahá'í in doc-strings, menus, etc.
2754
2755 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2756
2757 * saveplace.el (save-place-ignore-files-regexp): New variable
2758 allowing for excluding files from saving their location of point.
2759 The default value matches the temporary commit message editing
2760 files from Git, SVN, Bazaar, and Mercurial.
2761 (save-place-to-alist): Use it.
2762
2763 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2764 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * newcomment.el (uncomment-region-default): Don't leave extra space
2767 when an arg is provided (bug#8150).
2768
2769 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2770
2771 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2772
2773 2012-02-17 Glenn Morris <rgm@gnu.org>
2774
2775 * net/socks.el: Require network-stream. (Bug#10599)
2776
2777 2012-02-17 Kenichi Handa <handa@m17n.org>
2778
2779 * international/charprop.el:
2780 * international/uni-name.el:
2781 * international/uni-old-name.el:
2782 * international/uni-comment.el: Regenerate.
2783
2784 2012-02-16 Glenn Morris <rgm@gnu.org>
2785
2786 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2787 Interactively in calendar buffer, give an error if not on a date.
2788
2789 2012-02-15 Glenn Morris <rgm@gnu.org>
2790
2791 * shell.el (shell-delimiter-argument-list):
2792 Revert 2011-02-17 change. (Bug#8027)
2793
2794 2012-02-15 Chong Yidong <cyd@gnu.org>
2795
2796 * minibuffer.el (completion-at-point-functions): Doc fix.
2797
2798 * custom.el (defcustom): Doc fix; note use of defvar.
2799
2800 2012-02-15 Glenn Morris <rgm@gnu.org>
2801
2802 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2803 Doc fixes.
2804
2805 2012-02-14 Glenn Morris <rgm@gnu.org>
2806
2807 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2808
2809 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2810
2811 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2812 way the ports list is computed.
2813 (smtpmail-query-smtp-server): Prompt the user for a port number if
2814 we can't connect to any of the standard ports (bug#10810).
2815
2816 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2817
2818 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2819
2820 2012-02-13 Glenn Morris <rgm@gnu.org>
2821
2822 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2823
2824 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2825
2826 * net/gnutls.el (gnutls-trustfiles): New variable.
2827 (gnutls-negotiate): Use it.
2828
2829 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2830
2831 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2832 does its stuff if Gnus is running.
2833
2834 2012-02-13 Alan Mackenzie <acm@muc.de>
2835
2836 Fix a loop in c-set-fl-decl-start.
2837
2838 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2839 c-backward-syntactic-ws actually moves backwards.
2840
2841 2012-02-13 Leo Liu <sdl.web@gmail.com>
2842
2843 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2844 beginning so that all \C-o chars are removed.
2845
2846 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2847
2848 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2849
2850 2012-02-12 Alan Mackenzie <acm@muc.de>
2851
2852 Fix infinite loop with long macros.
2853 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2854
2855 2012-02-12 Chong Yidong <cyd@gnu.org>
2856
2857 * window.el (display-buffer): Doc fix (Bug#10785).
2858
2859 2012-02-12 Glenn Morris <rgm@gnu.org>
2860
2861 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2862 (x-disown-selection-internal, x-get-selection-internal):
2863 Sync docs with the xselect.c versions.
2864
2865 * allout-widgets.el: Add missing license notice.
2866
2867 2012-02-11 Glenn Morris <rgm@gnu.org>
2868
2869 * select.el (x-get-selection-internal, x-own-selection-internal)
2870 (x-disown-selection-internal):
2871 * x-dnd.el (x-get-selection-internal): Update declarations.
2872
2873 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2874
2875 * window.el (window-sides-slots):
2876 * tool-bar.el (tool-bar-position):
2877 * term/xterm.el (xterm-extra-capabilities):
2878 * ses.el (ses-self-reference-early-detection):
2879 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2880 (verilog-auto-wire-type)
2881 (verilog-auto-delete-trailing-whitespace)
2882 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2883 (verilog-auto-tieoff-declaration):
2884 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2885 (sql-oracle-statement-starters, sql-oracle-scan-on):
2886 * progmodes/prolog.el (prolog-align-comments-flag)
2887 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2888 (prolog-left-indent-regexp, prolog-paren-indent-p)
2889 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2890 (prolog-types, prolog-mode-specificators)
2891 (prolog-determinism-specificators, prolog-directives)
2892 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2893 (prolog-electric-dot-flag)
2894 (prolog-electric-dot-full-predicate-template)
2895 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2896 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2897 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2898 (prolog-program-switches, prolog-prompt-regexp)
2899 (prolog-debug-on-string, prolog-debug-off-string)
2900 (prolog-trace-on-string, prolog-trace-off-string)
2901 (prolog-zip-on-string, prolog-zip-off-string)
2902 (prolog-use-standard-consult-compile-method-flag)
2903 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2904 (prolog-imenu-max-lines, prolog-info-predicate-index)
2905 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2906 (prolog-char-quote-workaround):
2907 * progmodes/cc-vars.el (c-defun-tactic):
2908 * net/tramp.el (tramp-encoding-command-interactive)
2909 (tramp-local-end-of-line):
2910 * net/soap-client.el (soap-client):
2911 * net/netrc.el (netrc-file):
2912 * net/gnutls.el (gnutls):
2913 * minibuffer.el (completion-category-overrides)
2914 (completion-cycle-threshold)
2915 (completion-pcm-complete-word-inserts-delimiters):
2916 * man.el (Man-name-local-regexp):
2917 * mail/feedmail.el (feedmail-display-full-frame):
2918 * international/characters.el (glyphless-char-display-control):
2919 * eshell/em-ls.el (eshell-ls-date-format):
2920 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2921 (lisp-lambda-list-keyword-parameter-indentation)
2922 (lisp-lambda-list-keyword-parameter-alignment):
2923 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2924 * dired-x.el (dired-omit-verbose):
2925 * cus-theme.el (custom-theme-allow-multiple-selections):
2926 * calc/calc.el (calc-highlight-selections-with-faces)
2927 (calc-lu-field-reference, calc-lu-power-reference)
2928 (calc-note-threshold):
2929 * battery.el (battery-mode-line-limit):
2930 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2931 (archive-7z-update):
2932 * allout.el (allout-prefixed-keybindings)
2933 (allout-unprefixed-keybindings)
2934 (allout-inhibit-auto-fill-on-headline)
2935 (allout-flattened-numbering-abbreviation):
2936 * allout-widgets.el (allout-widgets-auto-activation)
2937 (allout-widgets-icons-dark-subdir)
2938 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2939 (allout-widgets-theme-dark-background)
2940 (allout-widgets-theme-light-background)
2941 (allout-widgets-item-image-properties-emacs)
2942 (allout-widgets-item-image-properties-xemacs)
2943 (allout-widgets-run-unit-tests-on-load)
2944 (allout-widgets-time-decoration-activity)
2945 (allout-widgets-hook-error-post-time)
2946 (allout-widgets-track-decoration):
2947 Add missing :version tags to new defcustoms and defgroups.
2948
2949 * progmodes/sql.el (sql-ansi-statement-starters)
2950 (sql-oracle-statement-starters): Add custom type.
2951
2952 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2953 (prolog-system-version): Give it a type.
2954
2955 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2956
2957 * term/pc-win.el (x-select-text, x-selection-owner-p)
2958 (x-own-selection-internal, x-disown-selection-internal)
2959 (x-get-selection-internal): Sync doc strings and argument lists
2960 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2961
2962 2012-02-11 Leo Liu <sdl.web@gmail.com>
2963
2964 * progmodes/python.el (python-end-of-statement): Fix infinite
2965 loop. (Bug#10788)
2966
2967 2012-02-10 Glenn Morris <rgm@gnu.org>
2968
2969 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2970 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2971
2972 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2973
2974 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2975 about SMTP before checking the From header.
2976
2977 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2978 into own function for reuse by emacsbug.el.
2979
2980 2012-02-10 Leo Liu <sdl.web@gmail.com>
2981
2982 * subr.el (condition-case-unless-debug): Rename from
2983 condition-case-no-debug. All callers changed.
2984 (with-demoted-errors): Fix caller.
2985
2986 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2987 * nxml/rng-valid.el (rng-do-some-validation):
2988 * emacs-lisp/package.el (package-refresh-contents)
2989 (package-menu-execute):
2990 * desktop.el (desktop-create-buffer):
2991 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2992
2993 2012-02-10 Glenn Morris <rgm@gnu.org>
2994
2995 * textmodes/bibtex.el:
2996 Add missing :version tags for new/changed defcustoms.
2997
2998 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2999
3000 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3001
3002 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3003 (smtpmail-via-smtp): Use it, or fall back on the From address.
3004 (smtpmail-send-it): Ditto.
3005
3006 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3009 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3010 (byte-compile-tmp-var): New const.
3011 (byte-compile-defvar): Use it to minimize .elc size.
3012 Just use `defvar' rather than simulate it (bug#10761).
3013
3014 2012-02-09 Glenn Morris <rgm@gnu.org>
3015
3016 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3017
3018 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3019 Add :version tags.
3020
3021 * progmodes/compile.el (compilation-error-screen-columns)
3022 (compilation-first-column, compilation-filter-start): Doc fixes.
3023
3024 * vc/log-view.el (log-view-toggle-entry-display):
3025 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3026
3027 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3028 (report-emacs-bug-can-use-xdg-email):
3029 (report-emacs-bug-insert-to-mailer): Doc fixes.
3030 (report-emacs-bug): Message fix.
3031
3032 * net/browse-url.el (browse-url-can-use-xdg-open)
3033 (browse-url-xdg-open): Doc fixes.
3034
3035 * electric.el (electric-indent-mode, electric-pair-mode)
3036 (electric-layout-rules, electric-layout-mode): Doc fixes.
3037 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3038
3039 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3040
3041 * server.el (server-unselect-display): Don't inadvertently kill
3042 the current buffer. (Bug#10729)
3043
3044 2012-02-08 Glenn Morris <rgm@gnu.org>
3045
3046 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3047 (sql-list-table): Doc fixes.
3048
3049 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3050 Comment out (does nothing).
3051
3052 * completion.el (dynamic-completion-mode):
3053 * dirtrack.el (dirtrack-debug-mode):
3054 * electric.el (electric-layout-mode):
3055 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3056 * face-remap.el (text-scale-mode, buffer-face-mode):
3057 * iimage.el (iimage-mode):
3058 * image-mode.el (image-transform-mode):
3059 * minibuffer.el (completion-in-region-mode):
3060 * scroll-lock.el (scroll-lock-mode):
3061 * simple.el (next-error-follow-minor-mode):
3062 * tar-mode.el (tar-subfile-mode):
3063 * tooltip.el (tooltip-mode):
3064 * vcursor.el (vcursor-use-vcursor-map):
3065 * wid-browse.el (widget-minor-mode):
3066 * emulation/tpu-edt.el (tpu-edt-mode):
3067 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3068 * international/iso-ascii.el (iso-ascii-mode):
3069 * language/thai-util.el (thai-word-mode):
3070 * mail/supercite.el (sc-minor-mode):
3071 * net/goto-addr.el (goto-address-mode):
3072 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3073 * progmodes/cwarn.el (cwarn-mode):
3074 * progmodes/flymake.el (flymake-mode):
3075 * progmodes/glasses.el (glasses-mode):
3076 * progmodes/hideshow.el (hs-minor-mode):
3077 * progmodes/pascal.el (pascal-outline-mode):
3078 * textmodes/enriched.el (enriched-mode):
3079 * vc/smerge-mode.el (smerge-mode):
3080 Doc fixes (minor mode argument).
3081
3082 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3083
3084 * ls-lisp.el (ls-lisp-sanitize): New function.
3085 (ls-lisp-insert-directory): Use it to fix or remove any elements
3086 in file-alist with missing attributes. (Bug#4673)
3087
3088 2012-02-07 Alan Mackenzie <acm@muc.de>
3089
3090 Fix spurious recognition of c-in-knr-argdecl.
3091
3092 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3093 putative K&R region.
3094
3095 2012-02-07 Alan Mackenzie <acm@muc.de>
3096
3097 * progmodes/cc-engine.el (c-forward-objc-directive):
3098 Prevent looping in "#pragma mark @implementation".
3099
3100 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3101
3102 * notifications.el (notifications-on-closed-signal): Make `reason'
3103 optional. (Bug#10744)
3104
3105 2012-02-07 Glenn Morris <rgm@gnu.org>
3106
3107 * emacs-lisp/easy-mmode.el (define-minor-mode):
3108 Doc fixes for the macro and the mode it defines.
3109
3110 * image.el (imagemagick-types-inhibit): Doc fix.
3111
3112 * cus-start.el (imagemagick-render-type): Add it.
3113
3114 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3115
3116 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3117 Set the default at load time, too, so that `font-lock-fontify-buffer'
3118 can be called without setting up the entire mode first. This fixes
3119 a bug in `mm-inline-text' with C MIME parts.
3120
3121 2012-02-06 Chong Yidong <cyd@gnu.org>
3122
3123 * simple.el (list-processes--refresh): Delete exited processes
3124 (Bug#8094).
3125
3126 * comint.el (comint-next-prompt): next-single-char-property-change
3127 and prev-single-char-property-change never return nil (Bug#8657).
3128
3129 * custom.el (defcustom): Doc fix (Bug#9711).
3130
3131 2012-02-05 Chong Yidong <cyd@gnu.org>
3132
3133 * cus-edit.el (custom-variable-reset-backup): Quote the value
3134 before storing it in the customized-value property (Bug#6712).
3135 (custom-display): Add a customization type tag.
3136 (custom-buffer-create-internal): Improve tooltip message.
3137
3138 * wid-edit.el (widget-field-value-get): New optional arg to
3139 suppress trailing whitespace truncation.
3140 (character): Use it (Bug#2689).
3141
3142 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3143
3144 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3145 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3146
3147 2012-02-05 Chong Yidong <cyd@gnu.org>
3148
3149 * cus-edit.el (custom-variable-value-create): For mismatched
3150 types, show the current value (Bug#7600).
3151
3152 * custom.el (defcustom): Doc fix.
3153
3154 2012-02-05 Glenn Morris <rgm@gnu.org>
3155
3156 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3157
3158 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3159
3160 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3161 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3162 (pp-last-sexp): Use `looking-at-p'.
3163
3164 2012-02-04 Glenn Morris <rgm@gnu.org>
3165
3166 * files.el (revert-buffer):
3167 Doc fix (mention revert-buffer-in-progress-p).
3168
3169 * emacs-lisp/ert-x.el (ert-simulate-command):
3170 Check deferred-action-list (which is obsolete) is bound.
3171
3172 * subr.el (with-wrapper-hook): Doc fixes.
3173
3174 * simple.el (filter-buffer-substring-functions)
3175 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3176
3177 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3178
3179 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3180 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3181
3182 2012-02-04 Leo Liu <sdl.web@gmail.com>
3183
3184 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3185
3186 2012-02-04 Glenn Morris <rgm@gnu.org>
3187
3188 * image.el (image-extension-data): Add obsolete alias.
3189
3190 * isearch.el (isearch-update): Doc fix.
3191
3192 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3193
3194 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3195
3196 2012-02-03 Glenn Morris <rgm@gnu.org>
3197
3198 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3199 (image-animate-timeout): Doc fix.
3200
3201 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3202
3203 2012-02-02 Glenn Morris <rgm@gnu.org>
3204
3205 * server.el (server-auth-dir): Doc fix.
3206 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3207
3208 * subr.el (run-mode-hooks): Doc fix.
3209
3210 2012-02-02 Juri Linkov <juri@jurta.org>
3211
3212 * image-mode.el (image-toggle-display-image): Remove tautological
3213 `major-mode' from the `derived-mode-p' test.
3214
3215 2012-02-02 Kenichi Handa <handa@m17n.org>
3216
3217 * composite.el (compose-region): Cancel previous change.
3218
3219 2012-02-02 Kenichi Handa <handa@m17n.org>
3220
3221 * composite.el (compose-region, compose-string): Signal error for
3222 a null string component (Bug#6988).
3223
3224 2012-02-01 Chong Yidong <cyd@gnu.org>
3225
3226 * view.el (view-buffer-other-window, view-buffer-other-frame):
3227 Handle special modes like view-buffer (Bug#10650).
3228 (view-buffer): Simplify.
3229
3230 * frame.el (set-frame-font): Tweak meaning of third argument.
3231
3232 * dynamic-setting.el (font-setting-change-default-font):
3233 Use set-frame-font (Bug#9982).
3234
3235 2012-02-01 Glenn Morris <rgm@gnu.org>
3236
3237 * progmodes/compile.el (compilation-internal-error-properties):
3238 Respect compilation-first-column in the "*compilation*" buffer.
3239
3240 * emacs-lisp/easy-mmode.el (define-minor-mode):
3241 Relax :variable's test for a named function.
3242
3243 2012-01-31 Alan Mackenzie <acm@muc.de>
3244
3245 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3246 off by one error.
3247
3248 2012-01-31 Chong Yidong <cyd@gnu.org>
3249
3250 * frame.el (set-frame-font): New arg ALL-FRAMES.
3251
3252 * menu-bar.el (menu-set-font): Use set-frame-font.
3253
3254 * faces.el (face-spec-reset-face): Don't apply unspecified
3255 attribute values to the default face.
3256
3257 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3258
3259 * progmodes/cwarn.el (cwarn): Remove dead link.
3260 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3261 Remove * from defcustom docstrings.
3262 (turn-on-cwarn-mode): Make obsolete.
3263 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3264 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3265
3266 2012-01-31 Glenn Morris <rgm@gnu.org>
3267
3268 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3269 Fix :variable handling of mode a symbol not equal to modefun.
3270 Allow named functions to be used as the cdr of :variable.
3271
3272 2012-01-30 Glenn Morris <rgm@gnu.org>
3273
3274 * emacs-lisp/authors.el (authors-fixed-entries):
3275 Remove reference to deleted file rnewspost.el.
3276
3277 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3278
3279 * window.el (window-with-parameter): Remove unused variable `windows'.
3280 (window--side-check): Remove unused variable `code'.
3281 (window--resize-siblings): Remove unused variable `first'.
3282 (adjust-window-trailing-edge): Remove unused variable `failed'.
3283 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3284 Use `let', not `let*'.
3285 (balance-windows-2): Remove unused variable `found'.
3286 (window--state-put-2): Remove unused variable `splits'.
3287 (window-state-put): Remove unused variable `selected'.
3288 (same-window-p): Use `string-match-p'.
3289 (display-buffer-assq-regexp): Remove unused variable `value'.
3290 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3291 Mark argument ALIST as ignored.
3292 (pop-to-buffer): Remove unused variable `old-window'.
3293
3294 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3295
3296 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3297 and .lzma compressed files.
3298
3299 2012-01-29 Chong Yidong <cyd@gnu.org>
3300
3301 * frame.el (window-system-default-frame-alist): Doc fix.
3302
3303 * dynamic-setting.el (font-setting-change-default-font): Don't
3304 change the default face if SET-FONT argument is non-nil (Bug#9982).
3305
3306 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3307
3308 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3309
3310 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3311
3312 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3313 breakpoints in files outside current directory (Bug#6098).
3314
3315 2012-01-29 Chong Yidong <cyd@gnu.org>
3316
3317 * progmodes/python.el: Require ansi-color at top-level.
3318
3319 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3320 Define and use in Emacs Lisp mode (Bug#9360).
3321 (lisp-mode-abbrev-table): Add doc.
3322 (lisp-mode-variables): Don't set local-abbrev-table.
3323 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3324
3325 2012-01-28 Roland Winkler <winkler@gnu.org>
3326
3327 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3328
3329 2012-01-28 Roland Winkler <winkler@gnu.org>
3330
3331 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3332 (bibtex-set-dialect): Use it. Either set global values of
3333 dialect-dependent variables or bind these variables buffer-locally
3334 (Bug#10254).
3335 (bibtex-mode): Call bibtex-set-dialect via
3336 hack-local-variables-hook.
3337 (bibtex-dialect): Update docstring.
3338 Add safe-local-variable predicate.
3339 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3340 bibtex-set-dialect.
3341 (bibtex-mode-map): Define menu for each dialect.
3342 (bibtex-entry): Fix docstring.
3343
3344 2012-01-28 Chong Yidong <cyd@gnu.org>
3345
3346 * eshell/esh-arg.el (eshell-quote-argument): New function.
3347
3348 * eshell/esh-ext.el (eshell-invoke-batch-file):
3349 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3350 first arg to eshell-parse-command (Bug#10523).
3351
3352 2012-01-28 Drew Adams <drew.adams@oracle.com>
3353
3354 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3355 `default-directory' is non-nil.
3356
3357 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3358
3359 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3360 line that displays system-configuration-options. (Bug#9924)
3361
3362 2012-01-28 Drew Adams <drew.adams@oracle.com>
3363
3364 * descr-text.el (describe-char): Show information about POS, in
3365 addition to information about the character at POS. Improve and
3366 update the doc string. Change "code point" to "code point in
3367 charset", to avoid confusion with the character's Unicode code
3368 point shown above that. (Bug#10129)
3369
3370 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3371
3372 * descr-text.el (describe-char): Show the raw character, not only
3373 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3374 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3375 for the reasons.
3376
3377 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3378
3379 * emacs-lisp/package.el (package-install):
3380 Run package-refresh-contents if there is no archive yet (Bug#9798).
3381
3382 2012-01-28 Chong Yidong <cyd@gnu.org>
3383
3384 * emacs-lisp/package.el (package-maybe-load-descriptor):
3385 New function, split from package-maybe-load-descriptor.
3386 (package-maybe-load-descriptor): Use it.
3387 (package-download-transaction): Fully load required packages
3388 inside the loop, so that `require' calls work (Bug#10593).
3389 (package-install): No need to call package-initialize now.
3390
3391 2012-01-28 Chong Yidong <cyd@gnu.org>
3392
3393 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3394
3395 * tooltip.el (tooltip-mode): Doc fix.
3396 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3397
3398 * frame.el (set-cursor-color): Doc fix (Bug#352).
3399
3400 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3401 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3402
3403 * cus-edit.el (custom-buffer-create-internal): Fix search button
3404 action (Bug#10542).
3405 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3406
3407 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3408
3409 * dired.el (dired-mark-files-regexp):
3410 Include any subdirectory components. (Bug#10445)
3411
3412 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3413
3414 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3415 Handle [host]:port syntax. (Bug#10533)
3416
3417 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3418
3419 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3420
3421 2012-01-26 Glenn Morris <rgm@gnu.org>
3422
3423 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3424 * term.el (term-raw-escape-map): Use Control-X-prefix.
3425 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3426
3427 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3428
3429 * window.el (window-state-get, window--state-get-1): Don't deal
3430 with fixed-sizeness of windows. Simplify code.
3431
3432 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3433
3434 * window.el (window--state-get-1, window--state-put-2):
3435 Don't save and restore the mark.
3436
3437 2012-01-25 Chong Yidong <cyd@gnu.org>
3438
3439 * custom.el (custom-variable-p): Doc fix.
3440
3441 2012-01-25 Glenn Morris <rgm@gnu.org>
3442
3443 * dired.el (dired-goto-file): Handle some of the more common
3444 characters that `ls -b' escapes. (Bug#10596)
3445
3446 * progmodes/compile.el (compilation-next-error-function):
3447 Respect compilation-first-column in the "*compilation*" buffer.
3448 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3449
3450 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3451
3452 2012-01-24 Glenn Morris <rgm@gnu.org>
3453
3454 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3455
3456 2012-01-24 Julien Danjou <julien@danjou.info>
3457
3458 * color.el (color-rgb-to-hsl): Fix value computing.
3459 (color-hue-to-rgb): New function.
3460 (color-hsl-to-rgb): New function.
3461 (color-clamp, color-saturate-hsl, color-saturate-name)
3462 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3463 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3464
3465 2012-01-24 Glenn Morris <rgm@gnu.org>
3466
3467 * vc/vc-rcs.el (vc-rcs-create-tag):
3468 * vc/vc-sccs.el (vc-sccs-create-tag):
3469 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3470
3471 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3472
3473 * eshell/esh-util.el (eshell-read-hosts-file):
3474 Skip comment lines. (Bug#10549)
3475
3476 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3477
3478 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3479
3480 * subr.el (display-delayed-warnings): Doc fix.
3481 (collapse-delayed-warnings): New function to collapse identical
3482 adjacent warnings.
3483 (delayed-warnings-hook): Add it.
3484
3485 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3486
3487 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3488
3489 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3490 properties, when "login-as" is set.
3491
3492 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3493 (tramp-default-user-alist): Don't add "pscp".
3494 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3495 property "login-as", if set. (Bug#10530)
3496
3497 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3498
3499 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3500 "plink1" and "psftp". (Bug#10530)
3501
3502 2012-01-21 Kenichi Handa <handa@m17n.org>
3503
3504 * international/mule-cmds.el (prefer-coding-system): Show a
3505 warning message if the default value of file-name-coding-system
3506 was not changed.
3507
3508 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3509
3510 * windmove.el (windmove-reference-loc):
3511 Fix windmove-reference-loc miscalculation.
3512
3513 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3514
3515 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3516 default unit.
3517
3518 2012-01-21 Glenn Morris <rgm@gnu.org>
3519
3520 * international/mule.el (auto-coding-alist): Add .tbz.
3521
3522 * files.el (local-enable-local-variables): Doc fix.
3523 (inhibit-local-variables-regexps): Rename from
3524 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3525 Doc fix. Add some extensions from auto-coding-alist.
3526 (inhibit-local-variables-suffixes):
3527 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3528 (inhibit-local-variables-p):
3529 New function, extracted from set-auto-mode-1.
3530 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3531 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3532 (hack-local-variables): Doc fix. Make the mode-only case
3533 respect enable-local-variables and friends.
3534 Respect inhibit-local-variables-regexps for file-locals, but
3535 not for directory-locals.
3536 (set-visited-file-name):
3537 Take account of inhibit-local-variables-regexps.
3538 Whether it applies may change as the file name is changed.
3539 * jka-cmpr-hook.el (jka-compr-install):
3540 * jka-compr.el (jka-compr-uninstall):
3541 Update for inhibit-first-line-modes-suffixes name change.
3542
3543 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3544
3545 * help-macro.el (make-help-screen): Temporarily restore original
3546 binding for minor-mode-map-alist (Bug#10454).
3547
3548 2012-01-19 Julien Danjou <julien@danjou.info>
3549
3550 * color.el (color-name-to-rgb): Use the white color to find the max
3551 color component value and return correctly computed values.
3552 (color-name-to-rgb): Add missing float conversion for max value.
3553
3554 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3555
3556 * window.el (window--state-get-1, window-state-get): Do not use
3557 special state value for window-persistent-parameters.
3558 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3559 (window--state-put-2): Reset all window parameters to nil before
3560 assigning values of persistent parameters.
3561
3562 2012-01-18 Alan Mackenzie <acm@muc.de>
3563
3564 Eliminate sluggishness and hangs in fontification of "semicolon
3565 deserts".
3566
3567 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3568 Change value 10000 -> 3000.
3569 (c-state-safe-place): Reformulate so it doesn't stack up an
3570 infinite number of wrong entries in c-state-nonlit-pos-cache.
3571 (c-determine-limit-get-base, c-determine-limit): New functions to
3572 determine backward search limits disregarding literals.
3573 (c-find-decl-spots): Amend commenting.
3574 (c-cheap-inside-bracelist-p): New function which detects "={".
3575
3576 * progmodes/cc-fonts.el
3577 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3578 backward search.
3579 (c-font-lock-declarations): Fix an occurrence of point being
3580 undefined. Check additionally for point being in a bracelist or
3581 near a macro invocation without a semicolon so as to avoid a
3582 fruitless time consuming search for a declarator. Give a more
3583 precise search limit for declarators using the new
3584 c-determine-limit.
3585
3586 2012-01-18 Glenn Morris <rgm@gnu.org>
3587
3588 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3589 (set-auto-mode): Doc fixes.
3590
3591 2012-01-17 Glenn Morris <rgm@gnu.org>
3592
3593 * isearch.el (search-nonincremental-instead): Fix doc typo.
3594
3595 * dired.el (dired-insert-directory): Handle newlines in directory name.
3596 (dired-build-subdir-alist): Unescape newlines in directory name.
3597
3598 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3599
3600 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3601 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3602 (tramp-action-terminal): Use it. (Bug#10530)
3603
3604 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3607
3608 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3609
3610 * window.el (window-state-ignored-parameters): Remove variable.
3611 (window--state-get-1): Rename argument MARKERS to IGNORE.
3612 Handle persistent window parameters. Make copy of clone-of
3613 parameter only if requested. (Bug#10348)
3614 (window--state-put-2): Install a window parameter only if it has
3615 a non-nil value or an existing parameter shall be overwritten.
3616
3617 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3618
3619 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3620
3621 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3622
3623 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3624 don't pass the (nil) value of `upnode' to string-match.
3625
3626 2012-01-14 Chong Yidong <cyd@gnu.org>
3627
3628 * startup.el (command-line): Fix X resource class for cursorColor.
3629 Fix values recognized by the cursorBlink resource.
3630
3631 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3632
3633 * epg.el (epg--make-temp-file): Avoid permission race condition
3634 when running on old Emacs versions (bug#10403).
3635
3636 2012-01-14 Glenn Morris <rgm@gnu.org>
3637
3638 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3639
3640 2012-01-13 Alan Mackenzie <acm@muc.de>
3641
3642 Fix filling for when filladapt mode is enabled.
3643
3644 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3645 c-mask-paragraph, pass in `fill-paragraph' rather than
3646 `fill-region-as-paragraph'. (This is a reversion of a previous
3647 change.)
3648 * progmodes/cc-mode.el (c-basic-common-init):
3649 Make fill-paragraph-handle-comment buffer local and set it to nil.
3650
3651 2012-01-13 Glenn Morris <rgm@gnu.org>
3652
3653 * dired.el (dired-switches-escape-p): New function.
3654 (dired-insert-directory): Use dired-switches-escape-p.
3655 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3656
3657 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3658
3659 2012-01-12 Glenn Morris <rgm@gnu.org>
3660
3661 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3662 changes in adaptive-fill-regexp. (Bug#10276)
3663
3664 2012-01-11 Alan Mackenzie <acm@muc.de>
3665
3666 Fix Emacs bug #10463 - put `widen's around the critical spots.
3667
3668 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3669 widen around each invocation of c-state-pp-to-literal. Remove an
3670 unused let variable.
3671
3672 2012-01-11 Glenn Morris <rgm@gnu.org>
3673
3674 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3675 Doc fix.
3676
3677 2012-01-10 Chong Yidong <cyd@gnu.org>
3678
3679 * net/network-stream.el (network-stream-open-starttls):
3680 Avoid emitting a confusing error message when the server gives a bad
3681 response to the capability command.
3682
3683 2012-01-10 Glenn Morris <rgm@gnu.org>
3684
3685 * mail/unrmail.el (unrmail): Tweak previous change.
3686
3687 2012-01-09 Chong Yidong <cyd@gnu.org>
3688
3689 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3690
3691 2012-01-08 Alan Mackenzie <acm@muc.de>
3692
3693 Optimise font locking in long enum definitions.
3694
3695 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3696 arm to a cond form to handle enums.
3697 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3698 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3699
3700 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3701
3702 * files.el (move-file-to-trash): Preserve default file modes on error.
3703 (Bug#10401)
3704
3705 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3706
3707 * faces.el (set-face-attribute): Clarify the meaning of the nil
3708 frame (bug#10294).
3709
3710 * subr.el (with-selected-frame): Mention that the selected frame
3711 is restored (bug#9980).
3712
3713 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3714 (bug#9759).
3715
3716 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3717 (password-read): Don't autoload unused function.
3718
3719 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3720
3721 * progmodes/which-func.el (which-func-mode): Turn into a
3722 non-interactive function and mark as obsolete (bug#10428).
3723
3724 2012-01-06 Chong Yidong <cyd@gnu.org>
3725
3726 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3727 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3728 functions, along with 1 and -1.
3729
3730 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3731
3732 * time.el (display-time-load-average)
3733 (display-time-default-load-average): Doc fixes. See the thread
3734 starting at
3735 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3736 for the details.
3737
3738 2012-01-06 Glenn Morris <rgm@gnu.org>
3739
3740 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3741 has no messages. (Bug#10377)
3742
3743 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3744 than Info-edit. (Bug#10385)
3745
3746 * time.el (display-time-load-average, display-time-next-load-average):
3747 Doc fixes.
3748
3749 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3750 local setting of buffer-read-only to the input buffer. (Bug#10419)
3751
3752 * calendar/calendar.el (calendar-mode):
3753 Locally set scroll-margin to 0. (Bug#10379)
3754
3755 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3756
3757 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3758
3759 2012-01-05 Glenn Morris <rgm@gnu.org>
3760
3761 * eshell/em-unix.el (diff-no-select): Autoload it.
3762 (eshell/diff): Use diff-no-select. (Bug#10420)
3763
3764 2012-01-05 Chong Yidong <cyd@gnu.org>
3765
3766 * shell.el (shell-dynamic-complete-functions): Revert last change.
3767 (shell-command-completion-function): New function.
3768 (shell-completion-vars): Use it to implement
3769 shell-completion-execonly (Bug#10417).
3770
3771 * custom.el (enable-theme): Don't set custom-safe-themes.
3772
3773 * cus-theme.el (custom-theme-merge-theme):
3774 Ignore custom-enabled-themes and custom-safe-themes.
3775
3776 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3777
3778 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3779 first prompt in `sql-interacive-mode'.
3780 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3781 keywords.
3782 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3783 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3784 context of original buffer. Invoke `sql-login-hook'.
3785
3786 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3787
3788 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3789 letters in cite-prefix.
3790
3791 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3792
3793 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3794
3795 2012-01-03 Chong Yidong <cyd@gnu.org>
3796
3797 * shell.el (shell-dynamic-complete-functions):
3798 Put pcomplete-completions-at-point, so as to try
3799 comint-filename-completion first (Bug#10417).
3800
3801 2012-01-02 Richard Stallman <rms@gnu.org>
3802
3803 * battery.el (battery-status-function):
3804 Detect when to use battery-yeeloong-sysfs.
3805 (battery-echo-area-format): Add string for Yeeloong.
3806 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3807 (battery-yeeloong-sysfs): New function.
3808
3809 2012-01-02 Chong Yidong <cyd@gnu.org>
3810
3811 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3812 (dirtrack): Merge code for handling relative filenames in prompt
3813 from shell-dir-cookie-watcher.
3814 (dirtrack-debug-message): New arg to avoid excess format calls.
3815
3816 * shell.el (shell-dir-cookie-re): Variable deleted.
3817 (shell-dir-cookie-watcher): Function deleted.
3818 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3819 with dirtrack-mode.
3820
3821 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3822
3823 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3824 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3825 libgnutls-26.dll.
3826
3827 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3828
3829 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3830
3831 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3832
3833 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3834 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3835
3836 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3837
3838 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3839 also for alternative shells.
3840 (tramp-open-connection-setup-interactive-shell): Check, whether
3841 the shell is a busybox.
3842 (tramp-send-command): Don't suppress multiple prompts for
3843 busyboxes, it hurts.
3844
3845 2011-12-28 Chong Yidong <cyd@gnu.org>
3846
3847 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3848 (gdb-get-source-file): Move mode line update to
3849 gdb-get-source-file (Bug#10087).
3850
3851 2011-12-25 Chong Yidong <cyd@gnu.org>
3852
3853 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3854 gud-gdb-marker-filter without taking it as an argument.
3855 (gud-gdb-run-command-fetch-lines): Caller changed.
3856 (gud-gdb-completion-function): New variable.
3857 (gud-gdb-completion-at-point): Use it.
3858 (gud-gdb-completions-1): Split from gud-gdb-completions.
3859
3860 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3861 function as separate arguments.
3862 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3863 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3864 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3865 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3866 (gdb-stopped, def-gdb-auto-update-trigger)
3867 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3868 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3869 Callers changed.
3870 (gud-gdbmi-completions): New function.
3871 (gdb): Use it for generating the completion table.
3872
3873 2011-12-24 Alan Mackenzie <acm@muc.de>
3874
3875 Introduce a mechanism to widen the region used in context font
3876 locking. Use this to protect declarations from losing their contexts.
3877
3878 * progmodes/cc-langs.el (c-before-font-lock-functions):
3879 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3880 (c-before-context-fontification-functions): New defvar, a list of
3881 functions to be run just before context (etc.) font locking.
3882
3883 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3884 New, functionality extracted from
3885 c-neutralize-syntax-in-and-mark-CPP.
3886 (c-in-after-change-fontification): New variable.
3887 (c-after-change): Set c-in-after-change-fontification.
3888 (c-set-fl-decl-start): Rejig its interface, so it can be called
3889 from both after-change and context fontifying.
3890 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3891 New functions.
3892 (c-standard-font-lock-fontify-region-function): New variable.
3893 (c-font-lock-fontify-region): New function.
3894
3895 2011-12-24 Juri Linkov <juri@jurta.org>
3896
3897 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3898 (Bug#10348)
3899
3900 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3901
3902 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3903 existence of source file. (Bug#10325)
3904
3905 2011-12-23 Alan Mackenzie <acm@muc.de>
3906
3907 Fix unstable fontification inside templates.
3908
3909 * progmodes/cc-langs.el (c-before-font-lock-functions):
3910 Newly created from the singular version. The (c c++ objc) entry now
3911 additionally has c-set-fl-decl-start. The other languages (apart
3912 from AWK) have that as a single entry.
3913
3914 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3915 The functionality for "local" declarations has been extracted to
3916 c-set-fl-decl-start.
3917
3918 * progmodes/cc-mode.el (c-common-init, c-after-change):
3919 Changes due to pluralisation of c-before-font-lock-functions.
3920 (c-set-fl-decl-start): New function, extracted from
3921 c-font-lock-enclosing-decls and enhanced.
3922
3923 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3924
3925 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3926
3927 2011-12-22 Juri Linkov <juri@jurta.org>
3928
3929 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3930
3931 2011-12-22 Chong Yidong <cyd@gnu.org>
3932
3933 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3934
3935 2011-12-21 Drew Adams <drew.adams@oracle.com>
3936
3937 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3938
3939 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3940
3941 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3942
3943 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3944
3945 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3946 highlighting and support. Fix up comments for capitalization.
3947 (cfengine-mode-debug): New var.
3948 (cfengine3-mode): Change the modeline indicator to "CFE3".
3949 (cfengine3-font-lock-keywords): Improve defun highlighting.
3950 (cfengine2-actions): Rename from `cfengine-actions'.
3951 (cfengine2-font-lock-keywords): Rename from
3952 `cfengine-font-lock-keywords'.
3953 (cfengine2-imenu-expression): Rename from
3954 `cfengine-imenu-expression'.
3955 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3956 (cfengine2-beginning-of-defun): Rename from
3957 `cfengine-beginning-of-defun'.
3958 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3959 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3960 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3961 modeline indicator to "CFE2".
3962 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3963 (cfengine-mode-abbrevs): Mark obsolete.
3964
3965 2011-12-21 Chong Yidong <cyd@gnu.org>
3966
3967 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3968 filename argument.
3969
3970 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3971
3972 * window.el (window-normalize-buffer-to-display): Remove.
3973 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3974
3975 2011-12-19 Chong Yidong <cyd@gnu.org>
3976
3977 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3978 Don't signal an error in a predicate function; return non-nil.
3979 (vc-dir-mark-file): Move the error here.
3980 (vc-dir-mark-unmark): If acting on the region, keep going if one
3981 of the entries cannot be marked/unmarked.
3982 (vc-dir-mark-all-files): If current entry is a directory, mark
3983 only child files, as documented.
3984
3985 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3986
3987 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3988 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3989 addition.
3990
3991 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3992
3993 * term/ns-win.el (ns-get-selection-internal)
3994 (ns-store-selection-internal): Declare.
3995 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3996 Declare as obsolete.
3997 (ns-get-pasteboard, ns-paste-secondary):
3998 Use ns-get-selection-internal.
3999 (ns-set-pasteboard, ns-copy-including-secondary):
4000 Use ns-store-selection-internal.
4001
4002 2011-12-17 Chong Yidong <cyd@gnu.org>
4003
4004 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4005 (vc-deduce-fileset): Doc fix.
4006
4007 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4008
4009 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4010
4011 2011-12-13 Sam Steingold <sds@gnu.org>
4012
4013 * man.el (Man-getpage-in-background): When running under a
4014 window-system, ignore $MANWIDTH and $COLUMNS.
4015
4016 2011-12-15 Kenichi Handa <handa@m17n.org>
4017
4018 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4019 (setup-ethiopic-environment-internal): Comment out key-binding for
4020 ethio-toggle-punctuation.
4021
4022 2011-12-13 Alan Mackenzie <acm@muc.de>
4023
4024 Add the switch statement to AWK Mode.
4025
4026 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4027 "default" to the keywords regexp.
4028
4029 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4030 expression as the rest.
4031 (c-nonlabel-token-key): Allow string literals for AWK.
4032 Refactor for the other modes.
4033
4034 Large brace-block initialisation makes CC Mode slow: Fix.
4035 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4036 routines. Limit backward searching in c-font-lock-enclosing.decl.
4037
4038 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4039 pp-state and literal type in addition to the limits.
4040 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4041 (c-state-literal-at): Use the above new defun.
4042 (c-slow-in-literal, c-fast-in-literal): Remove.
4043 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4044
4045 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4046 being in a literal. Add a limit for backward searching.
4047
4048 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4049 c-slow-in-literal.
4050
4051 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4054
4055 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4056
4057 * window.el (delete-other-windows): Use correct frame in call to
4058 window-with-parameter.
4059
4060 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4061
4062 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4063 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4064 (makefile-gmake-statements, makefile-makepp-statements):
4065 Use it and add new makepp keywords.
4066 (makefile-makepp-font-lock-keywords): Add new patterns.
4067 (makefile-match-function-end): Match new [...] and [[...]].
4068
4069 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4070
4071 * ses.el (ses-call-printer-return, ses-cell-property-get)
4072 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4073 (ses-create-cell-variable, ses-reset-header-string)
4074 (ses-cell-set-formula, ses-repair-cell-reference-all)
4075 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4076 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4077 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4078 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4079 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4080 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4081 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4082 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4083 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4084 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4085 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4086 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4087
4088 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4089
4090 * ses.el: The overall change is to add cell renaming, that is
4091 setting fancy names for cell symbols other than name matching
4092 "\\`[A-Z]+[0-9]+\\'" regexp .
4093 (ses-create-cell-variable): New defun.
4094 (ses-relocate-formula): Relocate formulas only for cells the
4095 symbols of which are not renamed, i.e. symbols whose names do not
4096 match regexp "\\`[A-Z]+[0-9]+\\'".
4097 (ses-relocate-all): Relocate values only for cells the symbols of
4098 which are not renamed.
4099 (ses-load): Create cells variables as the (ses-cell ...) are read,
4100 in order to check row col consistency with cell symbol name only
4101 for cells that are not renamed.
4102 (ses-replace-name-in-formula): New defun.
4103 (ses-rename-cell): New defun.
4104
4105 2011-12-11 Chong Yidong <cyd@gnu.org>
4106
4107 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4108 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4109
4110 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4111
4112 * window.el (other-window): Fix docstring.
4113
4114 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4115
4116 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4117 `from' or `to' address before taking its substring.
4118 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4119 encoded name is chopped in the middle of the encoded string, and
4120 thus displayed encoded.
4121
4122 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4123
4124 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4125
4126 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4127
4128 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4129 to use texinfo-update-node and commands that call it if the
4130 Texinfo file uses @node lines without next/prev/up pointers.
4131 Correct outdated description about texinfo-master-menu.
4132 (texinfo-all-menus-update, texinfo-master-menu)
4133 (texinfo-update-node, texinfo-every-node-update)
4134 (texinfo-multiple-files-update): Doc fix. Warn against updating
4135 all the @node lines.
4136 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4137 argument is numeric. Explain better in the doc string what the
4138 function really does.
4139 (texinfo-insert-master-menu-list): Improve the error message
4140 displayed if there's no menu in the Top node.
4141 (Bug#2975) See also this thread:
4142 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4143
4144 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4145
4146 * speedbar.el (speedbar-supported-extension-expressions):
4147 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4148
4149 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4150
4151 * printing.el (pr-mode-alist):
4152 * simple.el (filter-buffer-substring-functions)
4153 (completion-list-insert-choice-function):
4154 * window.el (window-with-parameter, window-atom-root)
4155 (window-sides-slots, window-size-fixed, window-min-delta)
4156 (window-max-delta, window--resize-mini-window)
4157 (window--resize-child-windows-normal, window-tree)
4158 (delete-other-windows, quit-window, split-window)
4159 (display-buffer-record-window, special-display-buffer-names)
4160 (special-display-regexps, special-display-popup-frame)
4161 (same-window-p, split-window-sensibly)
4162 (display-buffer-overriding-action, display-buffer-alist)
4163 (display-buffer-base-action, display-buffer, switch-to-buffer)
4164 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4165 (fit-window-to-buffer, recenter-positions)
4166 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4167 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4168 and remove unneeded backslashes in docstrings.
4169
4170 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4173
4174 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4175 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4176 end in ".mk".
4177 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4178 when reading the makefile (bug#10116).
4179
4180 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4181
4182 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4183 (bug#10116).
4184
4185 2011-12-06 Glenn Morris <rgm@gnu.org>
4186
4187 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4188
4189 2011-12-06 Chong Yidong <cyd@gnu.org>
4190
4191 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4192
4193 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4194
4195 * textmodes/table.el (table-shorten-cell): Fix typo.
4196
4197 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4198
4199 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4200
4201 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4202
4203 * descr-text.el (describe-char): Fix display of strong
4204 right-to-left characters and directional embeddings and overrides.
4205
4206 * simple.el (what-cursor-position): Fix display of codepoints of
4207 strong right-to-left characters.
4208
4209 2011-12-05 Chong Yidong <cyd@gnu.org>
4210
4211 * faces.el (read-color): Doc fix.
4212
4213 2011-12-05 Glenn Morris <rgm@gnu.org>
4214
4215 * align.el (align--set-marker): Add doc-string.
4216 Don't try to move something that is not a marker. (Bug#10216)
4217
4218 2011-12-04 Glenn Morris <rgm@gnu.org>
4219
4220 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4221 overly zealous deletion of trailing whitespace.
4222
4223 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4224
4225 * server.el (server-delete-client): On Windows, do not try to delete
4226 the only terminal.
4227 (server-process-filter): On Windows, treat requests for a tty frame as
4228 if they were for a GUI frame if the running server is in GUI mode.
4229
4230 2011-12-03 Glenn Morris <rgm@gnu.org>
4231
4232 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4233
4234 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * electric.el: Streamline electric-indent's hook.
4237 (electric-indent-chars): Revert to simple list.
4238 (electric-indent-functions): New var.
4239 (electric-indent-post-self-insert-function): Use it.
4240
4241 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4242 there's no inferior buffer (bug#10196).
4243 (prolog-consult-compile): Don't use toggle-read-only.
4244
4245 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4246
4247 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4248 interrupt. (Bug#10187)
4249
4250 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4253 (bug#9160).
4254
4255 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4256 (bug#10191).
4257
4258 2011-12-02 Juri Linkov <juri@jurta.org>
4259
4260 * info.el (Info-search): Display "end of manual" when Isearch
4261 reaches the end of single-file Info manual. (Bug#9918)
4262
4263 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4264
4265 * isearch.el (isearch-message-prefix): Run the input method part
4266 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4267
4268 2011-12-02 Juri Linkov <juri@jurta.org>
4269
4270 * isearch.el (isearch-occur): Use `word-search-regexp' for
4271 `isearch-word'.
4272 (isearch-search-and-update): Add condition for `isearch-word' and
4273 call `word-search-regexp'. (Bug#10145)
4274
4275 2011-12-01 Glenn Morris <rgm@gnu.org>
4276
4277 * eshell/em-hist.el (eshell-hist-initialize):
4278 Handle eshell-history-size nil and HISTSIZE set or unset.
4279 (eshell-history-file-name, eshell-history-size): Fix custom type.
4280
4281 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4284
4285 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4286
4287 * progmodes/verilog-mode.el (verilog-pretty-expr):
4288 Rework verilog-pretty-expr to handle new assignment operators in system
4289 verilog, such as += *= and the like.
4290 (verilog-assignment-operator-re): Regular expression to find the
4291 assigment operator in a verilog assignment.
4292 (verilog-assignment-operation-re): Regular expression to find an
4293 assignment statement for pretty-expr.
4294 (verilog-in-attribute-p): Query returns true if point is in an
4295 attribute context; used to skip these for expression line up from
4296 pretty-expr.
4297 (verilog-in-parameter-p): Query returns true if point is in an
4298 parameter definition context; used to skip these for expression
4299 line up from pretty-expr.
4300 (verilog-in-parenthesis-p): Query returns true if point is in a
4301 parenthetical expression, specifically ( ) but not [ ] or { };
4302 used by pretty-expr.
4303 (verilog-just-one-space): If there is no space, don't add one.
4304 (verilog-get-lineup-indent-2): Specifically skip just attribute
4305 contexts for expression lineup, rather than skipping all
4306 parenthetical expressions.
4307 (verilog-calculate-indent): Fix comment, and fix indent.
4308 (verilog-do-indent): Indent declarations in lists (suggested by
4309 Joachim Lechner).
4310 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4311 skeleton items.
4312 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4313 by Alain Mellan).
4314
4315 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4316
4317 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4318 parameters with embedded comments. Reported by Ray Stevens.
4319 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4320 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4321 Reported by Tim Holt.
4322 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4323 instantiated by upper module causing wrong expansion until AUTOed a
4324 second time. Reported by K C Buckenmaier.
4325 (verilog-diff-auto): Fix showing .* as a difference when
4326 `verilog-auto-star-save' off. Reported by Dan Dever.
4327 (verilog-auto-reset, verilog-read-always-signals)
4328 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4329 temporary signals in reset list if
4330 verilog-auto-reset-blocking-in-non is nil, and match assignment
4331 style to each signal's assignment type, bug381.
4332 Reported by Thomas Esposito.
4333 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4334 (verilog-uvm-statement-re): Support UVM indentation and
4335 highlighting, with old OVM keywords only.
4336 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4337 Support AUTOTIEOFF creating non-wire data types.
4338 Suggested by Jonathan Greenlaw.
4339 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4340 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4341 (verilog-inject-sense, verilog-read-inst-pins)
4342 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4343 Fix mismatching parenthesis inside commented out code when deleting
4344 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4345 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4346 non-numeric vector width. Reported by Alex Reed.
4347 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4348 detecting signals with parameter widths. Reported by Alex Reed.
4349 (verilog-auto-delete-trailing-whitespace):
4350 With `verilog-auto-delete-trailing-whitespace' remove trailing
4351 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4352 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4353 Fix verilog-scan-cache corruption when running user AUTO expansion
4354 hooks that call indentation routines.
4355 (verilog-simplify-range-expression): Fix typo ignoring lower case
4356 identifiers.
4357 (verilog-delete-auto): Fix delete-autos to also remove user created
4358 automatics, as long as they start with AUTO.
4359 (verilog-batch-diff-auto, verilog-diff-auto)
4360 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4361 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4362 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4363 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4364 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4365 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4366 is disabled and its cache will get corrupt, causing AUTOS not to
4367 expand. Instead use only -quick functions.
4368 (verilog-scan-region): Fix scanning over escaped quotes.
4369 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4370 (verilog-re-search-backward-quick)
4371 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4372 related functions now ignore strings, to fix misparsing of strings
4373 with magic comments embedded in them.
4374 (verilog-read-auto-template):
4375 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4376 Reported by Brad Dobbie.
4377 (verilog-read-auto-template):
4378 Fix 'verilog-auto-inst-template-numbers' with comments.
4379 Reported by Brad Dobbie.
4380 (verilog-auto-inst, verilog-auto-inst-param)
4381 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4382 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4383 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4384 debugging templates without merge conflicts, bug357.
4385 Reported by Brad Dobbie.
4386 (verilog-read-auto-template):
4387 Fix verilog-auto-inst-template-numbers with multiple templates.
4388 Reported by Brad Dobbie.
4389 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4390 abbrevs so user won't be asked to save.
4391 (verilog-read-auto-lisp-present): Fix to start at beginning of
4392 buffer in case called outside of verilog-auto.
4393 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4394 to "X-2". Reported by Matthew Myers.
4395 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4396 all inputs from module templates. Reported by Leith Johnson.
4397 (verilog-module-inside-filename-p): Fix locating programs as with
4398 modules.
4399 (verilog-auto-inst-port): Fix vl-width expressions when using
4400 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4401 (verilog-decls-get-regs, verilog-decls-get-signals,
4402 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4403 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4404 verilog-read-decls): Combine reg and wire structures into one var
4405 structure to represent SystemVerilog concepts.
4406 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4407 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4408 (verilog-auto-wire-type, verilog-insert-definition):
4409 Add verilog-auto-wire-type and AUTOLOGIC to support using
4410 SystemVerilog "logic" keyword instead of "wire"/"reg".
4411 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4412 to declares outputs that also have assignments (presumably in an
4413 ifdef or generate if so there's not a driver conflict).
4414 Reported by Matthew Myers.
4415 (verilog-auto-declare-nettype, verilog-insert-definition):
4416 Add verilog-auto-declare-nettype to fix declarations using
4417 `default_nettype none. Reported by Julian Gorfajn.
4418 (verilog-read-always-signals-recurse, verilog-read-decls)
4419 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4420 malformed end statement, bug325. Reported by Joshua Wise and
4421 Andrew Drake.
4422 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4423 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4424 when expanding .* in interfaces, bug320.
4425 Reported by Pierre-David Pfister.
4426 (verilog-read-module-name): Fix import statements between module
4427 name and open parenthesis, bug317.
4428 Reported by Pierre-David Pfister.
4429 (verilog-simplify-range-expression): Fix simplification of
4430 multiplications inside AUTOWIRE connections, bug303.
4431 (verilog-auto-inst-port): Support parameter expansion in
4432 multidimensional arrays.
4433 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4434 after "assert property". Reported by Julian Gorfajn.
4435 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4436 with multiplication, bug303.
4437 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4438 Reported by Jan Frode Lonnum.
4439
4440 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4441
4442 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4443 (hfy-shell-file-name, hfy-shell):
4444 * international/fontset.el (x-decompose-font-name): Fix typos.
4445
4446 2011-11-29 Ken Brown <kbrown@cornell.edu>
4447
4448 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4449 (gdb-version): Remove defvar.
4450 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4451 (gdb-gud-context-command, gdb-non-stop-handler)
4452 (gdb-current-context-command, gdb-stopped): Use it.
4453 (gdb-init-1): Enable pretty printing here.
4454 (gdb-non-stop-handler): Don't enable pretty-printing here.
4455 Check to see if the target supports non-stop mode; if not, turn off
4456 non-stop mode. Use the following.
4457 (gdb-check-target-async): New defun.
4458 (gud-watch, gdb-stopped): Fix whitespace.
4459 (gdb-get-source-file): Don't try to display the source file if
4460 `gdb-main-file' is nil.
4461
4462 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * align.el: Try to generate fewer markers (bug#10047).
4465 (align--set-marker): New macro.
4466 (align-region): Use it.
4467
4468 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4469
4470 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4471
4472 2011-11-29 Chong Yidong <cyd@gnu.org>
4473
4474 * indent.el (indent-for-tab-command, indent-according-to-mode):
4475 Doc fix.
4476 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4477
4478 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4479
4480 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4481 aware of remote file names. (Bug#10124)
4482
4483 2011-11-29 Chong Yidong <cyd@gnu.org>
4484
4485 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4486
4487 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * files.el (find-file): Don't use force-same-window (bug#10144).
4490 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4491 use pop-to-buffer if the selected window can't be used.
4492 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4493
4494 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4495
4496 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4497 special-mode-map.
4498
4499 2011-11-28 Chong Yidong <cyd@gnu.org>
4500
4501 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4502
4503 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4504
4505 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4506 gdb-get-source-file-list on gdb-create-source-file-list.
4507
4508 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4509
4510 * whitespace.el (whitespace-newline): Use a different foreground
4511 color for 16-color light-background displays.
4512
4513 2011-11-24 Chong Yidong <cyd@gnu.org>
4514
4515 * window.el (display-buffer--special-action): Doc fix.
4516
4517 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4518
4519 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4520 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4521 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4522 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4523 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4524 (avl-tree-stack-first):
4525 * emacs-lisp/cconv.el (cconv--analyse-use):
4526 * net/gnutls.el (gnutls-negotiate): Fix typos.
4527
4528 2011-11-24 Glenn Morris <rgm@gnu.org>
4529
4530 * lpr.el (lpr-windows-system, lpr-lp-system):
4531 * mail/binhex.el (binhex-begin-line):
4532 * progmodes/grep.el (grep-history, grep-find-history):
4533 * textmodes/flyspell.el:
4534 * vc/pcvs-defs.el (cvs-global-menu):
4535 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4536 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4537 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4538
4539 * net/tls.el: Fix case of "GnuTLS".
4540
4541 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4542
4543 * version.el (emacs-build-system): Give it a doc-string.
4544
4545 2011-11-24 Juri Linkov <juri@jurta.org>
4546
4547 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4548
4549 2011-11-24 Glenn Morris <rgm@gnu.org>
4550
4551 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4552 if called on a non-mime message just toggle the headers. (Bug#8006)
4553
4554 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4555
4556 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4557 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4558 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4559 (allout-rebullet-heading, allout-open-sibtopic)
4560 (allout-toggle-current-subtree-encryption)
4561 (allout-toggle-subtree-encryption, allout-encrypt-string)
4562 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4563 (allout-distinctive-bullets-string, allout-auto-activation):
4564 * window.el (window-normalize-buffer-to-display):
4565 * progmodes/verilog-mode.el (verilog-batch-indent):
4566 * textmodes/bibtex.el (bibtex-field-braces-opt)
4567 (bibtex-field-strings-opt):
4568 * vc/cvs-status.el (cvs-tree-merge):
4569 Fix typos.
4570
4571 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4572
4573 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4574 `non-essential' to t, in order to avoid remote connections.
4575
4576 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4577
4578 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4579 On MS-DOS and MS-Windows, compare with loaddefs.el
4580 case-insensitively.
4581
4582 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4583
4584 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4585
4586 2011-11-23 Glenn Morris <rgm@gnu.org>
4587
4588 * paths.el (rmail-file-name): Reformat the doc-string so that it
4589 is picked up.
4590
4591 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4592 (rmail-auto-file): Ignore case in the "special" field names,
4593 as mail-fetch-field does for all others.
4594
4595 * mail/rmail.el (rmail-forward):
4596 * mail/rmailkwd.el (rmail-set-label):
4597 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4598 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4599
4600 * mail/rmail.el (rmail-current-message): Doc fix.
4601
4602 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4603
4604 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4605
4606 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4607
4608 2011-11-22 Glenn Morris <rgm@gnu.org>
4609
4610 * mail/rmailmm.el (test-rmail-mime-handler)
4611 (test-rmail-mime-bulk-handler)
4612 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4613
4614 2011-11-21 Juri Linkov <juri@jurta.org>
4615
4616 * calc/calc.el (calc-read-key-sequence):
4617 Let-bind `input-method-function' to nil. (Bug#10018)
4618
4619 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4620
4621 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4622 Tell the caller that the next line needs recomputation, even
4623 though it doesn't start a sexp (bug#10094).
4624
4625 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4626
4627 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4628
4629 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4632 Use force-same-window.
4633
4634 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4635
4636 * descr-text.el (describe-char-unicode-data):
4637 * json.el (json-string-escape):
4638 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4639 (Footnote-unicode, Footnote-style-p):
4640 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4641
4642 2011-11-20 Chong Yidong <cyd@gnu.org>
4643
4644 * window.el (replace-buffer-in-windows): Restore interactive spec.
4645
4646 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4649
4650 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4651 (byte-compile-global-not-obsolete-vars): New var.
4652 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4653 Use it.
4654 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4655
4656 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4657
4658 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4659 * progmodes/pascal.el (electric-pascal-equal):
4660 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4661 * xml.el (xml-substitute-special): Fix typos.
4662
4663 2011-11-20 Glenn Morris <rgm@gnu.org>
4664
4665 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4666 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4667 Doc fixes.
4668 (rmail-decode-mime-charset): Mark as obsolete.
4669
4670 * mail/rmailsum.el (rmail-message-regexp-p-1):
4671 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4672 Before using mime functions, check they are set. (Bug#10077)
4673
4674 2011-11-19 Juri Linkov <juri@jurta.org>
4675
4676 * info.el (Info-finder-find-node): Use `package--builtins' instead
4677 of `package-alist'. Use node names formed by the pattern "Keyword "
4678 and the keyword name.
4679
4680 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4681
4682 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4683
4684 2011-11-19 Juri Linkov <juri@jurta.org>
4685
4686 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4687 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4688 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4689 `old-history', `old-history-forward'. Add let-binding
4690 `window-selected'. Remove calls to `kill-buffer',
4691 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4692 before calling `Info-find-node', so `Info-find-node-2' will reread
4693 the Info file. Restore window positions only when `window-selected'
4694 is non-nil.
4695
4696 2011-11-19 Juri Linkov <juri@jurta.org>
4697
4698 * isearch.el (isearch-lazy-highlight-new-loop):
4699 Remove condition `(not isearch-error)'. (Bug#9918)
4700
4701 * misearch.el (multi-isearch-search-fun): Add condition
4702 `(not bound)' to ignore lazy-highlighting search.
4703 Add the search-failed message "end of multi" when the end of
4704 multi-sequence is reached. Uncapitalize the search-failed
4705 message "Repeat for next buffer".
4706
4707 * info.el (Info-search): Add the search-failed message
4708 "end of the manual" when the end of the manual is reached
4709 in Isearch mode.
4710
4711 2011-11-19 Juri Linkov <juri@jurta.org>
4712
4713 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4714 Use non-destructive `remove' instead of `delete' because
4715 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4716 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4717
4718 2011-11-19 Juri Linkov <juri@jurta.org>
4719
4720 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4721 to nil instead of binding `search-ring' and `regexp-search-ring'.
4722 (Bug#9185)
4723
4724 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4725
4726 * simple.el (line-move): Force movement by logical lines for any
4727 hscrolled window, not only when auto-hscroll-mode is on.
4728 (line-move-visual): Update doc string to that effect. (Bug#10076)
4729
4730 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4731
4732 * language/european.el (macintosh): Define as alias for mac-roman.
4733
4734 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4735
4736 * mail/rmailmm.el (rmail-mime-display-header)
4737 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4738 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4739 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4740 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4741 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4742 of a raw aref.
4743 (rmail-mime-entity-segment): To get past the tagline, move forward
4744 2 more lines, to account for the 2 empty lines that precede and
4745 follow the line with the buttons.
4746 (rmail-mime-update-tagline): Move one more line, to get past the
4747 empty line that follows the buttons in the tagline. (Bug#9520)
4748
4749 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4750
4751 * window.el (window-max-delta-1, window-min-delta-1)
4752 (window-min-size-1, window-state-get-1, window-state-put-1)
4753 (window-state-put-2): Use "window--" prefix.
4754
4755 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4758 (smie-warning-count): New var.
4759 (smie-set-prec2tab): Use it.
4760 (smie-bnf->prec2): Improve warnings. Add docstring.
4761 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4762 (smie-bnf--set-class): New function.
4763 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4764 corner case.
4765
4766 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4767 (compilation-error-properties, compilation-move-to-column):
4768 Handle compilation-first-column while in the target buffer.
4769
4770 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4771 Don't hardcode point-min==1.
4772
4773 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4774 (eshell-rewrite-for-command): Remove workaround.
4775 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4776 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4777 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4778
4779 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4780
4781 2011-11-17 Glenn Morris <rgm@gnu.org>
4782
4783 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4784 Ignore buffer-local generated-autoload-file if it is the same
4785 as the global value. (Bug#10049)
4786
4787 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4788
4789 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4790 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4791 (reftex-toc-previous-heading, reftex-toc-max-level)
4792 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4793 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4794 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4795 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4796 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4797 (reftex-toc-rename-label, reftex-toc-visit-location)
4798 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4799 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4800 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4801 leaving "*toc*" only for references to the buffer.
4802
4803 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4804
4805 * window.el (window-resize, delete-window, split-window):
4806 Replace window-splits by window-combination-resize.
4807 * cus-start.el (window-splits): Replace by window-combination-resize.
4808
4809 2011-11-17 Glenn Morris <rgm@gnu.org>
4810
4811 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4812 Make bash entry derive from sh entry, not shell entry.
4813
4814 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4815
4816 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4817 properties of linked files. (Bug#9879)
4818
4819 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4820 local file name.
4821
4822 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4823
4824 * menu-bar.el (menu-bar-file-menu):
4825 * printing.el (pr-ps-utility):
4826 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4827 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4828 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4829 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4830 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4831 (icalendar--convert-cyclic-to-ical)
4832 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4833 (icalendar--convert-ical-to-diary)
4834 (icalendar--convert-recurring-to-diary)
4835 (icalendar--convert-non-recurring-all-day-to-diary)
4836 (icalendar-import-format-sample):
4837 * progmodes/idlw-shell.el (idlwave-shell-mode):
4838 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4839 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4840 (vhdl-ps-print-init): Fix typos.
4841
4842 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4843
4844 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4845 FSF and collapse date sequence, obscure author/maintainer email address
4846 better, remove extra version line, track relocation of author's webpage.
4847
4848 * progmodes/python.el (python-pdbtrack-input-prompt)
4849 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4850 regular python pdb prompts. Adjustments shamelessly taken exactly as
4851 suggested in EmacsWiki page (tiny change):
4852 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4853
4854 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4855
4856 * expand.el (expand-pos, expand-index, expand-point):
4857 Remove redundant info from docstring.
4858 (expand-add-abbrevs): Doc fix.
4859 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4860 (expand-sample-perl-mode-expand-list): Fix typos.
4861
4862 * net/dbus.el (dbus-event-member-name):
4863 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4864 * term/pc-win.el (msdos-create-frame-with-faces):
4865 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4866
4867 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4868
4869 * window.el (split-window, window-state-get-1)
4870 (window-state-put-1, window-state-put-2): Rename occurrences of
4871 window-nest to window-combination-limit.
4872 * cus-start.el (window-nest): Rename to window-combination-limit.
4873
4874 2011-11-16 Chong Yidong <cyd@gnu.org>
4875
4876 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4877 regexp (Bug#10033).
4878
4879 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4880
4881 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4882 `completing-read' will remove *Completions* and will preserve
4883 current-buffer for us.
4884 (tmm-add-prompt): Users of *Completions* will always (re)set its
4885 major mode.
4886 (tmm-old-comp-map): Remove.
4887
4888 2011-11-16 Glenn Morris <rgm@gnu.org>
4889
4890 * mail/rmailedit.el: Require rmailmm when compiling.
4891 (rmail-old-mime-state): New declaration.
4892 (rmail-edit-current-message): If editing a mime message,
4893 edit the "raw" message from the mbox buffer.
4894 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4895
4896 2011-11-15 Glenn Morris <rgm@gnu.org>
4897
4898 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4899 which wasn't being used. Add optional arg to force given state.
4900 (rmail-mime): Add optional arg to force given state.
4901
4902 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4905 * frame.el (display-mm-dimensions-alist):
4906 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4907 (outline-move-subtree-down):
4908 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4909 (newsticker--treeview-do-get-node):
4910 * net/quickurl.el (quickurl-list-buffer-name):
4911 * progmodes/dcl-mode.el (dcl-mode):
4912 * progmodes/gdb-mi.el (gdb-mapcar*):
4913 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4914
4915 2011-11-15 Glenn Morris <rgm@gnu.org>
4916
4917 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4918 in a boolean sense, so just make it a boolean, and fix the doc.
4919 (rmail-show-mime-function, rmail-mime-feature)
4920 (rmail-require-mime-maybe): Doc fixes.
4921 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4922
4923 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4924
4925 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4926
4927 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4928 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4929 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4930 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4931
4932 2011-11-15 Glenn Morris <rgm@gnu.org>
4933
4934 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4935 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4936 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4937 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4938 (rmail-mime, rmail-show-mime): Doc fixes.
4939
4940 * term/ns-win.el (mode-line-frame-identification):
4941 Leave it alone. (Bug#10051)
4942
4943 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4944
4945 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4946 Handle empty buffers. (Bug#9978)
4947
4948 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4949
4950 * international/mule.el (define-charset):
4951 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4952 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4953 * progmodes/verilog-mode.el (verilog-backward-token):
4954 * textmodes/ispell.el (lookup-words):
4955 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4956
4957 2011-11-14 Glenn Morris <rgm@gnu.org>
4958
4959 * progmodes/executable.el
4960 (executable-make-buffer-file-executable-if-script-p):
4961 Handle file-modes returning nil.
4962
4963 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4964 message - not necessary, and causes problems. (Bug#9831)
4965
4966 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4967
4968 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4969
4970 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4971 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4972 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4973
4974 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4975
4976 * window.el (window-resize, delete-window): Use window-splits
4977 variable instead of function.
4978 (window-state-get-1, window-state-put-2, window-state-put):
4979 Don't deal with windows' splits status.
4980
4981 2011-11-12 Glenn Morris <rgm@gnu.org>
4982
4983 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4984 (apropos-documentation): Doc fixes.
4985
4986 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4987
4988 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4989 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4990
4991 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * electric.el (electric-indent-post-self-insert-function): Make it
4994 possible for a char to only indent in some circumstances.
4995 (electric-indent-mode): Simplify.
4996
4997 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4998
4999 * window.el (windows-with-parameter): Remove unused function.
5000 (windows-at-side): Rename to window-at-side-list.
5001 (window-check, window-atom-check, window-atom-check-1)
5002 (window-side-check, window-size-ignore, window-size-fixed-1)
5003 (window-in-direction-2): Prefix with "window--".
5004 (window-tree-1): Rename to window--subtree, fix doc-string.
5005
5006 2011-11-11 Glenn Morris <rgm@gnu.org>
5007
5008 * subr.el (eval-after-load): If FILE is already loaded,
5009 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5010
5011 2011-11-10 Glenn Morris <rgm@gnu.org>
5012
5013 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5014 Call svn via vc-svn-command rather than vc-do-command.
5015 (vc-svn-command): Add --non-interactive. (Bug#9993)
5016 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5017
5018 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5019 Add toggle-read-only. (Bug#7292)
5020 * files.el (toggle-read-only): Mention that it should only
5021 be used interactively. (Bug#10006)
5022
5023 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5024
5025 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5026 Adjust regexp for OCaml warnings.
5027
5028 * electric.el (electric-pair-post-self-insert-function): Let user
5029 turn it off buffer-locally (bug#9932).
5030
5031 * progmodes/python.el (python-beginning-of-statement):
5032 Rewrite (bug#2703).
5033
5034 * progmodes/compile.el: Better handle TABs (bug#9749).
5035 (compilation-internal-error-properties)
5036 (compilation-next-error-function): Obey the target buffer's
5037 compilation-error-screen-columns.
5038
5039 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5040
5041 * progmodes/meta-mode.el: Remove obsolete comments.
5042 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5043 Fix typos in docstrings.
5044
5045 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5046
5047 * window.el (window-size-fixed-p): Rewrite doc-string.
5048 (window-resizable-p): Rename to window--resizable-p. Update callers.
5049 (window--resizable): New function. Make all callers of
5050 window-resizable call window--resizable instead.
5051 (window-resizable): Rewrite in terms of window--resizable.
5052
5053 2011-11-08 Glenn Morris <rgm@gnu.org>
5054
5055 * progmodes/delphi.el (delphi-mode-syntax-table):
5056 Let define-derived-mode define a proper syntax table. (Bug#9994)
5057
5058 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5059
5060 * window.el: Stay away from defsubst.
5061 (window-list-no-nils): Remove.
5062 (window-state-get-1, window-state-get): Use backquote instead.
5063
5064 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5065
5066 * emacs-lisp/find-func.el (find-function-read):
5067 Fix incorrect use of default argument in `completing-read'.
5068
5069 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5070
5071 * window.el (display-buffer-function, special-display-function):
5072 Mention display-buffer-record-window but do not mention
5073 help-setup parameter in doc-strings.
5074 (window-min-delta): Fix doc-string typo.
5075
5076 2011-11-08 Chong Yidong <cyd@gnu.org>
5077
5078 * window.el (window-total-height, window-total-width): Doc fix.
5079 (window-body-size): Move from C.
5080 (window-body-height, window-body-width): Move to C.
5081
5082 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5083
5084 * window.el: Make special-display like display-buffer-alist (bug#9532).
5085 (display-buffer--special-action): New function, morphed
5086 from display-buffer--special.
5087 (display-buffer): Use it to handle special-display-buffers at higher
5088 priority (just after display-buffer-alist).
5089 (display-buffer-fallback-action, display-buffer--other-frame-action)
5090 (pop-to-buffer-same-window): Remove display-buffer--special.
5091
5092 2011-11-07 Glenn Morris <rgm@gnu.org>
5093
5094 * calendar/cal-menu.el (cal-menu-set-date-title):
5095 Do nothing if not in a calendar. (Bug#9976)
5096
5097 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * files.el (find-file): Always use selected-window.
5100
5101 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5102
5103 * window.el (window-combinations): Make WINDOW argument
5104 mandatory. Rewrite doc-string.
5105 (walk-window-subtree, window-atom-check, window-min-delta)
5106 (window-max-delta, window--resize-this-window)
5107 (window--resize-root-window-vertically, window-tree)
5108 (balance-windows, window-state-put): Rewrite doc-strings as to
5109 not mention the term "subwindow".
5110 (window--resize-subwindows-skip-p): Rename to
5111 window--resize-child-windows-skip-p.
5112 (window--resize-subwindows-normal): Rename to
5113 window--resize-child-windows-normal.
5114 (window--resize-subwindows): Rename to
5115 window--resize-child-windows.
5116 (window-or-subwindow-p): Rename to window--in-subtree-p.
5117
5118 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5119
5120 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5121 Ensure that mbox format messages end in two newlines (Bug#9974).
5122
5123 2011-11-06 Chong Yidong <cyd@gnu.org>
5124
5125 * window.el (window-combination-p): Function deleted; its
5126 side-effect is not used in any existing code.
5127 (window-combinations, window-combined-p): Call window-*-child
5128 directly.
5129
5130 2011-11-05 Chong Yidong <cyd@gnu.org>
5131
5132 * window.el (window-valid-p): Rename from window-any-p.
5133 (window-size-ignore, window-state-get): Callers changed.
5134 (window-normalize-window): Rename from window-normalize-any-window.
5135 New arg LIVE-ONLY, replacing window-normalize-live-window.
5136 (window-normalize-live-window): Delete.
5137 (window-combination-p, window-combined-p, window-combinations)
5138 (walk-window-subtree, window-atom-root, window-min-size)
5139 (window-sizable, window-sizable-p, window-size-fixed-p)
5140 (window-min-delta, window-max-delta, window-resizable)
5141 (window-resizable-p, window-full-height-p, window-full-width-p)
5142 (window-current-scroll-bars, window-point-1, set-window-point-1)
5143 (window-at-side-p, window-in-direction, window-resize)
5144 (adjust-window-trailing-edge, maximize-window, minimize-window)
5145 (window-deletable-p, delete-window, delete-other-windows)
5146 (record-window-buffer, unrecord-window-buffer)
5147 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5148 (quit-window, split-window, window-state-put)
5149 (set-window-text-height, fit-window-to-buffer)
5150 (shrink-window-if-larger-than-buffer): Callers changed.
5151
5152 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5153
5154 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5155 rfc2047-decode-string.
5156 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5157 warnings.
5158
5159 * window.el (window-body-height, window-body-width): Mention in
5160 the doc string that the return values are in frame's canonical
5161 units. (Bug#9949)
5162
5163 2011-11-03 Alan Mackenzie <acm@muc.de>
5164
5165 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5166 change in cc-engine.el.
5167
5168 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5169
5170 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5171
5172 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5173
5174 * window.el (quit-window): Call unrecord-window-buffer after
5175 showing another buffer in the window. (Bug#9937)
5176 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5177
5178 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5179
5180 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5181 Accept status with more than 9 shelves. (Bug#9935)
5182 Reported by Colin D Bennett <colin@gibibit.com>.
5183
5184 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5185
5186 * help.el (with-help-window): Don't reference
5187 temp-buffer-show-specifiers in doc-string.
5188
5189 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5190
5191 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5192 menu-item.
5193
5194 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5195
5196 * whitespace.el: New version 13.2.2.
5197 (whitespace-newline-mode): Disable properly. Reported by Sarah
5198 <EmacsWiki>.
5199
5200 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5201
5202 * net/newst-treeview.el: Remove "Time-stamp".
5203 (newsticker--group-manage-orphan-feeds): Do not call
5204 newsticker--treeview-tree-update.
5205 (newsticker-treeview-update, newsticker-treeview):
5206 Call newsticker--treeview-tree-update if necessary.
5207
5208 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5209
5210 * window.el (window-iso-combination-p, window-iso-combined-p)
5211 (window-iso-combinations): Remove "iso-" infix.
5212 Suggested by Chong Yidong.
5213 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5214 (window-max-delta-1, window-resize, window--resize-siblings)
5215 (window--resize-this-window, adjust-window-trailing-edge)
5216 (split-window, balance-windows-1)
5217 (shrink-window-if-larger-than-buffer):
5218 * calendar/calendar.el (calendar-generate-window):
5219 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5220
5221 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5222
5223 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5224 in place (bug#9907).
5225 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5226 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5227 (eshell-structure-basic-command, eshell-rewrite-while-command)
5228 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5229 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5230 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5231 (eshell-do-pipelines-synchronously, eshell-eval-command):
5232 Use backquotes and prefer setq to set.
5233 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5234 (eshell-macrop): Use functionp.
5235 (eshell-do-eval): Handle multiple expressions in `while' body.
5236
5237 2011-10-30 Chong Yidong <cyd@gnu.org>
5238
5239 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5240 instead of set-mark (Bug#9810).
5241
5242 2011-10-30 Chong Yidong <cyd@gnu.org>
5243
5244 * window.el (split-window-below, split-window-right): Rename from
5245 split-window-above-each-other and split-window-side-by-side
5246 respectively. All callers changed.
5247 (split-window-sensibly, split-window-sensibly): Use them.
5248 (split-window-keep-point): Doc fix.
5249
5250 * isearch.el: Add isearch-scroll property to split-window-below
5251 and split-window-right.
5252
5253 * follow.el (follow-mode):
5254 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5255 * progmodes/ada-xref.el (ada-gdb-application):
5256 * emulation/vip.el (vip-buffer-in-two-windows):
5257 * image-dired.el (image-dired-dired-with-window-configuration):
5258 * dired-x.el (dired-do-find-marked-files):
5259 * dired.el (dired-pop-to-buffer):
5260 * bs.el (bs--show-with-configuration):
5261 * vc/emerge.el (emerge-setup-windows):
5262 * textmodes/two-column.el (2C-two-columns):
5263 * textmodes/reftex-toc.el (reftex-toc):
5264 * progmodes/gdb-mi.el (gdb-setup-windows):
5265 * progmodes/fortran.el (fortran-window-create):
5266 * net/newst-treeview.el (newsticker--treeview-window-init):
5267 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5268 * emulation/tpu-edt.el (tpu-gold-map):
5269 * emulation/crisp.el (crisp-mode-map):
5270 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5271
5272 2011-10-29 Chong Yidong <cyd@gnu.org>
5273
5274 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5275
5276 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5277
5278 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5279 forged Ispell output (Bug#7904).
5280
5281 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5282
5283 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * doc-view.el: Avoid ugly errors about not finding nil.
5286 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5287 (doc-view-dvipdf-program, doc-view-unoconv-program)
5288 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5289 Avoid nil or absolute file name as default value.
5290 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5291
5292 2011-10-28 Alan Mackenzie <acm@muc.de>
5293
5294 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5295
5296 2011-10-28 Alan Mackenzie <acm@muc.de>
5297
5298 Amend the handling of c-beginning/end-of-defun in nested declaration
5299 scopes.
5300
5301 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5302 cc-langs.el. Change it to a defcustom.
5303
5304 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5305 cc-vars.el.
5306
5307 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5308 Prevent "class foo : bar" being spuriously recognized as a label.
5309
5310 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5311 Add parameter `inclusive' (to include enclosing braces in the region).
5312 (c-widen-to-enclosing-decl-scope): New function.
5313 (c-while-widening-to-decl-block): New macro.
5314 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5315 outward for defun boundaries, and correspondingly change symbol
5316 `respect-enclosure' to `go-outward'.
5317 (c-declaration-limits): Change algorithm to report only the "innermost"
5318 defun's boundaries.
5319
5320 2011-10-28 Deniz Dogan <deniz@dogan.se>
5321
5322 * net/rcirc.el (rcirc-mode): Use hard newlines.
5323
5324 2011-10-28 Alan Mackenzie <acm@muc.de>
5325
5326 Amend to indent and fontify macros "which include their own semicolon"
5327 correctly, using the "virtual semicolon" mechanism.
5328
5329 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5330
5331 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5332 Recode to scan one line at a time rather than having \n and \r
5333 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5334 (c-forward-label): Amend for virtual semicolons.
5335 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5336
5337 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5338 of the new C macros.
5339
5340 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5341 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5342 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5343 (c-opt-cpp-macro-define): Make into a full language variable.
5344 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5345 AWK Mode (including \n, \r) removed, no longer needed.
5346
5347 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5348 Invoke c-make-macro-with-semi-re.
5349
5350 * progmodes/cc-vars.el (c-macro-with-semi-re):
5351 (c-macro-names-with-semicolon): New variables.
5352 (c-make-macro-with-semi-re): New function.
5353
5354 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 * vc/log-edit.el: Fill empty field rather than adding new one.
5357 (log-edit-add-field): New function.
5358 (log-edit-insert-changelog): Use it.
5359
5360 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5361
5362 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5363
5364 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5367 (gdb--check-interpreter): New function.
5368 (gdb): Use it.
5369
5370 2011-10-27 Glenn Morris <rgm@gnu.org>
5371
5372 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5373 (least-positive-float, least-negative-float)
5374 (least-positive-normalized-float, least-negative-normalized-float)
5375 (float-epsilon, float-negative-epsilon):
5376 Remove unnecessary declarations.
5377
5378 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5379 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5380 (least-positive-float, least-negative-float)
5381 (least-positive-normalized-float, least-negative-normalized-float)
5382 (float-epsilon, float-negative-epsilon): Add doc-strings,
5383 based on those in cl.texi.
5384
5385 * files.el (set-visited-file-name): If the major-mode changed,
5386 reload the local variables. (Bug#9796)
5387
5388 2011-10-27 Chong Yidong <cyd@gnu.org>
5389
5390 * subr.el (change-major-mode-after-body-hook): New hook.
5391 (run-mode-hooks): Run it.
5392
5393 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5394 Use change-major-mode-before-body-hook.
5395
5396 * simple.el (fundamental-mode):
5397 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5398 change introducing fundamental-mode-hook.
5399
5400 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5401
5402 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5403
5404 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5405
5406 * ido.el (ido-file-name-all-completions-1): Do not require
5407 tramp.el explicitly. (Bug#7583)
5408
5409 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * progmodes/octave-mod.el:
5412 * progmodes/octave-inf.el: Update maintainer.
5413
5414 2011-10-26 Chong Yidong <cyd@gnu.org>
5415
5416 * subr.el (with-wrapper-hook): Rewrite doc.
5417
5418 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5419
5420 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5421 filenames "/method:foo:". (Bug#9793)
5422
5423 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5426 (bug#9865).
5427
5428 2011-10-24 Glenn Morris <rgm@gnu.org>
5429
5430 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5431
5432 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5433
5434 * notifications.el: Add the requirement of a running D-Bus session
5435 bus to the Commentary.
5436
5437 2011-10-24 Juri Linkov <juri@jurta.org>
5438
5439 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5440 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5441 (Bug#9364)
5442
5443 2011-10-24 Juri Linkov <juri@jurta.org>
5444
5445 * info.el (Info-following-node-name-re): Add newline to the list
5446 of allowed characters for leading space. (Bug#9824)
5447
5448 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 * progmodes/octave-inf.el (inferior-octave-mode-map):
5451 Fix C-c C-h binding.
5452 * progmodes/octave-mod.el (octave-help): Remove.
5453
5454 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5455
5456 Sync with Tramp 2.2.3.
5457
5458 * net/tramp-cache.el (top): Pacify byte-compiler using
5459 `init-file-user' and `site-run-file'.
5460
5461 * net/trampver.el: Update release number.
5462
5463 2011-10-23 Chong Yidong <cyd@gnu.org>
5464
5465 * files.el (toggle-read-only): Remove obsolete comment about
5466 version control.
5467
5468 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5469 for toggle-read-only. Note that this hasn't called vc-next-action
5470 since 2008-05-02, though it wasn't documented at the time.
5471
5472 * vc/ediff-init.el (ediff-toggle-read-only-function):
5473 Use toggle-read-only.
5474
5475 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5476
5477 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5478 of c-parse-state.
5479
5480 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5481 correct faulty logical expression.
5482 (c-parse-state-state, c-record-parse-state-state):
5483 (c-replay-parse-state-state): New defvar/defuns.
5484 (c-debug-parse-state): Use new functions.
5485
5486 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5487
5488 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5489 last fix. Use window-in-direction correctly.
5490
5491 2011-10-21 Chong Yidong <cyd@gnu.org>
5492
5493 * progmodes/idlwave.el (idlwave-mode):
5494 * progmodes/vera-mode.el (vera-mode): No need to set
5495 require-final-newline; that's done in prog-mode.
5496 Suggested by Stefan Monnier.
5497
5498 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5499
5500 * mouse.el (mouse-drag-window-above)
5501 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5502 (mouse-drag-mode-line-1, mouse-drag-header-line)
5503 (mouse-drag-vertical-line-rightward-window): Remove.
5504 (mouse-drag-line): New function.
5505 (mouse-drag-mode-line, mouse-drag-header-line)
5506 (mouse-drag-vertical-line): Call mouse-drag-line.
5507 * window.el (window-at-side-p, windows-at-side): New functions.
5508
5509 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5510
5511 * tar-mode.el (tar-grind-file-mode):
5512 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5513
5514 2011-10-21 Chong Yidong <cyd@gnu.org>
5515
5516 * progmodes/idlwave.el (idlwave-mode):
5517 * progmodes/vera-mode.el (vera-mode):
5518 Use mode-require-final-newline.
5519
5520 2011-10-20 Glenn Morris <rgm@gnu.org>
5521
5522 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5523
5524 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5525
5526 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5527
5528 2011-10-20 Chong Yidong <cyd@gnu.org>
5529
5530 * emulation/cua-base.el (cua-mode):
5531 * mail/footnote.el (footnote-mode):
5532 * mail/mailabbrev.el (mail-abbrevs-mode):
5533 * net/xesam.el (xesam-minor-mode):
5534 * progmodes/bug-reference.el (bug-reference-mode):
5535 * progmodes/cap-words.el (capitalized-words-mode):
5536 * progmodes/compile.el (compilation-minor-mode)
5537 (compilation-shell-minor-mode):
5538 * progmodes/gud.el (gud-tooltip-mode):
5539 * progmodes/hideif.el (hide-ifdef-mode):
5540 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5541 * progmodes/subword.el (subword-mode):
5542 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5543 * progmodes/which-func.el (which-function-mode):
5544 * term/tvi970.el (tvi970-set-keypad-mode):
5545 * term/vt100.el (vt100-wide-mode):
5546 * textmodes/flyspell.el (flyspell-mode):
5547 * textmodes/ispell.el (ispell-minor-mode):
5548 * textmodes/nroff-mode.el (nroff-electric-mode):
5549 * textmodes/paragraphs.el (use-hard-newlines):
5550 * textmodes/refill.el (refill-mode):
5551 * textmodes/reftex.el (reftex-mode):
5552 * textmodes/rst.el (rst-minor-mode):
5553 * textmodes/sgml-mode.el (html-autoview-mode)
5554 (sgml-electric-tag-pair-mode):
5555 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5556 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5557 * emulation/crisp.el (crisp-mode):
5558 * emacs-lisp/eldoc.el (eldoc-mode):
5559 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5560 minor mode behavior.
5561
5562 2011-10-19 Juri Linkov <juri@jurta.org>
5563
5564 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5565 the list of hard-coded chars with escape-glyph face.
5566
5567 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5570
5571 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5572
5573 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5574 running process.
5575
5576 2011-10-19 Glenn Morris <rgm@gnu.org>
5577
5578 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5579 Ignore ignored files. (Bug#9726)
5580
5581 2011-10-19 Chong Yidong <cyd@gnu.org>
5582
5583 Doc fix for minor modes, stating that an omitted argument enables
5584 the mode unconditionally when called from Lisp.
5585
5586 * abbrev.el (abbrev-mode):
5587 * allout.el (allout-mode):
5588 * autoinsert.el (auto-insert-mode):
5589 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5590 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5591 (global-auto-revert-mode):
5592 * battery.el (display-battery-mode):
5593 * composite.el (global-auto-composition-mode)
5594 (auto-composition-mode):
5595 * delsel.el (delete-selection-mode):
5596 * desktop.el (desktop-save-mode):
5597 * dired-x.el (dired-omit-mode):
5598 * dirtrack.el (dirtrack-mode):
5599 * doc-view.el (doc-view-minor-mode):
5600 * double.el (double-mode):
5601 * electric.el (electric-indent-mode, electric-pair-mode):
5602 * emacs-lock.el (emacs-lock-mode):
5603 * epa-hook.el (auto-encryption-mode):
5604 * follow.el (follow-mode):
5605 * font-core.el (font-lock-mode):
5606 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5607 * help.el (temp-buffer-resize-mode):
5608 * hilit-chg.el (highlight-changes-mode)
5609 (highlight-changes-visible-mode):
5610 * hi-lock.el (hi-lock-mode):
5611 * hl-line.el (hl-line-mode, global-hl-line-mode):
5612 * icomplete.el (icomplete-mode):
5613 * ido.el (ido-everywhere):
5614 * image-file.el (auto-image-file-mode):
5615 * image-mode.el (image-minor-mode):
5616 * iswitchb.el (iswitchb-mode):
5617 * jka-cmpr-hook.el (auto-compression-mode):
5618 * linum.el (linum-mode):
5619 * longlines.el (longlines-mode):
5620 * master.el (master-mode):
5621 * mb-depth.el (minibuffer-depth-indicate-mode):
5622 * menu-bar.el (menu-bar-mode):
5623 * minibuf-eldef.el (minibuffer-electric-default-mode):
5624 * mouse-sel.el (mouse-sel-mode):
5625 * msb.el (msb-mode):
5626 * mwheel.el (mouse-wheel-mode):
5627 * outline.el (outline-minor-mode):
5628 * paren.el (show-paren-mode):
5629 * recentf.el (recentf-mode):
5630 * reveal.el (reveal-mode, global-reveal-mode):
5631 * rfn-eshadow.el (file-name-shadow-mode):
5632 * ruler-mode.el (ruler-mode):
5633 * savehist.el (savehist-mode):
5634 * scroll-all.el (scroll-all-mode):
5635 * scroll-bar.el (scroll-bar-mode):
5636 * server.el (server-mode):
5637 * shell.el (shell-dirtrack-mode):
5638 * simple.el (auto-fill-mode, transient-mark-mode)
5639 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5640 (line-number-mode, column-number-mode, size-indication-mode)
5641 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5642 * strokes.el (strokes-mode):
5643 * time.el (display-time-mode):
5644 * t-mouse.el (gpm-mouse-mode):
5645 * tool-bar.el (tool-bar-mode):
5646 * tooltip.el (tooltip-mode):
5647 * type-break.el (type-break-mode-line-message-mode)
5648 (type-break-query-mode):
5649 * view.el (view-mode):
5650 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5651 (global-whitespace-mode, global-whitespace-newline-mode):
5652 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5653
5654 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5655 Fix autogenerated docstring.
5656
5657 2011-10-19 Juri Linkov <juri@jurta.org>
5658
5659 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5660 by checking environment variables "DESKTOP_SESSION" and
5661 "XDG_CURRENT_DESKTOP". (Bug#9779)
5662
5663 2011-10-19 Juri Linkov <juri@jurta.org>
5664
5665 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5666 (browse-url-chromium-program, browse-url-chromium-arguments):
5667 New defcustoms.
5668 (browse-url-default-browser): Check for `browse-url-chromium' and
5669 call `browse-url-chromium-program'.
5670 (browse-url-chromium): New command. (Bug#9779)
5671
5672 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5673
5674 * facemenu.el (list-colors-duplicates): On Windows, detect more
5675 duplicates by assuming that only colors matching "^System" are
5676 special "system colors". (Bug#9722)
5677
5678 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5681 to distinguish the author from the committer.
5682
5683 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5684
5685 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5686
5687 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5688
5689 * international/mule.el (sgml-html-meta-auto-coding-function):
5690 Add support for detecting encoding in HTML5 specified only as
5691 <meta charset="UTF-8">. Implementation just makes http-equiv and
5692 content-type parts from HTML4 encoding string optional. (Bug#9716)
5693
5694 2011-10-18 Glenn Morris <rgm@gnu.org>
5695
5696 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5697
5698 2011-10-18 Chong Yidong <cyd@gnu.org>
5699
5700 * faces.el (cursor): Doc fix.
5701
5702 2011-10-17 Chong Yidong <cyd@gnu.org>
5703
5704 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5705
5706 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5707
5708 * dirtrack.el (dirtrack): Support shell buffers with path
5709 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5710
5711 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5712
5713 * json.el: Bump version to 1.3 and note change in History.
5714 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5715
5716 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * comint.el (comint-insert-input, comint-send-input)
5719 (comint-get-old-input-default, comint-backward-matching-input)
5720 (comint-next-prompt): Use nil instead of `input' for field property of
5721 past user input (bug#114).
5722
5723 * minibuffer.el (completion--replace): Inherit surrounding properties
5724 (bug#114).
5725 (minibuffer-complete-and-exit): Use it.
5726
5727 * comint.el (comint--table-subvert): Quote the all-completions output
5728 (bug#9160).
5729
5730 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5731
5732 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5733
5734 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5735 window on right of selected. (Bug#9350) Reword other window
5736 entries and separate them from frame entries.
5737
5738 2011-10-15 Glenn Morris <rgm@gnu.org>
5739
5740 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5741 Doc fixes.
5742
5743 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5744
5745 * net/network-stream.el (network-stream-open-starttls):
5746 Improve detection of failure due to lack of TLS support.
5747
5748 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5749 putting the input text in front and in bold.
5750
5751 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5754
5755 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5756 empty buffer.
5757
5758 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5759 unread-command-events rather than pushing yet-another event.
5760
5761 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5762
5763 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5764 the explanation of the possible choices. Make the options passed
5765 to completing-read shorter.
5766
5767 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5768
5769 * textmodes/flyspell.el (flyspell-large-region): Make sure
5770 extended character mode is used if defined (Bug#1339).
5771
5772 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5773
5774 * simple.el (what-cursor-position): Fix the display of the
5775 character info for LRE, LRO, RLE, and RLO characters by appending
5776 an invisible PDF.
5777
5778 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5781 even in case of error; add debug spec; simplify data flow.
5782 (with-timeout-handler): Remove.
5783
5784 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5785
5786 Fix Bug#6019, Bug#9315.
5787
5788 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5789 complete `buffer-file-name', the local file name part could look
5790 remotely (for example on VMS).
5791
5792 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5793 `tramp-run-real-handler'.
5794 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5795 already quoted by '"'.
5796
5797 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5798 Let `file-name-handler-alist' be nil, the local file name part
5799 could look remotely (for example on VMS).
5800
5801 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5804 from here...
5805 (flyspell-post-command-hook): ...to here.
5806
5807 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5810 if not needed.
5811 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5812 using completion. Protect against "slow" callers.
5813 Remove the "message hack".
5814
5815 2011-10-11 Juri Linkov <juri@jurta.org>
5816
5817 * isearch.el (isearch-lazy-highlight-word): New variable.
5818 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5819 Use it. (Bug#9727)
5820
5821 2011-10-11 Glenn Morris <rgm@gnu.org>
5822
5823 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5824 like f90-previous-statement does.
5825
5826 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5827
5828 * eshell/eshell.el (eshell-command): History should be saved
5829 only in interactive use, to avoid error.
5830
5831 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * minibuffer.el (completion-file-name-table): Fix last change,
5834 i.e. ignore normal errors but not the other ones.
5835
5836 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5837
5838 * window.el (special-display-buffer-names)
5839 (special-display-regexps): Remove some remnants of earlier
5840 changes from doc-strings.
5841 (quit-windows-on): New function.
5842
5843 * vc/vc.el (vc-revert, vc-rollback):
5844 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5845 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5846 (Bug#6183) (Bug#7074) (Bug#7447)
5847
5848 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5849
5850 * window.el (frame-auto-hide-function): Add version tag.
5851 (Bug#9699)
5852
5853 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5854
5855 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5856 condition.
5857
5858 2011-10-09 Leo Liu <sdl.web@gmail.com>
5859
5860 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5861 (Bug#9701)
5862
5863 2011-10-08 Glenn Morris <rgm@gnu.org>
5864
5865 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5866 before the first code statement zero indent. (Bug#9690)
5867
5868 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5869
5870 * simple.el (count-words-region): Always count in the region.
5871 Report the number of lines and characters too.
5872 (count-words): New command, which counts in the buffer if the
5873 region is inactive, as count-words-region used to.
5874 (count-words--message): New function. Handle plurals.
5875 (count-lines-region): Make it an alias for count-words-region.
5876
5877 * bindings.el (esc-map): Replace count-lines-region with
5878 count-words-region.
5879
5880 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5881
5882 * window.el (window--delete): Delete dedicated frame
5883 unconditionally when argument KILL is non-nil. (Bug#9699)
5884 (switch-to-buffer): Fix doc-string typo.
5885
5886 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5887
5888 * eshell/eshell.el (eshell-command): Avoid using hooks.
5889
5890 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5891
5892 * bindings.el ([M-left],[M-right]): Bind to left-word and
5893 right-word respectively.
5894
5895 2011-10-07 Glenn Morris <rgm@gnu.org>
5896
5897 * cus-start.el (debug-on-quit): Fix custom type.
5898
5899 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5900
5901 * subr.el (define-key-after): Clarify that the function is not
5902 useful for non-menu keymaps.
5903
5904 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5905
5906 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5907
5908 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5909 in current minibuffer (Fix bug with recursive minibuffers).
5910
5911 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5912
5913 * progmodes/gdb-mi.el (gdb): Doc fix.
5914
5915 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5916
5917 * window.el (frame-auto-hide-function): New option replacing
5918 frame-auto-delete. Suggested by Stefan Monnier.
5919 (window--delete): Call frame-auto-hide-function instead of
5920 investigating frame-auto-delete.
5921 (window-point-1, set-window-point-1): New functions.
5922 (window-in-direction, record-window-buffer, window-state-get-1)
5923 (display-buffer-record-window): Use window-point-1 instead of
5924 window-point.
5925 (set-window-buffer-start-and-point): Use set-window-point-1.
5926
5927 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5930
5931 2011-10-05 Glenn Morris <rgm@gnu.org>
5932
5933 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5934 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5935
5936 2011-10-05 Leo Liu <sdl.web@gmail.com>
5937
5938 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5939 works with buffer object.
5940
5941 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * mpc.el (mpc-tool-bar-map): Add labels.
5944
5945 2011-10-04 Glenn Morris <rgm@gnu.org>
5946
5947 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5948
5949 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5950
5951 * window.el (window--delete): New function.
5952 (frame-auto-delete): Resuscitate option.
5953 (bury-buffer, replace-buffer-in-windows)
5954 (quit-window): Rewrite using window--delete.
5955 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5956 Pass display-buffer-mark-dedicated to window--display-buffer-2
5957 (Bug#9639).
5958
5959 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5962 returns a list (bug#9554). Add remote file name completion.
5963 * comint.el (comint--table-subvert): Curry and get quote&unquote
5964 functions as arguments.
5965 (comint--complete-file-name-data): Adjust call accordingly.
5966 * pcomplete.el (pcomplete--table-subvert): Remove.
5967 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5968
5969 * minibuffer.el (completion-table-case-fold): Use currying.
5970 (completion--styles-type, completion--cycling-threshold-type):
5971 New constants.
5972 (completion-styles, completion-category-overrides)
5973 (completion-cycle-threshold): Use them.
5974 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5975 completion-table-case-fold.
5976
5977 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5978
5979 * minibuffer.el (completion-category-overrides): Fix type of styles
5980 and add more user friendly tags (bug#9660).
5981
5982 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5985 (mule-input-method-string): New widget.
5986 (default-input-method, language-info-custom-alist): Use it.
5987
5988 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5989
5990 * pcomplete.el: Require comint.
5991 (pcomplete--common-suffix): Remove.
5992 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5993 (pcomplete--table-subvert): Sync with comint--table-subvert.
5994 (pcomplete--entries): Use comint-completion-file-name-table.
5995 * comint.el (comint-unquote-filename): Simplify.
5996 (comint-completion-file-name-table): New function (bug#9616).
5997 (comint--complete-file-name-data): Use it.
5998
5999 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6000 (pcmpl-gnu-tar-buffer): Remove.
6001 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6002 around. Make sure pcomplete-suffix-list is only changed temporarily.
6003 Don't look inside the tar's file if it's too large.
6004
6005 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6006
6007 * cus-edit.el (custom-mode-map):
6008 * epa.el (epa-key-list-mode-map):
6009 * man.el (Man-mode-map):
6010 * startup.el (splash-screen-keymap):
6011 * simple.el (special-mode-map): Use scroll-up-command and
6012 scroll-down-command.
6013
6014 * progmodes/idlw-help.el (idlwave-help-mode-map):
6015 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6016 * net/newst-plainview.el (newsticker-mode-map):
6017 * emulation/ws-mode.el (wordstar-mode-map):
6018 * emulation/vi.el (vi-com-map):
6019 * calc/calc-graph.el (calc-graph-show-dumb):
6020 * term/sun.el (terminal-init-sun):
6021 * term/ns-win.el (global-map):
6022 * progmodes/grep.el (grep-mode-map):
6023 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6024 * mail/rmail.el (rmail-mode-map):
6025 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6026
6027 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6028 custom-safe-themes as special.
6029
6030 2011-10-01 Julien Danjou <julien@danjou.info>
6031
6032 * notifications.el (notifications-notify): Fix docstring.
6033
6034 2011-10-01 Per Starbäck <per@starback.se>
6035
6036 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6037
6038 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6039
6040 * startup.el (command-line-1): Fix last fix by inserting
6041 initial-scratch-message into *scratch* before displaying it.
6042 (Bug#9605) and (Bug#9636)
6043
6044 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6045
6046 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6047 window is hscrolled, move by logical lines. (Bug#9607)
6048 (line-move-visual): Update the doc string to the above effect.
6049
6050 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6051
6052 * window.el (display-buffer-record-window): When WINDOW is the
6053 selected window use `point' instead of `window-point'. (Bug#9626)
6054
6055 * startup.el (command-line-1): Use insert-before-markers when
6056 inserting initial-scratch-message. (Bug#9605)
6057
6058 * help.el (help-window): Remove variable.
6059
6060 2011-09-29 Glenn Morris <rgm@gnu.org>
6061
6062 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6063
6064 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6065
6066 * descr-text.el (describe-char-categories): Accept category
6067 descriptions more than one line long.
6068
6069 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 * simple.el (delete-trailing-whitespace): Fix last change.
6072
6073 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6074 Don't confuse "y => 3" as the beginning of a `y' operation.
6075
6076 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6077 object has more than 4 slots (bug#9613).
6078
6079 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6080
6081 * subr.el (with-output-to-temp-buffer):
6082 * net/quickurl.el (quickurl, quickurl-browse-url):
6083 Fix typos in docstrings.
6084
6085 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6086
6087 * minibuffer.el (completion-styles)
6088 (completion-category-overrides): Cross reference each other in doc
6089 strings.
6090
6091 2011-09-27 Glenn Morris <rgm@gnu.org>
6092
6093 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6094 to split-string. (Bug#9606)
6095
6096 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6097
6098 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6099 (bug#9615).
6100
6101 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6102
6103 * emacs-lisp/package.el (list-packages): Fix echo area message.
6104
6105 2011-09-27 Leo Liu <sdl.web@gmail.com>
6106
6107 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6108
6109 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6110
6111 * net/dbus.el (dbus-unregister-object): Don't release services for
6112 registered signals. (Bug#9581)
6113
6114 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6115
6116 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6117 function that picks between cfengine 2 and 3 support
6118 automatically. Update docs accordingly.
6119
6120 2011-09-22 Kenichi Handa <handa@m17n.org>
6121
6122 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6123 ZERO.
6124 (indian-itrans-v5-table-for-tamil): New variable.
6125 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6126
6127 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6128
6129 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6130 that's true if the current command involved collapsing of text.
6131 It's reset to false at the beginning of the next command.
6132 (allout-post-command-business): Move the cursor to the beginning
6133 of entry if the cursor is hidden and collapsing activity just
6134 happened.
6135
6136 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6137
6138 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6139 tracking (Bug#9541).
6140
6141 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6142
6143 * net/newst-reader.el (newsticker-html-renderer)
6144 (newsticker-show-news): Automatically load html rendering package
6145 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6146 because w3m-fill-column is let-bound" and the error "Symbol's value
6147 as variable is void: w3m-fill-column".
6148
6149 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6150
6151 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6152 Release services only if they are defined. (Bug#9581)
6153
6154 2011-09-23 Richard Stallman <rms@gnu.org>
6155
6156 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6157 distinguish start of paragraph from start of its text.
6158
6159 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6160
6161 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6162 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6163 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6164
6165 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6166
6167 * international/mule-diag.el (mule-diag): Insert a newline after
6168 each fontset description.
6169
6170 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6171
6172 * simple.el (delete-trailing-whitespace):
6173 Document last change; simplify.
6174
6175 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6176
6177 * simple.el (delete-trailing-whitespace): Also delete
6178 extra newlines at the end of the buffer.
6179
6180 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6181 (picture-newline): Use forward-line so as to ignore fields.
6182
6183 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * subr.el (with-wrapper-hook): Fix edebug spec.
6186
6187 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6188
6189 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6190 (bug#4538).
6191
6192 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6193
6194 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6195 Fix nasty bug using wrong cached values.
6196
6197 2011-09-23 Alan Mackenzie <acm@muc.de>
6198
6199 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6200
6201 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6202
6203 * window.el (pop-to-buffer): Ensure right window is selected if we
6204 chose another frame.
6205
6206 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6207
6208 * simple.el (what-cursor-position): Use get-char-property-change
6209 and next-single-char-property-change, to be able to show display
6210 properties that come from overlays as well as text properties.
6211
6212 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6213
6214 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6215
6216 * cmuscheme.el (run-scheme, switch-to-scheme):
6217 * cus-edit.el (customize-group, custom-buffer-create)
6218 (customize-browse):
6219 * info.el (info):
6220 * shell.el (shell):
6221 * mail/sendmail.el (mail):
6222 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6223
6224 2011-09-22 Richard Stallman <rms@gnu.org>
6225
6226 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6227 move back only to line beg, don't move back over blank lines.
6228
6229 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6230
6231 * files.el (copy-directory): Set directory attributes only in case
6232 they could be retrieved from the source directory. (Bug#9565)
6233
6234 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6235
6236 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6237 (hs-find-block-beginning, hs-hide-level-recursive):
6238 Ignore strings as well as comments. (Bug#9502)
6239
6240 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6241
6242 * progmodes/sql.el (sql-comint-postgres):
6243 Convert port number to a string. (Bug#9566)
6244
6245 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6246
6247 * window.el (quit-window): Undedicate window when switching to
6248 previous buffer. Reported by Thierry Volpiatto
6249 <thierry.volpiatto@gmail.com>.
6250 (special-display-popup-frame): When popping up a new frame reset
6251 its previous buffers to nil. Simplify code.
6252
6253 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6254
6255 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6256 and process filter, as done also in `shell-command'.
6257
6258 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6259
6260 * window.el (set-window-buffer-start-and-point):
6261 Call set-window-start with NOFORCE argument t.
6262 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6263 (quit-window): Reword doc-string. Handle new format of
6264 quit-restore parameter. Don't delete window if it has a
6265 previous buffer we can show instead of the present one.
6266 (display-buffer-record-window): Rewrite using a new format for
6267 the quit-restore window parameter
6268 (special-display-popup-frame, display-buffer-same-window)
6269 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6270 (display-buffer-pop-up-window, display-buffer-use-some-window):
6271 Adapt symbol passed to display-buffer-record-window.
6272 * help.el (help-window-setup): Handle new format of quit-restore
6273 parameter.
6274
6275 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * faces.el (face-list): Fix docstring (bug#9564).
6278
6279 * window.el (display-buffer--action-function-custom-type):
6280 Don't include internal functions in the Custom interface.
6281
6282 2011-09-20 Juri Linkov <juri@jurta.org>
6283
6284 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6285 (Info-forward-node, Info-backward-node, Info-next-preorder)
6286 (Info-last-preorder): Use it. (Bug#9528)
6287
6288 2011-09-20 Juri Linkov <juri@jurta.org>
6289
6290 * info.el (Info-last-preorder): Visit last menu item only when
6291 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6292
6293 2011-09-20 Julien Danjou <julien@danjou.info>
6294
6295 * password-cache.el (password-cache-remove): Remove entries even if the
6296 value is nil, so that password with a nil value (negative caching) is
6297 possible to invalidate.
6298
6299 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6300
6301 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6302 all whitespace around breakpoint. (Bug#9553)
6303 (f90-find-breakpoint): Only break at whitespace inside a comment.
6304
6305 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 * minibuffer.el (completion-file-name-table): Keep track of errors.
6308 (completion-table-with-predicate): Handle the case where pred1 is nil.
6309 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6310
6311 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6314 (debugger-return-value): Signal an error if the debugging context does
6315 not await any return value.
6316
6317 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6318 * image-mode.el (image-toggle-display-text)
6319 (image-toggle-display-image): Stay away from evil `intangible'.
6320
6321 2011-09-19 Leo Liu <sdl.web@gmail.com>
6322
6323 * replace.el (occur-revert-arguments): Make it permanent-local.
6324 (occur-mode): Don't call font-lock-defontify.
6325
6326 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6327
6328 * net/ldap.el (ldap-search-internal): Don't push empty search
6329 result (Bug#9508).
6330
6331 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6332
6333 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6334
6335 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6336
6337 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6338 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6339
6340 2011-09-18 Juri Linkov <juri@jurta.org>
6341
6342 * buff-menu.el (Buffer-menu-mode-map):
6343 * dired.el (dired-mode-map):
6344 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6345 (lisp-interaction-mode-map):
6346 * emacs-lisp/package.el (package-menu-mode-map):
6347 * epa.el (epa-key-list-mode-map):
6348 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6349 (menu-bar-options-menu):
6350 * outline.el (outline-mode-menu-bar-map):
6351 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6352 * vc/vc-dir.el (vc-dir-menu-map):
6353 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6354 Capitalize non-function content words in menu item strings.
6355
6356 * dired.el (dired-mode-map): Add menu item for
6357 `image-dired-dired-toggle-marked-thumbs'.
6358
6359 2011-09-18 Juri Linkov <juri@jurta.org>
6360
6361 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6362 to `isearch-case-fold-search' and restore its original value
6363 after the `isearch-mode' call.
6364
6365 2011-09-18 Juri Linkov <juri@jurta.org>
6366
6367 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6368 because `zgrep' returns 1 for successful matches (bug#9226).
6369
6370 2011-09-18 Juri Linkov <juri@jurta.org>
6371
6372 * info.el (Info-extract-menu-node-name): Check the second match
6373 for empty string (second test-case of bug#9528).
6374 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6375 intermediate nodes to the history (first test-case of bug#9528).
6376
6377 2011-09-18 Juri Linkov <juri@jurta.org>
6378
6379 * info.el (Info-mode-syntax-table): New variable.
6380 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6381
6382 2011-09-18 Juri Linkov <juri@jurta.org>
6383
6384 * info.el (Info-file-supports-index-cookies):
6385 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6386 outputs one more line for long file names (bug#4142).
6387
6388 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6389
6390 * newcomment.el (comment-normalize-vars): If prompting for
6391 comment-start, set comment-start-skip too (Bug#8424).
6392
6393 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6394
6395 * icomplete.el: Fix previous fix of Bug#5849.
6396 (icomplete-mode): Don't set completion-show-inline-help.
6397 (icomplete-minibuffer-setup): Set completion-show-inline-help
6398 locally during icompletion.
6399
6400 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6401
6402 * woman.el (woman2-process-escapes): Don't delete unrecognized
6403 escapes (Bug#7843).
6404
6405 * files.el (inhibit-first-line-modes-regexps): Add image files.
6406 (hack-local-variables-prop-line): Return nil for malformed
6407 prop-lines (Bug#9044).
6408
6409 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6410
6411 * net/tramp.el (top): Don't require 'shell.
6412 (tramp-methods): Fix docstring.
6413 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6414 Return complete remote file name. Handle "smb" case.
6415 Use `tramp-tmpdir', if defined for the respective method.
6416 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6417
6418 * net/tramp-compat.el (top): Require 'shell.
6419
6420 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6421 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6422 `tramp-current-host'.
6423 (tramp-get-remote-tmpdir): Remove.
6424
6425 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6426 `tramp-tmpdir' entries.
6427 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6428 (tramp-smb-handle-file-attributes): Ignore errors.
6429 (tramp-smb-wait-for-output): Check also for process end.
6430
6431 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6432
6433 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6434 when sending QUIT (bug#9312).
6435
6436 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6437
6438 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6439 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6440 occur-mode-display-occurrence.
6441 (occur-edit-mode): Add usage message.
6442 (occur-cease-edit): New command.
6443 (occur-after-change-function): Use text properties to find the
6444 position of the prefix text.
6445 (occur-engine): Set stickiness of prefix text properties.
6446
6447 2011-09-17 Glenn Morris <rgm@gnu.org>
6448
6449 * progmodes/etags.el (complete-tag):
6450 Fix call to completion-in-region. (Bug#9526)
6451
6452 2011-09-17 Juri Linkov <juri@jurta.org>
6453
6454 * textmodes/ispell.el (ispell-word): Add to the error message
6455 the word, ispell program name and current dictionary (bug#9121).
6456 (ispell-tex-arg-end): Capitalize "error" in the error message.
6457
6458 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6459
6460 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6461 check. (Bug#4251)
6462
6463 2011-09-17 Juri Linkov <juri@jurta.org>
6464
6465 * window.el (window-safe-min-height, window-safe-min-width):
6466 Fix typos (followup to bug#9522).
6467
6468 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6469
6470 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6471
6472 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6473
6474 * simple.el (line-move): If goal-column is set, move by logical
6475 lines, not by display lines. (Bug#971)
6476 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6477 to reflect the above change.
6478
6479 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6480
6481 * image.el (imagemagick-register-types): Use regexp-opt.
6482
6483 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6484
6485 * window.el (display-buffer-base-action): Rename from
6486 display-buffer-default-action. Make default value empty.
6487 (display-buffer-overriding-action): Convert to defvar.
6488 (display-buffer-fallback-action): New var.
6489
6490 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6491
6492 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6493 declaration.
6494 (package--add-to-archive-contents): If there is a duplicate entry
6495 with an older version, remove it.
6496 (package-menu-mark-delete, package-menu-mark-install)
6497 (package-menu-mark-unmark): Make unused args optional.
6498 (package-menu-mark-obsolete-for-deletion):
6499 Use package-menu-get-status instead of a regexp search.
6500 (package-menu-get-status): Use tabulated-list-entry.
6501 (package-menu-mark-upgrades): New command.
6502 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6503 (package-menu-execute): Do installation before deletion.
6504 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6505 instead of checking major-mode.
6506 (package-menu--find-upgrades): New function.
6507
6508 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6509
6510 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6511 passwords in the log buffer.
6512 (smtpmail-process-filter): Update the process marker so that the
6513 "broken by peer" status message is inserted in the right place.
6514
6515 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6518 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6519 bibtex-completion-at-point-function.
6520 (bibtex-completion-at-point-function): Use them.
6521
6522 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6523
6524 * mpc.el (mpc-constraints-tag-lookup): New function.
6525 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6526 also to browser "album|playlist".
6527
6528 2011-09-14 Juri Linkov <juri@jurta.org>
6529
6530 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6531 (isearch-edit-string): Use length of `isearch-string' when
6532 `isearch-fail-pos' returns nil.
6533 (isearch-message): Remove duplicate code and call
6534 `isearch-fail-pos' with arg `t'.
6535
6536 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6537
6538 * replace.el (occur-mode-goto-occurrence): Don't force using other
6539 window (Bug#9499).
6540
6541 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6542
6543 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6544
6545 * window.el (display-buffer-window): Remove.
6546 (display-buffer-record-window): Use help-setup window parameter
6547 instead of variable display-buffer-window.
6548 (display-buffer-function, special-display-buffer-names)
6549 (special-display-function): Mention help-setup parameter instead
6550 of display-buffer-window in doc-string.
6551 * help.el (help-window-setup): New argument help-window.
6552 Use help-window-setup parameter instead of display-buffer-window.
6553 Reword some messages.
6554 (with-help-window): Pass window used for displaying the buffer
6555 to help-window-setup. Don't set display-buffer-window.
6556
6557 2011-09-13 Glenn Morris <rgm@gnu.org>
6558
6559 * emacs-lisp/debug.el (debugger-make-xrefs):
6560 Preserve point. (Bug#9462)
6561
6562 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6563
6564 * window.el (window-deletable-p): Use next-frame.
6565
6566 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6567
6568 * window.el (window-auto-delete): Remove.
6569 (window-deletable-p): Remove argument FORCE. Don't deal with
6570 dedication and previous buffers.
6571 (switch-to-prev-buffer): Don't delete window.
6572 (delete-windows-on): Delete a window's frame if and only if the
6573 window is dedicated.
6574 (replace-buffer-in-windows): Delete buffer's window or frame if
6575 and only if window is dedicated.
6576 (quit-window): Handle quit-restore as before last change.
6577 (bury-buffer): Delete window only if window-deletable-p returns t.
6578
6579 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6580
6581 * window.el (window-deletable-p): Never delete the last frame on a
6582 given terminal.
6583
6584 2011-09-13 Glenn Morris <rgm@gnu.org>
6585
6586 * help.el (describe-key-briefly): Copy previous standard-output change.
6587
6588 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6589
6590 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6591
6592 2011-09-13 Glenn Morris <rgm@gnu.org>
6593
6594 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6595 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6596
6597 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6598
6599 * dired-aux.el (dired-mark-read-string): Don't return default
6600 value on empty input (Bug#9361).
6601 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6602 Omit initial minibuffer contents.
6603 (dired-do-chmod): Signal an error on empty input.
6604 (dired-mark-read-string): Don't return default on empty input.
6605
6606 * files.el (file-modes-symbolic-to-number): Doc fix.
6607
6608 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6609
6610 * international/mule-cmds.el (ucs-completions): Remove.
6611 (read-char-by-name): Use complete-with-action instead; add metadata.
6612
6613 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6614
6615 * window.el (display-buffer--action-function-custom-type)
6616 (display-buffer--action-custom-type): New vars.
6617 (display-buffer-alist, display-buffer-default-action)
6618 (display-buffer-overriding-action): Add defcustom types.
6619
6620 * frame.el (delete-other-frames): Doc fix (Bug#276).
6621
6622 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6623
6624 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6625
6626 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6627
6628 Change modes that used same-window-* vars to use switch-to-buffer.
6629
6630 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6631 Use switch-to-buffer.
6632
6633 * cus-edit.el (customize-group, custom-buffer-create)
6634 (customize-browse, custom-buffer-create-other-window):
6635 Use switch-to-buffer or switch-to-buffer-other-window.
6636
6637 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6638 (Info-prev, Info-up, Info-speedbar-goto-node)
6639 (info-display-manual): Use switch-to-buffer.
6640 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6641
6642 * mail/sendmail.el (mail): Use switch-to-buffer.
6643 (mail-recover): Use switch-to-buffer-other-window.
6644
6645 * cmuscheme.el (run-scheme, switch-to-scheme):
6646 * ielm.el (ielm):
6647 * shell.el (shell):
6648 * net/rlogin.el (rlogin):
6649 * net/telnet.el (telnet, rsh):
6650 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6651
6652 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6653
6654 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6655
6656 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6657
6658 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6659 so don't mention it (bug#9301).
6660 (dired-sort-toggle-or-edit): Clarify string further.
6661
6662 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6663 match `x', `w32' and `ns', like the manual says (bug#9029).
6664
6665 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6666 (process-kill-buffer-query-function): Mention the buffer name in
6667 the query.
6668
6669 * image-mode.el (image-next-line): The line parameter is mandatory
6670 (bug#9258).
6671
6672 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6673 which can be useful (bug#9301).
6674
6675 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6676
6677 * subr.el (match-string): Mention that the current buffer should
6678 be the same as the search was done in (bug#9282).
6679
6680 * facemenu.el: Disable the remove-* commands if the mark isn't
6681 active (bug#9162).
6682
6683 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6684
6685 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6686 of display-buffer.
6687 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6688
6689 * replace.el (occur-mode-goto-occurrence)
6690 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6691 and display-buffer.
6692
6693 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6694 display-buffer.
6695
6696 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6697 special-display and same-window variables.
6698 (mail-other-window): Use switch-to-buffer-other-window.
6699 (mail-other-frame): USe switch-to-buffer-other-frame.
6700
6701 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6702 Use display-buffer-other-frame.
6703 (gdb-display-gdb-buffer): Use pop-to-buffer.
6704
6705 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6706
6707 * progmodes/python.el: Don't set same-window-buffer-names.
6708
6709 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6710
6711 * window.el (display-buffer-alist): Add *Python*.
6712
6713 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6714
6715 * window.el (display-buffer-alist): Add entry for buffers
6716 previously handled same-window-*.
6717 (display-buffer-alist, display-buffer-default-action)
6718 (display-buffer-overriding-action): Mark as risky.
6719 (display-buffer-alist): Document action function changes.
6720 (display-buffer--same-window-action)
6721 (display-buffer--other-frame-action): New variables.
6722 (switch-to-buffer, display-buffer-other-frame): Use them.
6723 (display-buffer): Rename reuse-frame entry to reusable-frames.
6724 (display-buffer-reuse-selected-window): Function deleted.
6725 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6726 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6727 (display-buffer-special): New function.
6728 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6729 display-buffer-reuse-or-pop-window. Split off special-display
6730 part into display-buffer-special.
6731 (display-buffer-use-some-window): Don't perform any special
6732 pop-up-frames handling.
6733 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6734 (display-buffer--maybe-same-window): Rename from
6735 display-buffer-maybe-same-window.
6736
6737 * info.el: Don't set same-window-regexps.
6738 (info-setup): New function.
6739 (info-other-window, info): Call it.
6740
6741 * cus-edit.el: Don't set same-window-regexps.
6742 (customize-group): New argument.
6743 (customize-group-other-window): Use it.
6744 (customize-face, customize-face-other-window): Likewise.
6745 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6746
6747 * net/rlogin.el:
6748 * net/telnet.el:
6749 * progmodes/gud.el: Don't set same-window-regexps.
6750
6751 * cmuscheme.el:
6752 * ielm.el:
6753 * shell.el:
6754 * mail/sendmail.el:
6755 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6756
6757 2011-09-10 Juri Linkov <juri@jurta.org>
6758
6759 * isearch.el (isearch-edit-string): Remove obsolete mention of
6760 `C-w' (`isearch-yank-word-or-char') from docstring.
6761 (isearch-query-replace): Fix typo in docstring (bug#9466).
6762
6763 2011-09-10 Juri Linkov <juri@jurta.org>
6764
6765 * paren.el (show-paren-function): Don't show escaped parens.
6766 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6767
6768 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6769
6770 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6771 (mm-default-file-encoding): Remove autoload forms, they are
6772 replaced with autoload cookies in mml.el and mm-encode.el.
6773 (mail-add-attachment): New command.
6774 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6775 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6776 the doc string.
6777 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6778
6779 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6780
6781 * simple.el (count-words-region): Use buffer if there's no region
6782 (bug#9429).
6783
6784 2011-09-09 Juri Linkov <juri@jurta.org>
6785
6786 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6787 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6788 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6789
6790 2011-09-09 Alan Mackenzie <acm@muc.de>
6791
6792 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6793 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6794
6795 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6796
6797 Fix for Savannah bug#9392.
6798 * simple.el (mail-encode-mml): New defvar.
6799
6800 * mail/rmail.el (mail-encode-mml): Add a defvar.
6801 (rmail-enable-mime-composing): Default to t.
6802 (rmail-forward): Use MIME method of forwarding only if both
6803 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6804 Set mail-encode-mml non-nil if the MIME method was used.
6805
6806 * mail/sendmail.el (mml-to-mime): Add autoload form.
6807 (mail-encode-mml): Add a defvar.
6808 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6809 to nil.
6810 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6811 message through mml-to-mime, and reset mail-encode-mml to nil.
6812
6813 2011-09-09 Glenn Morris <rgm@gnu.org>
6814
6815 * woman.el (woman-if-body): When processing an .el block,
6816 do not delete the next .el block as well. (Bug#9447)
6817 (woman-special-characters): Add oq, cq, and hy characters.
6818
6819 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6820
6821 * window.el (window-deletable-p): Make sure window is live before
6822 invoking window-prev-buffers.
6823
6824 2011-09-08 Leo Liu <sdl.web@gmail.com>
6825
6826 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6827
6828 2011-09-08 Juri Linkov <juri@jurta.org>
6829
6830 * progmodes/compile.el (compilation-environment): Make it
6831 a defcustom (bug#8340).
6832
6833 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6834
6835 * window.el (frame-auto-delete): Rename to window-auto-delete.
6836 Make it control auto-deletion of windows and/or frames.
6837 (window-deletable-p): New argument FORCE. Rewrite conditions
6838 for deleting window/frame. (Bug#9419)
6839 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6840 Rewrite handling of case when window/frame can be deleted.
6841 (delete-windows-on): Call window-deletable-p with new FORCE
6842 argument t. (Bug#9456)
6843
6844 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6845
6846 * help-mode.el (help-mode): Restore autoload.
6847
6848 2011-09-07 Juri Linkov <juri@jurta.org>
6849
6850 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6851 `compilation-environment'. Set buffer-local
6852 `compilation-environment' to `thisenv' later after (funcall mode).
6853 (Bug#8340)
6854
6855 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6856 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6857 instead of replacing its value. (Bug#8340)
6858
6859 2011-09-07 Juri Linkov <juri@jurta.org>
6860
6861 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6862 based on text properties put by `grep-filter' instead of matching
6863 escape sequences.
6864 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6865 to the value of `grep-error-screen-columns' (bug#9438).
6866
6867 2011-09-07 Juri Linkov <juri@jurta.org>
6868
6869 * simple.el (next-error-highlight, next-error-highlight-no-select):
6870 Doc fix (bug#9432).
6871
6872 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6873
6874 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6875 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6876
6877 2011-09-07 Leo Liu <sdl.web@gmail.com>
6878
6879 * net/rcirc.el (rcirc-mode): Conditionally initialize
6880 rcirc-input-ring.
6881
6882 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6883
6884 * emacs-lisp/find-func.el (find-function-C-source): Only set
6885 find-function-C-source-directory after checking that we found a source
6886 file there (bug#9440).
6887
6888 2011-09-06 Alan Mackenzie <acm@muc.de>
6889
6890 * isearch.el (isearch-other-meta-char): Wherever a key list is
6891 unread, "unread" the prefix arg, too. This fixes bug #8901.
6892
6893 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6894
6895 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6896
6897 2011-09-05 Juri Linkov <juri@jurta.org>
6898
6899 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6900
6901 2011-09-05 Juri Linkov <juri@jurta.org>
6902
6903 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6904 keeping point where processing of grep matches begins, and
6905 continue to delete remaining escape sequences from the same point.
6906 (grep-filter): Make leading zero optional in "0?1;31m" because
6907 git-grep emits "\033[1;31m" escape sequences unlike expected
6908 "\033[01;31m" as GNU Grep does (bug#9408).
6909 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6910
6911 2011-09-05 Juri Linkov <juri@jurta.org>
6912
6913 * subr.el (y-or-n-p): Capitalize "yes".
6914
6915 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6916
6917 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6918 `tramp-cache-unload-hook' where appropriate.
6919 (tramp-methods): Rename `tramp-remote-sh' to
6920 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6921 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6922
6923 * net/tramp-sh.el (top): Don't require 'shell.
6924 (tramp-methods): Add `tramp-remote-shell' and
6925 `tramp-remote-shell-args' entries.
6926 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6927 (tramp-sh-handle-shell-command): Remove.
6928 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6929 Use `tramp-remote-shell'.
6930
6931 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6932
6933 * mail/sendmail.el (sendmail-query-once-function): Delete.
6934 (sendmail-query-once): Save directly to send-mail-function.
6935 Update message-send-mail-function too.
6936
6937 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6938
6939 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6940
6941 * progmodes/python.el (python-mode-map): Use correct function to
6942 start python interpreter from menu-bar (as reported by Geert
6943 Kloosterman).
6944 (inferior-python-mode-map): Fix typo.
6945 (python-shell-map): Remove.
6946
6947 2011-09-03 Deniz Dogan <deniz@dogan.se>
6948
6949 * net/rcirc.el (rcirc-print): Simplify code for
6950 rcirc-scroll-show-maximum-output. There is no need to walk
6951 through all windows to find the right one.
6952
6953 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6954
6955 * help.el (help-return-method): Doc fix.
6956
6957 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6958
6959 * window.el (window-deletable-p): Don't return a non-nil value
6960 when there's a buffer that was shown in the window before.
6961 (Bug#9419)
6962 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6963 Set window's previous buffers to nil.
6964
6965 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6966
6967 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6968 newline before and after the tag line, so it doesn't interfere
6969 with determining the paragraph direction of bidirectional text.
6970
6971 2011-09-03 Leo Liu <sdl.web@gmail.com>
6972
6973 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6974
6975 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6976
6977 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6978 (pop-to-buffer): Change interactive spec. Pass second argument
6979 directly to display-buffer.
6980 (display-buffer): Fix interactive spec. Use functionp to
6981 distinguish between a function and a list of functions.
6982
6983 * abbrev.el (edit-abbrevs):
6984 * arc-mode.el (archive-extract):
6985 * autoinsert.el (auto-insert):
6986 * bookmark.el (bookmark-bmenu-list):
6987 * files.el (find-file):
6988 * view.el (view-buffer):
6989 * progmodes/compile.el (compilation-goto-locus):
6990 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6991
6992 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6993
6994 * window.el (display-buffer-alist): Doc fix.
6995 (display-buffer): Add docstring. Don't treat
6996 display-buffer-default specially.
6997 (display-buffer-reuse-selected-window)
6998 (display-buffer-same-window, display-buffer-maybe-same-window)
6999 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7000 (display-buffer-pop-up-window)
7001 (display-buffer-reuse-or-pop-window)
7002 (display-buffer-use-some-window): New functions.
7003 (display-buffer-default-action): Use them.
7004 (display-buffer-default): Delete.
7005 (pop-to-buffer-1): Fix choice of actions.
7006
7007 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7008
7009 * minibuffer.el (completion--insert-strings): Don't get confused by
7010 completion entries that end with an LF char.
7011
7012 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7013
7014 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7015
7016 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7017
7018 * window.el (display-buffer): Restore interactive spec.
7019 (display-buffer-same-window, display-buffer-other-window):
7020 New functions.
7021 (pop-to-buffer-1): New function. Use the above.
7022 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7023 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7024
7025 * view.el (view-buffer-other-window, view-buffer-other-frame):
7026 Just use pop-to-buffer.
7027
7028 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7029
7030 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7031
7032 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7033
7034 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7035
7036 2011-08-31 Richard Stallman <rms@gnu.org>
7037
7038 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7039 of the separation of rmail-view-buffer from rmail-buffer.
7040 If you say no to "replace original", the decrypt is in the
7041 view buffer. If you say yes, the decrypt goes into the
7042 rmail buffer also.
7043
7044 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7045
7046 * window.el (display-buffer-window): Rewrite doc-string.
7047 (display-buffer-record-window): New function.
7048 (display-buffer-macro-specifiers)
7049 (display-buffer-even-window-sizes, display-buffer-set-height)
7050 (display-buffer-set-width, display-buffer-in-window)
7051 (display-buffer-reuse-window, display-buffer-split-specifiers)
7052 (display-buffer-side-specifiers, display-buffer-split-window-1)
7053 (display-buffer-split-window, display-buffer-split-atom-window)
7054 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7055 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7056 (display-buffer-other-window-means-other-frame)
7057 (display-buffer-normalize-special)
7058 (display-buffer-normalize-default)
7059 (display-buffer-normalize-argument)
7060 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7061 (display-buffer-normalize-specifiers, display-buffer-frame)
7062 (display-buffer-same-window, display-buffer-same-frame)
7063 (display-buffer-other-window)
7064 (display-buffer-same-frame-other-window)
7065 (display-buffer-other-frame, pop-to-buffer-same-window)
7066 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7067 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7068 (switch-to-buffer-same-frame)
7069 (switch-to-buffer-other-window-same-frame)
7070 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7071 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7072 (display-buffer-alist-set): Remove.
7073 (display-buffer-function, special-display-buffer-names)
7074 (special-display-regexps, special-display-function):
7075 In doc-string refer to display-buffer-window and quit-restore
7076 parameter.
7077 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7078 (special-display-frame-alist, special-display-popup-frame)
7079 (same-window-buffer-names, same-window-regexps, same-window-p)
7080 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7081 (split-window-preferred-function, split-height-threshold)
7082 (split-width-threshold, window-splittable-p)
7083 (split-window-sensibly, window--try-to-split-window)
7084 (window--frame-usable-p, even-window-heights)
7085 (window--even-window-heights, window--display-buffer-1)
7086 (window--display-buffer-2, display-buffer-other-frame):
7087 Restore old Emacs 23 code, order and doc-strings where applicable.
7088 (display-buffer-default, display-buffer-assq-regexp): New functions.
7089 (display-buffer-alist): Rewrite doc-string.
7090 (display-buffer-default-action)
7091 (display-buffer-overriding-action): New variables.
7092 (display-buffer, switch-to-buffer): Rewrite.
7093 (pop-to-buffer): Restore Emacs 23 behavior but use
7094 window-normalize-buffer-to-display.
7095 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7096 Restore Emacs 23 behavior but use
7097 window-normalize-buffer-to-switch-to.
7098 (pop-to-buffer-same-window): Rewrite.
7099 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7100 Rewrite using Emacs 23 options.
7101
7102 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7103
7104 * net/tramp.el (tramp-root-regexp): Remove.
7105 (tramp-completion-file-name-regexp-unified)
7106 (tramp-completion-file-name-regexp-separate)
7107 (tramp-completion-file-name-regexp-url): Don't use leading volume
7108 letter on win32 systems. (Bug#5303, Bug#9311)
7109 (tramp-drop-volume-letter): Simplify definition.
7110 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7111
7112 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7115 (bug#9356).
7116
7117 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7118
7119 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7120
7121 2011-08-29 Juri Linkov <juri@jurta.org>
7122
7123 * isearch.el (isearch-done): Don't display message "Mark saved"
7124 when arg `edit' is non-nil to prevent its flicker in the echo area.
7125
7126 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7127
7128 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7129 obsolete packages for deletion.
7130
7131 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7132
7133 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7134 (help-mode): Derive help-mode from special-mode. Don't invoke
7135 view-mode from help-mode.
7136 (help-xref-override-view-map): Remove.
7137 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7138 view-mode is not used anymore.
7139
7140 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7141
7142 * server.el (server-port): Doc fix.
7143
7144 * cus-theme.el (custom-theme-choose-mode): Inherit from
7145 special-mode (Bug#9124).
7146 (custom-theme-choose-mode-map): Add special-mode to parent.
7147
7148 2011-08-28 Alan Mackenzie <acm@muc.de>
7149
7150 * progmodes/cc-fonts.el
7151 (c-make-font-lock-BO-decl-search-function): New function.
7152 (c-basic-matchers-after - "Fontify the clauses after various
7153 keywords"): Extract the three keyword lists for the 3 erroneous
7154 constructs from the list of four, and use the new function above
7155 in place of an old one.
7156
7157 2011-08-28 Deniz Dogan <deniz@dogan.se>
7158
7159 * net/rcirc.el (rcirc-insert-prev-input)
7160 (rcirc-insert-next-input): Remove unused argument.
7161
7162 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7165
7166 2011-08-27 Alan Mackenzie <acm@muc.de>
7167
7168 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7169 handle function pointer parameters properly.
7170
7171 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7172
7173 * window.el (display-buffer-reuse-window): Fix case where
7174 selected window was reused with non-nil OTHER-WINDOW argument.
7175 (Bug#9381)
7176
7177 2011-08-27 Deniz Dogan <deniz@dogan.se>
7178
7179 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7180 oftc's NickServ messages.
7181
7182 2011-08-27 Glenn Morris <rgm@gnu.org>
7183
7184 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7185
7186 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7187
7188 * emacs-lisp/package.el (package-install): Call package-initialize
7189 if called interactively.
7190
7191 2011-08-26 Leo Liu <sdl.web@gmail.com>
7192
7193 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7194
7195 2011-08-25 Juri Linkov <juri@jurta.org>
7196
7197 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7198 `search-whitespace-regexp' (bug#9364).
7199
7200 2011-08-25 Juri Linkov <juri@jurta.org>
7201
7202 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7203 `regexp-search-ring' to their global values to protect from
7204 updating by `read-from-minibuffer' (bug#9185).
7205
7206 2011-08-25 Juri Linkov <juri@jurta.org>
7207
7208 * textmodes/ispell.el (ispell-command-loop): Add newline
7209 at the end of the "Use option `i'..." line.
7210
7211 2011-08-25 Juri Linkov <juri@jurta.org>
7212
7213 * battery.el (display-battery-mode): If `battery-status-function'
7214 or `battery-mode-line-format' is nil, display the message and set
7215 `display-battery-mode' to nil (bug#9363).
7216
7217 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7218
7219 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7220 bidi-string-mark-left-to-right; they are unnecessary now.
7221
7222 2011-08-25 Deniz Dogan <deniz@dogan.se>
7223
7224 * net/quickurl.el: Documentation typo fixes.
7225
7226 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7227
7228 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7229
7230 2011-08-25 Glenn Morris <rgm@gnu.org>
7231
7232 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7233
7234 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7235 (smtpmail-via-smtp): Handle nil response from smtp.
7236
7237 2011-08-24 Juri Linkov <juri@jurta.org>
7238
7239 * proced.el (proced-marked): Inherit from `error' instead of
7240 `font-lock-warning-face'.
7241
7242 * ibuffer.el (ibuffer-marked-face): Change default face from
7243 `font-lock-warning-face' to `warning'.
7244 (ibuffer-deletion-face): Change default face from
7245 `font-lock-type-face' to `error'.
7246
7247 * battery.el (battery-update): Use the face `error' instead of
7248 `font-lock-warning-face' (bug#6117).
7249
7250 2011-08-24 Juri Linkov <juri@jurta.org>
7251
7252 * faces.el (success): Change face color from "Green3" to
7253 "ForestGreen" on light background (bug#9353).
7254
7255 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7256
7257 * window.el (quit-window): Rename from quit-restore-window.
7258 Use same arglist as old quit-window.
7259 (frame-auto-delete): Doc fix.
7260
7261 * view.el (view-mode-exit): Use quit-window.
7262
7263 2011-08-24 Juri Linkov <juri@jurta.org>
7264
7265 * isearch.el (isearch-ring-adjust1): Start visiting previous
7266 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7267 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7268 for empty search string (when the last search string is reused
7269 automatically) to adjust the isearch ring to the last element and
7270 prepare the correct index for further M-p commands (bug#9185).
7271
7272 2011-08-24 Kenichi Handa <handa@m17n.org>
7273
7274 * international/ucs-normalize.el: If decomposition property of
7275 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7276 nil.
7277 (nfd, nfkd): Likewise.
7278
7279 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7282 from process filters aren't reliably transmitted to the surrounding
7283 accept-process-output.
7284 (mpc-proc-check): New function.
7285 (mpc-proc-sync): Use it (bug#8293)
7286
7287 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7288
7289 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7290 Add compatibility functions (bug#9313).
7291
7292 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7293
7294 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7295
7296 * international/uni-bidi.el: Regenerate.
7297
7298 2011-08-23 Kenichi Handa <handa@m17n.org>
7299
7300 * international/charprop.el:
7301 * international/uni-bidi.el:
7302 * international/uni-category.el:
7303 * international/uni-combining.el:
7304 * international/uni-comment.el:
7305 * international/uni-decimal.el:
7306 * international/uni-decomposition.el:
7307 * international/uni-digit.el:
7308 * international/uni-lowercase.el:
7309 * international/uni-mirrored.el:
7310 * international/uni-name.el:
7311 * international/uni-numeric.el:
7312 * international/uni-old-name.el:
7313 * international/uni-titlecase.el:
7314 * international/uni-uppercase.el: Regenerate.
7315
7316 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7317
7318 * help.el (help-window-setup): Fix message displayed when other
7319 window is reused. (Bug#9341)
7320
7321 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7324 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7325
7326 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7327 Mark obsolete.
7328 * shell.el (shell-parse-pcomplete-arguments): New function.
7329 (shell-completion-vars): Use it instead (bug#9160).
7330
7331 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7334 strings and comments (bug#9333).
7335
7336 * emacs-lisp/debug.el (debug-arglist): New function.
7337 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7338 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7339
7340 2011-08-22 Juri Linkov <juri@jurta.org>
7341
7342 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7343 Revert regexp that highlights output switches to its old
7344 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7345
7346 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7347 to check for empty output (bug#9226).
7348
7349 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7350
7351 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7352 symbol-constituent as the default, as that stops font-lock from
7353 working properly (Bug#8843).
7354
7355 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7356
7357 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7358 `coding-system-for-*' around the process open call to avoid
7359 auth-source side effects.
7360 (smtpmail-try-auth-methods): Expand the secret password.
7361 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7362 probe hangs.
7363
7364 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7365
7366 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7367
7368 * emacs-lisp/find-func.el (find-function-noselect): New arg
7369 lisp-only.
7370
7371 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7372 signal an error for built-in functions (Bug#6664).
7373
7374 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7375
7376 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7377 (smtpmail-try-auth-methods): Use it.
7378
7379 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7380
7381 * font-lock.el (font-lock-fontify-region)
7382 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7383 (font-lock-default-unfontify-buffer)
7384 (font-lock-default-fontify-region)
7385 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7386
7387 * progmodes/compile.el (compilation-error-properties):
7388 Fix confusion between file struct and message struct (Bug#9319).
7389 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7390 `ant' regexp.
7391
7392 * net/browse-url.el (browse-url-firefox): Don't call
7393 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7394
7395 2011-08-20 Glenn Morris <rgm@gnu.org>
7396
7397 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7398
7399 * tutorial.el (tutorial--default-keys): Update some default bindings.
7400
7401 * files.el (hack-local-variables): Fully ignore case for "mode:".
7402
7403 2011-08-20 Alan Mackenzie <acm@muc.de>
7404
7405 Resolve invalid use of a regexp in regexp-opt.
7406
7407 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7408 detection for a java annotation.
7409
7410 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7411 detection for a java annotation.
7412
7413 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7414 handling for java.
7415 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7416
7417 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7418
7419 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7420 (Bug#9274).
7421
7422 2011-08-20 Alan Mackenzie <acm@muc.de>
7423
7424 Fontify CPP expressions correctly when starting in the middle of
7425 such a construct. Mainly for when jit-lock etc. starts a chunk
7426 here.
7427
7428 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7429 variable.
7430 (c-make-font-lock-search-form): New function, extracted from
7431 c-make-font-lock-search-function.
7432 (c-make-font-lock-search-function): Use the above function.
7433 (c-make-font-lock-context-search-function): New function.
7434 (c-cpp-matchers): Enhance the preprocessor expression case with
7435 the above function
7436 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7437 which takes an expression.
7438
7439 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7440
7441 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7442
7443 * window.el (display-buffer-reuse-window)
7444 (display-buffer-pop-up-window): Don't reuse or split a side
7445 window.
7446
7447 2011-08-19 Glenn Morris <rgm@gnu.org>
7448
7449 * files.el (hack-local-variables-prop-line, hack-local-variables):
7450 Downcase "Mode:". (Bug#9331)
7451
7452 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7453
7454 * international/characters.el: Add L and R categories.
7455
7456 * subr.el (bidi-string-mark-left-to-right): Rename from
7457 string-mark-left-to-right. Use category search.
7458
7459 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7460
7461 2011-08-18 Juri Linkov <juri@jurta.org>
7462
7463 * faces.el (error, warning, success): New faces with definitions
7464 copied from old default values of `font-lock-warning-face',
7465 `compilation-warning', `compilation-info' (bug#6117).
7466
7467 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7468
7469 * progmodes/compile.el (compilation-error): Inherit from `error'.
7470 (compilation-warning): Inherit from `warning'.
7471 (compilation-info): Inherit from `success'.
7472
7473 * dired.el (dired-marked): Inherit from `warning'.
7474 (dired-flagged): Inherit from `error'.
7475
7476 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7477
7478 * mail/smtpmail.el (auth-source): Require to avoid problems with
7479 binding variables (bug#9298). Also clean up some unused
7480 autoloads.
7481
7482 * net/network-stream.el (network-stream-open-starttls):
7483 Support using starttls.el without using gnutls-cli.
7484
7485 2011-08-17 Juri Linkov <juri@jurta.org>
7486
7487 * progmodes/grep.el (rgrep): Handle the case when
7488 `grep-find-command' is a cons cell (bug#9278).
7489
7490 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7491
7492 * window.el (display-buffer-pop-up-frame): Run frame creation
7493 function with BUFFER current (as special-display-popup-frame
7494 does). Reported by Drew Adams.
7495
7496 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7497
7498 * epa-mail.el: Simplify GnuPG group expansion using
7499 epg-expand-group.
7500 (epa-mail-group-alist, epa-mail-group-modtime)
7501 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7502 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7503 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7504 Remove.
7505
7506 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7507
7508 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7509
7510 2011-08-16 Alan Mackenzie <acm@muc.de>
7511
7512 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7513 Correct, to avoid the inside of macros.
7514
7515 2011-08-16 Richard Stallman <rms@gnu.org>
7516
7517 * epa-mail.el: Handle GnuPG group definitions.
7518 (epa-mail-group-alist, epa-mail-group-modtime)
7519 (epa-mail-gnupg-conf-file): New variables.
7520 (epa-mail-parse-groups, epa-mail-sync-groups)
7521 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7522 (epa-mail-expand-recipients): New functions.
7523 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7524
7525 * mail/rmail.el (rmail-epa-decrypt): New command.
7526
7527 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7528 Don't bind buffer-read-only, just inhibit-read-only.
7529 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7530 (epa-decrypt-armor-in-region): Make error message clearer.
7531
7532 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7533
7534 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7535 and "a2b" to "ab" for `prefix'.
7536
7537 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7538
7539 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7540 filter groups.
7541 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7542 Fourquet (Bug#8804).
7543
7544 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7545
7546 * startup.el (argi): Declare as global variable (bug#9275).
7547
7548 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7549
7550 * subr.el (string-mark-left-to-right): Search the entire string
7551 for RTL script, not just the terminating character. Doc fix.
7552
7553 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7556 New function.
7557 (js--regexp-literal, js-syntax-propertize-function): Remove.
7558 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7559 (js-mode-map): Don't rebind electric keys.
7560 (js-insert-and-indent): Remove.
7561 (js-mode): Setup electric-layout and electric-indent instead.
7562
7563 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7564
7565 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7566
7567 * epa.el (epa-progress-callback-function): Fix the logic of
7568 displaying progress.
7569 * epa-file.el (epa-file-insert-file-contents): Make progress
7570 display more user-friendly.
7571 (epa-file-write-region): Ditto.
7572
7573 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7574
7575 * subr.el (string-mark-left-to-right): New function.
7576
7577 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7578 Use string-mark-left-to-right.
7579 (list-buffers-noselect): Caller changed.
7580
7581 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7582 Use string-mark-left-to-right.
7583 (tabulated-list-print): Recenter after moving point.
7584
7585 2011-08-10 Juri Linkov <juri@jurta.org>
7586
7587 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7588 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7589 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7590
7591 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7592
7593 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7594 (Bug#7554).
7595
7596 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7597
7598 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7599 character. (Bug#6594)
7600
7601 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7602
7603 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7604 (image-dired--with-db-file): New macro.
7605 (image-dired-write-tags, image-dired-remove-tag)
7606 (image-dired-create-gallery-lists, image-dired-write-comments)
7607 (image-dired-get-comment, image-dired-mark-tagged-files)
7608 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7609 (image-dired-gallery-generate): Use insert-file-contents.
7610
7611 * time.el (display-time-world-list, display-time-world-display):
7612 * time-stamp.el (time-stamp-string):
7613 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7614 set-time-zone-rule (Bug#7337).
7615
7616 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7617
7618 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7619 (epg-error-to-string, epg-errors-to-string): New function.
7620 (epg-wait-for-completion): Reverse errors list.
7621 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7622 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7623 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7624 (epg-sign-keys, epg-generate-key-from-file)
7625 (epg-generate-key-from-string): Format errors by using
7626 epg-errors-to-string (bug#9255).
7627 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7628
7629 2011-08-07 Juri Linkov <juri@jurta.org>
7630
7631 * faces.el (list-faces-display): Remove extra angle bracket
7632 from `help-mode-map'.
7633
7634 * info.el (Info-history-toc-nodes): Doc fix.
7635
7636 * longlines.el (longlines-mode): Doc fix.
7637
7638 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7641 of statements and in a few more cases (bug#9183).
7642
7643 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7644 New functions.
7645 (cl-transform-lambda): Use them (bug#9239).
7646
7647 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7648
7649 * window.el (display-buffer-same-window)
7650 (display-buffer-same-frame, display-buffer-other-window)
7651 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7652 (pop-to-buffer-other-window)
7653 (pop-to-buffer-same-frame-other-window)
7654 (pop-to-buffer-other-frame): Make them defuns.
7655 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7656
7657 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * subr.el (make-composed-keymap): Move from C. Change calling
7660 convention, and improve docstring to bring attention to a subtle point.
7661 * minibuffer.el (completing-read-default): Adjust accordingly.
7662
7663 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7664
7665 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7666 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7667
7668 * net/trampver.el: Update release number.
7669
7670 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7671
7672 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7673 "in" (bug#9190).
7674
7675 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7676
7677 * mail/sendmail.el (sendmail-query-once): Restore the current
7678 buffer after querying (bug#9074).
7679
7680 * dired.el (dired-flagged): Use different faces for marked and
7681 flagged files (bug#6117).
7682
7683 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7684 (bug#4433).
7685
7686 * ido.el (ido-mode): Switch off the message if called
7687 non-interactively.
7688
7689 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7690 before 587, since it appears that that's more likely to work for
7691 more people.
7692
7693 * cus-edit.el (custom-file): When running under emacs -q, always
7694 refuse to save the customizations, even if the .emacs file doesn't
7695 exist.
7696
7697 * info.el: Remove the `Info-beginning-of-buffer' function
7698 (bug#8325).
7699
7700 * net/network-stream.el (network-stream-open-starttls):
7701 Use `starttls-available-p' to see whether starttls.el can be used.
7702
7703 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7704
7705 * window.el (display-buffer-in-window): Don't set dedicated status
7706 of window here (Bug#9215).
7707 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7708 (display-buffer-pop-up-side-window)
7709 (display-buffer-in-side-window): Set dedicated status of window here.
7710
7711 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7712
7713 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7714 before binding generated-autoload-file.
7715
7716 2011-08-01 Deniz Dogan <deniz@dogan.se>
7717
7718 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7719
7720 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7721
7722 Sync with Tramp 2.2.2.
7723
7724 * net/trampver.el: Update release number.
7725
7726 2011-07-30 Juri Linkov <juri@jurta.org>
7727
7728 * dired-aux.el (dired-touch-initial): Remove function.
7729 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7730 current time, and `default' to the last modification time of the
7731 current marked file (bug#6887).
7732
7733 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7734
7735 * simple.el (goto-line): Use string-to-number to provide a
7736 numeric argument to read-number (bug#9163).
7737
7738 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7739
7740 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7741 connection process, it could be nil.
7742
7743 2011-07-27 Leo Liu <sdl.web@gmail.com>
7744
7745 Simplify url handling in rcirc-mode.
7746
7747 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7748 (rcirc-browse-url-at-mouse): Remove.
7749 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7750
7751 2011-07-26 Alan Mackenzie <acm@muc.de>
7752
7753 Fontify bitfield declarations properly.
7754
7755 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7756 (c-symbol-chars): Now exported as a lang variable.
7757 (c-not-primitive-type-keywords): New lang variable.
7758
7759 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7760 QT keyword "more" to prevent "more slots: ...." being spuriously
7761 parsed as a bitfield declaration.
7762
7763 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7764 Refactor and enhance to handle bitfield declarations.
7765 (c-punctuation-in): New function.
7766 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7767 declarations properly.
7768
7769 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7770
7771 * calendar/icalendar.el (icalendar--all-events): Take care of
7772 multiple vcalendars in a single file.
7773 (icalendar--convert-float-to-ical): Checkdoc fixes.
7774
7775 2011-07-25 Deniz Dogan <deniz@dogan.se>
7776
7777 * image.el (insert-image): Clarifying docstring.
7778
7779 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7780
7781 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7782 `tramp-send-command-and-check' if there is no error.
7783 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7784
7785 2011-07-22 Alan Mackenzie <acm@muc.de>
7786
7787 Prevent cc-langs.elc being loaded at run time.
7788
7789 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7790 cc-langs.
7791
7792 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7793 "(require 'cc-langs)". Quote a form so it will evaluate at
7794 (cc-mode's) compilation time.
7795
7796 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7797
7798 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7799 loading. (Bug#9114)
7800
7801 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7802
7803 * window.el (display-buffer-pop-up-window)
7804 (display-buffer-pop-up-side-window)
7805 (display-buffer-in-side-window): Call display-buffer-set-height
7806 and display-buffer-set-width after setting the new window's
7807 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7808
7809 2011-07-20 Sam Steingold <sds@gnu.org>
7810
7811 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7812 (etags-tags-included-tables): Call `convert-standard-filename' on
7813 the file names contained in TAGS so that windows Emacs can handle
7814 TAGS files created by cygwin ctags.
7815
7816 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7817
7818 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7819 which apparently didn't work.
7820
7821 2011-07-19 Roland Winkler <winkler@gnu.org>
7822
7823 * proced.el (proced-send-signal): For *Marked Processes* buffer
7824 put point at beginning of buffer.
7825
7826 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7827
7828 * proced.el (proced-format): Make header lines align with the text
7829 (bug#1779).
7830
7831 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7832
7833 * view.el (view-buffer): Allow running in `special' modes if we're
7834 visiting a file (bug#8615).
7835
7836 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7837
7838 * window.el (display-buffer-alist-of-strings-p)
7839 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7840 New functions.
7841 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7842 more accurately.
7843
7844 2011-07-18 Alan Mackenzie <acm@muc.de>
7845
7846 Fontify declarators properly when, e.g., a jit-lock chunk begins
7847 inside a declaration.
7848
7849 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7850
7851 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7852 New function.
7853 (c-complex-decl-matchers): Insert reference to
7854 c-font-lock-enclosing-decls.
7855
7856 * progmodes/cc-engine.el (c-backward-single-comment):
7857 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7858 to nil around calls to (forward-comment -1).
7859
7860 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7861
7862 * image.el (put-image): Doc typo fix.
7863
7864 * progmodes/etags.el (tags-search): Doc typo fix.
7865
7866 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7867 password if we get errors 550 to 554.
7868
7869 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7870
7871 * net/gnutls.el (gnutls-log-level): Remove.
7872
7873 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7874 indentation character (bug#6380).
7875
7876 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7877
7878 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7879 to clarify what the problem is (bug#4291).
7880
7881 * simple.el (current-kill): Clarify what
7882 `interprogram-paste-function' does (bug#7500).
7883 (auto-fill-mode): Document `auto-fill-function' in relation to
7884 `auto-fill-mode' (bug#2470).
7885
7886 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7887
7888 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7889 method if slot is read-only (bug#9035).
7890
7891 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7892
7893 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7894 * window.el (pop-to-buffer): Select window used even if it was
7895 selected before, see discussion of (Bug#8615), (Bug#6954).
7896 Pass argument NORECORD on to select-frame-set-input-focus.
7897
7898 2011-07-15 Glenn Morris <rgm@gnu.org>
7899
7900 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7901 Respect help-form.
7902
7903 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7904
7905 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7906 (gnutls-negotiate): Use it.
7907
7908 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7909
7910 * net/gnutls.el (gnutls-negotiate):
7911 Upcase `gnutls-algorithm-priority'.
7912
7913 2011-07-15 Glenn Morris <rgm@gnu.org>
7914
7915 * jka-compr.el (jka-compr-verbose): Move from here...
7916 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7917 Add missing :version tag.
7918 * info.el: No need to require jka-compr when compiling.
7919
7920 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7921
7922 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7923 (gnutls-negotiate): Use it.
7924
7925 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7926
7927 * info.el (Info-beginning-of-buffer): New command.
7928 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7929 announcing `b' as the key (bug#8325).
7930 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7931
7932 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7933
7934 * international/mule-cmds.el
7935 (describe-specified-language-support): Make the error message
7936 clearer (bug#8905).
7937
7938 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7939
7940 * isearch.el (isearch-barrier): Add a doc string, since it's
7941 mentioned in a function doc string (bug#8678).
7942
7943 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7944
7945 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7946 buffer argument (Bug#9083) and self-identifying label argument.
7947
7948 2011-07-15 Glenn Morris <rgm@gnu.org>
7949
7950 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7951
7952 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7953
7954 * man.el (Man-fontify-manpage): Fix message when formatting the
7955 man page (bug#7929).
7956
7957 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7958
7959 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7960 argument LRM; if non-nil, append an invisible LRM character to the
7961 buffer name.
7962 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7963 last argument non-nil, when formatting buffer names.
7964 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7965 paragraph direction.
7966
7967 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7968
7969 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7970 the man page name (bug#7929).
7971
7972 * image.el (put-image): Mention the `put-image' overlay property
7973 (bug#7834).
7974
7975 * scroll-bar.el (set-scroll-bar-mode): Mention that
7976 `scroll-bar-mode' lists the values (bug#7772).
7977
7978 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7979 command (bug#7729).
7980
7981 * rect.el (apply-on-rectangle): Return the point after the last
7982 operation.
7983 (string-rectangle): Go to the point after the last operation
7984 (bug#7522).
7985
7986 * printing.el (pr-toggle-region): Clarify the documentation
7987 slightly (bug#7493).
7988
7989 * time.el (display-time-update):
7990 Allow `display-time-mail-function' to return nil (bug#7158).
7991 Fix suggested by Detlev Zundel.
7992
7993 * vc/diff.el (diff): Clarify the order the file names are read
7994 (bug#7111).
7995
7996 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7997 the doc string (bug#7015).
7998
7999 * font-lock.el (font-lock-maximum-decoration): Mention what
8000 numeric levels mean (bug#6935).
8001
8002 * startup.el (initial-buffer-choice): Don't mention the `none'
8003 selection, which is against policy.
8004
8005 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8006
8007 * window.el (display-buffer-normalize-special):
8008 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8009
8010 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8011
8012 * subr.el (version<, version<=, version=): Mention "-CVS" and
8013 "-12345" alpha version numbers.
8014
8015 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8016
8017 * bindings.el: Add advertised binding for set-mark-command
8018 (Bug#5772).
8019
8020 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8021
8022 * bindings.el (mode-line-other-buffer):
8023 * bookmark.el (bookmark-bmenu-2-window):
8024 * bs.el (bs-cycle-next, bs-cycle-previous):
8025 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8026 switch-to-buffer.
8027
8028 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8029 Delete.
8030
8031 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8032
8033 * follow.el (follow-debug-message, follow-redisplay):
8034 * jka-cmpr-hook.el (with-auto-compression-mode):
8035 Fix typos in docstrings.
8036
8037 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8038
8039 * subr.el (with-silent-modifications): Clarify somewhat what the
8040 macro inhibits (bug#6525).
8041
8042 * simple.el (eval-expression): Note what it does if called
8043 interactively (bug#6495).
8044
8045 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8046
8047 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8048 Use pop-to-buffer buffer-or-name if it is nil.
8049
8050 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8051 Remove switch-to-buffer.
8052
8053 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8054
8055 * files.el (make-directory): Clarify that an error will be raised
8056 if there's an error (bug#6397).
8057
8058 * startup.el (initial-buffer-choice): Add `none' as a choice
8059 (bug#6234).
8060
8061 * subr.el (add-hook): Clarify section about buffer-local hooks
8062 (bug#6218).
8063
8064 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8065
8066 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8067
8068 * tabify.el (untabify): Preserve the current column so that point
8069 doesn't move (bug#6032).
8070
8071 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8072
8073 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8074 Rewrite to avoid awkward possessive "s" (bug#5986).
8075
8076 2011-07-13 Glenn Morris <rgm@gnu.org>
8077
8078 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8079 (dired-insert-directory): Give a message the first time
8080 if ls is found not to support --dired.
8081
8082 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8083
8084 * simple.el (toggle-truncate-lines): Clarify what is toggled
8085 (bug#5580). Text by Drew Adams.
8086
8087 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8088
8089 * simple.el (blink-matching-open): Make the error message from the
8090 last change less verbose.
8091
8092 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8093
8094 * font-lock.el (font-lock-comment-face): Use the high contrast
8095 "yellow" color for font-lock-comment-face on low color terminals
8096 using a dark background color (bug#4221).
8097
8098 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8099
8100 * dired.el (dired-insert-set-properties): Make the doc string
8101 reflect what it does now (bug#5325).
8102
8103 * simple.el (blink-matching-open): Say that we were unable to find
8104 the match within the limit, if we're limited (bug#5122).
8105
8106 * international/mule-cmds.el (prefer-coding-system): Add an
8107 example (bug#4869).
8108
8109 * progmodes/etags.el (tags-search): Document `file-list-form'
8110 (bug#4731).
8111
8112 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8113
8114 * net/browse-url.el (browse-url-default-browser)
8115 (browse-url-browser-function): Make the default browser choice a
8116 bit more logical (bug#4300). Also clean up the doc string.
8117
8118 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8119
8120 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8121 binary endings (bug#4440).
8122
8123 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8124
8125 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8126 which can be pretty annoying (bug#8971).
8127
8128 * jka-compr.el (jka-compr-verbose): New variable, and use
8129 throughout (bug#8971).
8130
8131 * info.el (Info-find-file): Fall back on the installation
8132 directory if we can't find the info node anywhere else.
8133
8134 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8135
8136 * vc/vc.el (vc-revert-file):
8137 Don't set file time-stamp in the past. (Bug#5181)
8138
8139 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8140
8141 * files.el (after-find-file): Give a better error message when
8142 trying to find a symlink that points to a file that doesn't exist
8143 (bug#4398).
8144
8145 * progmodes/cc-vars.el: Remove (probably) misleading comment
8146 (bug#4396).
8147
8148 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8149
8150 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8151
8152 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8153
8154 * mouse-sel.el: Hack restoring functionality, while keeping
8155 compatibility with 2010-07-03 changes to mouse selection.
8156 (mouse-sel-primary-overlay): New var.
8157 (mouse-sel-selection-alist): Use it.
8158 (mouse-sel-mode): Doc fix; remove points that are default features
8159 of mouse.el.
8160
8161 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8162
8163 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8164 Fix previous fix (bug#2490).
8165
8166 2011-07-12 Roland Winkler <winkler@gnu.org>
8167
8168 * textmodes/bibtex.el (bibtex-initialize):
8169 Use pop-to-buffer-same-window.
8170 (bibtex-search-entries): Fix interactive call.
8171
8172 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8173
8174 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8175 Fontise bytecomp Error lines more correctly (bug#2490).
8176 Fix suggested by Johan Bockgård.
8177
8178 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8179
8180 * dired-x.el (dired-guess-default): Use `delete-dups'.
8181
8182 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8183
8184 * dired.el (dired-mark-prompt):
8185 * dired-aux.el (dired-read-shell-command): Doc fix.
8186
8187 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8188
8189 * mail/sendmail.el (sendmail-query-once):
8190 Use `customize-save-variable' unconditionally, now that it works under
8191 emacs -Q.
8192
8193 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8194
8195 * cus-edit.el (custom-file): Take an optional no-error variable.
8196 (customize-save-variable): Set the variable, and give a warning if
8197 running under "emacs -q".
8198
8199 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8200
8201 * loadhist.el (unload-feature-special-hooks):
8202 Add `auto-coding-functions', `fill-nobreak-predicate' and
8203 `find-directory-functions' (bug#5327).
8204
8205 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8206
8207 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8208
8209 * cus-edit.el (custom-guess-name-alist): -alist variables should
8210 use the `alist' type (bug#3120). Suggested by Drew Adams.
8211
8212 * printing.el: Add documentation to all the `pr-toggle-' commands.
8213
8214 2011-07-11 Leo Liu <sdl.web@gmail.com>
8215
8216 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8217 backends where it makes sense (bug#2623).
8218
8219 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8220
8221 * dired-x.el (dired-guess-default): Remove duplicate shell command
8222 entries (bug#2028).
8223 (dired-guess-default): Fix grammar in doc string (bug#2028).
8224 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8225
8226 * subr.el (remove-duplicates): New conveniency function.
8227
8228 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8229
8230 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8231 (bug#1526).
8232
8233 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8234
8235 * window.el (display-buffer-normalize-default): Don't invert
8236 meaning of even-window-heights. Reported by Eli Zaretskii
8237 <eliz@gnu.org>.
8238
8239 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8240
8241 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8242
8243 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8244
8245 * window.el (display-buffer): Fix arguments to
8246 display-buffer-reuse-window in last change.
8247
8248 * faces.el (link): Use a less saturated blue on light backgrounds.
8249
8250 * startup.el (fancy-startup-text, fancy-about-text)
8251 (fancy-startup-tail): Use font-lock faces, for background safety.
8252
8253 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8254
8255 * emulation/viper-cmd.el (viper-change-state-to-vi):
8256 Limit triggering of abbrev expansion (Bug#9038).
8257
8258 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8259
8260 * window.el (display-buffer-default-specifiers): Remove.
8261 (display-buffer-macro-specifiers): Remove default specifiers.
8262 (display-buffer-alist): Default to nil.
8263 (display-buffer-reuse-window): New optional argument other-window.
8264 (display-buffer-pop-up-window): Allow splitting internal
8265 windows. Check whether a live window was created.
8266 (display-buffer-other-window-means-other-frame)
8267 (display-buffer-normalize-arguments): Rename to
8268 display-buffer-normalize-argument and rewrite. Set the
8269 other-window specifier.
8270 (display-buffer-normalize-special): New function.
8271 (display-buffer-normalize-options): Rename to
8272 display-buffer-normalize-default and rewrite.
8273 (display-buffer-normalize-options-inhibit): Remove.
8274 (display-buffer-normalize-specifiers): Rewrite.
8275 (display-buffer): Process other-window specifier and call
8276 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8277 more faithfully.
8278 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8279 (display-buffer-alist-set): Don't handle 'unset default values.
8280 (display-buffer-in-window, display-buffer-alist-set):
8281 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8282 <tassilo@member.fsf.org>.
8283
8284 2011-07-09 Leo Liu <sdl.web@gmail.com>
8285
8286 * register.el (insert-register): Restore accidental change on
8287 2011-06-26. (Bug#9028)
8288
8289 2011-07-09 Glenn Morris <rgm@gnu.org>
8290
8291 * subr.el (remq): Handle the empty list. (Bug#9024)
8292
8293 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8294
8295 * mail/sendmail.el (send-mail-function): No longer delay custom
8296 initialization.
8297 * custom.el (custom-initialize-delay): Doc fix.
8298
8299 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8302
8303 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8304
8305 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8306 human-friendly prompt.
8307
8308 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8311 provided by a particular plugin.
8312
8313 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8314
8315 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8316 save customizations (with "emacs -Q"), just set the variable
8317 instead of erroring out.
8318
8319 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8320
8321 2011-07-08 Juri Linkov <juri@jurta.org>
8322
8323 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8324 (archive-zip-update-case): Use 7z if found by `executable-find'.
8325 The order of searching the available programs is the same as in
8326 `archive-zip-extract' (bug#8968).
8327
8328 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8329
8330 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8331 (menu-bar-options-menu): Tweak descriptions.
8332
8333 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8334
8335 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8336 menu items into verb phrases (bug#1421). Also refill to fit under
8337 80 columns.
8338
8339 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8340
8341 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8342 (Info-read-node-name): Doc fix (Bug#1084).
8343
8344 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8345 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8346 (end-of-sexp, beginning-of-sexp)
8347 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8348 (forward-symbol, forward-same-syntax, word-at-point)
8349 (sentence-at-point): Doc fix (Bug#1144).
8350
8351 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8352
8353 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8354 should cover it (bug#1281).
8355
8356 * cus-edit.el (custom-show): Mark as obsolete.
8357
8358 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8359 negotiation fails, then possibly try again with a non-encrypted
8360 connection (bug#9017).
8361
8362 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8363 be used.
8364
8365 2011-07-07 Richard Stallman <rms@gnu.org>
8366
8367 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8368 property, and handle its changed format.
8369 Look for the correct line number.
8370 Use file's line contents (but not past first =) to find
8371 correct line in message.
8372
8373 2011-07-07 Kenichi Handa <handa@m17n.org>
8374
8375 * international/characters.el (build-unicode-category-table):
8376 Delete it.
8377 (unicode-category-table): Set it by unicode-property-table-internal.
8378
8379 * international/mule-cmds.el (char-code-property-alist): Move to
8380 to src/chartab.c.
8381 (get-char-code-property): Call unicode-property-table-internal to
8382 load a file. Call get-unicode-property-internal where necessary.
8383 (put-char-code-property): Call unicode-property-table-internal to
8384 load a file. Call put-unicode-property-internal where necessary.
8385 put-unicode-property-internal where necessary.
8386 (char-code-property-description):
8387 Call unicode-property-table-internal to load a file.
8388
8389 * international/charprop.el:
8390 * international/uni-bidi.el:
8391 * international/uni-category.el:
8392 * international/uni-combining.el:
8393 * international/uni-comment.el:
8394 * international/uni-decimal.el:
8395 * international/uni-decomposition.el:
8396 * international/uni-digit.el:
8397 * international/uni-lowercase.el:
8398 * international/uni-mirrored.el:
8399 * international/uni-name.el:
8400 * international/uni-numeric.el:
8401 * international/uni-old-name.el:
8402 * international/uni-titlecase.el:
8403 * international/uni-uppercase.el: Regenerate.
8404
8405 * loadup.el: Load international/charprop.el before
8406 international/characters.
8407
8408 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8409
8410 * window.el (next-buffer, previous-buffer): Signal an error if
8411 called from a minibuffer window.
8412
8413 * bindings.el: Revert 2011-07-04 change.
8414
8415 2011-07-06 Richard Stallman <rms@gnu.org>
8416
8417 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8418 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8419 Treat markers like ints.
8420 (rmail-mime-entity): Doc fix.
8421
8422 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8423
8424 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8425 defcustom again for backwards compatibility.
8426
8427 * simple.el (shell-command-on-region): Fill.
8428
8429 * dired-aux.el (dired-kill-line): Add a doc string.
8430
8431 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8432 to "\\sw\\|\\s_" (bug#358).
8433
8434 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8435 (dired-unmark-backward): Ditto.
8436 (dired-flag-backup-files): Ditto.
8437
8438 * dired-x.el (dired-mark-sexp): Ditto.
8439
8440 2011-07-06 Richard Stallman <rms@gnu.org>
8441
8442 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8443 (rmail-mime-entity): New arg TRUNCATED.
8444 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8445 New functions.
8446 (rmail-mime-save): Warn if entity is truncated.
8447 (rmail-mime-toggle-hidden): Likewise, for showing.
8448 (rmail-mime-process-multipart): Record when an entity is truncated.
8449
8450 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8451 if ENTITY is a string.
8452
8453 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8454
8455 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8456 of faces when `M-C-x'-ing their definitions (bug#8378).
8457 Also clean up the code slightly.
8458
8459 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8460 because that makes the colors go away.
8461
8462 * mail/sendmail.el (send-mail-function): Change the default to
8463 `sendmail-query-once'.
8464 (sendmail-query-once): Add an autoload cookie.
8465
8466 * net/network-stream.el (network-stream-open-starttls): Try using
8467 a plain connection even if the server offered STARTTLS, and we
8468 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8469 capability. This should make smtpmail.el work in slightly more
8470 configurations.
8471
8472 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8473
8474 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8475 New defun.
8476 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8477
8478 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8479
8480 * progmodes/sql.el: Version 3.0
8481 (sql-product-alist): Add product :completion-object,
8482 :completion-column, and :statement attributes.
8483 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8484 (sql-mode-syntax-table): Mark all punctuation.
8485 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8486 ansi keywords.
8487 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8488 (sql-mode-oracle-font-lock-keywords): Improve.
8489 (sql-oracle-show-reserved-words): New function for development.
8490 (sql-product-font-lock): Simplify for source code buffers.
8491 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8492 New functions.
8493 (sql-highlight-product): Set product specific syntax table.
8494 (sql-mode-map): Add statement movement functions.
8495 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8496 New variable.
8497 (sql-statement-regexp, sql-beginning-of-statement)
8498 (sql-end-of-statement, sql-signum): New functions.
8499 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8500 (sql-show-sqli-buffer): Bug fix.
8501 (sql-interactive-mode): Store connection data as buffer local.
8502 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8503 with sql-interactive-mode.
8504 (sql-save-connection): Save buffer local settings.
8505 (sql-connection-menu-filter): Change menu entry name.
8506 (sql-product-interactive): Bug fix.
8507 (sql-preoutput-hold): New variable.
8508 (sql-interactive-remove-continuation-prompt): Bug fixes.
8509 (sql-debug-redirect): New variable.
8510 (sql-str-literal): New function.
8511 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8512 Redesign.
8513 (sql-oracle-save-settings, sql-oracle-restore-settings)
8514 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8515 (sql-completion-object, sql-completion-column)
8516 (sql-completion-sqlbuf): New variables.
8517 (sql-build-completions-1, sql-build-completions)
8518 (sql-try-completion): New functions.
8519 (sql-read-table-name): Use them.
8520 (sql-contains-names): New buffer local variable.
8521 (sql-list-all, sql-list-table): Use it.
8522 (sql-oracle-completion-types): New variable.
8523 (sql-oracle-completion-object, sql-sqlite-completion-object)
8524 (sql-postgres-completion-object): New functions.
8525
8526 2011-07-06 Glenn Morris <rgm@gnu.org>
8527
8528 * window.el (pop-to-buffer): Doc fix.
8529
8530 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8531
8532 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8533
8534 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8535
8536 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8537
8538 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8539
8540 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8541
8542 * button.el (button): Inherit from link face. Suggested by Dan
8543 Nicolaescu.
8544
8545 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * progmodes/gdb-mi.el: Fit in 80 columns.
8548 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8549 switch-to-buffer.
8550
8551 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8552 if imenu is simply not configured (bug#8941).
8553
8554 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8555
8556 * allout.el (allout-post-undo-hook): New allout outline-change
8557 event hook to signal undo activity.
8558 (allout-post-command-business): Run allout-post-undo-hook if an
8559 undo just occurred.
8560 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8561 * allout-widgets.el (allout-widgets-after-undo-function):
8562 Ensure the integrity of the current item's decoration after it has been
8563 in the vicinity of an undo.
8564 (allout-widgets-mode): Include allout-widgets-after-undo-function
8565 on the new allout-post-undo-hook.
8566
8567 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8570 Let define-derived-mode define it.
8571 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8572 cycles of abbrev-table inheritance (bug#8998).
8573
8574 2011-07-05 Roland Winkler <winkler@gnu.org>
8575
8576 * textmodes/bibtex.el: Add support for biblatex.
8577 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8578 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8579 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8580 (bibtex-entry-alist, bibtex-field-alist): New variables.
8581 (bibtex-entry-field-alist): Obsolete alias for
8582 bibtex-BibTeX-entry-alist.
8583 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8584 (bibtex-set-dialect): New command.
8585 (bibtex-entry-type, bibtex-entry-head)
8586 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8587 Bind via bibtex-set-dialect.
8588 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8589 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8590 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8591 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8592 Define via bibtex-set-dialect.
8593 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8594 Obey bibtex-no-opt-remove-re.
8595 (bibtex-vec-push, bibtex-vec-incr): New functions.
8596 (bibtex-format-entry, bibtex-field-list)
8597 (bibtex-print-help-message, bibtex-validate)
8598 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8599
8600 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * progmodes/compile.el (compilation-goto-locus):
8603 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8604 * bs.el (bs-cycle-next, bs-cycle-previous):
8605 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8606 * bindings.el (mode-line-other-buffer):
8607 * autoinsert.el (auto-insert):
8608 * arc-mode.el (archive-extract):
8609 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8610
8611 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8612
8613 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8614 Fix check of `emacs-lock-unlockable-modes'.
8615 Coerce true values of `emacs-lock--try-unlocking' to t.
8616
8617 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8618
8619 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8620 * emacs-lock.el: New file.
8621
8622 2011-07-05 Julien Danjou <julien@danjou.info>
8623
8624 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8625 than `boundp' to check if face is set.
8626
8627 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8628
8629 * register.el (registerv-make):
8630 * window.el (window-min-height): Fix typos in docstrings.
8631
8632 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8633
8634 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8635 Update doc string.
8636
8637 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8638
8639 * server.el (server-execute): Catch quit and call
8640 `server-return-error' to pass the error back to emacsclient and
8641 close the connection (bug#8942).
8642
8643 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8644
8645 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8646 insecure exception for current topic. Also note that auto-saves
8647 are handled differently.
8648
8649 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8650 State variables for tracking auto-save inhibition situation.
8651
8652 (allout-write-contents-hook-handler): Rename from
8653 'allout-write-file-hook-handler', and describe how it depends on
8654 write-contents-functions sensitivity to non-nil value to prevent
8655 file write.
8656
8657 (allout-auto-save-hook-handler): Remove. auto-save does not check
8658 this in individual buffers, only in the starting buffer, so this
8659 is not the right way for us to inhibit auto-save in a buffer
8660 according to its condition.
8661
8662 (allout-mode): Use new allout-write-contents-hook-handler, and
8663 only with write-contents-functions. Remove auto-save provisions -
8664 they're implemented elsewhere.
8665
8666 (allout-before-change-handler): If undo is in progress, note that
8667 for attention of allout-post-command-business.
8668
8669 (allout-post-command-business): If the command we're following was
8670 an undo, check for change in the status of encrypted items and
8671 adjust auto-save inhibitions accordingly.
8672
8673 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8674 according to whether there are or aren't any plain-text topics
8675 pending encryption.
8676
8677 (allout-inhibit-auto-save-info-for-decryption):
8678 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8679 if there are plain-text topics pending encryption.
8680
8681 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8682 buffer-saved-size and some allout state to not inhibit auto-saves
8683 if there are no longer any plain-text topics pending encryption.
8684
8685 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8686 No longer provide for exemption of the current topic.
8687
8688 2011-07-04 Juri Linkov <juri@jurta.org>
8689
8690 Add 7z operations to delete and save changed members (bug#8968).
8691 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8692 New defcustoms.
8693 (archive-7z-write-file-member): New function.
8694 (archive-7z-summarize): Fix the number of dashes in the
8695 listing output.
8696
8697 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8700 (bug#8958).
8701
8702 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8703
8704 * bindings.el: Ignore next-buffer and previous-buffer in
8705 minibuffer-local-map.
8706
8707 * font-lock.el (font-lock-builtin-face): Change light background
8708 color to dark slate blue (Bug#6693).
8709
8710 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8711
8712 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8713
8714 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8715
8716 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8717 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8718 Add switch-to-buffer.
8719
8720 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8721
8722 * isearch.el (isearch-search-fun-function): Clarify further the
8723 meaning of the function returned.
8724
8725 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8726
8727 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8728
8729 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8730 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8731 Use it.
8732 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8733 `tramp-default-remote-path' does not exist.
8734 (tramp-send-command-and-read): New optional argument NOERROR.
8735 (tramp-open-connection-setup-interactive-shell)
8736 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8737 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8738 (tramp-process-sentinel): Flush also process' connection property.
8739 (tramp-sh-handle-start-file-process): Do not set process
8740 sentinel. It is done now ...
8741 (tramp-maybe-open-connection): ... here. (Bug#8929)
8742
8743 2011-07-04 MON KEY <monkey@sandpframing.com>
8744
8745 * play/animate.el (animate-string): Doc fixes and allow changing
8746 the buffer name (bug#5417).
8747
8748 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8749
8750 * play/animate.el (animation-buffer-name): Rename from *animate*.
8751
8752 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8753
8754 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8755 This is simpler and helps future-proof the code.
8756 (timer-until): Use time-subtract and float-time.
8757 (timer--time-less-p): Use time-less-p.
8758
8759 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8760
8761 * type-break.el (timep): Use the value of `float-time' to avoid a
8762 byte-compiler warning.
8763
8764 * server.el (server-eval-and-print): Return any result, even nil.
8765
8766 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8767
8768 * type-break.el: Accept time formats that the builtins accept.
8769 (timep, type-break-time-difference): Accept any format that
8770 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8771 This is simpler and helps future-proof the code.
8772 (type-break-time-difference): Round rather than ignoring
8773 subseconds components.
8774
8775 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8776
8777 * info.el (Info-apropos-matches): Make non-interactive, since it
8778 doesn't seem to do anything useful as a command (bug#8829).
8779
8780 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8781
8782 * frame.el (frame-background-mode, frame-set-background-mode):
8783 Move from faces.el.
8784 (frame-default-terminal-background): New function.
8785
8786 * custom.el (custom-push-theme): Don't record faces in `changed'
8787 theme; this doesn't work correctly for per-frame face settings.
8788 (disable-theme): Use face-set-after-frame-default to reset faces.
8789 (custom--frame-color-default): New function.
8790
8791 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8792
8793 * dired.el (dired-flagging-regexp): Remove unused variable
8794 (bug#8769).
8795
8796 2011-03-29 Kevin Ryde <user42@zip.com.au>
8797
8798 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8799 `perl-Test2' extend to match possible "fail #N" rep count
8800 (bug#8377).
8801
8802 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8803
8804 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8805 `smtpmail-via-smtp' now returns the error instead of nil.
8806
8807 * isearch.el (isearch-search-fun-function): Clarify the doc string
8808 (bug#8101).
8809
8810 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8811
8812 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8813 unnecessary spaces (bug#8987).
8814
8815 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8816
8817 * net/network-stream.el (open-network-stream): Use the
8818 :end-of-capability command thoughout.
8819
8820 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8821
8822 * net/network-stream.el (open-network-stream): Add the
8823 :end-of-capability command parameter, used by pop3.el.
8824
8825 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8826
8827 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8828
8829 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8830 for list)" (bug#6475).
8831
8832 * files.el (file-expand-wildcards): Ignore non-readable
8833 sub-directories while trying to find matches instead of signaling
8834 an error (bug#6297).
8835
8836 * man.el (Man-reference-regexp): Allow matching possible
8837 word-wrapped references (bug#6289).
8838
8839 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8840 for consistency with the other vc buffers (bug#6197).
8841 (vc-checkin): Ditto.
8842
8843 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8844
8845 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8846
8847 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8848
8849 * custom.el (defcustom): Clarify that :set is only used in the
8850 Customize user interface (bug#6089).
8851
8852 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8853 associated with a file, refuse to run instead of erroring out
8854 (bug#6084).
8855
8856 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8857 the doc string, since it appears that using `fill-column' always
8858 controls the width (bug#7845).
8859
8860 * simple.el (shell-command-on-region): Say where the error output
8861 went if `shell-command-default-error-buffer' is set (bug#6857).
8862
8863 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8864
8865 * allout.el (allout-yank-processing): Adjust cursor position for
8866 backwards-deleted space.
8867
8868 (allout-rebullet-heading): Register changes with
8869 allout-exposure-changed-hook, so the modified topic is properly
8870 decorated.
8871
8872 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8873
8874 * minibuffer.el (completion-in-region): Document PREDICATE
8875 (bug#7136).
8876
8877 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8878 of keyword/argument pairs (bug#6904).
8879
8880 * replace.el (multi-occur):
8881 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8882
8883 2011-07-02 Drew Adams <drew.adams@oracle.com>
8884
8885 * dired.el (dired-mark-if): Make the message about whether it's
8886 marking or unmarking clearer (bug#8523).
8887
8888 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8889
8890 * disp-table.el (display-table-print-array): New function.
8891 (describe-display-table): Use it to print the vectors more pretty
8892 (Bug#8859).
8893
8894 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8895
8896 * window.el (window-state-get-1): Don't assign clone numbers.
8897 Add clone-of item to list of window parameters.
8898 (window-state-put-2): Don't process clone numbers.
8899 (display-buffer-alist): Fix doc-string.
8900
8901 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8902
8903 * subr.el (remq): Don't allocate if it's not needed.
8904 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8905 (keymap--merge-bindings): New functions.
8906 (keymap-canonicalize): Use them to refine the canonicalization.
8907 * minibuffer.el (minibuffer-local-completion-map)
8908 (minibuffer-local-must-match-map): Move initialization from C.
8909 (minibuffer-local-filename-completion-map): Move initialization from C;
8910 don't inherit from anything here.
8911 (minibuffer-local-filename-must-match-map): Make obsolete.
8912 (completing-read-default): Use make-composed-keymap to combine
8913 minibuffer-local-filename-completion-map with either
8914 minibuffer-local-must-match-map or
8915 minibuffer-local-filename-completion-map.
8916
8917 2011-07-01 Glenn Morris <rgm@gnu.org>
8918
8919 * type-break.el (type-break-time-sum): Use dolist.
8920
8921 * textmodes/flyspell.el (flyspell-word-search-backward):
8922 Replace CL function.
8923
8924 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * mouse.el (mouse--strip-first-event): New function.
8927 (function-key-map): Use it to map fringe clicks to normal clicks
8928 by default.
8929
8930 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8931 (vc-bzr-revision-completion-table): Add support for annotate and date.
8932
8933 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8934 inherit from parent.
8935
8936 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8937
8938 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8939 (dired-show-file-type): Doc fixup (bug#8818).
8940
8941 * dired.el (dired-mode): Fix up the doc string as suggested by
8942 Drew Adams (bug#8817).
8943
8944 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8945 cookie, since the manual says that it should be possible to add
8946 this function to `find-file-hook' (bug#8709).
8947
8948 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8949
8950 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8951 here. Noted Ted Zlatanov as the maintainer.
8952 (cfengine-common-settings, cfengine-common-syntax): New functions
8953 to set up common things between `cfengine-mode' and
8954 `cfengine3-mode'.
8955 (cfengine3-mode): New mode.
8956 (cfengine3-defuns cfengine3-defuns-regex
8957 (cfengine3-class-selector-regex cfengine3-category-regex)
8958 (cfengine3-vartypes cfengine3-font-lock-keywords)
8959 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8960 (cfengine3-indent-line): Add from cfengine3.el.
8961
8962 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8963
8964 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8965
8966 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8967
8968 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8969
8970 * window.el (same-window-buffer-names, same-window-regexps)
8971 (same-window-p, special-display-frame-alist)
8972 (special-display-popup-frame, special-display-function)
8973 (special-display-buffer-names, special-display-regexps)
8974 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8975 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8976 (split-window-preferred-function, split-height-threshold)
8977 (split-width-threshold, even-window-heights)
8978 (display-buffer-mark-dedicated, window-splittable-p)
8979 (split-window-sensibly, window-safely-shrinkable-p):
8980 Un-obsolete.
8981 (display-buffer): Don't spread args with function specifier
8982 because special-display-popup-frame won't like it.
8983
8984 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8985
8986 Time-stamp simplifications and fixes.
8987 These improve accuracy slightly, and future-proof the code
8988 against some potential changes to current-time format.
8989
8990 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8991 by using time-since and float-time.
8992
8993 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8994 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8995 + NNN microseconds".
8996
8997 * type-break.el (type-break-time-sum): Rewrite using time-add.
8998
8999 * play/hanoi.el (hanoi-current-time-float): Remove.
9000 All uses replaced by float-time.
9001
9002 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9003 This yields a more-accurate answer.
9004 (rng-time-to-float): Remove; no longer needed.
9005
9006 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9007
9008 * calendar/timeclock.el (timeclock-seconds-to-time):
9009 Defalias to seconds-to-time, since they're the same thing.
9010
9011 * emacs-lisp/elp.el (elp-elapsed-time):
9012 * emacs-lisp/benchmark.el (benchmark-elapse):
9013 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9014
9015 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 * window.el (bury-buffer): Don't iconify the only frame.
9018 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9019 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9020
9021 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9022
9023 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9024 Add mouse-yank-primary.
9025
9026 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9027
9028 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9029
9030 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9033 (find-library-name): Use it to find relative load names when provided
9034 absolute file name (bug#8803).
9035
9036 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9037
9038 * textmodes/flyspell.el (flyspell-word): Consider words that
9039 differ only in case as potential doublons (bug#5687).
9040
9041 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9042 Remove two rather uninteresting debugging-like messages to make
9043 debbugs.el more silent.
9044
9045 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9046 a password-like phrase.
9047
9048 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9049
9050 * progmodes/cc-guess.el: New file.
9051
9052 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9053
9054 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9055 derived from `c-basic-common-init'.
9056
9057 * progmodes/cc-mode.el (top-level): Require cc-guess.
9058 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9059
9060 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9061
9062 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9063
9064 2011-06-30 Alan Mackenzie <acm@muc.de>
9065
9066 * progmodes/cc-engine.el (c-guess-continued-construct):
9067 Correct the handling of template-args-cont, particularly for when font
9068 lock is disabled. Name this case as "CASE G".
9069
9070 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9071
9072 * allout.el (allout-yank-processing): Fix injection of extra space
9073 between bullet and non-whitespace character in first topic when
9074 pasting, ensuring that the actual spacing in the pasted topic
9075 following the bullet char is preserved. This extra space was
9076 causing pasted encrypted topics to get a decrypted status even
9077 when the content was actually still encrypted. Now the decryption
9078 status from before the paste is preserved.
9079
9080 (allout-flag-region): Set all allout overlays so they evaporate
9081 when reduced to zero length (evanescent), to prevent overlay
9082 leakage.
9083
9084 2011-06-30 Glenn Morris <rgm@gnu.org>
9085
9086 * w32-fns.el (w32-charset-info-alist): Declare.
9087
9088 * find-dired.el (find-grep-options): Simplify.
9089
9090 * term/ns-win.el (ns-set-resource): Declare.
9091
9092 * ses.el (row, col): Declare dynamic variables honestly.
9093
9094 * textmodes/reftex-parse.el (index-tags): Declare.
9095
9096 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9097
9098 * cus-edit.el (customize-push-and-save): New function.
9099
9100 * files.el (hack-local-variables-confirm): Use it.
9101
9102 * custom.el (load-theme): New arg NO-CONFIRM.
9103 Use customize-push-and-save (Bug#8720).
9104 (custom-enabled-themes): Doc fix.
9105
9106 * cus-theme.el (customize-create-theme)
9107 (custom-theme-merge-theme): Callers to load-theme changed.
9108
9109 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9110
9111 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9112 short URLs have at least one dot in them (bug #7614).
9113
9114 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9115 nil, because using a pty is apparently too slow (bug #895).
9116
9117 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9118
9119 * mail/sendmail.el (sendmail-query-once): New function.
9120 (sendmail-query-once-function): New variable.
9121
9122 2011-06-29 Glenn Morris <rgm@gnu.org>
9123
9124 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9125
9126 * ses.el (top-level): Require cl when compiling.
9127 (ses-set-localvars): Fix error statement.
9128 Call it at compile time to silence a storm of warnings.
9129
9130 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9131
9132 * window.el (normalize-live-buffer): Rename to
9133 window-normalize-buffer.
9134 (normalize-live-frame): Rename to window-normalize-frame.
9135 (normalize-any-window): Rename to window-normalize-any-window.
9136 (normalize-live-window): Rename to window-normalize-live-window.
9137 (make-window-atom): Rename to window-make-atom.
9138 (window-resize-reset): Rename to window--resize-reset.
9139 (window-resize-reset-1): Rename to window--resize-reset-1.
9140 (resize-mini-window): Rename to window--resize-mini-window.
9141 (resize-subwindows-skip-p): Rename to
9142 window--resize-subwindows-skip-p.
9143 (resize-subwindows-normal): Rename to
9144 window--resize-subwindows-normal.
9145 (resize-subwindows): Rename to window--resize-subwindows.
9146 (resize-other-windows): Rename to window--resize-siblings.
9147 (resize-this-window): Rename to window--resize-this-window.
9148 (resize-root-window): Rename to window--resize-root-window.
9149 (resize-root-window-vertically): Rename to
9150 window--resize-root-window-vertically.
9151 (normalize-buffer-to-display): Rename to
9152 window-normalize-buffer-to-display.
9153 (normalize-buffer-to-switch-to): Rename to
9154 window-normalize-buffer-to-switch-to.
9155 Correspondingly update all callers of the functions listed
9156 above.
9157 (display-buffer-alist, display-buffer-normalize-arguments)
9158 (display-buffer-normalize-options, display-buffer)
9159 (display-buffer-alist-set): Use "function" instead of
9160 "fun-with-args".
9161
9162 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9163
9164 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9165 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9166 debbugs.gnu.org. Mention acknowledgment email.
9167
9168 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9169
9170 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9171 buffer multibyteness, since it shouldn't matter.
9172
9173 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9174
9175 * window.el (display-buffer-in-side-window): Handle dedicated
9176 windows as in display-buffer-reuse-window.
9177 (display-buffer-normalize-alist): Use value of override
9178 specifier.
9179 (display-buffer-normalize-specifiers): Use value of
9180 other-window-means-other-frame specifier.
9181 (display-buffer-alist): Rewrite some texts in widgets.
9182 (display-buffer): Spread arguments when calling function
9183 specified by fun-with-args.
9184
9185 2011-06-28 Deniz Dogan <deniz@dogan.se>
9186
9187 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9188 Unnest `let'.
9189
9190 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9191 selectors (Bug#5732).
9192 (css-proprietary-nmstart-re): Use `regexp-opt'.
9193
9194 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9195
9196 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9197 (eshell-ls-date-format): New defcustom.
9198 (eshell-ls-file): Use it.
9199
9200 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9201
9202 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9203
9204 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9205
9206 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9207 (ange-ftp-make-tmp-name): New arg.
9208 (ange-ftp-file-local-copy): Use it.
9209
9210 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9211
9212 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9213 no-conversion (Bug#8870).
9214
9215 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9216
9217 * window.el (window-right, window-left, window-child)
9218 (window-child-count, window-last-child)
9219 (window-iso-combination-p, walk-window-tree-1)
9220 (window-atom-check-1, window-tree-1, delete-window)
9221 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9222 new naming conventions - window-vchild, window-hchild,
9223 window-next and window-prev are now called window-top-child,
9224 window-left-child, window-next-sibling and window-prev-sibling
9225 respectively.
9226 (resize-window-reset): Rename to window-resize-reset.
9227 (resize-window-reset-1): Rename to window-resize-reset-1.
9228 (resize-window): Rename to window-resize.
9229 (window-min-height, window-min-width)
9230 (resize-mini-window, resize-this-window, resize-root-window)
9231 (resize-root-window-vertically, adjust-window-trailing-edge)
9232 (enlarge-window, shrink-window, maximize-window)
9233 (minimize-window, delete-window, quit-restore-window)
9234 (split-window, balance-windows, balance-windows-area-adjust)
9235 (balance-windows-area, window-state-put-2)
9236 (display-buffer-even-window-sizes, display-buffer-set-height)
9237 (display-buffer-set-width, set-window-text-height)
9238 (fit-window-to-buffer): Rename all "resize-window" prefixed
9239 calls to use the "window-resize" prefix convention.
9240 (display-buffer-alist): Fix symbol for label specifier.
9241 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9242 corresponding specifier.
9243 Reported by Juanma Barranquero <lekktu@gmail.com>.
9244
9245 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9246
9247 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9248 convention.
9249 (ses-call-printer): Does not pass an empty string to formatter when the
9250 cell is empty to keep from barking printer Calc math-format-value.
9251
9252 2011-06-27 Richard Stallman <rms@gnu.org>
9253
9254 * battery.el (battery-mode-line-limit): New variable.
9255 (battery-update): Handle it.
9256
9257 * mail/rmailmm.el (rmail-mime-process-multipart):
9258 Handle truncated messages.
9259
9260 2011-06-27 Glenn Morris <rgm@gnu.org>
9261
9262 * progmodes/flymake.el (flymake-err-line-patterns):
9263 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9264
9265 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9266
9267 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9268 (ses--clean-!, ses--clean-_): New functions.
9269 (ses-range): Add configurability of readout order, and conversion
9270 to Calc vector.
9271
9272 * ses.el (ses-repair-cell-reference-all): New function.
9273 (ses-cell-symbol): Set macro as safe, so that it can be used in
9274 formulas.
9275
9276 * ses.el: Update cycle detection algorithm.
9277 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9278 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9279 (ses-set-localvars): New function.
9280 (ses-make-cell): Add property-list as a cell element.
9281 (ses-cell-property-get-fun, ses-cell-property-get)
9282 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9283 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9284 New functions.
9285 (ses-cell-property-set, ses-cell-property-pop)
9286 (ses-cell-property-get-handle): New macro.
9287 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9288 New aliases, used for code readability.
9289 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9290 cycle detection.
9291 (ses-self-reference-early-detection): New defcustom.
9292 (ses-formula-references): Robustify against self-referring cells.
9293 (ses-mode): Use ses-set-localvars.
9294 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9295 before lauching the update processing.
9296 (ses-initialize-Dijkstra-attempt): New function.
9297 (ses-recalculate-cell): Update for cycle detection based on
9298 Dijkstra algorithm.
9299
9300 * ses.el: Fix commenting and indenting convention.
9301
9302 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9303
9304 * bs.el (bs-cycle-next): Complete last change.
9305
9306 2011-06-27 Drew Adams <drew.adams@oracle.com>
9307
9308 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9309
9310 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9311
9312 * net/network-stream.el (network-stream-open-starttls):
9313 Don't re-get capabilities unless we've reestablished connection.
9314 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9315
9316 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9317 to binary to possibly avoid line encoding issues on Windows (among
9318 other things).
9319
9320 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9321
9322 * net/network-stream.el (open-network-stream): Return an :error
9323 saying what the problem was, if possible.
9324
9325 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9326 server.
9327
9328 * net/network-stream.el (network-stream-open-starttls): If we
9329 wanted to use STARTTLS, and the server offered it, but we weren't
9330 able to because we had no STARTTLS support, then close the connection.
9331 (open-network-stream): Return an :error element, if present.
9332
9333 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9334
9335 * hl-line.el (hl-line-sticky-flag): Doc fix.
9336 (global-hl-line-sticky-flag): New option (Bug#8323).
9337 (global-hl-line-highlight): Obey it.
9338
9339 * vc/vc.el (vc-revert-show-diff): Default to t.
9340
9341 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9342
9343 * allout-widgets.el (allout-widgets-post-command-business):
9344 Stop decorating intermediate isearch matches. They're not being
9345 undecorated when an isearch is continued past, and isearch
9346 automatically collapses them. This leads to "widget leaks", where
9347 decorated items accumulate in collapsed areas. Lines with lots of
9348 hidden widgets can slow down cursor travel, substantially.
9349 Too much complicated machinery would be needed to ensure undecoration,
9350 so we're doing without this nicety.
9351
9352 (allout-widgets-tally-string): Don't try to do a hash-table-count
9353 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9354 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9355 *Messages* when allout-widgets-maintain-tally is t.
9356
9357 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9358
9359 * window.el (display-buffer-normalize-argument): Rename to
9360 display-buffer-normalize-arguments. Handle special meaning of
9361 LABEL argument. Respect special-display-function when popping up
9362 a new frame. Fix code searching for a window showing the buffer
9363 on another frame.
9364 (display-buffer-normalize-specifiers):
9365 Call display-buffer-normalize-arguments.
9366 (display-buffer-in-window): Don't undedicate the window if its
9367 buffer remains the same.
9368 Reported by Drew Adams <drew.adams@oracle.com>.
9369 (display-buffer-alist): Add choice for same-window macro
9370 specfier.
9371 (display-buffer): Mention special meaning of LABEL argument in
9372 doc-string. Fix quoting. Don't pop up a new frame even as
9373 fallback.
9374
9375 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9376
9377 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9378 avoid deleting the current window in some cases (bug#8911).
9379
9380 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9381
9382 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9383 (Bug#8934)
9384
9385 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9386
9387 * net/network-stream.el (network-stream-open-starttls):
9388 Use built-in TLS support if `gnutls-available-p' is true.
9389 (network-stream-open-tls): Ditto.
9390
9391 2011-06-26 Leo Liu <sdl.web@gmail.com>
9392
9393 * register.el (registerv): New struct.
9394 (registerv-make): New function.
9395 (jump-to-register, describe-register-1, insert-register):
9396 Support the jump-func, print-func and insert-func slot of a registerv
9397 struct. (Bug#8415)
9398
9399 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9400
9401 * vc/vc.el (vc-revert-show-diff): New defcustom.
9402 (vc-diff-internal): New arg specifying diff buffer.
9403 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9404 reuse an existing *vc-diff* buffer (Bug#8927).
9405
9406 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9407
9408 2011-06-26 Glenn Morris <rgm@gnu.org>
9409
9410 * progmodes/f90.el (f90-critical-indent): New option.
9411 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9412 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9413 (f90-mode): Doc fix.
9414 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9415 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9416 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9417 (f90-match-end): Handle block, critical.
9418
9419 2011-06-25 Glenn Morris <rgm@gnu.org>
9420
9421 * calendar/diary-lib.el (diary-included-files): Doc fix.
9422 (diary-include-files): New function, extracted from
9423 diary-include-other-diary-files and diary-mark-included-diary-files.
9424 (diary-include-other-diary-files, diary-mark-included-diary-files):
9425 Just call diary-include-files.
9426 (diary-mark-entries): Reset diary-included-files on first call.
9427
9428 * calendar/diary-lib.el (diary-mark-entries)
9429 (diary-mark-included-diary-files):
9430 Visit included diary-files in temp buffers.
9431
9432 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9433 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9434 (f90-start-block-re, f90-imenu-generic-expression)
9435 (f90-looking-at-program-block-start, f90-no-block-limit):
9436 Add support for submodules.
9437
9438 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9439 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9440
9441 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9442
9443 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9444 buffer-file-type before setting its value, to avoid disastrous
9445 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9446
9447 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9448
9449 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9450
9451 * ses.el (ses-unload-function):
9452 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9453
9454 * proced.el (proced-unload-function):
9455 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9456
9457 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9458
9459 * server.el (server-create-window-system-frame): Add parameters arg.
9460 (server-process-filter): Doc fix. Handle frame-parameters.
9461
9462 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9463
9464 Fix bug#8730, bug#8781.
9465
9466 * loadhist.el (unload--set-major-mode): New function.
9467 (unload-feature): Use it.
9468
9469 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9470 (python-unload-function): New function.
9471
9472 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9475
9476 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9477
9478 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9479 the candidates list.
9480
9481 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9482
9483 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9484
9485 2011-06-23 Richard Stallman <rms@gnu.org>
9486
9487 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9488 (rmail-variables): Set next-error-move-function.
9489 (rmail-what-message): Take argument POS.
9490 (rmail-next-error-move): New function.
9491
9492 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9493
9494 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9495 messages for adjacent non-terminals.
9496
9497 2011-06-23 Richard Stallman <rms@gnu.org>
9498
9499 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9500 (rmail-show-message-1): Preserve buffer modified flag.
9501 (rmail-start-mail): Don't specify use of rmail-mail-return;
9502 that's done by mail-bury now.
9503 (rmail-mail-return): Handle arg NEWBUF.
9504
9505 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9506
9507 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9508 SIZE is a number.
9509
9510 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9511
9512 * window.el (get-lru-window, get-mru-window)
9513 (get-largest-window): Never return a minibuffer window.
9514 (display-buffer-pop-up-window): Fix a bug that could lead to
9515 reusing the minibuffer window.
9516 (display-buffer): Pass original specifier argument to
9517 display-buffer-function instead of the normalized one.
9518 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9519
9520 2011-06-22 Leo Liu <sdl.web@gmail.com>
9521
9522 * minibuffer.el (completing-read-function)
9523 (completing-read-default): Move from minibuf.c
9524
9525 2011-06-22 Richard Stallman <rms@gnu.org>
9526
9527 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9528 to Rmail even if not started by a special Rmail command.
9529
9530 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9531 Copy the buffer currently showing just one message.
9532
9533 2011-06-22 Roland Winkler <winkler@gnu.org>
9534
9535 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9536 (bibtex-clean-entry): First delete the old key so that a
9537 customized algorithm for generating the new key does not get
9538 confused by the old key.
9539 (bibtex-url): Obey regexp of first step.
9540 (bibtex-search-entries): Do not use add-to-list with local
9541 list-var.
9542
9543 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9544
9545 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9546 stored a user name, then query for the password first, instead of
9547 waiting for SMTP to give an error message and the trying again.
9548
9549 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9550
9551 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9552 BUFFER in call-process.
9553
9554 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9555
9556 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9557 QUIT twice.
9558 (smtpmail-try-auth-methods): Require user name and password from
9559 auth-source.
9560
9561 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9562
9563 * window.el (display-buffer-default-specifiers)
9564 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9565 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9566 (split-window): Normalize SIDE argument (Bug#8916).
9567
9568 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9569 (special-display-frame-alist, special-display-popup-frame):
9570 Remove duplicate declarations. These are now in window.el.
9571
9572 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9573
9574 * mail/smtpmail.el (smtpmail-via-smtp):
9575 Set :use-starttls-if-possible so that we always use STARTTLS if the
9576 server supports it. SMTP servers that support STARTTLS commonly
9577 require it.
9578
9579 * net/network-stream.el (network-stream-open-starttls): Support
9580 upgrading to STARTTLS always, even if we don't have built-in support.
9581 (open-network-stream): Add the :always-query-capabilities keyword.
9582
9583 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9584 upgrades with `open-network-stream', and rely solely on
9585 auth-source for all credentials. Big changes throughout the file,
9586 but in particular:
9587 (smtpmail-auth-credentials): Remove.
9588 (smtpmail-starttls-credentials): Remove.
9589 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9590 MAIL FROM, too.
9591
9592 * net/network-stream.el (network-stream-open-starttls):
9593 Provide support for client certificates both for external and built-in
9594 STARTTLS.
9595 (auth-source): Require.
9596 (open-network-stream): Document the :client-certificate keyword.
9597 (network-stream-certificate): Change cert-cert to cert and
9598 cert-key to key.
9599
9600 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9601
9602 * net/tramp-cache.el (top): Don't load the persistency file when
9603 "emacs -Q" has been called.
9604
9605 2011-06-21 Tim Harper <timcharper@gmail.com>
9606
9607 * term/ns-win.el (ns-initialize-window-system):
9608 Set application-specific `ApplePressAndHoldEnabled' system
9609 resource to NO as it is not yet supported by the NS port.
9610
9611 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9612
9613 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9614 (list-dynamic-libraries): ...not here.
9615
9616 2011-06-21 Leo Liu <sdl.web@gmail.com>
9617
9618 * subr.el (sha1): Implement sha1 using secure-hash.
9619
9620 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9621
9622 * window.el (display-buffer-alist): In default value do not
9623 enforce searching a window on any but the selected frame.
9624 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9625 (display-buffer-select-window): Remove function.
9626 (display-buffer-in-window): When a window on another frame gets
9627 reused, do not select it any more but just raise its frame if
9628 necessary (Bug#8851) and (Bug#8856).
9629 (display-buffer-normalize-options): Handle pop-up-frames related
9630 options more faithfully.
9631 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9632 window if it is on another frame.
9633 (display-buffer-alist, display-buffer-default-specifiers):
9634 Don't make new frame unsplittable by default.
9635 (display-buffer-normalize-argument): Fix doc-string typo and use
9636 'same-frame-other-window instead of 'other-window when associating
9637 with display-buffer-macro-specifiers.
9638
9639 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9640
9641 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9642 New functions.
9643 (5x5-mode-map, 5x5-mode-menu): Bind them.
9644 (5x5-draw-grid): Tweak the solver's rendering.
9645
9646 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9649 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9650
9651 2011-06-21 Drew Adams <drew.adams@oracle.com>
9652
9653 * menu-bar.el: Use function variable instead of switch-to-buffer.
9654 (menu-bar-select-buffer-function): New variable.
9655 (menu-bar-update-buffers): Use it (bug#8876).
9656
9657 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9658
9659 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9660 variable's status.
9661
9662 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9663
9664 * x-dnd.el (x-dnd-version-from-flags)
9665 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9666 and long as number (Bug#8899).
9667 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9668
9669 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9670
9671 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9672 (completion-try-completion, completion-all-completions): Compute the
9673 metadata argument if it's missing; make it optional (bug#8795).
9674
9675 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9676 (widget-complete): Use new :completion-function property.
9677 (widget-completions-at-point): New function.
9678 (default): Use :completion-function instead of :complete.
9679 (widget-default-completions): Rename from widget-default-complete;
9680 Rewrite.
9681 (widget-string-complete, widget-file-complete, widget-color-complete):
9682 Remove functions.
9683 (file, symbol, function, variable, coding-system, color):
9684 * international/mule-cmds.el (default-input-method, charset)
9685 (language-info-custom-alist):
9686 * cus-edit.el (face): Use new property :completions.
9687
9688 * progmodes/pascal.el (pascal-completions-at-point): New function.
9689 (pascal-mode): Use it.
9690 (pascal-mode-map): Use completion-at-point.
9691 (pascal-toggle-completions): Make obsolete.
9692 (pascal-complete-word, pascal-show-completions):
9693 * progmodes/octave-mod.el (octave-complete-symbol):
9694 Redefine as obsolete alias.
9695 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9696 Signal absence of completion info for old Octave,
9697 (inferior-octave-complete): Redefine as obsolete alias.
9698 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9699 (meta-completions-at-point): Rename from meta-complete-symbol and
9700 adapt it for use on completion-at-point-functions.
9701 (meta-common-mode): Use it.
9702 (meta-looking-at-backward, meta-match-buffer): Remove.
9703 (meta-complete-symbol): Redefine as obsolete alias.
9704 (meta-common-mode-map): Use completion-at-point.
9705 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9706 (makefile-mode-map): Use completion-at-point.
9707 (makefile-completions-at-point): Rename from makefile-complete and
9708 adapt it for use on completion-at-point-functions.
9709 (makefile-mode): Use it.
9710 (makefile-complete): Redefine as obsolete alias.
9711
9712 2011-06-20 Deniz Dogan <deniz@dogan.se>
9713
9714 * net/rcirc.el: Delete trailing whitespaces once and for all.
9715
9716 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9717
9718 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9719
9720 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9721
9722 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9723
9724 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9725
9726 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9727
9728 * window.el (display-buffer-other-window-means-other-frame):
9729 Call display-buffer-normalize-alist.
9730 (display-buffer-normalize-specifiers-1): Rename to
9731 display-buffer-normalize-argument. New argument other-frame.
9732 Rewrite.
9733 (display-buffer-normalize-specifiers-2): Rename to
9734 display-buffer-normalize-options.
9735 (display-buffer-normalize-alist-1): New function.
9736 (display-buffer-normalize-specifiers-3): Rename to
9737 display-buffer-normalize-alist.
9738 Call display-buffer-normalize-alist-1.
9739 (display-buffer-normalize-options-inhibit): New variable.
9740 (display-buffer-normalize-specifiers): Rewrite calling
9741 display-buffer-normalize-alist,
9742 display-buffer-normalize-argument, and
9743 display-buffer-normalize-options. Don't call the latter if
9744 display-buffer-normalize-options-inhibit is non-nil.
9745 (frame-auto-delete): New option.
9746 (window-deletable-p): Use frame-auto-delete.
9747 (window-list-no-nils, window-state-ignored-parameters)
9748 (window-state-get-1, window-state-get, window-state-put-list)
9749 (window-state-put-1, window-state-put-2, window-state-put):
9750 New functions.
9751 (display-buffer-normalize-options): Move special-display-p group
9752 after pop-up-frame group (Bug#8851) and (Bug#8856).
9753
9754 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9755
9756 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9757 groups (Bug#8776).
9758 (rx-submatch-n): New function.
9759 (rx): Document it.
9760
9761 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9762 (Bug#8768).
9763
9764 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9765
9766 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9767
9768 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9769 anytime existing face settings are present (Bug#8889).
9770
9771 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9772 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9773 Remove unused argument.
9774
9775 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9776
9777 * window.el (display-buffer-default-specifiers):
9778 Remove pop-up-frame. Add pop-up-window-min-height,
9779 pop-up-window-min-width, and another reuse-window specifier
9780 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9781 (display-buffer-normalize-specifiers-2):
9782 Handle split-height-threshold and split-width-threshold also when
9783 pop-up-windows is unset. Add a reuse-window specifier for the
9784 case popping up a new window fails.
9785 (special-display-popup-frame): Remove double quoting.
9786 (display-buffer-normalize-specifiers-1): Fix thinko.
9787
9788 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9791 according to comint-completion-addsuffix.
9792
9793 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9794 (pcomplete-suffix-list): Mark as obsolete.
9795 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9796 pcomplete-seen in the closure.
9797 (pcomplete-comint-setup): Setup completion-at-point as well.
9798 (pcomplete--entries): New function.
9799 (pcomplete--env-regexp): New var.
9800 (pcomplete-entries): Rewrite to work with partial-completion and
9801 without relying on pcomplete-suffix-list.
9802 (pcomplete-pare-list): Remove, unused.
9803
9804 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9805
9806 * window.el (display-buffer-alist): Set pop-up-window-min-height
9807 and pop-up-window-min-width in default value. Reported by
9808 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9809 other-window-means-other-frame.
9810 (display-buffer-macro-specifiers): Comment out entry for
9811 other-window specifier.
9812 (display-buffer-other-window-means-other-frame): New function.
9813 (display-buffer-normalize-specifiers-1): New arguments
9814 buffer-name and label. Treat other-window case specially.
9815 (display-buffer-normalize-specifiers-2): Treat other-window case
9816 specially.
9817 (display-buffer-normalize-specifiers-3): New function.
9818 (display-buffer-normalize-specifiers):
9819 Call display-buffer-normalize-specifiers-3.
9820
9821 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9822
9823 * window.el (same-window-p): Fix two typos introduced when
9824 adding with-no-warnings.
9825 (display-buffer-normalize-specifiers-1): Don't check
9826 pop-up-frames for 'unset initialization.
9827 (display-buffer-normalize-specifiers-2): Major rewrite using
9828 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9829 (pop-up-frames, display-buffer-reuse-frames)
9830 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9831 Suggested by David Engster <deng@randomsample.de>.
9832 (even-window-heights): Initialize to 'unset.
9833 (display-buffer-alist-set): Handle new 'unset initializations.
9834 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9835 other window case.
9836
9837 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9838
9839 * window.el (display-buffer-normalize-specifiers-1):
9840 Respect current value of pop-up-frames for most reasonable values of
9841 second argument of display-buffer (Bug#8865).
9842 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9843 (switch-to-buffer-other-window-same-frame)
9844 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9845 Adams (Bug#8875).
9846 (display-buffer): Don't check noninteractive when calling
9847 display-buffer-pop-up-frame.
9848 (display-buffer-pop-up-frame): Never pop up a frame in
9849 noninteractive mode (Bug#8857).
9850 (enlarge-window, shrink-window): Don't report an error when the
9851 window can't be resized as requested (Bug#8862).
9852
9853 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9854
9855 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9856
9857 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9858
9859 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9860
9861 2011-06-15 Alan Mackenzie <acm@muc.de>
9862
9863 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9864 for declarators, disable knr checking to speed up for normal files.
9865 2: Refactor, replacing a sequence of nested if forms by a cond form.
9866
9867 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9868
9869 * net/network-stream.el (open-network-stream): Add the keyword
9870 :always-query-capabilities for the case where you want to force a
9871 `plain' network connection, but the protocol still requires the
9872 capabilitiy command (i.e., SMTP and EHLO).
9873
9874 * subr.el (process-live-p): Rename from `process-alive-p' for
9875 consistency with other `-live-p' functions.
9876
9877 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9878
9879 * window.el (same-window-buffer-names, same-window-regexps)
9880 (special-display-frame-alist, special-display-popup-frame)
9881 (special-display-function, special-display-buffer-names)
9882 (special-display-regexps, pop-up-frame-alist)
9883 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9884 (pop-up-windows, split-window-preferred-function)
9885 (split-height-threshold, split-width-threshold, even-window-heights)
9886 (display-buffer-mark-dedicated): Don't encourage the use of
9887 display-buffer-alist from Elisp code.
9888
9889 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9890
9891 * progmodes/python.el (python-mode): Derive from prog-mode.
9892 * progmodes/ps-mode.el (ps-mode):
9893 * progmodes/mixal-mode.el (mixal-mode):
9894 * progmodes/cfengine.el (cfengine-mode):
9895 * progmodes/ld-script.el (ld-script-mode): Likewise.
9896
9897 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9898
9899 * window.el (display-buffer-alist): Trim default value to avoid
9900 popping up a new frame (Bug#8857) or reusing an arbitrary window
9901 on another frame.
9902 (display-buffer): Do not fall back on popping up a new frame in
9903 batch mode (Bug#8857).
9904
9905 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9906
9907 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9908 (custom-theme-summary): New function.
9909 (customize-themes): Use it.
9910
9911 2011-06-13 Glenn Morris <rgm@gnu.org>
9912
9913 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9914
9915 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9916
9917 * help.el (help-window): Remove variable.
9918 (help-window-point-marker, temp-buffer-max-height)
9919 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9920 (help-print-return-message): Don't set help-window.
9921 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9922 (help-window-setup-finish): Remove.
9923 (help-window-display-message, help-window-setup)
9924 (with-help-window): Major rewrite based on new
9925 display-buffer-window variable.
9926
9927 * help-mode.el (help-mode-finish): Remove help-window related
9928 code.
9929
9930 * view.el (view-exits-all-viewing-windows): Remove reference to
9931 view-return-to-alist in doc-string.
9932 (view-return-to-alist): Make obsolete.
9933 (view-buffer): Call pop-to-buffer-same-window and remove
9934 undo-window code.
9935 (view-buffer-other-window): Call pop-to-buffer-other-window and
9936 simplify code. Ignore second argument.
9937 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9938 simplify code. Ignore second argument.
9939 (view-return-to-alist-update): Make obsolete.
9940 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9941 Rewrite using quit-restore window parameters.
9942 (view-mode-exit): Rename second argument to EXIT-ONLY.
9943 Rewrite using quit-restore-window.
9944 (View-exit, View-exit-and-edit, View-leave, View-quit)
9945 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9946 appropriate arguments.
9947 (view-end-message): Use quit-restore window parameter.
9948
9949 * window.el (display-buffer-function): Rewrite doc-string.
9950 (display-buffer-window, display-buffer-alist): New variables.
9951 (display-buffer-split-specifiers)
9952 (display-buffer-side-specifiers)
9953 (display-buffer-macro-specifiers): New constants.
9954 (display-buffer-even-window-sizes, display-buffer-set-height)
9955 (display-buffer-set-width, display-buffer-select-window)
9956 (display-buffer-in-window, display-buffer-reuse-window)
9957 (display-buffer-split-window-1, display-buffer-split-window)
9958 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9959 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9960 (display-buffer-in-side-window, normalize-buffer-to-display)
9961 (display-buffer-normalize-specifiers-1)
9962 (display-buffer-normalize-specifiers-2)
9963 (display-buffer-normalize-specifiers, display-buffer-frame):
9964 New functions.
9965 (display-buffer): Major rewrite.
9966 (display-buffer-other-window, display-buffer-other-frame)
9967 (pop-to-buffer, switch-to-buffer-other-window)
9968 (switch-to-buffer-other-frame): Rewrite.
9969 (display-buffer-same-window, display-buffer-same-frame)
9970 (display-buffer-same-frame-other-window)
9971 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9972 (pop-to-buffer-other-window)
9973 (pop-to-buffer-same-frame-other-window)
9974 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9975 (switch-to-buffer-other-window-same-frame): New functions.
9976 (same-window-p, special-display-p): Rewrite disabling warnings.
9977 Make obsolete.
9978 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9979 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9980 Make obsolete
9981 (same-window-buffer-names, same-window-regexps)
9982 (special-display-frame-alist, special-display-popup-frame)
9983 (special-display-function, special-display-buffer-names)
9984 (special-display-regexps, pop-up-frame-alist)
9985 (pop-up-frame-function, split-window-preferred-function)
9986 (split-height-threshold, split-width-threshold)
9987 (even-window-heights): Make obsolete.
9988
9989 2011-06-12 Glenn Morris <rgm@gnu.org>
9990
9991 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9992 Misc simplifications.
9993
9994 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9995
9996 * window.el (window-safely-shrinkable-p): Restore function which
9997 was inadvertently removed in change from 2011-06-11. Declare as
9998 obsolete.
9999
10000 * calendar/calendar.el (calendar-generate-window):
10001 Use window-iso-combined-p instead of combination of one-window-p and
10002 window-safely-shrinkable-p.
10003
10004 2011-06-12 Glenn Morris <rgm@gnu.org>
10005
10006 * progmodes/fortran.el (fortran-mode-syntax-table):
10007 * progmodes/f90.el (f90-mode-syntax-table):
10008 Set % to punctuation. (Bug#8820)
10009 (f90-find-tag-default): Remove, no longer needed.
10010
10011 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10012
10013 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10014
10015 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10016
10017 * image.el (image-animated-p): Return animation delay in seconds.
10018 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10019 (image-animate-timeout): Remove DELAY argument. Don't assume
10020 every subimage has the same delay; get it from image-animated-p.
10021 (image-animate): Caller changed.
10022
10023 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10024
10025 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10026 to ignored backtrace functions.
10027
10028 2011-06-11 Glenn Morris <rgm@gnu.org>
10029
10030 * calendar/appt.el (appt-disp-window-function): Doc fix.
10031 (appt-check): Handle overlapping appointments. (Bug#8337)
10032
10033 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10034
10035 * window.el (window-tree-1, window-tree): New functions, moving
10036 the latter to window.el.
10037 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10038 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10039 (bw-refresh-edges): Remove.
10040 (balance-windows-1, balance-windows-2): New functions.
10041 (balance-windows): Rewrite in terms of window tree functions,
10042 balance-windows-1 and balance-windows-2.
10043 (bw-adjust-window): Remove.
10044 (balance-windows-area-adjust): New function with functionality of
10045 bw-adjust-window but using resize-window.
10046 (set-window-text-height): Rewrite doc-string.
10047 Use normalize-live-window and resize-window.
10048 (enlarge-window-horizontally, shrink-window-horizontally):
10049 Rename argument to DELTA.
10050 (window-buffer-height): New function.
10051 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10052 Rewrite using new window resize routines.
10053 (kill-buffer-and-window, mouse-autoselect-window-select):
10054 Use ignore-errors instead of condition-case.
10055 (quit-window): Call delete-frame instead of delete-windows-on
10056 for the only buffer on frame.
10057
10058 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10059
10060 * loadup.el (top-level): Load window before files for the sake
10061 of replace-buffer-in-windows.
10062
10063 * files.el (read-buffer-to-switch)
10064 (switch-to-buffer-other-window)
10065 (switch-to-buffer-other-frame, display-buffer-other-frame):
10066 Move to window.el.
10067
10068 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10069 (previous-buffer): Move to window.el.
10070
10071 * bindings.el (unbury-buffer): Move to window.el.
10072
10073 * window.el (delete-other-windows-vertically): Move after
10074 definition of delete-other-windows.
10075 (other-window, delete-windows-on, replace-buffer-in-windows):
10076 Move here from window.c.
10077 (record-window-buffer, unrecord-window-buffer)
10078 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10079 (switch-to-next-buffer): New functions.
10080 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10081 from simple.el. Call switch-to-next-buffer.
10082 (previous-buffer): Move here from simple.el.
10083 Call switch-to-prev-buffer.
10084 (bury-buffer): Move here from buffer.c. Switch to previous
10085 buffer when window cannot be deleted.
10086 (unbury-buffer): Move here from bindings.el.
10087 (ctl-x-map): Move binding for other-window from window.c to
10088 here.
10089 (read-buffer-to-switch, switch-to-buffer-other-window)
10090 (switch-to-buffer-other-frame): Move here from files.el.
10091 (normalize-buffer-to-switch-to): New functions.
10092 (switch-to-buffer): Move here from buffer.c.
10093 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10094
10095 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10096
10097 * window.el (window-min-height, window-min-width): Move here
10098 from window.c. Add defcustoms and rewrite doc-strings.
10099 (resize-mini-window, resize-window): New functions.
10100 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10101 Move here from window.c.
10102 (maximize-window, minimize-window): New functions.
10103 (delete-window, delete-other-windows, split-window): Move here
10104 from window.c.
10105 (window-split-min-size): New function.
10106 (split-window-keep-point): Mention split-window-above-each-other
10107 instead of split-window-vertically.
10108 (split-window-above-each-other, split-window-vertically):
10109 Rename split-window-vertically to split-window-above-each-other
10110 and provide defalias for old definition.
10111 (split-window-side-by-side, split-window-horizontally):
10112 Rename split-window-horizontally to split-window-side-by-side
10113 and provide defalias for the old definition.
10114 (ctl-x-map): Move bindings for delete-window,
10115 delete-other-windows and enlarge-window here from window.c.
10116 Replace bindings for split-window-vertically and
10117 split-window-horizontally by bindings for
10118 split-window-above-each-other and split-window-side-by-side.
10119
10120 * cus-start.el (all): Remove entries for window-min-height and
10121 window-min-width. Add entries for window-splits and
10122 window-nest.
10123
10124 2011-06-09 Glenn Morris <rgm@gnu.org>
10125
10126 * calendar/appt.el (appt-mode-line): New function.
10127 (appt-check, appt-disp-window): Use it.
10128
10129 * files.el (hack-one-local-variable-eval-safep):
10130 Allow minor-modes with explicit +/-1 arguments.
10131
10132 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10133
10134 * term/xterm.el (xterm): Add defgroup.
10135 (xterm-extra-capabilities): Add defcustom to supply known xterm
10136 capabilities, skip querying them, or query them (default).
10137 (terminal-init-xterm): Use it.
10138 (terminal-init-xterm-modify-other-keys): New function to set up
10139 modifyOtherKeys support to simplify `terminal-init-xterm'.
10140
10141 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10142
10143 * window.el (resize-window-reset, resize-window-reset-1)
10144 (resize-subwindows-skip-p, resize-subwindows-normal)
10145 (resize-subwindows, resize-other-windows, resize-this-window)
10146 (resize-root-window, resize-root-window-vertically)
10147 (window-deletable-p, window-or-subwindow-p)
10148 (frame-root-window-p): New functions.
10149
10150 2011-06-09 Glenn Morris <rgm@gnu.org>
10151
10152 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10153 (ange-ftp-get-files): Use it.
10154
10155 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10156
10157 * mail/sendmail.el (mail-recover-1, mail-recover):
10158 * files.el (recover-file, recover-session):
10159 Handle dired-listing-switches not being just a single short option.
10160
10161 2011-06-09 Glenn Morris <rgm@gnu.org>
10162
10163 * calendar/appt.el (appt-display-message, appt-disp-window):
10164 Handle lists of appointments.
10165
10166 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10167
10168 * window.el (one-window-p): Move down in code.
10169 Rewrite doc-string.
10170 (window-current-scroll-bars): Rewrite doc-string.
10171 Normalize live window argument.
10172 (walk-windows, get-window-with-predicate, count-windows):
10173 Rewrite doc-string. Use window-list-1.
10174 (window-in-direction-2, window-in-direction, get-mru-window):
10175 New functions.
10176
10177 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10178
10179 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10180 Doc fix (Bug#8713).
10181
10182 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10183
10184 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10185
10186 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10187
10188 * loadhist.el (unload-feature-special-hooks):
10189 Add `comint-output-filter-functions'.
10190
10191 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10192
10193 * calendar/appt.el (appt-check): Move some initializations into the let.
10194
10195 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10196
10197 * window.el (window-height): Defalias to window-total-height.
10198 (window-width): Defalias to window-body-width.
10199
10200 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10201
10202 * image-mode.el (image-toggle-animation): New command.
10203 (image-mode-map): Bind it to RET.
10204 (image-mode): Update message.
10205 (image-toggle-display-image): Avoid a spurious cache flush.
10206 (image-transform-rotation): Doc fix.
10207 (image-transform-properties): Return quickly in the normal case.
10208 (image-animate-loop): Rename from image-animate-max-time.
10209
10210 * image.el (image-animate-max-time): Move to image-mode.el.
10211 (create-animated-image): Remove unnecessary function.
10212 (image-animate): Rename from image-animate-start. New arg.
10213 (image-animate-stop): Remove; just use image-animate-timer.
10214 (image-animate-timer): Use car-safe.
10215 (image-animate-timeout): Rename argument.
10216
10217 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10218
10219 * window.el (get-lru-window, get-largest-window): Move here from
10220 window.c. Rename first argument to ALL-FRAMES.
10221 Rephrase doc-strings.
10222 (get-buffer-window-list): Rewrite using window-list-1.
10223 Rephrase doc-string.
10224 (window-safe-min-height, window-safe-min-width): New constants.
10225 (window-size-ignore, window-min-size, window-min-size-1)
10226 (window-sizable, window-sizable-p, window-size-fixed-1)
10227 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10228 (window-max-delta-1, window-max-delta, window-resizable)
10229 (window-resizable-p, window-total-height, window-total-width)
10230 (window-body-width): New functions.
10231 (window-full-height-p, window-full-width-p): Rewrite using
10232 window-total-size.
10233 (window-body-height): Rewrite using window-body-size.
10234
10235 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10236
10237 * window.el (window-right, window-left, window-child)
10238 (window-child-count, window-last-child, window-any-p)
10239 (normalize-live-buffer, normalize-live-frame)
10240 (normalize-any-window, normalize-live-window)
10241 (window-iso-combination-p, window-iso-combined-p)
10242 (window-iso-combinations)
10243 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10244 (windows-with-parameter, window-with-parameter)
10245 (window-atom-root, make-window-atom, window-atom-check-1)
10246 (window-atom-check, window-side-check, window-check):
10247 New functions.
10248 (ignore-window-parameters, window-sides, window-sides-vertical)
10249 (window-sides-slots): New variables.
10250 (window-size-fixed): Move down in code. Minor doc-string fix.
10251
10252 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10253
10254 * comint.el (comint-dynamic-complete-as-filename)
10255 (comint-dynamic-complete-filename): Correctly call
10256 completion-in-region.
10257
10258 2011-06-05 Deniz Dogan <deniz@dogan.se>
10259
10260 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10261 in last change.
10262
10263 2011-06-05 Deniz Dogan <deniz@dogan.se>
10264
10265 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10266 (rcirc): Use it to prompt for encryption.
10267
10268 2011-06-05 Roland Winkler <winkler@gnu.org>
10269
10270 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10271 (bibtex-search-entries): New command bound to C-c C-a.
10272 (bibtex-display-entries): New function.
10273
10274 2011-06-05 Roland Winkler <winkler@gnu.org>
10275
10276 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10277 (bibtex-insert-kill): After yanking insert newline if necessary.
10278 (bibtex-initialize): Call bibtex-string-files-init only once.
10279 (bibtex-mode): Do not call easy-menu-add.
10280 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10281 (bibtex-yank): Set arg properly if nil.
10282
10283 2011-06-05 Roland Winkler <winkler@gnu.org>
10284
10285 * textmodes/bibtex.el (bibtex-search-entry-globally):
10286 New variable.
10287 (bibtex-search-entry): Use it.
10288
10289 2011-06-05 Roland Winkler <winkler@gnu.org>
10290
10291 * textmodes/bibtex.el (bibtex-entry-format): New option
10292 sort-fields.
10293 (bibtex-format-entry, bibtex-reformat): Honor this option.
10294 (bibtex-parse-entry): Return fields in proper order.
10295
10296 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10297
10298 * doc-view.el (doc-view-remove-if): Move computation of result out
10299 of `dolist' to silence misleading lexical-binding warning.
10300
10301 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10302
10303 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10304 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10305
10306 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10307
10308 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10309 "SunOS 5.10".
10310
10311 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10312
10313 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10314 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10315 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10316 (tramp-parse-putty):
10317 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10318 (tramp-completion-function-alist-ssh)
10319 (tramp-completion-function-alist-telnet)
10320 (tramp-completion-function-alist-su)
10321 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10322 cookie.
10323
10324 * net/tramp-ftp.el:
10325 * net/tramp-sh.el:
10326 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10327 load "tramp.el" `tramp-set-completion-function'.
10328
10329 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10330
10331 * shell.el: Require and use pcomplete.
10332 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10333 (shell-completion-vars): Set pcomplete-default-completion-function.
10334
10335 2011-06-04 Deniz Dogan <deniz@dogan.se>
10336
10337 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10338 `memq' (Bug#8799).
10339
10340 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10343
10344 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10345
10346 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10347 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10348 * vc/log-view.el (log-view-beginning-of-defun):
10349 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10350 (smerge-refine-forward, smerge-refine-chopup-region):
10351 Silence warning for unused `dotimes' counter variables.
10352
10353 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * net/tramp.el (tramp-with-progress-reporter): Rename from
10356 with-progress-reporter. Use `declare'.
10357 * net/tramp-smb.el:
10358 * net/tramp-sh.el:
10359 * net/tramp-gvfs.el: Update all uses.
10360
10361 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10362
10363 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10364 buffer isn't killed before making it current.
10365
10366 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10367
10368 Silence various byte-compiler warnings.
10369 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10370 `access-type' and new obsolescence format.
10371 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10372 new format.
10373 (byte-compile-check-variable): New `access-type' argument.
10374 Only warn if the access-type is obsolete.
10375 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10376 (byte-compile-variable-set): Adjust callers.
10377 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10378 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10379 setting it as obsolete.
10380 * simple.el (minibuffer-completing-symbol):
10381 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10382 access as obsolete.
10383 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10384 obsolete yet.
10385 * international/quail.el (quail-mouse-choose-completion): Remove unused
10386 code referring to obsolete var.
10387 (quail-choose-completion-string): Remove.
10388 * server.el (server-clients-with, server-kill-buffer-query-function)
10389 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10390 * proced.el (proced-send-signal):
10391 * emacs-lisp/lisp.el (lisp-complete-symbol):
10392 Replace completion-annotate-function with completion-extra-properties.
10393
10394 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * simple.el (goto-line): Use read-number.
10397 (overriding-map-is-bound): Remove.
10398 (saved-overriding-map): Change default.
10399 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10400 Take the map as argument.
10401 (universal-argument, negative-argument, digit-argument): Use it.
10402 (restore-overriding-map): Adjust.
10403 (do-auto-fill): Use fill-forward-paragraph.
10404 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10405
10406 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10407 (minibuffer-inactive-mode): New major mode.
10408 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10409 the *Messages* buffer" hack.
10410 (mouse-popup-menubar): Don't burp if the event is a normal key.
10411
10412 Miscellaneous tweaks.
10413 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10414 lexical scoping as in subr.el's dolist and dotimes.
10415 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10416 Silence compiler warning.
10417 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10418 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10419 * international/ccl.el (ccl-compile): Trivial simplification.
10420 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10421 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10422 `printflag' argument.
10423 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10424 Purecopy the whole obsolescence data.
10425
10426 2011-06-01 Leo Liu <sdl.web@gmail.com>
10427
10428 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10429 improve doc-string as suggested by Marco Pessotto
10430 <melmothx@gmail.com>.
10431 (rcirc-print): Fix last change.
10432
10433 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10434
10435 * minibuffer.el (complete-with-action): Return nil for the metadata and
10436 boundaries of non-functional tables.
10437 (completion-table-dynamic): Return nil for the metadata.
10438 (completion-table-with-terminator): Add default case, using
10439 complete-with-action.
10440 (completion--metadata): New function.
10441 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10442 to try and avoid pathological performance problems.
10443 (completion--embedded-envvar-table): Return `category' metadata.
10444
10445 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10446
10447 * subr.el (process-alive-p): New tiny convenience function.
10448
10449 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10450
10451 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10452 content but also its previous major mode.
10453
10454 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10455
10456 * emacs-lisp/debug.el (debug): Restore the previous content of the
10457 *Backtrace* buffer when we exit with C-M-c.
10458
10459 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10460
10461 * minibuffer.el: Add metadata method to completion tables.
10462 (completion-category-overrides): New defcustom.
10463 (completion-metadata, completion--field-metadata)
10464 (completion-metadata-get, completion--styles)
10465 (completion--cycle-threshold): New functions.
10466 (completion-try-completion, completion-all-completions):
10467 Add `metadata' argument to choose completion-styles.
10468 (completion--do-completion): Use metadata to choose cycling.
10469 (completion-all-sorted-completions): Use metadata for sorting.
10470 Remove :completion-cycle-penalty which is not needed any more.
10471 (completion--try-word-completion): Add `metadata' argument.
10472 (minibuffer-completion-help): Check metadata for annotation function
10473 and sorting.
10474 (completion-file-name-table): Return `category' metadata.
10475 (minibuffer-completing-file-name): Make obsolete.
10476 * simple.el (minibuffer-completing-symbol): Make obsolete.
10477 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10478 completion-try-completion.
10479
10480 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10481
10482 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10483
10484 2011-05-30 Leo Liu <sdl.web@gmail.com>
10485
10486 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10487 (rcirc-print): Decode all incoming messages (bug#8744).
10488 (rcirc-decode-coding-system): Allow value nil for automatic coding
10489 system detection.
10490
10491 2011-06-01 Glenn Morris <rgm@gnu.org>
10492
10493 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10494
10495 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10496
10497 * image.el (image-animate-max-time): Allow nil and t values.
10498 Default to nil.
10499 (create-animated-image): Doc fix.
10500 (image-animate-start): Remove second arg; just use
10501 image-animate-max-time.
10502 (image-animate-timeout): Doc fix. Args changed.
10503
10504 * image-mode.el (image-toggle-display-image): Ensure that the
10505 image spec passed to the animate timer is the same object as in
10506 the buffer's display property (Bug#6981).
10507 (image-transform-properties): Doc fix.
10508
10509 * image.el (image-animate-max-time): Default to nil.
10510
10511 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10512
10513 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10514 entire buffer list (Bug#8184).
10515
10516 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10517
10518 * image.el (imagemagick-types-inhibit)
10519 (imagemagick-register-types): Doc fix.
10520
10521 2011-05-29 Deniz Dogan <deniz@dogan.se>
10522
10523 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10524 default.
10525
10526 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10527
10528 * select.el: Don't perform clipboard-manager saving in hooks;
10529 leave the hooks empty.
10530
10531 2011-05-28 Leo Liu <sdl.web@gmail.com>
10532
10533 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10534 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10535 (occur-edit-mode): New major mode (Bug#8463).
10536 (occur-after-change-function): New function.
10537 (occur-engine): Give Occur tags a read-only property.
10538
10539 2011-05-28 Kevin Ryde <user42@zip.com.au>
10540
10541 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10542
10543 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10544
10545 * bindings.el (help-echo): Make the initial non-indicator dash
10546 empty on graphical terminals (Bug#7295).
10547
10548 * files.el (auto-mode-alist): Move config rule after the
10549 in-stripping one (Bug#8547).
10550
10551 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10552
10553 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10554 setting (Bug#8740).
10555
10556 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10557
10558 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10559 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10560 (Bug#8539).
10561
10562 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10563
10564 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10565
10566 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10567
10568 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10569 (hs-hide-block-at-point, hs-find-block-beginning)
10570 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10571 (Bug#8279).
10572
10573 2011-05-28 Glenn Morris <rgm@gnu.org>
10574
10575 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10576
10577 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10578
10579 * help-fns.el (describe-function-1): If the function is a derived
10580 major mode, print the parent mode.
10581
10582 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10583 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10584
10585 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10586
10587 * minibuffer.el (completion--capf-wrapper): Check applicability before
10588 returning non-nil for non-exclusive completion data.
10589 * progmodes/etags.el (tags-completion-at-point-function):
10590 * info-look.el (info-lookup-completions-at-point): Mark as
10591 non-exclusive.
10592 (info-complete): Adjust accordingly.
10593
10594 * info-look.el: Convert to lexical-binding and completion-at-point.
10595 (info-lookup-completions-at-point): New function.
10596 (info-complete): Use it and completion-in-region.
10597
10598 2011-05-28 Drew Adams <drew.adams@oracle.com>
10599
10600 * isearch.el: Let M-e start with point at the first mismatched char.
10601 (isearch-fail-pos): New function.
10602 (isearch-edit-string): Use it.
10603
10604 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10605
10606 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10607
10608 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10609
10610 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10611 traversal functions for avl-trees.
10612 (avl-tree--stack): New struct.
10613 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10614 (avl-tree-enter): Add optional `updatefun' arg.
10615 (avl-tree--do-enter): Add optional `updatefun' arg.
10616 Change return value.
10617 (avl-tree-delete): Add optional `test' and `nilflag' args.
10618 (avl-tree--do-delete): Add `test' and `nilflag' args.
10619 Change return value.
10620 (avl-tree-member): Add optional `nilflag'
10621 (avl-tree-member-p): New function.
10622 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10623 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10624 (avl-tree-stack-empty-p): New functions.
10625
10626 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10627 avl-tree--del-balance1 and make it work both ways.
10628 (avl-tree--del-balance2): Remove.
10629 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10630 make it work both ways.
10631 (avl-tree--enter-balance2): Remove.
10632 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10633 New macros.
10634 (avl-tree--mapc, avl-tree-map): Add direction argument.
10635
10636 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10637
10638 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10639
10640 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10641
10642 * select.el: Support clipboard managers with built-in function
10643 x-clipboard-manager-save, via delete-frame-functions and
10644 kill-emacs-hook.
10645 (xselect-convert-to-targets): Add MULTIPLE target to list.
10646 (xselect-convert-to-save-targets): New function.
10647
10648 2011-05-27 Kenichi Handa <handa@m17n.org>
10649
10650 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10651 let-binding rfc2047-encode-encoded-words to nil.
10652
10653 2011-05-27 Glenn Morris <rgm@gnu.org>
10654
10655 * mail/emacsbug.el: Don't require url-util.
10656
10657 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10658
10659 * files.el (set-auto-mode):
10660 Also respect mode: entries at the end of the file. (Bug#8586)
10661
10662 2011-05-26 Glenn Morris <rgm@gnu.org>
10663
10664 * files.el (hack-local-variables-prop-line, hack-local-variables):
10665 Downcase mode names, as seems to be traditional.
10666 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10667
10668 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10669 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10670
10671 2011-05-25 Julien Danjou <julien@danjou.info>
10672
10673 * textmodes/rst.el (rst-define-level-faces): Do not define face
10674 symbol if it is already defined.
10675
10676 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10677
10678 * play/5x5.el (5x5-new-game, 5x5-randomize):
10679 Reset 5x5-solver-output to nil when a new grid is cast.
10680 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10681 these debugging traces, as defmacro breaks the compiled code.
10682
10683 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10684
10685 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10686
10687 2011-05-24 Leo Liu <sdl.web@gmail.com>
10688
10689 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10690 (vc-bzr-sha1): Adapt.
10691
10692 * sha1.el: Remove. Function `sha1' is now builtin.
10693
10694 * bindings.el: Provide sha1 feature.
10695
10696 2011-05-24 Kenichi Handa <handa@m17n.org>
10697
10698 * mail/sendmail.el: Require `rfc2047'.
10699 (mail-insert-from-field): Do not perform RFC2047 encoding.
10700 (mail-encode-header): New function.
10701 (sendmail-send-it): Set buffer-file-coding-system of the work
10702 buffer to the return value of select-message-coding-system.
10703 Call mail-encode-header.
10704
10705 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10706
10707 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10708
10709 * mail/supercite.el (sc-default-cite-frame):
10710 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10711
10712 2011-05-24 Glenn Morris <rgm@gnu.org>
10713
10714 * progmodes/python.el (brm-menu): Declare.
10715
10716 * emulation/viper.el (viper-set-hooks): Declare.
10717
10718 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10719 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10720 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10721 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10722 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10723 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10724
10725 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 Add an :exit-function for completion-at-point.
10728
10729 * minibuffer.el (completion--done): New fun.
10730 (completion--do-completion): Use it. New arg `expect-exact'.
10731 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10732 since completion--do-completion does it for us now.
10733 (minibuffer-force-complete): Use completion--done and
10734 completion--replace. Handle sole-completion case with more care.
10735 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10736 (completion-extra-properties): New var.
10737 (completion-annotate-function): Make obsolete.
10738 (minibuffer-completion-help): Adjust accordingly.
10739 Use completion-list-insert-choice-function.
10740 (completion-at-point, completion-help-at-point):
10741 Bind completion-extra-properties.
10742 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10743 * simple.el (completion-list-insert-choice-function): New var.
10744 (completion-setup-function): Preserve it.
10745 (choose-completion): Pay attention to it, shuffle the code a bit.
10746 (choose-completion-string): New arg `insert-function'.
10747
10748 * textmodes/bibtex.el: Convert to lexical binding.
10749 (bibtex-mode-map): Use completion-at-point.
10750 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10751 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10752 (bibtex-complete): Define as obsolete alias.
10753 (bibtex-complete-internal): Remove.
10754 (bibtex-format-entry): Remove unused sub-group in regexp.
10755 * shell.el (shell--command-completion-data)
10756 (shell-environment-variable-completion):
10757 * pcomplete.el (pcomplete-completions-at-point):
10758 * comint.el (comint--complete-file-name-data): Use :exit-function
10759 instead of completion-table-with-terminator so it also works for
10760 choose-completion.
10761
10762 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10765
10766 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10767 (bug#8710).
10768
10769 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10770
10771 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10772
10773 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10774 customization variable and implement: If non-nil, auto-fill will
10775 be inhibited while on topic's header line.
10776
10777 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10778
10779 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10780 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10781 always have a solution in grid size = 5 cases.
10782 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10783 (5x5-solver-output, 5x5-log-buffer): New vars.
10784 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10785 Make these variables buffer local to achieve 5x5 multi-session-ness.
10786 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10787 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10788 (5x5-solve-suggest): New funs.
10789 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10790 randomize a grid so that we ensure that there is always a solution.
10791 (5x5-make-random-grid): Allow other movement than flipping.
10792
10793 2011-05-23 Kevin Ryde <user42@zip.com.au>
10794
10795 * emacs-lisp/advice.el (ad-read-advised-function):
10796 Use `function-called-at-point' as the default, if it has
10797 advice and passes PREDICATE.
10798
10799 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10802 byte-compile-lambda if it's actually a lambda.
10803
10804 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10805 Fix function quoting. Use backquote better.
10806
10807 2011-05-22 Yuanle Song <sylecn@gmail.com>
10808
10809 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10810 matching (Bug#8516).
10811
10812 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10813
10814 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10815 different face (Bug#8178).
10816
10817 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10818
10819 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10820 defface (Bug#8144).
10821
10822 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10823
10824 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10825 funcall as well (bug#8712). Warn when performing those conversions.
10826 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10827
10828 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10829
10830 2011-05-22 Glenn Morris <rgm@gnu.org>
10831
10832 * files.el (hack-local-variables-prop-line): Small simplifications.
10833 (hack-local-variables, hack-local-variables-prop-line):
10834 If MODE-ONLY, return the mode, rather than just `t'.
10835
10836 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10837
10838 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10839
10840 2011-05-21 Glenn Morris <rgm@gnu.org>
10841
10842 * files.el (hack-local-variables-prop-line, hack-local-variables):
10843 If only interested in the mode, don't bother doing the other stuff.
10844
10845 * image-mode.el (image-after-revert-hook):
10846 Redraw all frames on which the image is visible. (Bug#8567)
10847
10848 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10849
10850 * wid-edit.el (widget-checklist-match-inline):
10851 Fix 2011-04-19 change. (Bug#8649)
10852
10853 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10854
10855 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10856 Also allow singlespace after single-letter capitals followed by a dot.
10857
10858 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10859 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10860
10861 2011-05-20 Nix <nix@esperi.org.uk>
10862
10863 * files.el (basic-save-buffer-2):
10864 Fix handling of break-hardlink-on-save with non-existent files.
10865
10866 2011-05-19 Deniz Dogan <deniz@dogan.se>
10867
10868 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10869 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10870
10871 2011-05-19 Glenn Morris <rgm@gnu.org>
10872
10873 * progmodes/f90.el (f90-type-def-re):
10874 Handle "type, bind(c)". (Bug#8691)
10875
10876 * emacs-lisp/autoload.el (batch-update-autoloads):
10877 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10878
10879 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10880
10881 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10882 property for the correct connection in case of multihops.
10883
10884 2011-05-18 Glenn Morris <rgm@gnu.org>
10885
10886 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10887 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10888
10889 Rationalize calendar handling of day and month abbrev-arrays.
10890 * calendar/calendar.el (calendar-customized-p): New function.
10891 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10892 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10893 Add :set function.
10894 (calendar-abbrev-length, calendar-day-abbrev-array)
10895 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10896 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10897 Elements may no longer be nil.
10898 (calendar-day-name, calendar-month-name):
10899 Update for changed nature of abbrev arrays.
10900 * calendar/diary-lib.el (diary-name-pattern):
10901 Update for changed nature of abbrev arrays.
10902 (diary-mark-entries-1): Update calendar-make-alist calls.
10903 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10904 * calendar/cal-html.el (cal-html-day-abbrev-array):
10905 Simply inherit from calendar-day-abbrev-array.
10906
10907 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * progmodes/grep.el (grep-mode): Disable default
10910 compilation-directory-matcher setting (bug#8684).
10911
10912 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10913
10914 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10915 instead of "head" and "tail". There were problems with SunOS 5.9,
10916 and it performs better.
10917
10918 2011-05-17 Glenn Morris <rgm@gnu.org>
10919
10920 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10921
10922 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10923 Replace obsolete function.
10924
10925 * shell.el (pcomplete-parse-arguments-function): Declare.
10926
10927 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10928 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10929 (appt-check): Doc fixes.
10930 (appt-disp-window-function, appt-delete-window-function):
10931 Remove needless special case in custom :type.
10932 (appt-display-count): Default to 0, not nil.
10933 (appt-check): Reset appt-display-count to 0, not nil.
10934
10935 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10936
10937 * progmodes/python.el (python-font-lock-keywords):
10938 Add the Python 3.X keyword "nonlocal" (bug#8639).
10939
10940 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10941
10942 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10943
10944 2011-05-16 Kevin Ryde <user42@zip.com.au>
10945
10946 * info-look.el (makefile-automake-mode): New setups, looking in
10947 automake manual, then makefile-mode.
10948 (makefile-mode): Remove automake manual, have it just in
10949 makefile-automake-mode since there's various things different or
10950 not relevant to plain make.
10951 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10952 believe a hypothetical automake-mode would go to makefile-mode,
10953 not the other way around.
10954
10955 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10956
10957 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10958 hunk-end tags (Bug#8672).
10959
10960 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10961 vc-annotate-show-diff-revision-at-line (Bug#8671).
10962
10963 2011-05-14 Glenn Morris <rgm@gnu.org>
10964
10965 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10966 in the middle of an existing one with multiple authors. (Bug#8645)
10967 (change-log-font-lock-keywords): Also handle multiple author lines
10968 with leading tabs. (Bug#8644)
10969
10970 * calendar/appt.el (appt-check): Rename some local variables.
10971 Some simplification/reordering.
10972
10973 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10974 (feedmail-sendmail-f-doesnt-sell-me-out)
10975 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10976 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10977 (feedmail-queue-runner-message-sender): Set :version.
10978 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10979 (bbdb-dwim-net-address, vm-mail): Declare.
10980 (feedmail-binmail-gnulinuxish-template):
10981 Rename from feedmail-binmail-linuxish-template.
10982 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10983 Use insert-buffer-substring.
10984
10985 2011-05-14 Bill Carpenter <bill@carpenter.org>
10986
10987 * mail/feedmail.el (feedmail-patch-level): Increase.
10988 (feedmail-debug): New custom group.
10989 (feedmail-confirm-outgoing-timeout)
10990 (feedmail-sendmail-f-doesnt-sell-me-out)
10991 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10992 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10993 (feedmail-sender-line, feedmail-from-line)
10994 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10995 (feedmail-spray-this-address)
10996 (feedmail-spray-address-fiddle-plex-list)
10997 (feedmail-queue-use-send-time-for-date)
10998 (feedmail-queue-use-send-time-for-message-id)
10999 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11000 (feedmail-buffer-eating-function):
11001 Doc fixes.
11002 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11003 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11004 (feedmail-message-action-scroll-down): New functions.
11005 (feedmail-queue-directory, feedmail-queue-draft-directory):
11006 Use expand-file-name.
11007 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11008 Remove C-v help entry.
11009 (feedmail-queue-buffer-file-name): New variable.
11010 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11011 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11012 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11013 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11014 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11015 (feedmail-message-action-toggle-spray)
11016 (feedmail-run-the-queue-no-prompts)
11017 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11018 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11019 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11020 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11021 (feedmail-envelope-deducer, feedmail-fiddle-from)
11022 (feedmail-fiddle-sender, feedmail-default-date-generator)
11023 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11024 (feedmail-fiddle-spray-address)
11025 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11026 (feedmail-fiddle-list-of-fiddle-plexes)
11027 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11028 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11029 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11030 Change default. Doc fix.
11031 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11032 (feedmail-binmail-linuxish-template): New constant.
11033 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11034 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11035 (feedmail-send-it): Add debug call.
11036 Use feedmail-queue-buffer-file-name, and
11037 feedmail-send-it-immediately-wrapper.
11038 (feedmail-message-action-send): Add debug call.
11039 Use feedmail-send-it-immediately-wrapper.
11040 (feedmail-queue-express-to-queue): Add debug call.
11041 Run feedmail-queue-express-hook.
11042 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11043 (feedmail-message-action-help-blat):
11044 Rename from feedmail-queue-send-edit-prompt-help-first.
11045 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11046 Check line-endings. Handle errors better.
11047 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11048 Doc fix. Add debug call.
11049 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11050 Use feedmail-queue-send-edit-prompt-inner.
11051 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11052 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11053 from feedmail-queue-send-edit-prompt.
11054 (feedmail-queue-send-edit-prompt-help)
11055 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11056 (feedmail-tidy-up-slug): Add debug call.
11057 Respect feedmail-queue-slug-suspect-regexp.
11058 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11059 (feedmail-dump-message-to-queue): Add debug call.
11060 Expand queue-directory.
11061 (feedmail-dump-message-to-queue): Change message slightly.
11062 Use feedmail-say-chatter.
11063 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11064 (feedmail-send-it-immediately-wrapper): New function.
11065 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11066 Insert empty string rather than newline. Handle full-frame case.
11067 Use catch/throw. Use feedmail-say-chatter.
11068 (feedmail-fiddle-from): Try mail-host-address.
11069 (feedmail-default-message-id-generator): Doc fix.
11070 Bind system-time-locale. Handle missing end.
11071 (feedmail-fiddle-x-mailer): Add debug call.
11072 Handle feedmail-x-mailer-line being nil.
11073 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11074 Add debug call. Use buffer-substring-no-properties.
11075 (feedmail-say-debug, feedmail-say-chatter): New functions.
11076 (feedmail-find-eoh): Give an explicit error.
11077
11078 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11079
11080 * net/newst-treeview.el (newsticker-treeview-face): Change default
11081 family from helvetica to sans.
11082 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11083 etc/images/newsticker.
11084
11085 * net/newst-reader.el (newsticker-feed-face): Change default
11086 family from helvetica to sans.
11087
11088 * net/newst-plainview.el (newsticker-new-item-face)
11089 (newsticker-old-item-face, newsticker-immortal-item-face)
11090 (newsticker-obsolete-item-face, newsticker-date-face)
11091 (newsticker-statistics-face): Change default family from
11092 helvetica to sans.
11093 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11094 etc/images/newsticker.
11095
11096 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11097 (newsticker--process-auto-mark-filter-match): Tell user about
11098 auto-marking.
11099
11100 2011-05-13 Didier Verna <didier@xemacs.org>
11101
11102 Common Lisp indentation improvements on defmethod and lambda-lists.
11103 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11104 TODO entries.
11105 (lisp-lambda-list-keyword-parameter-indentation)
11106 (lisp-lambda-list-keyword-parameter-alignment)
11107 (lisp-lambda-list-keyword-alignment): New customizable user options.
11108 (lisp-indent-defun-method): Improve docstring.
11109 (extended-loop-p): Fix comment.
11110 (lisp-indent-lambda-list-keywords-regexp): New variable.
11111 (lisp-indent-lambda-list): New function.
11112 (lisp-indent-259): Use it.
11113 (lisp-indent-defmethod): Support for more than one
11114 method qualifier and properly indent methods lambda-lists.
11115 (defgeneric): Provide a missing common-lisp-indent-function property.
11116
11117 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11120 bounds for the empty string (bug#8667).
11121
11122 2011-05-13 Glenn Morris <rgm@gnu.org>
11123
11124 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11125
11126 * mail/sendmail.el (sendmail-program): Try executable-find first.
11127 (sendmail-send-it): `sendmail-program' cannot be unbound.
11128
11129 * calendar/appt.el (appt-make-list): Simplify.
11130 (appt-time-msg-list): Doc fix.
11131 (appt-check): Change mode-line message at the time of the appointment.
11132
11133 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11134
11135 * progmodes/ld-script.el (ld-script-keywords)
11136 (ld-script-builtins): Update keywords list.
11137
11138 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11141
11142 * shell.el (shell-completion-vars): New function.
11143 (shell-mode):
11144 * simple.el (read-shell-command): Use it.
11145 (blink-matching-open): No need for " [...]" in minibuffer-message.
11146
11147 2011-05-12 Glenn Morris <rgm@gnu.org>
11148
11149 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11150 (appt-check): Simplify.
11151
11152 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11153
11154 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11155 literal "/dev/null".
11156
11157 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11160 Fix typo.
11161
11162 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11163
11164 * progmodes/which-func.el (which-function):
11165 Use add-log-current-defun instead of add-log-current-defun-function,
11166 which might not be defined (Bug#8260).
11167
11168 2011-05-12 Glenn Morris <rgm@gnu.org>
11169
11170 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11171 Let byte-compile-initial-macro-environment always take precedence.
11172
11173 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11174
11175 * net/rcirc.el: Add support for SSL/TLS connections.
11176 (rcirc-server-alist): New field `encryption'.
11177 (rcirc): Check `encryption' settings.
11178 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11179 Merge make-local-variable into `set'.
11180 (rcirc--connection-open-p): New function.
11181 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11182 the process is not a network process (e.g. running gnutls-cli).
11183 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11184 Make rcirc-(en|de)code-coding-system local here.
11185 (rcirc-mode): Merge make-local-variable into `set'.
11186 (rcirc-parent-buffer): Make permanent buffer-local.
11187 (rcirc-multiline-minor-mode): Don't do it here.
11188 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11189 there's no server buffer.
11190
11191 2011-05-11 Glenn Morris <rgm@gnu.org>
11192
11193 * newcomment.el (comment-kill): Prefix "unused" local.
11194
11195 * term/w32console.el (get-screen-color): Declare.
11196
11197 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11198 Handle symbol elements of byte-compile-initial-macro-environment.
11199
11200 2011-05-10 Leo Liu <sdl.web@gmail.com>
11201
11202 * bookmark.el (bookmark-bmenu-mode-map):
11203 Bind bookmark-bmenu-search to `/'.
11204
11205 * mail/footnote.el: Convert to utf-8 encoding.
11206 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11207 (Footnote-unicode): New function.
11208 (footnote-style-alist): Add unicode style to the list.
11209 (footnote-style): Doc fix.
11210
11211 2011-05-10 Jim Meyering <meyering@redhat.com>
11212
11213 Fix doubled-word typos.
11214 * international/quail.el (quail-insert-kbd-layout): and and -> and
11215 * kermit.el: and and -> and
11216 * net/ldap.el (ldap-search-internal): to to -> to
11217 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11218 * progmodes/js.el (js-mode): and and -> and
11219 * textmodes/artist.el (artist-move-to-xy): at at -> at
11220 (artist-draw-region-trim-line-endings): if if -> if
11221 And Safetyc -> Safety.
11222 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11223
11224 2011-05-10 Glenn Morris <rgm@gnu.org>
11225 Stefan Monnier <monnier@iro.umontreal.ca>
11226
11227 * files.el (hack-one-local-variable-eval-safep):
11228 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11229
11230 2011-05-10 Glenn Morris <rgm@gnu.org>
11231
11232 * calendar/diary-lib.el (diary-list-entries-hook)
11233 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11234 (diary-nongregorian-marking-hook, diary-list-entries)
11235 (diary-include-other-diary-files, diary-mark-entries)
11236 (diary-mark-included-diary-files): Doc fixes.
11237
11238 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11239
11240 * misc.el: Require tabulated-list.el during compilation.
11241
11242 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11243
11244 * progmodes/compile.el (compilation-start):
11245 Run compilation-filter-hook for the async case too.
11246 (compilation-filter-hook): Doc fix.
11247
11248 2011-05-09 Deniz Dogan <deniz@dogan.se>
11249
11250 * wdired.el: Remove outdated installation comment. Fix usage
11251 comment.
11252
11253 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11254
11255 * misc.el: Implement new command `list-dynamic-libraries'.
11256 (list-dynamic-libraries--loaded-only-p): New variable.
11257 (list-dynamic-libraries--refresh): New function.
11258 (list-dynamic-libraries): New command.
11259
11260 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11261
11262 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11263 Fix the ant regexp to handle end-line and end-column info from jikes.
11264 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11265 higher priority to avoid clobbering by gnu.
11266
11267 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11268
11269 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11270 if the face has existing theme settings (Bug#8454).
11271
11272 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11273
11274 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11275 Only match variables declared via `my' or `our' (Bug#8261).
11276
11277 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11278 special file names `.' and `..' (Bug#8259).
11279
11280 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11281
11282 * progmodes/grep.el (grep-mode-font-lock-keywords):
11283 Remove buffer-changing entries.
11284 (grep-filter): New function.
11285 (grep-mode): Add it to compilation-filter-hook.
11286
11287 * progmodes/compile.el (compilation-filter-hook)
11288 (compilation-filter-start): New defvars.
11289 (compilation-filter): Call compilation-filter-hook prior to
11290 updating the process mark.
11291
11292 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11293
11294 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11295
11296 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11297
11298 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11299 mailclient-send-it even if window-system is nil. (Bug#8595)
11300
11301 * term/w32console.el (terminal-init-w32console):
11302 Call get-screen-color and use its output to set the frame
11303 background-mode. (Bug#8597)
11304
11305 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11306
11307 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11308 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11309 New functions.
11310 (defgeneric, eieio--defmethod): Use them.
11311 (eieio-defgeneric): Remove.
11312 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11313
11314 2011-05-07 Glenn Morris <rgm@gnu.org>
11315
11316 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11317 Use let rather than let*.
11318 (timeclock-find-discrep): Remove unused local.
11319
11320 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11321
11322 * calendar/appt.el (appt-time-msg-list): Doc fix.
11323
11324 2011-05-06 Noah Friedman <friedman@splode.com>
11325
11326 * apropos.el (apropos-print-doc): Only use
11327 emacs-lisp-docstring-fill-column when it is bound to an integer,
11328 per that variable's documentation.
11329
11330 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11333 and warnings are not silently discarded (e.g. use -d instead of -P).
11334
11335 2011-05-06 Glenn Morris <rgm@gnu.org>
11336
11337 * calendar/appt.el (appt-message-warning-time): Doc fix.
11338 (appt-warning-time-regexp): New option.
11339 (appt-make-list): Respect appt-message-warning-time.
11340
11341 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11342 New options.
11343 (diary-add-to-list): Strip comments from the displayed string.
11344 (diary-mode): Set comment-start and comment-end.
11345
11346 * vc/diff-mode.el (smerge-refine-subst): Declare.
11347 (diff-refine-hunk): Don't require smerge-mode when compiling.
11348
11349 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11350
11351 * simple.el (list-processes): Return nil as the docstring says.
11352
11353 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11354
11355 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11356 to "".
11357 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11358 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11359 determining of binary transfer. (Bug#7383)
11360
11361 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11362
11363 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11364 Fix port computation bug. (Bug#8618)
11365
11366 2011-05-05 Glenn Morris <rgm@gnu.org>
11367
11368 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11369
11370 * simple.el (shell-dynamic-complete-functions)
11371 (comint-dynamic-complete-functions): Declare.
11372
11373 * net/network-stream.el (gnutls-negotiate):
11374 * simple.el (tabulated-list-print): Fix declarations.
11375
11376 * progmodes/gud.el (syntax-symbol, syntax-point):
11377 Remove unnecessary and incorrect declarations.
11378
11379 * emacs-lisp/check-declare.el (check-declare-scan):
11380 Handle byte-compile-initial-macro-environment in bytecomp.el
11381
11382 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 Fix earlier half-done eieio-defmethod change (bug#8338).
11385 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11386 Streamline and change calling convention.
11387 (defmethod): Adjust accordingly and simplify.
11388 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11389 new eieio--defmethod.
11390 (slot-boundp): Minor CSE simplification.
11391
11392 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11393
11394 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11395 (glasses-make-readable): Use glasses-separate-capital-groups.
11396
11397 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11398
11399 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11400 (warning-series): Doc fix.
11401 (display-warning): Don't try to create the buffer if we just found it.
11402
11403 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11404
11405 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11406 (autoload-find-generated-file): New function.
11407 (generate-file-autoloads): Bind generated-autoload-file to
11408 buffer-file-name.
11409 (update-file-autoloads, update-directory-autoloads):
11410 Use autoload-find-generated-file. If called interactively, prompt for
11411 output file (Bug#7989).
11412 (batch-update-autoloads): Doc fix.
11413
11414 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11415
11416 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11417
11418 2011-05-04 Glenn Morris <rgm@gnu.org>
11419
11420 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11421 function, so it follows changes in calendar-date-style.
11422 (diary-fancy-date-matcher): New function.
11423 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11424 (diary-fancy-font-lock-fontify-region-function):
11425 Use diary-fancy-date-pattern as a function.
11426
11427 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11428 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11429
11430 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11431
11432 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11433 instead of positional arguments. Allow :keylist and :crlfiles
11434 arguments.
11435 (open-gnutls-stream): Call it.
11436
11437 * net/network-stream.el (network-stream-open-starttls): Adjust to
11438 call `gnutls-negotiate' with :process and :hostname arguments.
11439
11440 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * minibuffer.el (completion--message): New function.
11443 (completion--do-completion, minibuffer-complete)
11444 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11445 (completion--do-completion): Don't ignore completion-auto-help when in
11446 icomplete-mode.
11447
11448 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11449 internal encoding (e.g. tibetan zero is not whitespace).
11450 (global-whitespace-mode): Prefer save-current-buffer.
11451 (whitespace-trailing-regexp): Remove useless save-match-data.
11452 (whitespace-empty-at-bob-regexp): Minor simplification.
11453
11454 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11455
11456 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11457
11458 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11459
11460 * textmodes/ispell.el (ispell-add-per-file-word-list):
11461 Use `concat' to create string for insertion.
11462
11463 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11464
11465 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11466 Avoid open-line which runs post-self-insert-hook.
11467 (bibtex-fill-entry): Remove unused `end' var.
11468
11469 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11470
11471 * textmodes/ispell.el (ispell-add-per-file-word-list):
11472 Protect against `nil' value of `comment-start' (Bug#8579).
11473
11474 2011-05-03 Leo Liu <sdl.web@gmail.com>
11475
11476 * isearch.el (isearch-yank-pop): New command.
11477 (isearch-mode-map): Bind it to `M-y'.
11478 (isearch-forward): Mention it.
11479
11480 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11481
11482 * simple.el (minibuffer-complete-shell-command): Remove.
11483 (minibuffer-local-shell-command-map): Use completion-at-point.
11484 (read-shell-command): Setup completion vars here instead.
11485 (read-expression-map): Bind TAB to symbol completion.
11486
11487 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11488 error directly rather via storing it into `results'.
11489
11490 2011-05-02 Leo Liu <sdl.web@gmail.com>
11491
11492 * vc/diff.el: Fix description.
11493
11494 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11495
11496 * server.el (server-eval-at): New function.
11497
11498 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11499
11500 * net/network-stream.el (open-network-stream): Take a :nowait
11501 parameter and pass it on to `make-network-process'.
11502 (network-stream-open-plain): Ditto.
11503
11504 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11505
11506 * faces.el (face-spec-set-match-display): Don't match toolkit
11507 options on terminal frames.
11508
11509 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11510
11511 * progmodes/pascal.el: Use lexical binding.
11512 (pascal-mode-map): Remove author preferences.
11513
11514 * pcomplete.el (pcomplete-std-complete): Don't abuse
11515 completion-at-point.
11516
11517 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11518
11519 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11520 removing code that has been dead since 1991 or so.
11521
11522 * startup.el (command-line): When warning about "_emacs", use a
11523 delayed warning to allow the user to filter it out.
11524
11525 2011-04-28 Deniz Dogan <deniz@dogan.se>
11526
11527 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11528 user has not joined.
11529
11530 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11531
11532 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11533 aren't any completions at point.
11534
11535 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11536
11537 * subr.el (display-delayed-warnings): New function.
11538 (delayed-warnings-hook): New variable.
11539
11540 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11541
11542 * minibuffer.el (completion-at-point, completion-help-at-point):
11543 Don't presume that a given completion-at-point-function will always
11544 use the same calling convention.
11545
11546 * pcomplete.el (pcomplete-completions-at-point):
11547 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11548 pcomplete-seen is non-nil.
11549 (pcomplete-comint-setup): Also recognize the new comint/shell
11550 completion functions.
11551 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11552 pcomplete-seen is non-nil.
11553
11554 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11555
11556 * calendar/icalendar.el (diary-lib): Add require statement.
11557 (icalendar--create-uid): Read out a uid from a text-property on
11558 the first character in the entry. This allows for code to add its
11559 own uid to the entry.
11560 (icalendar--convert-float-to-ical): Add export of
11561 `diary-float'-entries save for those with the optional DAY
11562 argument.
11563
11564 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11565
11566 * subr.el (shell-quote-argument): Use alternate escaping strategy
11567 when we spot a variable reference in a string.
11568
11569 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11570
11571 * cus-start.el (all): Define customization for debug-on-event.
11572
11573 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11574
11575 * subr.el (shell-quote-argument): Escape correctly under Windows.
11576
11577 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11578
11579 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11580
11581 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11582
11583 * net/tramp.el (tramp-process-actions): Add POS argument.
11584 Delete region between POS and (pos).
11585
11586 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11587 Use `nil' position in `tramp-process-actions' call.
11588 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11589
11590 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11591 position in `tramp-process-actions' call.
11592
11593 * net/trampver.el: Update release number.
11594
11595 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * custom.el (defcustom): Obey lexical-binding.
11598
11599 Fix octave-inf completion problems reported by Alexander Klimov.
11600 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11601 Inherit from octave-mode-syntax-table.
11602 (inferior-octave-mode): Set info-lookup-mode.
11603 (inferior-octave-completion-at-point): New function.
11604 (inferior-octave-complete): Use it and completion-in-region.
11605 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11606 comint-filename-completion.
11607 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11608 symbol elements which shouldn't be word elements.
11609 (octave-font-lock-keywords, octave-beginning-of-defun)
11610 (octave-function-header-regexp): Adjust regexps accordingly.
11611 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11612
11613 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11614
11615 * net/gnutls.el (gnutls-errorp): Declare before first use.
11616
11617 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11618
11619 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11620 verify-error, and verify-hostname-error parameters. Check whether
11621 default trustfile exists before going to use it. Add missing
11622 argument to gnutls-message-maybe call. Return value.
11623 Reported by Claudio Bley <claudio.bley@gmail.com>.
11624 (open-gnutls-stream): Add usage example.
11625
11626 * net/network-stream.el (network-stream-open-starttls): Give host
11627 parameter to `gnutls-negotiate'.
11628 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11629 * subr.el (shell-quote-argument): Escape correctly under Windows.
11630
11631 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11632
11633 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11634 Use correct match group (bug#8438).
11635
11636 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11637
11638 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11639 (package-menu--generate): New arg specifying packages to show.
11640 (package-menu-refresh, package-menu-execute, list-packages):
11641 Callers changed.
11642 (package-show-package-list): New function, replacing deleted
11643 package--list-packages (renamed because it is non-internal).
11644
11645 * finder.el (finder-list-matches): Use package-show-package-list
11646 instead of deleted package--list-packages.
11647
11648 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11649 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11650 (vc-annotate-mode-map): Bind it to RET.
11651
11652 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11653
11654 * progmodes/etags.el (next-file): Don't use set-buffer to change
11655 buffers (Bug#8478).
11656
11657 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11658
11659 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11660
11661 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11662 (apropos-accumulator): Doc fix.
11663 (apropos-function, apropos-macro, apropos-command)
11664 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11665 (apropos-plist): Add face property.
11666 (apropos-symbols-internal): Fix indentation.
11667 (apropos-print): Simplify help, and recognize apropos-multi-type.
11668 (apropos-print-doc): Use button-type-get to extract the button's
11669 face property. Fill docstring (Bug#8352).
11670
11671 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11672
11673 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11674
11675 * play/mpuz.el (mpuz-silent): Doc fix.
11676 (mpuz-mode-map): Use mapc.
11677 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11678 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11679 Fix typos in docstrings.
11680
11681 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11682 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11683
11684 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11685
11686 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11687
11688 * minibuffer.el (completion--do-completion): Avoid the "Next char
11689 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11690
11691 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11692 mouse-2 into unread-command-events, it is interpreted correctly.
11693
11694 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11695 (image-toggle-display): Doc fix.
11696
11697 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11698
11699 * textmodes/page.el (what-page): Use line-number-at-pos to
11700 calculate line number (Bug#6825).
11701
11702 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11703
11704 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11705 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11706 Pass argument NO-DEFAULT to `find-tag-interactive'.
11707
11708 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11709
11710 Lexical-binding cleanup.
11711
11712 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11713 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11714 * progmodes/ada-prj.el (ada-prj-initialize-values)
11715 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11716 (ada-prj-show-value):
11717 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11718 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11719 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11720 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11721 * progmodes/bug-reference.el (bug-reference-push-button):
11722 * progmodes/fortran.el (fortran-line-length):
11723 * progmodes/glasses.el (glasses-change):
11724 * progmodes/octave-mod.el (octave-fill-paragraph):
11725 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11726 (python-pdbtrack-grub-for-buffer, python-sentinel):
11727 * progmodes/sql.el (sql-save-connection):
11728 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11729 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11730 Mark unused parameters.
11731
11732 * progmodes/compile.el (compilation--flush-directory-cache)
11733 (compilation--flush-parse, compile-internal): Mark unused parameters.
11734 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11735 (compilation-next-error-function): Remove unused variable `timestamp'.
11736
11737 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11738 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11739
11740 * progmodes/dcl-mode.el (dcl-end-of-command):
11741 Remove unused variable `start'.
11742 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11743 (dcl-option-value-basic, dcl-option-value-offset)
11744 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11745 Mark unused parameters.
11746 (dcl-save-local-variable): Remove unused variable `val'.
11747 (mode): Declare.
11748
11749 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11750 Mark unused parameters.
11751 (delphi-ignore-changes): Move before first use.
11752 (delphi-charset-token-at): Remove unused variable `start'.
11753 (delphi-else-start): Remove unused variable `if-count'.
11754 (delphi-comment-block-start, delphi-comment-block-end):
11755 Remove unused variable `kind'.
11756 (delphi-indent-line): Remove unused variable `new-point'.
11757
11758 * progmodes/ebrowse.el (ebrowse-files-list)
11759 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11760 Mark unused parameters. Don't quote `lambda'.
11761 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11762 Don't quote `lambda'.
11763 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11764 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11765 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11766 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11767 Use `ignore-errors'.
11768 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11769 (ebrowse-view/find-file-and-search-pattern)
11770 (ebrowse-view/find-member-declaration/definition):
11771 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11772 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11773 Rename parameter PREFIX-ARG to PREFIX.
11774 (ebrowse-tags-read-name): Remove unused variables `start' and
11775 `member-info'.
11776 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11777 to `tags-file'.
11778
11779 * progmodes/etags.el (local-find-tag-hook): Declare.
11780 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11781 Mark unused parameters.
11782
11783 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11784 (executable-interpret): Mark unused parameter.
11785
11786 * progmodes/flymake.el (flymake-process-sentinel)
11787 (flymake-after-change-function)
11788 (flymake-create-temp-with-folder-structure)
11789 (flymake-get-include-dirs-dot): Mark unused parameters.
11790 (flymake-safe-delete-directory): Remove unused variable `err'.
11791
11792 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11793 (speedbar-timer-fn, speedbar-line-text)
11794 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11795 (speedbar-center-buffer-smartly): Declare functions.
11796 (gdb-find-watch-expression): Remove unused variable `array'.
11797 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11798 (gdb-starting): Mark unused parameters.
11799 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11800 (gdb-table-string): Remove unused variable `res'.
11801 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11802 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11803 (gdb-display-buffer): Remove unused variable `cur-size'.
11804
11805 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11806 allow lexical-binding compilation.
11807 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11808 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11809 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11810 Mark unused parameters.
11811 (gud-gdb-marker-filter): Remove unused variable `match'.
11812 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11813 lambda expressions and funcall them, instead of using `fset'.
11814
11815 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11816 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11817
11818 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11819 variable `header-beg'; use `let'.
11820
11821 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11822 `restart', `last-sexp' and `at-do'.
11823
11824 * progmodes/js.el (js--debug): Mark unused parameter.
11825 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11826 (js--splice-into-items): Remove unused variable `item'.
11827 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11828
11829 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11830 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11831 (makefile-complete): Remove unused variable `try'.
11832 (makefile-fill-paragraph, makefile-match-function-end):
11833 Mark unused parameters.
11834
11835 * progmodes/octave-inf.el (inferior-octave-complete):
11836 Remove unused variable `proc'.
11837 (inferior-octave-output-digest): Mark unused parameter.
11838
11839 * progmodes/perl-mode.el (perl-calculate-indent):
11840 Remove unused variable `err'.
11841
11842 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11843 (prolog-indent-line): Mark unused parameters.
11844 (prolog-indent-line): Remove unused variable `beg'.
11845
11846 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11847 (reporter-dont-compact-list): Declare.
11848
11849 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11850 Remove unused variable `char'.
11851 (sh-debug): Mark unused parameter.
11852 (sh-get-indent-info): Remove unused variable `start'.
11853 (sh-calculate-indent): Remove unused variable `var'.
11854
11855 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11856 (simula-electric-keyword): Remove unused variable `null'.
11857 (simula-search-backward, simula-search-forward): Remove unused
11858 variables `begin' and `end'.
11859
11860 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11861 Remove unused variable `pos'.
11862 (vera-electric-tab, vera-comment-uncomment-region):
11863 Mark unused parameters.
11864 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11865
11866 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11867
11868 * emacs-lisp/package.el (package--builtins, package-alist)
11869 (package-load-descriptor, package-built-in-p, package-activate)
11870 (define-package, package-installed-p)
11871 (package-compute-transaction, package-buffer-info)
11872 (package--push): Doc fix. Distinguish more clearly between
11873 version strings and version lists.
11874
11875 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11876
11877 Lexical-binding cleanup.
11878
11879 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11880 (5x5-make-mutate-best):
11881 * play/fortune.el (fortune-in-buffer):
11882 * play/gomoku.el (gomoku-init-display):
11883 * play/solitaire.el (solitaire, solitaire-do-check):
11884 * play/tetris.el (tetris-default-update-speed-function):
11885 Mark unused parameters.
11886
11887 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11888 (bubbles--shift): Remove unused variable `char-org'.
11889 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11890 (bubbles--show-images): Remove unused variable `char'.
11891
11892 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11893 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11894 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11895 (decipher-analyze-buffer): Use ?\s.
11896 (decipher-make-checkpoint): Remove unused variable `mapping'.
11897
11898 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11899
11900 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11901 Remove unused variable `result'; use `let'.
11902
11903 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11904 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11905 (gametree-children-shown-p, gametree-compute-reduced-score):
11906 Use `ignore-errors'.
11907
11908 * play/handwrite.el (ps-lpr-switches): Declare.
11909 (handwrite): Remove unused variables `pmin' and `lastp'.
11910
11911 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11912
11913 * play/landmark.el (landmark-init-display)
11914 (landmark-update-naught-weights): Mark unused parameters.
11915 (landmark-y): Remove unused variable `noise'. Simplify.
11916 (landmark-human-plays): Remove unused variable `score'.
11917
11918 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11919 (mpuz-try-proposal): Remove unused variable `game'.
11920
11921 * play/zone.el (life-patterns): Declare.
11922
11923 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11924
11925 * vc/vc.el (ediff-vc-internal): Declare function.
11926
11927 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * shell.el: Use lexical-binding and std completion UI.
11930 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11931 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11932 comint-preoutput-filter-functions rather than on
11933 comint-output-filter-functions.
11934 (shell-command-completion, shell--command-completion-data)
11935 (shell-filename-completion, shell-environment-variable-completion)
11936 (shell-c-a-p-replace-by-expanded-directory): New functions.
11937 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11938 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11939 (shell-dynamic-complete-environment-variable): Use them.
11940 (shell-dynamic-complete-as-environment-variable)
11941 (shell-dynamic-complete-as-command): Remove.
11942 (shell-match-partial-variable): Match past point.
11943 * comint.el: Clean up use of completion-at-point-functions.
11944 (comint-completion-at-point): New function.
11945 (comint-mode): Use it completion-at-point-functions.
11946 (comint-dynamic-complete): Make it obsolete.
11947 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11948 (comint-c-a-p-replace-by-expanded-history): New function.
11949 (comint-dynamic-complete-functions)
11950 (comint-replace-by-expanded-history): Use it.
11951 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11952 termination strings. Try harder to avoid second try-completion.
11953 (completion-in-region-mode-map): Disable bindings that don't work yet.
11954
11955 * comint.el: Use lexical-binding. Require CL.
11956 (comint-dynamic-complete-functions): Use comint-filename-completion.
11957 (comint-completion-addsuffix): Tweak custom type.
11958 (comint-filename-completion, comint--common-suffix)
11959 (comint--common-quoted-suffix, comint--table-subvert)
11960 (comint--complete-file-name-data): New functions.
11961 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11962 (comint-dynamic-list-filename-completions): Use them.
11963 (comint-dynamic-simple-complete): Make obsolete.
11964
11965 * minibuffer.el (completion-in-region-mode):
11966 Keep completion-in-region-mode--predicate global.
11967 (completion-in-region--postch):
11968 Assume completion-in-region-mode--predicate is not null.
11969
11970 * progmodes/flymake.el (flymake-start-syntax-check-process):
11971 Obey `dir'. Simplify.
11972
11973 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11974 we're in VC after all.
11975
11976 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11977
11978 * vc/vc.el (vc-diff-build-argument-list-internal)
11979 (vc-version-ediff, vc-ediff): New commands.
11980 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11981
11982 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11985 add sanity check.
11986
11987 * obsolete/erc-hecomplete.el: Make obsolete.
11988 * obsolete/: Standardize obsolescence info in the header.
11989
11990 2011-04-20 Glenn Morris <rgm@gnu.org>
11991
11992 * calendar/solar.el (solar-horizontal-coordinates):
11993 Use the longitude argument rather than `calendar-longitude'.
11994 (solar-date-next-longitude): Remove unused locals.
11995
11996 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11997
11998 * whitespace.el: New version 13.2.1.
11999
12000 2011-04-20 felix <EmacsWiki> (tiny change)
12001
12002 * whitespace.el (global-whitespace-mode): Keep highlight when
12003 switching between major modes on a file.
12004
12005 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12008 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12009 multi-line comments as well.
12010
12011 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12012
12013 Lexical-binding cleanup.
12014
12015 * arc-mode.el (archive-mode-revert):
12016 * cmuscheme.el (scheme-interactively-start-process):
12017 * custom.el (custom-initialize-delay):
12018 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12019 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12020 * emacs-lock.el (emacs-lock-clear-sentinel):
12021 * ezimage.el (defezimage):
12022 * follow.el (follow-avoid-tail-recenter):
12023 * fringe.el (set-fringe-mode-1):
12024 * generic-x.el (bat-generic-mode-compile):
12025 * help-mode.el (help-info-variable, help-do-xref)
12026 (help-mode-revert-buffer):
12027 * help.el (view-emacs-todo):
12028 * iswitchb.el (iswitchb-completion-help):
12029 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12030 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12031 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12032 * locate.el (locate-update):
12033 * longlines.el (longlines-encode-region)
12034 (longlines-after-change-function):
12035 * outline.el (outline-isearch-open-invisible):
12036 * ps-def.el (declare-function, charset-dimension, char-width)
12037 (encode-char):
12038 * ps-mule.el (ps-mule-plot-string):
12039 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12040 (recentf-edit-list-select, recentf-edit-list-validate)
12041 (recentf-open-files-action):
12042 * rect.el (delete-whitespace-rectangle-line)
12043 (rectangle-number-line-callback):
12044 * register.el (window-configuration-to-register)
12045 (frame-configuration-to-register):
12046 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12047 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12048 (xselect-convert-to-targets, xselect-convert-to-delete)
12049 (xselect-convert-to-filename, xselect-convert-to-charpos)
12050 (xselect-convert-to-lineno, xselect-convert-to-colno)
12051 (xselect-convert-to-os, xselect-convert-to-host)
12052 (xselect-convert-to-user, xselect-convert-to-class)
12053 (xselect-convert-to-name, xselect-convert-to-integer)
12054 (xselect-convert-to-atom, xselect-convert-to-identity):
12055 * subr.el (declare, ignore, process-kill-without-query)
12056 (text-clone-maintain):
12057 * terminal.el (te-get-char, te-tic-sentinel):
12058 * tool-bar.el (tool-bar-make-keymap):
12059 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12060 * type-break.el (type-break-mode, type-break-noninteractive-query):
12061 * view.el (View-back-to-mark):
12062 * wid-browse.el (widget-browse-action, widget-browse-widget)
12063 (widget-browse-widgets, widget-browse-sexp):
12064 * widget.el (define-widget-keywords):
12065 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12066 Mark unused parameters.
12067
12068 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12069 (align-areas): Remove unused variable `look'.
12070 (align-region): Remove unused variables `real-end' and `pos-list'.
12071
12072 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12073
12074 * bindings.el (mode-line-modified, mode-line-remote):
12075 Mark unused parameters.
12076 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12077
12078 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12079 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12080
12081 * comint.el (comint-history-isearch-pop-state)
12082 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12083 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12084 (comint-substitute-in-file-name): Doc fix.
12085
12086 * completion.el (cmpl-statistics-block): Mark unused parameter.
12087 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12088 (save-completions-to-file, load-completions-from-file):
12089 Remove unused local variable `e'.
12090
12091 * composite.el (compose-chars): Remove unused variable `len'.
12092 (lgstring-insert-glyph): Remove unused variable `g'.
12093 (compose-glyph-string): Remove unused variables `ascent',
12094 `descent', `lbearing' and `rbearing'.
12095 (compose-glyph-string-relative): Remove unused variables
12096 `lbearing', `rbearing' and `wadjust'.
12097 (compose-gstring-for-graphic): Remove unused variables `header',
12098 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12099 (compose-gstring-for-terminal): Remove unused variables `header'
12100 and `nchars'. Use `let', not `let*'.
12101
12102 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12103 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12104 (Custom-buffer-done, custom-buffer-create-internal)
12105 (custom-browse-visibility-action, custom-browse-group-tag-action)
12106 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12107 (widget-magic-mouse-down-action, custom-toggle-parent)
12108 (custom-add-parent-links, custom-toggle-hide-variable)
12109 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12110 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12111 (custom-face-menu-create, custom-variable-menu-create, get)
12112 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12113 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12114 (customize-apropos): Remove unused variable `tests'.
12115 (custom-group-value-create): Remove unused variable `hidden-p'.
12116 (sort-fold-case): Declare.
12117
12118 * cus-theme.el (custom-reset-standard-faces-list)
12119 (custom-reset-standard-variables-list): Declare.
12120 (customize-create-theme, custom-theme-revert, custom-theme-write)
12121 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12122 Mark unused parameters.
12123
12124 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12125
12126 * delim-col.el (delimit-columns-max): Move defvar before first use.
12127
12128 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12129 (describe-char): Don't quote `lambda'. Mark unused parameter.
12130
12131 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12132 (auto-insert): Declare.
12133 (desktop-restore-file-buffer): Rename desktop-* parameters;
12134 mark unused ones.
12135 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12136 (desktop-buffer): Rename desktop-* parameters.
12137
12138 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12139 (dframe-reposition-frame-xemacs, dframe-help-echo)
12140 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12141 Mark unused parameters.
12142
12143 * dired-aux.el (backup-extract-version-start, overwrite-query)
12144 (overwrite-backup-query, rename-regexp-query)
12145 (rename-non-directory-query): Declare.
12146 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12147 (dired-add-entry): Remove unused variable `orig-file-name'.
12148 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12149 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12150 `dired-copy-preserve-time' directly.
12151 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12152 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12153
12154 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12155 (dired-virtual-revert, dired-make-relative-symlink):
12156 Mark unused parameters.
12157 (manual-program): Declare.
12158 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12159 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12160 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12161
12162 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12163
12164 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12165
12166 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12167 Declare.
12168
12169 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12170
12171 * electric.el (Electric-command-loop): Rename parameter
12172 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12173
12174 * expand.el (expand-in-literal): Remove unused variable `here'.
12175
12176 * facemenu.el (facemenu-add-new-color):
12177 Remove unused variable `docstring'.
12178
12179 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12180 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12181 (face-attr-construct): Mark unused parameter. Doc fix.
12182 (read-color): Remove unused variable `hex-string'.
12183
12184 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12185 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12186 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12187 (display-buffer-other-frame): Remove unused variable `old-window'.
12188 (kill-buffer-hook): Declare.
12189 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12190 Mark unused parameters.
12191 (after-find-file): Pass 1 to `auto-save-mode', not t.
12192
12193 * files-x.el (auto-insert): Declare.
12194 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12195
12196 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12197 variable `buf'. Mark unused parameter.
12198 (find-lisp-insert-directory): Mark unused parameter.
12199
12200 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12201 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12202 (format-common-tail): Remove, unused.
12203 (format-deannotate-region): Remove unused variable `loc'.
12204 (format-annotate-region): Remove unused variable `p'.
12205 (format-annotate-single-property-change): Remove unused variables
12206 `default' and `tail'.
12207
12208 * forms.el (read-file-filter): Declare.
12209 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12210
12211 * frame.el (frame-creation-function-alist): Mark unused parameter.
12212 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12213
12214 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12215 Remove unused parameters.
12216 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12217 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12218
12219 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12220 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12221 (hfy-prepare-tag-map): Mark unused parameters.
12222 (htmlfontify-buffer): Use `called-interactively-p'.
12223
12224 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12225 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12226 (ibuffer-do-occur): Mark unused parameters.
12227 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12228 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12229
12230 * ibuffer.el: Don't quote `lambda'.
12231 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12232 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12233 Mark unused parameters.
12234
12235 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12236 (ido-completing-read): Mark unused parameters.
12237 (ido-copy-current-word): Mark unused parameters;
12238 remove unused variable `name'.
12239 (ido-sort-merged-list): Remove unused parameter `dirs'.
12240
12241 * ielm.el (ielm-input-sender): Mark unused parameter.
12242 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12243 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12244 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12245 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12246 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12247
12248 * image-dired.el (image-dired-display-thumbs): Remove unused
12249 variables `curr-file' and `count'.
12250 (image-dired-remove-tag): Remove unused variable `start'.
12251 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12252 variable `curr-file'
12253 (image-dired-rotate-original): Remove unused variable `temp-file'.
12254 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12255 Remove unused variable `file'.
12256 (image-dired-gallery-generate): Remove unused variable `curr'.
12257 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12258
12259 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12260
12261 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12262
12263 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12264
12265 * isearch.el (minibuffer-history-symbol): Declare.
12266 (isearch-edit-string): Remove unused variable `err'.
12267 (isearch-message-prefix, isearch-message-suffix):
12268 Mark unused parameters.
12269
12270 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12271
12272 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12273
12274 * makesum.el (double-column): Remove unused variable `cnt'.
12275
12276 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12277 (ido-ignore-item-temp-list): Declare.
12278
12279 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12280 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12281 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12282 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12283 `mouse-col-delta'.
12284
12285 * mouse-sel.el (mouse-extend-internal):
12286 Remove unused variable `orig-window-frame'.
12287
12288 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12289 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12290 Move declarations before first use.
12291 (pcomplete-opt): Mark unused parameters; doc fix.
12292
12293 * proced.el (proced-revert): Mark unused parameter.
12294 (proced-send-signal): Remove unused variable `err'.
12295
12296 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12297 Rename parameter PREFIX-ARG to ARG.
12298 (ps-basic-plot-string, ps-basic-plot-whitespace):
12299 Mark unused parameters.
12300
12301 * replace.el (replace-count): Define.
12302 (occur-revert-function): Mark unused parameters.
12303 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12304 (isearch-case-fold-search, isearch-string): Declare.
12305 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12306 bind `case-fold-search'. Remove unused variables `beg' and `end',
12307 and simplify.
12308 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12309 COUNT and bind `replace-count'.
12310 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12311 to COUNT.
12312
12313 * savehist.el (print-readably, print-string-length): Declare.
12314
12315 * shadowfile.el (shadow-expand-cluster-in-file-name):
12316 Remove unused variable `cluster'.
12317 (shadow-copy-file): Remove unused variable `i'.
12318 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12319 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12320 (shadow-define-literal-group, shadow-define-regexp-group)
12321 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12322
12323 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12324 (shell): Use `called-interactively-p'.
12325 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12326
12327 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12328 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12329 (delete-backward-char): Remove unused variable `ocol'.
12330 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12331 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12332 (event-apply-hyper-modifier, event-apply-shift-modifier)
12333 (event-apply-control-modifier, event-apply-meta-modifier):
12334 Mark unused parameters.
12335 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12336 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12337
12338 * speedbar.el (speedbar-ignored-directory-expressions)
12339 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12340 (speedbar-find-file, speedbar-dir-follow)
12341 (speedbar-directory-buttons-follow, speedbar-tag-find)
12342 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12343 (speedbar-buffers-line-directory, speedbar-buffer-click):
12344 Mark unused parameters.
12345 (speedbar-tag-file): Remove unused variable `mode'.
12346 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12347
12348 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12349
12350 * talk.el (talk): Remove unused variable `display'.
12351
12352 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12353 (tar-write-region-annotate): Mark unused parameter.
12354
12355 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12356 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12357 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12358 warning by another.
12359
12360 * time-stamp.el (time-stamp-string-preprocess):
12361 Remove unused variable `require-padding'.
12362
12363 * tree-widget.el (widget-glyph-enable): Declare.
12364 (tree-widget-action): Mark unused parameter.
12365
12366 * w32-fns.el (x-get-selection): Mark unused parameter.
12367 (autoload-make-program, generated-autoload-file): Declare.
12368
12369 * wdired.el (wdired-revert): Mark unused parameters.
12370 (wdired-xcase-word): Remove unused variable `err'.
12371
12372 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12373 (whitespace-help-scroll): Remove unused variable `data-help'.
12374
12375 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12376 (widget-image-insert, widget-after-change, default)
12377 (widget-default-format-handler, widget-default-notify)
12378 (widget-default-prompt-value, widget-info-link-action)
12379 (widget-url-link-action, widget-function-link-action)
12380 (widget-variable-link-action, widget-file-link-action)
12381 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12382 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12383 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12384 (widget-insert-button-action, widget-delete-button-action, visibility)
12385 (widget-documentation-link-action, widget-documentation-string-action)
12386 (widget-const-prompt-value, widget-regexp-match, symbol)
12387 (widget-coding-system-prompt-value)
12388 (widget-key-sequence-value-to-external, sexp)
12389 (widget-sexp-value-to-internal, character, vector, cons)
12390 (widget-choice-prompt-value, widget-boolean-prompt-value)
12391 (widget-color--choose-action): Mark unused parameters.
12392 (widget-item-match-inline, widget-choice-match-inline)
12393 (widget-checklist-match, widget-checklist-match-inline)
12394 (widget-group-match): Rename parameter VALUES to VALS.
12395 (widget-field-value-set): Remove unused variable `size'.
12396 (widget-color-action): Remove unused variables `value' and `start'.
12397
12398 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12399 variable `dir'. Doc fix.
12400 (windmove-find-other-window): Don't pass it.
12401
12402 * window.el (count-windows): Mark unused parameter.
12403 (bw-adjust-window): Remove unused variable `err'.
12404
12405 * woman.el (woman-file-name): Remove unused variable `default'.
12406 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12407 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12408 (global-font-lock-mode): Declare.
12409 (woman-decode-region): Mark unused parameter.
12410 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12411
12412 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12413 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12414 (x-dnd-handle-moz-url): Remove unused variable `title'.
12415 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12416
12417 * xml.el (xml-parse-tag, xml-parse-attlist):
12418 Remove unused variable `pos'.
12419
12420 2011-04-19 Glenn Morris <rgm@gnu.org>
12421
12422 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12423 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12424 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12425 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12426 * calendar/cal-html.el (cal-html-insert-minical):
12427 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12428 (calendar-mark-date-pattern):
12429 Prefix "unused" locals.
12430
12431 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12432 optional argument `style'.
12433
12434 * calendar/appt.el (appt-make-list):
12435 * calendar/cal-china.el (calendar-chinese-date-string):
12436 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12437 (diary-hebrew-yahrzeit):
12438 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12439 * calendar/calendar.el (calendar-generate-window):
12440 * calendar/time-date.el (time-to-days):
12441 Remove unused local variables.
12442
12443 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12444
12445 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12446 glyphless-char-display table.
12447 (tabulated-list-glyphless-char-display): New var.
12448
12449 2011-04-18 Sam Steingold <sds@gnu.org>
12450
12451 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12452 to acknowledgments.
12453
12454 2011-04-17 Glenn Morris <rgm@gnu.org>
12455
12456 * calendar/diary-lib.el (diary-sexp-entry):
12457 * calendar/holidays.el (holiday-sexp):
12458 Set debug-on-error rather than the removed stack-trace-on-error.
12459
12460 2011-04-16 Glenn Morris <rgm@gnu.org>
12461
12462 * progmodes/f90.el: Use lexical-binding.
12463 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12464
12465 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12466
12467 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12468 (mail-mode): Setup mailalias completion here instead.
12469 * mail/mailalias.el: Use lexical-binding.
12470 (pattern, mailalias-done): Declare dynamic.
12471 (mail-completion-at-point-function): New function, from mail-complete.
12472 (mail-complete): Use it.
12473 (mail-completion-expand): New function.
12474 (mail-get-names): Use it.
12475 (mail-directory, mail-directory-process, mail-directory-stream):
12476 Don't use `pattern' for lexically bound arg.
12477
12478 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12479
12480 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12481 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12482 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12483
12484 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12485 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12486 (byte-interactive-p): Define them again, for use when inlining
12487 old code.
12488
12489 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12490
12491 * loadup.el: Use `string-to-number', not `string-to-int'.
12492
12493 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12496 gud-gdb-complete-command.
12497 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12498 (gud-gdb-completion-at-point): New function.
12499 (gud-gdb-completions): Remove.
12500
12501 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12502
12503 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12504 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12505 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12506 whether `executable-find' is bound.
12507
12508 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12509
12510 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * minibuffer.el (completion-in-region-mode-predicate)
12513 (completion-in-region-mode--predicate): New vars.
12514 (completion-in-region, completion-in-region--postch)
12515 (completion-in-region-mode): Use them.
12516 (completion--capf-wrapper): Also return the hook function.
12517 (completion-at-point, completion-help-at-point):
12518 Adjust and provide a predicate.
12519
12520 Preserve arg names for advice of subr and lexical functions (bug#8457).
12521 * help-fns.el (help-function-arglist): Consolidate the subr and
12522 new-byte-code cases. Add argument `preserve-names' to extract names
12523 from the docstring when needed.
12524 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12525 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12526 (ad-arglist): Use help-function-arglist's new arg.
12527 (ad-definition-type): Use cond.
12528
12529 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12530
12531 * autorevert.el (auto-revert-handler):
12532 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12533 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12534 Don't quote lambda.
12535
12536 * image-mode.el (image-transform-set-scale):
12537 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12538
12539 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12540
12541 * net/network-stream.el (network-stream-open-starttls): Only do
12542 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12543 Upgrades via gnutls-cli are too slow to be done opportunistically.
12544
12545 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12546
12547 * dframe.el (dframe-current-frame): Remove spurious quote.
12548
12549 2011-04-12 Glenn Morris <rgm@gnu.org>
12550
12551 * calendar/cal-tex.el (cal-tex-end-document):
12552 Try to automatically use latin1 input if needed.
12553
12554 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12555 Don't try to cons a mark onto an empty element.
12556
12557 2011-04-11 Leo Liu <sdl.web@gmail.com>
12558
12559 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12560 buffers.
12561 (ido-kill-buffer-at-head): Support killing virtual buffers.
12562
12563 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12564
12565 * minibuffer.el (completion-show-inline-help): New var.
12566 (completion--do-completion, minibuffer-complete)
12567 (minibuffer-force-complete, minibuffer-complete-word):
12568 Inhibit minibuffer messages if completion-show-inline-help is nil.
12569
12570 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12571 to avoid interference from inline help (Bug#5849).
12572
12573 2011-04-10 Leo Liu <sdl.web@gmail.com>
12574
12575 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12576 Fix typo.
12577
12578 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12579
12580 * image-mode.el (image-toggle-display-image): Signal an error if
12581 not in Image mode.
12582 (image-transform-mode, image-transform-resize)
12583 (image-transform-set-rotation): Doc fix.
12584 (image-transform-set-resize): Delete.
12585 (image-transform-set-scale, image-transform-fit-to-height)
12586 (image-transform-fit-to-width): Handle image-toggle-display-image
12587 and image-transform-resize directly.
12588
12589 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12590
12591 * doc-view.el (doc-view-fit-width-to-window)
12592 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12593 New functions for fitting the shown image to the Emacs window size.
12594 (doc-view-mode-map): Add bindings for the new functions.
12595
12596 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12597
12598 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12599 Fix typo in docstring.
12600
12601 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12602
12603 * files.el (file-size-human-readable): Produce one digit after
12604 decimal, like "ls -lh" does.
12605
12606 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12607 the file size representation.
12608
12609 * simple.el (list-processes): If async subprocesses are not
12610 available, error out with a clear error message.
12611
12612 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12613
12614 * help.el (help-form-show): New function, to be called from C.
12615 Put help-form output in a buffer named differently than *Help*.
12616
12617 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12618
12619 * files.el (file-size-human-readable): New function.
12620
12621 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12622 computing the representation inline. Don't require `cl'.
12623
12624 2011-04-08 Glenn Morris <rgm@gnu.org>
12625
12626 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12627
12628 * net/browse-url.el (browse-url-firefox):
12629 Test system-type, not system-configuration.
12630
12631 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12632 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12633 Use log-edit-empty-buffer-p. (Bug#7598)
12634
12635 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12636 (rlogin-mode-map): Initialize in the defvar.
12637 (rlogin): Use ignore-errors.
12638
12639 * replace.el (occur-mode-map): Some fixes for menu items.
12640
12641 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12642
12643 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12644
12645 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12646
12647 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12648 issuing unused warnings.
12649
12650 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12651 macro directly.
12652
12653 * simple.el: Lisp reimplement of list-processes. Based on an
12654 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12655 (process-menu-mode): New major mode.
12656 (list-processes--refresh, list-processes):
12657 (process-menu-visit-buffer): New functions.
12658
12659 * files.el (save-buffers-kill-emacs): Don't assume any return
12660 value of list-processes, which is undocumented anyway.
12661
12662 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12663
12664 * emacs-lisp/tabulated-list.el: New file.
12665
12666 * emacs-lisp/package.el: Use Tabulated List mode.
12667 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12668 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12669 table format using Tabulated List mode variables.
12670 (package--push): New macro, replacing package-list-maybe-add.
12671 (package-menu--generate): Use package--push. Renamed from
12672 package--generate-package-list.
12673 (package-menu-refresh, list-packages): Use it.
12674 (package-menu--print-info): Rename from package-print-package.
12675 Return insertion data instead of inserting it directly.
12676 (package-menu-describe-package, package-menu-execute):
12677 Use tabulated-list-get-id.
12678 (package-menu-mark-delete, package-menu-mark-install)
12679 (package-menu-mark-unmark, package-menu-backup-unmark)
12680 (package-menu-mark-obsolete-for-deletion):
12681 Use tabulated-list-put-tag.
12682 (package--list-packages, package-menu-revert)
12683 (package-menu-get-package, package-menu-get-version)
12684 (package-menu-sort-by-column): Functions deleted.
12685 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12686 (package-menu--status-predicate, package-menu--version-predicate)
12687 (package-menu--name-predicate)
12688 (package-menu--description-predicate): Handle arguments in the
12689 Tabulated List format.
12690 (package-list-packages-no-fetch): Call list-packages.
12691
12692 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12693
12694 * files.el (after-find-file-from-revert-buffer): Remove variable.
12695 (after-find-file): Don't bind it.
12696 (revert-buffer-in-progress-p): New variable.
12697 (revert-buffer): Bind it.
12698 Pass nil for `after-find-file-from-revert-buffer'.
12699
12700 * saveplace.el (save-place-find-file-hook): Use new variable
12701 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12702
12703 2011-04-06 Glenn Morris <rgm@gnu.org>
12704
12705 * Makefile.in (AUTOGEN_VCS): New variable.
12706 (autoloads): Use $AUTOGEN_VCS.
12707
12708 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12709 * calendar/calendar.el (calendar-mode-map):
12710 Check for toolkit scroll bars. (Bug#8305)
12711
12712 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12713
12714 * minibuffer.el (completion-in-region--postch)
12715 (completion-in-region-mode): Remove unnecessary messages.
12716
12717 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12718
12719 * font-lock.el (font-lock-refresh-defaults):
12720 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12721 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12722
12723 * info.el (Info-directory-list, Info-read-node-name-2)
12724 (Info-split-parameter-string): Doc fixes.
12725 (Info-virtual-nodes): Reflow docstring.
12726 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12727 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12728 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12729 Fix typos in docstrings.
12730 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12731 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12732 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12733 (Info-restore-desktop-buffer): Mark unused parameters.
12734 (Info-directory-find-file, Info-directory-find-node)
12735 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12736 (Info-virtual-index-find-node, Info-apropos-find-file)
12737 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12738 Mark unused parameters; fix typos in docstrings.
12739 (Info-virtual-index): Remove unused local variable `nodename'.
12740
12741 2011-04-05 Deniz Dogan <deniz@dogan.se>
12742
12743 * net/rcirc.el: Update my e-mail address.
12744 (rcirc-mode-map): Remove M-o binding.
12745
12746 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12747
12748 * startup.el (command-line): Save the cursor's theme-face
12749 directly, instead of using face-override-spec.
12750
12751 * custom.el (load-theme): Minor optimization in assigning faces.
12752
12753 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12754
12755 * help-fns.el (describe-variable): Complete all variables having
12756 documentation, including keywords.
12757 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12758
12759 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12760
12761 Convert to lexical-binding.
12762
12763 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12764 (bs--get-marked-string, bs--get-modified-string)
12765 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12766 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12767 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12768
12769 * ehelp.el (electric-help-execute-extended)
12770 (electric-help-ctrl-x-prefix):
12771 * hexl.el (hexl-revert-buffer-function):
12772 * linum.el (linum-after-change, linum-after-scroll):
12773 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12774
12775 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12776
12777 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12778
12779 * epa-dired.el:
12780 * epa-mail.el:
12781 * epa-hook.el:
12782 * epa-file.el:
12783 * epa.el:
12784 * epg.el: Use lexical binding.
12785
12786 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12787
12788 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12789
12790 * textmodes/flyspell.el (flyspell-word): Recognize default
12791 dictionary case for flyspell-mark-duplications-exceptions.
12792 Use regexp matching for languages.
12793 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12794 default dictionary (Bug#7926).
12795
12796 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12797
12798 * emacs-lisp/package.el (package--with-work-buffer):
12799 Recognize https URLs.
12800
12801 * net/network-stream.el: Move from gnus/proto-stream.el.
12802 Change prefix to network-stream throughout.
12803 (open-protocol-stream): Merge into open-network-stream, leaving
12804 open-protocol-stream as an alias. Handle nil BUFFER args.
12805
12806 * subr.el (open-network-stream): Move to net/network-stream.el.
12807
12808 2011-04-02 Glenn Morris <rgm@gnu.org>
12809
12810 * find-dired.el (find-exec-terminator): New option.
12811 (find-ls-option): Test for -ls support.
12812 (find-ls-subdir-switches): Test for -b in find-ls-option.
12813 (find-dired, find-grep-dired): Doc fixes.
12814 (find-dired): Use find-exec-terminator.
12815
12816 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12817 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12818 (find-name-arg): Remove purecopy.
12819
12820 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12821 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12822 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12823 accordingly. Don't add the null-device if not needed.
12824
12825 * files.el (save-some-buffers): Doc fix.
12826
12827 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12828
12829 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12830
12831 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12832
12833 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12834 Use `dolist' rather than `mapcar'.
12835
12836 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12837
12838 Add lexical binding.
12839
12840 * subr.el (apply-partially): Use new closures rather than CL.
12841 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12842 (dolist, dotimes): Use slightly different expansion for lexical code.
12843 (functionp): Move to C.
12844 (letrec): New macro.
12845 (with-wrapper-hook): Use it and apply-partially instead of CL.
12846 (eval-after-load): Preserve lexical-binding.
12847 (save-window-excursion, with-output-to-temp-buffer): Turn them
12848 into macros.
12849
12850 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12851
12852 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12853 than the arglist.
12854 (help-add-fundoc-usage): Don't add `Not documented'.
12855 (help-function-arglist): Handle closures, subroutines, and new
12856 byte-code-functions.
12857 (help-make-usage): Remove leading underscores.
12858 (describe-function-1): Handle closures.
12859 (describe-variable): Use special-variable-p for completion.
12860
12861 * files.el (lexical-binding): Declare safe.
12862
12863 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12864 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12865 (pcase): Add `let' pattern.
12866 Change memoization so it actually works.
12867 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12868 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12869 <let>: New case.
12870
12871 * emacs-lisp/macroexp.el: Use lexical binding.
12872 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12873 Don't convert ' to #' without checking that it's indeed quoting
12874 a lambda.
12875
12876 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12877 Use eval-sexp-add-defvars.
12878 (eval-sexp-add-defvars): New fun.
12879
12880 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12881
12882 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12883 Don't autoload.
12884 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12885 than the internal `byte-compile-lambda'.
12886 (defmethod): Don't hide code under quotes.
12887 (eieio-defmethod): New `code' argument.
12888
12889 * emacs-lisp/eieio-comp.el: Remove.
12890
12891 * emacs-lisp/edebug.el (edebug-eval-defun)
12892 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12893 (edebug-toggle): Avoid `eval'.
12894
12895 * emacs-lisp/disass.el (disassemble-internal): Handle new
12896 `closure' objects.
12897 (disassemble-1): Handle new byte codes.
12898
12899 * emacs-lisp/cl.el (pushnew): Silence warning.
12900
12901 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12902 (cl-byte-compile-throw): Remove.
12903 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12904
12905 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12906 closures.
12907
12908 * emacs-lisp/cconv.el: New file.
12909
12910 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12911 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12912 (byte-compile-initial-macro-environment):
12913 Handle declare-function here.
12914 (byte-compile--lexical-environment): New var.
12915 (byte-stack-ref, byte-stack-set, byte-discardN)
12916 (byte-discardN-preserve-tos): New lap codes.
12917 (byte-interactive-p): Don't use any more.
12918 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12919 New macros.
12920 (byte-compile-lapcode): Use them and handle new lap codes.
12921 (byte-compile-obsolete): Remove.
12922 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12923 (byte-compile-arglist-warn): Check late def of inlinable funs.
12924 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12925 since they should have been expanded by now.
12926 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12927 (byte-compile-from-buffer): Remove unused second arg.
12928 (byte-compile-preprocess): New function.
12929 (byte-compile-toplevel-file-form): New function to distinguish
12930 file-form calls from outside from file-form calls from hunk-handlers.
12931 (byte-compile-file-form): Simplify.
12932 (byte-compile-file-form-defsubst): Remove.
12933 (byte-compile-file-form-defmumble): Simplify now that
12934 byte-compile-lambda always returns a byte-code-function.
12935 (byte-compile): Preprocess.
12936 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12937 Remove, not used any more.
12938 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12939 (byte-compile-make-args-desc): New funs.
12940 (byte-compile-lambda): Handle lexical functions. Always return
12941 a byte-code-function.
12942 (byte-compile-reserved-constants): New var, to make up room for
12943 closed-over variables.
12944 (byte-compile-constants-vector): Obey it.
12945 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12946 (byte-compile-macroexpand-declare-function): New function.
12947 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12948 byte-code-functions.
12949 (byte-compile-form): Check obsolescence here.
12950 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12951 (byte-compile-variable-ref): Remove.
12952 (byte-compile-dynamic-variable-op): New fun.
12953 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12954 (byte-compile-variable-set): New funs.
12955 (byte-compile-discard): Add 2 args.
12956 (byte-compile-stack-ref, byte-compile-stack-set)
12957 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12958 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12959 macroexpand-all instead.
12960 (byte-compile-quote-form): Remove.
12961 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12962 (byte-compile-bind, byte-compile-unbind): New funs.
12963 (byte-compile-let): Handle let* and lexical binding.
12964 (byte-compile-let*): Remove.
12965 (byte-compile-catch, byte-compile-unwind-protect)
12966 (byte-compile-track-mouse, byte-compile-condition-case):
12967 Handle a new :fun-body form, used for lexical scoping.
12968 (byte-compile-save-window-excursion)
12969 (byte-compile-with-output-to-temp-buffer): Remove.
12970 (byte-compile-defun): Simplify.
12971 (byte-compile-stack-adjustment): New fun.
12972 (byte-compile-out): Use it.
12973 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12974
12975 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12976 handler any more.
12977
12978 * emacs-lisp/byte-opt.el: Use lexical binding.
12979 (byte-inline-lapcode): Remove (to bytecomp).
12980 (byte-compile-inline-expand): Pay attention to inlining to/from
12981 lexically bound code.
12982 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12983 any more.
12984 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12985 any more and don't call compiler-macros.
12986 (byte-compile-splice-in-already-compiled-code): Remove.
12987 (byte-code): Don't inline any more.
12988 (disassemble-offset): Receive `bytes' as argument rather than via
12989 dynamic scoping.
12990 (byte-compile-tag-number): Declare before first use.
12991 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12992 `return' even if make-spliceable.
12993 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12994 obsolete interactive-p.
12995 (byte-optimize-lapcode): Optimize new lap-codes.
12996 Don't trip up on new form of `byte-constant' lap code.
12997
12998 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12999
13000 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13001
13002 * custom.el (custom-initialize-default, custom-declare-variable):
13003 Use `defvar'.
13004
13005 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13006 New variables.
13007 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13008 (COMPILE_FIRST): Add macroexp and cconv.
13009 * makefile.w32-in: Mirror changes in Makefile.in.
13010
13011 * vc/cvs-status.el:
13012 * vc/diff-mode.el:
13013 * vc/log-edit.el:
13014 * vc/log-view.el:
13015 * vc/smerge-mode.el:
13016 * textmodes/bibtex-style.el:
13017 * textmodes/css.el:
13018 * startup.el:
13019 * uniquify.el:
13020 * minibuffer.el:
13021 * newcomment.el:
13022 * reveal.el:
13023 * server.el:
13024 * mpc.el:
13025 * emacs-lisp/smie.el:
13026 * doc-view.el:
13027 * dired.el:
13028 * abbrev.el: Use lexical binding.
13029
13030 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13031
13032 * info.el (info-display-manual): New function.
13033
13034 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13035
13036 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13037
13038 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13039
13040 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13041 an entry for that server in rcirc-authinfo. (Bug#8385)
13042
13043 2011-03-31 Glenn Morris <rgm@gnu.org>
13044
13045 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13046
13047 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13048
13049 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13050
13051 * progmodes/python.el (python-default-interpreter)
13052 (python-python-command-args, python-jython-command-args)
13053 (python-which-shell, python-which-args, python-which-bufname)
13054 (python-file-queue, python-comint-output-filter-function)
13055 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13056 variables and functions.
13057
13058 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13059
13060 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13061 (completion-in-region-mode): New minor mode.
13062 (completion-in-region): Use it.
13063 (completion-in-region--data, completion-in-region-mode-map): New vars.
13064 (completion-in-region--postch): New function.
13065 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13066 New vars.
13067 (completion--capf-wrapper): New function.
13068 (completion-at-point): Use it to track well-behavedness of
13069 hook functions.
13070 (completion-help-at-point): New command.
13071
13072 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13073
13074 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13075 syntax class to search for whitespace on a single line
13076 (Message-ID: <4D938140.4030905@redhat.com>).
13077
13078 2011-03-30 Leo Liu <sdl.web@gmail.com>
13079
13080 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13081 New commands.
13082 (edit-abbrevs-map): Bind them here.
13083 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13084
13085 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13086
13087 * allout.el (allout-hide-by-annotation, allout-flag-region):
13088 Reduce possibility of overlay leakage by making them volatile.
13089
13090 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13091 hash is not shared between buffers. Mode initialization is
13092 responsible for giving it a useful starting value.
13093 (allout-item-span): Reduce possibility of overlay leakage by
13094 making them volatile.
13095 (allout-widgets-count-buttons-in-region): Add diagnostic function
13096 for tracking down button overlay leaks.
13097
13098 2011-03-29 Leo Liu <sdl.web@gmail.com>
13099
13100 * ido.el (ido-read-internal): Use the default history var
13101 minibuffer-history if no HISTORY is specified.
13102
13103 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13104
13105 * net/imap.el (imap-shell-open, imap-process-connection-type):
13106 Use imap-process-connection-type for 'shell' streams as well as
13107 Kerberos, SSL, other subprocesses.
13108
13109 2011-03-28 Leo Liu <sdl.web@gmail.com>
13110
13111 * abbrev.el (abbrev-table-empty-p): New function.
13112 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13113 nonempty ones. (Bug#5937)
13114
13115 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13116
13117 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13118
13119 2011-03-27 Leo Liu <sdl.web@gmail.com>
13120
13121 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13122 for foreground and background colors.
13123 (ansi-color-make-color-map): Adapt.
13124
13125 2011-03-25 Leo Liu <sdl.web@gmail.com>
13126
13127 * midnight.el (midnight-time-float): Remove. Note it calculates
13128 the microsecond component incorrectly and seconds-to-time does the
13129 same job.
13130 Remove redundant (require 'timer).
13131
13132 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13133 (ido-completions): Remove unused arguments. (Bug#8329)
13134
13135 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * minibuffer.el (completion--flush-all-sorted-completions):
13138 Remove itself from hook.
13139 (completion-at-point): Let the functions perform the completion
13140 immediately and return nil or t.
13141 * comint.el (comint-dynamic-complete-functions): Now identical to
13142 completion-at-point-functions.
13143 (comint-dynamic-list-input-ring): Remove unused var `index'.
13144 (comint--match-partial-filename, comint--unquote&expand-filename):
13145 New funs, split from comint-match-partial-filename.
13146 (comint-dynamic-complete): Use completion-at-point.
13147 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13148
13149 2011-03-24 Drew Adams <drew.adams@oracle.com>
13150
13151 * thingatpt.el: Support `defun'.
13152
13153 2011-03-23 Leo Liu <sdl.web@gmail.com>
13154
13155 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13156
13157 * help-mode.el (help-mode-finish): Tweak regexp.
13158
13159 2011-03-23 Glenn Morris <rgm@gnu.org>
13160
13161 * eshell/esh-opt.el (eshell-eval-using-options):
13162 Do not bind unused local variable `eshell-option-stub'.
13163
13164 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13165
13166 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13167
13168 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13169 keymap variable in `with-no-warnings' to avoid a warning when the
13170 keymap has been already `defconst'ed.
13171
13172 2011-03-22 Leo Liu <sdl.web@gmail.com>
13173
13174 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13175 encode all chars in abbrevs; otherwise use emacs-mule or
13176 utf-8-emacs. (Bug#8308)
13177
13178 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13179
13180 * simple.el (backward-delete-char-untabify):
13181 Avoid warning about using `delete-backward-char'.
13182
13183 * image.el (image-type-file-name-regexps): Make it variable.
13184 `imagemagick-register-types' modifies it, and the user may want
13185 to add new extensions for known image types.
13186 (imagemagick-register-types): Throw error if not using ImageMagick.
13187
13188 2011-03-22 Leo Liu <sdl.web@gmail.com>
13189
13190 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13191 located before rcirc-prompt-end-marker.
13192 (rcirc-complete): Error if point is not after rcirc prompt.
13193 Handle the case when table is nil.
13194 (rcirc-user-authenticated): Define to fix compiler warning.
13195
13196 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13197
13198 * custom.el (custom--inhibit-theme-enable): Make it affect only
13199 custom-theme-set-variables and custom-theme-set-faces.
13200 (provide-theme): Ignore custom--inhibit-theme-enable.
13201 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13202 (custom-enabling-themes): Delete variable.
13203 (enable-theme): Accept only loaded themes as arguments.
13204 Ignore the special custom-enabled-themes variable.
13205 (custom-enabled-themes): Forbid themes from setting this.
13206 Eliminate use of custom-enabling-themes.
13207 (custom-push-theme): Quote "changed" custom var entry.
13208
13209 2011-03-21 Leo Liu <sdl.web@gmail.com>
13210
13211 * ido.el (ido-read-internal): Add ido-selected to history instead
13212 of user input.
13213
13214 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13215
13216 * subr.el (deferred-action-list, deferred-action-function):
13217 Mark obsolete.
13218
13219 2011-03-21 Leo Liu <sdl.web@gmail.com>
13220
13221 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13222 change on 2011-02-13 (bug#8309).
13223
13224 * minibuffer.el (read-file-name-function): Change default value.
13225 (read-file-name--defaults): Rename from read-file-name-defaults.
13226 (read-file-name-default): Rename from read-file-name.
13227 (read-file-name): Call read-file-name-function.
13228
13229 2011-03-21 Glenn Morris <rgm@gnu.org>
13230
13231 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13232 Doc fixes.
13233
13234 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13235
13236 * cus-theme.el: Add missing provide statement.
13237 (customize-create-theme): Extract theme value correctly.
13238 (custom-theme-visit-theme): Autoload.
13239 (customize-create-theme): Prompt before inserting default faces.
13240
13241 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13242
13243 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13244 units and musical notes.
13245
13246 2011-03-20 Leo Liu <sdl.web@gmail.com>
13247
13248 * ido.el (ido-read-internal): Use completing-read-default.
13249 (ido-completing-read): Fix compatibility with completing-read.
13250
13251 2011-03-20 Christian Ohler <ohler@gnu.org>
13252
13253 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13254 (ert-delete-all-tests): Use `called-interactively-p' rather than
13255 `interactive-p'.
13256 (ert--make-xrefs-region): Respect END.
13257
13258 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13259
13260 * dired-aux.el (dired-create-directory): Signal an error if the
13261 directory already exists (Bug#8246).
13262
13263 * facemenu.el (list-colors-display): Call list-faces-display
13264 inside with-help-window.
13265 (list-colors-print): Use display property to align the final
13266 column, instead of checking window-width.
13267
13268 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13269
13270 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13271 windows-nt systems.
13272 (emerge-protect-metachars): Quote correctly for ms-dos and
13273 windows-nt systems.
13274
13275 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13276
13277 * info.el (info-initialize): Replace all uses of `:' with
13278 path-separator for compatibility with non-Unix systems.
13279 Cache quoting of path-separator. (Bug#8258)
13280
13281 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13282
13283 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13284 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13285 (mouse-avoidance-mode): Fix typos in docstrings.
13286
13287 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13288
13289 * startup.el (package-subdirectory-regexp): Move from package.el.
13290 Omit \\` and \\', and let callers add them.
13291
13292 * emacs-lisp/package.el (package-strip-version)
13293 (package-load-all-descriptors): Add \\` and \\' to
13294 package-subdirectory-regexp before using it.
13295 (package-untar-buffer): New arg DIR; ensure that file untars only
13296 into this expected directory. Remove superfluous delete-region.
13297 (package-unpack): Caller changed.
13298 (package-tar-file-info): Use package-subdirectory-regexp.
13299
13300 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13301
13302 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13303 diff-mode-shared-map (bug#8284).
13304 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13305
13306 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13307
13308 * calendar/time-date.el (format-seconds): Use assoc instead of
13309 assoc-string, since assoc-string doesn't exist in XEmacs.
13310
13311 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13312
13313 * custom.el (custom-known-themes): Reflow docstring.
13314 (custom-theme-load-path): Fix typo in docstring.
13315 (load-theme): Fix typo in error message.
13316 (custom-available-themes, custom-variable-theme-value):
13317 Use `let', not `let*'.
13318
13319 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13320
13321 * calc/README: Mention inclusion of musical notes.
13322
13323 * calc/calc-units.el (calc-lu-quant): Rename from
13324 `calc-logunits-quantity'.
13325 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13326 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13327 (calc-db): Rename from `calc-dblevel'.
13328 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13329 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13330 (calc-np): Rename from `calc-nplevel'.
13331 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13332 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13333 (calc-lu-plus): Rename from `calc-logunits-add'.
13334 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13335 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13336 (calc-lu-minus): Rename from `calc-logunits-sub'.
13337 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13338 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13339 (calc-lu-times): Rename from `calc-logunits-mul'.
13340 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13341 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13342 (calc-lu-divide): Rename from `calc-logunits-div'.
13343 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13344 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13345
13346 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13347 functions being autoloaded.
13348
13349 * calc/calc.el (calc-lu-power-reference): Rename from
13350 `calc-logunits-power-reference'.
13351 (calc-lu-field-reference): Rename from
13352 `calc-logunits-field-reference'.
13353
13354 * calc/calc-help.el (calc-l-prefix-help):
13355 Mention musical note functions.
13356
13357 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * minibuffer.el (completion-all-sorted-completions):
13360 Use :completion-cycle-penalty text property if present.
13361
13362 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13363
13364 * allout.el (allout-yank-processing): Adjust for new rebulleting
13365 regime so bullet being yanked is used without prompting the user
13366 for a choice.
13367
13368 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13369
13370 * startup.el (command-line): Warn the user that _emacs is deprecated.
13371
13372 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13373
13374 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13375 (delphi-verbose, delphi-comment-face, delphi-string-face)
13376 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13377 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13378 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13379 (delphi-new-comment-line, delphi-font-lock-defaults)
13380 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13381 Fix typos in docstrings.
13382
13383 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13384
13385 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13386 Invert the roles of character and string values for INSTEAD, so a
13387 string is used for the more common case of a defaulting prompt.
13388
13389 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13390
13391 * progmodes/ruby-mode.el (ruby-backward-sexp):
13392 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13393 * play/gamegrid.el (gamegrid-make-face):
13394 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13395 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13396 * notifications.el (notifications-notify):
13397 * net/xesam.el (xesam-search-engines):
13398 * net/quickurl.el (quickurl-list-insert):
13399 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13400
13401 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13402
13403 * startup.el (command-line): Update package subdirectory regexp.
13404
13405 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13406
13407 * allout.el (allout-abbreviate-flattened-numbering)
13408 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13409
13410 * subr.el (read-char-choice): Only show the cursor after the prompt,
13411 not after the answer.
13412
13413 2011-03-15 Kevin Ryde <user42@zip.com.au>
13414
13415 * help-fns.el (variable-at-point): Skip leading quotes, if any
13416 (bug#8253).
13417
13418 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13419
13420 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13421 warning message.
13422
13423 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13424
13425 * shell.el (shell): When called interactively, offer to change the
13426 shell file name on remote hosts.
13427
13428 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13429
13430 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13431 integration for LDAP parameters. The host, base, user or binddn,
13432 and secret tokens can be specified in a netrc file, for instance.
13433 This is optional because an `auth-source' parameter must be
13434 specified in the search attributes.
13435
13436 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13437
13438 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13439
13440 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13441
13442 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13443 into declaration. Remove redundant and harmful binding.
13444
13445 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13446
13447 * files.el (file-ownership-preserved-p): Pass `integer' as an
13448 explicit 2nd argument to `file-attributes'. If the file's owner
13449 is the Administrators group on Windows, and the current user is
13450 Administrator, consider that a match.
13451
13452 * server.el (server-ensure-safe-dir): Consider server directory
13453 safe on MS-Windows if its owner is the Administrators group while
13454 the current Emacs user is Administrator. Use `=' to compare
13455 numerical UIDs, since they could be integers or floats.
13456
13457 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13458
13459 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13460
13461 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13462
13463 Sync with Tramp 2.2.1.
13464
13465 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13466
13467 * net/trampver.el: Update release number.
13468
13469 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13470
13471 * progmodes/compile.el (compilation--previous-directory): Fix up
13472 various nil/dead-marker mismatches (bug#8014).
13473 (compilation-directory-properties, compilation-error-properties):
13474 Don't call it at a position past the one we're about to change.
13475
13476 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13477 Disable obsolescence warnings in the file that declares it.
13478
13479 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13480
13481 * allout-widgets.el (allout-widgets-tally):
13482 Initialize allout-widgets-tally as a hash table rather than nil to
13483 prevent mode-line redisplay warnings. Also, clarify the module
13484 description and fix a comment typo.
13485
13486 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13487
13488 * help-fns.el (describe-variable): Don't complete keywords.
13489 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13490
13491 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13492
13493 * emacs-lisp/package.el (package-version-join): Impose a standard
13494 string representation for pre/alpha/beta version lists.
13495 (package-unpack-single): Standardize the directory name by passing
13496 it through package-version-join.
13497 (package-strip-rcs-id): Accept any version string that does not
13498 signal an error in version-to-list.
13499
13500 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13501
13502 * simple.el (delete-trailing-whitespace): Return nil for the
13503 benefit of `write-file-functions'.
13504
13505 2011-03-10 Glenn Morris <rgm@gnu.org>
13506
13507 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13508
13509 * vc/vc-git.el (vc-git-program): New option.
13510 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13511 (vc-git--call): Use it.
13512
13513 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13514
13515 * cus-edit.el (Custom-newline): If no button at point, look
13516 for a subgroup button at start-of-line. (Bug#2298)
13517
13518 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13519
13520 2011-03-10 Julien Danjou <julien@danjou.info>
13521
13522 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13523 `cursor-type' is nil.
13524
13525 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13526
13527 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13528
13529 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13530
13531 * allout.el: Change so yank of distinctive-bullet items
13532 preserves the existing header prefix, rebulleting it if necessary,
13533 rather than replacing it. This is necessary for proper operation
13534 of cooperative addons like allout-widgets.
13535 (allout-make-topic-prefix, allout-rebullet-heading):
13536 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13537 value as alternate bullet to be used, instead of prompting the user
13538 for a bullet character.
13539
13540 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13541
13542 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13543 Do not use `tramp-file-name-port', because this returns also
13544 `tramp-default-port'.
13545
13546 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13547
13548 * net/rcirc.el (rcirc-handler-001): Remove useless
13549 with-rcirc-process-buffer.
13550 (rcirc-check-auth-status): Swap arguments to string-match.
13551
13552 2011-03-09 Glenn Morris <rgm@gnu.org>
13553
13554 * shell.el (shell-mode):
13555 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13556
13557 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13558 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13559
13560 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13561
13562 * emacs-lisp/package.el (package-refresh-contents)
13563 (package-menu-execute): Use condition-case-no-debug.
13564
13565 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13566
13567 * simple.el (shell-command-to-string): Use `process-file'.
13568
13569 * emacs-lisp/package.el (package-tar-file-info): Handle also
13570 remote files.
13571
13572 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13573 Use `equal' for upload base check.
13574
13575 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13576
13577 * textmodes/texinfo.el (texinfo-environments):
13578 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13579
13580 2011-03-08 Glenn Morris <rgm@gnu.org>
13581
13582 * cus-start.el (cursor-in-non-selected-windows):
13583 Fix :set quoting oddness. (Bug#8192)
13584
13585 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13586 in some setf expressions. (Bug#2159)
13587
13588 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13589
13590 * custom.el (custom-available-themes): Return themes in
13591 alphabetical order.
13592
13593 See ChangeLog.15 for earlier changes.
13594
13595 ;; Local Variables:
13596 ;; coding: utf-8
13597 ;; End:
13598
13599 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13600
13601 This file is part of GNU Emacs.
13602
13603 GNU Emacs is free software: you can redistribute it and/or modify
13604 it under the terms of the GNU General Public License as published by
13605 the Free Software Foundation, either version 3 of the License, or
13606 (at your option) any later version.
13607
13608 GNU Emacs is distributed in the hope that it will be useful,
13609 but WITHOUT ANY WARRANTY; without even the implied warranty of
13610 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13611 GNU General Public License for more details.
13612
13613 You should have received a copy of the GNU General Public License
13614 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.