lisp/eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b499d8d0
JB
12012-05-09 Juanma Barranquero <lekktu@gmail.com>
2
3 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4
ad89bb83
GM
52012-05-08 Glenn Morris <rgm@gnu.org>
6
7 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8
8bba5a75
SM
92012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10
49ed9c8e
SM
11 * vc/log-edit.el: Add GNU coding standards highlighting.
12 (log-edit-font-lock-gnu-style)
13 (log-edit-font-lock-gnu-keywords): New vars.
14 (log-edit-font-lock-keywords): New fun.
15 (log-edit-mode): Don't fold case in font-lock.
16 (log-edit-font-lock-keywords): Do not assume case-folding.
17
07d00b56
SM
18 * imenu.el: Misc cleanup. Make docstrings out of comments.
19 Use lexical-binding.
20 (imenu--index-alist, imenu--last-menubar-index-alist)
21 (imenu-menubar-modified-tick): Use defvar-local.
22 (imenu--split-menu): Remove unused var.
23 (imenu--cleanup-seen): Declare as global.
24 (imenu--cleanup): Use dolist.
25
8bba5a75
SM
26 * subr.el (defvar-local): Add debug spec and doc-string position.
27
5075bdb5
GM
282012-05-08 Glenn Morris <rgm@gnu.org>
29
c052c904
GM
30 * lisp/language/burmese.el, language/cham.el, language/czech.el:
31 * language/english.el, language/georgian.el, language/greek.el:
32 * language/japanese.el, language/khmer.el, language/korean.el:
33 * language/lao.el, language/misc-lang.el, language/romanian.el:
34 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
35 * language/thai.el, language/utf-8-lang.el:
36 Remove no-byte-compile setting.
37
5075bdb5
GM
38 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
39
06f679a7
AH
402012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
41
42 * progmodes/make-mode.el (makefile-browse):
43 Remove unnecessary interactive. (Bug#11324)
44
03794570
GM
452012-05-07 Glenn Morris <rgm@gnu.org>
46
af8630f4
GM
47 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
48
03794570
GM
49 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
50
f0809a9d
SM
512012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
52
28be5ce7
SM
53 * loadup.el: Preload newcomment.el.
54 * newcomment.el: Move autoload-only code to toplevel.
55
f0809a9d
SM
56 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
57 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
58 Handle new :right-align column property.
59 (tabulated-list-print-col): Idem, plus use `display' text-property to
60 try and preserve alignment for variable pitch fonts.
61
1241b724
CY
622012-05-07 Chong Yidong <cyd@gnu.org>
63
64 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
65 (tabulated-list-use-header-line): New var.
66 (tabulated-list-init-header): Use it.
67 (tabulated-list-print-fake-header): New function.
68 (tabulated-list-print): Use it.
69 (tabulated-list-sort-button-map): Add non-header-line commands.
70 (tabulated-list-init-header): Add column name property to basic
71 labels as well.
72 (tabulated-list-col-sort): Handle non-header-line button case.
73 (tabulated-list--sort-by-column-name): Fix a corner case.
74
f0809a9d
SM
75 * buff-menu.el (list-buffers--refresh):
76 Handle Buffer-menu-use-header-line.
1241b724 77
e5f9458f
CY
782012-05-06 Chong Yidong <cyd@gnu.org>
79
80 * buff-menu.el: Convert to Tabulated List mode.
81 (Buffer-menu-buffer+size-width): Make obsolete.
82 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
83 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
84 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
85 documentation into docstring of buffer-menu.
86 (Buffer-menu-toggle-files-only): Add an informative message.
87 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
88 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
89 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
90 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
91 (Buffer-menu-execute, Buffer-menu-select)
92 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
93 (Buffer-menu-bury): Use Tabulated List machinery.
94 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
95 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 96 Delete.
e5f9458f
CY
97 (list-buffers--refresh): New function.
98 (list-buffers-noselect): Use it.
99 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
100 (Buffer-menu--pretty-file-name): New helper functions.
101
102 * loadup.el: Preload tabulated-list.
103
104 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
105 tabulated-list-sort-column.
106 (tabulated-list-init-header): Add the initial aligning space even
107 if tabulated-list-padding is zero.
108
e129292c
CS
1092012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
110
111 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
112 whose cdr is not a cons cell correctly (bug#11038).
113
6632d361
CY
1142012-05-06 Chong Yidong <cyd@gnu.org>
115
e129292c
CS
116 * emacs-lisp/tabulated-list.el (tabulated-list-format):
117 Accept additional plist in column descriptors.
6632d361
CY
118 (tabulated-list-init-header): Obey it.
119 (tabulated-list-get-entry): New function.
120 (tabulated-list-put-tag): Use it. Use string-width instead of
121 length.
122 (tabulated-list--column-number): New function.
123 (tabulated-list-print): Use it.
e129292c
CS
124 (tabulated-list-print-col): New function.
125 Set `tabulated-list-column-name' property on each column's text.
6632d361 126 (tabulated-list-print-entry): Use it.
e129292c
CS
127 (tabulated-list-delete-entry, tabulated-list-set-col):
128 New functions.
6632d361
CY
129 (tabulated-list-sort-column): New command (Bug#11337).
130
3cc99f68
CY
131 * buff-menu.el (list-buffers): Move C-x C-b binding from
132 buff-menu.el to bindings.el.
133
134 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
135 :advertised-binding feature.
136
52b61776
TN
1372012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
138
139 * progmodes/compile.el (compilation-internal-error-properties):
140 Calculate start position correctly when end-col is set but
141 end-line is not (Bug#11382).
142
ebfe2597
WJ
1432012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
144
145 * man.el (Man-unindent): Use text-property-default-nonsticky to
146 prevent untabify from inheriting face properties (Bug#11408).
147
a43f98b3
GM
1482012-05-05 Glenn Morris <rgm@gnu.org>
149
48176e8b
GM
150 * calendar/cal-html.el: Optionally include holidays in the output.
151 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
152 (cal-html-holidays): New option.
153 (cal-html-css-default): Add holiday entry.
154 (holiday-in-range): Autoload it.
155 (cal-html-htmlify-entry): Add optional class argument.
156 (cal-html-htmlify-list): Add optional holidays argument.
157 (cal-html-insert-agenda-days): Include holidays in the output.
158 (cal-html-one-month): Maybe include holidays.
159
a43f98b3
GM
160 * calendar/holidays.el (holiday-in-range):
161 Move here from cal-tex-list-holidays.
162 * calendar/cal-tex.el (cal-tex-list-holidays):
163 Make it an obsolete alias for holiday-in-range. Update all callers.
164
fef9d149 1652012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
166
167 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
168 Nextstep.
169
248da2f4
RW
1702012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
171
172 * files.el (file-auto-mode-skip): New var.
173 (set-auto-mode-1): Use it.
174
f95e9344
SM
1752012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
176
df96ab1e
SM
177 * repeat.el: Use lexical-binding.
178 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
179 (repeat-undo-count): Remove.
180 (repeat):
181 * progmodes/octave-mod.el (octave-abbrev-start):
182 * progmodes/f90.el (f90-abbrev-start):
183 * face-remap.el (text-scale-adjust):
184 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
185
5342bb06
SM
186 * emacs-lisp/pcase.el (pcase--let*): New function.
187 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
188 a bit more.
189 (pcase--split-pred): Be more clever about ruling out overlap between
190 a predicate and some constant pattern.
191 (pcase--q1): Use `null' instead of (eq foo nil).
192
f95e9344
SM
193 * subr.el (setq-local, defvar-local): New macros.
194 (kbd): Redefine as an alias.
195 (with-selected-window): Leave unrelated frames alone.
196 (set-temporary-overlay-map): New function.
197
71873e2b
SM
1982012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * subr.el (user-error): New function.
201 * window.el (switch-to-buffer):
202 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
203 (smerge-match-conflict):
204 * simple.el (previous-matching-history-element)
205 (next-matching-history-element, goto-history-element, undo-more)
206 (undo-start):
207 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
208 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
209 (next-file, tags-loop-scan, list-tags, complete-tag):
210 * progmodes/compile.el (compilation-loop):
211 * mouse.el (mouse-minibuffer-check):
212 * man.el (Man-bgproc-sentinel, Man-goto-page):
213 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
214 (Info-history-forward, Info-follow-reference, Info-menu)
215 (Info-extract-menu-item, Info-extract-menu-counting)
216 (Info-forward-node, Info-backward-node, Info-next-menu-item)
217 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
218 (Info-next-reference, Info-prev-reference, Info-index)
219 (Info-index-next, Info-follow-nearest-node)
220 (Info-copy-current-node-name):
221 * imenu.el (imenu--make-index-alist)
222 (imenu-default-create-index-function, imenu-add-to-menubar):
223 * files.el (basic-save-buffer, recover-file):
224 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
225 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
226 (checkdoc-message-text, checkdoc-defun):
227 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
228 * cus-edit.el (customize-changed-options, customize-rogue)
229 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
230 (custom-variable-mark-to-reset-standard)
231 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
232 (custom-file):
233 * completion.el (check-completion-length):
234 * comint.el (comint-search-arg)
235 (comint-previous-matching-input-string-position)
236 (comint-previous-matching-input)
237 (comint-replace-by-expanded-history-before-point, comint-send-input)
238 (comint-copy-old-input, comint-backward-matching-input)
239 (comint-goto-process-mark, comint-set-process-mark):
240 * calendar/calendar.el (calendar-cursor-to-date): Use it.
241 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
242
8a61ee22
SM
2432012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
244
66408d1e
SM
245 * dabbrev.el (dabbrev--ignore-case-p): New function.
246 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
247 Use it.
248
8a61ee22
SM
249 * files.el (automount-dir-prefix): Mark as obsolete.
250
3c74813a
GM
2512012-05-04 Glenn Morris <rgm@gnu.org>
252
253 * patcomp.el, play/bruce.el: Move to obsolete/.
254
0bfcf5c5
PE
2552012-05-04 Paul Eggert <eggert@cs.ucla.edu>
256
257 Fix minor Y10k bugs.
258 * arc-mode.el (archive-unixdate):
259 * autoinsert.el (auto-insert-alist):
260 * calc/calc-forms.el (math-this-year):
261 * emacs-lisp/copyright.el (copyright-current-year)
262 (copyright-update-year, copyright):
263 * tar-mode.el (tar-clip-time-string):
264 * time.el (display-time-update):
265 Don't assume years have 4 digits.
266
78f3273a
CY
2672012-05-04 Chong Yidong <cyd@gnu.org>
268
269 * dos-w32.el (file-name-buffer-file-type-alist)
270 (direct-print-region-use-command-dot-com):
271 * ffap.el (ffap-menu-regexp):
272 * find-file.el (ff-special-constructs):
273 * follow.el (follow-debug):
274 * forms.el (forms--debug):
275 * iswitchb.el (iswitchb-all-frames):
276 * ido.el (ido-all-frames):
277 * emacs-lisp/timer.el (timer-max-repeats):
278 * mail/feedmail.el (feedmail-mail-send-hook)
279 (feedmail-mail-send-hook-queued):
280 * mail/footnote.el (footnote-signature-separator):
281 * mail/mailabbrev.el (mail-alias-separator-string)
282 (mail-abbrev-mode-regexp):
283 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
284 * progmodes/idlwave.el (idlwave-libinfo-file)
285 (idlwave-default-completion-case-is-down)
286 (idlwave-library-routines): Convert defvars to defcustoms.
287
288 * mail/rmail.el (rmail-decode-mime-charset):
289 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
290 (idlwave-shell-fix-inserted-breaks)
291 (idlwave-shell-activate-alt-keybindings)
292 (idlwave-shell-use-breakpoint-glyph):
293 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
294
f7ae6719
SM
2952012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
298
47086495
WS
2992012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
300
301 * progmodes/verilog-mode.el (font-lock-keywords):
302 Fix mis-highligting auto. Reported by Craig Barner.
303 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
304 defines from global name space. Reported by Dan Dever.
305 (verilog-auto-reset, verilog-auto-reset-widths)
306 (verilog-auto-tieoff): Support using unbased numbers for
307 AUTORESET and AUTOTIEOFF.
308 (verilog-submit-bug-report): Update variable list.
309 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
310 parenthesis from not matching. Reported by Michael Rytting.
311 (verilog-auto-template-lint): Fix hash error when linting modules
312 with no used templates.
313 (verilog-warn, verilog-warn-error)
314 (verilog-warn-fatal): When non-interactive report multiple
315 warnings before exiting. Suggested by Brad Dobbie.
316 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
317 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
318 to report unused template errors. Reported by Brad Dobbie.
319 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
320 nets, bug438. Reported by Vns Blore.
321 (verilog-auto-inout-module, verilog-auto-reg)
322 (verilog-read-decls, verilog-read-sub-decls-sig)
323 (verilog-signals-edit-wire-reg, verilog-signals-with):
324 Fix passing of Verilog data types in ANSI input/output ports
325 such as "output logic" into the AUTOs. Special case "wire" and
326 "reg" for backwards compatibility presuming Verilog 2001.
327 (verilog-auto-ascii-enum): Add "auto enum" as alias.
328 (verilog-preprocess): Fix replication of preprocess output.
329 Reported by Brad Dobbie.
330 (verilog-auto-inst-interfaced-ports):
331 Create verilog-auto-inst-interfaced-ports, bug429.
332 Reported by Julian Gorfajn.
333 (verilog-after-save-font-hook)
334 (verilog-before-save-font-hook): New variable.
335 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
336 (verilog-save-font-mods): Wrap disabling fontification, reported
337 by David Rogoff.
338 (verilog-do-indent, verilog-pretty-declarations-auto)
339 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
340 Reported by Pierre-David Pfister.
341 (verilog-set-auto-endcomments): Fix endtask auto comments outside
342 of class declarations, bug292. Reported by Kevin Heilman.
343 (verilog-read-decls): Fix 'parameter type' not appearing in
344 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
345 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
346 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
347 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
348 Reported by David Kravitz.
349
3502012-05-03 Michael McNamara <mac@mail.brushroad.com>
351
352 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
353 assignment with tests in ifs and for loops.
354 (verilog-extended-complete-re, verilog-complete-reg): Change so
355 that DPI inport functions don't look like fuction declarations.
356 (verilog-pretty-expr): Don't line up assignment
357 operations to the test and increment in if and for loops
358 (verilog-extended-complete-re, verilog-complete-reg): Change so
359 that DPI inport functions don't look like fuction declarations
360
2e51d4b5
KH
3612012-05-03 Kenichi Handa <handa@m17n.org>
362
363 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
364 decoding, and show a warning message without signalling an error
365 (Bug#11282).
366
2bd785a2
SM
3672012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * emacs-lisp/bytecomp.el
370 (byte-compile-file-form-custom-declare-variable): Compile all elements,
371 since cconv.el might have introduced :fun-body, internal-make-closure,
372 and friends for bytecomp to handle (bug#11391).
373 * custom.el (defcustom): Avoid ((λ ..) ..).
374
99d27583
SM
3752012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
376
377 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
378
55a71479
JB
3792012-05-02 Juanma Barranquero <lekktu@gmail.com>
380
381 * notifications.el (dbus-debug):
382 * term/linux.el (gpm-mouse-enable):
383 * term/screen.el (xterm-register-default-colors): Declare.
384
7b97c764
CY
3852012-05-02 Chong Yidong <cyd@gnu.org>
386
2bc356d7
CY
387 * cus-start.el (gc-cons-percentage, exec-suffixes)
388 (dos-display-scancodes, dos-hyper-key, dos-super-key)
389 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
390 (make-cursor-line-fully-visible, void-text-area-pointer)
391 (font-list-limit): Add customization data.
392
7b97c764
CY
393 * allout.el (allout-exposure-change-functions)
394 (allout-structure-added-functions)
395 (allout-structure-deleted-functions)
396 (allout-structure-shifted-functions): Rename abnormal hooks from
397 *-hook, and convert to defcustoms.
5d3385a0
JB
398 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
399 Convert to defcustoms.
7b97c764
CY
400 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
401
402 * allout-widgets.el: Hook callers changed.
403
90207a15 4042012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
405
406 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
407 the yanked message in preference to the default value of
408 buffer-file-coding-system.
409
90207a15 4102012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 411
5d3385a0
JB
412 * window.el (display-buffer--action-function-custom-type):
413 Fix entry.
d9558cad 414
90207a15 4152012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
416
417 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
418
d80ac57b
GM
4192012-05-01 Glenn Morris <rgm@gnu.org>
420
976f7668
GM
421 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
422
beb83b5a
GM
423 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
424
d80ac57b
GM
425 * cus-edit.el (custom-variable-documentation): Simplify with format.
426
b593d6a9
AH
4272012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
428 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * simple.el (suggest-key-bindings, execute-extended-command):
431 Move from keyboard.c.
432
782fbf2a
CY
4332012-05-01 Chong Yidong <cyd@gnu.org>
434
435 * follow.el: Eliminate advice.
436 (set-process-filter, process-filter, sit-for): Advice deleted.
437 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
438 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
439 Vars deleted.
782fbf2a
CY
440 (follow-auto): Use a :set function.
441 (follow-mode): Rewritten. Don't advise process filters.
442 (follow-switch-to-current-buffer-all, follow-scroll-up)
443 (follow-scroll-down): Assume follow-mode is bound.
444 (follow-comint-scroll-to-bottom)
445 (follow-align-compilation-windows): New functions.
446 (follow--window-sorter): New function.
447 (follow-all-followers): Use it to explicitly sort windows by their
448 positions; don't make assumptions about next-window order.
449 (follow-windows-start-end, follow-delete-other-windows-and-split)
450 (follow-calc-win-start): Doc fix.
451 (follow-windows-aligned-p, follow-select-if-visible): Don't call
452 vertical-motion unnecessarily.
453 (follow-adjust-window): New function.
454 (follow-post-command-hook): Use it.
455 (follow-call-set-process-filter, follow-call-process-filter)
456 (follow-intercept-process-output, follow-tidy-process-filter-alist)
457 (follow-stop-intercept-process-output, follow-generic-filter):
458 Functions deleted.
459 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
460 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
461 New functions, replacing advice on scroll-bar-* commands.
87233a14 462 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
463
464 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
465 (comint-postoutput-scroll-to-bottom): Use it.
466 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 467
290af740
GM
4682012-05-01 Glenn Morris <rgm@gnu.org>
469
470 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
471 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
472 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
473 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
474 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
475 Remove no-byte-compile setting.
476
6eac8dc9
SM
4772012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * minibuffer.el (completion-table-with-quoting): Fix compatibility
480 all-completions code to not return a number in the last cdr.
481
9cc7819c
LL
4822012-04-30 Leo Liu <sdl.web@gmail.com>
483
484 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
485 read-only error.
486
c93b886f
CY
4872012-04-29 Chong Yidong <cyd@gnu.org>
488
489 * follow.el (follow-calc-win-end): Rewrite to handle partial
490 screen lines correctly (Bug#8390).
491 (follow-avoid-tail-recenter): Minor cleanup.
492
8b6c19f4
SM
4932012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 Avoid the obsolete `assoc' package.
496 * speedbar.el (speedbar-refresh): Avoid adelete.
497 (speedbar-file-lists): Simplify and avoid aput.
498 * man.el (Man--sections, Man--refpages): New vars, replacing
499 Man-sections-alist and Man-refpages-alist.
500 (Man-build-section-alist, Man-build-references-alist):
501 Use them; avoid aput.
502 (Man--last-section, Man--last-refpage): New vars.
503 (Man-follow-manual-reference): Use them.
504 Use the `default' arg of completing-read.
505 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
506
c5bb7569
CY
5072012-04-27 Chong Yidong <cyd@gnu.org>
508
d1d2e2e8
CY
509 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
510
15cd8efd
CY
511 * startup.el (x-apply-session-resources): New function.
512
513 * term/ns-win.el (ns-initialize-window-system):
514 * term/w32-win.el (w32-initialize-window-system):
515 * term/x-win.el (x-initialize-window-system): Use it to properly
516 set menu-bar-mode and other vars from X resources, even if the
517 initial frame is not a window-system frame (Bug#2299).
518
c5bb7569
CY
519 * subr.el (read-key): Avoid running filter function when setting
520 up temporary tool bar entries (Bug#9922).
521
a8e7d6d7 5222012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
523
524 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
525 (Bug#11344)
526
a8e7d6d7 5272012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
528
529 * select.el (xselect--encode-string): New function, split from
530 xselect-convert-to-string.
531 (xselect-convert-to-string): Use it.
532 (xselect-convert-to-filename, xselect-convert-to-os)
533 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
534 returned strings are properly encoded (Bug#11315).
535
a8e7d6d7 5362012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
537
538 * simple.el (delete-active-region): Move to killing custom group.
539
a8e7d6d7 5402012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
541
542 * progmodes/which-func.el (which-func-current): Quote %
543 characters for mode-line processing.
544
578c1d4b 5452012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
546
547 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
548 reaching eob (Bug#11286).
549
a8e7d6d7 5502012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
551
552 * progmodes/gdb-mi.el (gdb-control-level): New variable.
553 (gdb): Make it buffer-local and init to zero.
554 (gdb-control-commands-regexp): New variable.
555 (gdb-send): Don't wrap in "-interpreter-exec console" if
556 gdb-control-level is positive. Increment gdb-control-level
557 whenever the command matches gdb-control-commands-regexp, and
558 decrement it each time the command is "end". (Bug#11279)
559
a8e7d6d7 5602012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
561
562 * window.el (adjust-window-trailing-edge, enlarge-window)
563 (shrink-window, window-resize):
564 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
565 windows (Bug#11276).
566
b3608390
CY
5672012-04-27 Chong Yidong <cyd@gnu.org>
568
569 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 570 fix "missing prefix" warning. All callers changed.
b3608390 571
797e6e88
SM
5722012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
573
574 * emacs-lisp/assoc.el: Move to obsolete/.
575
e95a67dc
SM
5762012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
577
657c21e4 578 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
579
580 * term/ns-win.el (ns-define-service):
581 * progmodes/pascal.el (pascal-goto-defun):
582 * progmodes/js.el (js--read-tab):
583 * progmodes/etags.el (tags-lazy-completion-table):
584 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
585 * emacs-lisp/ewoc.el (ewoc--wrap):
586 * emacs-lisp/assoc.el (aput, adelete, amake):
587 * doc-view.el (doc-view-convert-current-doc):
588 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
589
cb3e7ae0
CY
5902012-04-26 Chong Yidong <cyd@gnu.org>
591
dce04f7f
CY
592 * image.el (image-type-from-buffer): Only return supported image
593 type (Bug#9045).
594
cb3e7ae0
CY
595 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
596 value, for symmetry with diff-end-of-hunk.
597 (diff-split-hunk, diff-find-source-location)
598 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
599 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
600 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
601 compute the relevant hunk or file properly (Bug#6005).
602 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
603
0d42eb3e
SM
6042012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
605
606 * vc/vc-mtn.el:
607 * vc/vc-hg.el:
608 * vc/vc-git.el:
609 * vc/vc-dir.el:
610 * vc/vc-cvs.el:
611 * vc/vc-bzr.el:
612 * vc/vc-arch.el:
613 * vc/vc.el: Replace lexical-let by lexical-binding.
614 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
615 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
616 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
617
f08ae1c9
CY
6182012-04-26 Chong Yidong <cyd@gnu.org>
619
8b71081d
CY
620 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
621 (diff-mode-shared-map): Bind it to / and [remap undo].
622
f08ae1c9
CY
623 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
624 (ediff-window-setup-function): Use it as the default, to set up
625 windows based on whether the current frame is graphical (Bug#2138).
626 (ediff-choose-window-setup-function-automatically): Make obsolete.
627
628 * vc/ediff-init.el: Always define ediff-pixel-width/height.
629
ef24141c
SM
6302012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
631
cc356a5d
SM
632 * ffap.el: Remove old code for obsolete package.
633 (ffap-complete-as-file-p): Remove.
634
b4ff4f1f
SM
635 Use completion-table-with-quoting for comint and pcomplete.
636 * comint.el (comint--unquote&requote-argument)
637 (comint--unquote-argument, comint--requote-argument): New functions.
638 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
639 (comint-quote-filename): Use regexp-opt-charset.
640 (comint--common-suffix, comint--common-quoted-suffix)
641 (comint--table-subvert): Remove.
642 (comint-unquote-function, comint-requote-function): New vars.
643 (comint--complete-file-name-data): Use them with
644 completion-table-with-quoting.
645 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
646 * pcomplete.el (pcomplete-arg-quote-list)
647 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
648 (pcomplete-unquote-argument-function): Default to non-nil.
649 (pcomplete-unquote-argument): Simplify.
650 (pcomplete--common-quoted-suffix): Remove.
651 (pcomplete-requote-argument-function): New var.
652 (pcomplete--common-suffix): New function.
653 (pcomplete-completions-at-point): Use completion-table-with-quoting
654 and completion-table-subvert.
655
79c4eeb4
SM
656 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
657 (minibuffer--double-dollars): Preserve properties.
658 (completion--sifn-requote): New function.
659 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
660
ef24141c
SM
661 * minibuffer.el: Add support for completion of quoted/escaped data.
662 (completion-table-with-quoting, completion-table-subvert): New funs.
663 (completion--twq-try, completion--twq-all): New functions.
664 (completion--nth-completion): New function.
665 (completion-try-completion, completion-all-completions): Use it.
666
784e7d6e
LL
6672012-04-25 Leo Liu <sdl.web@gmail.com>
668
dd2ac746
SM
669 * progmodes/python.el (python-pdbtrack-get-source-buffer):
670 Use compilation-message if available to find real filename.
784e7d6e 671
07875ee7
CY
6722012-04-25 Chong Yidong <cyd@gnu.org>
673
674 * vc/diff-mode.el (diff-setup-whitespace): New function.
675 (diff-mode): Use it.
676
677 * vc/diff.el (diff-sentinel):
678 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
679 Whitespace mode variables based on diff style (Bug#8612).
680
5055880d
LL
6812012-04-25 Leo Liu <sdl.web@gmail.com>
682
daf75653
LL
683 * progmodes/python.el (python-send-region): Add suffix .py to the
684 temp file.
685
5055880d
LL
686 * files.el (auto-mode-alist): Use javascript-mode instead.
687
db9b177b
AH
6882012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
689
ef24141c 690 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
691
692 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 693 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 694 references, see Bug#9.
ef24141c 695 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 696 when receiving a fault reply.
ef24141c 697 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
698
699 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 700 (soap-inspect-simple-type): New function.
db9b177b 701
ef24141c 702 * soap-client.el (soap-simple-type): New struct.
db9b177b 703 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
704 (soap-decode-basic-type, soap-encode-basic-type):
705 support unsignedInt and double basic types.
db9b177b 706 (soap-resolve-references-for-simple-type)
ef24141c
SM
707 (soap-parse-simple-type, soap-encode-simple-type): New function.
708 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
709
710 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
711 (soap-default-soapenc-types): Add integer, byte and anyURI types.
712 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
713 the local name of "soapenc:Array".
714 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
715 decoding integer, byte and anyURI xsd types.
716
1fc6097b
CY
7172012-04-25 Chong Yidong <cyd@gnu.org>
718
719 * cus-edit.el (custom-buffer-create-internal): Update header text.
720
afc6df87
EZ
7212012-04-25 Eli Zaretskii <eliz@gnu.org>
722
723 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
724 settings on 'system-type', not on 'window-system'. On MS-Windows,
725 set interactive-mode on in GDB.
726
dfbd787f
SM
7272012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
730 (ruby-syntax-propertize-regexp): Remove.
731 (ruby-syntax-propertize-function): Split regexp into chunks.
732 Match following code directly.
733
85222d44
DG
7342012-04-24 Dmitry Gutov <dgutov@yandex.ru>
735
51a8ea2a
DG
736 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
737 (ruby-syntax-propertize-regexp): New function.
738 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
739 by a special keyword.
740
85222d44
DG
741 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
742 (ruby-syntax-general-delimiters-goto-beg)
743 (ruby-syntax-propertize-general-delimiters): New functions.
744 (ruby-syntax-propertize-function): Use them to handle GDL.
745 (ruby-font-lock-keywords): Move old handling of GDL...
746 (ruby-font-lock-syntactic-keywords): .. to here.
747 (ruby-calculate-indent): Adjust indentation for GDL.
748
b613912b
MA
7492012-04-24 Michael Albinus <michael.albinus@gmx.de>
750
b5380639
MA
751 * notifications.el (top): Remove unneeded declarations.
752 (notifications-specification-version): Change to "1.2".
e43042fe 753 (notifications-interface, notifications-notify-method)
b613912b
MA
754 (notifications-close-notification-method): Fix docstring.
755 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
756 (notifications-notify): Add :action-items, :resident and
757 :transient hints. Change "image_data" to "image-data" and
758 "image_path" to "image-path".
b613912b
MA
759 (notifications-get-capabilities): New defun.
760
257440aa
LL
7612012-04-24 Leo Liu <sdl.web@gmail.com>
762
763 * progmodes/python.el: Move hideshow setup to the end.
764
b1bac16e
MR
7652012-04-24 Martin Rudalics <rudalics@gmx.at>
766
767 * window.el (handle-select-window): Clear echo area since this is
768 no more done by read_char (Bug#11304).
769
d81bd059
SM
7702012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
773 and `/ M' to filter-derived-mode.
774 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
775 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
776 (ibuffer-mark-by-mode): Use default rather than initial-input.
777 (ibuffer-filter-by-derived-mode): Autoload and require-match.
778
c4cf6d91
IA
7792012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
780
781 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
782 (ibuffer-filter-by-derived-mode): New filter.
783 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
784
7511ded8
CY
7852012-04-23 Andreas Politz <politza@fh-trier.de>
786
787 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
788
775c916b
CY
7892012-04-23 Chong Yidong <cyd@gnu.org>
790
791 * cus-edit.el (customize-apropos, customize-apropos-options):
792 Disable matching of non-option variables (Bug#11176).
793 (customize-option, customize-option-other-window)
794 (customize-changed-options): Doc fix.
795 (customize-apropos-options, customize-apropos-faces)
796 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
797
798 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 799 Fix word list splitting (Bug#11132).
46c71e23
CY
800 (apropos-symbol, apropos-keybinding, apropos-label)
801 (apropos-property, apropos-function-button)
802 (apropos-variable-button, apropos-misc-button): New faces.
803 (apropos-symbol-face, apropos-keybinding-face)
804 (apropos-label-face, apropos-property-face, apropos-match-face):
805 Variables removed (Bug#8396).
806 (apropos-library-button, apropos-format-plist, apropos-print)
807 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 808
2df41f9c
MA
8092012-04-23 Michael Albinus <michael.albinus@gmx.de>
810
811 * net/xesam.el (xesam-mode-map): Use let-bound map in
812 initialization. (Bug#11292)
813
da00640a
AM
8142012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
815
816 Preserve ispell session localwords when switching back to
817 original buffer.
818
819 * ispell.el (ispell-buffer-session-localwords): New buffer-local
820 variable to hold buffer session localwords.
821 (ispell-kill-ispell): add option 'clear to delete session
822 localwords.
823 (ispell-command-loop, ispell-change-dictionary)
824 (ispell-buffer-local-words): Preserve session localwords when
825 needed.
826
827 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
828 Preserve session localwords when needed.
829
f621ccf5
AM
8302012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
831
832 * ispell.el (ispell-insert-word) Remove unneeded function using
833 obsolete `translation-table-for-input'.
ef24141c
SM
834 (ispell-word, ispell-process-line, ispell-complete-word):
835 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 836
c2d1019e
CY
8372012-04-22 Chong Yidong <cyd@gnu.org>
838
839 * cus-edit.el (custom-variable-menu)
840 (custom-variable-reset-saved, custom-face-menu)
841 (custom-face-reset-saved): If there is no saved value, make the
842 "reset-saved" operation bring back the default (Bug#9509).
843 (custom-face-state): Properly detect themed faces.
844
eeddc531
CY
845 * faces.el (face-spec-set): Stop supporting deprecated form of
846 third arg.
847
dcbf5805
MA
8482012-04-22 Michael Albinus <michael.albinus@gmx.de>
849
850 Move functions from C to Lisp. Make non-blocking method calls
851 the default. Implement further D-Bus standard interfaces.
852
ef24141c
SM
853 * net/dbus.el (dbus-message-internal): Declare function.
854 Remove unneeded function declarations.
dcbf5805
MA
855 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
856 (dbus-message-type-method-return, dbus-message-type-error)
857 (dbus-message-type-signal): Declare variables. Remove local
858 definitions.
859 (dbus-interface-dbus, dbus-interface-peer)
860 (dbus-interface-introspectable, dbus-interface-properties)
861 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
862 Adapt docstring.
863 (dbus-interface-objectmanager): New defconst.
864 (dbus-call-method, dbus-call-method-asynchronously)
865 (dbus-send-signal, dbus-method-return-internal)
866 (dbus-method-error-internal, dbus-register-service)
867 (dbus-register-signal, dbus-register-method): New defuns, moved
868 from dbusbind.c
869 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
870 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
871 New defuns.
dcbf5805
MA
872 (dbus-call-method-non-blocking): Make it an obsolete function.
873 (dbus-unregister-object, dbus-unregister-service)
874 (dbus-handle-event, dbus-register-property)
875 (dbus-property-handler): Obey the new structure of
876 `bus-registered-objects'.
877 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
878 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
879 Use `dbus-call-method'.
880
cf20dee0
CY
8812012-04-22 Chong Yidong <cyd@gnu.org>
882
883 * cus-edit.el (custom-commands, custom-reset-menu)
884 (Custom-reset-standard): Tweak labels.
885 (custom-reset-button-menu): Change default to t.
886 (custom-buffer-create-internal): For the custom-reset-button-menu
887 case, put the revert button first.
888 (custom-group-subtitle): New face.
889 (custom-group-value-create): Align docstring to a specific column.
890
891 * wid-edit.el (widget-documentation-link-add): Don't handle
892 indentation in this function.
893 (widget-documentation-string-indent-to): New function.
894 (widget-documentation-string-value-create): Use it.
895
896 * autorevert.el (auto-revert):
897 * epg-config.el (epg):
898 * ibuffer.el (ibuffer):
899 * mpc.el (mpc):
900 * ses.el (ses):
901 * eshell/eshell.el (eshell):
902 * net/ange-ftp.el (ange-ftp):
903 * progmodes/ebnf2ps.el (postscript):
904 * progmodes/flymake.el (flymake):
905 * progmodes/prolog.el (prolog):
906 * progmodes/verilog-mode.el (verilog-mode):
907 * progmodes/which-func.el (which-func):
908 * term/xterm.el (xterm):
909 * textmodes/picture.el (picture):
910 * textmodes/tildify.el (tildify):
911 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
912 customization buffers.
913
583e23bd
AM
9142012-04-22 Alan Mackenzie <acm@muc.de>
915
916 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
917 Adding a ) can hide the resulting (..) from searches. Fix it.
918 Bound the backward search to the position of the existing (.
919
7dd51bf1
JB
9202012-04-21 Juanma Barranquero <lekktu@gmail.com>
921
922 * progmodes/verilog-mode.el (verilog-mode): Check whether
923 which-func-modes is t before adding verilog-mode.
924 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
925
d64a438f
LL
9262012-04-21 Leo Liu <sdl.web@gmail.com>
927
7dd51bf1 928 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 929
081e8d65
MV
9302012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
931
932 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
933 filling of the last column of a table (Bug#5635).
934 (woman-find-next-control-line): New arg, specifying an additional
935 regexp component for the control line.
936 (woman2-roff-buffer): Use it.
937 (woman-break-table): New function.
938 (woman2-TS): Use it.
939
9402012-04-21 Chong Yidong <cyd@gnu.org>
941
942 * woman.el (woman-set-buffer-display-table, woman-decode-region)
943 (woman-horizontal-escapes, woman-negative-vertical-space)
944 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
945 (WoMan-warn-ignored): Use ?\s instead of ?\ .
946
ed571ccb
SM
9472012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * minibuffer.el (completion-file-name-table): Complete user names.
950
39773899
LL
9512012-04-20 Leo Liu <sdl.web@gmail.com>
952
953 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
954 and pcase-let*.
955
de6ff46d
CY
9562012-04-20 Chong Yidong <cyd@gnu.org>
957
958 * server.el (server-execute): Respect initial-buffer-choice if it
959 is a string and there are no files to open (Bug#2825).
960 (server-create-window-system-frame, server-create-tty-frame):
961 Don't switch buffers here.
2d0e8e61
CY
962 (server-process-filter): Only try to open a window system frame if
963 compiled with graphical support (Bug#8314).
de6ff46d 964
54071013
DN
9652012-04-20 Dan Nicolaescu <dann@gnu.org>
966
967 * battery.el (battery-echo-area-format): Display remaining time
968 for sysfs backend too (Bug#11269).
969 (battery-linux-sysfs): Fix conditional for the charge.
970
f30d612a
CY
9712012-04-20 Chong Yidong <cyd@gnu.org>
972
c07a4c0b 973 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
974 (gdb-inferior-io--init-proc): New function.
975 (gdb-init-1): Use it.
976 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
977 responsible for allocating a new pty and hooking it to gdb when
978 the old pty gets an EIO due to process exit.
979 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
980 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
981 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
982
2116e93c
EZ
9832012-04-20 Eli Zaretskii <eliz@gnu.org>
984
985 * window.el (window-min-size, window-sizable, window-min-delta)
986 (window-max-delta, window--resizable, window-resizable)
987 (window-total-size, window-full-height-p, window-full-width-p)
988 (window-in-direction, window--resize-mini-window, window-resize)
989 (window--resize-child-windows-normal)
990 (window--resize-child-windows, window--resize-siblings)
991 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 992 (enlarge-window, shrink-window): Doc fixes.
2116e93c 993
c07a4c0b 9942012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 995
ef24141c
SM
996 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
997 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
998 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
999 pty process (Bug#11273).
1000 (gdb-update): New arg to suppress talking to the gdb process.
1001 (gdb-done-or-error): Use it.
1002 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1003 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1004 sentinel not being called.
1005
1006 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1007
d02766ab
CY
1008 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1009
c07a4c0b 10102012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1011
1012 * net/network-stream.el (open-network-stream): Doc fix.
1013
c07a4c0b 10142012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1015
1016 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1017
c07a4c0b 10182012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1019
1020 Ensure searching for keywords is case sensitive.
1021
1022 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1023 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1024 (c-defun-name, c-mark-function, c-cpp-define-name)
1025 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1026 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1027
ef24141c
SM
1028 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1029 Bind case-fold-search to nil.
f0f6bc35 1030
c07a4c0b 10312012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1032
1033 * mail/sendmail.el (mail-bury): Call return action with the right
1034 Rmail buffer (Bug#11242).
1035
9a864fa2
CY
1036 * server.el (server-process-filter): Handle corner case where both
1037 tty and nowait options are present (Bug#11102).
1038
539aa513
EZ
10392012-04-20 Eli Zaretskii <eliz@gnu.org>
1040
1041 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1042 (top level): Put into the executable the ident-style '$Id:' tag on
1043 windows-nt as well.
539aa513 1044
cfc7d5da
SM
10452012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * electric.el (electric-indent-post-self-insert-function): Check that
1048 electric-indent-mode is enabled in current buffer.
1049
5b01685c
JB
10502012-04-19 Juanma Barranquero <lekktu@gmail.com>
1051
1052 * imenu.el (imenu-progress-message): Restore; it is "used" in
1053 erc/erc-imenu.el and net/snmp-mode.el.
1054
4d6769e1
JB
10552012-04-19 Juanma Barranquero <lekktu@gmail.com>
1056
1057 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1058 (mouse-avoidance-nudge-mouse): Remove unused binding.
1059
1060 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1061
1062 * descr-text.el (describe-char):
1063 * progmodes/python.el (python-describe-symbol):
1064 Don't call `toggle-read-only', set `buffer-read-only'.
1065
1066 * imenu.el (imenu-default-goto-function): Mark unused args.
1067 (imenu-progress-message): Remove obsolete macro; all callers changed.
1068
1069 * subr.el (keymap-canonicalize): Remove unused binding.
1070 (read-passwd): Mark unused arg.
1071
1072 * tutorial.el (tutorial--display-changes): Remove unused binding.
1073 (tutorial--save-tutorial-to): Remove unused variable.
1074
1075 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1076 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1077 (package-generate-autoloads, package-menu--generate)
1078 (package-menu--find-upgrades): Remove unused bindings.
1079
1080 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1081 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1082 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1083 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1084 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1085 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1086 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1087 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1088 (cua-delete-char-rectangle): Mark unused args.
1089 (cua-align-rectangle): Remove unused binding.
1090
1091 * mail/rmail.el (compilation--message->loc)
1092 (epa--find-coding-system-for-mime-charset): Declare.
1093
1094 * net/dbus.el (dbus-register-service): Declare.
1095 (dbus-name-owner-changed-handler): Remove unused binding.
1096
1097 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1098 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1099 (nxml-scan-backward-within): Mark unused arg.
1100 (nxml-dynamic-markup-word): Remove unused binding.
1101
1102 * mouse.el (mouse-menu-major-mode-map):
1103 * emacs-lisp/authors.el (authors-scan-change-log)
1104 (authors-add-to-author-list):
1105 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1106 * emacs-lisp/smie.el (smie-auto-fill):
1107 * mail/sendmail.el (mail-bury):
1108 * mail/unrmail.el (unrmail):
1109 * net/tls.el (open-tls-stream):
1110 * textmodes/picture.el (picture-mouse-set-point):
1111 Remove unused bindings.
1112
8c8fc5df
MA
11132012-04-19 Michael Albinus <michael.albinus@gmx.de>
1114
1115 * net/tramp.el (tramp-action-password): Let-bind
1116 `enable-recursive-minibuffers' to t.
1117
a77b0ac9
SS
11182012-04-18 Sam Steingold <sds@gnu.org>
1119
1120 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1121 instead of 'string to accommodate values like [f11].
1122 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1123 * progmodes/gdb-mi.el: Likewise.
1124
12a106a9
LL
11252012-04-18 Leo Liu <sdl.web@gmail.com>
1126
1127 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1128 current buffer.
1129 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1130 LOCAL is nil.
1131
bc6494ef
CY
11322012-04-18 Chong Yidong <cyd@gnu.org>
1133
1134 * simple.el (line-move): Use forward-line if in batch mode
1135 (Bug#11053).
1136
c09c46b2
CS
11372012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1138
1139 * files.el (after-find-file): Do not try to add a final newline if
1140 the buffer is read-only (Bug#11156).
1141
5f6530ea
RS
11422012-04-17 Richard Stallman <rms@gnu.org>
1143
1144 * mail/rmail.el (rmail-start-mail):
1145 Pass (rmail-mail-return...) for the return-action.
1146 Pass (rmail-yank-current-message...) for the yank-action.
1147 (rmail-yank-current-message): New function.
1148 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1149 (rmail-reply): Likewise.
1150 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1151
1152 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1153 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1154 buffer, not newbuf.
1155
197b6f3c
JB
11562012-04-17 Juanma Barranquero <lekktu@gmail.com>
1157
1158 * server.el (server-ensure-safe-dir): Simplify.
1159
2311d8e5 11602012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1161
2311d8e5
GM
1162 * emacs-lisp/smie.el: Provide smarter auto-filling.
1163 (smie-auto-fill): New function.
1164 (smie-setup): Use it.
98fb480e 1165
2311d8e5
GM
1166 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1167
11682012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1169
1170 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1171 (comment-indent): Use it.
1172
2311d8e5 11732012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1174
1175 * ses.el: The overall change is to add cell renaming, that is
1176 setting fancy names for cell symbols other than name matching
1177 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1178 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1179 (ses-create-cell-variable): New defun.
2311d8e5 1180 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1181 (ses-relocate-formula): Relocate formulas only for cells the
1182 symbols of which are not renamed, i.e. symbols whose names do not
1183 match regexp "\\`[A-Z]+[0-9]+\\'".
1184 (ses-relocate-all): Relocate values only for cells the symbols of
1185 which are not renamed.
1186 (ses-load): Create cells variables as the (ses-cell ...) are read,
1187 in order to check row col consistency with cell symbol name only
1188 for cells that are not renamed.
1189 (ses-replace-name-in-formula): New defun.
1190 (ses-rename-cell): New defun.
4bdf2ad2 1191
fc72b15c
PO
11922012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1193
1194 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1195 New option (bug#11118).
1196 (perl-calculate-indent): Respect it.
1197
12e10e61
GM
11982012-04-17 Glenn Morris <rgm@gnu.org>
1199
1200 * dired-aux.el (dired-mark-read-string): Doc fix.
1201
30009afd
DA
12022012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1203
1204 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1205 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1206
41f03f4d
GM
12072012-04-17 Glenn Morris <rgm@gnu.org>
1208
1209 * mouse.el (mouse-drag-track):
1210 * speedbar.el (speedbar-frame-mode):
1211 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1212
f45f90f3
LL
12132012-04-16 Leo Liu <sdl.web@gmail.com>
1214
1215 * progmodes/python.el: Trivial cleanup.
1216
94ee8db5
GM
12172012-04-16 Glenn Morris <rgm@gnu.org>
1218
121b8917
GM
1219 * vc/vc.el (vc-string-prefix-p):
1220 * vc/pcvs-util.el (cvs-string-prefix-p):
1221 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1222 * mpc.el (mpc-string-prefix-p):
1223 Make all of these into obsolete aliases for string-prefix-p.
1224 Update callers.
1225 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1226
1197ecfa
GM
1227 * textmodes/two-column.el: Move custom options to the start.
1228 (frame-width): Remove compat definition.
1229 (2C-associate-buffer, 2C-dissociate):
1230 Use with-current-buffer rather than save-excursion.
1231 (2C-dissociate): Force a mode-line update.
1232 (2C-autoscroll): Use ignore-errors.
1233
099e7202
GM
1234 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1235 Autoload trivia.
1236
bf350d6a
GM
1237 * emacs-lisp/cl-extra.el (*random-state*):
1238 Remove unnecessary declaration.
1239
0e829eab
GM
1240 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1241
e3ad7552
GM
1242 * play/cookie1.el (cookie-snarf):
1243 Give an explicit error if input file cannot be read.
1244
68892d27
GM
1245 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1246
20f0c46d
GM
1247 * progmodes/perl-mode.el (c-macro-expand):
1248 Remove unnecessary autoload (it is in loaddefs.el).
1249
5a0978ce
GM
1250 * textmodes/picture.el (picture-desired-column)
1251 (picture-update-desired-column): Convert comments to doc-strings.
1252 (picture-substitute): Remove function.
1253 (picture-mode-map): Initialize in the defvar.
1254
6b955486
GM
1255 * woman.el: Remove eval-after-load for tar-mode.
1256 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1257 (woman-tar-extract-file): Autoload it.
1258
94ee8db5
GM
1259 * frame.el (automatic-hscrolling): Make this alias obsolete.
1260
177eca34
AM
12612012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1262
1263 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1264 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1265 (ispell-dictionary-base-alist): Revert to original XEmacs
1266 friendly version for default. [:alpha:] will be added in
1267 `ispell-set-spellchecker-params' if needed
177eca34 1268
c505aaeb
CY
12692012-04-16 Chong Yidong <cyd@gnu.org>
1270
1271 * image.el (imagemagick--extension-regexp): New variable.
1272 (imagemagick-register-types): Use it.
1273 (imagemagick-types-inhibit): Add :set function. Allow new value
1274 of t to inhibit all types.
1275
1276 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1277 so we can preload it.
1278
1279 * loadup.el (fboundp): Preload regexp-opt, needed by
1280 imagemagick-register-types.
1281
60efac0f
CY
12822012-04-15 Chong Yidong <cyd@gnu.org>
1283
1284 * frame.el (scrolling): Remove nearly unused customization group.
1285
1286 * scroll-all.el (scroll-all-mode): Move to windows group.
1287
5dd1713e
CY
12882012-04-15 Chong Yidong <cyd@gnu.org>
1289
1290 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1291
e6fd457e
CY
12922012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1295 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1296
e153c136
GM
12972012-04-15 Glenn Morris <rgm@gnu.org>
1298
1299 * simple.el (process-file-side-effects): Doc fix.
1300
e6fd457e 13012012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1302
1303 * international/mule-cmds.el (set-language-environment): Doc fix.
1304
3603c3b1
JB
13052012-04-14 Juanma Barranquero <lekktu@gmail.com>
1306
1307 * server.el (server-auth-key, server-generate-key): Doc fixes.
1308 (server-get-auth-key): Doc fix. Use `string-match-p'.
1309 (server-start): Reflow docstring.
1310
e6de100c
LI
13112012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1312
1313 * server.el (server-generate-key): `called-interactively-p'
1314 requires a parameter.
1315
29734c21
MN
13162012-04-14 Michal Nazarewicz <mina86@mina86.com>
1317
1318 * server.el (server-auth-key): New variable.
75f1671a 1319 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1320 (server-start): Use the new variable and functions to allow
1321 setting a permanent server key (bug#9423).
1322
d65c9521
LL
13232012-04-14 Leo Liu <sdl.web@gmail.com>
1324
1325 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1326
5ae255c7
PE
13272012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1328
1329 Spelling fixes.
1330 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1331 Emacs uses American spelling.
1332
d5e6342e
JB
13332012-04-14 Juanma Barranquero <lekktu@gmail.com>
1334
1335 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1336 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1337 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1338 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1339
ab036cd7
SM
13402012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1341
1342 * progmodes/which-func.el (which-func-modes): Change default.
1343
35dc09a1 13442012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1345
1346 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1347 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1348
35dc09a1 13492012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1350
1351 * custom.el (custom-theme-set-variables): Doc fix.
1352
35dc09a1 13532012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1354
1355 * international/mule.el (set-auto-coding-for-load): Doc fix.
1356
35dc09a1 13572012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1358
35dc09a1
GM
1359 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1360 imenu work again for Objective C Mode. Correct the *-index values,
1361 these having been disturbed by a previous change in 2011-08.
57f845ee 1362
0de3da9f
AM
1363 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1364 Correct two search limits.
1365
35dc09a1 13662012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1367
1368 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1369
35dc09a1 13702012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1371
1372 * international/characters.el: Fix sorting.
1373
35dc09a1 13742012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1375
1376 * international/characters.el: Add more missing Latin case pairs.
1377
35dc09a1 13782012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1379
1380 * files.el (dir-locals-set-class-variables): Doc fix.
1381
35dc09a1 13822012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1383
3f1b5bf8
EZ
1384 * international/characters.el: Add set-case-syntax-pair call for
1385 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1386 counterpart. (Bug#11209)
1387
9f847f41
EZ
1388 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1389
35dc09a1 13902012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1391
1392 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1393
35dc09a1 13942012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1395
35dc09a1
GM
1396 * textmodes/ispell.el (ispell-dictionary-base-alist):
1397 Add data for Hebrew.
e2627d21 1398
35dc09a1 13992012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1400
35dc09a1
GM
1401 * net/rcirc.el (rcirc-cmd-quit):
1402 Revert 2012-03-18 change (Bug#11192).
5c14e333 1403
35dc09a1 14042012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1405
1406 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1407
35dc09a1 14082012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1409
4517fe3a
SM
1410 * minibuffer.el (completion-in-region-mode-map):
1411 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1412
b472a594
VD
14132012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1414
1415 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1416
09b95ce3
MY
14172012-04-13 Masatake YAMATO <yamato@redhat.com>
1418
1419 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1420 to allow `C-M-f' and `C-M-b' to move to the nearest path
1421 separator (bug#9511).
1422
4b63a9ca
LI
14232012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1424
1425 * avoid.el: Require cl when compiling. And also move the
1426 `provide' to the end.
1427
7b55b8bf
TV
14282012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1429
1430 * avoid.el (mouse-avoidance-banish-position): New variable.
1431 (mouse-avoidance-banish-destination): Use it (bug#10165).
1432
adedaa1f
LL
14332012-04-13 Leo Liu <sdl.web@gmail.com>
1434
1435 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1436
70e74021
KB
14372012-04-13 Ken Brown <kbrown@cornell.edu>
1438
1439 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1440 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1441 (browse-url-filename-alist): For the same reason, don't modify
1442 file:// URLs on Cygwin.
1443
e75e89ba
SM
14442012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1447 the region on shift if the binding is already shifted (bug#11221).
1448
82f289a4
GM
14492012-04-12 Glenn Morris <rgm@gnu.org>
1450
1451 * mail/mailpost.el: Move to obsolete/.
1452
d333dc4c
DA
14532012-04-12 Drew Adams <drew.adams@oracle.com>
1454
1455 * imenu.el (imenu--generic-function): Ignore invisible definitions
1456 (bug#10123).
1457
0d15b5ba
VD
14582012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1459
1460 * hexl.el (hexl-bits): New variable.
1461 (hexl-options): Mention the variable in the doc string.
75f1671a 1462 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1463 (hexl-mode): Mention the new variable.
75f1671a
JB
1464 (hexl-mode, hexl-current-address, hexl-current-address):
1465 Use the displen.
0d15b5ba
VD
1466 (hexl-ascii-start-column): New function.
1467 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1468 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1469
64a440db
AM
14702012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1471
1472 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1473 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1474 the encoding, as expected by hunspell.
1475
6decb6c2
SM
14762012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * battery.el (battery--linux-sysfs-regexp): New const.
1479 (battery-status-function): Use it. Remove yeeloong special case.
1480 (battery-yeeloong-sysfs): Remove.
1481 (battery-echo-area-format): Remove yeeloong special case.
1482
088be6fb
SM
14832012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1484
6622e416
SM
1485 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1486 Reported by Noah Friedman.
1487
088be6fb
SM
1488 * subr.el (read-passwd): Use read-string.
1489
b49f886e
LMI
14902012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1491
1492 * vcursor.el (vcursor-move): Increase the priority of the overlay
1493 (bug#9663).
1494
a63067fc
DD
14952012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1496
1497 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1498 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1499
ac3cf14a
WS
15002012-04-11 William Stevenson <yhvh2000@gmail.com>
1501
1502 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1503 define-minor-mode (bug#10760).
1504
c4fc691b 15052012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1506
4d6769e1 1507 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1508 that directories matching `grep-find-ignored-files' won't be
1509 pruned (bug#10351).
1510
af23e2e5
CY
15112012-04-11 Chong Yidong <cyd@gnu.org>
1512
1513 * startup.el (command-line): Remove support for long-obsolete
1514 variable font-lock-face-attributes.
1515
ab7ce8c1
GM
15162012-04-11 Glenn Morris <rgm@gnu.org>
1517
1518 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1519
de8c03dc
SM
15202012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * window.el (window--state-get-1): Obey window-point-insertion-type.
1523
050cc68b
LB
15242012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1525
1526 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1527 to previous function when point is on the first character of a
75f1671a 1528 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1529
a38c310c
GM
15302012-04-11 Glenn Morris <rgm@gnu.org>
1531
effed0c2
GM
1532 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1533 not just file-errors.
1534
a38c310c
GM
1535 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1536 (vc-bzr-sha1): Use internal sha1.
1537
0221e323
SM
15382012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1541
43956923
SG
15422012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1543
1544 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1545 that start in the middle of the line (bug#10496).
1546
6a8c9eaf
DN
15472012-04-10 Dan Nicolaescu <dann@gnu.org>
1548
1549 * battery.el (battery-linux-proc-acpi): Only one battery is
1550 discharged at a time, but that seems to confuse battery.el when
1551 computing `rate-type' for the battery not being discharged
1552 (bug#10332).
1553
1930bf5d
SM
15542012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1555
2a718f6f
SM
1556 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1557
599430d0
SM
1558 * international/quail.el: Use dolist and simplify.
1559 (quail-define-package, quail-update-keyboard-layout)
1560 (quail-define-rules): Use dolist.
1561 (quail-insert-kbd-layout, quail-get-translation): CSE.
1562
a2754b6c
SM
1563 * tmm.el: Use dolist, remove left over hook.
1564 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1565 Use dolist.
1566 (calendar-load-hook): Don't mess with it.
1567
1930bf5d
SM
1568 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1569 Use derived-mode-p. Run the diff asynchronously.
1570
9f67961c
LMI
15712012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1572
1573 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1574
2a8ce227
JB
15752012-04-10 Juanma Barranquero <lekktu@gmail.com>
1576
1577 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1578 (list-dynamic-libraries--loaded): New function.
1579 (list-dynamic-libraries--refresh): Use it.
1580
8f33b5f8
NW
15812012-04-10 Nathan Weizenbaum <nweiz@google.com>
1582
1930bf5d
SM
1583 * progmodes/python.el (python-fill-paragraph):
1584 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1585 disabled (bug#7018).
1586
b12f0439
L
15872012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1588
1930bf5d 1589 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1590 DOS/MS Windows for the Baltic languages. There are still plenty
1591 of texts written in this encoding/codepage (bug#6519).
b12f0439 1592
57c3bd01
GM
15932012-04-10 Glenn Morris <rgm@gnu.org>
1594
1595 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1596 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1597
6c3eab30
FA
15982012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1599
1930bf5d 1600 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1601 next-line "n" and previous-line "p" in order to make recentf more
1602 consistent with ibuffer, dired or org-mode (bug#9387).
1603
24d78a88
LMI
16042012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1605
bc72b5d9
LMI
1606 * image.el (put-image): Return the overlay created instead of the
1607 optional input string (bug#7834). Note that this may break code
1608 that is (for some reason or other) depending on `put-image'
1609 returning the string.
1610
bd2dba5a
LMI
1611 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1612
74beb59f
LMI
1613 * simple.el (zap-to-char): Allow zapping using input methods
1614 (bug#1580).
1615
24d78a88
LMI
1616 * textmodes/fill.el (fill-region): Leave point and mark where they
1617 were before filling (bug#5399).
1618
263f20cd
GM
16192012-04-09 Glenn Morris <rgm@gnu.org>
1620
1621 * version.el (emacs-bzr-get-version):
1622 Handle lightweight checkouts of local branches.
1623
58d1f797
AS
16242012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1625
263f20cd 1626 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1627
b4d3bc10
CY
16282012-04-09 Chong Yidong <cyd@gnu.org>
1629
1630 * custom.el (custom-variable-p): Return nil for non-symbol
1631 arguments instead of signaling an error.
1632 (user-variable-p): Obsolete alias for custom-variable-p.
1633
1634 * apropos.el (apropos-variable):
1635 * files-x.el (read-file-local-variable):
1636 * simple.el (set-variable):
1637 * woman.el (woman-mini-help):
1638 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1639
fd06db5d
GM
16402012-04-09 Glenn Morris <rgm@gnu.org>
1641
e5fcdb5e
GM
1642 * startup.el (normal-top-level): Don't look for leim-list.el
1643 in places where it will not be found. (Bug#910)
1644
fd06db5d
GM
1645 * international/mule-cmds.el (set-default-coding-systems):
1646 * files.el (normal-mode):
1647 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1648 This function was removed with ucs-tables.el in 2008.
1649
b39bb7e1
EZ
16502012-04-08 Eli Zaretskii <eliz@gnu.org>
1651
1652 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1653 ispell-encoding8-command to "-i", without a trailing space.
1654 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1655 separate command-line arguments, to specify the encoding, since
1656 that's how hunspell expects it.
1657
5c5b8e23
GM
16582012-04-08 Glenn Morris <rgm@gnu.org>
1659
1660 * loadup.el: Load bindings before cus-start.
1661 This reduces somewhat the number of "rogue" settings in emacs -Q.
1662
a1ed8b05
GM
16632012-04-07 Glenn Morris <rgm@gnu.org>
1664
1665 * version.el (emacs-bzr-get-version): New function.
dfae128a 1666 (emacs-bzr-version): New variable.
a1ed8b05
GM
1667 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1668 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1669
b142f158
EZ
16702012-04-07 Eli Zaretskii <eliz@gnu.org>
1671
dfae128a
GM
1672 * international/uni-bidi.el, international/uni-category.el:
1673 * international/uni-combining.el, international/uni-decimal.el:
1674 * international/uni-decomposition.el, international/uni-digit.el:
1675 * international/uni-lowercase.el, international/uni-mirrored.el:
1676 * international/uni-name.el, international/uni-numeric.el:
1677 * international/uni-titlecase.el, international/uni-uppercase.el:
1678 Update for Unicode 6.1.
b142f158 1679
9078ead6
EZ
16802012-04-07 Eli Zaretskii <eliz@gnu.org>
1681
1682 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1683
f23d2c7d
LMI
16842012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1685
1686 * window.el (shrink-window): Mention the `window-min-height'
1687 variable in the doc string.
1688
0a0a3573
BG
16892012-04-05 Bastien Guerry <bzg@altern.org>
1690
1691 * color.el (color-lighten-name): Fix typo.
1692
e5248ac9
SM
16932012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1694
1695 * server.el (server--on-display-p): New function.
1696 (server--on-display-p): Use it.
1697
b4243e22
GV
16982012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1699
1700 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1701 (bug#11145).
1702
305d9f44
SM
17032012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * comint.el (comint--common-quoted-suffix): Check string boundary
1706 before comparing (bug#11158).
1707 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1708
3d439cd1
CY
17092012-04-04 Chong Yidong <cyd@gnu.org>
1710
321cc491
CY
1711 * minibuffer.el (completion-extra-properties): Doc fix.
1712
3d439cd1
CY
1713 * subr.el (delayed-warnings-hook): Doc fix.
1714
2d562c0f
DU
17152012-04-04 Daiki Ueno <ueno@unixuser.org>
1716
1717 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1718 selection (Bug#11159).
1719 (epa-insert-keys): Inform that the default public key will be
1720 exported if no key is selected.
1721
4443f204
RS
17222012-04-04 Richard Stallman <rms@gnu.org>
1723
1724 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1725
529c06b6
CY
17262012-04-03 Chong Yidong <cyd@gnu.org>
1727
1728 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1729 mail-insert-file, not its obsolete alias mail-attach-file.
1730
66b907dc
MA
17312012-04-03 Michael Albinus <michael.albinus@gmx.de>
1732
1733 * notifications.el (notifications-notify): Fix docstring.
1734
c0ea195d
GM
17352012-04-02 Glenn Morris <rgm@gnu.org>
1736
1737 * emacs-lisp/authors.el (authors-aliases): Another addition.
1738
5ca64e00
MA
17392012-04-02 Michael Albinus <michael.albinus@gmx.de>
1740
1741 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1742 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1743 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1744
42ee526b
CY
17452012-04-01 Chong Yidong <cyd@gnu.org>
1746
1747 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1748 Handle root directory properly.
1749 (copy-directory): Caller changed.
1750
1751 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1752 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1753
0b021094
GM
17542012-03-31 Glenn Morris <rgm@gnu.org>
1755
40f86458
GM
1756 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1757
7019c177
GM
1758 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1759
a1daddd6
GM
1760 * calendar/calendar.el (calendar-window-list)
1761 (calendar-hide-window): Restore. (Bug#11140)
1762 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1763
0b021094
GM
1764 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1765
40311efc
TV
17662012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1767
1768 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1769 Check if file is a symlink (Bug#10489).
1770
1771 * files.el (copy-directory): Likewise.
1772
5319014e
CY
17732012-03-30 Chong Yidong <cyd@gnu.org>
1774
1775 * image.el (imagemagick-types-inhibit)
1776 (imagemagick-register-types): Doc fix.
1777
935d1290
AM
17782012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1779
ef24141c
SM
1780 * ispell.el (ispell-get-extended-character-mode):
1781 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1782 and treats ~word as ordinary words in pipe mode.
935d1290 1783
61c6e8fd
GM
17842012-03-30 Glenn Morris <rgm@gnu.org>
1785
1786 * tutorial.el (help-with-tutorial): Ensure local variables don't
1787 happen to make the buffer read-only. (Bug#11127)
1788
81fdff00
SM
17892012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1792 (perl-calculate-indent): Return `noindent' in strings.
1793
6e7a6ec0
SS
17942012-03-28 Sam Steingold <sds@gnu.org>
1795
1796 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1797 instead of the broken adhockery which does not prevent calendar
1798 buffers from being displayed at random after exit.
1799 (calendar-window-list, calendar-hide-window): Remove the broken
1800 adhockery.
1801
fee88ca0
GM
18022012-03-28 Glenn Morris <rgm@gnu.org>
1803
1804 * replace.el (query-replace-map): Doc fix.
1805
38de3354
AS
18062012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1807
1808 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1809 contents. (Bug#11109)
1810
b973155e
SM
18112012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1814 (bug#11077).
1815 (avl-tree--check, avl-tree--check-node): New funs.
1816
dcb6e7b3
MR
18172012-03-27 Martin Rudalics <rudalics@gmx.at>
1818
1819 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1820 (switch-to-prev-buffer, switch-to-next-buffer):
1821 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1822 showing a buffer already is done on the same frame.
1823
b4fa35fa
GM
18242012-03-27 Glenn Morris <rgm@gnu.org>
1825
1826 * startup.el (mail-host-address): Doc fix.
1827
f9210e18
SM
18282012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1831 than 197 variables.
1832
c0bf7753
AF
18332012-03-26 Ami Fischman <ami@fischman.org>
1834
1835 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1836
33da7b16
GM
18372012-03-26 Glenn Morris <rgm@gnu.org>
1838
02243d9d
GM
1839 * files.el (save-buffers-kill-emacs): Doc fix.
1840
33da7b16
GM
1841 * startup.el (normal-top-level, command-line, command-line-1):
1842 Give them doc strings.
1843
e5a69fd0
EZ
18442012-03-25 Eli Zaretskii <eliz@gnu.org>
1845
1846 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1847 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1848
9a69676a
CY
18492012-03-25 Chong Yidong <cyd@gnu.org>
1850
4125cb8b
CY
1851 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1852 theme if it was previously enabled before (Bug#11031).
1853
dd470960
CY
1854 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1855 spec with custom-face-get-current-spec if its :shown-value is not
1856 determined yet (Bug#9337).
4125cb8b 1857 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1858
9a69676a
CY
1859 * button.el (button-at): Minor addition to docstring.
1860
6e7e90fa
SL
18612012-03-24 Simon Leinen <simon.leinen@gmail.com>
1862
1863 * vc/vc.el (vc-merge): Fix a prompt.
1864
f06e2758
CY
18652012-03-24 Chong Yidong <cyd@gnu.org>
1866
1867 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1868 point (Bug#9623).
1869
6e7e90fa
SL
1870 * button.el (button-at): Minor addition to docstring.
1871
b9d0879b
SM
18722012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * newcomment.el (comment-choose-indent): No space after BOL.
1875
e71cebb3
SS
18762012-03-22 Sam Steingold <sds@gnu.org>
1877
1878 * window.el (switch-to-prev-buffer): Revert last patch because the
1879 bug turned out to be an advertised feature (Elisp manual 28.14).
1880
335aff35
GM
18812012-03-22 Glenn Morris <rgm@gnu.org>
1882
1883 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1884 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1885
c676576a
LMI
18862012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1887
1888 * net/network-stream.el (network-stream-open-starttls): Make error
1889 message under Windows be less misleading.
1890
126f3d39
LW
18912012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1892
1893 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1894 understands (bug#9942).
1895
64fee311
CY
18962012-03-22 Chong Yidong <cyd@gnu.org>
1897
1898 * simple.el (end-of-visible-line): Handle return value of
1899 next-single-property-change properly (Bug#9371).
1900
a640d29a
KH
19012012-03-22 Kenichi Handa <handa@m17n.org>
1902
1903 * international/quail.el (quail-insert-kbd-layout): Fix previous
1904 change. To avoid unwanted bidi reordering, use
1905 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1906
39675016
DG
19072012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1908
1909 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1910 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1911 (ruby-beginning-of-indent): Be more careful with the difference
1912 between word-boundary and symbol boundary.
1913 (ruby-mode-syntax-table): Make : a symbol constituent.
1914
0a6934fc 19152012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1916
3d008e4f
SM
1917 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1918
0a6934fc
SM
19192012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1920
af67c9d7
SM
1921 * progmodes/etags.el (tags-completion-at-point-function):
1922 Improve last fix.
1923
1acad97c
SM
1924 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1925
e298b5da
SS
19262012-03-21 Sam Steingold <sds@gnu.org>
1927
1928 * progmodes/etags.el (tags-completion-at-point-function):
1929 Avoid the error when point is inside the pattern.
1930
91d82a70
JY
19312012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1932
1933 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1934 line (Bug#10855).
1935
69188b79
CY
19362012-03-21 Drew Adams <drew.adams@oracle.com>
1937
1938 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1939
99fc91fe
AK
19402012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1941
1942 * ido.el (ido-set-current-directory, ido-read-internal)
1943 (ido-choose-completion-string, ido-completion-help): Handle nil
1944 value of ido-completion-buffer (Bug#11008).
1945
087bbb4c
SS
19462012-03-21 Sam Steingold <sds@gnu.org>
1947
1948 * window.el (switch-to-prev-buffer): Do not switch to a visible
1949 window previous buffer, just like with the frame previous buffers.
1950
fb5b8aca
CY
19512012-03-21 Chong Yidong <cyd@gnu.org>
1952
1953 * faces.el (make-face, make-empty-face, copy-face):
1954 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1955 Doc fixes.
1956
dc9924b8
SM
19572012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1960 (widget-complete): Remove broken use of it.
1961
f0bcceb9
CY
19622012-03-20 Chong Yidong <cyd@gnu.org>
1963
dc9924b8
SM
1964 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1965 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1966 characters.
1967
ee52ebf3
TH
19682012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1969
1970 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1971 to draw rectangles, not squares. (Regression introduced by revno
1972 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1973
4c5779ab
CY
19742012-03-18 Chong Yidong <cyd@gnu.org>
1975
1976 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1977 it is not yet defined (for temacs).
1978
15360934
LL
19792012-03-18 Leo Liu <sdl.web@gmail.com>
1980
dc9924b8 1981 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1982
d9a8eb66
EZ
19832012-03-17 Eli Zaretskii <eliz@gnu.org>
1984
1985 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1986 (ispell-choices-win-default-height, ispell-silently-savep)
1987 (ispell-dictionary-alist, ispell-encoding8-command)
1988 (ispell-check-version, ispell-aspell-find-dictionary)
1989 (ispell-valid-dictionary-list, ispell-words-keyword)
1990 (ispell-get-word, ispell-internal-change-dictionary)
1991 (ispell-region, ispell-skip-region-list)
1992 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1993 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1994 (ispell-message-text-end, ispell-message)
1995 (ispell-buffer-local-parsing): Doc fix.
1996
f02ff80d
J
19972012-03-13 Jambunathan K <kjambunathan@gmail.com>
1998
1999 * htmlfontify.el: Add support for code block fontification for ODT
2000 export (Bug #9914).
2001 (hfy-optimisations): Define new option
2002 `body-text-only'
2003 (hfy-fontify-buffer): Honor above setting.
2004 (hfy-begin-span, hfy-end-span): New routines factored out form
2005 `hfy-fontify-buffer'.
2006 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2007 that permit insertion of custom tags.
2008 (hfy-fontify-buffer): Use above handlers.
2009 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2010 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2011 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2012 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2013 bind a special variable `hfy-user-sheet-assoc'.
2014 (htmlfontify-string): New defun.
2015 (hfy-compile-face-map): Make sure that the last char in the
2016 buffer is correctly fontified.
2017 (hfy-face-resolve-face): Whitespace only change.
2018
9ac7a13f
EZ
20192012-03-17 Eli Zaretskii <eliz@gnu.org>
2020
2021 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2022 message more clear.
2023
e2b5bdd7
LL
20242012-03-16 Leo Liu <sdl.web@gmail.com>
2025
2026 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2027
2e492df3
AM
20282012-03-16 Alan Mackenzie <acm@muc.de>
2029
2030 Further optimise the handling of large macros.
2031
2032 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2033 limit to a call of `c-literal-limits'.
2034 (c-determine-+ve-limit): New function.
dc9924b8
SM
2035 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2036 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2037 In CASE 5B, restrict a search limit to 500.
2038 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2039
2040 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2041 Restrict macro bounds to +-500 from after-change's BEG END.
2042
50e94f0c
LL
20432012-03-16 Leo Liu <sdl.web@gmail.com>
2044
2045 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2046
6f09f6ed
AH
20472012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2048
2049 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2050 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2051
c7e73d51
GM
20522012-03-16 Glenn Morris <rgm@gnu.org>
2053
da986230
GM
2054 * view.el (view-buffer, view-buffer-other-window)
2055 (view-buffer-other-frame): Doc fixes re special mode-class.
2056
0835f01e
GM
2057 * subr.el (eval-after-load): If named feature is provided not from
2058 a file, run after-load forms. (Bug#10946)
2059
c7e73d51
GM
2060 * calendar/calendar.el (calendar-insert-at-column):
2061 Handle non-unit-width characters a bit better. (Bug#10978)
2062
3f2eafd1
CY
20632012-03-15 Chong Yidong <cyd@gnu.org>
2064
2065 * emacs-lisp/ring.el (ring-extend): New function.
2066 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2067
2068 * comint.el (comint-read-input-ring)
2069 (comint-add-to-input-history): Grow comint-input-ring lazily.
2070
103af3fe
SM
20712012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2072
663b1677
SM
2073 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2074 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2075
103af3fe
SM
2076 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2077 (imenu-add-to-menubar): Don't add a redundant index.
2078 (imenu-update-menubar): Handle a dynamically composed keymap.
2079
899cb7cb
KY
20802012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2081
2082 * mail/sendmail.el (mail-encode-header):
2083 Bind rfc2047-encode-encoded-words to nil.
2084
3809f91d
GM
20852012-03-13 Glenn Morris <rgm@gnu.org>
2086
2087 * calendar/calendar.el (calendar-string-spread):
2088 Handle non-unit-width characters a bit better. (Bug#10978)
2089
9e345a01
LL
20902012-03-13 Leo Liu <sdl.web@gmail.com>
2091
2092 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2093 directory and file as argument (Bug#10822).
2094
4a07df36
KS
20952012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2096
2097 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2098 For dynamically generated code, follow $PC.
2099 (gdb-disassembly-handler-custom): Handle no function name case.
2100
4aaa9356
TL
21012012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2102
2103 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2104 * emulation/ws-mode.el (ws-query-replace):
2105 * sort.el (sort-regexp-fields):
2106 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2107
225979da
SM
21082012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2109
2110 * dabbrev.el: Fix cycle completion order (bug#10963).
2111 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2112 (dabbrev-completion): Don't use an obarray; provide
2113 a cycle-sort-function.
2114
e2f1fdab
LL
21152012-03-12 Leo Liu <sdl.web@gmail.com>
2116
dc9924b8 2117 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2118 (kill-do-not-save-duplicates): Doc fix.
2119
b19490ed
SM
21202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2121
2122 * dabbrev.el: Fix cycle completion (bug#10963).
2123 Use lexical binding and wrap to 80 columns.
2124 (dabbrev-completion): Delay computing the list of completions.
2125
4b05d722
KH
21262012-03-12 Kenichi Handa <handa@m17n.org>
2127
2128 * international/quail.el (quail-insert-kbd-layout): Surround each
2129 row by LRO and PDF instead of inserting many LRMs. Pad the left
2130 and right of each non-spacing marks. Insert invisible space
2131 between lower and upper characters to prevent composition.
2132
dbbc2e69
SM
21332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2134
2135 * minibuffer.el (minibuffer-complete): Don't get confused when the
2136 function is run twice via different commands (bug#10958).
2137 (complete-with-action): Fix docstring.
2138
292112ed
CY
21392012-03-12 Chong Yidong <cyd@gnu.org>
2140
5d1ac394
CY
2141 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2142 (nxml-completion-at-point-function): New function.
2143 (nxml-mode): Use it.
2144 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2145
292112ed
CY
2146 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2147 Load generated autoloads file before byte compiling (Bug#10970).
2148 (package--make-autoloads-and-compile): New helper fun.
2149
4098f8f7
CS
21502012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2151
2152 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2153
8f754691
MA
21542012-03-11 Michael Albinus <michael.albinus@gmx.de>
2155
2156 * autorevert.el (auto-revert-handler): Ensure, that
2157 file-readable-p is applied only for local files or in
2158 auto-revert-tail-mode.
2159
e29ab36b
AS
21602012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2161
dbbc2e69
SM
2162 * server.el (server-eval-at): Handle non-tcp connections.
2163 Decode result string.
ad0bf5b6 2164
e29ab36b
AS
2165 * server.el (server-msg-size): New constant.
2166 (server-reply-print): New function.
2167 (server-eval-and-print): Use it.
2168 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2169 Handle -print-nonl.
2170
de5939ba
CS
21712012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2172
2173 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2174 (Bug#10987).
2175
0c93eabf
CY
21762012-03-11 Chong Yidong <cyd@gnu.org>
2177
397a688f
CY
2178 * simple.el (goto-line): Doc fix (Bug#9938).
2179
2cc775f9
CY
2180 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2181
0c93eabf
CY
2182 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2183 when finished (Bug#10963).
2184
c491fa41
MR
21852012-03-11 Martin Rudalics <rudalics@gmx.at>
2186
2187 * window.el (split-window-below): Fix bug in case where
2188 split-window-keep-point is nil (Bug#10971).
2189
300e8fa5
JL
21902012-03-11 Juri Linkov <juri@jurta.org>
2191
2192 * replace.el (replace-highlight): Set isearch-word to nil
2193 unconditionally. (Bug#10887)
2194
dbf6c5a1
EZ
21952012-03-10 Eli Zaretskii <eliz@gnu.org>
2196
2197 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2198 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2199 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2200 (mairix-widget-create-query): Add usage information about mairix
2201 search forms: negating words, searching for substrings, etc.
2202
b9e501de
JP
22032012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2204
2205 * international/fontset.el (font-encoding-alist): Add an entry for
2206 ksx1001 (Bug#5667).
2207
92795c91
RS
22082012-03-10 Richard Stallman <rms@gnu.org>
2209
1694e6c1
RS
2210 * mail/sendmail.el (mail-encode-header):
2211 Set rfc2047-encode-encoded-words.
2212
607e8555
RS
2213 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2214
de3bc99a
RS
2215 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2216 view buffer means not swapped.
2217 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2218 (rmail-write-region-annotate): Error if real text has disappeared.
2219
92795c91
RS
2220 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2221
699bd04e
CY
22222012-03-10 Chong Yidong <cyd@gnu.org>
2223
2224 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2225 * emulation/cua-base.el (cua--init-keymaps):
2226 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2227
570a1714
MR
22282012-03-10 Martin Rudalics <rudalics@gmx.at>
2229
dbbc2e69
SM
2230 * speedbar.el (speedbar-unhighlight-one-tag-line):
2231 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2232
82dcf4e4
CY
22332012-03-10 Chong Yidong <cyd@gnu.org>
2234
7a2c7ca7
CY
2235 * minibuffer.el (completion-in-region, completion-help-at-point):
2236 Give the completion field overlay a high priority (Bug#6830).
2237
82dcf4e4
CY
2238 * dired.el (dired-goto-file): Recognize absolute file name
2239 listings (Bug#7126).
2240 (dired-goto-file-1): New helper function.
2241 (dired-toggle-read-only): Inhibit warnings.
2242
052e28ac
MA
22432012-03-09 Michael Albinus <michael.albinus@gmx.de>
2244
75f1671a 2245 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2246 there are no properties.
2247
95d5e396
LL
22482012-03-09 Leo Liu <sdl.web@gmail.com>
2249
2250 * savehist.el (savehist-printable): Stricter check for string
2251 value (Bug#10937).
2252
3f018d6d
EZ
22532012-03-09 Eli Zaretskii <eliz@gnu.org>
2254
dbbc2e69
SM
2255 * mail/smtpmail.el (smtpmail-send-it):
2256 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2257 valid mbox format.
2258
f7fd3d79
GM
22592012-03-09 Glenn Morris <rgm@gnu.org>
2260
2261 * files.el (dir-locals-find-file):
2262 Don't check result is regular, readable.
2263 (dir-locals-read-from-file): Demote errors.
2264
6ff6e72f
EZ
22652012-03-08 Eli Zaretskii <eliz@gnu.org>
2266
dbbc2e69
SM
2267 * international/quail.el (quail-insert-kbd-layout):
2268 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2269 layout cell, to prevent their reordering by bidi display engine.
2270 For details, see the discussion in
2271 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2272
9cec7834
AM
22732012-03-08 Alan Mackenzie <acm@muc.de>
2274
2275 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2276 the starting position; make it extend the marked region when
2277 invoked repeatedly - all under appropriate circumstances.
2278 Fixes bugs #5525, #10906.
2279
9a40b8d4
GM
22802012-03-08 Glenn Morris <rgm@gnu.org>
2281
2282 * files.el (locate-dominating-file, dir-locals-find-file):
2283 Undo 2012-03-06 change.
2284
7a08ed35
EZ
22852012-03-07 Eli Zaretskii <eliz@gnu.org>
2286
dbbc2e69
SM
2287 * international/quail.el (quail-help):
2288 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2289 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2290 for the reason.
2291
5aca4f71 22922012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2293
2294 Avoid superfluous registering of signals. (Bug#10807)
2295
2296 * notifications.el (notifications-on-action-object)
2297 (notifications-on-close-object): New defvars.
2298 (notifications-on-action-signal, notifications-on-closed-signal):
2299 Unregister the signal if not needed any longer.
2300 (notifications-notify): Register `notifications-action-signal' or
2301 `notifications-closed-signal', if :on-action or :on-close has been
2302 passed as argument.
2303
78e8b10a
CY
23042012-03-07 Chong Yidong <cyd@gnu.org>
2305
2306 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2307 non-X platforms.
2308
69481eb8
GM
23092012-03-06 Glenn Morris <rgm@gnu.org>
2310
2311 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2312 (x-disown-selection-internal, x-get-selection-internal):
2313 Doc fix (add arglist signatures). (Bug#10783)
2314
133b8e11
KS
23152012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2316
2317 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2318 Handle breakpoints with no "type".
2319
99a83064
GM
23202012-03-06 Glenn Morris <rgm@gnu.org>
2321
2322 * files.el (locate-dominating-file): Add optional predicate argument.
2323 (dir-locals-find-file): Make use of above change.
2324
17798e78
TTN
23252012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2326
2327 * info.el (Info-insert-dir): Also try "dir.gz".
2328
eb182446
GM
23292012-03-06 Glenn Morris <rgm@gnu.org>
2330
8f2114ee
GM
2331 * files.el (dir-locals-find-file):
2332 Ignore non-readable or non-regular files. (Bug#10928)
2333
eb182446
GM
2334 * files.el (locate-dominating-file): Doc fix.
2335
24679323
AS
23362012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2337
2338 * calendar/calendar.el (calendar-set-mode-line):
2339 `getenv' returns a string. (Bug#10951)
2340
01d972a9
LL
23412012-03-05 Leo Liu <sdl.web@gmail.com>
2342
109aa8a9
LL
2343 * simple.el (backward-delete-char-untabify): Constrain point to
2344 field (Bug#10939).
2345
01d972a9
LL
2346 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2347
10607bea
CY
23482012-03-05 Chong Yidong <cyd@gnu.org>
2349
2350 * simple.el (count-words): If called from Lisp, return the word
2351 count, for symmetry with `count-lines'. Arglist changed.
2352 (count-words--message): Args changed. Consolidate counting code
2353 from count-words and count-words-region.
2354 (count-words-region): Caller changed.
2355 (count-lines-region): Make it an obsolete alias.
2356
5dd11cfe
TH
23572012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2358
2359 * saveplace.el (save-place-to-alist)
2360 (save-place-ignore-files-regexp): Allow value nil to disable this
2361 feature.
2362
c349f4e6
CY
23632012-03-04 Chong Yidong <cyd@gnu.org>
2364
2365 * faces.el (face-spec-reset-face): For the default face, reset the
2366 attributes to default values (Bug#10748).
2367
e627be4c
LMI
23682012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2369
2370 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2371 previous patch: Check `message-send-mail-function', and not the
2372 default function (bug#10897).
2373
ebeabff4
MA
23742012-03-04 Michael Albinus <michael.albinus@gmx.de>
2375
a41a6cf4
MA
2376 * notifications.el (notifications-on-action-signal)
2377 (notifications-on-closed-signal): Check for unique service name of
2378 incoming event. Fix error in removing entry.
ebeabff4 2379 (top): Register for signals with wildcard service name.
a41a6cf4 2380 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2381
c1ca42b4
CY
23822012-03-04 Chong Yidong <cyd@gnu.org>
2383
dc9924b8 2384 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2385
ea16568d
GM
23862012-03-04 Glenn Morris <rgm@gnu.org>
2387
2388 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2389 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2390 (expand-abbrev, define-abbrev-table): Doc fixes.
2391
fbae4637
LMI
23922012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2393
2394 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2395 `message-default-send-mail-function' and not `send-mail-function'
2396 when doing the prompting for `sendmail-query-once' before sending
2397 in Message buffers (bug#10897).
2398
a1e7225c
LMI
2399 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2400 This is inconsistent with all the other stream functions, which leave
2401 the setting up to the higher levels (if so wanted) (bug#10931).
2402
56d093a9
AM
24032012-03-02 Alan Mackenzie <acm@muc.de>
2404
2405 Depessimize the handling of very large macros.
2406
2407 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2408 (c-macro-cache-syntactic): New variables to implement a one
2409 element macro cache.
2410 (c-invalidate-macro-cache): New function.
2411 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2412 Adapt to use the new cache.
2413 (c-state-safe-place): Use better the cache of safe positions.
2414 (c-state-semi-nonlit-pos-cache)
2415 (c-state-semi-nonlit-pos-cache-limit):
2416 New variables for...
2417 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2418 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2419 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2420 Use c-state-semi-safe-place.
56d093a9 2421
dbbc2e69
SM
2422 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2423 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2424
817e5c3d
MA
24252012-03-02 Michael Albinus <michael.albinus@gmx.de>
2426
dbbc2e69
SM
2427 * jka-compr.el (jka-compr-call-process):
2428 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2429 not remote.
2430
a032a702
MA
24312012-03-01 Michael Albinus <michael.albinus@gmx.de>
2432
2433 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2434 access of FILE2, if FILE1 does not exist.
2435
99a54f21
MA
2436 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2437 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2438
2439 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2440 Add "PAGER=" to `process-environment'.
2441
f6561e1f
MM
24422012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2443
2444 * progmodes/sql.el: Bug fix
2445 (sql-get-login-ext): Save login values in globals.
2446 (sql-get-login): Use new version of `sql-get-login-ext'.
2447 (sql-interactive-mode): Set global `sql-connection' to nil.
2448 (sql-connect): Set global values for connection.
2449 (sql-product-interactive): Save global values as buffer local.
2450
2d44d9cc
LL
24512012-02-29 Leo Liu <sdl.web@gmail.com>
2452
2453 * abbrev.el (define-abbrevs): Reset sys to nil.
2454
96b49301 24552012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2456
bf7f9bc5
JB
2457 * files.el (file-equal-p): Rename from `files-equal-p'.
2458 Return nil when one or both files don't exist.
96b49301 2459 (file-subdir-of-p): Now only top directory must exists,
2460 return nil if it doesn't.
bf7f9bc5
JB
2461 (copy-directory): No need to test with `file-subdir-of-p' after
2462 creating dir.
2463 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2464 to `file-equal-p'.
96b49301 2465
44e97401
GM
24662012-02-28 Glenn Morris <rgm@gnu.org>
2467
2468 * shell.el (shell-mode):
2469 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2470 * play/landmark.el (landmark-font-lock-face-O):
2471 * play/handwrite.el (handwrite):
2472 * play/gomoku.el (gomoku-O):
2473 * net/browse-url.el (browse-url-browser-display):
2474 * international/mule.el (define-charset):
2475 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2476 * filesets.el (filesets-find-file-delay):
2477 * eshell/em-xtra.el (eshell-xtra):
2478 * eshell/em-unix.el (eshell-grep):
2479 * emulation/viper.el (viper-mode):
2480 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2481 * emacs-lisp/easymenu.el (easy-menu-define):
2482 * calendar/timeclock.el (timeclock-use-display-time):
2483 * bs.el (bs-mode):
2484 * bookmark.el (bookmark-save-flag):
2485 Doc fix (standardize possessive apostrophe usage).
2486
c98c6276
CY
24872012-02-27 Chong Yidong <cyd@gnu.org>
2488
bf7f9bc5
JB
2489 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2490 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2491
c98c6276
CY
2492 * font-lock.el (font-lock-specified-p): Rename from
2493 font-lock-spec-present. Callers changed.
2494
9c62cd04 24952012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2496
bf7f9bc5
JB
2497 * emacs-lisp/package.el (package-compute-transaction):
2498 Handle holding a package version to t in package-load-list.
8ac9e529 2499
530739c9
MA
25002012-02-26 Michael Albinus <michael.albinus@gmx.de>
2501
2502 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2503 (tramp-get-inode, tramp-get-device): Use cached values.
2504
487915d7
AM
25052012-02-26 Alan Mackenzie <acm@muc.de>
2506
2507 Check there is a font-lock specification before doing initial
2508 fontification.
2509
2510 * font-core.el (font-lock-mode): Move the conditional from
2511 :after-hook to font-lock-initial-fontify.
2512 (font-lock-default-function): Move the check for a specification
2513 to font-lock-spec-present.
2514
dc9924b8 2515 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2516 (font-lock-spec-present): New function.
2517
4fd96557
JB
25182012-02-26 Jim Blandy <jimb@red-bean.com>
2519
2520 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2521 (gdb-send): Apply it to the operand of the '-interpreter-exec
2522 console' command, so that we can pass arguments with (say) quotes
2523 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2524
9a4888c0
CY
25252012-02-26 Chong Yidong <cyd@gnu.org>
2526
07498861
CY
2527 * help-fns.el (describe-function-1): Clarify description of
2528 remapping (Bug#10844).
2529
9a4888c0
CY
2530 * files.el (files-equal-p): Doc fix.
2531 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2532 and quit the loop once a mismatch is found.
2533
ea8fb88d
JB
25342012-02-25 Juanma Barranquero <lekktu@gmail.com>
2535
2536 * bs.el (bs--show-with-configuration): Don't throw an error
2537 if the window cannot be split; otherwise, subsequent calls to
2538 bs-show fail, restoring a stale window config. (Bug#10882)
2539
525795c1
JD
25402012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2541
2542 * term/ns-win.el (global-map): Bind ns-drag-file to
2543 ns-find-file (Bug#5855, Bug#10050).
2544
f008086f
AS
25452012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2546
2547 * calendar/parse-time.el (parse-time-string): Allow extractor to
2548 return nil.
2549
a3fcfa99
MA
25502012-02-25 Michael Albinus <michael.albinus@gmx.de>
2551
91027d08
JB
2552 * net/tramp.el (tramp-file-name-for-operation):
2553 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2554
2555 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2556 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2557 Add COPY-CONTENTS argument.
a3fcfa99 2558
67b0de11
CY
25592012-02-25 Chong Yidong <cyd@gnu.org>
2560
2561 Add custom groups for VC backends, for consistency with vc-bzr.
2562
2563 * vc/vc-arch.el (vc-arch):
2564 * vc/vc-cvs.el (vc-cvs):
2565 * vc/vc-git.el (vc-git):
2566 * vc/vc-hg.el (vc-hg):
2567 * vc/vc-mtn.el (vc-mtn):
2568 * vc/vc-rcs.el (vc-rcs):
2569 * vc/vc-sccs.el (vc-sccs):
2570 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2571 All relevant defcustoms reassigned.
2572
3c9dfce6
CY
25732012-02-25 Chong Yidong <cyd@gnu.org>
2574
1339bf43
CY
2575 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2576
3c9dfce6
CY
2577 * term/x-win.el (x-initialize-window-system): Reduce default for
2578 x-selection-timeout to 5 seconds (Bug#8869).
2579
25b2e303 25802012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2581
ec70a47d
GM
2582 * files.el (files-equal-p, file-subdir-of-p): New functions.
2583 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2584 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2585 * dired-aux.el (dired-copy-file-recursive): Same.
2586 (dired-create-files): Modify destination when source is equal to
2587 dest when copying files.
53a46cd0 2588 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2589
914260cd
MA
25902012-02-24 Michael Albinus <michael.albinus@gmx.de>
2591
2592 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2593 (Bug#10874)
2594
2cb228f7
AM
25952012-02-23 Alan Mackenzie <acm@muc.de>
2596
2597 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2598 parameter "after-hook:" to allow the expansion to run code after
2599 the execution of the mode hooks.
2600
2601 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2602 from font-lock-mode-internal.
2cb228f7 2603
91027d08 2604 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2605 :after-hook.
2606
8f0fde21
SM
26072012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2608
3e88618b
SM
2609 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2610 (completion--cache-all-sorted-completions): New function.
2611 (completion-all-sorted-completions): Use it.
2612 (completion--do-completion, minibuffer-force-complete):
2613 Use it to re-instate the flush hook.
2614
8f0fde21
SM
2615 * icomplete.el (icomplete-completions): Replace last fix with a better
2616 one (bug#10850).
2617
8e911f6f
DG
26182012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2619
2620 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2621 when it might call us back infinitely (bug#10797).
2622
49fe4321
GM
26232012-02-23 Glenn Morris <rgm@gnu.org>
2624
2625 * minibuffer.el (completion-category-overrides): Doc fix.
2626
b291b572
SM
26272012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2628
2629 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2630 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2631
31a9ef2e
GM
26322012-02-23 Glenn Morris <rgm@gnu.org>
2633
5e6e6794 2634 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2635 (authors-obsolete-files-regexps, authors-ignored-files)
2636 (authors-ambiguous-files, authors-renamed-files-alist):
2637 Add more entries.
2638
0bd1e074
JL
26392012-02-23 Juri Linkov <juri@jurta.org>
2640
2641 * isearch.el (isearch-occur): Sync interactive spec with occur's
2642 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2643
b617673c
JL
2644 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2645
19e9789e
JL
26462012-02-22 Juri Linkov <juri@jurta.org>
2647
2648 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2649 (ucs-insert): Doc fix. Check for hex digits in the string.
2650 Don't display `nil' in the error message. (Bug#10857)
2651
f41ce09d
AM
26522012-02-22 Alan Mackenzie <acm@muc.de>
2653
7a71b18d 2654 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2655
ac2eceee
GM
26562012-02-22 Glenn Morris <rgm@gnu.org>
2657
2658 * ffap.el (ffap-c-path):
2659 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2660
abd1f678
CY
26612012-02-22 Chong Yidong <cyd@gnu.org>
2662
2663 * custom.el (load-theme): Doc fix.
2664
f25aef2e
GM
26652012-02-22 Glenn Morris <rgm@gnu.org>
2666
2667 * dired-x.el (dired-guess-shell-alist-default):
2668 Remove escape sequences from nroff output. (Bug#172)
2669
5f8dc2ca
GM
26702012-02-21 Glenn Morris <rgm@gnu.org>
2671
6ff86ec4
GM
2672 * vc/emerge.el (emerge-defvar-local):
2673 Set `permanent-local' property rather than unused `preserved'.
2674
be3223a3 2675 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2676 (picture-mode-map): Use it. (Bug#10860)
2677 (picture-mode): Doc fix.
2678
3fe58f4f
JB
26792012-02-21 Juanma Barranquero <lekktu@gmail.com>
2680
2681 * newcomment.el (uncomment-region-default): Remove unused binding.
2682
f9a998c3
GM
26832012-02-21 Glenn Morris <rgm@gnu.org>
2684
2685 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2686 (picture-self-insert, picture-tab-chars): Doc fix.
2687 (picture-mode-map): Fix C-a, C-e.
2688
c6029348
GM
26892012-02-20 Glenn Morris <rgm@gnu.org>
2690
2691 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2692
ab1ce9d7
LL
26932012-02-20 Leo Liu <sdl.web@gmail.com>
2694
2695 * icomplete.el (icomplete-completions): Check FROM arg before
2696 passing to substring (Bug#10850).
2697
0fd40f89
CY
26982012-02-19 Chong Yidong <cyd@gnu.org>
2699
2700 * comint.el: Require ansi-color.
2701 (comint-output-filter-functions): Add ansi-color-process-output.
2702
2703 * ansi-color.el: Don't set comint-output-filter-functions; it is
2704 now in the initial value defined in comint.el.
2705 (ansi-color-apply-face-function): New variable.
2706 (ansi-color-apply-on-region): Use it.
2707 (ansi-color-apply-overlay-face): New function.
2708
2709 * shell.el (shell): No need to require ansi-color.
2710 (shell-mode): Use ansi-color-apply-face-function to highlight
2711 color escapes using font-lock-face property (Bug#10835).
2712
20af2394
CY
27132012-02-19 Chong Yidong <cyd@gnu.org>
2714
2715 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2716 mode-line formats (Bug#10839).
2717
e23a3fbe
GM
27182012-02-18 Glenn Morris <rgm@gnu.org>
2719
b474519e
GM
2720 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2721
2722 * mail/undigest.el (unforward-rmail-message): Doc fix.
2723
e23a3fbe
GM
2724 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2725
57939ff4
EZ
27262012-02-18 Eli Zaretskii <eliz@gnu.org>
2727
2728 * international/characters.el (script-list): Sync with the latest
2729 Unicode Character Database.
2730
0c23686e
AS
27312012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2732
2733 * international/titdic-cnv.el: Remove duplicate coding tag.
2734 * language/cham.el: Likewise.
2735 * language/tai-viet.el: Likewise.
2736
6818b449
GM
27372012-02-18 Glenn Morris <rgm@gnu.org>
2738
2739 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2740 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2741 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2742 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2743 * calendar/holidays.el (holiday-bahai-holidays)
2744 (calendar-holidays, list-holidays):
2745 Use utf-8 Bahá'í in doc-strings, menus, etc.
2746
0311a3fc
TH
27472012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2748
2749 * saveplace.el (save-place-ignore-files-regexp): New variable
2750 allowing for excluding files from saving their location of point.
2751 The default value matches the temporary commit message editing
2752 files from Git, SVN, Bazaar, and Mercurial.
2753 (save-place-to-alist): Use it.
2754
eb864a71
LM
27552012-02-17 Lawrence Mitchell <wence@gmx.li>
2756 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * newcomment.el (uncomment-region-default): Don't leave extra space
2759 when an arg is provided (bug#8150).
2760
ee0ce425
TZ
27612012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2762
eb864a71 2763 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2764
95ddf442
GM
27652012-02-17 Glenn Morris <rgm@gnu.org>
2766
2767 * net/socks.el: Require network-stream. (Bug#10599)
2768
48dd1e39 27692012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2770
2771 * international/charprop.el:
2772 * international/uni-name.el:
2773 * international/uni-old-name.el:
2774 * international/uni-comment.el: Regenerate.
2775
d68cd087
GM
27762012-02-16 Glenn Morris <rgm@gnu.org>
2777
2778 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2779 Interactively in calendar buffer, give an error if not on a date.
2780
13932042
GM
27812012-02-15 Glenn Morris <rgm@gnu.org>
2782
2783 * shell.el (shell-delimiter-argument-list):
2784 Revert 2011-02-17 change. (Bug#8027)
2785
c3a70e2b
CY
27862012-02-15 Chong Yidong <cyd@gnu.org>
2787
60236b0d
CY
2788 * minibuffer.el (completion-at-point-functions): Doc fix.
2789
c3a70e2b
CY
2790 * custom.el (defcustom): Doc fix; note use of defvar.
2791
9f26dc24
GM
27922012-02-15 Glenn Morris <rgm@gnu.org>
2793
2794 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2795 Doc fixes.
2796
6546b134
GM
27972012-02-14 Glenn Morris <rgm@gnu.org>
2798
2799 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2800
d29b2b4c
LI
28012012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2802
2803 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2804 way the ports list is computed.
835bdcba
LI
2805 (smtpmail-query-smtp-server): Prompt the user for a port number if
2806 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2807
08dcdbc9
TZ
28082012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2809
2810 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2811
2605051a
GM
28122012-02-13 Glenn Morris <rgm@gnu.org>
2813
2814 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2815
7ee99f32
TZ
28162012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2817
2818 * net/gnutls.el (gnutls-trustfiles): New variable.
2819 (gnutls-negotiate): Use it.
2820
5f0af64f
LI
28212012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2822
2823 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2824 does its stuff if Gnus is running.
2825
c14fcc95
AM
28262012-02-13 Alan Mackenzie <acm@muc.de>
2827
2828 Fix a loop in c-set-fl-decl-start.
2829
7a71b18d 2830 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2831 c-backward-syntactic-ws actually moves backwards.
2832
142b4d90
LL
28332012-02-13 Leo Liu <sdl.web@gmail.com>
2834
2835 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2836 beginning so that all \C-o chars are removed.
2837
fa9958a6
TZ
28382012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2839
dc9924b8 2840 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2841
0bc5886a
AM
28422012-02-12 Alan Mackenzie <acm@muc.de>
2843
2844 Fix infinite loop with long macros.
4d6769e1 2845 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2846
d4bd55e7
CY
28472012-02-12 Chong Yidong <cyd@gnu.org>
2848
2849 * window.el (display-buffer): Doc fix (Bug#10785).
2850
66f3fe22
GM
28512012-02-12 Glenn Morris <rgm@gnu.org>
2852
bd7da63e
GM
2853 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2854 (x-disown-selection-internal, x-get-selection-internal):
2855 Sync docs with the xselect.c versions.
2856
66f3fe22
GM
2857 * allout-widgets.el: Add missing license notice.
2858
3e0d2fa7
GM
28592012-02-11 Glenn Morris <rgm@gnu.org>
2860
cfecdf09
GM
2861 * select.el (x-get-selection-internal, x-own-selection-internal)
2862 (x-disown-selection-internal):
2863 * x-dnd.el (x-get-selection-internal): Update declarations.
2864
6d216d7f
GM
2865 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2866
2bed3f04
GM
2867 * window.el (window-sides-slots):
2868 * tool-bar.el (tool-bar-position):
2869 * term/xterm.el (xterm-extra-capabilities):
2870 * ses.el (ses-self-reference-early-detection):
2871 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2872 (verilog-auto-wire-type)
2873 (verilog-auto-delete-trailing-whitespace)
2874 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2875 (verilog-auto-tieoff-declaration):
2876 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2877 (sql-oracle-statement-starters, sql-oracle-scan-on):
2878 * progmodes/prolog.el (prolog-align-comments-flag)
2879 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2880 (prolog-left-indent-regexp, prolog-paren-indent-p)
2881 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2882 (prolog-types, prolog-mode-specificators)
2883 (prolog-determinism-specificators, prolog-directives)
2884 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2885 (prolog-electric-dot-flag)
2886 (prolog-electric-dot-full-predicate-template)
2887 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2888 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2889 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2890 (prolog-program-switches, prolog-prompt-regexp)
2891 (prolog-debug-on-string, prolog-debug-off-string)
2892 (prolog-trace-on-string, prolog-trace-off-string)
2893 (prolog-zip-on-string, prolog-zip-off-string)
2894 (prolog-use-standard-consult-compile-method-flag)
2895 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2896 (prolog-imenu-max-lines, prolog-info-predicate-index)
2897 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2898 (prolog-char-quote-workaround):
2899 * progmodes/cc-vars.el (c-defun-tactic):
2900 * net/tramp.el (tramp-encoding-command-interactive)
2901 (tramp-local-end-of-line):
2902 * net/soap-client.el (soap-client):
2903 * net/netrc.el (netrc-file):
2904 * net/gnutls.el (gnutls):
2905 * minibuffer.el (completion-category-overrides)
2906 (completion-cycle-threshold)
2907 (completion-pcm-complete-word-inserts-delimiters):
2908 * man.el (Man-name-local-regexp):
2909 * mail/feedmail.el (feedmail-display-full-frame):
2910 * international/characters.el (glyphless-char-display-control):
2911 * eshell/em-ls.el (eshell-ls-date-format):
2912 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2913 (lisp-lambda-list-keyword-parameter-indentation)
2914 (lisp-lambda-list-keyword-parameter-alignment):
2915 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2916 * dired-x.el (dired-omit-verbose):
2917 * cus-theme.el (custom-theme-allow-multiple-selections):
2918 * calc/calc.el (calc-highlight-selections-with-faces)
2919 (calc-lu-field-reference, calc-lu-power-reference)
2920 (calc-note-threshold):
2921 * battery.el (battery-mode-line-limit):
2922 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2923 (archive-7z-update):
2924 * allout.el (allout-prefixed-keybindings)
2925 (allout-unprefixed-keybindings)
2926 (allout-inhibit-auto-fill-on-headline)
2927 (allout-flattened-numbering-abbreviation):
2928 * allout-widgets.el (allout-widgets-auto-activation)
2929 (allout-widgets-icons-dark-subdir)
2930 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2931 (allout-widgets-theme-dark-background)
2932 (allout-widgets-theme-light-background)
2933 (allout-widgets-item-image-properties-emacs)
2934 (allout-widgets-item-image-properties-xemacs)
2935 (allout-widgets-run-unit-tests-on-load)
2936 (allout-widgets-time-decoration-activity)
2937 (allout-widgets-hook-error-post-time)
2938 (allout-widgets-track-decoration):
2939 Add missing :version tags to new defcustoms and defgroups.
2940
5fec1b8e
GM
2941 * progmodes/sql.el (sql-ansi-statement-starters)
2942 (sql-oracle-statement-starters): Add custom type.
2943
3e0d2fa7
GM
2944 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2945 (prolog-system-version): Give it a type.
2946
90b671e2
EZ
29472012-02-11 Eli Zaretskii <eliz@gnu.org>
2948
2949 * term/pc-win.el (x-select-text, x-selection-owner-p)
2950 (x-own-selection-internal, x-disown-selection-internal)
2951 (x-get-selection-internal): Sync doc strings and argument lists
2952 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2953
5eac0c02
LL
29542012-02-11 Leo Liu <sdl.web@gmail.com>
2955
2956 * progmodes/python.el (python-end-of-statement): Fix infinite
2957 loop. (Bug#10788)
2958
f82cb659
GM
29592012-02-10 Glenn Morris <rgm@gnu.org>
2960
2961 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2962 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2963
cc26d239
LI
29642012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2965
2966 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2967 about SMTP before checking the From header.
2968
91027d08 2969 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2970 into own function for reuse by emacsbug.el.
2971
1be3ca5a
LL
29722012-02-10 Leo Liu <sdl.web@gmail.com>
2973
2974 * subr.el (condition-case-unless-debug): Rename from
2975 condition-case-no-debug. All callers changed.
2976 (with-demoted-errors): Fix caller.
2977
2978 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2979 * nxml/rng-valid.el (rng-do-some-validation):
2980 * emacs-lisp/package.el (package-refresh-contents)
2981 (package-menu-execute):
2982 * desktop.el (desktop-create-buffer):
91027d08 2983 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2984
b011fbfe
GM
29852012-02-10 Glenn Morris <rgm@gnu.org>
2986
b2096d72
GM
2987 * textmodes/bibtex.el:
2988 Add missing :version tags for new/changed defcustoms.
2989
b011fbfe
GM
2990 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2991
4c7e65bf
LI
29922012-02-09 Lars Ingebrigtsen <larsi@rusty>
2993
2994 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2995 (smtpmail-via-smtp): Use it, or fall back on the From address.
2996 (smtpmail-send-it): Ditto.
2997
f3934f6f
SM
29982012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2999
3000 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3001 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3002 (byte-compile-tmp-var): New const.
3003 (byte-compile-defvar): Use it to minimize .elc size.
3004 Just use `defvar' rather than simulate it (bug#10761).
3005
a075a2c5
GM
30062012-02-09 Glenn Morris <rgm@gnu.org>
3007
cf3aa21b
GM
3008 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3009
354998cd
GM
3010 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3011 Add :version tags.
3012
dc9924b8
SM
3013 * progmodes/compile.el (compilation-error-screen-columns)
3014 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3015
dab3703d
GM
3016 * vc/log-view.el (log-view-toggle-entry-display):
3017 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3018
3f88cd72
GM
3019 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3020 (report-emacs-bug-can-use-xdg-email):
3021 (report-emacs-bug-insert-to-mailer): Doc fixes.
3022 (report-emacs-bug): Message fix.
3023
d95b247d
GM
3024 * net/browse-url.el (browse-url-can-use-xdg-open)
3025 (browse-url-xdg-open): Doc fixes.
3026
a075a2c5
GM
3027 * electric.el (electric-indent-mode, electric-pair-mode)
3028 (electric-layout-rules, electric-layout-mode): Doc fixes.
3029 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3030
ffb6157e
MR
30312012-02-08 Martin Rudalics <rudalics@gmx.at>
3032
3033 * server.el (server-unselect-display): Don't inadvertently kill
3034 the current buffer. (Bug#10729)
3035
e1ac4066
GM
30362012-02-08 Glenn Morris <rgm@gnu.org>
3037
34e8a2da
GM
3038 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3039 (sql-list-table): Doc fixes.
3040
b4ac6e8c
GM
3041 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3042 Comment out (does nothing).
3043
e1ac4066
GM
3044 * completion.el (dynamic-completion-mode):
3045 * dirtrack.el (dirtrack-debug-mode):
3046 * electric.el (electric-layout-mode):
3047 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3048 * face-remap.el (text-scale-mode, buffer-face-mode):
3049 * iimage.el (iimage-mode):
3050 * image-mode.el (image-transform-mode):
3051 * minibuffer.el (completion-in-region-mode):
3052 * scroll-lock.el (scroll-lock-mode):
3053 * simple.el (next-error-follow-minor-mode):
3054 * tar-mode.el (tar-subfile-mode):
3055 * tooltip.el (tooltip-mode):
3056 * vcursor.el (vcursor-use-vcursor-map):
3057 * wid-browse.el (widget-minor-mode):
3058 * emulation/tpu-edt.el (tpu-edt-mode):
3059 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3060 * international/iso-ascii.el (iso-ascii-mode):
3061 * language/thai-util.el (thai-word-mode):
3062 * mail/supercite.el (sc-minor-mode):
3063 * net/goto-addr.el (goto-address-mode):
3064 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3065 * progmodes/cwarn.el (cwarn-mode):
3066 * progmodes/flymake.el (flymake-mode):
3067 * progmodes/glasses.el (glasses-mode):
3068 * progmodes/hideshow.el (hs-minor-mode):
3069 * progmodes/pascal.el (pascal-outline-mode):
3070 * textmodes/enriched.el (enriched-mode):
3071 * vc/smerge-mode.el (smerge-mode):
3072 Doc fixes (minor mode argument).
3073
5e0d957f
EZ
30742012-02-07 Eli Zaretskii <eliz@gnu.org>
3075
3076 * ls-lisp.el (ls-lisp-sanitize): New function.
3077 (ls-lisp-insert-directory): Use it to fix or remove any elements
3078 in file-alist with missing attributes. (Bug#4673)
3079
98d7371e
AM
30802012-02-07 Alan Mackenzie <acm@muc.de>
3081
3082 Fix spurious recognition of c-in-knr-argdecl.
3083
3084 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3085 putative K&R region.
3086
667ced3a
AM
30872012-02-07 Alan Mackenzie <acm@muc.de>
3088
eb864a71
LM
3089 * progmodes/cc-engine.el (c-forward-objc-directive):
3090 Prevent looping in "#pragma mark @implementation".
667ced3a 3091
5b77774d
MA
30922012-02-07 Michael Albinus <michael.albinus@gmx.de>
3093
3094 * notifications.el (notifications-on-closed-signal): Make `reason'
3095 optional. (Bug#10744)
3096
af008560
GM
30972012-02-07 Glenn Morris <rgm@gnu.org>
3098
60d47423
GM
3099 * emacs-lisp/easy-mmode.el (define-minor-mode):
3100 Doc fixes for the macro and the mode it defines.
3101
dd605cc4
GM
3102 * image.el (imagemagick-types-inhibit): Doc fix.
3103
af008560
GM
3104 * cus-start.el (imagemagick-render-type): Add it.
3105
5cc59a37
LI
31062012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3107
4d6769e1
JB
3108 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3109 Set the default at load time, too, so that `font-lock-fontify-buffer'
3110 can be called without setting up the entire mode first. This fixes
3111 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3112
9a6dd747
CY
31132012-02-06 Chong Yidong <cyd@gnu.org>
3114
2d16b285
CY
3115 * simple.el (list-processes--refresh): Delete exited processes
3116 (Bug#8094).
3117
171e9b6e
CY
3118 * comint.el (comint-next-prompt): next-single-char-property-change
3119 and prev-single-char-property-change never return nil (Bug#8657).
3120
9a6dd747
CY
3121 * custom.el (defcustom): Doc fix (Bug#9711).
3122
aa4589a7
CY
31232012-02-05 Chong Yidong <cyd@gnu.org>
3124
5c2a252f
CY
3125 * cus-edit.el (custom-variable-reset-backup): Quote the value
3126 before storing it in the customized-value property (Bug#6712).
4aab9006 3127 (custom-display): Add a customization type tag.
983b9602 3128 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3129
aa4589a7
CY
3130 * wid-edit.el (widget-field-value-get): New optional arg to
3131 suppress trailing whitespace truncation.
3132 (character): Use it (Bug#2689).
3133
1ff980ae
AS
31342012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3135
3136 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3137 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3138
03988c98
CY
31392012-02-05 Chong Yidong <cyd@gnu.org>
3140
eeb6cc88
CY
3141 * cus-edit.el (custom-variable-value-create): For mismatched
3142 types, show the current value (Bug#7600).
3143
03988c98
CY
3144 * custom.el (defcustom): Doc fix.
3145
f8cdeef0
GM
31462012-02-05 Glenn Morris <rgm@gnu.org>
3147
3148 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3149
0696d255
JB
31502012-02-05 Juanma Barranquero <lekktu@gmail.com>
3151
3152 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3153 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3154 (pp-last-sexp): Use `looking-at-p'.
3155
34c99998
GM
31562012-02-04 Glenn Morris <rgm@gnu.org>
3157
8f05da42
GM
3158 * files.el (revert-buffer):
3159 Doc fix (mention revert-buffer-in-progress-p).
3160
f160676e
GM
3161 * emacs-lisp/ert-x.el (ert-simulate-command):
3162 Check deferred-action-list (which is obsolete) is bound.
3163
c7291ad9
GM
3164 * subr.el (with-wrapper-hook): Doc fixes.
3165
34c99998
GM
3166 * simple.el (filter-buffer-substring-functions)
3167 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3168
6283a7d3
LL
31692012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3170
3171 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3172 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3173
e96e3013
LL
31742012-02-04 Leo Liu <sdl.web@gmail.com>
3175
3176 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3177
8ded50f2
GM
31782012-02-04 Glenn Morris <rgm@gnu.org>
3179
82ff1d13
GM
3180 * image.el (image-extension-data): Add obsolete alias.
3181
987a0a16
GM
3182 * isearch.el (isearch-update): Doc fix.
3183
ea32ef46
GM
3184 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3185
8ded50f2
GM
3186 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3187
eea14f31
GM
31882012-02-03 Glenn Morris <rgm@gnu.org>
3189
3190 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3191 (image-animate-timeout): Doc fix.
3192
3193 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3194
12f381b7
GM
31952012-02-02 Glenn Morris <rgm@gnu.org>
3196
953cebf5
GM
3197 * server.el (server-auth-dir): Doc fix.
3198 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3199
12f381b7
GM
3200 * subr.el (run-mode-hooks): Doc fix.
3201
953a8c3b
JL
32022012-02-02 Juri Linkov <juri@jurta.org>
3203
3204 * image-mode.el (image-toggle-display-image): Remove tautological
3205 `major-mode' from the `derived-mode-p' test.
3206
c5d3843c
KH
32072012-02-02 Kenichi Handa <handa@m17n.org>
3208
9f6e692e 3209 * composite.el (compose-region): Cancel previous change.
c5d3843c 3210
159462d4 32112012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3212
3213 * composite.el (compose-region, compose-string): Signal error for
3214 a null string component (Bug#6988).
3215
9f562668
CY
32162012-02-01 Chong Yidong <cyd@gnu.org>
3217
e2cef717
CY
3218 * view.el (view-buffer-other-window, view-buffer-other-frame):
3219 Handle special modes like view-buffer (Bug#10650).
3220 (view-buffer): Simplify.
3221
9f562668
CY
3222 * frame.el (set-frame-font): Tweak meaning of third argument.
3223
9f6e692e
JB
3224 * dynamic-setting.el (font-setting-change-default-font):
3225 Use set-frame-font (Bug#9982).
9f562668 3226
781acb9f
GM
32272012-02-01 Glenn Morris <rgm@gnu.org>
3228
6035be52
GM
3229 * progmodes/compile.el (compilation-internal-error-properties):
3230 Respect compilation-first-column in the "*compilation*" buffer.
3231
781acb9f
GM
3232 * emacs-lisp/easy-mmode.el (define-minor-mode):
3233 Relax :variable's test for a named function.
3234
abbceb00
AM
32352012-01-31 Alan Mackenzie <acm@muc.de>
3236
3237 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3238 off by one error.
3239
fce3fdeb
CY
32402012-01-31 Chong Yidong <cyd@gnu.org>
3241
3242 * frame.el (set-frame-font): New arg ALL-FRAMES.
3243
3244 * menu-bar.el (menu-set-font): Use set-frame-font.
3245
3246 * faces.el (face-spec-reset-face): Don't apply unspecified
3247 attribute values to the default face.
3248
47893581
JB
32492012-01-31 Juanma Barranquero <lekktu@gmail.com>
3250
3251 * progmodes/cwarn.el (cwarn): Remove dead link.
3252 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3253 Remove * from defcustom docstrings.
3254 (turn-on-cwarn-mode): Make obsolete.
3255 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3256 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3257
e58e988a
GM
32582012-01-31 Glenn Morris <rgm@gnu.org>
3259
60dc2671 3260 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3261 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3262 Allow named functions to be used as the cdr of :variable.
e58e988a 3263
7a3f511d
GM
32642012-01-30 Glenn Morris <rgm@gnu.org>
3265
3266 * emacs-lisp/authors.el (authors-fixed-entries):
3267 Remove reference to deleted file rnewspost.el.
3268
cb882333
JB
32692012-01-29 Juanma Barranquero <lekktu@gmail.com>
3270
3271 * window.el (window-with-parameter): Remove unused variable `windows'.
3272 (window--side-check): Remove unused variable `code'.
3273 (window--resize-siblings): Remove unused variable `first'.
3274 (adjust-window-trailing-edge): Remove unused variable `failed'.
3275 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3276 Use `let', not `let*'.
3277 (balance-windows-2): Remove unused variable `found'.
3278 (window--state-put-2): Remove unused variable `splits'.
3279 (window-state-put): Remove unused variable `selected'.
3280 (same-window-p): Use `string-match-p'.
3281 (display-buffer-assq-regexp): Remove unused variable `value'.
3282 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3283 Mark argument ALIST as ignored.
3284 (pop-to-buffer): Remove unused variable `old-window'.
3285
907201af
EZ
32862012-01-29 Eli Zaretskii <eliz@gnu.org>
3287
3288 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3289 and .lzma compressed files.
3290
ea162670
CY
32912012-01-29 Chong Yidong <cyd@gnu.org>
3292
5b95ee8a
CY
3293 * frame.el (window-system-default-frame-alist): Doc fix.
3294
ea162670
CY
3295 * dynamic-setting.el (font-setting-change-default-font): Don't
3296 change the default face if SET-FONT argument is non-nil (Bug#9982).
3297
d6e6f4b1
SB
32982012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3299
3300 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3301
0f29fa41 33022012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3303
3304 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3305 breakpoints in files outside current directory (Bug#6098).
3306
db174434
CY
33072012-01-29 Chong Yidong <cyd@gnu.org>
3308
6b25e4e2
SE
3309 * progmodes/python.el: Require ansi-color at top-level.
3310
6df6ae42
JB
3311 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3312 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3313 (lisp-mode-abbrev-table): Add doc.
3314 (lisp-mode-variables): Don't set local-abbrev-table.
3315 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3316
e70ee681
RW
33172012-01-28 Roland Winkler <winkler@gnu.org>
3318
3319 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3320
ace88aa2
RW
33212012-01-28 Roland Winkler <winkler@gnu.org>
3322
3323 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3324 (bibtex-set-dialect): Use it. Either set global values of
3325 dialect-dependent variables or bind these variables buffer-locally
3326 (Bug#10254).
3327 (bibtex-mode): Call bibtex-set-dialect via
3328 hack-local-variables-hook.
eb864a71
LM
3329 (bibtex-dialect): Update docstring.
3330 Add safe-local-variable predicate.
ace88aa2
RW
3331 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3332 bibtex-set-dialect.
3333 (bibtex-mode-map): Define menu for each dialect.
3334 (bibtex-entry): Fix docstring.
3335
93376c5b
CY
33362012-01-28 Chong Yidong <cyd@gnu.org>
3337
3338 * eshell/esh-arg.el (eshell-quote-argument): New function.
3339
3340 * eshell/esh-ext.el (eshell-invoke-batch-file):
3341 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3342 first arg to eshell-parse-command (Bug#10523).
3343
4372494f
DA
33442012-01-28 Drew Adams <drew.adams@oracle.com>
3345
3346 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3347 `default-directory' is non-nil.
3348
4d4ec1f8
EZ
33492012-01-28 Eli Zaretskii <eliz@gnu.org>
3350
3351 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3352 line that displays system-configuration-options. (Bug#9924)
3353
7c188927
DA
33542012-01-28 Drew Adams <drew.adams@oracle.com>
3355
3356 * descr-text.el (describe-char): Show information about POS, in
3357 addition to information about the character at POS. Improve and
3358 update the doc string. Change "code point" to "code point in
3359 charset", to avoid confusion with the character's Unicode code
3360 point shown above that. (Bug#10129)
3361
e0da685a
EZ
33622012-01-28 Eli Zaretskii <eliz@gnu.org>
3363
3364 * descr-text.el (describe-char): Show the raw character, not only
3365 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3366 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3367 for the reasons.
3368
70550acf
PH
33692012-01-28 Phil Hagelberg <phil@hagelb.org>
3370
eb864a71
LM
3371 * emacs-lisp/package.el (package-install):
3372 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3373
0ce8e868
CY
33742012-01-28 Chong Yidong <cyd@gnu.org>
3375
cb882333
JB
3376 * emacs-lisp/package.el (package-maybe-load-descriptor):
3377 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3378 (package-maybe-load-descriptor): Use it.
3379 (package-download-transaction): Fully load required packages
3380 inside the loop, so that `require' calls work (Bug#10593).
3381 (package-install): No need to call package-initialize now.
3382
2e7f3bea
CY
33832012-01-28 Chong Yidong <cyd@gnu.org>
3384
6e9bad14
CY
3385 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3386
f823b8ca
CY
3387 * tooltip.el (tooltip-mode): Doc fix.
3388 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3389
2680c309
CY
3390 * frame.el (set-cursor-color): Doc fix (Bug#352).
3391
d7a9e63b
CY
3392 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3393 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3394
2e7f3bea
CY
3395 * cus-edit.el (custom-buffer-create-internal): Fix search button
3396 action (Bug#10542).
2ae01800 3397 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3398
fc4f7a23
EW
33992012-01-27 Eduard Wiebe <usenet@pusto.de>
3400
3401 * dired.el (dired-mark-files-regexp):
3402 Include any subdirectory components. (Bug#10445)
3403
7dd37071
ML
34042012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3405
3406 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3407 Handle [host]:port syntax. (Bug#10533)
3408
a268160b
AH
34092012-01-27 Alex Harsanyi <harsanyi@mac.com>
3410
3411 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3412
e43273ef
GM
34132012-01-26 Glenn Morris <rgm@gnu.org>
3414
3415 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3416 * term.el (term-raw-escape-map): Use Control-X-prefix.
3417 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3418
1edf595d
MR
34192012-01-25 Martin Rudalics <rudalics@gmx.at>
3420
3421 * window.el (window-state-get, window--state-get-1): Don't deal
3422 with fixed-sizeness of windows. Simplify code.
3423
fa8eafef
JC
34242012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3425
6df6ae42
JB
3426 * window.el (window--state-get-1, window--state-put-2):
3427 Don't save and restore the mark.
fa8eafef 3428
0b21c100
CY
34292012-01-25 Chong Yidong <cyd@gnu.org>
3430
3431 * custom.el (custom-variable-p): Doc fix.
3432
5ae1a6c8
GM
34332012-01-25 Glenn Morris <rgm@gnu.org>
3434
40047858
GM
3435 * dired.el (dired-goto-file): Handle some of the more common
3436 characters that `ls -b' escapes. (Bug#10596)
3437
5ddce96c
GM
3438 * progmodes/compile.el (compilation-next-error-function):
3439 Respect compilation-first-column in the "*compilation*" buffer.
3440 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3441
5ae1a6c8
GM
3442 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3443
b559f1a9
GM
34442012-01-24 Glenn Morris <rgm@gnu.org>
3445
3446 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3447
6725d21a
JD
34482012-01-24 Julien Danjou <julien@danjou.info>
3449
3450 * color.el (color-rgb-to-hsl): Fix value computing.
3451 (color-hue-to-rgb): New function.
3452 (color-hsl-to-rgb): New function.
3453 (color-clamp, color-saturate-hsl, color-saturate-name)
3454 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3455 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3456
70df4bbe
GM
34572012-01-24 Glenn Morris <rgm@gnu.org>
3458
3459 * vc/vc-rcs.el (vc-rcs-create-tag):
3460 * vc/vc-sccs.el (vc-sccs-create-tag):
3461 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3462
802a2ae2
ML
34632012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3464
3465 * eshell/esh-util.el (eshell-read-hosts-file):
3466 Skip comment lines. (Bug#10549)
3467
d7128bb1
ML
3468 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3469
d1a5c3b4
JB
34702012-01-23 Juanma Barranquero <lekktu@gmail.com>
3471
2724d9c7
JB
3472 * subr.el (display-delayed-warnings): Doc fix.
3473 (collapse-delayed-warnings): New function to collapse identical
3474 adjacent warnings.
3475 (delayed-warnings-hook): Add it.
d1a5c3b4 3476
a5509865
MA
34772012-01-22 Michael Albinus <michael.albinus@gmx.de>
3478
3479 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3480
3481 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3482 properties, when "login-as" is set.
3483
3484 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3485 (tramp-default-user-alist): Don't add "pscp".
3486 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3487 property "login-as", if set. (Bug#10530)
3488
cc6d5805
MA
34892012-01-21 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3492 "plink1" and "psftp". (Bug#10530)
3493
34942012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3495
3496 * international/mule-cmds.el (prefer-coding-system): Show a
3497 warning message if the default value of file-name-coding-system
3498 was not changed.
3499
f0960428
JC
35002012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3501
cb882333
JB
3502 * windmove.el (windmove-reference-loc):
3503 Fix windmove-reference-loc miscalculation.
f0960428 3504
dd6f2a63
JB
35052012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3506
3507 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3508 default unit.
3509
7b447e9b
GM
35102012-01-21 Glenn Morris <rgm@gnu.org>
3511
117a9ea1
GM
3512 * international/mule.el (auto-coding-alist): Add .tbz.
3513
7b447e9b
GM
3514 * files.el (local-enable-local-variables): Doc fix.
3515 (inhibit-local-variables-regexps): Rename from
3516 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3517 Doc fix. Add some extensions from auto-coding-alist.
3518 (inhibit-local-variables-suffixes):
3519 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3520 (inhibit-local-variables-p):
3521 New function, extracted from set-auto-mode-1.
3522 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3523 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3524 (hack-local-variables): Doc fix. Make the mode-only case
3525 respect enable-local-variables and friends.
3526 Respect inhibit-local-variables-regexps for file-locals, but
3527 not for directory-locals.
3528 (set-visited-file-name):
3529 Take account of inhibit-local-variables-regexps.
3530 Whether it applies may change as the file name is changed.
3531 * jka-cmpr-hook.el (jka-compr-install):
3532 * jka-compr.el (jka-compr-uninstall):
3533 Update for inhibit-first-line-modes-suffixes name change.
3534
dd6e3cdd
MR
35352012-01-20 Martin Rudalics <rudalics@gmx.at>
3536
3537 * help-macro.el (make-help-screen): Temporarily restore original
3538 binding for minor-mode-map-alist (Bug#10454).
3539
0d0deb38
JD
35402012-01-19 Julien Danjou <julien@danjou.info>
3541
3542 * color.el (color-name-to-rgb): Use the white color to find the max
3543 color component value and return correctly computed values.
3544 (color-name-to-rgb): Add missing float conversion for max value.
3545
34a02f46
MR
35462012-01-19 Martin Rudalics <rudalics@gmx.at>
3547
3548 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3549 special state value for window-persistent-parameters.
3550 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3551 (window--state-put-2): Reset all window parameters to nil before
3552 assigning values of persistent parameters.
3553
606c44c4
AM
35542012-01-18 Alan Mackenzie <acm@muc.de>
3555
3556 Eliminate sluggishness and hangs in fontification of "semicolon
3557 deserts".
3558
cb882333
JB
3559 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3560 Change value 10000 -> 3000.
606c44c4
AM
3561 (c-state-safe-place): Reformulate so it doesn't stack up an
3562 infinite number of wrong entries in c-state-nonlit-pos-cache.
3563 (c-determine-limit-get-base, c-determine-limit): New functions to
3564 determine backward search limits disregarding literals.
3565 (c-find-decl-spots): Amend commenting.
3566 (c-cheap-inside-bracelist-p): New function which detects "={".
3567
3568 * progmodes/cc-fonts.el
3569 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3570 backward search.
3571 (c-font-lock-declarations): Fix an occurrence of point being
3572 undefined. Check additionally for point being in a bracelist or
3573 near a macro invocation without a semicolon so as to avoid a
3574 fruitless time consuming search for a declarator. Give a more
3575 precise search limit for declarators using the new
3576 c-determine-limit.
3577
f3860cea
GM
35782012-01-18 Glenn Morris <rgm@gnu.org>
3579
3580 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3581 (set-auto-mode): Doc fixes.
3582
1db03b16
GM
35832012-01-17 Glenn Morris <rgm@gnu.org>
3584
0e6038be
GM
3585 * isearch.el (search-nonincremental-instead): Fix doc typo.
3586
1db03b16
GM
3587 * dired.el (dired-insert-directory): Handle newlines in directory name.
3588 (dired-build-subdir-alist): Unescape newlines in directory name.
3589
4cb0aa75
MA
35902012-01-17 Michael Albinus <michael.albinus@gmx.de>
3591
3592 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3593 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3594 (tramp-action-terminal): Use it. (Bug#10530)
3595
1d00653d
SM
35962012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3597
3598 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3599
6a6ee00d
MR
36002012-01-16 Martin Rudalics <rudalics@gmx.at>
3601
3602 * window.el (window-state-ignored-parameters): Remove variable.
3603 (window--state-get-1): Rename argument MARKERS to IGNORE.
3604 Handle persistent window parameters. Make copy of clone-of
3605 parameter only if requested. (Bug#10348)
3606 (window--state-put-2): Install a window parameter only if it has
3607 a non-nil value or an existing parameter shall be overwritten.
3608
97912def
MA
36092012-01-15 Michael Albinus <michael.albinus@gmx.de>
3610
3611 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3612
688070a5
EZ
36132012-01-14 Eli Zaretskii <eliz@gnu.org>
3614
3615 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3616 don't pass the (nil) value of `upnode' to string-match.
3617
301afadc
CY
36182012-01-14 Chong Yidong <cyd@gnu.org>
3619
3620 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3621 Fix values recognized by the cursorBlink resource.
301afadc 3622
9e5788aa
PE
36232012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3624
3625 * epg.el (epg--make-temp-file): Avoid permission race condition
3626 when running on old Emacs versions (bug#10403).
3627
3cdb7f5a
GM
36282012-01-14 Glenn Morris <rgm@gnu.org>
3629
3630 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3631
8c82b1b4
AM
36322012-01-13 Alan Mackenzie <acm@muc.de>
3633
3634 Fix filling for when filladapt mode is enabled.
3635
3636 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3637 c-mask-paragraph, pass in `fill-paragraph' rather than
3638 `fill-region-as-paragraph'. (This is a reversion of a previous
3639 change.)
eb864a71
LM
3640 * progmodes/cc-mode.el (c-basic-common-init):
3641 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3642
e517eda4
GM
36432012-01-13 Glenn Morris <rgm@gnu.org>
3644
1498536e
GM
3645 * dired.el (dired-switches-escape-p): New function.
3646 (dired-insert-directory): Use dired-switches-escape-p.
3647 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3648
e517eda4
GM
3649 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3650
328f984d
GM
36512012-01-12 Glenn Morris <rgm@gnu.org>
3652
3653 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3654 changes in adaptive-fill-regexp. (Bug#10276)
3655
2cc769a8
AM
36562012-01-11 Alan Mackenzie <acm@muc.de>
3657
3658 Fix Emacs bug #10463 - put `widen's around the critical spots.
3659
1d00653d 3660 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3661 widen around each invocation of c-state-pp-to-literal. Remove an
3662 unused let variable.
3663
e52c37fa
GM
36642012-01-11 Glenn Morris <rgm@gnu.org>
3665
3666 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3667 Doc fix.
e52c37fa 3668
96f8741e
CY
36692012-01-10 Chong Yidong <cyd@gnu.org>
3670
1d00653d
SM
3671 * net/network-stream.el (network-stream-open-starttls):
3672 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3673 response to the capability command.
3674
b09a806e
GM
36752012-01-10 Glenn Morris <rgm@gnu.org>
3676
3677 * mail/unrmail.el (unrmail): Tweak previous change.
3678
7655cb66
CY
36792012-01-09 Chong Yidong <cyd@gnu.org>
3680
3681 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3682
9d5a8f0b
AM
36832012-01-08 Alan Mackenzie <acm@muc.de>
3684
3685 Optimise font locking in long enum definitions.
3686
3687 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3688 arm to a cond form to handle enums.
3689 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3690 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3691
9a0115ab 36922012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3693
3694 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3695 (Bug#10401)
6bb72cbd 3696
f186bb95
LMI
36972012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3698
29232a68
LMI
3699 * faces.el (set-face-attribute): Clarify the meaning of the nil
3700 frame (bug#10294).
3701
4e5d086d
LMI
3702 * subr.el (with-selected-frame): Mention that the selected frame
3703 is restored (bug#9980).
3704
8e66aebe
LMI
3705 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3706 (bug#9759).
3707
cd394be1 3708 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3709 (password-read): Don't autoload unused function.
3710
adf4e762
JB
37112012-01-07 Juanma Barranquero <lekktu@gmail.com>
3712
3713 * progmodes/which-func.el (which-func-mode): Turn into a
3714 non-interactive function and mark as obsolete (bug#10428).
3715
89bd9ccd
CY
37162012-01-06 Chong Yidong <cyd@gnu.org>
3717
3718 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3719 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3720 functions, along with 1 and -1.
3721
4afee9d5
EZ
37222012-01-06 Eli Zaretskii <eliz@gnu.org>
3723
3724 * time.el (display-time-load-average)
3725 (display-time-default-load-average): Doc fixes. See the thread
3726 starting at
3727 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3728 for the details.
3729
536aea70
GM
37302012-01-06 Glenn Morris <rgm@gnu.org>
3731
665ae865
GM
3732 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3733 has no messages. (Bug#10377)
3734
c869783d
GM
3735 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3736 than Info-edit. (Bug#10385)
3737
2bb4227e
GM
3738 * time.el (display-time-load-average, display-time-next-load-average):
3739 Doc fixes.
3740
7d5944b9
GM
3741 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3742 local setting of buffer-read-only to the input buffer. (Bug#10419)
3743
536aea70
GM
3744 * calendar/calendar.el (calendar-mode):
3745 Locally set scroll-margin to 0. (Bug#10379)
3746
7dccca16
UM
37472012-01-06 Ulrich Mueller <ulm@gentoo.org>
3748
3749 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3750
afbb7930
GM
37512012-01-05 Glenn Morris <rgm@gnu.org>
3752
3753 * eshell/em-unix.el (diff-no-select): Autoload it.
3754 (eshell/diff): Use diff-no-select. (Bug#10420)
3755
04482335
CY
37562012-01-05 Chong Yidong <cyd@gnu.org>
3757
7baca3bc
CY
3758 * shell.el (shell-dynamic-complete-functions): Revert last change.
3759 (shell-command-completion-function): New function.
3760 (shell-completion-vars): Use it to implement
3761 shell-completion-execonly (Bug#10417).
3762
04482335
CY
3763 * custom.el (enable-theme): Don't set custom-safe-themes.
3764
1d00653d
SM
3765 * cus-theme.el (custom-theme-merge-theme):
3766 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3767
bb5aa5d6
MM
37682012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3769
3770 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3771 first prompt in `sql-interacive-mode'.
3772 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3773 keywords.
6df6ae42 3774 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3775 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3776 context of original buffer. Invoke `sql-login-hook'.
3777
a7183d7c
EZ
37782012-01-04 Eli Zaretskii <eliz@gnu.org>
3779
3780 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3781 letters in cite-prefix.
3782
a1eacd1e
LMI
37832012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3784
3785 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3786
787cdb34
CY
37872012-01-03 Chong Yidong <cyd@gnu.org>
3788
1d00653d
SM
3789 * shell.el (shell-dynamic-complete-functions):
3790 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3791 comint-filename-completion first (Bug#10417).
3792
30710442
RS
37932012-01-02 Richard Stallman <rms@gnu.org>
3794
3795 * battery.el (battery-status-function):
3796 Detect when to use battery-yeeloong-sysfs.
3797 (battery-echo-area-format): Add string for Yeeloong.
3798 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3799 (battery-yeeloong-sysfs): New function.
3800
f75bfc33
CY
38012012-01-02 Chong Yidong <cyd@gnu.org>
3802
3803 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3804 (dirtrack): Merge code for handling relative filenames in prompt
3805 from shell-dir-cookie-watcher.
3806 (dirtrack-debug-message): New arg to avoid excess format calls.
3807
3808 * shell.el (shell-dir-cookie-re): Variable deleted.
3809 (shell-dir-cookie-watcher): Function deleted.
3810 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3811 with dirtrack-mode.
3812
651e947e
EZ
38132012-01-01 Eli Zaretskii <eliz@gnu.org>
3814
1d00653d
SM
3815 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3816 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3817 libgnutls-26.dll.
3818
94d4c7dc
AS
38192011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3820
3821 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3822
8d43f3cd
EZ
38232011-12-31 Eli Zaretskii <eliz@gnu.org>
3824
3825 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3826 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3827
98c8795a
MA
38282011-12-29 Michael Albinus <michael.albinus@gmx.de>
3829
3830 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3831 also for alternative shells.
3832 (tramp-open-connection-setup-interactive-shell): Check, whether
3833 the shell is a busybox.
3834 (tramp-send-command): Don't suppress multiple prompts for
3835 busyboxes, it hurts.
3836
51281b32
CY
38372011-12-28 Chong Yidong <cyd@gnu.org>
3838
3839 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3840 (gdb-get-source-file): Move mode line update to
3841 gdb-get-source-file (Bug#10087).
3842
2170cb53
CY
38432011-12-25 Chong Yidong <cyd@gnu.org>
3844
3845 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3846 gud-gdb-marker-filter without taking it as an argument.
3847 (gud-gdb-run-command-fetch-lines): Caller changed.
3848 (gud-gdb-completion-function): New variable.
3849 (gud-gdb-completion-at-point): Use it.
3850 (gud-gdb-completions-1): Split from gud-gdb-completions.
3851
3852 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3853 function as separate arguments.
3854 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3855 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3856 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3857 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3858 (gdb-stopped, def-gdb-auto-update-trigger)
3859 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3860 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3861 Callers changed.
2170cb53
CY
3862 (gud-gdbmi-completions): New function.
3863 (gdb): Use it for generating the completion table.
3864
be8b11bb
AM
38652011-12-24 Alan Mackenzie <acm@muc.de>
3866
3867 Introduce a mechanism to widen the region used in context font
1d00653d 3868 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3869
1d00653d
SM
3870 * progmodes/cc-langs.el (c-before-font-lock-functions):
3871 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3872 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3873 functions to be run just before context (etc.) font locking.
3874
3875 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3876 New, functionality extracted from
be8b11bb 3877 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3878 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3879 (c-after-change): Set c-in-after-change-fontification.
3880 (c-set-fl-decl-start): Rejig its interface, so it can be called
3881 from both after-change and context fontifying.
b81d40f0
JB
3882 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3883 New functions.
3884 (c-standard-font-lock-fontify-region-function): New variable.
3885 (c-font-lock-fontify-region): New function.
be8b11bb 3886
341cf6ac
JL
38872011-12-24 Juri Linkov <juri@jurta.org>
3888
3889 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3890 (Bug#10348)
3891
bffcee0a
MA
38922011-12-23 Michael Albinus <michael.albinus@gmx.de>
3893
3894 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3895 existence of source file. (Bug#10325)
3896
cb5e207c
AM
38972011-12-23 Alan Mackenzie <acm@muc.de>
3898
3899 Fix unstable fontification inside templates.
3900
b81d40f0
JB
3901 * progmodes/cc-langs.el (c-before-font-lock-functions):
3902 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3903 additionally has c-set-fl-decl-start. The other languages (apart
3904 from AWK) have that as a single entry.
3905
b81d40f0
JB
3906 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3907 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3908 c-set-fl-decl-start.
3909
b81d40f0
JB
3910 * progmodes/cc-mode.el (c-common-init, c-after-change):
3911 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3912 (c-set-fl-decl-start): New function, extracted from
3913 c-font-lock-enclosing-decls and enhanced.
3914
60ff536c
JB
39152011-12-23 Juanma Barranquero <lekktu@gmail.com>
3916
3917 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3918
1c4757d6
JL
39192011-12-22 Juri Linkov <juri@jurta.org>
3920
3921 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3922
d031f2c7
CY
39232011-12-22 Chong Yidong <cyd@gnu.org>
3924
3925 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3926
bace743a
DA
39272011-12-21 Drew Adams <drew.adams@oracle.com>
3928
3929 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3930
728a1f2b
JC
39312011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3932
3933 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3934
0d373f73
TZ
39352011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3936
fec0aaa4
TZ
3937 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3938 highlighting and support. Fix up comments for capitalization.
3939 (cfengine-mode-debug): New var.
3940 (cfengine3-mode): Change the modeline indicator to "CFE3".
3941 (cfengine3-font-lock-keywords): Improve defun highlighting.
3942 (cfengine2-actions): Rename from `cfengine-actions'.
3943 (cfengine2-font-lock-keywords): Rename from
3944 `cfengine-font-lock-keywords'.
3945 (cfengine2-imenu-expression): Rename from
3946 `cfengine-imenu-expression'.
3947 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3948 (cfengine2-beginning-of-defun): Rename from
3949 `cfengine-beginning-of-defun'.
3950 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3951 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3952 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3953 modeline indicator to "CFE2".
3954 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3955 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3956
bc86f573
CY
39572011-12-21 Chong Yidong <cyd@gnu.org>
3958
3959 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3960 filename argument.
3961
d45ba96b
MR
39622011-12-20 Martin Rudalics <rudalics@gmx.at>
3963
3964 * window.el (window-normalize-buffer-to-display): Remove.
3965 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3966
a6198c90
CY
39672011-12-19 Chong Yidong <cyd@gnu.org>
3968
3969 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3970 Don't signal an error in a predicate function; return non-nil.
3971 (vc-dir-mark-file): Move the error here.
3972 (vc-dir-mark-unmark): If acting on the region, keep going if one
3973 of the entries cannot be marked/unmarked.
3974 (vc-dir-mark-all-files): If current entry is a directory, mark
3975 only child files, as documented.
3976
34c5fb55
VB
39772011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3978
3979 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3980 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3981 addition.
3982
c803b2b7
JD
39832011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3984
3985 * term/ns-win.el (ns-get-selection-internal)
3986 (ns-store-selection-internal): Declare.
1154d12e
JB
3987 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3988 Declare as obsolete.
3989 (ns-get-pasteboard, ns-paste-secondary):
3990 Use ns-get-selection-internal.
3991 (ns-set-pasteboard, ns-copy-including-secondary):
3992 Use ns-store-selection-internal.
c803b2b7 3993
9cff91f8 39942011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3995
3996 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3997 (vc-deduce-fileset): Doc fix.
99a289d9 3998
f16c898a
AS
39992011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4000
4001 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4002
763237c4
SS
40032011-12-13 Sam Steingold <sds@gnu.org>
4004
4005 * man.el (Man-getpage-in-background): When running under a
4006 window-system, ignore $MANWIDTH and $COLUMNS.
4007
5fc1c122
KH
40082011-12-15 Kenichi Handa <handa@m17n.org>
4009
4010 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4011 (setup-ethiopic-environment-internal): Comment out key-binding for
4012 ethio-toggle-punctuation.
4013
13d49cbb
AM
40142011-12-13 Alan Mackenzie <acm@muc.de>
4015
898169a2
AM
4016 Add the switch statement to AWK Mode.
4017
7a71b18d 4018 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4019 "default" to the keywords regexp.
4020
7a71b18d 4021 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4022 expression as the rest.
1d00653d
SM
4023 (c-nonlabel-token-key): Allow string literals for AWK.
4024 Refactor for the other modes.
898169a2 4025
13d49cbb 4026 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4027 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4028 routines. Limit backward searching in c-font-lock-enclosing.decl.
4029
4030 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4031 pp-state and literal type in addition to the limits.
1d00653d 4032 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4033 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4034 (c-slow-in-literal, c-fast-in-literal): Remove.
4035 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4036
4037 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4038 being in a literal. Add a limit for backward searching.
4039
4040 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4041 c-slow-in-literal.
4042
15e0efc7
SM
40432011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4046
454592a6
MR
40472011-12-13 Martin Rudalics <rudalics@gmx.at>
4048
4049 * window.el (delete-other-windows): Use correct frame in call to
4050 window-with-parameter.
4051
87393f26
DP
40522011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4053
4054 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4055 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4056 (makefile-gmake-statements, makefile-makepp-statements):
4057 Use it and add new makepp keywords.
4058 (makefile-makepp-font-lock-keywords): Add new patterns.
4059 (makefile-match-function-end): Match new [...] and [[...]].
4060
11636b22
JB
40612011-12-11 Juanma Barranquero <lekktu@gmail.com>
4062
4063 * ses.el (ses-call-printer-return, ses-cell-property-get)
4064 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4065 (ses-create-cell-variable, ses-reset-header-string)
4066 (ses-cell-set-formula, ses-repair-cell-reference-all)
4067 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4068 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4069 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4070 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4071 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4072 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4073 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4074 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4075 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4076 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4077 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4078 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4079
cf018193
VB
40802011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4081
4082 * ses.el: The overall change is to add cell renaming, that is
4083 setting fancy names for cell symbols other than name matching
4084 "\\`[A-Z]+[0-9]+\\'" regexp .
4085 (ses-create-cell-variable): New defun.
4086 (ses-relocate-formula): Relocate formulas only for cells the
4087 symbols of which are not renamed, i.e. symbols whose names do not
4088 match regexp "\\`[A-Z]+[0-9]+\\'".
4089 (ses-relocate-all): Relocate values only for cells the symbols of
4090 which are not renamed.
4091 (ses-load): Create cells variables as the (ses-cell ...) are read,
4092 in order to check row col consistency with cell symbol name only
4093 for cells that are not renamed.
4094 (ses-replace-name-in-formula): New defun.
4095 (ses-rename-cell): New defun.
4096
ee957461
CY
40972011-12-11 Chong Yidong <cyd@gnu.org>
4098
4099 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4100 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4101
9a9e9ef0
MR
41022011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4103
4104 * window.el (other-window): Fix docstring.
4105
92a8eba5
EZ
41062011-12-10 Eli Zaretskii <eliz@gnu.org>
4107
4108 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4109 `from' or `to' address before taking its substring.
4110 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4111 encoded name is chopped in the middle of the encoded string, and
4112 thus displayed encoded.
4113
e152e577
JB
41142011-12-10 Juanma Barranquero <lekktu@gmail.com>
4115
4116 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4117
e5d84bfe
EZ
41182011-12-10 Eli Zaretskii <eliz@gnu.org>
4119
4120 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4121 to use texinfo-update-node and commands that call it if the
4122 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4123 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4124 (texinfo-all-menus-update, texinfo-master-menu)
4125 (texinfo-update-node, texinfo-every-node-update)
4126 (texinfo-multiple-files-update): Doc fix. Warn against updating
4127 all the @node lines.
4128 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4129 argument is numeric. Explain better in the doc string what the
4130 function really does.
4131 (texinfo-insert-master-menu-list): Improve the error message
4132 displayed if there's no menu in the Top node.
4133 (Bug#2975) See also this thread:
e5d84bfe
EZ
4134 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4135
1d84e9bb
MG
41362011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4137
4138 * speedbar.el (speedbar-supported-extension-expressions):
4139 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4140
382c953b
JB
41412011-12-09 Juanma Barranquero <lekktu@gmail.com>
4142
4143 * printing.el (pr-mode-alist):
4144 * simple.el (filter-buffer-substring-functions)
4145 (completion-list-insert-choice-function):
4146 * window.el (window-with-parameter, window-atom-root)
4147 (window-sides-slots, window-size-fixed, window-min-delta)
4148 (window-max-delta, window--resize-mini-window)
4149 (window--resize-child-windows-normal, window-tree)
4150 (delete-other-windows, quit-window, split-window)
4151 (display-buffer-record-window, special-display-buffer-names)
4152 (special-display-regexps, special-display-popup-frame)
4153 (same-window-p, split-window-sensibly)
4154 (display-buffer-overriding-action, display-buffer-alist)
4155 (display-buffer-base-action, display-buffer, switch-to-buffer)
4156 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4157 (fit-window-to-buffer, recenter-positions)
4158 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4159 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4160 and remove unneeded backslashes in docstrings.
4161
39c9faef
SM
41622011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4163
98449af8
SM
4164 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4165
39c9faef
SM
4166 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4167 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4168 end in ".mk".
4169 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4170 when reading the makefile (bug#10116).
4171
86ed9fdc
SM
41722011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4175 (bug#10116).
4176
5580f89d
GM
41772011-12-06 Glenn Morris <rgm@gnu.org>
4178
4179 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4180
28d3917c
CY
41812011-12-06 Chong Yidong <cyd@gnu.org>
4182
4183 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4184
a98edce9
JB
41852011-12-06 Juanma Barranquero <lekktu@gmail.com>
4186
4187 * textmodes/table.el (table-shorten-cell): Fix typo.
4188
e65adfac
CG
41892011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4190
4191 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4192
71cc0b74
EZ
41932011-12-05 Eli Zaretskii <eliz@gnu.org>
4194
4195 * descr-text.el (describe-char): Fix display of strong
4196 right-to-left characters and directional embeddings and overrides.
4197
4198 * simple.el (what-cursor-position): Fix display of codepoints of
4199 strong right-to-left characters.
4200
315bc30d
CY
42012011-12-05 Chong Yidong <cyd@gnu.org>
4202
4203 * faces.el (read-color): Doc fix.
4204
58a70b94
GM
42052011-12-05 Glenn Morris <rgm@gnu.org>
4206
4207 * align.el (align--set-marker): Add doc-string.
4208 Don't try to move something that is not a marker. (Bug#10216)
4209
5158face
GM
42102011-12-04 Glenn Morris <rgm@gnu.org>
4211
4212 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4213 overly zealous deletion of trailing whitespace.
4214
520fca41
JB
42152011-12-04 Juanma Barranquero <lekktu@gmail.com>
4216
4217 * server.el (server-delete-client): On Windows, do not try to delete
4218 the only terminal.
4219 (server-process-filter): On Windows, treat requests for a tty frame as
4220 if they were for a GUI frame if the running server is in GUI mode.
4221
5e605a2e
GM
42222011-12-03 Glenn Morris <rgm@gnu.org>
4223
4224 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4225
5c3fe83f
SM
42262011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4227
6f5e57e7
SM
4228 * electric.el: Streamline electric-indent's hook.
4229 (electric-indent-chars): Revert to simple list.
4230 (electric-indent-functions): New var.
4231 (electric-indent-post-self-insert-function): Use it.
4232
5c3fe83f
SM
4233 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4234 there's no inferior buffer (bug#10196).
4235 (prolog-consult-compile): Don't use toggle-read-only.
4236
6bdac736
MA
42372011-12-02 Michael Albinus <michael.albinus@gmx.de>
4238
4239 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4240 interrupt. (Bug#10187)
4241
6131ba7f
SM
42422011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4243
99c79fee
SM
4244 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4245 (bug#9160).
4246
6131ba7f
SM
4247 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4248 (bug#10191).
4249
cb0a02ea
JL
42502011-12-02 Juri Linkov <juri@jurta.org>
4251
4252 * info.el (Info-search): Display "end of manual" when Isearch
4253 reaches the end of single-file Info manual. (Bug#9918)
4254
66e0570c
EZ
42552011-12-02 Eli Zaretskii <eliz@gnu.org>
4256
4257 * isearch.el (isearch-message-prefix): Run the input method part
4258 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4259
02b16839
JL
42602011-12-02 Juri Linkov <juri@jurta.org>
4261
4262 * isearch.el (isearch-occur): Use `word-search-regexp' for
4263 `isearch-word'.
4264 (isearch-search-and-update): Add condition for `isearch-word' and
4265 call `word-search-regexp'. (Bug#10145)
4266
0b950688
GM
42672011-12-01 Glenn Morris <rgm@gnu.org>
4268
4269 * eshell/em-hist.el (eshell-hist-initialize):
4270 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4271 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4272
9505c3c7
SM
42732011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4274
4275 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4276
1bbe96b2 42772011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4278
a1beca85
SM
4279 * progmodes/verilog-mode.el (verilog-pretty-expr):
4280 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4281 verilog, such as += *= and the like.
4282 (verilog-assignment-operator-re): Regular expression to find the
4283 assigment operator in a verilog assignment.
4284 (verilog-assignment-operation-re): Regular expression to find an
4285 assignment statement for pretty-expr.
4286 (verilog-in-attribute-p): Query returns true if point is in an
4287 attribute context; used to skip these for expression line up from
4288 pretty-expr.
4289 (verilog-in-parameter-p): Query returns true if point is in an
4290 parameter definition context; used to skip these for expression
4291 line up from pretty-expr.
4292 (verilog-in-parenthesis-p): Query returns true if point is in a
4293 parenthetical expression, specifically ( ) but not [ ] or { };
4294 used by pretty-expr.
4295 (verilog-just-one-space): If there is no space, don't add one.
4296 (verilog-get-lineup-indent-2): Specifically skip just attribute
4297 contexts for expression lineup, rather than skipping all
4298 parenthetical expressions.
4299 (verilog-calculate-indent): Fix comment, and fix indent.
4300 (verilog-do-indent): Indent declarations in lists (suggested by
4301 Joachim Lechner).
4302 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4303 skeleton items.
4304 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4305 by Alain Mellan).
4306
1bbe96b2 43072011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4308
4309 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4310 parameters with embedded comments. Reported by Ray Stevens.
4311 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4312 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4313 Reported by Tim Holt.
4314 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4315 instantiated by upper module causing wrong expansion until AUTOed a
4316 second time. Reported by K C Buckenmaier.
4317 (verilog-diff-auto): Fix showing .* as a difference when
4318 `verilog-auto-star-save' off. Reported by Dan Dever.
4319 (verilog-auto-reset, verilog-read-always-signals)
4320 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4321 temporary signals in reset list if
4322 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4323 style to each signal's assignment type, bug381.
4324 Reported by Thomas Esposito.
6288f0ca
WS
4325 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4326 (verilog-uvm-statement-re): Support UVM indentation and
4327 highlighting, with old OVM keywords only.
a1beca85 4328 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4329 Support AUTOTIEOFF creating non-wire data types.
4330 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4331 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4332 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4333 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4334 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4335 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4336 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4337 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4338 non-numeric vector width. Reported by Alex Reed.
4339 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4340 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4341 (verilog-auto-delete-trailing-whitespace):
4342 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4343 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4344 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4345 Fix verilog-scan-cache corruption when running user AUTO expansion
4346 hooks that call indentation routines.
4347 (verilog-simplify-range-expression): Fix typo ignoring lower case
4348 identifiers.
4349 (verilog-delete-auto): Fix delete-autos to also remove user created
4350 automatics, as long as they start with AUTO.
4351 (verilog-batch-diff-auto, verilog-diff-auto)
4352 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4353 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4354 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4355 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4356 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4357 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4358 is disabled and its cache will get corrupt, causing AUTOS not to
4359 expand. Instead use only -quick functions.
4360 (verilog-scan-region): Fix scanning over escaped quotes.
4361 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4362 (verilog-re-search-backward-quick)
4363 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4364 related functions now ignore strings, to fix misparsing of strings
4365 with magic comments embedded in them.
a1beca85
SM
4366 (verilog-read-auto-template):
4367 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4368 Reported by Brad Dobbie.
4369 (verilog-read-auto-template):
4370 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4371 Reported by Brad Dobbie.
6288f0ca
WS
4372 (verilog-auto-inst, verilog-auto-inst-param)
4373 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4374 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4375 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4376 debugging templates without merge conflicts, bug357.
4377 Reported by Brad Dobbie.
4378 (verilog-read-auto-template):
4379 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4380 Reported by Brad Dobbie.
4381 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4382 abbrevs so user won't be asked to save.
4383 (verilog-read-auto-lisp-present): Fix to start at beginning of
4384 buffer in case called outside of verilog-auto.
4385 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4386 to "X-2". Reported by Matthew Myers.
4387 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4388 all inputs from module templates. Reported by Leith Johnson.
4389 (verilog-module-inside-filename-p): Fix locating programs as with
4390 modules.
4391 (verilog-auto-inst-port): Fix vl-width expressions when using
4392 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4393 (verilog-decls-get-regs, verilog-decls-get-signals,
4394 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4395 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4396 verilog-read-decls): Combine reg and wire structures into one var
4397 structure to represent SystemVerilog concepts.
4398 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4399 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4400 (verilog-auto-wire-type, verilog-insert-definition):
4401 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4402 SystemVerilog "logic" keyword instead of "wire"/"reg".
4403 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4404 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4405 ifdef or generate if so there's not a driver conflict).
4406 Reported by Matthew Myers.
4407 (verilog-auto-declare-nettype, verilog-insert-definition):
4408 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4409 `default_nettype none. Reported by Julian Gorfajn.
4410 (verilog-read-always-signals-recurse, verilog-read-decls)
4411 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4412 malformed end statement, bug325. Reported by Joshua Wise and
4413 Andrew Drake.
4414 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4415 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4416 when expanding .* in interfaces, bug320.
4417 Reported by Pierre-David Pfister.
6288f0ca 4418 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4419 name and open parenthesis, bug317.
4420 Reported by Pierre-David Pfister.
6288f0ca
WS
4421 (verilog-simplify-range-expression): Fix simplification of
4422 multiplications inside AUTOWIRE connections, bug303.
4423 (verilog-auto-inst-port): Support parameter expansion in
4424 multidimensional arrays.
4425 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4426 after "assert property". Reported by Julian Gorfajn.
4427 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4428 with multiplication, bug303.
4429 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4430 Reported by Jan Frode Lonnum.
4431
1bbe96b2
GM
44322011-11-30 Juanma Barranquero <lekktu@gmail.com>
4433
4434 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4435 (hfy-shell-file-name, hfy-shell):
4436 * international/fontset.el (x-decompose-font-name): Fix typos.
4437
44382011-11-29 Ken Brown <kbrown@cornell.edu>
4439
4440 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4441 (gdb-version): Remove defvar.
4442 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4443 (gdb-gud-context-command, gdb-non-stop-handler)
4444 (gdb-current-context-command, gdb-stopped): Use it.
4445 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4446 (gdb-non-stop-handler): Don't enable pretty-printing here.
4447 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4448 non-stop mode. Use the following.
4449 (gdb-check-target-async): New defun.
4450 (gud-watch, gdb-stopped): Fix whitespace.
4451 (gdb-get-source-file): Don't try to display the source file if
4452 `gdb-main-file' is nil.
4453
44542011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * align.el: Try to generate fewer markers (bug#10047).
4457 (align--set-marker): New macro.
4458 (align-region): Use it.
4459
c935221f
SM
44602011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4461
4462 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4463
e70b5064
CY
44642011-11-29 Chong Yidong <cyd@gnu.org>
4465
4466 * indent.el (indent-for-tab-command, indent-according-to-mode):
4467 Doc fix.
4468 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4469
f3af92b7
MA
44702011-11-29 Michael Albinus <michael.albinus@gmx.de>
4471
4472 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4473 aware of remote file names. (Bug#10124)
4474
ed472be9
CY
44752011-11-29 Chong Yidong <cyd@gnu.org>
4476
4477 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4478
24510c22
SM
44792011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * files.el (find-file): Don't use force-same-window (bug#10144).
4482 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4483 use pop-to-buffer if the selected window can't be used.
4484 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4485
c60c3703
EZ
44862011-11-28 Eli Zaretskii <eliz@gnu.org>
4487
4488 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4489 special-mode-map.
4490
e95def75
CY
44912011-11-28 Chong Yidong <cyd@gnu.org>
4492
4493 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4494
c3f1c606
NR
44952011-11-27 Nick Roberts <nickrob@snap.net.nz>
4496
4497 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4498 gdb-get-source-file-list on gdb-create-source-file-list.
4499
00db469c
EZ
45002011-11-26 Eli Zaretskii <eliz@gnu.org>
4501
4502 * whitespace.el (whitespace-newline): Use a different foreground
4503 color for 16-color light-background displays.
4504
4ad3bc2a
CY
45052011-11-24 Chong Yidong <cyd@gnu.org>
4506
4507 * window.el (display-buffer--special-action): Doc fix.
4508
e9fce1ac
JB
45092011-11-25 Juanma Barranquero <lekktu@gmail.com>
4510
4511 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4512 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4513 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4514 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4515 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4516 (avl-tree-stack-first):
4517 * emacs-lisp/cconv.el (cconv--analyse-use):
4518 * net/gnutls.el (gnutls-negotiate): Fix typos.
4519
cb825e5d
GM
45202011-11-24 Glenn Morris <rgm@gnu.org>
4521
3adbe224
GM
4522 * lpr.el (lpr-windows-system, lpr-lp-system):
4523 * mail/binhex.el (binhex-begin-line):
4524 * progmodes/grep.el (grep-history, grep-find-history):
4525 * textmodes/flyspell.el:
4526 * vc/pcvs-defs.el (cvs-global-menu):
4527 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4528 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4529 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4530
321decc8
GM
4531 * net/tls.el: Fix case of "GnuTLS".
4532
420b63ad
GM
4533 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4534
cb825e5d
GM
4535 * version.el (emacs-build-system): Give it a doc-string.
4536
a0649f08
JL
45372011-11-24 Juri Linkov <juri@jurta.org>
4538
4539 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4540
c0bc0fd4
GM
45412011-11-24 Glenn Morris <rgm@gnu.org>
4542
4543 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4544 if called on a non-mime message just toggle the headers. (Bug#8006)
4545
20db1522
JB
45462011-11-24 Juanma Barranquero <lekktu@gmail.com>
4547
4548 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4549 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4550 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4551 (allout-rebullet-heading, allout-open-sibtopic)
4552 (allout-toggle-current-subtree-encryption)
4553 (allout-toggle-subtree-encryption, allout-encrypt-string)
4554 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4555 (allout-distinctive-bullets-string, allout-auto-activation):
4556 * window.el (window-normalize-buffer-to-display):
4557 * progmodes/verilog-mode.el (verilog-batch-indent):
4558 * textmodes/bibtex.el (bibtex-field-braces-opt)
4559 (bibtex-field-strings-opt):
4560 * vc/cvs-status.el (cvs-tree-merge):
4561 Fix typos.
4562
7262a87c
MA
45632011-11-23 Michael Albinus <michael.albinus@gmx.de>
4564
4565 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4566 `non-essential' to t, in order to avoid remote connections.
4567
283430a1
EZ
45682011-11-23 Eli Zaretskii <eliz@gnu.org>
4569
a1beca85
SM
4570 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4571 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4572 case-insensitively.
4573
d2992a38
ML
45742011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4575
4576 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4577
50419064
GM
45782011-11-23 Glenn Morris <rgm@gnu.org>
4579
da94eca1
GM
4580 * paths.el (rmail-file-name): Reformat the doc-string so that it
4581 is picked up.
4582
9aac4de2
GM
4583 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4584 (rmail-auto-file): Ignore case in the "special" field names,
4585 as mail-fetch-field does for all others.
4586
8038d2d2
GM
4587 * mail/rmail.el (rmail-forward):
4588 * mail/rmailkwd.el (rmail-set-label):
4589 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4590 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4591
f3fe222a
GM
4592 * mail/rmail.el (rmail-current-message): Doc fix.
4593
50419064
GM
4594 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4595
28109f49
SM
45962011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4597
4598 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4599
394c65f1
GM
46002011-11-22 Glenn Morris <rgm@gnu.org>
4601
4602 * mail/rmailmm.el (test-rmail-mime-handler)
4603 (test-rmail-mime-bulk-handler)
4604 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4605
f2a0aa3a
JL
46062011-11-21 Juri Linkov <juri@jurta.org>
4607
1154d12e
JB
4608 * calc/calc.el (calc-read-key-sequence):
4609 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4610
9c34a344
LMI
46112011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4612
4613 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4614 Tell the caller that the next line needs recomputation, even
4615 though it doesn't start a sexp (bug#10094).
4616
f04a3be9
SM
46172011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4618
4619 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4620
7978747f
SM
46212011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4622
f04a3be9
SM
4623 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4624 Use force-same-window.
7978747f 4625
fe7a3057
JB
46262011-11-20 Juanma Barranquero <lekktu@gmail.com>
4627
4628 * descr-text.el (describe-char-unicode-data):
4629 * json.el (json-string-escape):
4630 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4631 (Footnote-unicode, Footnote-style-p):
4632 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4633
24901d61
CY
46342011-11-20 Chong Yidong <cyd@gnu.org>
4635
4636 * window.el (replace-buffer-in-windows): Restore interactive spec.
4637
bac7ff22
SM
46382011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4639
24f3d7b9
SM
4640 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4641
bac7ff22
SM
4642 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4643 (byte-compile-global-not-obsolete-vars): New var.
4644 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4645 Use it.
4646 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4647
cd1181db
JB
46482011-11-20 Juanma Barranquero <lekktu@gmail.com>
4649
4650 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4651 * progmodes/pascal.el (electric-pascal-equal):
4652 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4653 * xml.el (xml-substitute-special): Fix typos.
4654
7fb18e9e
GM
46552011-11-20 Glenn Morris <rgm@gnu.org>
4656
4657 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4658 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4659 Doc fixes.
4660 (rmail-decode-mime-charset): Mark as obsolete.
4661
4662 * mail/rmailsum.el (rmail-message-regexp-p-1):
4663 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4664 Before using mime functions, check they are set. (Bug#10077)
4665
d5a6b3ba
JL
46662011-11-19 Juri Linkov <juri@jurta.org>
4667
4668 * info.el (Info-finder-find-node): Use `package--builtins' instead
4669 of `package-alist'. Use node names formed by the pattern "Keyword "
4670 and the keyword name.
4671
e981b61f
AS
46722011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4673
1d00653d 4674 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4675
3ffbc301
JL
46762011-11-19 Juri Linkov <juri@jurta.org>
4677
4678 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4679 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4680 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4681 `old-history', `old-history-forward'. Add let-binding
4682 `window-selected'. Remove calls to `kill-buffer',
4683 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4684 before calling `Info-find-node', so `Info-find-node-2' will reread
4685 the Info file. Restore window positions only when `window-selected'
4686 is non-nil.
4687
30c62133
JL
46882011-11-19 Juri Linkov <juri@jurta.org>
4689
4690 * isearch.el (isearch-lazy-highlight-new-loop):
4691 Remove condition `(not isearch-error)'. (Bug#9918)
4692
4693 * misearch.el (multi-isearch-search-fun): Add condition
4694 `(not bound)' to ignore lazy-highlighting search.
4695 Add the search-failed message "end of multi" when the end of
4696 multi-sequence is reached. Uncapitalize the search-failed
4697 message "Repeat for next buffer".
4698
4699 * info.el (Info-search): Add the search-failed message
4700 "end of the manual" when the end of the manual is reached
4701 in Isearch mode.
4702
645ca9cf
JL
47032011-11-19 Juri Linkov <juri@jurta.org>
4704
4705 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4706 Use non-destructive `remove' instead of `delete' because
4707 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4708 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4709
df754f66
JL
47102011-11-19 Juri Linkov <juri@jurta.org>
4711
4712 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4713 to nil instead of binding `search-ring' and `regexp-search-ring'.
4714 (Bug#9185)
4715
0e23d96a
EZ
47162011-11-19 Eli Zaretskii <eliz@gnu.org>
4717
4718 * simple.el (line-move): Force movement by logical lines for any
4719 hscrolled window, not only when auto-hscroll-mode is on.
4720 (line-move-visual): Update doc string to that effect. (Bug#10076)
4721
8a6ccb66
AS
47222011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4723
4724 * language/european.el (macintosh): Define as alias for mac-roman.
4725
49ae5b39
EZ
47262011-11-19 Eli Zaretskii <eliz@gnu.org>
4727
4728 * mail/rmailmm.el (rmail-mime-display-header)
4729 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4730 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4731 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4732 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4733 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4734 of a raw aref.
4735 (rmail-mime-entity-segment): To get past the tagline, move forward
4736 2 more lines, to account for the 2 empty lines that precede and
4737 follow the line with the buttons.
4738 (rmail-mime-update-tagline): Move one more line, to get past the
4739 empty line that follows the buttons in the tagline. (Bug#9520)
4740
c56cad4a
MR
47412011-11-19 Martin Rudalics <rudalics@gmx.at>
4742
4743 * window.el (window-max-delta-1, window-min-delta-1)
4744 (window-min-size-1, window-state-get-1, window-state-put-1)
4745 (window-state-put-2): Use "window--" prefix.
4746
cbe71af3
SM
47472011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4748
2ad52c60
SM
4749 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4750 (smie-warning-count): New var.
4751 (smie-set-prec2tab): Use it.
4752 (smie-bnf->prec2): Improve warnings. Add docstring.
4753 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4754 (smie-bnf--set-class): New function.
4755 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4756 corner case.
4757
6944dbc1
SM
4758 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4759 (compilation-error-properties, compilation-move-to-column):
4760 Handle compilation-first-column while in the target buffer.
4761
c400c4d7
SM
4762 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4763 Don't hardcode point-min==1.
4764
6dbe3e96
SM
4765 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4766 (eshell-rewrite-for-command): Remove workaround.
4767 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4768 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4769 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4770
cbe71af3
SM
4771 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4772
a8e1496d
GM
47732011-11-17 Glenn Morris <rgm@gnu.org>
4774
4775 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4776 Ignore buffer-local generated-autoload-file if it is the same
4777 as the global value. (Bug#10049)
4778
df85d315
JB
47792011-11-17 Juanma Barranquero <lekktu@gmail.com>
4780
4781 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4782 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4783 (reftex-toc-previous-heading, reftex-toc-max-level)
4784 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4785 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4786 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4787 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4788 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4789 (reftex-toc-rename-label, reftex-toc-visit-location)
4790 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4791 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4792 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4793 leaving "*toc*" only for references to the buffer.
4794
a0c2d0ae
MR
47952011-11-17 Martin Rudalics <rudalics@gmx.at>
4796
4797 * window.el (window-resize, delete-window, split-window):
4798 Replace window-splits by window-combination-resize.
1d00653d 4799 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4800
35c0bac8
GM
48012011-11-17 Glenn Morris <rgm@gnu.org>
4802
4803 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4804 Make bash entry derive from sh entry, not shell entry.
4805
d0c8fc8a
MA
48062011-11-16 Michael Albinus <michael.albinus@gmx.de>
4807
d0c8fc8a
MA
4808 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4809 properties of linked files. (Bug#9879)
4810
7262a87c
MA
4811 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4812 local file name.
4813
7877f373
JB
48142011-11-16 Juanma Barranquero <lekktu@gmail.com>
4815
4816 * menu-bar.el (menu-bar-file-menu):
4817 * printing.el (pr-ps-utility):
4818 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4819 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4820 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4821 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4822 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4823 (icalendar--convert-cyclic-to-ical)
4824 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4825 (icalendar--convert-ical-to-diary)
4826 (icalendar--convert-recurring-to-diary)
4827 (icalendar--convert-non-recurring-all-day-to-diary)
4828 (icalendar-import-format-sample):
4829 * progmodes/idlw-shell.el (idlwave-shell-mode):
4830 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4831 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4832 (vhdl-ps-print-init): Fix typos.
4833
10649b82
KM
48342011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4835
9d0cfcd6
GM
4836 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4837 FSF and collapse date sequence, obscure author/maintainer email address
4838 better, remove extra version line, track relocation of author's webpage.
10649b82 4839
9d0cfcd6
GM
4840 * progmodes/python.el (python-pdbtrack-input-prompt)
4841 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4842 regular python pdb prompts. Adjustments shamelessly taken exactly as
4843 suggested in EmacsWiki page (tiny change):
4844 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4845
58179cce
JB
48462011-11-16 Juanma Barranquero <lekktu@gmail.com>
4847
4848 * expand.el (expand-pos, expand-index, expand-point):
4849 Remove redundant info from docstring.
4850 (expand-add-abbrevs): Doc fix.
4851 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4852 (expand-sample-perl-mode-expand-list): Fix typos.
4853
4854 * net/dbus.el (dbus-event-member-name):
4855 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4856 * term/pc-win.el (msdos-create-frame-with-faces):
4857 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4858
b6f67890
MR
48592011-11-16 Martin Rudalics <rudalics@gmx.at>
4860
4861 * window.el (split-window, window-state-get-1)
4862 (window-state-put-1, window-state-put-2): Rename occurrences of
4863 window-nest to window-combination-limit.
1d00653d 4864 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4865
ce7ddba0
CY
48662011-11-16 Chong Yidong <cyd@gnu.org>
4867
4868 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4869 regexp (Bug#10033).
4870
3ae704f4
SM
48712011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4874 `completing-read' will remove *Completions* and will preserve
4875 current-buffer for us.
4876 (tmm-add-prompt): Users of *Completions* will always (re)set its
4877 major mode.
4878 (tmm-old-comp-map): Remove.
4879
6ad1cdde
GM
48802011-11-16 Glenn Morris <rgm@gnu.org>
4881
4882 * mail/rmailedit.el: Require rmailmm when compiling.
4883 (rmail-old-mime-state): New declaration.
4884 (rmail-edit-current-message): If editing a mime message,
4885 edit the "raw" message from the mbox buffer.
4886 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4887
d20faa20
GM
48882011-11-15 Glenn Morris <rgm@gnu.org>
4889
4890 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4891 which wasn't being used. Add optional arg to force given state.
4892 (rmail-mime): Add optional arg to force given state.
4893
c7015153
JB
48942011-11-15 Juanma Barranquero <lekktu@gmail.com>
4895
4896 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4897 * frame.el (display-mm-dimensions-alist):
4898 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4899 (outline-move-subtree-down):
4900 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4901 (newsticker--treeview-do-get-node):
4902 * net/quickurl.el (quickurl-list-buffer-name):
4903 * progmodes/dcl-mode.el (dcl-mode):
4904 * progmodes/gdb-mi.el (gdb-mapcar*):
4905 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4906
45261b50
GM
49072011-11-15 Glenn Morris <rgm@gnu.org>
4908
4909 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4910 in a boolean sense, so just make it a boolean, and fix the doc.
4911 (rmail-show-mime-function, rmail-mime-feature)
4912 (rmail-require-mime-maybe): Doc fixes.
4913 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4914
4915 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4916
0d26e0b6
JB
49172011-11-15 Juanma Barranquero <lekktu@gmail.com>
4918
4919 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4920 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4921 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4922 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4923
447f30f6
GM
49242011-11-15 Glenn Morris <rgm@gnu.org>
4925
672b871d
GM
4926 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4927 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4928 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4929 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4930 (rmail-mime, rmail-show-mime): Doc fixes.
4931
f6aa5bb1
GM
4932 * term/ns-win.el (mode-line-frame-identification):
4933 Leave it alone. (Bug#10051)
4934
947cd66b
GM
4935 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4936
447f30f6
GM
4937 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4938 Handle empty buffers. (Bug#9978)
4939
0b381c7e
JB
49402011-11-14 Juanma Barranquero <lekktu@gmail.com>
4941
4942 * international/mule.el (define-charset):
4943 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4944 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4945 * progmodes/verilog-mode.el (verilog-backward-token):
4946 * textmodes/ispell.el (lookup-words):
4947 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4948
71e027ac
GM
49492011-11-14 Glenn Morris <rgm@gnu.org>
4950
56632ce4
GM
4951 * progmodes/executable.el
4952 (executable-make-buffer-file-executable-if-script-p):
4953 Handle file-modes returning nil.
4954
40500957
GM
4955 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4956 message - not necessary, and causes problems. (Bug#9831)
4957
071c2340
GM
4958 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4959
d3cfca60
GM
4960 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4961
71e027ac
GM
4962 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4963 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4964 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4965
89d61221
MR
49662011-11-12 Martin Rudalics <rudalics@gmx.at>
4967
4968 * window.el (window-resize, delete-window): Use window-splits
4969 variable instead of function.
4970 (window-state-get-1, window-state-put-2, window-state-put):
4971 Don't deal with windows' splits status.
4972
98282f6f
GM
49732011-11-12 Glenn Morris <rgm@gnu.org>
4974
4975 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4976 (apropos-documentation): Doc fixes.
4977
40a8bdf6
JB
49782011-11-11 Juanma Barranquero <lekktu@gmail.com>
4979
4980 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4981 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4982
65bd19ff
SM
49832011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 * electric.el (electric-indent-post-self-insert-function): Make it
4986 possible for a char to only indent in some circumstances.
4987 (electric-indent-mode): Simplify.
4988
54f9154c
MR
49892011-11-11 Martin Rudalics <rudalics@gmx.at>
4990
4991 * window.el (windows-with-parameter): Remove unused function.
4992 (windows-at-side): Rename to window-at-side-list.
4993 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4994 (window-side-check, window-size-ignore, window-size-fixed-1)
4995 (window-in-direction-2): Prefix with "window--".
4996 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4997
68cbc58b
GM
49982011-11-11 Glenn Morris <rgm@gnu.org>
4999
5000 * subr.el (eval-after-load): If FILE is already loaded,
5001 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5002
b2621720
GM
50032011-11-10 Glenn Morris <rgm@gnu.org>
5004
9a4de110
GM
5005 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5006 Call svn via vc-svn-command rather than vc-do-command.
5007 (vc-svn-command): Add --non-interactive. (Bug#9993)
5008 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5009
b2621720
GM
5010 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5011 Add toggle-read-only. (Bug#7292)
5012 * files.el (toggle-read-only): Mention that it should only
5013 be used interactively. (Bug#10006)
5014
1dce7193
SM
50152011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5016
d9ac1a1e
SM
5017 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5018 Adjust regexp for OCaml warnings.
5019
0c325082
SM
5020 * electric.el (electric-pair-post-self-insert-function): Let user
5021 turn it off buffer-locally (bug#9932).
5022
90132c14
SM
5023 * progmodes/python.el (python-beginning-of-statement):
5024 Rewrite (bug#2703).
5025
1dce7193
SM
5026 * progmodes/compile.el: Better handle TABs (bug#9749).
5027 (compilation-internal-error-properties)
5028 (compilation-next-error-function): Obey the target buffer's
5029 compilation-error-screen-columns.
5030
c4e7c63a
JB
50312011-11-09 Juanma Barranquero <lekktu@gmail.com>
5032
5033 * progmodes/meta-mode.el: Remove obsolete comments.
5034 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5035 Fix typos in docstrings.
5036
2cffd681
MR
50372011-11-09 Martin Rudalics <rudalics@gmx.at>
5038
5039 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5040 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5041 (window--resizable): New function. Make all callers of
5042 window-resizable call window--resizable instead.
5043 (window-resizable): Rewrite in terms of window--resizable.
5044
0edcba87
GM
50452011-11-08 Glenn Morris <rgm@gnu.org>
5046
5047 * progmodes/delphi.el (delphi-mode-syntax-table):
5048 Let define-derived-mode define a proper syntax table. (Bug#9994)
5049
4b0d61e3
SM
50502011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * window.el: Stay away from defsubst.
5053 (window-list-no-nils): Remove.
5054 (window-state-get-1, window-state-get): Use backquote instead.
5055
cd394be1 50562011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5057
4b0d61e3 5058 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5059 Fix incorrect use of default argument in `completing-read'.
5060
e1c2c6f2
MR
50612011-11-08 Martin Rudalics <rudalics@gmx.at>
5062
5063 * window.el (display-buffer-function, special-display-function):
5064 Mention display-buffer-record-window but do not mention
5065 help-setup parameter in doc-strings.
b3f4a882 5066 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5067
105216ed
CY
50682011-11-08 Chong Yidong <cyd@gnu.org>
5069
5070 * window.el (window-total-height, window-total-width): Doc fix.
5071 (window-body-size): Move from C.
5072 (window-body-height, window-body-width): Move to C.
5073
0a9f9ab5
SM
50742011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * window.el: Make special-display like display-buffer-alist (bug#9532).
5077 (display-buffer--special-action): New function, morphed
5078 from display-buffer--special.
5079 (display-buffer): Use it to handle special-display-buffers at higher
5080 priority (just after display-buffer-alist).
5081 (display-buffer-fallback-action, display-buffer--other-frame-action)
5082 (pop-to-buffer-same-window): Remove display-buffer--special.
5083
a769dd15
GM
50842011-11-07 Glenn Morris <rgm@gnu.org>
5085
5086 * calendar/cal-menu.el (cal-menu-set-date-title):
5087 Do nothing if not in a calendar. (Bug#9976)
5088
05a61ee3
SM
50892011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 * files.el (find-file): Always use selected-window.
5092
be7f5545
MR
50932011-11-07 Martin Rudalics <rudalics@gmx.at>
5094
5095 * window.el (window-combinations): Make WINDOW argument
5096 mandatory. Rewrite doc-string.
5097 (walk-window-subtree, window-atom-check, window-min-delta)
5098 (window-max-delta, window--resize-this-window)
5099 (window--resize-root-window-vertically, window-tree)
5100 (balance-windows, window-state-put): Rewrite doc-strings as to
5101 not mention the term "subwindow".
5102 (window--resize-subwindows-skip-p): Rename to
5103 window--resize-child-windows-skip-p.
5104 (window--resize-subwindows-normal): Rename to
5105 window--resize-child-windows-normal.
5106 (window--resize-subwindows): Rename to
5107 window--resize-child-windows.
5108 (window-or-subwindow-p): Rename to window--in-subtree-p.
5109
3c6702ef
ML
51102011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5111
5112 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5113 Ensure that mbox format messages end in two newlines (Bug#9974).
5114
49745b39
CY
51152011-11-06 Chong Yidong <cyd@gnu.org>
5116
5117 * window.el (window-combination-p): Function deleted; its
5118 side-effect is not used in any existing code.
5119 (window-combinations, window-combined-p): Call window-*-child
5120 directly.
5121
24300f5f
CY
51222011-11-05 Chong Yidong <cyd@gnu.org>
5123
5124 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5125 (window-size-ignore, window-state-get): Callers changed.
5126 (window-normalize-window): Rename from window-normalize-any-window.
5127 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5128 (window-normalize-live-window): Delete.
447f16b8
CY
5129 (window-combination-p, window-combined-p, window-combinations)
5130 (walk-window-subtree, window-atom-root, window-min-size)
5131 (window-sizable, window-sizable-p, window-size-fixed-p)
5132 (window-min-delta, window-max-delta, window-resizable)
5133 (window-resizable-p, window-full-height-p, window-full-width-p)
5134 (window-current-scroll-bars, window-point-1, set-window-point-1)
5135 (window-at-side-p, window-in-direction, window-resize)
5136 (adjust-window-trailing-edge, maximize-window, minimize-window)
5137 (window-deletable-p, delete-window, delete-other-windows)
5138 (record-window-buffer, unrecord-window-buffer)
5139 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5140 (quit-window, split-window, window-state-put)
5141 (set-window-text-height, fit-window-to-buffer)
5142 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5143
89bd5ee1
EZ
51442011-11-04 Eli Zaretskii <eliz@gnu.org>
5145
53479029
EZ
5146 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5147 rfc2047-decode-string.
5148 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5149 warnings.
5150
89bd5ee1
EZ
5151 * window.el (window-body-height, window-body-width): Mention in
5152 the doc string that the return values are in frame's canonical
5153 units. (Bug#9949)
5154
bd17fdee
AM
51552011-11-03 Alan Mackenzie <acm@muc.de>
5156
5157 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5158 change in cc-engine.el.
5159
acc825c5
SM
51602011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5163
1885e5b8
MR
51642011-11-02 Martin Rudalics <rudalics@gmx.at>
5165
5166 * window.el (quit-window): Call unrecord-window-buffer after
5167 showing another buffer in the window. (Bug#9937)
acc825c5 5168 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5169
ebe06da9
JB
51702011-11-02 Juanma Barranquero <lekktu@gmail.com>
5171
5172 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5173 Accept status with more than 9 shelves. (Bug#9935)
5174 Reported by Colin D Bennett <colin@gibibit.com>.
5175
4ee88440
MR
51762011-11-01 Martin Rudalics <rudalics@gmx.at>
5177
5178 * help.el (with-help-window): Don't reference
5179 temp-buffer-show-specifiers in doc-string.
5180
08e1d82c
AS
51812011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5182
5183 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5184 menu-item.
5185
84bd6e9e
VJL
51862011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5187
5188 * whitespace.el: New version 13.2.2.
5189 (whitespace-newline-mode): Disable properly. Reported by Sarah
5190 <EmacsWiki>.
5191
dba0634a
UJ
51922011-10-30 Ulf Jasper <ulf.jasper@web.de>
5193
5194 * net/newst-treeview.el: Remove "Time-stamp".
5195 (newsticker--group-manage-orphan-feeds): Do not call
5196 newsticker--treeview-tree-update.
db22a3c2
JB
5197 (newsticker-treeview-update, newsticker-treeview):
5198 Call newsticker--treeview-tree-update if necessary.
dba0634a 5199
3d8daefe
MR
52002011-10-30 Martin Rudalics <rudalics@gmx.at>
5201
5202 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5203 (window-iso-combinations): Remove "iso-" infix.
5204 Suggested by Chong Yidong.
3d8daefe
MR
5205 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5206 (window-max-delta-1, window-resize, window--resize-siblings)
5207 (window--resize-this-window, adjust-window-trailing-edge)
5208 (split-window, balance-windows-1)
5209 (shrink-window-if-larger-than-buffer):
5210 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5211 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5212
1bc4c3ae
SM
52132011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5214
5215 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5216 in place (bug#9907).
5217 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5218 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5219 (eshell-structure-basic-command, eshell-rewrite-while-command)
5220 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5221 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5222 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5223 (eshell-do-pipelines-synchronously, eshell-eval-command):
5224 Use backquotes and prefer setq to set.
5225 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5226 (eshell-macrop): Use functionp.
c1e2f5fa 5227 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5228
30b65d9c
CY
52292011-10-30 Chong Yidong <cyd@gnu.org>
5230
5231 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5232 instead of set-mark (Bug#9810).
5233
2d197ffb
CY
52342011-10-30 Chong Yidong <cyd@gnu.org>
5235
5236 * window.el (split-window-below, split-window-right): Rename from
5237 split-window-above-each-other and split-window-side-by-side
5238 respectively. All callers changed.
5239 (split-window-sensibly, split-window-sensibly): Use them.
5240 (split-window-keep-point): Doc fix.
5241
5242 * isearch.el: Add isearch-scroll property to split-window-below
5243 and split-window-right.
5244
5245 * follow.el (follow-mode):
5246 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5247 * progmodes/ada-xref.el (ada-gdb-application):
5248 * emulation/vip.el (vip-buffer-in-two-windows):
5249 * image-dired.el (image-dired-dired-with-window-configuration):
5250 * dired-x.el (dired-do-find-marked-files):
5251 * dired.el (dired-pop-to-buffer):
5252 * bs.el (bs--show-with-configuration):
5253 * vc/emerge.el (emerge-setup-windows):
5254 * textmodes/two-column.el (2C-two-columns):
5255 * textmodes/reftex-toc.el (reftex-toc):
5256 * progmodes/gdb-mi.el (gdb-setup-windows):
5257 * progmodes/fortran.el (fortran-window-create):
5258 * net/newst-treeview.el (newsticker--treeview-window-init):
5259 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5260 * emulation/tpu-edt.el (tpu-gold-map):
5261 * emulation/crisp.el (crisp-mode-map):
5262 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5263
38bb2ca8
CY
52642011-10-29 Chong Yidong <cyd@gnu.org>
5265
aa4de341
CY
5266 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5267
e1eb5385
CY
5268 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5269
5d2ece3c
CY
5270 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5271 forged Ispell output (Bug#7904).
5272
38bb2ca8
CY
5273 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5274
d0af9f77
SM
52752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5276
5277 * doc-view.el: Avoid ugly errors about not finding nil.
5278 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5279 (doc-view-dvipdf-program, doc-view-unoconv-program)
5280 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5281 Avoid nil or absolute file name as default value.
5282 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5283
52bedd34
AM
52842011-10-28 Alan Mackenzie <acm@muc.de>
5285
db22a3c2 5286 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5287
7e43cfa5
AM
52882011-10-28 Alan Mackenzie <acm@muc.de>
5289
5290 Amend the handling of c-beginning/end-of-defun in nested declaration
5291 scopes.
5292
52bedd34
AM
5293 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5294 cc-langs.el. Change it to a defcustom.
7e43cfa5 5295
52bedd34
AM
5296 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5297 cc-vars.el.
7e43cfa5 5298
d0af9f77
SM
5299 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5300 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5301
52bedd34 5302 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5303 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5304 (c-widen-to-enclosing-decl-scope): New function.
5305 (c-while-widening-to-decl-block): New macro.
5306 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5307 outward for defun boundaries, and correspondingly change symbol
5308 `respect-enclosure' to `go-outward'.
5309 (c-declaration-limits): Change algorithm to report only the "innermost"
5310 defun's boundaries.
5311
1a2ce9ee
DD
53122011-10-28 Deniz Dogan <deniz@dogan.se>
5313
5314 * net/rcirc.el (rcirc-mode): Use hard newlines.
5315
bc97a826
AM
53162011-10-28 Alan Mackenzie <acm@muc.de>
5317
5318 Amend to indent and fontify macros "which include their own semicolon"
5319 correctly, using the "virtual semicolon" mechanism.
5320
52bedd34 5321 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5322
d0af9f77 5323 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5324 Recode to scan one line at a time rather than having \n and \r
58179cce 5325 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5326 (c-forward-label): Amend for virtual semicolons.
58179cce 5327 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5328
52bedd34
AM
5329 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5330 of the new C macros.
bc97a826 5331
52bedd34 5332 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5333 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5334 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5335 (c-opt-cpp-macro-define): Make into a full language variable.
5336 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5337 AWK Mode (including \n, \r) removed, no longer needed.
5338
d0af9f77
SM
5339 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5340 Invoke c-make-macro-with-semi-re.
bc97a826 5341
52bedd34
AM
5342 * progmodes/cc-vars.el (c-macro-with-semi-re):
5343 (c-macro-names-with-semicolon): New variables.
58179cce 5344 (c-make-macro-with-semi-re): New function.
bc97a826 5345
7a6c0941
SM
53462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5347
5348 * vc/log-edit.el: Fill empty field rather than adding new one.
5349 (log-edit-add-field): New function.
5350 (log-edit-insert-changelog): Use it.
5351
b0c4cdcf
ML
53522011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5353
5354 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5355
ee1f1da9
SM
53562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5359 (gdb--check-interpreter): New function.
5360 (gdb): Use it.
5361
51bc5f8b
GM
53622011-10-27 Glenn Morris <rgm@gnu.org>
5363
416a2c45
GM
5364 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5365 (least-positive-float, least-negative-float)
5366 (least-positive-normalized-float, least-negative-normalized-float)
5367 (float-epsilon, float-negative-epsilon):
5368 Remove unnecessary declarations.
5369
5370 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5371 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5372 (least-positive-float, least-negative-float)
5373 (least-positive-normalized-float, least-negative-normalized-float)
5374 (float-epsilon, float-negative-epsilon): Add doc-strings,
5375 based on those in cl.texi.
5376
51bc5f8b
GM
5377 * files.el (set-visited-file-name): If the major-mode changed,
5378 reload the local variables. (Bug#9796)
5379
15de15c6
CY
53802011-10-27 Chong Yidong <cyd@gnu.org>
5381
5382 * subr.el (change-major-mode-after-body-hook): New hook.
5383 (run-mode-hooks): Run it.
5384
ee1f1da9
SM
5385 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5386 Use change-major-mode-before-body-hook.
15de15c6
CY
5387
5388 * simple.el (fundamental-mode):
5389 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5390 change introducing fundamental-mode-hook.
5391
5430d399
JB
53922011-10-26 Juanma Barranquero <lekktu@gmail.com>
5393
acc825c5 5394 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5395
ad74a69e
MA
53962011-10-26 Michael Albinus <michael.albinus@gmx.de>
5397
5398 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5399 tramp.el explicitly. (Bug#7583)
ad74a69e 5400
71d4c2a5
SM
54012011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * progmodes/octave-mod.el:
5404 * progmodes/octave-inf.el: Update maintainer.
5405
b1f6fa26
CY
54062011-10-26 Chong Yidong <cyd@gnu.org>
5407
5408 * subr.el (with-wrapper-hook): Rewrite doc.
5409
3f04efd6
MA
54102011-10-25 Michael Albinus <michael.albinus@gmx.de>
5411
5412 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5413 filenames "/method:foo:". (Bug#9793)
3f04efd6 5414
410488d3
SM
54152011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5418 (bug#9865).
5419
c1ebb47e
GM
54202011-10-24 Glenn Morris <rgm@gnu.org>
5421
5422 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5423
7f5c46c7
MA
54242011-10-24 Michael Albinus <michael.albinus@gmx.de>
5425
5426 * notifications.el: Add the requirement of a running D-Bus session
5427 bus to the Commentary.
5428
db2440b6
JL
54292011-10-24 Juri Linkov <juri@jurta.org>
5430
5431 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5432 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5433 (Bug#9364)
5434
feecf435
JL
54352011-10-24 Juri Linkov <juri@jurta.org>
5436
5437 * info.el (Info-following-node-name-re): Add newline to the list
5438 of allowed characters for leading space. (Bug#9824)
5439
a3839de2
SM
54402011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5441
acc825c5
SM
5442 * progmodes/octave-inf.el (inferior-octave-mode-map):
5443 Fix C-c C-h binding.
a3839de2
SM
5444 * progmodes/octave-mod.el (octave-help): Remove.
5445
09388e76
MA
54462011-10-23 Michael Albinus <michael.albinus@gmx.de>
5447
5448 Sync with Tramp 2.2.3.
5449
5450 * net/tramp-cache.el (top): Pacify byte-compiler using
5451 `init-file-user' and `site-run-file'.
5452
5453 * net/trampver.el: Update release number.
5454
86c60681
CY
54552011-10-23 Chong Yidong <cyd@gnu.org>
5456
5457 * files.el (toggle-read-only): Remove obsolete comment about
5458 version control.
5459
5460 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5461 for toggle-read-only. Note that this hasn't called vc-next-action
5462 since 2008-05-02, though it wasn't documented at the time.
5463
a3839de2
SM
5464 * vc/ediff-init.el (ediff-toggle-read-only-function):
5465 Use toggle-read-only.
86c60681 5466
cd5495ff
AM
54672011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5468
5469 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5470 of c-parse-state.
5471
00b77525 5472 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5473 correct faulty logical expression.
cd5495ff
AM
5474 (c-parse-state-state, c-record-parse-state-state):
5475 (c-replay-parse-state-state): New defvar/defuns.
5476 (c-debug-parse-state): Use new functions.
5477
42ee24ed
MR
54782011-10-22 Martin Rudalics <rudalics@gmx.at>
5479
5480 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5481 last fix. Use window-in-direction correctly.
42ee24ed 5482
a7dee7e7
CY
54832011-10-21 Chong Yidong <cyd@gnu.org>
5484
5485 * progmodes/idlwave.el (idlwave-mode):
5486 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5487 require-final-newline; that's done in prog-mode.
5488 Suggested by Stefan Monnier.
a7dee7e7 5489
e07b9a6d
MR
54902011-10-21 Martin Rudalics <rudalics@gmx.at>
5491
5492 * mouse.el (mouse-drag-window-above)
5493 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5494 (mouse-drag-mode-line-1, mouse-drag-header-line)
5495 (mouse-drag-vertical-line-rightward-window): Remove.
5496 (mouse-drag-line): New function.
5497 (mouse-drag-mode-line, mouse-drag-header-line)
5498 (mouse-drag-vertical-line): Call mouse-drag-line.
5499 * window.el (window-at-side-p, windows-at-side): New functions.
5500
7e1361d9
UM
55012011-10-21 Ulrich Mueller <ulm@gentoo.org>
5502
5503 * tar-mode.el (tar-grind-file-mode):
5504 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5505
30fcaf3a
CY
55062011-10-21 Chong Yidong <cyd@gnu.org>
5507
5508 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5509 * progmodes/vera-mode.el (vera-mode):
5510 Use mode-require-final-newline.
30fcaf3a 5511
516eddb0
GM
55122011-10-20 Glenn Morris <rgm@gnu.org>
5513
db22a3c2 5514 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5515
10d5f513
CS
55162011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5517
5518 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5519
ac6c8639
CY
55202011-10-20 Chong Yidong <cyd@gnu.org>
5521
5522 * emulation/cua-base.el (cua-mode):
5523 * mail/footnote.el (footnote-mode):
5524 * mail/mailabbrev.el (mail-abbrevs-mode):
5525 * net/xesam.el (xesam-minor-mode):
5526 * progmodes/bug-reference.el (bug-reference-mode):
5527 * progmodes/cap-words.el (capitalized-words-mode):
5528 * progmodes/compile.el (compilation-minor-mode)
5529 (compilation-shell-minor-mode):
5530 * progmodes/gud.el (gud-tooltip-mode):
5531 * progmodes/hideif.el (hide-ifdef-mode):
5532 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5533 * progmodes/subword.el (subword-mode):
5534 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5535 * progmodes/which-func.el (which-function-mode):
5536 * term/tvi970.el (tvi970-set-keypad-mode):
5537 * term/vt100.el (vt100-wide-mode):
5538 * textmodes/flyspell.el (flyspell-mode):
5539 * textmodes/ispell.el (ispell-minor-mode):
5540 * textmodes/nroff-mode.el (nroff-electric-mode):
5541 * textmodes/paragraphs.el (use-hard-newlines):
5542 * textmodes/refill.el (refill-mode):
5543 * textmodes/reftex.el (reftex-mode):
5544 * textmodes/rst.el (rst-minor-mode):
5545 * textmodes/sgml-mode.el (html-autoview-mode)
5546 (sgml-electric-tag-pair-mode):
5547 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5548 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5549 * emulation/crisp.el (crisp-mode):
5550 * emacs-lisp/eldoc.el (eldoc-mode):
5551 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5552 minor mode behavior.
5553
aa42ab43
JL
55542011-10-19 Juri Linkov <juri@jurta.org>
5555
5556 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5557 the list of hard-coded chars with escape-glyph face.
5558
89400f1d
SM
55592011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5562
305c07f6
MA
55632011-10-19 Michael Albinus <michael.albinus@gmx.de>
5564
5565 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5566 running process.
5567
13754b54
GM
55682011-10-19 Glenn Morris <rgm@gnu.org>
5569
5570 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5571 Ignore ignored files. (Bug#9726)
5572
06e21633
CY
55732011-10-19 Chong Yidong <cyd@gnu.org>
5574
5575 Doc fix for minor modes, stating that an omitted argument enables
5576 the mode unconditionally when called from Lisp.
5577
5578 * abbrev.el (abbrev-mode):
5579 * allout.el (allout-mode):
5580 * autoinsert.el (auto-insert-mode):
5581 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5582 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5583 (global-auto-revert-mode):
5584 * battery.el (display-battery-mode):
5585 * composite.el (global-auto-composition-mode)
5586 (auto-composition-mode):
5587 * delsel.el (delete-selection-mode):
5588 * desktop.el (desktop-save-mode):
5589 * dired-x.el (dired-omit-mode):
5590 * dirtrack.el (dirtrack-mode):
5591 * doc-view.el (doc-view-minor-mode):
5592 * double.el (double-mode):
5593 * electric.el (electric-indent-mode, electric-pair-mode):
5594 * emacs-lock.el (emacs-lock-mode):
5595 * epa-hook.el (auto-encryption-mode):
5596 * follow.el (follow-mode):
5597 * font-core.el (font-lock-mode):
5598 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5599 * help.el (temp-buffer-resize-mode):
5600 * hilit-chg.el (highlight-changes-mode)
5601 (highlight-changes-visible-mode):
5602 * hi-lock.el (hi-lock-mode):
5603 * hl-line.el (hl-line-mode, global-hl-line-mode):
5604 * icomplete.el (icomplete-mode):
5605 * ido.el (ido-everywhere):
5606 * image-file.el (auto-image-file-mode):
5607 * image-mode.el (image-minor-mode):
5608 * iswitchb.el (iswitchb-mode):
5609 * jka-cmpr-hook.el (auto-compression-mode):
5610 * linum.el (linum-mode):
5611 * longlines.el (longlines-mode):
5612 * master.el (master-mode):
5613 * mb-depth.el (minibuffer-depth-indicate-mode):
5614 * menu-bar.el (menu-bar-mode):
5615 * minibuf-eldef.el (minibuffer-electric-default-mode):
5616 * mouse-sel.el (mouse-sel-mode):
5617 * msb.el (msb-mode):
5618 * mwheel.el (mouse-wheel-mode):
5619 * outline.el (outline-minor-mode):
5620 * paren.el (show-paren-mode):
5621 * recentf.el (recentf-mode):
5622 * reveal.el (reveal-mode, global-reveal-mode):
5623 * rfn-eshadow.el (file-name-shadow-mode):
5624 * ruler-mode.el (ruler-mode):
5625 * savehist.el (savehist-mode):
5626 * scroll-all.el (scroll-all-mode):
5627 * scroll-bar.el (scroll-bar-mode):
5628 * server.el (server-mode):
5629 * shell.el (shell-dirtrack-mode):
5630 * simple.el (auto-fill-mode, transient-mark-mode)
5631 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5632 (line-number-mode, column-number-mode, size-indication-mode)
5633 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5634 * strokes.el (strokes-mode):
5635 * time.el (display-time-mode):
5636 * t-mouse.el (gpm-mouse-mode):
5637 * tool-bar.el (tool-bar-mode):
5638 * tooltip.el (tooltip-mode):
5639 * type-break.el (type-break-mode-line-message-mode)
5640 (type-break-query-mode):
5641 * view.el (view-mode):
5642 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5643 (global-whitespace-mode, global-whitespace-newline-mode):
5644 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5645
a3839de2
SM
5646 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5647 Fix autogenerated docstring.
06e21633 5648
5214e501
JL
56492011-10-19 Juri Linkov <juri@jurta.org>
5650
5651 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5652 by checking environment variables "DESKTOP_SESSION" and
5653 "XDG_CURRENT_DESKTOP". (Bug#9779)
5654
195f8db9
JL
56552011-10-19 Juri Linkov <juri@jurta.org>
5656
5657 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5658 (browse-url-chromium-program, browse-url-chromium-arguments):
5659 New defcustoms.
5660 (browse-url-default-browser): Check for `browse-url-chromium' and
5661 call `browse-url-chromium-program'.
5662 (browse-url-chromium): New command. (Bug#9779)
5663
343a34ff
JB
56642011-10-18 Juanma Barranquero <lekktu@gmail.com>
5665
5666 * facemenu.el (list-colors-duplicates): On Windows, detect more
5667 duplicates by assuming that only colors matching "^System" are
5668 special "system colors". (Bug#9722)
5669
6978a151
SM
56702011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5673 to distinguish the author from the committer.
5674
6a80b297
MA
56752011-10-18 Michael Albinus <michael.albinus@gmx.de>
5676
5677 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5678
b31a5677
JK
56792011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5680
5681 * international/mule.el (sgml-html-meta-auto-coding-function):
5682 Add support for detecting encoding in HTML5 specified only as
5683 <meta charset="UTF-8">. Implementation just makes http-equiv and
5684 content-type parts from HTML4 encoding string optional. (Bug#9716)
5685
80c6d77f
GM
56862011-10-18 Glenn Morris <rgm@gnu.org>
5687
5688 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5689
08b0fee8
CY
56902011-10-18 Chong Yidong <cyd@gnu.org>
5691
5692 * faces.el (cursor): Doc fix.
5693
67e729a5
CY
56942011-10-17 Chong Yidong <cyd@gnu.org>
5695
5696 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5697
343a34ff 56982011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5699
5700 * dirtrack.el (dirtrack): Support shell buffers with path
5701 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5702
0bc06380
TZ
57032011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5704
5705 * json.el: Bump version to 1.3 and note change in History.
5706 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5707
8b79f3e0
SM
57082011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5a7c536b
SM
5710 * comint.el (comint-insert-input, comint-send-input)
5711 (comint-get-old-input-default, comint-backward-matching-input)
5712 (comint-next-prompt): Use nil instead of `input' for field property of
5713 past user input (bug#114).
5714
96a8a0df
SM
5715 * minibuffer.el (completion--replace): Inherit surrounding properties
5716 (bug#114).
5717 (minibuffer-complete-and-exit): Use it.
5718
8b79f3e0
SM
5719 * comint.el (comint--table-subvert): Quote the all-completions output
5720 (bug#9160).
5721
b8f7ff0d
MR
57222011-10-17 Martin Rudalics <rudalics@gmx.at>
5723
8b79f3e0 5724 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5725
b8f7ff0d 5726 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5727 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5728 entries and separate them from frame entries.
5729
c235b555
GM
57302011-10-15 Glenn Morris <rgm@gnu.org>
5731
5732 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5733 Doc fixes.
5734
6bbfa6e1
CY
57352011-10-15 Chong Yidong <cyd@stupidchicken.com>
5736
8b79f3e0
SM
5737 * net/network-stream.el (network-stream-open-starttls):
5738 Improve detection of failure due to lack of TLS support.
ec5c990d 5739
6bbfa6e1
CY
5740 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5741 putting the input text in front and in bold.
5742
98488977
SM
57432011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5744
3d1337be
SM
5745 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5746
ee0b45e4
SM
5747 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5748 empty buffer.
5749
98488977
SM
5750 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5751 unread-command-events rather than pushing yet-another event.
5752
186f4720
EZ
57532011-10-14 Eli Zaretskii <eliz@gnu.org>
5754
5755 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5756 the explanation of the possible choices. Make the options passed
5757 to completing-read shorter.
5758
8b7a997c
AM
57592011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5760
5761 * textmodes/flyspell.el (flyspell-large-region): Make sure
5762 extended character mode is used if defined (Bug#1339).
5763
12587bbb
EZ
57642011-10-13 Eli Zaretskii <eliz@gnu.org>
5765
5766 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5767 character info for LRE, LRO, RLE, and RLO characters by appending
5768 an invisible PDF.
12587bbb 5769
bad41229
SM
57702011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5771
5772 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5773 even in case of error; add debug spec; simplify data flow.
5774 (with-timeout-handler): Remove.
5775
28dbc92f
MA
57762011-10-12 Michael Albinus <michael.albinus@gmx.de>
5777
5778 Fix Bug#6019, Bug#9315.
5779
5780 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5781 complete `buffer-file-name', the local file name part could look
5782 remotely (for example on VMS).
5783
5784 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5785 `tramp-run-real-handler'.
5786 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5787 already quoted by '"'.
5788
5789 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5790 Let `file-name-handler-alist' be nil, the local file name part
5791 could look remotely (for example on VMS).
5792
e1b0b23a
SM
57932011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5796 from here...
5797 (flyspell-post-command-hook): ...to here.
5798
a120bde9
SM
57992011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5800
5801 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5802 if not needed.
5803 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5804 using completion. Protect against "slow" callers.
5805 Remove the "message hack".
5806
7ce7717b
JL
58072011-10-11 Juri Linkov <juri@jurta.org>
5808
5809 * isearch.el (isearch-lazy-highlight-word): New variable.
5810 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5811 Use it. (Bug#9727)
5812
c02ee9d6
GM
58132011-10-11 Glenn Morris <rgm@gnu.org>
5814
5815 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5816 like f90-previous-statement does.
5817
93e616fd 58182011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5819
1f190e73 5820 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5821 only in interactive use, to avoid error.
5822
af7b6078
SM
58232011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5824
5825 * minibuffer.el (completion-file-name-table): Fix last change,
5826 i.e. ignore normal errors but not the other ones.
5827
0563dae9
MR
58282011-10-10 Martin Rudalics <rudalics@gmx.at>
5829
5830 * window.el (special-display-buffer-names)
5831 (special-display-regexps): Remove some remnants of earlier
5832 changes from doc-strings.
366ca7f3
MR
5833 (quit-windows-on): New function.
5834
5835 * vc/vc.el (vc-revert, vc-rollback):
5836 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5837 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5838 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5839
49677495
MR
58402011-10-09 Martin Rudalics <rudalics@gmx.at>
5841
5842 * window.el (frame-auto-hide-function): Add version tag.
5843 (Bug#9699)
5844
56f2d1e1
MA
58452011-10-09 Michael Albinus <michael.albinus@gmx.de>
5846
5847 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5848 condition.
5849
112a6592
LL
58502011-10-09 Leo Liu <sdl.web@gmail.com>
5851
5852 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5853 (Bug#9701)
5854
0812589b
GM
58552011-10-08 Glenn Morris <rgm@gnu.org>
5856
5857 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5858 before the first code statement zero indent. (Bug#9690)
5859
b2b0776e
CY
58602011-10-08 Chong Yidong <cyd@stupidchicken.com>
5861
5862 * simple.el (count-words-region): Always count in the region.
5863 Report the number of lines and characters too.
5864 (count-words): New command, which counts in the buffer if the
5865 region is inactive, as count-words-region used to.
5866 (count-words--message): New function. Handle plurals.
5867 (count-lines-region): Make it an alias for count-words-region.
5868
5869 * bindings.el (esc-map): Replace count-lines-region with
5870 count-words-region.
5871
c557cd6b
MR
58722011-10-08 Martin Rudalics <rudalics@gmx.at>
5873
5874 * window.el (window--delete): Delete dedicated frame
5875 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5876 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5877
61a57ef4 58782011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5879
3a7d293b 5880 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5881
c3833279
CY
58822011-10-07 Chong Yidong <cyd@stupidchicken.com>
5883
5884 * bindings.el ([M-left],[M-right]): Bind to left-word and
5885 right-word respectively.
5886
21ce8245
GM
58872011-10-07 Glenn Morris <rgm@gnu.org>
5888
5889 * cus-start.el (debug-on-quit): Fix custom type.
5890
6d823bb2
LMI
58912011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5892
0181e193
LMI
5893 * subr.el (define-key-after): Clarify that the function is not
5894 useful for non-menu keymaps.
5895
6d823bb2
LMI
5896 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5897
8e3459ce 58982011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5899
21ce8245 5900 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5901 in current minibuffer (Fix bug with recursive minibuffers).
5902
a1c2d21e
CY
59032011-10-06 Chong Yidong <cyd@stupidchicken.com>
5904
5905 * progmodes/gdb-mi.el (gdb): Doc fix.
5906
5a4cf282
MR
59072011-10-05 Martin Rudalics <rudalics@gmx.at>
5908
5909 * window.el (frame-auto-hide-function): New option replacing
5910 frame-auto-delete. Suggested by Stefan Monnier.
5911 (window--delete): Call frame-auto-hide-function instead of
5912 investigating frame-auto-delete.
c96111ea
MR
5913 (window-point-1, set-window-point-1): New functions.
5914 (window-in-direction, record-window-buffer, window-state-get-1)
5915 (display-buffer-record-window): Use window-point-1 instead of
5916 window-point.
5917 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5918
9854542e
SM
59192011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5920
5921 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5922
8943cfb0
GM
59232011-10-05 Glenn Morris <rgm@gnu.org>
5924
5925 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5926 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5927
647ab967
LL
59282011-10-05 Leo Liu <sdl.web@gmail.com>
5929
5930 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5931 works with buffer object.
5932
3ddfbced
SM
59332011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * mpc.el (mpc-tool-bar-map): Add labels.
5936
bdfa5dd2
GM
59372011-10-04 Glenn Morris <rgm@gnu.org>
5938
5939 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5940
0e2070b5
MR
59412011-10-04 Martin Rudalics <rudalics@gmx.at>
5942
5943 * window.el (window--delete): New function.
5944 (frame-auto-delete): Resuscitate option.
5945 (bury-buffer, replace-buffer-in-windows)
5946 (quit-window): Rewrite using window--delete.
5947 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5948 Pass display-buffer-mark-dedicated to window--display-buffer-2
5949 (Bug#9639).
5950
3dc61a09
SM
59512011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5952
915a9b64
SM
5953 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5954 returns a list (bug#9554). Add remote file name completion.
5955 * comint.el (comint--table-subvert): Curry and get quote&unquote
5956 functions as arguments.
5957 (comint--complete-file-name-data): Adjust call accordingly.
5958 * pcomplete.el (pcomplete--table-subvert): Remove.
5959 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5960
3dc61a09
SM
5961 * minibuffer.el (completion-table-case-fold): Use currying.
5962 (completion--styles-type, completion--cycling-threshold-type):
5963 New constants.
5964 (completion-styles, completion-category-overrides)
5965 (completion-cycle-threshold): Use them.
5966 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5967 completion-table-case-fold.
5968
8ea0a993
SB
59692011-10-03 Stephen Berman <stephen.berman@gmx.net>
5970
5971 * minibuffer.el (completion-category-overrides): Fix type of styles
5972 and add more user friendly tags (bug#9660).
5973
8c24b7f6
SM
59742011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5977 (mule-input-method-string): New widget.
5978 (default-input-method, language-info-custom-alist): Use it.
5979
428fe61a
SM
59802011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5981
32c1fffd
SM
5982 * pcomplete.el: Require comint.
5983 (pcomplete--common-suffix): Remove.
5984 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5985 (pcomplete--table-subvert): Sync with comint--table-subvert.
5986 (pcomplete--entries): Use comint-completion-file-name-table.
5987 * comint.el (comint-unquote-filename): Simplify.
5988 (comint-completion-file-name-table): New function (bug#9616).
5989 (comint--complete-file-name-data): Use it.
5990
428fe61a
SM
5991 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5992 (pcmpl-gnu-tar-buffer): Remove.
5993 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5994 around. Make sure pcomplete-suffix-list is only changed temporarily.
5995 Don't look inside the tar's file if it's too large.
428fe61a 5996
04c52e2f
CY
59972011-10-01 Chong Yidong <cyd@stupidchicken.com>
5998
ce3cefcc
CY
5999 * cus-edit.el (custom-mode-map):
6000 * epa.el (epa-key-list-mode-map):
6001 * man.el (Man-mode-map):
6002 * startup.el (splash-screen-keymap):
6003 * simple.el (special-mode-map): Use scroll-up-command and
6004 scroll-down-command.
6005
6006 * progmodes/idlw-help.el (idlwave-help-mode-map):
6007 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6008 * net/newst-plainview.el (newsticker-mode-map):
6009 * emulation/ws-mode.el (wordstar-mode-map):
6010 * emulation/vi.el (vi-com-map):
6011 * calc/calc-graph.el (calc-graph-show-dumb):
6012 * term/sun.el (terminal-init-sun):
6013 * term/ns-win.el (global-map):
6014 * progmodes/grep.el (grep-mode-map):
6015 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6016 * mail/rmail.el (rmail-mode-map):
6017 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6018
04c52e2f
CY
6019 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6020 custom-safe-themes as special.
6021
79adf8c8
JD
60222011-10-01 Julien Danjou <julien@danjou.info>
6023
6024 * notifications.el (notifications-notify): Fix docstring.
6025
63bd50d3
PS
60262011-10-01 Per Starbäck <per@starback.se>
6027
6028 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6029
199e4c7e
MR
60302011-09-30 Martin Rudalics <rudalics@gmx.at>
6031
6032 * startup.el (command-line-1): Fix last fix by inserting
6033 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6034 (Bug#9605) and (Bug#9636)
199e4c7e 6035
fe5f08dd
EZ
60362011-09-29 Eli Zaretskii <eliz@gnu.org>
6037
6038 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6039 window is hscrolled, move by logical lines. (Bug#9607)
6040 (line-move-visual): Update the doc string to the above effect.
6041
b5516bbd
MR
60422011-09-29 Martin Rudalics <rudalics@gmx.at>
6043
ccee00c0
MR
6044 * window.el (display-buffer-record-window): When WINDOW is the
6045 selected window use `point' instead of `window-point'. (Bug#9626)
6046
b5516bbd
MR
6047 * startup.el (command-line-1): Use insert-before-markers when
6048 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6049
b5516bbd
MR
6050 * help.el (help-window): Remove variable.
6051
52aa0014
GM
60522011-09-29 Glenn Morris <rgm@gnu.org>
6053
6054 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6055
df9a7357
JB
60562011-09-29 Juanma Barranquero <lekktu@gmail.com>
6057
6058 * descr-text.el (describe-char-categories): Accept category
6059 descriptions more than one line long.
6060
a8406c20
SM
60612011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6062
88d9610c
SM
6063 * simple.el (delete-trailing-whitespace): Fix last change.
6064
a5daf810
SM
6065 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6066 Don't confuse "y => 3" as the beginning of a `y' operation.
6067
a8406c20
SM
6068 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6069 object has more than 4 slots (bug#9613).
6070
a239d4e9
JB
60712011-09-28 Juanma Barranquero <lekktu@gmail.com>
6072
6073 * subr.el (with-output-to-temp-buffer):
6074 * net/quickurl.el (quickurl, quickurl-browse-url):
6075 Fix typos in docstrings.
6076
693fbdb6
EZ
60772011-09-27 Eli Zaretskii <eliz@gnu.org>
6078
6079 * minibuffer.el (completion-styles)
6080 (completion-category-overrides): Cross reference each other in doc
6081 strings.
6082
8b457e28
GM
60832011-09-27 Glenn Morris <rgm@gnu.org>
6084
6085 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6086 to split-string. (Bug#9606)
6087
85a16208
LMI
60882011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6089
6090 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6091 (bug#9615).
6092
502f9ebd
CY
60932011-09-27 Chong Yidong <cyd@stupidchicken.com>
6094
6095 * emacs-lisp/package.el (list-packages): Fix echo area message.
6096
7690bdea
LL
60972011-09-27 Leo Liu <sdl.web@gmail.com>
6098
6099 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6100
e2ee6f30
MA
61012011-09-25 Michael Albinus <michael.albinus@gmx.de>
6102
6103 * net/dbus.el (dbus-unregister-object): Don't release services for
6104 registered signals. (Bug#9581)
6105
f3f98342
TZ
61062011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6107
6108 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6109 function that picks between cfengine 2 and 3 support
6110 automatically. Update docs accordingly.
6111
dd7aa8dd
KH
61122011-09-22 Kenichi Handa <handa@m17n.org>
6113
6114 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6115 ZERO.
6116 (indian-itrans-v5-table-for-tamil): New variable.
6117 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6118
3f2b07f8
KM
61192011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6120
6121 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6122 that's true if the current command involved collapsing of text.
6123 It's reset to false at the beginning of the next command.
6124 (allout-post-command-business): Move the cursor to the beginning
6125 of entry if the cursor is hidden and collapsing activity just
6126 happened.
6127
371d6a61
CY
61282011-09-24 Chong Yidong <cyd@stupidchicken.com>
6129
6130 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6131 tracking (Bug#9541).
6132
2ac2721a
UJ
61332011-09-24 Ulf Jasper <ulf.jasper@web.de>
6134
6135 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6136 (newsticker-show-news): Automatically load html rendering package
6137 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6138 because w3m-fill-column is let-bound" and the error "Symbol's value
6139 as variable is void: w3m-fill-column".
2ac2721a 6140
fac7ae53
MA
61412011-09-24 Michael Albinus <michael.albinus@gmx.de>
6142
6143 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6144 Release services only if they are defined. (Bug#9581)
6145
e08b633b
RS
61462011-09-23 Richard Stallman <rms@gnu.org>
6147
e488d29c
RS
6148 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6149 distinguish start of paragraph from start of its text.
6150
19c38752
RS
6151 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6152
e08b633b
RS
6153 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6154 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6155 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6156
0a39f27e
AS
61572011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6158
6159 * international/mule-diag.el (mule-diag): Insert a newline after
6160 each fontset description.
6161
db4e950d
SM
61622011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * simple.el (delete-trailing-whitespace):
6165 Document last change; simplify.
6166
eca3f3ea
PW
61672011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6168
d68e189a
PW
6169 * simple.el (delete-trailing-whitespace): Also delete
6170 extra newlines at the end of the buffer.
6171
eca3f3ea
PW
6172 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6173 (picture-newline): Use forward-line so as to ignore fields.
6174
01c157cc
SM
61752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6176
6177 * subr.el (with-wrapper-hook): Fix edebug spec.
6178
022de23e
LMI
61792011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6180
6181 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6182 (bug#4538).
6183
91683089
MA
61842011-09-23 Michael Albinus <michael.albinus@gmx.de>
6185
eca3f3ea
PW
6186 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6187 Fix nasty bug using wrong cached values.
91683089 6188
5bdd6fa4
AM
61892011-09-23 Alan Mackenzie <acm@muc.de>
6190
6191 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6192
97adfb97
CY
61932011-09-23 Chong Yidong <cyd@stupidchicken.com>
6194
6195 * window.el (pop-to-buffer): Ensure right window is selected if we
6196 chose another frame.
6197
d4ef2b50
EZ
61982011-09-22 Eli Zaretskii <eliz@gnu.org>
6199
6200 * simple.el (what-cursor-position): Use get-char-property-change
6201 and next-single-char-property-change, to be able to show display
6202 properties that come from overlays as well as text properties.
6203
72258fe5
CY
62042011-09-22 Chong Yidong <cyd@stupidchicken.com>
6205
6206 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6207
6208 * cmuscheme.el (run-scheme, switch-to-scheme):
6209 * cus-edit.el (customize-group, custom-buffer-create)
6210 (customize-browse):
6211 * info.el (info):
6212 * shell.el (shell):
6213 * mail/sendmail.el (mail):
6214 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6215
8f098516
RS
62162011-09-22 Richard Stallman <rms@gnu.org>
6217
6218 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6219 move back only to line beg, don't move back over blank lines.
6220
e74f1bb6
MA
62212011-09-22 Michael Albinus <michael.albinus@gmx.de>
6222
6223 * files.el (copy-directory): Set directory attributes only in case
6224 they could be retrieved from the source directory. (Bug#9565)
6225
bfeef8b6
DK
62262011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6227
6228 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6229 (hs-find-block-beginning, hs-hide-level-recursive):
6230 Ignore strings as well as comments. (Bug#9502)
6231
7e423bb8
AS
62322011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6233
6234 * progmodes/sql.el (sql-comint-postgres):
6235 Convert port number to a string. (Bug#9566)
6236
b4d72fcf
MR
62372011-09-22 Martin Rudalics <rudalics@gmx.at>
6238
6239 * window.el (quit-window): Undedicate window when switching to
6240 previous buffer. Reported by Thierry Volpiatto
6241 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6242 (special-display-popup-frame): When popping up a new frame reset
6243 its previous buffers to nil. Simplify code.
b4d72fcf 6244
a7b88dc6
MA
62452011-09-21 Michael Albinus <michael.albinus@gmx.de>
6246
6247 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6248 and process filter, as done also in `shell-command'.
6249
cf4eacfd
MR
62502011-09-21 Martin Rudalics <rudalics@gmx.at>
6251
eca3f3ea 6252 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6253 Call set-window-start with NOFORCE argument t.
6254 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6255 (quit-window): Reword doc-string. Handle new format of
6256 quit-restore parameter. Don't delete window if it has a
6257 previous buffer we can show instead of the present one.
6258 (display-buffer-record-window): Rewrite using a new format for
6259 the quit-restore window parameter
6260 (special-display-popup-frame, display-buffer-same-window)
6261 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6262 (display-buffer-pop-up-window, display-buffer-use-some-window):
6263 Adapt symbol passed to display-buffer-record-window.
6264 * help.el (help-window-setup): Handle new format of quit-restore
6265 parameter.
6266
8d28cb95
SM
62672011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6268
94ab793f
SM
6269 * faces.el (face-list): Fix docstring (bug#9564).
6270
8d28cb95
SM
6271 * window.el (display-buffer--action-function-custom-type):
6272 Don't include internal functions in the Custom interface.
6273
3820edeb
JL
62742011-09-20 Juri Linkov <juri@jurta.org>
6275
6276 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6277 (Info-forward-node, Info-backward-node, Info-next-preorder)
6278 (Info-last-preorder): Use it. (Bug#9528)
6279
5147931d
JL
62802011-09-20 Juri Linkov <juri@jurta.org>
6281
6282 * info.el (Info-last-preorder): Visit last menu item only when
6283 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6284
cf499a1a
JD
62852011-09-20 Julien Danjou <julien@danjou.info>
6286
6287 * password-cache.el (password-cache-remove): Remove entries even if the
6288 value is nil, so that password with a nil value (negative caching) is
6289 possible to invalidate.
6290
f84e2fe2
LM
62912011-09-20 Lawrence Mitchell <wence@gmx.li>
6292
6293 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6294 all whitespace around breakpoint. (Bug#9553)
6295 (f90-find-breakpoint): Only break at whitespace inside a comment.
6296
78054a46
SM
62972011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * minibuffer.el (completion-file-name-table): Keep track of errors.
6300 (completion-table-with-predicate): Handle the case where pred1 is nil.
6301 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6302
345083b2
SM
63032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6304
e24e27be
SM
6305 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6306 (debugger-return-value): Signal an error if the debugging context does
6307 not await any return value.
6308
345083b2
SM
6309 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6310 * image-mode.el (image-toggle-display-text)
6311 (image-toggle-display-image): Stay away from evil `intangible'.
6312
08d355e3
LL
63132011-09-19 Leo Liu <sdl.web@gmail.com>
6314
6315 * replace.el (occur-revert-arguments): Make it permanent-local.
6316 (occur-mode): Don't call font-lock-defontify.
6317
f01da43f
CY
63182011-09-19 Chong Yidong <cyd@stupidchicken.com>
6319
6320 * net/ldap.el (ldap-search-internal): Don't push empty search
6321 result (Bug#9508).
6322
b6072fa6
SM
63232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6326
443d6696
MA
63272011-09-19 Michael Albinus <michael.albinus@gmx.de>
6328
6329 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6330 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6331
7cc6e154
JL
63322011-09-18 Juri Linkov <juri@jurta.org>
6333
6334 * buff-menu.el (Buffer-menu-mode-map):
6335 * dired.el (dired-mode-map):
6336 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6337 (lisp-interaction-mode-map):
6338 * emacs-lisp/package.el (package-menu-mode-map):
6339 * epa.el (epa-key-list-mode-map):
6340 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6341 (menu-bar-options-menu):
6342 * outline.el (outline-mode-menu-bar-map):
6343 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6344 * vc/vc-dir.el (vc-dir-menu-map):
6345 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6346 Capitalize non-function content words in menu item strings.
6347
6348 * dired.el (dired-mode-map): Add menu item for
6349 `image-dired-dired-toggle-marked-thumbs'.
6350
80302a81
JL
63512011-09-18 Juri Linkov <juri@jurta.org>
6352
6353 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6354 to `isearch-case-fold-search' and restore its original value
6355 after the `isearch-mode' call.
6356
46c5cf66
JL
63572011-09-18 Juri Linkov <juri@jurta.org>
6358
6359 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6360 because `zgrep' returns 1 for successful matches (bug#9226).
6361
d18b513b
JL
63622011-09-18 Juri Linkov <juri@jurta.org>
6363
6364 * info.el (Info-extract-menu-node-name): Check the second match
6365 for empty string (second test-case of bug#9528).
6366 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6367 intermediate nodes to the history (first test-case of bug#9528).
6368
72753f87
JL
63692011-09-18 Juri Linkov <juri@jurta.org>
6370
6371 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6372 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6373
c9384295
JL
63742011-09-18 Juri Linkov <juri@jurta.org>
6375
1154d12e
JB
6376 * info.el (Info-file-supports-index-cookies):
6377 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6378 outputs one more line for long file names (bug#4142).
c9384295 6379
d473dce8
CY
63802011-09-18 Chong Yidong <cyd@stupidchicken.com>
6381
6382 * newcomment.el (comment-normalize-vars): If prompting for
6383 comment-start, set comment-start-skip too (Bug#8424).
6384
2176854d
JB
63852011-09-18 Johan Bockgård <bojohan@gnu.org>
6386
6387 * icomplete.el: Fix previous fix of Bug#5849.
6388 (icomplete-mode): Don't set completion-show-inline-help.
6389 (icomplete-minibuffer-setup): Set completion-show-inline-help
6390 locally during icompletion.
6391
3aace4e4
CY
63922011-09-18 Chong Yidong <cyd@stupidchicken.com>
6393
c940224f
CY
6394 * woman.el (woman2-process-escapes): Don't delete unrecognized
6395 escapes (Bug#7843).
6396
3aace4e4
CY
6397 * files.el (inhibit-first-line-modes-regexps): Add image files.
6398 (hack-local-variables-prop-line): Return nil for malformed
6399 prop-lines (Bug#9044).
6400
710dec63
MA
64012011-09-18 Michael Albinus <michael.albinus@gmx.de>
6402
6403 * net/tramp.el (top): Don't require 'shell.
6404 (tramp-methods): Fix docstring.
6405 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6406 Return complete remote file name. Handle "smb" case.
6407 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6408 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6409
6410 * net/tramp-compat.el (top): Require 'shell.
6411
6412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6413 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6414 `tramp-current-host'.
6415 (tramp-get-remote-tmpdir): Remove.
6416
6417 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6418 `tramp-tmpdir' entries.
6419 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6420 (tramp-smb-handle-file-attributes): Ignore errors.
6421 (tramp-smb-wait-for-output): Check also for process end.
6422
5d5ac8ec
LMI
64232011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6424
6425 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6426 when sending QUIT (bug#9312).
6427
8c0f49f0
CY
64282011-09-17 Chong Yidong <cyd@stupidchicken.com>
6429
6430 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6431 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6432 occur-mode-display-occurrence.
6433 (occur-edit-mode): Add usage message.
6434 (occur-cease-edit): New command.
6435 (occur-after-change-function): Use text properties to find the
6436 position of the prefix text.
6437 (occur-engine): Set stickiness of prefix text properties.
6438
8f1383f7
GM
64392011-09-17 Glenn Morris <rgm@gnu.org>
6440
6441 * progmodes/etags.el (complete-tag):
6442 Fix call to completion-in-region. (Bug#9526)
6443
744ba0e3
JL
64442011-09-17 Juri Linkov <juri@jurta.org>
6445
6446 * textmodes/ispell.el (ispell-word): Add to the error message
6447 the word, ispell program name and current dictionary (bug#9121).
6448 (ispell-tex-arg-end): Capitalize "error" in the error message.
6449
d9bbf400
AS
64502011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6451
6452 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6453 check. (Bug#4251)
6454
8da11505
JL
64552011-09-17 Juri Linkov <juri@jurta.org>
6456
6457 * window.el (window-safe-min-height, window-safe-min-width):
6458 Fix typos (followup to bug#9522).
6459
a91adc7e
SJ
64602011-09-17 Sven Joachim <svenjoac@gmx.de>
6461
6462 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6463
064f328a
EZ
64642011-09-16 Eli Zaretskii <eliz@gnu.org>
6465
6466 * simple.el (line-move): If goal-column is set, move by logical
6467 lines, not by display lines. (Bug#971)
6468 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6469 to reflect the above change.
6470
e69df516
SM
64712011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * image.el (imagemagick-register-types): Use regexp-opt.
6474
cbb0f9ab
CY
64752011-09-15 Chong Yidong <cyd@stupidchicken.com>
6476
6477 * window.el (display-buffer-base-action): Rename from
6478 display-buffer-default-action. Make default value empty.
6479 (display-buffer-overriding-action): Convert to defvar.
6480 (display-buffer-fallback-action): New var.
6481
25322144
CY
64822011-09-15 Chong Yidong <cyd@stupidchicken.com>
6483
6484 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6485 declaration.
6486 (package--add-to-archive-contents): If there is a duplicate entry
6487 with an older version, remove it.
6488 (package-menu-mark-delete, package-menu-mark-install)
6489 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6490 (package-menu-mark-obsolete-for-deletion):
6491 Use package-menu-get-status instead of a regexp search.
25322144
CY
6492 (package-menu-get-status): Use tabulated-list-entry.
6493 (package-menu-mark-upgrades): New command.
d770725a 6494 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6495 (package-menu-execute): Do installation before deletion.
6496 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6497 instead of checking major-mode.
6498 (package-menu--find-upgrades): New function.
6499
7520339c
LMI
65002011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6501
6502 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6503 passwords in the log buffer.
65a046c4
LMI
6504 (smtpmail-process-filter): Update the process marker so that the
6505 "broken by peer" status message is inserted in the right place.
7520339c 6506
d3c30954
SM
65072011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6508
3fe48822
SM
6509 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6510 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6511 bibtex-completion-at-point-function.
6512 (bibtex-completion-at-point-function): Use them.
6513
1b8b3954
SM
6514 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6515
d3c30954
SM
6516 * mpc.el (mpc-constraints-tag-lookup): New function.
6517 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6518 also to browser "album|playlist".
6519
72779976
JL
65202011-09-14 Juri Linkov <juri@jurta.org>
6521
6522 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6523 (isearch-edit-string): Use length of `isearch-string' when
6524 `isearch-fail-pos' returns nil.
6525 (isearch-message): Remove duplicate code and call
6526 `isearch-fail-pos' with arg `t'.
6527
a0bf2bcd
CY
65282011-09-14 Chong Yidong <cyd@stupidchicken.com>
6529
17bb0a2d
CY
6530 * replace.el (occur-mode-goto-occurrence): Don't force using other
6531 window (Bug#9499).
6532
a0bf2bcd
CY
6533 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6534
f678e0b6
MR
65352011-09-14 Martin Rudalics <rudalics@gmx.at>
6536
6537 * window.el (display-buffer-window): Remove.
6538 (display-buffer-record-window): Use help-setup window parameter
6539 instead of variable display-buffer-window.
6540 (display-buffer-function, special-display-buffer-names)
6541 (special-display-function): Mention help-setup parameter instead
6542 of display-buffer-window in doc-string.
d3c30954
SM
6543 * help.el (help-window-setup): New argument help-window.
6544 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6545 Reword some messages.
6546 (with-help-window): Pass window used for displaying the buffer
6547 to help-window-setup. Don't set display-buffer-window.
6548
8e39b2e8
GM
65492011-09-13 Glenn Morris <rgm@gnu.org>
6550
6551 * emacs-lisp/debug.el (debugger-make-xrefs):
6552 Preserve point. (Bug#9462)
6553
85e9c04b
CY
65542011-09-13 Chong Yidong <cyd@stupidchicken.com>
6555
6556 * window.el (window-deletable-p): Use next-frame.
6557
1b36ed6a
MR
65582011-09-13 Martin Rudalics <rudalics@gmx.at>
6559
6560 * window.el (window-auto-delete): Remove.
6561 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6562 dedication and previous buffers.
1b36ed6a
MR
6563 (switch-to-prev-buffer): Don't delete window.
6564 (delete-windows-on): Delete a window's frame if and only if the
6565 window is dedicated.
6566 (replace-buffer-in-windows): Delete buffer's window or frame if
6567 and only if window is dedicated.
6568 (quit-window): Handle quit-restore as before last change.
4d61f28d 6569 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6570
ef8ef9fb
CY
65712011-09-13 Chong Yidong <cyd@stupidchicken.com>
6572
6573 * window.el (window-deletable-p): Never delete the last frame on a
6574 given terminal.
6575
b2cba41e
GM
65762011-09-13 Glenn Morris <rgm@gnu.org>
6577
6578 * help.el (describe-key-briefly): Copy previous standard-output change.
6579
51553db6 65802011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6581
6582 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6583
b7556719
GM
65842011-09-13 Glenn Morris <rgm@gnu.org>
6585
6586 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6587 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6588
64b51947
CY
65892011-09-12 Chong Yidong <cyd@stupidchicken.com>
6590
6591 * dired-aux.el (dired-mark-read-string): Don't return default
6592 value on empty input (Bug#9361).
6593 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6594 Omit initial minibuffer contents.
6595 (dired-do-chmod): Signal an error on empty input.
6596 (dired-mark-read-string): Don't return default on empty input.
6597
6598 * files.el (file-modes-symbolic-to-number): Doc fix.
6599
393a301e
SM
66002011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * international/mule-cmds.el (ucs-completions): Remove.
6603 (read-char-by-name): Use complete-with-action instead; add metadata.
6604
fa5660f9
CY
66052011-09-11 Chong Yidong <cyd@stupidchicken.com>
6606
6607 * window.el (display-buffer--action-function-custom-type)
6608 (display-buffer--action-custom-type): New vars.
6609 (display-buffer-alist, display-buffer-default-action)
6610 (display-buffer-overriding-action): Add defcustom types.
6611
4a592f66
CY
6612 * frame.el (delete-other-frames): Doc fix (Bug#276).
6613
73d56dbd
LMI
66142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6615
6616 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6617
37ac18a3
CY
66182011-09-11 Chong Yidong <cyd@stupidchicken.com>
6619
6620 Change modes that used same-window-* vars to use switch-to-buffer.
6621
6622 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6623 Use switch-to-buffer.
6624
6625 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6626 (customize-browse, custom-buffer-create-other-window):
6627 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6628
6629 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6630 (Info-prev, Info-up, Info-speedbar-goto-node)
6631 (info-display-manual): Use switch-to-buffer.
6632 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6633
6634 * mail/sendmail.el (mail): Use switch-to-buffer.
6635 (mail-recover): Use switch-to-buffer-other-window.
6636
6637 * cmuscheme.el (run-scheme, switch-to-scheme):
6638 * ielm.el (ielm):
6639 * shell.el (shell):
6640 * net/rlogin.el (rlogin):
6641 * net/telnet.el (telnet, rsh):
6642 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6643
10195bd6
AS
66442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6645
6646 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6647
b322f63a
LMI
66482011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6649
39d7fed6
LMI
6650 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6651 so don't mention it (bug#9301).
ba5a81f1 6652 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6653
ee0e9f11
LMI
6654 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6655 match `x', `w32' and `ns', like the manual says (bug#9029).
6656
0b1c89c1 6657 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6658 (process-kill-buffer-query-function): Mention the buffer name in
6659 the query.
0b1c89c1 6660
77549ea8
LMI
6661 * image-mode.el (image-next-line): The line parameter is mandatory
6662 (bug#9258).
6663
803ef892
LMI
6664 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6665 which can be useful (bug#9301).
6666
12980837
LMI
6667 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6668
91054f8f
LMI
6669 * subr.el (match-string): Mention that the current buffer should
6670 be the same as the search was done in (bug#9282).
6671
b322f63a
LMI
6672 * facemenu.el: Disable the remove-* commands if the mark isn't
6673 active (bug#9162).
6674
3199b96f
CY
66752011-09-10 Chong Yidong <cyd@stupidchicken.com>
6676
6677 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6678 of display-buffer.
6679 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6680
6681 * replace.el (occur-mode-goto-occurrence)
6682 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6683 and display-buffer.
6684
6685 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6686 display-buffer.
6687
6688 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6689 special-display and same-window variables.
6690 (mail-other-window): Use switch-to-buffer-other-window.
6691 (mail-other-frame): USe switch-to-buffer-other-frame.
6692
393a301e
SM
6693 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6694 Use display-buffer-other-frame.
3199b96f
CY
6695 (gdb-display-gdb-buffer): Use pop-to-buffer.
6696
6697 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6698
6699 * progmodes/python.el: Don't set same-window-buffer-names.
6700
6701 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6702
6703 * window.el (display-buffer-alist): Add *Python*.
6704
8319e0bf
CY
67052011-09-10 Chong Yidong <cyd@stupidchicken.com>
6706
6707 * window.el (display-buffer-alist): Add entry for buffers
6708 previously handled same-window-*.
6709 (display-buffer-alist, display-buffer-default-action)
6710 (display-buffer-overriding-action): Mark as risky.
6711 (display-buffer-alist): Document action function changes.
6712 (display-buffer--same-window-action)
6713 (display-buffer--other-frame-action): New variables.
6714 (switch-to-buffer, display-buffer-other-frame): Use them.
6715 (display-buffer): Rename reuse-frame entry to reusable-frames.
6716 (display-buffer-reuse-selected-window): Function deleted.
6717 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6718 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6719 (display-buffer-special): New function.
6720 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6721 display-buffer-reuse-or-pop-window. Split off special-display
6722 part into display-buffer-special.
6723 (display-buffer-use-some-window): Don't perform any special
6724 pop-up-frames handling.
6725 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6726 (display-buffer--maybe-same-window): Rename from
0d3ff375 6727 display-buffer-maybe-same-window.
8319e0bf 6728
919a69aa
CY
6729 * info.el: Don't set same-window-regexps.
6730 (info-setup): New function.
6731 (info-other-window, info): Call it.
6732
6733 * cus-edit.el: Don't set same-window-regexps.
6734 (customize-group): New argument.
6735 (customize-group-other-window): Use it.
6736 (customize-face, customize-face-other-window): Likewise.
6737 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6738
8319e0bf
CY
6739 * net/rlogin.el:
6740 * net/telnet.el:
6741 * progmodes/gud.el: Don't set same-window-regexps.
6742
6743 * cmuscheme.el:
6744 * ielm.el:
6745 * shell.el:
6746 * mail/sendmail.el:
6747 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6748
25173000
JL
67492011-09-10 Juri Linkov <juri@jurta.org>
6750
6751 * isearch.el (isearch-edit-string): Remove obsolete mention of
6752 `C-w' (`isearch-yank-word-or-char') from docstring.
6753 (isearch-query-replace): Fix typo in docstring (bug#9466).
6754
056e44ef
JL
67552011-09-10 Juri Linkov <juri@jurta.org>
6756
6757 * paren.el (show-paren-function): Don't show escaped parens.
6758 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6759
c3760c17
EZ
67602011-09-10 Eli Zaretskii <eliz@gnu.org>
6761
6762 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6763 (mm-default-file-encoding): Remove autoload forms, they are
6764 replaced with autoload cookies in mml.el and mm-encode.el.
6765 (mail-add-attachment): New command.
6766 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6767 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6768 the doc string.
6769 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6770
fece895e
RT
67712011-09-10 Reuben Thomas <rrt@sc3d.org>
6772
e69df516
SM
6773 * simple.el (count-words-region): Use buffer if there's no region
6774 (bug#9429).
fece895e 6775
5e68ce4a
JL
67762011-09-09 Juri Linkov <juri@jurta.org>
6777
6778 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6779 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6780 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6781
0a6b9622
AM
67822011-09-09 Alan Mackenzie <acm@muc.de>
6783
6784 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6785 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6786
14a29deb
EZ
67872011-09-09 Eli Zaretskii <eliz@gnu.org>
6788
6789 Fix for Savannah bug#9392.
6790 * simple.el (mail-encode-mml): New defvar.
6791
6792 * mail/rmail.el (mail-encode-mml): Add a defvar.
6793 (rmail-enable-mime-composing): Default to t.
6794 (rmail-forward): Use MIME method of forwarding only if both
6795 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6796 Set mail-encode-mml non-nil if the MIME method was used.
6797
6798 * mail/sendmail.el (mml-to-mime): Add autoload form.
6799 (mail-encode-mml): Add a defvar.
6800 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6801 to nil.
6802 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6803 message through mml-to-mime, and reset mail-encode-mml to nil.
6804
28c45130
GM
68052011-09-09 Glenn Morris <rgm@gnu.org>
6806
6807 * woman.el (woman-if-body): When processing an .el block,
6808 do not delete the next .el block as well. (Bug#9447)
69f4b618 6809 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6810
9b1c252e
MR
68112011-09-08 Martin Rudalics <rudalics@gmx.at>
6812
6813 * window.el (window-deletable-p): Make sure window is live before
6814 invoking window-prev-buffers.
6815
567457e3
LL
68162011-09-08 Leo Liu <sdl.web@gmail.com>
6817
6818 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6819
97f05794
JL
68202011-09-08 Juri Linkov <juri@jurta.org>
6821
6822 * progmodes/compile.el (compilation-environment): Make it
6823 a defcustom (bug#8340).
6824
8b0874b5
MR
68252011-09-08 Martin Rudalics <rudalics@gmx.at>
6826
6827 * window.el (frame-auto-delete): Rename to window-auto-delete.
6828 Make it control auto-deletion of windows and/or frames.
6829 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6830 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6831 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6832 Rewrite handling of case when window/frame can be deleted.
6833 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6834 argument t. (Bug#9456)
8b0874b5 6835
4feb6e73
CY
68362011-09-07 Chong Yidong <cyd@stupidchicken.com>
6837
6838 * help-mode.el (help-mode): Restore autoload.
6839
91ab9c13
JL
68402011-09-07 Juri Linkov <juri@jurta.org>
6841
6842 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6843 `compilation-environment'. Set buffer-local
6844 `compilation-environment' to `thisenv' later after (funcall mode).
6845 (Bug#8340)
6846
6847 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6848 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6849 instead of replacing its value. (Bug#8340)
6850
0527e251
JL
68512011-09-07 Juri Linkov <juri@jurta.org>
6852
6853 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6854 based on text properties put by `grep-filter' instead of matching
6855 escape sequences.
6856 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6857 to the value of `grep-error-screen-columns' (bug#9438).
6858
249f792c
JL
68592011-09-07 Juri Linkov <juri@jurta.org>
6860
6861 * simple.el (next-error-highlight, next-error-highlight-no-select):
6862 Doc fix (bug#9432).
6863
ff7271b9
OT
68642011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6865
6866 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6867 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6868
183fc730
LL
68692011-09-07 Leo Liu <sdl.web@gmail.com>
6870
6871 * net/rcirc.el (rcirc-mode): Conditionally initialize
6872 rcirc-input-ring.
6873
77694924
SM
68742011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * emacs-lisp/find-func.el (find-function-C-source): Only set
6877 find-function-C-source-directory after checking that we found a source
6878 file there (bug#9440).
6879
d809b8eb
AM
68802011-09-06 Alan Mackenzie <acm@muc.de>
6881
6882 * isearch.el (isearch-other-meta-char): Wherever a key list is
6883 unread, "unread" the prefix arg, too. This fixes bug #8901.
6884
453de99f
OG
68852011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6886
6887 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6888
90439906
JL
68892011-09-05 Juri Linkov <juri@jurta.org>
6890
6891 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6892
f62bd846
JL
68932011-09-05 Juri Linkov <juri@jurta.org>
6894
6895 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6896 keeping point where processing of grep matches begins, and
6897 continue to delete remaining escape sequences from the same point.
6898 (grep-filter): Make leading zero optional in "0?1;31m" because
6899 git-grep emits "\033[1;31m" escape sequences unlike expected
6900 "\033[01;31m" as GNU Grep does (bug#9408).
6901 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6902
045820ec
JL
69032011-09-05 Juri Linkov <juri@jurta.org>
6904
6905 * subr.el (y-or-n-p): Capitalize "yes".
6906
f5e29b9b
MA
69072011-09-04 Michael Albinus <michael.albinus@gmx.de>
6908
6909 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6910 `tramp-cache-unload-hook' where appropriate.
6911 (tramp-methods): Rename `tramp-remote-sh' to
6912 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6913 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6914
6915 * net/tramp-sh.el (top): Don't require 'shell.
6916 (tramp-methods): Add `tramp-remote-shell' and
6917 `tramp-remote-shell-args' entries.
6918 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6919 (tramp-sh-handle-shell-command): Remove.
6920 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6921 Use `tramp-remote-shell'.
6922
2784c434
CY
69232011-09-03 Chong Yidong <cyd@stupidchicken.com>
6924
393a301e 6925 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6926 (sendmail-query-once): Save directly to send-mail-function.
6927 Update message-send-mail-function too.
6928
6929 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6930
464cdf56
CS
69312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6932
6933 * progmodes/python.el (python-mode-map): Use correct function to
6934 start python interpreter from menu-bar (as reported by Geert
6935 Kloosterman).
6936 (inferior-python-mode-map): Fix typo.
393a301e 6937 (python-shell-map): Remove.
464cdf56 6938
d37e5c87
DD
69392011-09-03 Deniz Dogan <deniz@dogan.se>
6940
6941 * net/rcirc.el (rcirc-print): Simplify code for
6942 rcirc-scroll-show-maximum-output. There is no need to walk
6943 through all windows to find the right one.
6944
f3ada0ee
CS
69452011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6946
6947 * help.el (help-return-method): Doc fix.
6948
1f3c99ca
MR
69492011-09-03 Martin Rudalics <rudalics@gmx.at>
6950
6951 * window.el (window-deletable-p): Don't return a non-nil value
6952 when there's a buffer that was shown in the window before.
6953 (Bug#9419)
393a301e
SM
6954 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6955 Set window's previous buffers to nil.
1f3c99ca 6956
a3cf097f
EZ
69572011-09-03 Eli Zaretskii <eliz@gnu.org>
6958
6959 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6960 newline before and after the tag line, so it doesn't interfere
6961 with determining the paragraph direction of bidirectional text.
6962
3d03de90
LL
69632011-09-03 Leo Liu <sdl.web@gmail.com>
6964
6965 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6966
c3313451
CY
69672011-09-02 Chong Yidong <cyd@stupidchicken.com>
6968
393a301e 6969 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6970 (pop-to-buffer): Change interactive spec. Pass second argument
6971 directly to display-buffer.
6972 (display-buffer): Fix interactive spec. Use functionp to
6973 distinguish between a function and a list of functions.
6974
6975 * abbrev.el (edit-abbrevs):
6976 * arc-mode.el (archive-extract):
6977 * autoinsert.el (auto-insert):
6978 * bookmark.el (bookmark-bmenu-list):
6979 * files.el (find-file):
6980 * view.el (view-buffer):
6981 * progmodes/compile.el (compilation-goto-locus):
6982 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6983
89894cd8
CY
69842011-09-02 Chong Yidong <cyd@stupidchicken.com>
6985
6986 * window.el (display-buffer-alist): Doc fix.
6987 (display-buffer): Add docstring. Don't treat
6988 display-buffer-default specially.
6989 (display-buffer-reuse-selected-window)
6990 (display-buffer-same-window, display-buffer-maybe-same-window)
6991 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6992 (display-buffer-pop-up-window)
6993 (display-buffer-reuse-or-pop-window)
6994 (display-buffer-use-some-window): New functions.
6995 (display-buffer-default-action): Use them.
393a301e 6996 (display-buffer-default): Delete.
89894cd8
CY
6997 (pop-to-buffer-1): Fix choice of actions.
6998
ae0bc9fb
SM
69992011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 * minibuffer.el (completion--insert-strings): Don't get confused by
7002 completion entries that end with an LF char.
7003
e9d90883
EZ
70042011-09-01 Eli Zaretskii <eliz@gnu.org>
7005
7006 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7007
437014c8
CY
70082011-09-01 Chong Yidong <cyd@stupidchicken.com>
7009
7010 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7011 (display-buffer-same-window, display-buffer-other-window):
7012 New functions.
437014c8
CY
7013 (pop-to-buffer-1): New function. Use the above.
7014 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7015 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7016
7017 * view.el (view-buffer-other-window, view-buffer-other-frame):
7018 Just use pop-to-buffer.
7019
a5e063d5
TV
70202011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7021
7022 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7023
793d32bb
WH
70242011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7025
7026 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7027
d65e4c15
RS
70282011-08-31 Richard Stallman <rms@gnu.org>
7029
7030 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7031 of the separation of rmail-view-buffer from rmail-buffer.
7032 If you say no to "replace original", the decrypt is in the
7033 view buffer. If you say yes, the decrypt goes into the
7034 rmail buffer also.
7035
f818cd2a
MR
70362011-08-31 Martin Rudalics <rudalics@gmx.at>
7037
7038 * window.el (display-buffer-window): Rewrite doc-string.
7039 (display-buffer-record-window): New function.
7040 (display-buffer-macro-specifiers)
7041 (display-buffer-even-window-sizes, display-buffer-set-height)
7042 (display-buffer-set-width, display-buffer-in-window)
7043 (display-buffer-reuse-window, display-buffer-split-specifiers)
7044 (display-buffer-side-specifiers, display-buffer-split-window-1)
7045 (display-buffer-split-window, display-buffer-split-atom-window)
7046 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7047 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7048 (display-buffer-other-window-means-other-frame)
7049 (display-buffer-normalize-special)
7050 (display-buffer-normalize-default)
7051 (display-buffer-normalize-argument)
7052 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7053 (display-buffer-normalize-specifiers, display-buffer-frame)
7054 (display-buffer-same-window, display-buffer-same-frame)
7055 (display-buffer-other-window)
7056 (display-buffer-same-frame-other-window)
7057 (display-buffer-other-frame, pop-to-buffer-same-window)
7058 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7059 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7060 (switch-to-buffer-same-frame)
7061 (switch-to-buffer-other-window-same-frame)
7062 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7063 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7064 (display-buffer-alist-set): Remove.
7065 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7066 (special-display-regexps, special-display-function):
7067 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7068 parameter.
7069 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7070 (special-display-frame-alist, special-display-popup-frame)
7071 (same-window-buffer-names, same-window-regexps, same-window-p)
7072 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7073 (split-window-preferred-function, split-height-threshold)
7074 (split-width-threshold, window-splittable-p)
7075 (split-window-sensibly, window--try-to-split-window)
7076 (window--frame-usable-p, even-window-heights)
7077 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7078 (window--display-buffer-2, display-buffer-other-frame):
7079 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7080 (display-buffer-default, display-buffer-assq-regexp): New functions.
7081 (display-buffer-alist): Rewrite doc-string.
7082 (display-buffer-default-action)
7083 (display-buffer-overriding-action): New variables.
7084 (display-buffer, switch-to-buffer): Rewrite.
7085 (pop-to-buffer): Restore Emacs 23 behavior but use
7086 window-normalize-buffer-to-display.
7087 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7088 Restore Emacs 23 behavior but use
7089 window-normalize-buffer-to-switch-to.
7090 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7091 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7092 Rewrite using Emacs 23 options.
f818cd2a 7093
5bc3b51d
MA
70942011-08-31 Michael Albinus <michael.albinus@gmx.de>
7095
7096 * net/tramp.el (tramp-root-regexp): Remove.
7097 (tramp-completion-file-name-regexp-unified)
7098 (tramp-completion-file-name-regexp-separate)
7099 (tramp-completion-file-name-regexp-url): Don't use leading volume
7100 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7101 (tramp-drop-volume-letter): Simplify definition.
7102 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7103
b1a4f8e1
SM
71042011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7107 (bug#9356).
7108
5664fa7b
RT
71092011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7110
b1a4f8e1 7111 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7112
9a45d6c3
JL
71132011-08-29 Juri Linkov <juri@jurta.org>
7114
7115 * isearch.el (isearch-done): Don't display message "Mark saved"
7116 when arg `edit' is non-nil to prevent its flicker in the echo area.
7117
fb87e0fb
CY
71182011-08-28 Chong Yidong <cyd@stupidchicken.com>
7119
7120 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7121 obsolete packages for deletion.
7122
09ac1c2a
CS
71232011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7124
7125 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7126 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7127 view-mode from help-mode.
7128 (help-xref-override-view-map): Remove.
7129 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7130 view-mode is not used anymore.
7131
7a1ff57f
CY
71322011-08-28 Chong Yidong <cyd@stupidchicken.com>
7133
7134 * server.el (server-port): Doc fix.
7135
b9696605
CY
7136 * cus-theme.el (custom-theme-choose-mode): Inherit from
7137 special-mode (Bug#9124).
7138 (custom-theme-choose-mode-map): Add special-mode to parent.
7139
ef8cdf8c
AM
71402011-08-28 Alan Mackenzie <acm@muc.de>
7141
7142 * progmodes/cc-fonts.el
7143 (c-make-font-lock-BO-decl-search-function): New function.
7144 (c-basic-matchers-after - "Fontify the clauses after various
7145 keywords"): Extract the three keyword lists for the 3 erroneous
7146 constructs from the list of four, and use the new function above
7147 in place of an old one.
7148
27de4e20
DD
71492011-08-28 Deniz Dogan <deniz@dogan.se>
7150
7151 * net/rcirc.el (rcirc-insert-prev-input)
7152 (rcirc-insert-next-input): Remove unused argument.
7153
356a3681
SM
71542011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7155
7156 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7157
3fc9b218
AM
71582011-08-27 Alan Mackenzie <acm@muc.de>
7159
7160 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7161 handle function pointer parameters properly.
7162
538a061c
MR
71632011-08-27 Martin Rudalics <rudalics@gmx.at>
7164
7165 * window.el (display-buffer-reuse-window): Fix case where
7166 selected window was reused with non-nil OTHER-WINDOW argument.
7167 (Bug#9381)
7168
35b1c40c
DD
71692011-08-27 Deniz Dogan <deniz@dogan.se>
7170
7171 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7172 oftc's NickServ messages.
7173
2f6a3e79
GM
71742011-08-27 Glenn Morris <rgm@gnu.org>
7175
7176 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7177
7254299e
CY
71782011-08-26 Chong Yidong <cyd@stupidchicken.com>
7179
7180 * emacs-lisp/package.el (package-install): Call package-initialize
7181 if called interactively.
7182
f8ccf167
LL
71832011-08-26 Leo Liu <sdl.web@gmail.com>
7184
7185 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7186
3e8cd5ce
JL
71872011-08-25 Juri Linkov <juri@jurta.org>
7188
7189 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7190 `search-whitespace-regexp' (bug#9364).
7191
93eb7113
JL
71922011-08-25 Juri Linkov <juri@jurta.org>
7193
7194 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7195 `regexp-search-ring' to their global values to protect from
7196 updating by `read-from-minibuffer' (bug#9185).
7197
f65d1611
JL
71982011-08-25 Juri Linkov <juri@jurta.org>
7199
7200 * textmodes/ispell.el (ispell-command-loop): Add newline
7201 at the end of the "Use option `i'..." line.
7202
f1cf7a31
JL
72032011-08-25 Juri Linkov <juri@jurta.org>
7204
7205 * battery.el (display-battery-mode): If `battery-status-function'
7206 or `battery-mode-line-format' is nil, display the message and set
7207 `display-battery-mode' to nil (bug#9363).
7208
0c95fcf7
EZ
72092011-08-25 Eli Zaretskii <eliz@gnu.org>
7210
7211 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7212 bidi-string-mark-left-to-right; they are unnecessary now.
7213
a2ebe600
DD
72142011-08-25 Deniz Dogan <deniz@dogan.se>
7215
7216 * net/quickurl.el: Documentation typo fixes.
7217
e4ed06f1
CY
72182011-08-25 Chong Yidong <cyd@stupidchicken.com>
7219
7220 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7221
e5f1c99e
GM
72222011-08-25 Glenn Morris <rgm@gnu.org>
7223
b2948976
GM
7224 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7225
e5f1c99e
GM
7226 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7227 (smtpmail-via-smtp): Handle nil response from smtp.
7228
f22f4808
JL
72292011-08-24 Juri Linkov <juri@jurta.org>
7230
7231 * proced.el (proced-marked): Inherit from `error' instead of
7232 `font-lock-warning-face'.
7233
7234 * ibuffer.el (ibuffer-marked-face): Change default face from
7235 `font-lock-warning-face' to `warning'.
7236 (ibuffer-deletion-face): Change default face from
7237 `font-lock-type-face' to `error'.
7238
7239 * battery.el (battery-update): Use the face `error' instead of
7240 `font-lock-warning-face' (bug#6117).
7241
6a93965e
JL
72422011-08-24 Juri Linkov <juri@jurta.org>
7243
7244 * faces.el (success): Change face color from "Green3" to
7245 "ForestGreen" on light background (bug#9353).
7246
1ed43b09
CY
72472011-08-24 Chong Yidong <cyd@stupidchicken.com>
7248
5664fa7b
RT
7249 * window.el (quit-window): Rename from quit-restore-window.
7250 Use same arglist as old quit-window.
1ed43b09
CY
7251 (frame-auto-delete): Doc fix.
7252
7253 * view.el (view-mode-exit): Use quit-window.
7254
11dcdbb2
JL
72552011-08-24 Juri Linkov <juri@jurta.org>
7256
7257 * isearch.el (isearch-ring-adjust1): Start visiting previous
7258 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7259 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7260 for empty search string (when the last search string is reused
7261 automatically) to adjust the isearch ring to the last element and
7262 prepare the correct index for further M-p commands (bug#9185).
7263
de62b4df
KH
72642011-08-24 Kenichi Handa <handa@m17n.org>
7265
7266 * international/ucs-normalize.el: If decomposition property of
7267 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7268 nil.
7269 (nfd, nfkd): Likewise.
7270
963b492b
SM
72712011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7272
7273 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7274 from process filters aren't reliably transmitted to the surrounding
7275 accept-process-output.
7276 (mpc-proc-check): New function.
7277 (mpc-proc-sync): Use it (bug#8293)
7278
93b6b5e1
SM
72792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7282 Add compatibility functions (bug#9313).
7283
bca633fb
EZ
72842011-08-23 Eli Zaretskii <eliz@gnu.org>
7285
b177498a
EZ
7286 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7287
6df6ae42 7288 * international/uni-bidi.el: Regenerate.
bca633fb 7289
0902a04e
KH
72902011-08-23 Kenichi Handa <handa@m17n.org>
7291
7292 * international/charprop.el:
7293 * international/uni-bidi.el:
7294 * international/uni-category.el:
7295 * international/uni-combining.el:
7296 * international/uni-comment.el:
7297 * international/uni-decimal.el:
7298 * international/uni-decomposition.el:
7299 * international/uni-digit.el:
7300 * international/uni-lowercase.el:
7301 * international/uni-mirrored.el:
7302 * international/uni-name.el:
7303 * international/uni-numeric.el:
7304 * international/uni-old-name.el:
7305 * international/uni-titlecase.el:
7306 * international/uni-uppercase.el: Regenerate.
7307
3bbf23bc
MR
73082011-08-23 Martin Rudalics <rudalics@gmx.at>
7309
7310 * help.el (help-window-setup): Fix message displayed when other
7311 window is reused. (Bug#9341)
7312
b3fd59bd
SM
73132011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7314
1802e444
SM
7315 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7316 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7317
b3fd59bd
SM
7318 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7319 Mark obsolete.
7320 * shell.el (shell-parse-pcomplete-arguments): New function.
7321 (shell-completion-vars): Use it instead (bug#9160).
7322
4eb61348
SM
73232011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7324
867cab74
SM
7325 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7326 strings and comments (bug#9333).
7327
4eb61348
SM
7328 * emacs-lisp/debug.el (debug-arglist): New function.
7329 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7330 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7331
262a1439
JL
73322011-08-22 Juri Linkov <juri@jurta.org>
7333
56ee679c
JL
7334 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7335 Revert regexp that highlights output switches to its old
7336 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7337
262a1439
JL
7338 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7339 to check for empty output (bug#9226).
7340
f13f86fb
CY
73412011-08-22 Chong Yidong <cyd@stupidchicken.com>
7342
7343 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7344 symbol-constituent as the default, as that stops font-lock from
7345 working properly (Bug#8843).
7346
c65c9622
LMI
73472011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7348
7349 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7350 `coding-system-for-*' around the process open call to avoid
7351 auth-source side effects.
e7f2c178 7352 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7353 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7354 probe hangs.
c65c9622 7355
23a8a5ab
CY
73562011-08-21 Chong Yidong <cyd@stupidchicken.com>
7357
ff98b2dd
CY
7358 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7359
23a8a5ab
CY
7360 * emacs-lisp/find-func.el (find-function-noselect): New arg
7361 lisp-only.
7362
7363 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7364 signal an error for built-in functions (Bug#6664).
7365
f5e3c598
LMI
73662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7367
7368 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7369 (smtpmail-try-auth-methods): Use it.
7370
a3f2468a
CY
73712011-08-21 Chong Yidong <cyd@stupidchicken.com>
7372
2c34e8da
CY
7373 * font-lock.el (font-lock-fontify-region)
7374 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7375 (font-lock-default-unfontify-buffer)
7376 (font-lock-default-fontify-region)
7377 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7378
b3fd59bd
SM
7379 * progmodes/compile.el (compilation-error-properties):
7380 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7381 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7382 `ant' regexp.
ee31aabc 7383
a3f2468a
CY
7384 * net/browse-url.el (browse-url-firefox): Don't call
7385 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7386
8e999f70
GM
73872011-08-20 Glenn Morris <rgm@gnu.org>
7388
c21a496a
GM
7389 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7390
59ee0542
GM
7391 * tutorial.el (tutorial--default-keys): Update some default bindings.
7392
8e999f70
GM
7393 * files.el (hack-local-variables): Fully ignore case for "mode:".
7394
e3715033
AM
73952011-08-20 Alan Mackenzie <acm@muc.de>
7396
7397 Resolve invalid use of a regexp in regexp-opt.
7398
4d61f28d
JB
7399 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7400 detection for a java annotation.
e3715033 7401
4d61f28d 7402 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7403 detection for a java annotation.
7404
4d61f28d
JB
7405 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7406 handling for java.
e3715033
AM
7407 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7408
04ed2e9c
CY
74092011-08-20 Chong Yidong <cyd@stupidchicken.com>
7410
7411 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7412 (Bug#9274).
7413
826cee64
AM
74142011-08-20 Alan Mackenzie <acm@muc.de>
7415
58179cce 7416 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7417 such a construct. Mainly for when jit-lock etc. starts a chunk
7418 here.
7419
58179cce 7420 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7421 variable.
58179cce 7422 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7423 c-make-font-lock-search-function.
7424 (c-make-font-lock-search-function): Use the above function.
7425 (c-make-font-lock-context-search-function): New function.
7426 (c-cpp-matchers): Enhance the preprocessor expression case with
7427 the above function
7428 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7429 which takes an expression.
7430
7431 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7432
13009bd8
MR
74332011-08-20 Martin Rudalics <rudalics@gmx.at>
7434
7435 * window.el (display-buffer-reuse-window)
7436 (display-buffer-pop-up-window): Don't reuse or split a side
7437 window.
7438
9234ff7f
GM
74392011-08-19 Glenn Morris <rgm@gnu.org>
7440
7441 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7442 Downcase "Mode:". (Bug#9331)
9234ff7f 7443
f635daa1
CY
74442011-08-18 Chong Yidong <cyd@stupidchicken.com>
7445
7446 * international/characters.el: Add L and R categories.
7447
7448 * subr.el (bidi-string-mark-left-to-right): Rename from
7449 string-mark-left-to-right. Use category search.
7450
7451 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7452
bc987f8b
JL
74532011-08-18 Juri Linkov <juri@jurta.org>
7454
7455 * faces.el (error, warning, success): New faces with definitions
7456 copied from old default values of `font-lock-warning-face',
7457 `compilation-warning', `compilation-info' (bug#6117).
7458
7459 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7460
7461 * progmodes/compile.el (compilation-error): Inherit from `error'.
7462 (compilation-warning): Inherit from `warning'.
7463 (compilation-info): Inherit from `success'.
7464
7465 * dired.el (dired-marked): Inherit from `warning'.
7466 (dired-flagged): Inherit from `error'.
7467
57173b96
LMI
74682011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7469
3e79eb87
LMI
7470 * mail/smtpmail.el (auth-source): Require to avoid problems with
7471 binding variables (bug#9298). Also clean up some unused
7472 autoloads.
7473
b3fd59bd
SM
7474 * net/network-stream.el (network-stream-open-starttls):
7475 Support using starttls.el without using gnutls-cli.
57173b96 7476
02b404de
JL
74772011-08-17 Juri Linkov <juri@jurta.org>
7478
7479 * progmodes/grep.el (rgrep): Handle the case when
7480 `grep-find-command' is a cons cell (bug#9278).
7481
8c9177f2
MR
74822011-08-17 Martin Rudalics <rudalics@gmx.at>
7483
7484 * window.el (display-buffer-pop-up-frame): Run frame creation
7485 function with BUFFER current (as special-display-popup-frame
7486 does). Reported by Drew Adams.
7487
3644a0ab
DU
74882011-08-17 Daiki Ueno <ueno@unixuser.org>
7489
7490 * epa-mail.el: Simplify GnuPG group expansion using
7491 epg-expand-group.
7492 (epa-mail-group-alist, epa-mail-group-modtime)
7493 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7494 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7495 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7496 Remove.
7497
5e617bc2 74982011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7499
7500 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7501
9c4aeabf
AM
75022011-08-16 Alan Mackenzie <acm@muc.de>
7503
7504 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7505 Correct, to avoid the inside of macros.
7506
3a99bf64
RS
75072011-08-16 Richard Stallman <rms@gnu.org>
7508
04963aa8
RS
7509 * epa-mail.el: Handle GnuPG group definitions.
7510 (epa-mail-group-alist, epa-mail-group-modtime)
7511 (epa-mail-gnupg-conf-file): New variables.
7512 (epa-mail-parse-groups, epa-mail-sync-groups)
7513 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7514 (epa-mail-expand-recipients): New functions.
7515 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7516
177549d0
RS
7517 * mail/rmail.el (rmail-epa-decrypt): New command.
7518
fe38beef
RS
7519 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7520 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7521 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7522 (epa-decrypt-armor-in-region): Make error message clearer.
7523
934eacb9
SM
75242011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7525
7526 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7527 and "a2b" to "ab" for `prefix'.
7528
d024fb4e
CY
75292011-08-14 Chong Yidong <cyd@stupidchicken.com>
7530
7531 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7532 filter groups.
de148fee
CY
7533 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7534 Fourquet (Bug#8804).
d024fb4e 7535
62f1ca49
JB
75362011-08-12 Juanma Barranquero <lekktu@gmail.com>
7537
7538 * startup.el (argi): Declare as global variable (bug#9275).
7539
9ccaaa4b
CY
75402011-08-12 Chong Yidong <cyd@stupidchicken.com>
7541
7542 * subr.el (string-mark-left-to-right): Search the entire string
7543 for RTL script, not just the terminating character. Doc fix.
7544
a3dae87a
SM
75452011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7546
6cd18349
SM
7547 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7548 New function.
7549 (js--regexp-literal, js-syntax-propertize-function): Remove.
7550 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7551 (js-mode-map): Don't rebind electric keys.
7552 (js-insert-and-indent): Remove.
7553 (js-mode): Setup electric-layout and electric-indent instead.
7554
a3dae87a
SM
7555 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7556
9d5cb631
DU
75572011-08-12 Daiki Ueno <ueno@unixuser.org>
7558
7559 * epa.el (epa-progress-callback-function): Fix the logic of
7560 displaying progress.
7561 * epa-file.el (epa-file-insert-file-contents): Make progress
7562 display more user-friendly.
7563 (epa-file-write-region): Ditto.
7564
3e26a4a2
CY
75652011-08-10 Chong Yidong <cyd@stupidchicken.com>
7566
7567 * subr.el (string-mark-left-to-right): New function.
7568
7569 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7570 Use string-mark-left-to-right.
7571 (list-buffers-noselect): Caller changed.
7572
a3dae87a
SM
7573 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7574 Use string-mark-left-to-right.
3e26a4a2
CY
7575 (tabulated-list-print): Recenter after moving point.
7576
ac8cf6e6
JL
75772011-08-10 Juri Linkov <juri@jurta.org>
7578
7579 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7580 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7581 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7582
8d96c9a4
CY
75832011-08-09 Chong Yidong <cyd@stupidchicken.com>
7584
7585 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7586 (Bug#7554).
7587
7be1c708 75882011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7589
7590 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7591 character. (Bug#6594)
7592
37e11a63
CY
75932011-08-08 Chong Yidong <cyd@stupidchicken.com>
7594
839dde57
CY
7595 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7596 (image-dired--with-db-file): New macro.
7597 (image-dired-write-tags, image-dired-remove-tag)
7598 (image-dired-create-gallery-lists, image-dired-write-comments)
7599 (image-dired-get-comment, image-dired-mark-tagged-files)
7600 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7601 (image-dired-gallery-generate): Use insert-file-contents.
7602
37e11a63
CY
7603 * time.el (display-time-world-list, display-time-world-display):
7604 * time-stamp.el (time-stamp-string):
7605 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7606 set-time-zone-rule (Bug#7337).
7607
0b4946c4
DU
76082011-08-08 Daiki Ueno <ueno@unixuser.org>
7609
7610 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7611 (epg-error-to-string, epg-errors-to-string): New function.
7612 (epg-wait-for-completion): Reverse errors list.
7613 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7614 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7615 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7616 (epg-sign-keys, epg-generate-key-from-file)
7617 (epg-generate-key-from-string): Format errors by using
7618 epg-errors-to-string (bug#9255).
7619 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7620
75bfc667
JL
76212011-08-07 Juri Linkov <juri@jurta.org>
7622
7623 * faces.el (list-faces-display): Remove extra angle bracket
7624 from `help-mode-map'.
7625
7626 * info.el (Info-history-toc-nodes): Doc fix.
7627
7628 * longlines.el (longlines-mode): Doc fix.
7629
673e08bb
SM
76302011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7631
4640dd88
SM
7632 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7633 of statements and in a few more cases (bug#9183).
7634
673e08bb
SM
7635 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7636 New functions.
7637 (cl-transform-lambda): Use them (bug#9239).
7638
89b3f019
MR
76392011-08-05 Martin Rudalics <rudalics@gmx.at>
7640
7641 * window.el (display-buffer-same-window)
7642 (display-buffer-same-frame, display-buffer-other-window)
7643 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7644 (pop-to-buffer-other-window)
7645 (pop-to-buffer-same-frame-other-window)
7646 (pop-to-buffer-other-frame): Make them defuns.
7647 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7648
640c8776
SM
76492011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * subr.el (make-composed-keymap): Move from C. Change calling
7652 convention, and improve docstring to bring attention to a subtle point.
7653 * minibuffer.el (completing-read-default): Adjust accordingly.
7654
63648a95
MA
76552011-08-03 Michael Albinus <michael.albinus@gmx.de>
7656
7657 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7658 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7659
7660 * net/trampver.el: Update release number.
7661
b796c9b7
SM
76622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7665 "in" (bug#9190).
7666
2239d7d5
LMI
76672011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7668
e07dd7c3
LMI
7669 * mail/sendmail.el (sendmail-query-once): Restore the current
7670 buffer after querying (bug#9074).
7671
0e6a2bd7
LMI
7672 * dired.el (dired-flagged): Use different faces for marked and
7673 flagged files (bug#6117).
7674
ce887515
LMI
7675 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7676 (bug#4433).
7677
92f2affc
LMI
7678 * ido.el (ido-mode): Switch off the message if called
7679 non-interactively.
7680
57d5aff0
LMI
7681 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7682 before 587, since it appears that that's more likely to work for
7683 more people.
7684
98cd6c18 7685 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7686 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7687 exist.
7688
b96dec83
LMI
7689 * info.el: Remove the `Info-beginning-of-buffer' function
7690 (bug#8325).
7691
b796c9b7
SM
7692 * net/network-stream.el (network-stream-open-starttls):
7693 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7694
d90e2ea0
MR
76952011-08-01 Martin Rudalics <rudalics@gmx.at>
7696
7697 * window.el (display-buffer-in-window): Don't set dedicated status
7698 of window here (Bug#9215).
7699 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7700 (display-buffer-pop-up-side-window)
b796c9b7 7701 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7702
cca09170
SM
77032011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7704
7705 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7706 before binding generated-autoload-file.
7707
027b979c
DD
77082011-08-01 Deniz Dogan <deniz@dogan.se>
7709
7710 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7711
3c7ee4f3
MA
77122011-07-30 Michael Albinus <michael.albinus@gmx.de>
7713
7714 Sync with Tramp 2.2.2.
7715
7716 * net/trampver.el: Update release number.
7717
2cc8e51a
JL
77182011-07-30 Juri Linkov <juri@jurta.org>
7719
7720 * dired-aux.el (dired-touch-initial): Remove function.
7721 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7722 current time, and `default' to the last modification time of the
7723 current marked file (bug#6887).
7724
a514d856
JM
77252011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7726
7727 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7728 numeric argument to read-number (bug#9163).
a514d856 7729
8a7eddd7
MA
77302011-07-27 Michael Albinus <michael.albinus@gmx.de>
7731
7732 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7733 connection process, it could be nil.
7734
1ddd96f5
LL
77352011-07-27 Leo Liu <sdl.web@gmail.com>
7736
7737 Simplify url handling in rcirc-mode.
7738
7739 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7740 (rcirc-browse-url-at-mouse): Remove.
7741 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7742
b248a85d
AM
77432011-07-26 Alan Mackenzie <acm@muc.de>
7744
7745 Fontify bitfield declarations properly.
7746
7747 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7748 (c-symbol-chars): Now exported as a lang variable.
7749 (c-not-primitive-type-keywords): New lang variable.
7750
7751 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7752 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7753 parsed as a bitfield declaration.
b248a85d 7754
b796c9b7
SM
7755 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7756 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7757 (c-punctuation-in): New function.
7758 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7759 declarations properly.
7760
68575ab0
UJ
77612011-07-26 Ulf Jasper <ulf.jasper@web.de>
7762
7763 * calendar/icalendar.el (icalendar--all-events): Take care of
7764 multiple vcalendars in a single file.
b796c9b7 7765 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7766
0f0a88b9
DD
77672011-07-25 Deniz Dogan <deniz@dogan.se>
7768
7769 * image.el (insert-image): Clarifying docstring.
7770
0b3f36df
MA
77712011-07-24 Michael Albinus <michael.albinus@gmx.de>
7772
7773 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7774 `tramp-send-command-and-check' if there is no error.
7775 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7776
a9901f61
AM
77772011-07-22 Alan Mackenzie <acm@muc.de>
7778
7779 Prevent cc-langs.elc being loaded at run time.
7780
7781 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7782 cc-langs.
7783
4d61f28d 7784 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7785 "(require 'cc-langs)". Quote a form so it will evaluate at
7786 (cc-mode's) compilation time.
7787
11d074b2
MA
77882011-07-22 Michael Albinus <michael.albinus@gmx.de>
7789
7790 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7791 loading. (Bug#9114)
7792
938b94c8
MR
77932011-07-21 Martin Rudalics <rudalics@gmx.at>
7794
7795 * window.el (display-buffer-pop-up-window)
7796 (display-buffer-pop-up-side-window)
7797 (display-buffer-in-side-window): Call display-buffer-set-height
7798 and display-buffer-set-width after setting the new window's
b796c9b7 7799 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7800
bfa4f190
SS
78012011-07-20 Sam Steingold <sds@gnu.org>
7802
7803 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7804 (etags-tags-included-tables): Call `convert-standard-filename' on
7805 the file names contained in TAGS so that windows Emacs can handle
7806 TAGS files created by cygwin ctags.
7807
8ca42262
LMI
78082011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7809
7810 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7811 which apparently didn't work.
7812
5db2afd2 78132011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7814
5db2afd2
RW
7815 * proced.el (proced-send-signal): For *Marked Processes* buffer
7816 put point at beginning of buffer.
7817
92e15d10
SB
78182011-07-19 Stephen Berman <stephen.berman@gmx.net>
7819
7820 * proced.el (proced-format): Make header lines align with the text
7821 (bug#1779).
7822
1bfd59e5
LMI
78232011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7824
7825 * view.el (view-buffer): Allow running in `special' modes if we're
7826 visiting a file (bug#8615).
7827
f5aae37c
MR
78282011-07-19 Martin Rudalics <rudalics@gmx.at>
7829
7830 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7831 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7832 New functions.
f5aae37c
MR
7833 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7834 more accurately.
7835
bf2c1571
AM
78362011-07-18 Alan Mackenzie <acm@muc.de>
7837
7838 Fontify declarators properly when, e.g., a jit-lock chunk begins
7839 inside a declaration.
7840
7841 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7842
b796c9b7
SM
7843 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7844 New function.
bf2c1571
AM
7845 (c-complex-decl-matchers): Insert reference to
7846 c-font-lock-enclosing-decls.
7847
7848 * progmodes/cc-engine.el (c-backward-single-comment):
7849 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7850 to nil around calls to (forward-comment -1).
7851
4e190b80
LMI
78522011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7853
12dc863d
LMI
7854 * image.el (put-image): Doc typo fix.
7855
a762e966
LMI
7856 * progmodes/etags.el (tags-search): Doc typo fix.
7857
4e190b80
LMI
7858 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7859 password if we get errors 550 to 554.
7860
f019fb21
LMI
78612011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7862
b796c9b7 7863 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7864
81746738
LMI
7865 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7866 indentation character (bug#6380).
7867
3ee3a1b5
LMI
7868 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7869
c82f64de
LMI
7870 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7871 to clarify what the problem is (bug#4291).
7872
f019fb21
LMI
7873 * simple.el (current-kill): Clarify what
7874 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7875 (auto-fill-mode): Document `auto-fill-function' in relation to
7876 `auto-fill-mode' (bug#2470).
f019fb21 7877
0794775d
LM
78782011-07-16 Lawrence Mitchell <wence@gmx.li>
7879
7880 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7881 method if slot is read-only (bug#9035).
7882
be39b8cc
MR
78832011-07-16 Martin Rudalics <rudalics@gmx.at>
7884
b796c9b7 7885 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7886 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7887 selected before, see discussion of (Bug#8615), (Bug#6954).
7888 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7889
6ccf7859
GM
78902011-07-15 Glenn Morris <rgm@gnu.org>
7891
7892 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7893 Respect help-form.
6ccf7859 7894
87e86684
LM
78952011-07-09 Lawrence Mitchell <wence@gmx.li>
7896
7897 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7898 (gnutls-negotiate): Use it.
7899
d6066239
LMI
79002011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7901
b796c9b7
SM
7902 * net/gnutls.el (gnutls-negotiate):
7903 Upcase `gnutls-algorithm-priority'.
d6066239 7904
bd23ebc0
GM
79052011-07-15 Glenn Morris <rgm@gnu.org>
7906
c65bca65
GM
7907 * jka-compr.el (jka-compr-verbose): Move from here...
7908 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7909 Add missing :version tag.
7910 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7911
478615cc
LMI
79122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7913
7b41decb
LMI
7914 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7915 (gnutls-negotiate): Use it.
7916
dbc44fcd
LMI
7917 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7918
06789f97
LMI
7919 * info.el (Info-beginning-of-buffer): New command.
7920 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7921 announcing `b' as the key (bug#8325).
ab896c37 7922 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7923
c39da690
LMI
7924 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7925
3aa5f34b
LMI
7926 * international/mule-cmds.el
7927 (describe-specified-language-support): Make the error message
7928 clearer (bug#8905).
7929
4bf0979f
LMI
7930 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7931
478615cc
LMI
7932 * isearch.el (isearch-barrier): Add a doc string, since it's
7933 mentioned in a function doc string (bug#8678).
7934
75c68aa1
MR
79352011-07-15 Martin Rudalics <rudalics@gmx.at>
7936
7937 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7938 buffer argument (Bug#9083) and self-identifying label argument.
7939
a7c33da2
GM
79402011-07-15 Glenn Morris <rgm@gnu.org>
7941
7942 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7943
2f5c6024
LMI
79442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7945
7946 * man.el (Man-fontify-manpage): Fix message when formatting the
7947 man page (bug#7929).
7948
0bb23927 79492011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7950
7951 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7952 argument LRM; if non-nil, append an invisible LRM character to the
7953 buffer name.
7954 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7955 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7956 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7957 paragraph direction.
cce4b0a7 7958
621ef9ab
LMI
79592011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7960
d1583c48
LMI
7961 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7962 the man page name (bug#7929).
7963
6a57fb5f
LMI
7964 * image.el (put-image): Mention the `put-image' overlay property
7965 (bug#7834).
7966
d7956b14
LMI
7967 * scroll-bar.el (set-scroll-bar-mode): Mention that
7968 `scroll-bar-mode' lists the values (bug#7772).
7969
5b2d4a66
LMI
7970 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7971 command (bug#7729).
7972
7509a874
LMI
7973 * rect.el (apply-on-rectangle): Return the point after the last
7974 operation.
7975 (string-rectangle): Go to the point after the last operation
7976 (bug#7522).
7977
4fe74b19
LMI
7978 * printing.el (pr-toggle-region): Clarify the documentation
7979 slightly (bug#7493).
7980
b796c9b7
SM
7981 * time.el (display-time-update):
7982 Allow `display-time-mail-function' to return nil (bug#7158).
7983 Fix suggested by Detlev Zundel.
ab283561 7984
fc233c9d
LMI
7985 * vc/diff.el (diff): Clarify the order the file names are read
7986 (bug#7111).
7987
43f5740b
LMI
7988 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7989 the doc string (bug#7015).
7990
f2182a76
LMI
7991 * font-lock.el (font-lock-maximum-decoration): Mention what
7992 numeric levels mean (bug#6935).
7993
621ef9ab
LMI
7994 * startup.el (initial-buffer-choice): Don't mention the `none'
7995 selection, which is against policy.
7996
adc47434
MR
79972011-07-14 Martin Rudalics <rudalics@gmx.at>
7998
b796c9b7
SM
7999 * window.el (display-buffer-normalize-special):
8000 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8001
7e5bfb8f
EZ
80022011-07-14 Eli Zaretskii <eliz@gnu.org>
8003
8004 * subr.el (version<, version<=, version=): Mention "-CVS" and
8005 "-12345" alpha version numbers.
8006
27fa387a
CY
80072011-07-14 Chong Yidong <cyd@stupidchicken.com>
8008
8009 * bindings.el: Add advertised binding for set-mark-command
8010 (Bug#5772).
8011
8bdfa064
CY
80122011-07-14 Chong Yidong <cyd@stupidchicken.com>
8013
8014 * bindings.el (mode-line-other-buffer):
8015 * bookmark.el (bookmark-bmenu-2-window):
8016 * bs.el (bs-cycle-next, bs-cycle-previous):
8017 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8018 switch-to-buffer.
8019
8020 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8021 Delete.
8bdfa064 8022
5eba16a3
JB
80232011-07-14 Juanma Barranquero <lekktu@gmail.com>
8024
8025 * follow.el (follow-debug-message, follow-redisplay):
8026 * jka-cmpr-hook.el (with-auto-compression-mode):
8027 Fix typos in docstrings.
8028
15853710
LMI
80292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8030
a28e4607
LMI
8031 * subr.el (with-silent-modifications): Clarify somewhat what the
8032 macro inhibits (bug#6525).
8033
15853710
LMI
8034 * simple.el (eval-expression): Note what it does if called
8035 interactively (bug#6495).
8036
bee0fcef
CY
80372011-07-13 Chong Yidong <cyd@stupidchicken.com>
8038
b796c9b7
SM
8039 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8040 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8041
8042 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8043 Remove switch-to-buffer.
8044
58274504
LMI
80452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8046
bd2fcc8d
LMI
8047 * files.el (make-directory): Clarify that an error will be raised
8048 if there's an error (bug#6397).
8049
0f04b32c
LMI
8050 * startup.el (initial-buffer-choice): Add `none' as a choice
8051 (bug#6234).
8052
465c5fc8
LMI
8053 * subr.el (add-hook): Clarify section about buffer-local hooks
8054 (bug#6218).
8055
58274504
LMI
8056 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8057
bead9a43
JB
80582011-07-13 Juanma Barranquero <lekktu@gmail.com>
8059
8060 * tabify.el (untabify): Preserve the current column so that point
8061 doesn't move (bug#6032).
8062
3af98a7b
LMI
80632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8064
b796c9b7
SM
8065 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8066 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8067
6240145a
GM
80682011-07-13 Glenn Morris <rgm@gnu.org>
8069
8070 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8071 (dired-insert-directory): Give a message the first time
8072 if ls is found not to support --dired.
8073
1d8c2ccc
LMI
80742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8075
8076 * simple.el (toggle-truncate-lines): Clarify what is toggled
8077 (bug#5580). Text by Drew Adams.
8078
5fc4038e
CY
80792011-07-13 Chong Yidong <cyd@stupidchicken.com>
8080
8081 * simple.el (blink-matching-open): Make the error message from the
8082 last change less verbose.
8083
bf6012e5
DN
80842011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8085
8086 * font-lock.el (font-lock-comment-face): Use the high contrast
8087 "yellow" color for font-lock-comment-face on low color terminals
8088 using a dark background color (bug#4221).
8089
343c3b5a
LMI
80902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8091
7e9505c5
LMI
8092 * dired.el (dired-insert-set-properties): Make the doc string
8093 reflect what it does now (bug#5325).
8094
c26fdcf5
LMI
8095 * simple.el (blink-matching-open): Say that we were unable to find
8096 the match within the limit, if we're limited (bug#5122).
8097
bb388cc5
LMI
8098 * international/mule-cmds.el (prefer-coding-system): Add an
8099 example (bug#4869).
8100
343c3b5a
LMI
8101 * progmodes/etags.el (tags-search): Document `file-list-form'
8102 (bug#4731).
8103
2a517d45
LM
81042011-07-13 Lawrence Mitchell <wence@gmx.li>
8105
8106 * net/browse-url.el (browse-url-default-browser)
8107 (browse-url-browser-function): Make the default browser choice a
8108 bit more logical (bug#4300). Also clean up the doc string.
8109
b6c78ef2
JB
81102011-07-13 Juanma Barranquero <lekktu@gmail.com>
8111
8112 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8113 binary endings (bug#4440).
8114
1c4dd947
LMI
81152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8116
a2014063
LMI
8117 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8118 which can be pretty annoying (bug#8971).
8119
9c9c2d88
LMI
8120 * jka-compr.el (jka-compr-verbose): New variable, and use
8121 throughout (bug#8971).
8122
1c4dd947
LMI
8123 * info.el (Info-find-file): Fall back on the installation
8124 directory if we can't find the info node anywhere else.
8125
a1c9f41b
SO
81262011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8127
8128 * vc/vc.el (vc-revert-file):
8129 Don't set file time-stamp in the past. (Bug#5181)
8130
536f3d36
LMI
81312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8132
7152b011
LMI
8133 * files.el (after-find-file): Give a better error message when
8134 trying to find a symlink that points to a file that doesn't exist
8135 (bug#4398).
8136
536f3d36
LMI
8137 * progmodes/cc-vars.el: Remove (probably) misleading comment
8138 (bug#4396).
8139
460c0fba
JB
81402011-07-12 Johan Bockgård <bojohan@gnu.org>
8141
8142 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8143
7a6bda45
CY
81442011-07-12 Chong Yidong <cyd@stupidchicken.com>
8145
8146 * mouse-sel.el: Hack restoring functionality, while keeping
8147 compatibility with 2010-07-03 changes to mouse selection.
8148 (mouse-sel-primary-overlay): New var.
8149 (mouse-sel-selection-alist): Use it.
8150 (mouse-sel-mode): Doc fix; remove points that are default features
8151 of mouse.el.
8152
c79598ef
JB
81532011-07-12 Johan Bockgård <bojohan@gnu.org>
8154
8155 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8156 Fix previous fix (bug#2490).
8157
ff8be6ef
RW
81582011-07-12 Roland Winkler <winkler@gnu.org>
8159
b796c9b7
SM
8160 * textmodes/bibtex.el (bibtex-initialize):
8161 Use pop-to-buffer-same-window.
ff8be6ef
RW
8162 (bibtex-search-entries): Fix interactive call.
8163
296ba3ee
LMI
81642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8165
f5242a02 8166 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8167 Fontise bytecomp Error lines more correctly (bug#2490).
8168 Fix suggested by Johan Bockgård.
f5242a02 8169
296ba3ee
LMI
8170 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8171
8172 * dired-x.el (dired-guess-default): Use `delete-dups'.
8173
f69fd0d2
CY
81742011-07-12 Chong Yidong <cyd@stupidchicken.com>
8175
8176 * dired.el (dired-mark-prompt):
8177 * dired-aux.el (dired-read-shell-command): Doc fix.
8178
eab5dc07
LMI
81792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8180
b796c9b7
SM
8181 * mail/sendmail.el (sendmail-query-once):
8182 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8183 emacs -Q.
8184
8185 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8186
eab5dc07
LMI
8187 * cus-edit.el (custom-file): Take an optional no-error variable.
8188 (customize-save-variable): Set the variable, and give a warning if
8189 running under "emacs -q".
8190
a1e65d42
JB
81912011-07-11 Juanma Barranquero <lekktu@gmail.com>
8192
8193 * loadhist.el (unload-feature-special-hooks):
8194 Add `auto-coding-functions', `fill-nobreak-predicate' and
8195 `find-directory-functions' (bug#5327).
8196
1d52da10
LMI
81972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8198
be958f1d
LMI
8199 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8200
5bedb26c
LMI
8201 * cus-edit.el (custom-guess-name-alist): -alist variables should
8202 use the `alist' type (bug#3120). Suggested by Drew Adams.
8203
1d52da10
LMI
8204 * printing.el: Add documentation to all the `pr-toggle-' commands.
8205
cd394be1 82062011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8207
8208 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8209 backends where it makes sense (bug#2623).
8210
dcc88d8a
LMI
82112011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8212
c3de9feb
LMI
8213 * dired-x.el (dired-guess-default): Remove duplicate shell command
8214 entries (bug#2028).
8a93078b 8215 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8216 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8217
dcc88d8a
LMI
8218 * subr.el (remove-duplicates): New conveniency function.
8219
505e3645
LMI
82202011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8221
8222 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8223 (bug#1526).
8224
82252011-07-10 Martin Rudalics <rudalics@gmx.at>
8226
8227 * window.el (display-buffer-normalize-default): Don't invert
8228 meaning of even-window-heights. Reported by Eli Zaretskii
8229 <eliz@gnu.org>.
8230
455e4fa1
BR
82312011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8232
8233 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8234
8e0bc3e9
CY
82352011-07-10 Chong Yidong <cyd@stupidchicken.com>
8236
8237 * window.el (display-buffer): Fix arguments to
8238 display-buffer-reuse-window in last change.
8239
fa7c3228
CY
8240 * faces.el (link): Use a less saturated blue on light backgrounds.
8241
8242 * startup.el (fancy-startup-text, fancy-about-text)
8243 (fancy-startup-tail): Use font-lock faces, for background safety.
8244
c0a7f300
BN
82452011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8246
b796c9b7
SM
8247 * emulation/viper-cmd.el (viper-change-state-to-vi):
8248 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8249
4dc2a129
MR
82502011-07-09 Martin Rudalics <rudalics@gmx.at>
8251
8252 * window.el (display-buffer-default-specifiers): Remove.
8253 (display-buffer-macro-specifiers): Remove default specifiers.
8254 (display-buffer-alist): Default to nil.
b796c9b7 8255 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8256 (display-buffer-pop-up-window): Allow splitting internal
8257 windows. Check whether a live window was created.
8258 (display-buffer-other-window-means-other-frame)
8259 (display-buffer-normalize-arguments): Rename to
8260 display-buffer-normalize-argument and rewrite. Set the
8261 other-window specifier.
8262 (display-buffer-normalize-special): New function.
8263 (display-buffer-normalize-options): Rename to
8264 display-buffer-normalize-default and rewrite.
8265 (display-buffer-normalize-options-inhibit): Remove.
8266 (display-buffer-normalize-specifiers): Rewrite.
8267 (display-buffer): Process other-window specifier and call
8268 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8269 more faithfully.
b796c9b7 8270 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8271 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8272 (display-buffer-in-window, display-buffer-alist-set):
8273 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8274 <tassilo@member.fsf.org>.
8275
2d43b8c9
LL
82762011-07-09 Leo Liu <sdl.web@gmail.com>
8277
8278 * register.el (insert-register): Restore accidental change on
8279 2011-06-26. (Bug#9028)
8280
7f9b7c53
GM
82812011-07-09 Glenn Morris <rgm@gnu.org>
8282
8283 * subr.el (remq): Handle the empty list. (Bug#9024)
8284
f042cfd8
AS
82852011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8286
8287 * mail/sendmail.el (send-mail-function): No longer delay custom
8288 initialization.
8289 * custom.el (custom-initialize-delay): Doc fix.
8290
856b2f11
SM
82912011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8294
afae1d68
MA
82952011-07-08 Michael Albinus <michael.albinus@gmx.de>
8296
8297 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8298 human-friendly prompt.
8299
0757af94
SM
83002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8301
8302 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8303 provided by a particular plugin.
8304
d760b731
LMI
83052011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8306
8307 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8308 save customizations (with "emacs -Q"), just set the variable
8309 instead of erroring out.
8310
8311 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8312
cd79ce90
JL
83132011-07-08 Juri Linkov <juri@jurta.org>
8314
8315 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8316 (archive-zip-update-case): Use 7z if found by `executable-find'.
8317 The order of searching the available programs is the same as in
8318 `archive-zip-extract' (bug#8968).
8319
14cc04aa
CY
83202011-07-07 Chong Yidong <cyd@stupidchicken.com>
8321
8322 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8323 (menu-bar-options-menu): Tweak descriptions.
8324
0a1848ec
LMI
83252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8326
8327 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8328 menu items into verb phrases (bug#1421). Also refill to fit under
8329 80 columns.
8330
f5bd0689
CY
83312011-07-07 Chong Yidong <cyd@stupidchicken.com>
8332
538e85c6
CY
8333 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8334 (Info-read-node-name): Doc fix (Bug#1084).
8335
f5bd0689
CY
8336 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8337 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8338 (end-of-sexp, beginning-of-sexp)
8339 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8340 (forward-symbol, forward-same-syntax, word-at-point)
8341 (sentence-at-point): Doc fix (Bug#1144).
8342
56ec5115
LMI
83432011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8344
f3f8e37f
LMI
8345 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8346 should cover it (bug#1281).
8347
0757af94 8348 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8349
e9fce1ac 8350 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8351 negotiation fails, then possibly try again with a non-encrypted
8352 connection (bug#9017).
8353
56ec5115
LMI
8354 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8355 be used.
8356
c2f9aec8
RS
83572011-07-07 Richard Stallman <rms@gnu.org>
8358
8359 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8360 property, and handle its changed format.
8361 Look for the correct line number.
8362 Use file's line contents (but not past first =) to find
8363 correct line in message.
8364
ef7b981d 83652011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8366
8367 * international/characters.el (build-unicode-category-table):
8368 Delete it.
0757af94 8369 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8370
0757af94 8371 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8372 to src/chartab.c.
8373 (get-char-code-property): Call unicode-property-table-internal to
8374 load a file. Call get-unicode-property-internal where necessary.
8375 (put-char-code-property): Call unicode-property-table-internal to
8376 load a file. Call put-unicode-property-internal where necessary.
8377 put-unicode-property-internal where necessary.
0757af94
SM
8378 (char-code-property-description):
8379 Call unicode-property-table-internal to load a file.
c805dec0
KH
8380
8381 * international/charprop.el:
8382 * international/uni-bidi.el:
8383 * international/uni-category.el:
8384 * international/uni-combining.el:
8385 * international/uni-comment.el:
8386 * international/uni-decimal.el:
8387 * international/uni-decomposition.el:
8388 * international/uni-digit.el:
8389 * international/uni-lowercase.el:
8390 * international/uni-mirrored.el:
8391 * international/uni-name.el:
8392 * international/uni-numeric.el:
8393 * international/uni-old-name.el:
8394 * international/uni-titlecase.el:
8395 * international/uni-uppercase.el: Regenerate.
8396
8397 * loadup.el: Load international/charprop.el before
8398 international/characters.
8399
e14b388a
CY
84002011-07-07 Chong Yidong <cyd@stupidchicken.com>
8401
8402 * window.el (next-buffer, previous-buffer): Signal an error if
8403 called from a minibuffer window.
8404
8405 * bindings.el: Revert 2011-07-04 change.
8406
354cf0ba
RS
84072011-07-06 Richard Stallman <rms@gnu.org>
8408
8409 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8410 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8411 Treat markers like ints.
8412 (rmail-mime-entity): Doc fix.
8413
a48868a7
LMI
84142011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8415
4906cd3d
LMI
8416 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8417 defcustom again for backwards compatibility.
8418
e0457abe
LMI
8419 * simple.el (shell-command-on-region): Fill.
8420
d67f7e1f
LMI
8421 * dired-aux.el (dired-kill-line): Add a doc string.
8422
fe204702
LMI
8423 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8424 to "\\sw\\|\\s_" (bug#358).
8425
a48868a7
LMI
8426 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8427 (dired-unmark-backward): Ditto.
8428 (dired-flag-backup-files): Ditto.
8429
8430 * dired-x.el (dired-mark-sexp): Ditto.
8431
aa8a705c
RS
84322011-07-06 Richard Stallman <rms@gnu.org>
8433
8434 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8435 (rmail-mime-entity): New arg TRUNCATED.
8436 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8437 New functions.
8438 (rmail-mime-save): Warn if entity is truncated.
8439 (rmail-mime-toggle-hidden): Likewise, for showing.
8440 (rmail-mime-process-multipart): Record when an entity is truncated.
8441
a9a936b9
RS
8442 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8443 if ENTITY is a string.
8444
1f2b92cb
LMI
84452011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8446
f4f73198 8447 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8448 of faces when `M-C-x'-ing their definitions (bug#8378).
8449 Also clean up the code slightly.
f4f73198 8450
12b16734 8451 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8452 because that makes the colors go away.
12b16734 8453
f0691d22
LMI
8454 * mail/sendmail.el (send-mail-function): Change the default to
8455 `sendmail-query-once'.
9e87df06 8456 (sendmail-query-once): Add an autoload cookie.
f0691d22 8457
1f2b92cb
LMI
8458 * net/network-stream.el (network-stream-open-starttls): Try using
8459 a plain connection even if the server offered STARTTLS, and we
8460 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8461 capability. This should make smtpmail.el work in slightly more
8462 configurations.
8463
1cdd2a1b
MA
84642011-07-06 Michael Albinus <michael.albinus@gmx.de>
8465
8466 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8467 New defun.
8468 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8469
fbcc67e2
MM
84702011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8471
8472 * progmodes/sql.el: Version 3.0
0757af94 8473 (sql-product-alist): Add product :completion-object,
fbcc67e2 8474 :completion-column, and :statement attributes.
0757af94 8475 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8476 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8477 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8478 ansi keywords.
8479 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8480 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8481 (sql-oracle-show-reserved-words): New function for development.
8482 (sql-product-font-lock): Simplify for source code buffers.
8483 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8484 New functions.
8485 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8486 (sql-mode-map): Add statement movement functions.
8487 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8488 New variable.
fbcc67e2
MM
8489 (sql-statement-regexp, sql-beginning-of-statement)
8490 (sql-end-of-statement, sql-signum): New functions.
0757af94 8491 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8492 (sql-show-sqli-buffer): Bug fix.
8493 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8494 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8495 with sql-interactive-mode.
8496 (sql-save-connection): Save buffer local settings.
0757af94 8497 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8498 (sql-product-interactive): Bug fix.
8499 (sql-preoutput-hold): New variable.
8500 (sql-interactive-remove-continuation-prompt): Bug fixes.
8501 (sql-debug-redirect): New variable.
8502 (sql-str-literal): New function.
8503 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8504 Redesign.
fbcc67e2
MM
8505 (sql-oracle-save-settings, sql-oracle-restore-settings)
8506 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8507 (sql-completion-object, sql-completion-column)
8508 (sql-completion-sqlbuf): New variables.
8509 (sql-build-completions-1, sql-build-completions)
8510 (sql-try-completion): New functions.
8511 (sql-read-table-name): Use them.
8512 (sql-contains-names): New buffer local variable.
8513 (sql-list-all, sql-list-table): Use it.
8514 (sql-oracle-completion-types): New variable.
8515 (sql-oracle-completion-object, sql-sqlite-completion-object)
8516 (sql-postgres-completion-object): New functions.
8517
d4eaeab1
GM
85182011-07-06 Glenn Morris <rgm@gnu.org>
8519
8520 * window.el (pop-to-buffer): Doc fix.
8521
322b7dab 85222011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8523
8524 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8525
322b7dab 85262011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8527
322b7dab 8528 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8529
322b7dab 8530 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8531
605dd5bf
CY
85322011-07-05 Chong Yidong <cyd@stupidchicken.com>
8533
8534 * button.el (button): Inherit from link face. Suggested by Dan
8535 Nicolaescu.
8536
7dbfa719
SM
85372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8538
3db614b0
SM
8539 * progmodes/gdb-mi.el: Fit in 80 columns.
8540 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8541 switch-to-buffer.
8542
7dbfa719
SM
8543 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8544 if imenu is simply not configured (bug#8941).
8545
919d884a
KM
85462011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8547
8548 * allout.el (allout-post-undo-hook): New allout outline-change
8549 event hook to signal undo activity.
8550 (allout-post-command-business): Run allout-post-undo-hook if an
8551 undo just occurred.
7dbfa719
SM
8552 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8553 * allout-widgets.el (allout-widgets-after-undo-function):
8554 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8555 in the vicinity of an undo.
8556 (allout-widgets-mode): Include allout-widgets-after-undo-function
8557 on the new allout-post-undo-hook.
8558
450a0f09
SM
85592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8562 Let define-derived-mode define it.
8563 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8564 cycles of abbrev-table inheritance (bug#8998).
8565
2de69e00
RW
85662011-07-05 Roland Winkler <winkler@gnu.org>
8567
8568 * textmodes/bibtex.el: Add support for biblatex.
8569 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8570 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8571 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8572 (bibtex-entry-alist, bibtex-field-alist): New variables.
8573 (bibtex-entry-field-alist): Obsolete alias for
8574 bibtex-BibTeX-entry-alist.
8575 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8576 (bibtex-set-dialect): New command.
8577 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8578 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8579 Bind via bibtex-set-dialect.
2de69e00
RW
8580 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8581 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8582 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8583 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8584 Define via bibtex-set-dialect.
450a0f09
SM
8585 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8586 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8587 (bibtex-vec-push, bibtex-vec-incr): New functions.
8588 (bibtex-format-entry, bibtex-field-list)
8589 (bibtex-print-help-message, bibtex-validate)
8590 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8591
2dcdbdd9
SM
85922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * progmodes/compile.el (compilation-goto-locus):
8595 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8596 * bs.el (bs-cycle-next, bs-cycle-previous):
8597 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8598 * bindings.el (mode-line-other-buffer):
8599 * autoinsert.el (auto-insert):
8600 * arc-mode.el (archive-extract):
8601 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8602
b27640fe
JB
86032011-07-05 Juanma Barranquero <lekktu@gmail.com>
8604
8605 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8606 Fix check of `emacs-lock-unlockable-modes'.
8607 Coerce true values of `emacs-lock--try-unlocking' to t.
8608
53bbe3ad
JB
86092011-07-05 Juanma Barranquero <lekktu@gmail.com>
8610
8611 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8612 * emacs-lock.el: New file.
8613
1d3cdbc7
JD
86142011-07-05 Julien Danjou <julien@danjou.info>
8615
8616 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8617 than `boundp' to check if face is set.
8618
9173deec
JB
86192011-07-05 Juanma Barranquero <lekktu@gmail.com>
8620
8621 * register.el (registerv-make):
8622 * window.el (window-min-height): Fix typos in docstrings.
8623
869795d6
JD
86242011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8625
9173deec 8626 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8627 Update doc string.
8628
b768cdcd
JB
86292011-07-04 Juanma Barranquero <lekktu@gmail.com>
8630
8631 * server.el (server-execute): Catch quit and call
8632 `server-return-error' to pass the error back to emacsclient and
8633 close the connection (bug#8942).
8634
13aa217b
KM
86352011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8636
8637 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8638 insecure exception for current topic. Also note that auto-saves
8639 are handled differently.
8640
5d3385a0 8641 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8642 State variables for tracking auto-save inhibition situation.
8643
8644 (allout-write-contents-hook-handler): Rename from
8645 'allout-write-file-hook-handler', and describe how it depends on
8646 write-contents-functions sensitivity to non-nil value to prevent
8647 file write.
8648
8649 (allout-auto-save-hook-handler): Remove. auto-save does not check
8650 this in individual buffers, only in the starting buffer, so this
8651 is not the right way for us to inhibit auto-save in a buffer
8652 according to its condition.
8653
8654 (allout-mode): Use new allout-write-contents-hook-handler, and
8655 only with write-contents-functions. Remove auto-save provisions -
8656 they're implemented elsewhere.
8657
8658 (allout-before-change-handler): If undo is in progress, note that
8659 for attention of allout-post-command-business.
8660
8661 (allout-post-command-business): If the command we're following was
8662 an undo, check for change in the status of encrypted items and
8663 adjust auto-save inhibitions accordingly.
8664
8665 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8666 according to whether there are or aren't any plain-text topics
8667 pending encryption.
8668
2dcdbdd9 8669 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8670 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8671 if there are plain-text topics pending encryption.
13aa217b
KM
8672
8673 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8674 buffer-saved-size and some allout state to not inhibit auto-saves
8675 if there are no longer any plain-text topics pending encryption.
8676
0757af94
SM
8677 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8678 No longer provide for exemption of the current topic.
13aa217b 8679
ac89b32c
JL
86802011-07-04 Juri Linkov <juri@jurta.org>
8681
8682 Add 7z operations to delete and save changed members (bug#8968).
8683 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8684 New defcustoms.
8685 (archive-7z-write-file-member): New function.
8686 (archive-7z-summarize): Fix the number of dashes in the
8687 listing output.
8688
8fa39615
SM
86892011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8690
8691 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8692 (bug#8958).
8693
2f11b3f1
CY
86942011-07-04 Chong Yidong <cyd@stupidchicken.com>
8695
d66fef2b
CY
8696 * bindings.el: Ignore next-buffer and previous-buffer in
8697 minibuffer-local-map.
8698
2f11b3f1
CY
8699 * font-lock.el (font-lock-builtin-face): Change light background
8700 color to dark slate blue (Bug#6693).
8701
f932a347
WD
87022011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8703
8704 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8705
c8af70e1
SM
87062011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8709 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8710 Add switch-to-buffer.
8711
f158badc
LMI
87122011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8713
8714 * isearch.el (isearch-search-fun-function): Clarify further the
8715 meaning of the function returned.
8716
6d95bd46
MA
87172011-07-04 Michael Albinus <michael.albinus@gmx.de>
8718
8719 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8720
8721 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8722 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8723 Use it.
8724 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8725 `tramp-default-remote-path' does not exist.
8726 (tramp-send-command-and-read): New optional argument NOERROR.
8727 (tramp-open-connection-setup-interactive-shell)
8728 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8729 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8730 (tramp-process-sentinel): Flush also process' connection property.
8731 (tramp-sh-handle-start-file-process): Do not set process
8732 sentinel. It is done now ...
8733 (tramp-maybe-open-connection): ... here. (Bug#8929)
8734
909e6b67
MK
87352011-07-04 MON KEY <monkey@sandpframing.com>
8736
8737 * play/animate.el (animate-string): Doc fixes and allow changing
8738 the buffer name (bug#5417).
8739
87402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8741
c8af70e1 8742 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8743
f34755dc
PE
87442011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8745
396cec72
PE
8746 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8747 This is simpler and helps future-proof the code.
8748 (timer-until): Use time-subtract and float-time.
08235028 8749 (timer--time-less-p): Use time-less-p.
f34755dc 8750
56e6cc31
JB
87512011-07-04 Juanma Barranquero <lekktu@gmail.com>
8752
3abb79e5
JB
8753 * type-break.el (timep): Use the value of `float-time' to avoid a
8754 byte-compiler warning.
8755
56e6cc31
JB
8756 * server.el (server-eval-and-print): Return any result, even nil.
8757
7b9430b4
PE
87582011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8759
8760 * type-break.el: Accept time formats that the builtins accept.
8761 (timep, type-break-time-difference): Accept any format that
8762 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8763 This is simpler and helps future-proof the code.
8764 (type-break-time-difference): Round rather than ignoring
8765 subseconds components.
8766
3034e9e7
LMI
87672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8768
8769 * info.el (Info-apropos-matches): Make non-interactive, since it
8770 doesn't seem to do anything useful as a command (bug#8829).
8771
1485f4c0
CY
87722011-07-03 Chong Yidong <cyd@stupidchicken.com>
8773
8774 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8775 Move from faces.el.
1485f4c0
CY
8776 (frame-default-terminal-background): New function.
8777
8778 * custom.el (custom-push-theme): Don't record faces in `changed'
8779 theme; this doesn't work correctly for per-frame face settings.
8780 (disable-theme): Use face-set-after-frame-default to reset faces.
8781 (custom--frame-color-default): New function.
8782
9fa3dd45
LMI
87832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8784
c8af70e1 8785 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8786 (bug#8769).
8787
6cbbc20c
KR
87882011-03-29 Kevin Ryde <user42@zip.com.au>
8789
8790 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8791 `perl-Test2' extend to match possible "fail #N" rep count
8792 (bug#8377).
8793
c7f98048
LMI
87942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8795
65676592
LMI
8796 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8797 `smtpmail-via-smtp' now returns the error instead of nil.
8798
c7f98048
LMI
8799 * isearch.el (isearch-search-fun-function): Clarify the doc string
8800 (bug#8101).
8801
56e6cc31 88022011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8803
8804 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8805 unnecessary spaces (bug#8987).
8806
2b216704
LMI
88072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8808
8809 * net/network-stream.el (open-network-stream): Use the
8810 :end-of-capability command thoughout.
8811
88122011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8813
8814 * net/network-stream.el (open-network-stream): Add the
8815 :end-of-capability command parameter, used by pop3.el.
8816
36adf6ce
LMI
88172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8818
1ca0da0e
LMI
8819 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8820
fc00f69c
LMI
8821 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8822 for list)" (bug#6475).
8823
28fd8759 8824 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8825 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8826 an error (bug#6297).
8827
0dd8b6da
LMI
8828 * man.el (Man-reference-regexp): Allow matching possible
8829 word-wrapped references (bug#6289).
8830
ce1438d6
LMI
8831 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8832 for consistency with the other vc buffers (bug#6197).
8833 (vc-checkin): Ditto.
8834
8835 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8836
36adf6ce
LMI
8837 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8838
e83cc1f7
LMI
88392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8840
8a20ca4c
LMI
8841 * custom.el (defcustom): Clarify that :set is only used in the
8842 Customize user interface (bug#6089).
8843
83319045
LMI
8844 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8845 associated with a file, refuse to run instead of erroring out
8846 (bug#6084).
8847
a8392169
LMI
8848 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8849 the doc string, since it appears that using `fill-column' always
8850 controls the width (bug#7845).
8851
e83cc1f7
LMI
8852 * simple.el (shell-command-on-region): Say where the error output
8853 went if `shell-command-default-error-buffer' is set (bug#6857).
8854
e47ca23b
KM
88552011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8856
8857 * allout.el (allout-yank-processing): Adjust cursor position for
8858 backwards-deleted space.
8859
8860 (allout-rebullet-heading): Register changes with
8861 allout-exposure-changed-hook, so the modified topic is properly
8862 decorated.
8863
5cf56143
LMI
88642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8865
08549772
LMI
8866 * minibuffer.el (completion-in-region): Document PREDICATE
8867 (bug#7136).
8868
48e96771
LMI
8869 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8870 of keyword/argument pairs (bug#6904).
8871
c8af70e1
SM
8872 * replace.el (multi-occur):
8873 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8874
e17d05e2
LMI
88752011-07-02 Drew Adams <drew.adams@oracle.com>
8876
8877 * dired.el (dired-mark-if): Make the message about whether it's
8878 marking or unmarking clearer (bug#8523).
8879
063b0e45
LMI
88802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8881
8882 * disp-table.el (display-table-print-array): New function.
8883 (describe-display-table): Use it to print the vectors more pretty
8884 (Bug#8859).
8885
28545e04
MR
88862011-07-02 Martin Rudalics <rudalics@gmx.at>
8887
8888 * window.el (window-state-get-1): Don't assign clone numbers.
8889 Add clone-of item to list of window parameters.
8890 (window-state-put-2): Don't process clone numbers.
8891 (display-buffer-alist): Fix doc-string.
8892
3349e122
SM
88932011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * subr.el (remq): Don't allocate if it's not needed.
8896 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8897 (keymap--merge-bindings): New functions.
8898 (keymap-canonicalize): Use them to refine the canonicalization.
8899 * minibuffer.el (minibuffer-local-completion-map)
8900 (minibuffer-local-must-match-map): Move initialization from C.
8901 (minibuffer-local-filename-completion-map): Move initialization from C;
8902 don't inherit from anything here.
8903 (minibuffer-local-filename-must-match-map): Make obsolete.
8904 (completing-read-default): Use make-composed-keymap to combine
8905 minibuffer-local-filename-completion-map with either
8906 minibuffer-local-must-match-map or
8907 minibuffer-local-filename-completion-map.
8908
d224ac83
GM
89092011-07-01 Glenn Morris <rgm@gnu.org>
8910
3de63bf8
GM
8911 * type-break.el (type-break-time-sum): Use dolist.
8912
d224ac83
GM
8913 * textmodes/flyspell.el (flyspell-word-search-backward):
8914 Replace CL function.
8915
1a1e3f32
SM
89162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8917
fe3f64d5
SM
8918 * mouse.el (mouse--strip-first-event): New function.
8919 (function-key-map): Use it to map fringe clicks to normal clicks
8920 by default.
8921
eb604e34
SM
8922 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8923 (vc-bzr-revision-completion-table): Add support for annotate and date.
8924
1a1e3f32
SM
8925 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8926 inherit from parent.
8927
5bd35902
LMI
89282011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8929
ace6c69c 8930 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8931 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8932
191e2bed
LMI
8933 * dired.el (dired-mode): Fix up the doc string as suggested by
8934 Drew Adams (bug#8817).
8935
5bd35902
LMI
8936 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8937 cookie, since the manual says that it should be possible to add
8938 this function to `find-file-hook' (bug#8709).
8939
eee8207a
TZ
89402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8941
8942 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8943 here. Noted Ted Zlatanov as the maintainer.
8944 (cfengine-common-settings, cfengine-common-syntax): New functions
8945 to set up common things between `cfengine-mode' and
8946 `cfengine3-mode'.
8947 (cfengine3-mode): New mode.
8948 (cfengine3-defuns cfengine3-defuns-regex
8949 (cfengine3-class-selector-regex cfengine3-category-regex)
8950 (cfengine3-vartypes cfengine3-font-lock-keywords)
8951 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8952 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8953
36b148cf
MA
89542011-07-01 Michael Albinus <michael.albinus@gmx.de>
8955
8956 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8957
8958 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8959
0bf4ba9a
MR
89602011-07-01 Martin Rudalics <rudalics@gmx.at>
8961
8962 * window.el (same-window-buffer-names, same-window-regexps)
8963 (same-window-p, special-display-frame-alist)
8964 (special-display-popup-frame, special-display-function)
8965 (special-display-buffer-names, special-display-regexps)
8966 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8967 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8968 (split-window-preferred-function, split-height-threshold)
8969 (split-width-threshold, even-window-heights)
8970 (display-buffer-mark-dedicated, window-splittable-p)
8971 (split-window-sensibly, window-safely-shrinkable-p):
8972 Un-obsolete.
8973 (display-buffer): Don't spread args with function specifier
8974 because special-display-popup-frame won't like it.
8975
35837f51
PE
89762011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8977
d0672f86
PE
8978 Time-stamp simplifications and fixes.
8979 These improve accuracy slightly, and future-proof the code
8980 against some potential changes to current-time format.
8981
b9444d97
PE
8982 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8983 by using time-since and float-time.
8984
0ef923dc
PE
8985 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8986 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8987 + NNN microseconds".
8988
2f81380d
PE
8989 * type-break.el (type-break-time-sum): Rewrite using time-add.
8990
845b5c3e
PE
8991 * play/hanoi.el (hanoi-current-time-float): Remove.
8992 All uses replaced by float-time.
8993
ee6f1be0
PE
8994 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8995 This yields a more-accurate answer.
8996 (rng-time-to-float): Remove; no longer needed.
8997
fe955043
PE
8998 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8999
5777162a
PE
9000 * calendar/timeclock.el (timeclock-seconds-to-time):
9001 Defalias to seconds-to-time, since they're the same thing.
9002
3103f8b6 9003 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9004 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9005 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9006
0e61a35f
SM
90072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * window.el (bury-buffer): Don't iconify the only frame.
9010 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9011 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9012
ddd63a1e
CY
90132011-07-01 Chong Yidong <cyd@stupidchicken.com>
9014
0e61a35f
SM
9015 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9016 Add mouse-yank-primary.
ddd63a1e 9017
055f4923
TZ
90182011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9019
9020 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9021
6a2fb145
SM
90222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9025 (find-library-name): Use it to find relative load names when provided
9026 absolute file name (bug#8803).
9027
fd4983f2
LMI
90282011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9029
887d14ad
LMI
9030 * textmodes/flyspell.el (flyspell-word): Consider words that
9031 differ only in case as potential doublons (bug#5687).
9032
c53dc7fc
LMI
9033 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9034 Remove two rather uninteresting debugging-like messages to make
9035 debbugs.el more silent.
9036
fd4983f2
LMI
9037 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9038 a password-like phrase.
9039
7a71b18d 90402011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9041
9042 * progmodes/cc-guess.el: New file.
9043
6a2fb145 9044 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9045
9046 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9047 derived from `c-basic-common-init'.
9048
9049 * progmodes/cc-mode.el (top-level): Require cc-guess.
9050 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9051
1fa280a3
LM
90522011-06-30 Lawrence Mitchell <wence@gmx.li>
9053
9054 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9055
e6597158
AM
90562011-06-30 Alan Mackenzie <acm@muc.de>
9057
1fa280a3
LM
9058 * progmodes/cc-engine.el (c-guess-continued-construct):
9059 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9060 lock is disabled. Name this case as "CASE G".
9061
68ba37fb
KM
90622011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9063
9064 * allout.el (allout-yank-processing): Fix injection of extra space
9065 between bullet and non-whitespace character in first topic when
9066 pasting, ensuring that the actual spacing in the pasted topic
9067 following the bullet char is preserved. This extra space was
9068 causing pasted encrypted topics to get a decrypted status even
9069 when the content was actually still encrypted. Now the decryption
9070 status from before the paste is preserved.
9071
9072 (allout-flag-region): Set all allout overlays so they evaporate
9073 when reduced to zero length (evanescent), to prevent overlay
9074 leakage.
9075
887a0b34
GM
90762011-06-30 Glenn Morris <rgm@gnu.org>
9077
94b9acce
GM
9078 * w32-fns.el (w32-charset-info-alist): Declare.
9079
1d9b46d4
GM
9080 * find-dired.el (find-grep-options): Simplify.
9081
cc232200
GM
9082 * term/ns-win.el (ns-set-resource): Declare.
9083
28e77c46
GM
9084 * ses.el (row, col): Declare dynamic variables honestly.
9085
887a0b34
GM
9086 * textmodes/reftex-parse.el (index-tags): Declare.
9087
658d8eb8
CY
90882011-06-30 Chong Yidong <cyd@stupidchicken.com>
9089
9090 * cus-edit.el (customize-push-and-save): New function.
9091
9092 * files.el (hack-local-variables-confirm): Use it.
9093
1fa280a3
LM
9094 * custom.el (load-theme): New arg NO-CONFIRM.
9095 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9096 (custom-enabled-themes): Doc fix.
9097
9098 * cus-theme.el (customize-create-theme)
9099 (custom-theme-merge-theme): Callers to load-theme changed.
9100
bb617717
LMI
91012011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9102
d61bdd5d
LMI
9103 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9104 short URLs have at least one dot in them (bug #7614).
9105
bb617717
LMI
9106 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9107 nil, because using a pty is apparently too slow (bug #895).
9108
2f31f37a
LMI
91092011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9110
9111 * mail/sendmail.el (sendmail-query-once): New function.
9112 (sendmail-query-once-function): New variable.
9113
3076b24e
GM
91142011-06-29 Glenn Morris <rgm@gnu.org>
9115
faf2a174
GM
9116 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9117
3076b24e
GM
9118 * ses.el (top-level): Require cl when compiling.
9119 (ses-set-localvars): Fix error statement.
9120 Call it at compile time to silence a storm of warnings.
9121
5386012d
MR
91222011-06-29 Martin Rudalics <rudalics@gmx.at>
9123
9124 * window.el (normalize-live-buffer): Rename to
9125 window-normalize-buffer.
9126 (normalize-live-frame): Rename to window-normalize-frame.
9127 (normalize-any-window): Rename to window-normalize-any-window.
9128 (normalize-live-window): Rename to window-normalize-live-window.
9129 (make-window-atom): Rename to window-make-atom.
9130 (window-resize-reset): Rename to window--resize-reset.
9131 (window-resize-reset-1): Rename to window--resize-reset-1.
9132 (resize-mini-window): Rename to window--resize-mini-window.
9133 (resize-subwindows-skip-p): Rename to
9134 window--resize-subwindows-skip-p.
9135 (resize-subwindows-normal): Rename to
9136 window--resize-subwindows-normal.
9137 (resize-subwindows): Rename to window--resize-subwindows.
9138 (resize-other-windows): Rename to window--resize-siblings.
9139 (resize-this-window): Rename to window--resize-this-window.
9140 (resize-root-window): Rename to window--resize-root-window.
9141 (resize-root-window-vertically): Rename to
9142 window--resize-root-window-vertically.
9143 (normalize-buffer-to-display): Rename to
9144 window-normalize-buffer-to-display.
9145 (normalize-buffer-to-switch-to): Rename to
9146 window-normalize-buffer-to-switch-to.
9147 Correspondingly update all callers of the functions listed
9148 above.
9149 (display-buffer-alist, display-buffer-normalize-arguments)
9150 (display-buffer-normalize-options, display-buffer)
9151 (display-buffer-alist-set): Use "function" instead of
9152 "fun-with-args".
9153
1176868d
CY
91542011-06-28 Chong Yidong <cyd@stupidchicken.com>
9155
9156 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9157 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9158 debbugs.gnu.org. Mention acknowledgment email.
9159
20a7a65f
LMI
91602011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9161
9162 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9163 buffer multibyteness, since it shouldn't matter.
9164
5f45cca5
MR
91652011-06-28 Martin Rudalics <rudalics@gmx.at>
9166
9167 * window.el (display-buffer-in-side-window): Handle dedicated
9168 windows as in display-buffer-reuse-window.
9169 (display-buffer-normalize-alist): Use value of override
9170 specifier.
9171 (display-buffer-normalize-specifiers): Use value of
9172 other-window-means-other-frame specifier.
9173 (display-buffer-alist): Rewrite some texts in widgets.
9174 (display-buffer): Spread arguments when calling function
9175 specified by fun-with-args.
9176
ad85fe1f
DD
91772011-06-28 Deniz Dogan <deniz@dogan.se>
9178
1fa280a3
LM
9179 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9180 Unnest `let'.
da68c4c8 9181
ad85fe1f
DD
9182 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9183 selectors (Bug#5732).
ec49bd31 9184 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9185
a08cc025
JA
91862011-06-27 Jari Aalto <jari.aalto@cante.net>
9187
9188 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9189 (eshell-ls-date-format): New defcustom.
9190 (eshell-ls-file): Use it.
9191
e2b551c5
SM
91922011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9195
8982b231
KY
91962011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9197
9198 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9199 (ange-ftp-make-tmp-name): New arg.
9200 (ange-ftp-file-local-copy): Use it.
9201
36c9fa27
J
92022011-06-27 Jambunathan K <kjambunathan@gmail.com>
9203
9204 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9205 no-conversion (Bug#8870).
9206
d68443dc
MR
92072011-06-27 Martin Rudalics <rudalics@gmx.at>
9208
9209 * window.el (window-right, window-left, window-child)
9210 (window-child-count, window-last-child)
9211 (window-iso-combination-p, walk-window-tree-1)
9212 (window-atom-check-1, window-tree-1, delete-window)
9213 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9214 new naming conventions - window-vchild, window-hchild,
9215 window-next and window-prev are now called window-top-child,
9216 window-left-child, window-next-sibling and window-prev-sibling
9217 respectively.
d615d6d2
MR
9218 (resize-window-reset): Rename to window-resize-reset.
9219 (resize-window-reset-1): Rename to window-resize-reset-1.
9220 (resize-window): Rename to window-resize.
9221 (window-min-height, window-min-width)
9222 (resize-mini-window, resize-this-window, resize-root-window)
9223 (resize-root-window-vertically, adjust-window-trailing-edge)
9224 (enlarge-window, shrink-window, maximize-window)
9225 (minimize-window, delete-window, quit-restore-window)
9226 (split-window, balance-windows, balance-windows-area-adjust)
9227 (balance-windows-area, window-state-put-2)
9228 (display-buffer-even-window-sizes, display-buffer-set-height)
9229 (display-buffer-set-width, set-window-text-height)
9230 (fit-window-to-buffer): Rename all "resize-window" prefixed
9231 calls to use the "window-resize" prefix convention.
9232 (display-buffer-alist): Fix symbol for label specifier.
9233 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9234 corresponding specifier.
9235 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9236
b6458526
VB
92372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9238
9239 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9240 convention.
9241 (ses-call-printer): Does not pass an empty string to formatter when the
9242 cell is empty to keep from barking printer Calc math-format-value.
9243
d31fd9ac
RS
92442011-06-27 Richard Stallman <rms@gnu.org>
9245
43d5bf84
RS
9246 * battery.el (battery-mode-line-limit): New variable.
9247 (battery-update): Handle it.
9248
d31fd9ac
RS
9249 * mail/rmailmm.el (rmail-mime-process-multipart):
9250 Handle truncated messages.
9251
819a6054
GM
92522011-06-27 Glenn Morris <rgm@gnu.org>
9253
9254 * progmodes/flymake.el (flymake-err-line-patterns):
9255 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9256
cedc73f2
VB
92572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9258
819a6054 9259 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9260 (ses--clean-!, ses--clean-_): New functions.
9261 (ses-range): Add configurability of readout order, and conversion
9262 to Calc vector.
9263
5e5d49b6
VB
9264 * ses.el (ses-repair-cell-reference-all): New function.
9265 (ses-cell-symbol): Set macro as safe, so that it can be used in
9266 formulas.
9267
56e6cc31 9268 * ses.el: Update cycle detection algorithm.
90ca8b49 9269 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9270 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9271 (ses-set-localvars): New function.
9272 (ses-make-cell): Add property-list as a cell element.
9273 (ses-cell-property-get-fun, ses-cell-property-get)
9274 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9275 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9276 New functions.
90ca8b49
VB
9277 (ses-cell-property-set, ses-cell-property-pop)
9278 (ses-cell-property-get-handle): New macro.
9279 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9280 New aliases, used for code readability.
9281 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9282 cycle detection.
9283 (ses-self-reference-early-detection): New defcustom.
fac916bf 9284 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9285 (ses-mode): Use ses-set-localvars.
9286 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9287 before lauching the update processing.
9288 (ses-initialize-Dijkstra-attempt): New function.
9289 (ses-recalculate-cell): Update for cycle detection based on
9290 Dijkstra algorithm.
9291
2bb63e81
VB
9292 * ses.el: Fix commenting and indenting convention.
9293
c9d29fb8
SM
92942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * bs.el (bs-cycle-next): Complete last change.
9297
d8e4b68b
JB
92982011-06-27 Drew Adams <drew.adams@oracle.com>
9299
9300 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9301
40098786
LMI
93022011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9303
c9d29fb8
SM
9304 * net/network-stream.el (network-stream-open-starttls):
9305 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9306 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9307
40098786
LMI
9308 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9309 to binary to possibly avoid line encoding issues on Windows (among
9310 other things).
9311
468d09d4
LMI
93122011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9313
9314 * net/network-stream.el (open-network-stream): Return an :error
9315 saying what the problem was, if possible.
9316
9317 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9318 server.
9319
9320 * net/network-stream.el (network-stream-open-starttls): If we
9321 wanted to use STARTTLS, and the server offered it, but we weren't
9322 able to because we had no STARTTLS support, then close the connection.
9323 (open-network-stream): Return an :error element, if present.
9324
16f07dd7
CY
93252011-06-26 Chong Yidong <cyd@stupidchicken.com>
9326
88821ca0
CY
9327 * hl-line.el (hl-line-sticky-flag): Doc fix.
9328 (global-hl-line-sticky-flag): New option (Bug#8323).
9329 (global-hl-line-highlight): Obey it.
9330
16f07dd7
CY
9331 * vc/vc.el (vc-revert-show-diff): Default to t.
9332
6b5ccddf
KM
93332011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9334
c9d29fb8
SM
9335 * allout-widgets.el (allout-widgets-post-command-business):
9336 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9337 undecorated when an isearch is continued past, and isearch
9338 automatically collapses them. This leads to "widget leaks", where
9339 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9340 hidden widgets can slow down cursor travel, substantially.
9341 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9342 so we're doing without this nicety.
9343
9344 (allout-widgets-tally-string): Don't try to do a hash-table-count
9345 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9346 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9347 *Messages* when allout-widgets-maintain-tally is t.
9348
355f2e07
MR
93492011-06-26 Martin Rudalics <rudalics@gmx.at>
9350
9351 * window.el (display-buffer-normalize-argument): Rename to
9352 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9353 LABEL argument. Respect special-display-function when popping up
9354 a new frame. Fix code searching for a window showing the buffer
9355 on another frame.
c9d29fb8
SM
9356 (display-buffer-normalize-specifiers):
9357 Call display-buffer-normalize-arguments.
355f2e07
MR
9358 (display-buffer-in-window): Don't undedicate the window if its
9359 buffer remains the same.
9360 Reported by Drew Adams <drew.adams@oracle.com>.
9361 (display-buffer-alist): Add choice for same-window macro
9362 specfier.
9363 (display-buffer): Mention special meaning of LABEL argument in
9364 doc-string. Fix quoting. Don't pop up a new frame even as
9365 fallback.
9366
7ca8fc42
JB
93672011-06-26 Juanma Barranquero <lekktu@gmail.com>
9368
9369 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9370 avoid deleting the current window in some cases (bug#8911).
9371
bc312254
AS
93722011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9373
9374 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9375 (Bug#8934)
9376
2db18f3f
LMI
93772011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378
c9d29fb8
SM
9379 * net/network-stream.el (network-stream-open-starttls):
9380 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9381 (network-stream-open-tls): Ditto.
9382
6302e0d3
LL
93832011-06-26 Leo Liu <sdl.web@gmail.com>
9384
9385 * register.el (registerv): New struct.
9386 (registerv-make): New function.
c9d29fb8
SM
9387 (jump-to-register, describe-register-1, insert-register):
9388 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9389 struct. (Bug#8415)
9390
5fdd4046
CY
93912011-06-26 Chong Yidong <cyd@stupidchicken.com>
9392
2afef60a
CY
9393 * vc/vc.el (vc-revert-show-diff): New defcustom.
9394 (vc-diff-internal): New arg specifying diff buffer.
9395 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9396 reuse an existing *vc-diff* buffer (Bug#8927).
9397
5fdd4046
CY
9398 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9399
e93db24a
GM
94002011-06-26 Glenn Morris <rgm@gnu.org>
9401
9402 * progmodes/f90.el (f90-critical-indent): New option.
9403 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9404 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9405 (f90-mode): Doc fix.
9406 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9407 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9408 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9409 (f90-match-end): Handle block, critical.
9410
eefff499
GM
94112011-06-25 Glenn Morris <rgm@gnu.org>
9412
f6ba4cc9
GM
9413 * calendar/diary-lib.el (diary-included-files): Doc fix.
9414 (diary-include-files): New function, extracted from
9415 diary-include-other-diary-files and diary-mark-included-diary-files.
9416 (diary-include-other-diary-files, diary-mark-included-diary-files):
9417 Just call diary-include-files.
9418 (diary-mark-entries): Reset diary-included-files on first call.
9419
16712304
GM
9420 * calendar/diary-lib.el (diary-mark-entries)
9421 (diary-mark-included-diary-files):
9422 Visit included diary-files in temp buffers.
9423
5d8e0d43
GM
9424 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9425 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9426 (f90-start-block-re, f90-imenu-generic-expression)
9427 (f90-looking-at-program-block-start, f90-no-block-limit):
9428 Add support for submodules.
9429
ccf7a5d5
GM
9430 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9431 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9432
11fdef7d 94332011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9434
9435 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9436 buffer-file-type before setting its value, to avoid disastrous
eefff499 9437 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9438
74f53697
JB
94392011-06-25 Juanma Barranquero <lekktu@gmail.com>
9440
9441 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9442
9443 * ses.el (ses-unload-function):
9444 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9445
9446 * proced.el (proced-unload-function):
9447 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9448
18a4ce5e
AR
94492011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9450
9451 * server.el (server-create-window-system-frame): Add parameters arg.
9452 (server-process-filter): Doc fix. Handle frame-parameters.
9453
519d22cc
JB
94542011-06-25 Juanma Barranquero <lekktu@gmail.com>
9455
9456 Fix bug#8730, bug#8781.
9457
9458 * loadhist.el (unload--set-major-mode): New function.
9459 (unload-feature): Use it.
9460
9461 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9462 (python-unload-function): New function.
9463
c206f5b0
SM
94642011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9465
9466 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9467
f9ad64f3
GS
94682011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9469
9470 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9471 the candidates list.
9472
7d0da90e
JB
94732011-06-24 Juanma Barranquero <lekktu@gmail.com>
9474
9475 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9476
14b4e83d
RS
94772011-06-23 Richard Stallman <rms@gnu.org>
9478
9479 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9480 (rmail-variables): Set next-error-move-function.
9481 (rmail-what-message): Take argument POS.
9482 (rmail-next-error-move): New function.
9483
273d2baf
SM
94842011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9485
9486 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9487 messages for adjacent non-terminals.
9488
56c2cc9a
RS
94892011-06-23 Richard Stallman <rms@gnu.org>
9490
9491 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9492 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9493 (rmail-start-mail): Don't specify use of rmail-mail-return;
9494 that's done by mail-bury now.
9495 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9496
d59eb518
MA
94972011-06-23 Michael Albinus <michael.albinus@gmx.de>
9498
9499 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9500 SIZE is a number.
9501
02cfc6d6
MR
95022011-06-23 Martin Rudalics <rudalics@gmx.at>
9503
9504 * window.el (get-lru-window, get-mru-window)
9505 (get-largest-window): Never return a minibuffer window.
9506 (display-buffer-pop-up-window): Fix a bug that could lead to
9507 reusing the minibuffer window.
9508 (display-buffer): Pass original specifier argument to
9509 display-buffer-function instead of the normalized one.
9510 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9511
4e323265
LL
95122011-06-22 Leo Liu <sdl.web@gmail.com>
9513
9514 * minibuffer.el (completing-read-function)
9515 (completing-read-default): Move from minibuf.c
9516
7a70468f
RS
95172011-06-22 Richard Stallman <rms@gnu.org>
9518
50718fc2
RS
9519 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9520 to Rmail even if not started by a special Rmail command.
9521
7a70468f
RS
9522 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9523 Copy the buffer currently showing just one message.
9524
297dde5a
RW
95252011-06-22 Roland Winkler <winkler@gnu.org>
9526
9527 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9528 (bibtex-clean-entry): First delete the old key so that a
9529 customized algorithm for generating the new key does not get
9530 confused by the old key.
9531 (bibtex-url): Obey regexp of first step.
9532 (bibtex-search-entries): Do not use add-to-list with local
9533 list-var.
9534
97bb1093
LMI
95352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9536
9537 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9538 stored a user name, then query for the password first, instead of
9539 waiting for SMTP to give an error message and the trying again.
9540
1c0f1a19
JD
95412011-06-22 Lawrence Mitchell <wence@gmx.li>
9542
9543 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9544 BUFFER in call-process.
9545
396f7c9d
LMI
95462011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9547
9548 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9549 QUIT twice.
ddb7ffee
LMI
9550 (smtpmail-try-auth-methods): Require user name and password from
9551 auth-source.
396f7c9d 9552
8998d1b3
MR
95532011-06-22 Martin Rudalics <rudalics@gmx.at>
9554
9555 * window.el (display-buffer-default-specifiers)
9556 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9557 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9558 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9559
9560 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9561 (special-display-frame-alist, special-display-popup-frame):
9562 Remove duplicate declarations. These are now in window.el.
9563
4ea31e07
LMI
95642011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9565
c9d29fb8
SM
9566 * mail/smtpmail.el (smtpmail-via-smtp):
9567 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9568 server supports it. SMTP servers that support STARTTLS commonly
9569 require it.
9570
9571 * net/network-stream.el (network-stream-open-starttls): Support
9572 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9573 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9574
95f41d9a
LMI
9575 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9576 upgrades with `open-network-stream', and rely solely on
9577 auth-source for all credentials. Big changes throughout the file,
9578 but in particular:
c9d29fb8
SM
9579 (smtpmail-auth-credentials): Remove.
9580 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9581 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9582 MAIL FROM, too.
95f41d9a 9583
c9d29fb8
SM
9584 * net/network-stream.el (network-stream-open-starttls):
9585 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9586 STARTTLS.
9587 (auth-source): Require.
9588 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9589 (network-stream-certificate): Change cert-cert to cert and
9590 cert-key to key.
4ea31e07 9591
065ec2c7
MA
95922011-06-21 Michael Albinus <michael.albinus@gmx.de>
9593
9594 * net/tramp-cache.el (top): Don't load the persistency file when
9595 "emacs -Q" has been called.
9596
cd93b359
DR
95972011-06-21 Tim Harper <timcharper@gmail.com>
9598
d8e4b68b
JB
9599 * term/ns-win.el (ns-initialize-window-system):
9600 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9601 resource to NO as it is not yet supported by the NS port.
9602
ae9c0411
JB
96032011-06-21 Juanma Barranquero <lekktu@gmail.com>
9604
9605 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9606 (list-dynamic-libraries): ...not here.
9607
7f3f739f
LL
96082011-06-21 Leo Liu <sdl.web@gmail.com>
9609
9610 * subr.el (sha1): Implement sha1 using secure-hash.
9611
327c8fb1
MR
96122011-06-21 Martin Rudalics <rudalics@gmx.at>
9613
9614 * window.el (display-buffer-alist): In default value do not
9615 enforce searching a window on any but the selected frame.
9616 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9617 (display-buffer-select-window): Remove function.
9618 (display-buffer-in-window): When a window on another frame gets
9619 reused, do not select it any more but just raise its frame if
9620 necessary (Bug#8851) and (Bug#8856).
9621 (display-buffer-normalize-options): Handle pop-up-frames related
9622 options more faithfully.
9623 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9624 window if it is on another frame.
c9d29fb8
SM
9625 (display-buffer-alist, display-buffer-default-specifiers):
9626 Don't make new frame unsplittable by default.
9e9de014
MR
9627 (display-buffer-normalize-argument): Fix doc-string typo and use
9628 'same-frame-other-window instead of 'other-window when associating
9629 with display-buffer-macro-specifiers.
327c8fb1 9630
7cf3f556
VB
96312011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9632
9633 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9634 New functions.
9635 (5x5-mode-map, 5x5-mode-menu): Bind them.
9636 (5x5-draw-grid): Tweak the solver's rendering.
9637
60a406cf
SM
96382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9639
9640 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9641 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9642
d8e4b68b 96432011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9644
9645 * menu-bar.el: Use function variable instead of switch-to-buffer.
9646 (menu-bar-select-buffer-function): New variable.
60a406cf 9647 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9648
478d6f95
SM
96492011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9652 variable's status.
9653
ca530739
JD
96542011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9655
9656 * x-dnd.el (x-dnd-version-from-flags)
9657 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9658 and long as number (Bug#8899).
9659 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9660
bcd70d97
SM
96612011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9662
60a406cf 9663 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9664 (completion-try-completion, completion-all-completions): Compute the
9665 metadata argument if it's missing; make it optional (bug#8795).
9666
60a406cf 9667 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9668 (widget-complete): Use new :completion-function property.
9669 (widget-completions-at-point): New function.
9670 (default): Use :completion-function instead of :complete.
60a406cf
SM
9671 (widget-default-completions): Rename from widget-default-complete;
9672 Rewrite.
bcd70d97
SM
9673 (widget-string-complete, widget-file-complete, widget-color-complete):
9674 Remove functions.
9675 (file, symbol, function, variable, coding-system, color):
9676 * international/mule-cmds.el (default-input-method, charset)
9677 (language-info-custom-alist):
9678 * cus-edit.el (face): Use new property :completions.
9679
9680 * progmodes/pascal.el (pascal-completions-at-point): New function.
9681 (pascal-mode): Use it.
9682 (pascal-mode-map): Use completion-at-point.
9683 (pascal-toggle-completions): Make obsolete.
9684 (pascal-complete-word, pascal-show-completions):
9685 * progmodes/octave-mod.el (octave-complete-symbol):
9686 Redefine as obsolete alias.
9687 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9688 Signal absence of completion info for old Octave,
9689 (inferior-octave-complete): Redefine as obsolete alias.
9690 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9691 (meta-completions-at-point): Rename from meta-complete-symbol and
9692 adapt it for use on completion-at-point-functions.
9693 (meta-common-mode): Use it.
9694 (meta-looking-at-backward, meta-match-buffer): Remove.
9695 (meta-complete-symbol): Redefine as obsolete alias.
9696 (meta-common-mode-map): Use completion-at-point.
9697 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9698 (makefile-mode-map): Use completion-at-point.
9699 (makefile-completions-at-point): Rename from makefile-complete and
9700 adapt it for use on completion-at-point-functions.
9701 (makefile-mode): Use it.
9702 (makefile-complete): Redefine as obsolete alias.
9703
aebf69c8
DD
97042011-06-20 Deniz Dogan <deniz@dogan.se>
9705
9706 * net/rcirc.el: Delete trailing whitespaces once and for all.
9707
bfbbb27d
DC
97082011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9709
9710 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9711
d264a46b
CY
97122011-06-19 Chong Yidong <cyd@stupidchicken.com>
9713
4ca009e5
CY
9714 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9715
d264a46b
CY
9716 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9717
fbf5b3ce
MR
97182011-06-19 Martin Rudalics <rudalics@gmx.at>
9719
9720 * window.el (display-buffer-other-window-means-other-frame):
9721 Call display-buffer-normalize-alist.
9722 (display-buffer-normalize-specifiers-1): Rename to
9723 display-buffer-normalize-argument. New argument other-frame.
9724 Rewrite.
9725 (display-buffer-normalize-specifiers-2): Rename to
9726 display-buffer-normalize-options.
9727 (display-buffer-normalize-alist-1): New function.
9728 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9729 display-buffer-normalize-alist.
9730 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9731 (display-buffer-normalize-options-inhibit): New variable.
9732 (display-buffer-normalize-specifiers): Rewrite calling
9733 display-buffer-normalize-alist,
9734 display-buffer-normalize-argument, and
9735 display-buffer-normalize-options. Don't call the latter if
9736 display-buffer-normalize-options-inhibit is non-nil.
9737 (frame-auto-delete): New option.
9738 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9739 (window-list-no-nils, window-state-ignored-parameters)
9740 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9741 (window-state-put-1, window-state-put-2, window-state-put):
9742 New functions.
9a028c23
MR
9743 (display-buffer-normalize-options): Move special-display-p group
9744 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9745
6d10d800
CY
97462011-06-18 Chong Yidong <cyd@stupidchicken.com>
9747
6420d28b
CY
9748 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9749 groups (Bug#8776).
9750 (rx-submatch-n): New function.
9751 (rx): Document it.
9752
ddb8b596
CY
9753 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9754 (Bug#8768).
9755
9756 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9757
77080289
CY
9758 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9759
61dfb316
CY
9760 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9761 anytime existing face settings are present (Bug#8889).
9762
6d10d800
CY
9763 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9764 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9765 Remove unused argument.
9766
be3fb2b8
MR
97672011-06-18 Martin Rudalics <rudalics@gmx.at>
9768
bcd70d97
SM
9769 * window.el (display-buffer-default-specifiers):
9770 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9771 pop-up-window-min-width, and another reuse-window specifier
9772 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9773 (display-buffer-normalize-specifiers-2):
9774 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9775 pop-up-windows is unset. Add a reuse-window specifier for the
9776 case popping up a new window fails.
9777 (special-display-popup-frame): Remove double quoting.
28dec25a 9778 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9779
1c6d8c76
SM
97802011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9783 according to comint-completion-addsuffix.
9784
9785 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9786 (pcomplete-suffix-list): Mark as obsolete.
9787 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9788 pcomplete-seen in the closure.
9789 (pcomplete-comint-setup): Setup completion-at-point as well.
9790 (pcomplete--entries): New function.
9791 (pcomplete--env-regexp): New var.
9792 (pcomplete-entries): Rewrite to work with partial-completion and
9793 without relying on pcomplete-suffix-list.
9794 (pcomplete-pare-list): Remove, unused.
9795
25aef8b8
MR
97962011-06-17 Martin Rudalics <rudalics@gmx.at>
9797
9798 * window.el (display-buffer-alist): Set pop-up-window-min-height
9799 and pop-up-window-min-width in default value. Reported by
9800 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9801 other-window-means-other-frame.
9802 (display-buffer-macro-specifiers): Comment out entry for
9803 other-window specifier.
9804 (display-buffer-other-window-means-other-frame): New function.
9805 (display-buffer-normalize-specifiers-1): New arguments
9806 buffer-name and label. Treat other-window case specially.
9807 (display-buffer-normalize-specifiers-2): Treat other-window case
9808 specially.
9809 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9810 (display-buffer-normalize-specifiers):
9811 Call display-buffer-normalize-specifiers-3.
25aef8b8 9812
dbad4f69
MR
98132011-06-17 Martin Rudalics <rudalics@gmx.at>
9814
9815 * window.el (same-window-p): Fix two typos introduced when
9816 adding with-no-warnings.
d1067961
MR
9817 (display-buffer-normalize-specifiers-1): Don't check
9818 pop-up-frames for 'unset initialization.
9819 (display-buffer-normalize-specifiers-2): Major rewrite using
9820 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9821 (pop-up-frames, display-buffer-reuse-frames)
9822 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9823 Suggested by David Engster <deng@randomsample.de>.
9824 (even-window-heights): Initialize to 'unset.
9825 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9826 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9827 other window case.
dbad4f69 9828
9b9c9e3a
MR
98292011-06-16 Martin Rudalics <rudalics@gmx.at>
9830
bcd70d97
SM
9831 * window.el (display-buffer-normalize-specifiers-1):
9832 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9833 second argument of display-buffer (Bug#8865).
981d5c09
MR
9834 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9835 (switch-to-buffer-other-window-same-frame)
9836 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9837 Adams (Bug#8875).
9c2755e9
MR
9838 (display-buffer): Don't check noninteractive when calling
9839 display-buffer-pop-up-frame.
9840 (display-buffer-pop-up-frame): Never pop up a frame in
9841 noninteractive mode (Bug#8857).
67222e1d
MR
9842 (enlarge-window, shrink-window): Don't report an error when the
9843 window can't be resized as requested (Bug#8862).
9b9c9e3a 9844
2b75be67
SM
98452011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9ffdd3ba
SM
9847 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9848
cb581a67
SM
9849 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9850
2b75be67
SM
9851 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9852
8c0e3589
AM
98532011-06-15 Alan Mackenzie <acm@muc.de>
9854
cb581a67
SM
9855 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9856 for declarators, disable knr checking to speed up for normal files.
9857 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9858
b96e6cde
LMI
98592011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9860
4bba86e6
LMI
9861 * net/network-stream.el (open-network-stream): Add the keyword
9862 :always-query-capabilities for the case where you want to force a
9863 `plain' network connection, but the protocol still requires the
9864 capabilitiy command (i.e., SMTP and EHLO).
9865
2b75be67 9866 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9867 consistency with other `-live-p' functions.
9868
efdcdbf8
SM
98692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9870
9871 * window.el (same-window-buffer-names, same-window-regexps)
9872 (special-display-frame-alist, special-display-popup-frame)
9873 (special-display-function, special-display-buffer-names)
9874 (special-display-regexps, pop-up-frame-alist)
9875 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9876 (pop-up-windows, split-window-preferred-function)
9877 (split-height-threshold, split-width-threshold, even-window-heights)
9878 (display-buffer-mark-dedicated): Don't encourage the use of
9879 display-buffer-alist from Elisp code.
9880
c5cde042
DN
98812011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9882
9883 * progmodes/python.el (python-mode): Derive from prog-mode.
9884 * progmodes/ps-mode.el (ps-mode):
9885 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9886 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9887 * progmodes/ld-script.el (ld-script-mode): Likewise.
9888
baa1c9ab
MR
98892011-06-15 Martin Rudalics <rudalics@gmx.at>
9890
9891 * window.el (display-buffer-alist): Trim default value to avoid
9892 popping up a new frame (Bug#8857) or reusing an arbitrary window
9893 on another frame.
9894 (display-buffer): Do not fall back on popping up a new frame in
9895 batch mode (Bug#8857).
9896
c5dd5a51
CY
98972011-06-14 Chong Yidong <cyd@stupidchicken.com>
9898
9899 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9900 (custom-theme-summary): New function.
9901 (customize-themes): Use it.
9902
d647b7c4
GM
99032011-06-13 Glenn Morris <rgm@gnu.org>
9904
9905 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9906
9481c002
MR
99072011-06-13 Martin Rudalics <rudalics@gmx.at>
9908
357f93d2
MR
9909 * help.el (help-window): Remove variable.
9910 (help-window-point-marker, temp-buffer-max-height)
9911 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9912 (help-print-return-message): Don't set help-window.
9913 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9914 (help-window-setup-finish): Remove.
9915 (help-window-display-message, help-window-setup)
9916 (with-help-window): Major rewrite based on new
9917 display-buffer-window variable.
9918
9919 * help-mode.el (help-mode-finish): Remove help-window related
9920 code.
9921
9922 * view.el (view-exits-all-viewing-windows): Remove reference to
9923 view-return-to-alist in doc-string.
9924 (view-return-to-alist): Make obsolete.
9925 (view-buffer): Call pop-to-buffer-same-window and remove
9926 undo-window code.
9927 (view-buffer-other-window): Call pop-to-buffer-other-window and
9928 simplify code. Ignore second argument.
9929 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9930 simplify code. Ignore second argument.
9931 (view-return-to-alist-update): Make obsolete.
9932 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9933 Rewrite using quit-restore window parameters.
2b75be67
SM
9934 (view-mode-exit): Rename second argument to EXIT-ONLY.
9935 Rewrite using quit-restore-window.
357f93d2
MR
9936 (View-exit, View-exit-and-edit, View-leave, View-quit)
9937 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9938 appropriate arguments.
9939 (view-end-message): Use quit-restore window parameter.
9940
9481c002
MR
9941 * window.el (display-buffer-function): Rewrite doc-string.
9942 (display-buffer-window, display-buffer-alist): New variables.
9943 (display-buffer-split-specifiers)
9944 (display-buffer-side-specifiers)
9945 (display-buffer-macro-specifiers): New constants.
9946 (display-buffer-even-window-sizes, display-buffer-set-height)
9947 (display-buffer-set-width, display-buffer-select-window)
9948 (display-buffer-in-window, display-buffer-reuse-window)
9949 (display-buffer-split-window-1, display-buffer-split-window)
9950 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9951 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9952 (display-buffer-in-side-window, normalize-buffer-to-display)
9953 (display-buffer-normalize-specifiers-1)
9954 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9955 (display-buffer-normalize-specifiers, display-buffer-frame):
9956 New functions.
9481c002
MR
9957 (display-buffer): Major rewrite.
9958 (display-buffer-other-window, display-buffer-other-frame)
9959 (pop-to-buffer, switch-to-buffer-other-window)
9960 (switch-to-buffer-other-frame): Rewrite.
9961 (display-buffer-same-window, display-buffer-same-frame)
9962 (display-buffer-same-frame-other-window)
9963 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9964 (pop-to-buffer-other-window)
9965 (pop-to-buffer-same-frame-other-window)
9966 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9967 (switch-to-buffer-other-window-same-frame): New functions.
9968 (same-window-p, special-display-p): Rewrite disabling warnings.
9969 Make obsolete.
9970 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9971 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9972 Make obsolete
9973 (same-window-buffer-names, same-window-regexps)
9974 (special-display-frame-alist, special-display-popup-frame)
9975 (special-display-function, special-display-buffer-names)
9976 (special-display-regexps, pop-up-frame-alist)
9977 (pop-up-frame-function, split-window-preferred-function)
9978 (split-height-threshold, split-width-threshold)
9979 (even-window-heights): Make obsolete.
9980
9db51aca
GM
99812011-06-12 Glenn Morris <rgm@gnu.org>
9982
9983 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9984 Misc simplifications.
9db51aca 9985
39cffb44
MR
99862011-06-12 Martin Rudalics <rudalics@gmx.at>
9987
9988 * window.el (window-safely-shrinkable-p): Restore function which
9989 was inadvertently removed in change from 2011-06-11. Declare as
9990 obsolete.
9991
2b75be67
SM
9992 * calendar/calendar.el (calendar-generate-window):
9993 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9994 window-safely-shrinkable-p.
9995
a8955be7
GM
99962011-06-12 Glenn Morris <rgm@gnu.org>
9997
9998 * progmodes/fortran.el (fortran-mode-syntax-table):
9999 * progmodes/f90.el (f90-mode-syntax-table):
10000 Set % to punctuation. (Bug#8820)
10001 (f90-find-tag-default): Remove, no longer needed.
10002
f0d4059d
DC
100032011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10004
10005 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10006
1100a63c
CY
100072011-06-11 Chong Yidong <cyd@stupidchicken.com>
10008
10009 * image.el (image-animated-p): Return animation delay in seconds.
10010 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10011 (image-animate-timeout): Remove DELAY argument. Don't assume
10012 every subimage has the same delay; get it from image-animated-p.
10013 (image-animate): Caller changed.
10014
def722bf
MA
100152011-06-11 Michael Albinus <michael.albinus@gmx.de>
10016
10017 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10018 to ignored backtrace functions.
10019
0a2bb1a9
GM
100202011-06-11 Glenn Morris <rgm@gnu.org>
10021
10022 * calendar/appt.el (appt-disp-window-function): Doc fix.
10023 (appt-check): Handle overlapping appointments. (Bug#8337)
10024
6198ccd0
MR
100252011-06-11 Martin Rudalics <rudalics@gmx.at>
10026
10027 * window.el (window-tree-1, window-tree): New functions, moving
10028 the latter to window.el.
10029 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10030 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10031 (bw-refresh-edges): Remove.
10032 (balance-windows-1, balance-windows-2): New functions.
10033 (balance-windows): Rewrite in terms of window tree functions,
10034 balance-windows-1 and balance-windows-2.
10035 (bw-adjust-window): Remove.
10036 (balance-windows-area-adjust): New function with functionality of
10037 bw-adjust-window but using resize-window.
2b75be67
SM
10038 (set-window-text-height): Rewrite doc-string.
10039 Use normalize-live-window and resize-window.
10040 (enlarge-window-horizontally, shrink-window-horizontally):
10041 Rename argument to DELTA.
6198ccd0
MR
10042 (window-buffer-height): New function.
10043 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10044 Rewrite using new window resize routines.
2b75be67
SM
10045 (kill-buffer-and-window, mouse-autoselect-window-select):
10046 Use ignore-errors instead of condition-case.
6198ccd0
MR
10047 (quit-window): Call delete-frame instead of delete-windows-on
10048 for the only buffer on frame.
10049
9397e56f
MR
100502011-06-10 Martin Rudalics <rudalics@gmx.at>
10051
10052 * loadup.el (top-level): Load window before files for the sake
10053 of replace-buffer-in-windows.
10054
10055 * files.el (read-buffer-to-switch)
10056 (switch-to-buffer-other-window)
2b75be67
SM
10057 (switch-to-buffer-other-frame, display-buffer-other-frame):
10058 Move to window.el.
9397e56f
MR
10059
10060 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10061 (previous-buffer): Move to window.el.
10062
10063 * bindings.el (unbury-buffer): Move to window.el.
10064
10065 * window.el (delete-other-windows-vertically): Move after
10066 definition of delete-other-windows.
10067 (other-window, delete-windows-on, replace-buffer-in-windows):
10068 Move here from window.c.
10069 (record-window-buffer, unrecord-window-buffer)
10070 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10071 (switch-to-next-buffer): New functions.
10072 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10073 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10074 (previous-buffer): Move here from simple.el.
10075 Call switch-to-prev-buffer.
9397e56f
MR
10076 (bury-buffer): Move here from buffer.c. Switch to previous
10077 buffer when window cannot be deleted.
10078 (unbury-buffer): Move here from bindings.el.
10079 (ctl-x-map): Move binding for other-window from window.c to
10080 here.
10081 (read-buffer-to-switch, switch-to-buffer-other-window)
10082 (switch-to-buffer-other-frame): Move here from files.el.
10083 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10084 (switch-to-buffer): Move here from buffer.c.
10085 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10086
562dd5e9
MR
100872011-06-10 Martin Rudalics <rudalics@gmx.at>
10088
10089 * window.el (window-min-height, window-min-width): Move here
10090 from window.c. Add defcustoms and rewrite doc-strings.
10091 (resize-mini-window, resize-window): New functions.
10092 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10093 Move here from window.c.
10094 (maximize-window, minimize-window): New functions.
10095 (delete-window, delete-other-windows, split-window): Move here
10096 from window.c.
10097 (window-split-min-size): New function.
10098 (split-window-keep-point): Mention split-window-above-each-other
10099 instead of split-window-vertically.
2b75be67 10100 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10101 Rename split-window-vertically to split-window-above-each-other
10102 and provide defalias for old definition.
10103 (split-window-side-by-side, split-window-horizontally):
10104 Rename split-window-horizontally to split-window-side-by-side
10105 and provide defalias for the old definition.
562dd5e9
MR
10106 (ctl-x-map): Move bindings for delete-window,
10107 delete-other-windows and enlarge-window here from window.c.
10108 Replace bindings for split-window-vertically and
10109 split-window-horizontally by bindings for
10110 split-window-above-each-other and split-window-side-by-side.
10111
10112 * cus-start.el (all): Remove entries for window-min-height and
10113 window-min-width. Add entries for window-splits and
10114 window-nest.
10115
f0da764a
GM
101162011-06-09 Glenn Morris <rgm@gnu.org>
10117
80675c21
GM
10118 * calendar/appt.el (appt-mode-line): New function.
10119 (appt-check, appt-disp-window): Use it.
10120
f0da764a
GM
10121 * files.el (hack-one-local-variable-eval-safep):
10122 Allow minor-modes with explicit +/-1 arguments.
10123
59f623b7
TZ
101242011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10125
10126 * term/xterm.el (xterm): Add defgroup.
10127 (xterm-extra-capabilities): Add defcustom to supply known xterm
10128 capabilities, skip querying them, or query them (default).
10129 (terminal-init-xterm): Use it.
10130 (terminal-init-xterm-modify-other-keys): New function to set up
10131 modifyOtherKeys support to simplify `terminal-init-xterm'.
10132
9aab8e0d
MR
101332011-06-09 Martin Rudalics <rudalics@gmx.at>
10134
10135 * window.el (resize-window-reset, resize-window-reset-1)
10136 (resize-subwindows-skip-p, resize-subwindows-normal)
10137 (resize-subwindows, resize-other-windows, resize-this-window)
10138 (resize-root-window, resize-root-window-vertically)
10139 (window-deletable-p, window-or-subwindow-p)
10140 (frame-root-window-p): New functions.
10141
e8b08aee
GM
101422011-06-09 Glenn Morris <rgm@gnu.org>
10143
10144 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10145 (ange-ftp-get-files): Use it.
10146
254c37a5
AK
101472011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10148
10149 * mail/sendmail.el (mail-recover-1, mail-recover):
10150 * files.el (recover-file, recover-session):
10151 Handle dired-listing-switches not being just a single short option.
10152
35d7dbd3
GM
101532011-06-09 Glenn Morris <rgm@gnu.org>
10154
10155 * calendar/appt.el (appt-display-message, appt-disp-window):
10156 Handle lists of appointments.
10157
387522b2
MR
101582011-06-08 Martin Rudalics <rudalics@gmx.at>
10159
2b75be67
SM
10160 * window.el (one-window-p): Move down in code.
10161 Rewrite doc-string.
10162 (window-current-scroll-bars): Rewrite doc-string.
10163 Normalize live window argument.
387522b2
MR
10164 (walk-windows, get-window-with-predicate, count-windows):
10165 Rewrite doc-string. Use window-list-1.
10166 (window-in-direction-2, window-in-direction, get-mru-window):
10167 New functions.
10168
d8e4b68b 101692011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10170
10171 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10172 Doc fix (Bug#8713).
10173
101742011-06-08 Chong Yidong <cyd@stupidchicken.com>
10175
10176 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10177
101782011-06-08 Juanma Barranquero <lekktu@gmail.com>
10179
10180 * loadhist.el (unload-feature-special-hooks):
10181 Add `comint-output-filter-functions'.
10182
0de12c52
IK
101832011-06-08 Ivan Kanis <gnu@kanis.fr>
10184
10185 * calendar/appt.el (appt-check): Move some initializations into the let.
10186
f3d1777e
MR
101872011-06-08 Martin Rudalics <rudalics@gmx.at>
10188
10189 * window.el (window-height): Defalias to window-total-height.
10190 (window-width): Defalias to window-body-width.
10191
18af70d0
CY
101922011-06-07 Chong Yidong <cyd@stupidchicken.com>
10193
10194 * image-mode.el (image-toggle-animation): New command.
10195 (image-mode-map): Bind it to RET.
10196 (image-mode): Update message.
10197 (image-toggle-display-image): Avoid a spurious cache flush.
10198 (image-transform-rotation): Doc fix.
10199 (image-transform-properties): Return quickly in the normal case.
10200 (image-animate-loop): Rename from image-animate-max-time.
10201
2b75be67 10202 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10203 (create-animated-image): Remove unnecessary function.
10204 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10205 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10206 (image-animate-timer): Use car-safe.
10207 (image-animate-timeout): Rename argument.
10208
190b47e6
MR
102092011-06-07 Martin Rudalics <rudalics@gmx.at>
10210
10211 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10212 window.c. Rename first argument to ALL-FRAMES.
10213 Rephrase doc-strings.
10214 (get-buffer-window-list): Rewrite using window-list-1.
10215 Rephrase doc-string.
a1511caf
MR
10216 (window-safe-min-height, window-safe-min-width): New constants.
10217 (window-size-ignore, window-min-size, window-min-size-1)
10218 (window-sizable, window-sizable-p, window-size-fixed-1)
10219 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10220 (window-max-delta-1, window-max-delta, window-resizable)
10221 (window-resizable-p, window-total-height, window-total-width)
10222 (window-body-width): New functions.
10223 (window-full-height-p, window-full-width-p): Rewrite using
10224 window-total-size.
10225 (window-body-height): Rewrite using window-body-size.
190b47e6 10226
85cc1f11
MR
102272011-06-06 Martin Rudalics <rudalics@gmx.at>
10228
10229 * window.el (window-right, window-left, window-child)
10230 (window-child-count, window-last-child, window-any-p)
10231 (normalize-live-buffer, normalize-live-frame)
10232 (normalize-any-window, normalize-live-window)
10233 (window-iso-combination-p, window-iso-combined-p)
10234 (window-iso-combinations)
10235 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10236 (windows-with-parameter, window-with-parameter)
10237 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10238 (window-atom-check, window-side-check, window-check):
10239 New functions.
85cc1f11
MR
10240 (ignore-window-parameters, window-sides, window-sides-vertical)
10241 (window-sides-slots): New variables.
10242 (window-size-fixed): Move down in code. Minor doc-string fix.
10243
e7156492
AS
102442011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10245
10246 * comint.el (comint-dynamic-complete-as-filename)
10247 (comint-dynamic-complete-filename): Correctly call
10248 completion-in-region.
10249
7e821d0d
DD
102502011-06-05 Deniz Dogan <deniz@dogan.se>
10251
10252 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10253 in last change.
10254
ac09b8a1
DD
102552011-06-05 Deniz Dogan <deniz@dogan.se>
10256
10257 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10258 (rcirc): Use it to prompt for encryption.
10259
34699b85
RW
102602011-06-05 Roland Winkler <winkler@gnu.org>
10261
10262 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10263 (bibtex-search-entries): New command bound to C-c C-a.
10264 (bibtex-display-entries): New function.
10265
004dedd3
RW
102662011-06-05 Roland Winkler <winkler@gnu.org>
10267
10268 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10269 (bibtex-insert-kill): After yanking insert newline if necessary.
10270 (bibtex-initialize): Call bibtex-string-files-init only once.
10271 (bibtex-mode): Do not call easy-menu-add.
10272 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10273 (bibtex-yank): Set arg properly if nil.
10274
022fe7ce
RW
102752011-06-05 Roland Winkler <winkler@gnu.org>
10276
2b75be67
SM
10277 * textmodes/bibtex.el (bibtex-search-entry-globally):
10278 New variable.
022fe7ce
RW
10279 (bibtex-search-entry): Use it.
10280
b7c3692a
RW
102812011-06-05 Roland Winkler <winkler@gnu.org>
10282
10283 * textmodes/bibtex.el (bibtex-entry-format): New option
10284 sort-fields.
10285 (bibtex-format-entry, bibtex-reformat): Honor this option.
10286 (bibtex-parse-entry): Return fields in proper order.
10287
8eda563d
JB
102882011-06-05 Juanma Barranquero <lekktu@gmail.com>
10289
10290 * doc-view.el (doc-view-remove-if): Move computation of result out
10291 of `dolist' to silence misleading lexical-binding warning.
10292
7dbe3dbc
CY
102932011-06-04 Chong Yidong <cyd@stupidchicken.com>
10294
10295 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10296 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10297
0c33dd17
MA
102982011-06-04 Michael Albinus <michael.albinus@gmx.de>
10299
10300 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10301 "SunOS 5.10".
10302
f8f91c2b
MA
103032011-06-04 Michael Albinus <michael.albinus@gmx.de>
10304
10305 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10306 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10307 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10308 (tramp-parse-putty):
10309 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10310 (tramp-completion-function-alist-ssh)
10311 (tramp-completion-function-alist-telnet)
10312 (tramp-completion-function-alist-su)
10313 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10314 cookie.
10315
10316 * net/tramp-ftp.el:
10317 * net/tramp-sh.el:
10318 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10319 load "tramp.el" `tramp-set-completion-function'.
10320
e17d9003
SM
103212011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10322
10323 * shell.el: Require and use pcomplete.
10324 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10325 (shell-completion-vars): Set pcomplete-default-completion-function.
10326
6c4cab03
DD
103272011-06-04 Deniz Dogan <deniz@dogan.se>
10328
10329 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10330 `memq' (Bug#8799).
10331
ea9fafe0
SM
103322011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10335
b3e945d3
JB
103362011-06-02 Juanma Barranquero <lekktu@gmail.com>
10337
10338 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10339 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10340 * vc/log-view.el (log-view-beginning-of-defun):
10341 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10342 (smerge-refine-forward, smerge-refine-chopup-region):
10343 Silence warning for unused `dotimes' counter variables.
10344
7d520089
SM
103452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10346
10347 * net/tramp.el (tramp-with-progress-reporter): Rename from
10348 with-progress-reporter. Use `declare'.
10349 * net/tramp-smb.el:
10350 * net/tramp-sh.el:
10351 * net/tramp-gvfs.el: Update all uses.
10352
a1c2400f
JB
103532011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10354
10355 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10356 buffer isn't killed before making it current.
10357
2403c841
SM
103582011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 Silence various byte-compiler warnings.
10361 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10362 `access-type' and new obsolescence format.
10363 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10364 new format.
10365 (byte-compile-check-variable): New `access-type' argument.
10366 Only warn if the access-type is obsolete.
10367 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10368 (byte-compile-variable-set): Adjust callers.
10369 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10370 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10371 setting it as obsolete.
10372 * simple.el (minibuffer-completing-symbol):
10373 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10374 access as obsolete.
10375 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10376 obsolete yet.
10377 * international/quail.el (quail-mouse-choose-completion): Remove unused
10378 code referring to obsolete var.
10379 (quail-choose-completion-string): Remove.
10380 * server.el (server-clients-with, server-kill-buffer-query-function)
10381 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10382 * proced.el (proced-send-signal):
10383 * emacs-lisp/lisp.el (lisp-complete-symbol):
10384 Replace completion-annotate-function with completion-extra-properties.
10385
2462470b
SM
103862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10387
fb5b2591
SM
10388 * simple.el (goto-line): Use read-number.
10389 (overriding-map-is-bound): Remove.
10390 (saved-overriding-map): Change default.
10391 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10392 Take the map as argument.
10393 (universal-argument, negative-argument, digit-argument): Use it.
10394 (restore-overriding-map): Adjust.
10395 (do-auto-fill): Use fill-forward-paragraph.
10396 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10397
fd6fa53f
SM
10398 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10399 (minibuffer-inactive-mode): New major mode.
10400 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10401 the *Messages* buffer" hack.
10402 (mouse-popup-menubar): Don't burp if the event is a normal key.
10403
2462470b
SM
10404 Miscellaneous tweaks.
10405 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10406 lexical scoping as in subr.el's dolist and dotimes.
10407 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10408 Silence compiler warning.
10409 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10410 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10411 * international/ccl.el (ccl-compile): Trivial simplification.
10412 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10413 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10414 `printflag' argument.
10415 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10416 Purecopy the whole obsolescence data.
10417
108bf785
LL
104182011-06-01 Leo Liu <sdl.web@gmail.com>
10419
10420 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10421 improve doc-string as suggested by Marco Pessotto
10422 <melmothx@gmail.com>.
10423 (rcirc-print): Fix last change.
10424
30a23501
SM
104252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10426
10427 * minibuffer.el (complete-with-action): Return nil for the metadata and
10428 boundaries of non-functional tables.
10429 (completion-table-dynamic): Return nil for the metadata.
10430 (completion-table-with-terminator): Add default case, using
10431 complete-with-action.
10432 (completion--metadata): New function.
10433 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10434 to try and avoid pathological performance problems.
10435 (completion--embedded-envvar-table): Return `category' metadata.
10436
bcd54f83
LMI
104372011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10438
10439 * subr.el (process-alive-p): New tiny convenience function.
10440
e227544d
SM
104412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10442
10443 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10444 content but also its previous major mode.
10445
e8296fdc
HE
104462011-05-31 Helmut Eller <eller.helmut@gmail.com>
10447
4d61f28d 10448 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10449 *Backtrace* buffer when we exit with C-M-c.
10450
620c53a6
SM
104512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10452
10453 * minibuffer.el: Add metadata method to completion tables.
10454 (completion-category-overrides): New defcustom.
10455 (completion-metadata, completion--field-metadata)
10456 (completion-metadata-get, completion--styles)
10457 (completion--cycle-threshold): New functions.
10458 (completion-try-completion, completion-all-completions):
10459 Add `metadata' argument to choose completion-styles.
10460 (completion--do-completion): Use metadata to choose cycling.
10461 (completion-all-sorted-completions): Use metadata for sorting.
10462 Remove :completion-cycle-penalty which is not needed any more.
10463 (completion--try-word-completion): Add `metadata' argument.
10464 (minibuffer-completion-help): Check metadata for annotation function
10465 and sorting.
10466 (completion-file-name-table): Return `category' metadata.
10467 (minibuffer-completing-file-name): Make obsolete.
10468 * simple.el (minibuffer-completing-symbol): Make obsolete.
10469 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10470 completion-try-completion.
10471
1257e755
SM
104722011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10473
10474 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10475
3767e706
LL
104762011-05-30 Leo Liu <sdl.web@gmail.com>
10477
10478 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10479 (rcirc-print): Decode all incoming messages (bug#8744).
10480 (rcirc-decode-coding-system): Allow value nil for automatic coding
10481 system detection.
3767e706 10482
d1a5d56a
GM
104832011-06-01 Glenn Morris <rgm@gnu.org>
10484
10485 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10486
e8cbec34
CY
104872011-05-29 Chong Yidong <cyd@stupidchicken.com>
10488
10489 * image.el (image-animate-max-time): Allow nil and t values.
10490 Default to nil.
10491 (create-animated-image): Doc fix.
10492 (image-animate-start): Remove second arg; just use
10493 image-animate-max-time.
10494 (image-animate-timeout): Doc fix. Args changed.
10495
10496 * image-mode.el (image-toggle-display-image): Ensure that the
10497 image spec passed to the animate timer is the same object as in
58179cce 10498 the buffer's display property (Bug#6981).
e8cbec34
CY
10499 (image-transform-properties): Doc fix.
10500
10501 * image.el (image-animate-max-time): Default to nil.
10502
159daf87
MR
105032011-05-29 Martin Rudalics <rudalics@gmx.at>
10504
10505 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10506 entire buffer list (Bug#8184).
10507
d66c4c7c
CY
105082011-05-29 Chong Yidong <cyd@stupidchicken.com>
10509
10510 * image.el (imagemagick-types-inhibit)
10511 (imagemagick-register-types): Doc fix.
10512
80aec780
DD
105132011-05-29 Deniz Dogan <deniz@dogan.se>
10514
10515 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10516 default.
10517
1dd3c2d9
CY
105182011-05-29 Chong Yidong <cyd@stupidchicken.com>
10519
10520 * select.el: Don't perform clipboard-manager saving in hooks;
10521 leave the hooks empty.
10522
60e56523
LL
105232011-05-28 Leo Liu <sdl.web@gmail.com>
10524
10525 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10526 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10527 (occur-edit-mode): New major mode (Bug#8463).
10528 (occur-after-change-function): New function.
10529 (occur-engine): Give Occur tags a read-only property.
10530
2b1e1a22
KR
105312011-05-28 Kevin Ryde <user42@zip.com.au>
10532
10533 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10534
5d344e88
CY
105352011-05-28 Chong Yidong <cyd@stupidchicken.com>
10536
8e6ca83d
CY
10537 * bindings.el (help-echo): Make the initial non-indicator dash
10538 empty on graphical terminals (Bug#7295).
10539
5d344e88
CY
10540 * files.el (auto-mode-alist): Move config rule after the
10541 in-stripping one (Bug#8547).
10542
bfbbace7
CY
10543 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10544
fbeba6e2
CY
10545 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10546 setting (Bug#8740).
10547
60ed8c72
AA
105482011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10549
4ac619f0
AA
10550 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10551 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10552 (Bug#8539).
60ed8c72 10553
23db196e
CY
105542011-05-28 Chong Yidong <cyd@stupidchicken.com>
10555
10556 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10557
5012f24c
DK
105582011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10559
10560 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10561 (hs-hide-block-at-point, hs-find-block-beginning)
10562 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10563 (Bug#8279).
10564
6a639b16
GM
105652011-05-28 Glenn Morris <rgm@gnu.org>
10566
10567 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10568
d43eaf2c
CY
105692011-05-28 Chong Yidong <cyd@stupidchicken.com>
10570
5199bde1
CY
10571 * help-fns.el (describe-function-1): If the function is a derived
10572 major mode, print the parent mode.
10573
d43eaf2c
CY
10574 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10575 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10576
423428a8
SM
105772011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10578
0ff8e1ba 10579 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10580 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10581 * progmodes/etags.el (tags-completion-at-point-function):
10582 * info-look.el (info-lookup-completions-at-point): Mark as
10583 non-exclusive.
10584 (info-complete): Adjust accordingly.
10585
423428a8
SM
10586 * info-look.el: Convert to lexical-binding and completion-at-point.
10587 (info-lookup-completions-at-point): New function.
10588 (info-complete): Use it and completion-in-region.
10589
b74aa22b
DA
105902011-05-28 Drew Adams <drew.adams@oracle.com>
10591
10592 * isearch.el: Let M-e start with point at the first mismatched char.
10593 (isearch-fail-pos): New function.
10594 (isearch-edit-string): Use it.
10595
66e2e71d
DK
105962011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10597
10598 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10599
b1890b0f 106002011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10601
10602 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10603 traversal functions for avl-trees.
10604 (avl-tree--stack): New struct.
10605 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10606 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10607 (avl-tree--do-enter): Add optional `updatefun' arg.
10608 Change return value.
eb95d01d 10609 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10610 (avl-tree--do-delete): Add `test' and `nilflag' args.
10611 Change return value.
eb95d01d
TC
10612 (avl-tree-member): Add optional `nilflag'
10613 (avl-tree-member-p): New function.
10614 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10615 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10616 (avl-tree-stack-empty-p): New functions.
10617
3769ddcf
TC
10618 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10619 avl-tree--del-balance1 and make it work both ways.
10620 (avl-tree--del-balance2): Remove.
10621 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10622 make it work both ways.
10623 (avl-tree--enter-balance2): Remove.
10624 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10625 New macros.
10626 (avl-tree--mapc, avl-tree-map): Add direction argument.
10627
eb95d01d 106282011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10629
10630 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10631
a9f737ee
CY
106322011-05-27 Chong Yidong <cyd@stupidchicken.com>
10633
10634 * select.el: Support clipboard managers with built-in function
10635 x-clipboard-manager-save, via delete-frame-functions and
10636 kill-emacs-hook.
10637 (xselect-convert-to-targets): Add MULTIPLE target to list.
10638 (xselect-convert-to-save-targets): New function.
10639
c92a1e54
KH
106402011-05-27 Kenichi Handa <handa@m17n.org>
10641
10642 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10643 let-binding rfc2047-encode-encoded-words to nil.
10644
e145f188
GM
106452011-05-27 Glenn Morris <rgm@gnu.org>
10646
5ec8a862
GM
10647 * mail/emacsbug.el: Don't require url-util.
10648
4b29d9fb
GM
10649 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10650
e145f188
GM
10651 * files.el (set-auto-mode):
10652 Also respect mode: entries at the end of the file. (Bug#8586)
10653
7d15102b
GM
106542011-05-26 Glenn Morris <rgm@gnu.org>
10655
98f593b8
GM
10656 * files.el (hack-local-variables-prop-line, hack-local-variables):
10657 Downcase mode names, as seems to be traditional.
27b48e63 10658 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10659
7d15102b
GM
10660 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10661 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10662
51d5b4ec
JD
106632011-05-25 Julien Danjou <julien@danjou.info>
10664
10665 * textmodes/rst.el (rst-define-level-faces): Do not define face
10666 symbol if it is already defined.
10667
91513f63
VB
106682011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10669
10670 * play/5x5.el (5x5-new-game, 5x5-randomize):
10671 Reset 5x5-solver-output to nil when a new grid is cast.
10672 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10673 these debugging traces, as defmacro breaks the compiled code.
10674
4d90d6d0
DK
106752011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10676
10677 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10678
e1b90ef6
LL
106792011-05-24 Leo Liu <sdl.web@gmail.com>
10680
10681 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10682 (vc-bzr-sha1): Adapt.
10683
d8e4b68b 10684 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10685
10686 * bindings.el: Provide sha1 feature.
10687
db0406bb 106882011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10689
10690 * mail/sendmail.el: Require `rfc2047'.
10691 (mail-insert-from-field): Do not perform RFC2047 encoding.
10692 (mail-encode-header): New function.
10693 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10694 buffer to the return value of select-message-coding-system.
10695 Call mail-encode-header.
b8d747b9
KH
10696
10697 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10698
db0406bb 106992011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10700
4d90d6d0
DK
10701 * mail/supercite.el (sc-default-cite-frame):
10702 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10703
eb8a5e9b
GM
107042011-05-24 Glenn Morris <rgm@gnu.org>
10705
f8630703
GM
10706 * progmodes/python.el (brm-menu): Declare.
10707
8831bbed
GM
10708 * emulation/viper.el (viper-set-hooks): Declare.
10709
eb8a5e9b
GM
10710 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10711 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10712 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10713 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10714 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10715 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10716
a2a25d24
SM
107172011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10718
10719 Add an :exit-function for completion-at-point.
10720
10721 * minibuffer.el (completion--done): New fun.
10722 (completion--do-completion): Use it. New arg `expect-exact'.
10723 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10724 since completion--do-completion does it for us now.
10725 (minibuffer-force-complete): Use completion--done and
10726 completion--replace. Handle sole-completion case with more care.
10727 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10728 (completion-extra-properties): New var.
10729 (completion-annotate-function): Make obsolete.
10730 (minibuffer-completion-help): Adjust accordingly.
10731 Use completion-list-insert-choice-function.
10732 (completion-at-point, completion-help-at-point):
10733 Bind completion-extra-properties.
10734 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10735 * simple.el (completion-list-insert-choice-function): New var.
10736 (completion-setup-function): Preserve it.
10737 (choose-completion): Pay attention to it, shuffle the code a bit.
10738 (choose-completion-string): New arg `insert-function'.
10739
10740 * textmodes/bibtex.el: Convert to lexical binding.
10741 (bibtex-mode-map): Use completion-at-point.
10742 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10743 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10744 (bibtex-complete): Define as obsolete alias.
10745 (bibtex-complete-internal): Remove.
10746 (bibtex-format-entry): Remove unused sub-group in regexp.
10747 * shell.el (shell--command-completion-data)
10748 (shell-environment-variable-completion):
10749 * pcomplete.el (pcomplete-completions-at-point):
10750 * comint.el (comint--complete-file-name-data): Use :exit-function
10751 instead of completion-table-with-terminator so it also works for
10752 choose-completion.
10753
e44e373d
SM
107542011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10755
4f91a816
SM
10756 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10757
782fc819
SM
10758 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10759 (bug#8710).
10760
e44e373d
SM
10761 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10762
381987c3
KM
107632011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10764
10765 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10766 customization variable and implement: If non-nil, auto-fill will
10767 be inhibited while on topic's header line.
10768
b776bc70
VB
107692011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10770
10771 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10772 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10773 always have a solution in grid size = 5 cases.
10774 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10775 (5x5-solver-output, 5x5-log-buffer): New vars.
10776 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10777 Make these variables buffer local to achieve 5x5 multi-session-ness.
10778 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10779 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10780 (5x5-solve-suggest): New funs.
10781 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10782 randomize a grid so that we ensure that there is always a solution.
10783 (5x5-make-random-grid): Allow other movement than flipping.
10784
7de88b6e
KR
107852011-05-23 Kevin Ryde <user42@zip.com.au>
10786
10787 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10788 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10789 advice and passes PREDICATE.
10790
b1ef1257
SM
107912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10792
bbca48fe
SM
10793 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10794 byte-compile-lambda if it's actually a lambda.
10795
b1ef1257
SM
10796 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10797 Fix function quoting. Use backquote better.
10798
92a9cc65
YS
107992011-05-22 Yuanle Song <sylecn@gmail.com>
10800
10801 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10802 matching (Bug#8516).
10803
f0fb8059
JA
108042011-01-22 Jari Aalto <jari.aalto@cante.net>
10805
10806 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10807 different face (Bug#8178).
10808
d5b44c93
CY
108092011-05-22 Chong Yidong <cyd@stupidchicken.com>
10810
10811 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10812 defface (Bug#8144).
10813
79106a44
SM
108142011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10815
9c848d8a
SM
10816 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10817 funcall as well (bug#8712). Warn when performing those conversions.
10818 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10819
79106a44
SM
10820 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10821
88dfa756
GM
108222011-05-22 Glenn Morris <rgm@gnu.org>
10823
10824 * files.el (hack-local-variables-prop-line): Small simplifications.
10825 (hack-local-variables, hack-local-variables-prop-line):
10826 If MODE-ONLY, return the mode, rather than just `t'.
10827
b7cf2c79
SM
108282011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10829
10830 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10831
3f1a8558
GM
108322011-05-21 Glenn Morris <rgm@gnu.org>
10833
7e4ccca3
GM
10834 * files.el (hack-local-variables-prop-line, hack-local-variables):
10835 If only interested in the mode, don't bother doing the other stuff.
10836
637d46ca
GM
10837 * image-mode.el (image-after-revert-hook):
10838 Redraw all frames on which the image is visible. (Bug#8567)
10839
973d955b
GM
10840 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10841
3f1a8558
GM
10842 * wid-edit.el (widget-checklist-match-inline):
10843 Fix 2011-04-19 change. (Bug#8649)
10844
96479927
SM
108452011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10846
1dcf791f
SM
10847 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10848 Also allow singlespace after single-letter capitals followed by a dot.
10849
96479927
SM
10850 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10851 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10852
35fd0881
N
108532011-05-20 Nix <nix@esperi.org.uk>
10854
10855 * files.el (basic-save-buffer-2):
10856 Fix handling of break-hardlink-on-save with non-existent files.
10857
82745640
DD
108582011-05-19 Deniz Dogan <deniz@dogan.se>
10859
10860 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10861 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10862
4a720484
GM
108632011-05-19 Glenn Morris <rgm@gnu.org>
10864
d1f21341
GM
10865 * progmodes/f90.el (f90-type-def-re):
10866 Handle "type, bind(c)". (Bug#8691)
10867
4a720484
GM
10868 * emacs-lisp/autoload.el (batch-update-autoloads):
10869 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10870
2fb0a219
MA
108712011-05-18 Michael Albinus <michael.albinus@gmx.de>
10872
10873 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10874 property for the correct connection in case of multihops.
10875
e565dd37
GM
108762011-05-18 Glenn Morris <rgm@gnu.org>
10877
c2571358 10878 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10879 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10880
e565dd37
GM
10881 Rationalize calendar handling of day and month abbrev-arrays.
10882 * calendar/calendar.el (calendar-customized-p): New function.
10883 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10884 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10885 Add :set function.
10886 (calendar-abbrev-length, calendar-day-abbrev-array)
10887 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10888 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10889 Elements may no longer be nil.
10890 (calendar-day-name, calendar-month-name):
10891 Update for changed nature of abbrev arrays.
10892 * calendar/diary-lib.el (diary-name-pattern):
10893 Update for changed nature of abbrev arrays.
10894 (diary-mark-entries-1): Update calendar-make-alist calls.
10895 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10896 * calendar/cal-html.el (cal-html-day-abbrev-array):
10897 Simply inherit from calendar-day-abbrev-array.
10898
1d99a745
SM
108992011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10900
10901 * progmodes/grep.el (grep-mode): Disable default
10902 compilation-directory-matcher setting (bug#8684).
10903
7c1d9aa0
MA
109042011-05-17 Michael Albinus <michael.albinus@gmx.de>
10905
10906 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10907 instead of "head" and "tail". There were problems with SunOS 5.9,
10908 and it performs better.
10909
3952e9d8
GM
109102011-05-17 Glenn Morris <rgm@gnu.org>
10911
2dd12e7f
GM
10912 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10913
e4157b9c
GM
10914 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10915 Replace obsolete function.
10916
8e249bbd
GM
10917 * shell.el (pcomplete-parse-arguments-function): Declare.
10918
3952e9d8
GM
10919 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10920 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10921 (appt-check): Doc fixes.
10922 (appt-disp-window-function, appt-delete-window-function):
10923 Remove needless special case in custom :type.
10924 (appt-display-count): Default to 0, not nil.
10925 (appt-check): Reset appt-display-count to 0, not nil.
10926
c71a0d48 109272011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10928
c71a0d48
GM
10929 * progmodes/python.el (python-font-lock-keywords):
10930 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10931
31d55be9
SM
109322011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10935
3bfacb2f
KR
109362011-05-16 Kevin Ryde <user42@zip.com.au>
10937
10938 * info-look.el (makefile-automake-mode): New setups, looking in
10939 automake manual, then makefile-mode.
10940 (makefile-mode): Remove automake manual, have it just in
10941 makefile-automake-mode since there's various things different or
10942 not relevant to plain make.
10943 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10944 believe a hypothetical automake-mode would go to makefile-mode,
10945 not the other way around.
10946
c8e83751
CY
109472011-05-15 Chong Yidong <cyd@stupidchicken.com>
10948
5e9e35cd
CY
10949 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10950 hunk-end tags (Bug#8672).
10951
c8e83751
CY
10952 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10953 vc-annotate-show-diff-revision-at-line (Bug#8671).
10954
50b23e5a
GM
109552011-05-14 Glenn Morris <rgm@gnu.org>
10956
7210a739
GM
10957 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10958 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10959 (change-log-font-lock-keywords): Also handle multiple author lines
10960 with leading tabs. (Bug#8644)
7210a739 10961
4691905a
GM
10962 * calendar/appt.el (appt-check): Rename some local variables.
10963 Some simplification/reordering.
10964
50b23e5a
GM
10965 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10966 (feedmail-sendmail-f-doesnt-sell-me-out)
10967 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10968 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10969 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10970 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10971 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10972 (feedmail-binmail-gnulinuxish-template):
10973 Rename from feedmail-binmail-linuxish-template.
10974 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10975 Use insert-buffer-substring.
10976
215cda7c
BC
109772011-05-14 Bill Carpenter <bill@carpenter.org>
10978
10979 * mail/feedmail.el (feedmail-patch-level): Increase.
10980 (feedmail-debug): New custom group.
10981 (feedmail-confirm-outgoing-timeout)
10982 (feedmail-sendmail-f-doesnt-sell-me-out)
10983 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10984 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10985 (feedmail-sender-line, feedmail-from-line)
10986 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10987 (feedmail-spray-this-address)
215cda7c
BC
10988 (feedmail-spray-address-fiddle-plex-list)
10989 (feedmail-queue-use-send-time-for-date)
10990 (feedmail-queue-use-send-time-for-message-id)
10991 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10992 (feedmail-buffer-eating-function):
10993 Doc fixes.
10994 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10995 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10996 (feedmail-message-action-scroll-down): New functions.
10997 (feedmail-queue-directory, feedmail-queue-draft-directory):
10998 Use expand-file-name.
10999 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11000 Remove C-v help entry.
11001 (feedmail-queue-buffer-file-name): New variable.
11002 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11003 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11004 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11005 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11006 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11007 (feedmail-message-action-toggle-spray)
11008 (feedmail-run-the-queue-no-prompts)
11009 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11010 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11011 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11012 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11013 (feedmail-envelope-deducer, feedmail-fiddle-from)
11014 (feedmail-fiddle-sender, feedmail-default-date-generator)
11015 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11016 (feedmail-fiddle-spray-address)
11017 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11018 (feedmail-fiddle-list-of-fiddle-plexes)
11019 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11020 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11021 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11022 Change default. Doc fix.
11023 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11024 (feedmail-binmail-linuxish-template): New constant.
11025 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11026 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11027 (feedmail-send-it): Add debug call.
11028 Use feedmail-queue-buffer-file-name, and
11029 feedmail-send-it-immediately-wrapper.
11030 (feedmail-message-action-send): Add debug call.
11031 Use feedmail-send-it-immediately-wrapper.
11032 (feedmail-queue-express-to-queue): Add debug call.
11033 Run feedmail-queue-express-hook.
11034 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11035 (feedmail-message-action-help-blat):
11036 Rename from feedmail-queue-send-edit-prompt-help-first.
11037 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11038 Check line-endings. Handle errors better.
11039 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11040 Doc fix. Add debug call.
11041 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11042 Use feedmail-queue-send-edit-prompt-inner.
11043 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11044 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11045 from feedmail-queue-send-edit-prompt.
11046 (feedmail-queue-send-edit-prompt-help)
11047 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11048 (feedmail-tidy-up-slug): Add debug call.
11049 Respect feedmail-queue-slug-suspect-regexp.
11050 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11051 (feedmail-dump-message-to-queue): Add debug call.
11052 Expand queue-directory.
11053 (feedmail-dump-message-to-queue): Change message slightly.
11054 Use feedmail-say-chatter.
11055 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11056 (feedmail-send-it-immediately-wrapper): New function.
11057 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11058 Insert empty string rather than newline. Handle full-frame case.
11059 Use catch/throw. Use feedmail-say-chatter.
11060 (feedmail-fiddle-from): Try mail-host-address.
11061 (feedmail-default-message-id-generator): Doc fix.
11062 Bind system-time-locale. Handle missing end.
11063 (feedmail-fiddle-x-mailer): Add debug call.
11064 Handle feedmail-x-mailer-line being nil.
11065 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11066 Add debug call. Use buffer-substring-no-properties.
11067 (feedmail-say-debug, feedmail-say-chatter): New functions.
11068 (feedmail-find-eoh): Give an explicit error.
11069
42c7e61e
UJ
110702011-05-13 Ulf Jasper <ulf.jasper@web.de>
11071
c2571358 11072 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11073 family from helvetica to sans.
c2571358 11074 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11075 etc/images/newsticker.
11076
c2571358 11077 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11078 family from helvetica to sans.
11079
11080 * net/newst-plainview.el (newsticker-new-item-face)
11081 (newsticker-old-item-face, newsticker-immortal-item-face)
11082 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11083 (newsticker-statistics-face): Change default family from
42c7e61e 11084 helvetica to sans.
c2571358 11085 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11086 etc/images/newsticker.
11087
5d3385a0
JB
11088 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11089 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11090 auto-marking.
11091
8497a297
DV
110922011-05-13 Didier Verna <didier@xemacs.org>
11093
11094 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11095 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11096 TODO entries.
8497a297
DV
11097 (lisp-lambda-list-keyword-parameter-indentation)
11098 (lisp-lambda-list-keyword-parameter-alignment)
11099 (lisp-lambda-list-keyword-alignment): New customizable user options.
11100 (lisp-indent-defun-method): Improve docstring.
11101 (extended-loop-p): Fix comment.
11102 (lisp-indent-lambda-list-keywords-regexp): New variable.
11103 (lisp-indent-lambda-list): New function.
11104 (lisp-indent-259): Use it.
11105 (lisp-indent-defmethod): Support for more than one
11106 method qualifier and properly indent methods lambda-lists.
11107 (defgeneric): Provide a missing common-lisp-indent-function property.
11108
f278f87f
SM
111092011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11110
11111 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11112 bounds for the empty string (bug#8667).
11113
5233edd7
GM
111142011-05-13 Glenn Morris <rgm@gnu.org>
11115
5237a44f
GM
11116 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11117
8340026c 11118 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11119 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11120
5233edd7 11121 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11122 (appt-time-msg-list): Doc fix.
a5464014 11123 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11124
92d10796
AS
111252011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11126
11127 * progmodes/ld-script.el (ld-script-keywords)
11128 (ld-script-builtins): Update keywords list.
11129
914a0ae1
SM
111302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11131
c89be45f
SM
11132 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11133
914a0ae1
SM
11134 * shell.el (shell-completion-vars): New function.
11135 (shell-mode):
11136 * simple.el (read-shell-command): Use it.
11137 (blink-matching-open): No need for " [...]" in minibuffer-message.
11138
98dc3df3
GM
111392011-05-12 Glenn Morris <rgm@gnu.org>
11140
11141 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11142 (appt-check): Simplify.
11143
d2fc7e3d 111442011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11145
4d61f28d 11146 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11147 literal "/dev/null".
11148
d2fc7e3d 111492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11150
11151 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11152 Fix typo.
11153
d2fc7e3d 111542011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11155
3f254caa
SM
11156 * progmodes/which-func.el (which-function):
11157 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11158 which might not be defined (Bug#8260).
11159
d45885f7
GM
111602011-05-12 Glenn Morris <rgm@gnu.org>
11161
11162 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11163 Let byte-compile-initial-macro-environment always take precedence.
11164
488086f4
SM
111652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11166
11167 * net/rcirc.el: Add support for SSL/TLS connections.
11168 (rcirc-server-alist): New field `encryption'.
11169 (rcirc): Check `encryption' settings.
11170 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11171 Merge make-local-variable into `set'.
11172 (rcirc--connection-open-p): New function.
11173 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11174 the process is not a network process (e.g. running gnutls-cli).
11175 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11176 Make rcirc-(en|de)code-coding-system local here.
11177 (rcirc-mode): Merge make-local-variable into `set'.
11178 (rcirc-parent-buffer): Make permanent buffer-local.
11179 (rcirc-multiline-minor-mode): Don't do it here.
11180 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11181 there's no server buffer.
11182
7d3b9d44
GM
111832011-05-11 Glenn Morris <rgm@gnu.org>
11184
f64049c6
GM
11185 * newcomment.el (comment-kill): Prefix "unused" local.
11186
93c9df73
GM
11187 * term/w32console.el (get-screen-color): Declare.
11188
7d3b9d44
GM
11189 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11190 Handle symbol elements of byte-compile-initial-macro-environment.
11191
9e2dd53f
LL
111922011-05-10 Leo Liu <sdl.web@gmail.com>
11193
488086f4
SM
11194 * bookmark.el (bookmark-bmenu-mode-map):
11195 Bind bookmark-bmenu-search to `/'.
8b340240 11196
9e2dd53f 11197 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11198 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11199 (Footnote-unicode): New function.
11200 (footnote-style-alist): Add unicode style to the list.
11201 (footnote-style): Doc fix.
9e2dd53f 11202
79b70037
GM
112032011-05-10 Jim Meyering <meyering@redhat.com>
11204
11205 Fix doubled-word typos.
11206 * international/quail.el (quail-insert-kbd-layout): and and -> and
11207 * kermit.el: and and -> and
11208 * net/ldap.el (ldap-search-internal): to to -> to
11209 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11210 * progmodes/js.el (js-mode): and and -> and
11211 * textmodes/artist.el (artist-move-to-xy): at at -> at
11212 (artist-draw-region-trim-line-endings): if if -> if
11213 And Safetyc -> Safety.
11214 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11215
b8f82dc1 112162011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11217 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11218
11219 * files.el (hack-one-local-variable-eval-safep):
11220 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11221
4f99f44b
GM
112222011-05-10 Glenn Morris <rgm@gnu.org>
11223
11224 * calendar/diary-lib.el (diary-list-entries-hook)
11225 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11226 (diary-nongregorian-marking-hook, diary-list-entries)
11227 (diary-include-other-diary-files, diary-mark-entries)
11228 (diary-mark-included-diary-files): Doc fixes.
11229
84f29e6b
JB
112302011-05-09 Juanma Barranquero <lekktu@gmail.com>
11231
11232 * misc.el: Require tabulated-list.el during compilation.
11233
9bedd73a
CY
112342011-05-09 Chong Yidong <cyd@stupidchicken.com>
11235
488086f4
SM
11236 * progmodes/compile.el (compilation-start):
11237 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11238 (compilation-filter-hook): Doc fix.
11239
797c735c
DD
112402011-05-09 Deniz Dogan <deniz@dogan.se>
11241
11242 * wdired.el: Remove outdated installation comment. Fix usage
11243 comment.
11244
5f4b1dfe
JB
112452011-05-09 Juanma Barranquero <lekktu@gmail.com>
11246
11247 * misc.el: Implement new command `list-dynamic-libraries'.
11248 (list-dynamic-libraries--loaded-only-p): New variable.
11249 (list-dynamic-libraries--refresh): New function.
11250 (list-dynamic-libraries): New command.
11251
4c44026c
CY
112522011-05-09 Chong Yidong <cyd@stupidchicken.com>
11253
488086f4
SM
11254 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11255 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11256 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11257 higher priority to avoid clobbering by gnu.
11258
027f966d
CY
112592011-05-08 Chong Yidong <cyd@stupidchicken.com>
11260
11261 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11262 if the face has existing theme settings (Bug#8454).
11263
085f5d7d
CY
112642011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11265
488086f4
SM
11266 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11267 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11268
2a86a00c
RS
11269 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11270 special file names `.' and `..' (Bug#8259).
11271
d9c54a06
CY
112722011-05-08 Chong Yidong <cyd@stupidchicken.com>
11273
488086f4
SM
11274 * progmodes/grep.el (grep-mode-font-lock-keywords):
11275 Remove buffer-changing entries.
d9c54a06
CY
11276 (grep-filter): New function.
11277 (grep-mode): Add it to compilation-filter-hook.
11278
11279 * progmodes/compile.el (compilation-filter-hook)
11280 (compilation-filter-start): New defvars.
11281 (compilation-filter): Call compilation-filter-hook prior to
11282 updating the process mark.
11283
c4662635
SM
112842011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11285
11286 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11287
b0512a1d
EZ
112882011-05-07 Eli Zaretskii <eliz@gnu.org>
11289
605c9376
EZ
11290 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11291 mailclient-send-it even if window-system is nil. (Bug#8595)
11292
c4662635
SM
11293 * term/w32console.el (terminal-init-w32console):
11294 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11295 background-mode. (Bug#8597)
11296
d1dc2cc2
SM
112972011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11298
11299 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11300 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11301 New functions.
11302 (defgeneric, eieio--defmethod): Use them.
11303 (eieio-defgeneric): Remove.
11304 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11305
915d1300
GM
113062011-05-07 Glenn Morris <rgm@gnu.org>
11307
a3961c3e
GM
11308 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11309 Use let rather than let*.
11310 (timeclock-find-discrep): Remove unused local.
11311
314347b9
GM
11312 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11313
915d1300
GM
11314 * calendar/appt.el (appt-time-msg-list): Doc fix.
11315
275b59b0
NF
113162011-05-06 Noah Friedman <friedman@splode.com>
11317
11318 * apropos.el (apropos-print-doc): Only use
11319 emacs-lisp-docstring-fill-column when it is bound to an integer,
11320 per that variable's documentation.
11321
6c19f744
SM
113222011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11325 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11326
60f884b2
GM
113272011-05-06 Glenn Morris <rgm@gnu.org>
11328
5006e634
GM
11329 * calendar/appt.el (appt-message-warning-time): Doc fix.
11330 (appt-warning-time-regexp): New option.
11331 (appt-make-list): Respect appt-message-warning-time.
11332
548d0a63
GM
11333 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11334 New options.
11335 (diary-add-to-list): Strip comments from the displayed string.
11336 (diary-mode): Set comment-start and comment-end.
11337
60f884b2
GM
11338 * vc/diff-mode.el (smerge-refine-subst): Declare.
11339 (diff-refine-hunk): Don't require smerge-mode when compiling.
11340
989681bb
JB
113412011-05-06 Juanma Barranquero <lekktu@gmail.com>
11342
11343 * simple.el (list-processes): Return nil as the docstring says.
11344
a6bc05e1
MA
113452011-05-05 Michael Albinus <michael.albinus@gmx.de>
11346
11347 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11348 to "".
11349 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11350 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11351 determining of binary transfer. (Bug#7383)
11352
23c22e9a
MA
113532011-05-05 Michael Albinus <michael.albinus@gmx.de>
11354
c4662635
SM
11355 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11356 Fix port computation bug. (Bug#8618)
23c22e9a 11357
0bff894f
GM
113582011-05-05 Glenn Morris <rgm@gnu.org>
11359
b8296902
GM
11360 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11361
1f522ce8
GM
11362 * simple.el (shell-dynamic-complete-functions)
11363 (comint-dynamic-complete-functions): Declare.
11364
cf5bee67
GM
11365 * net/network-stream.el (gnutls-negotiate):
11366 * simple.el (tabulated-list-print): Fix declarations.
11367
11368 * progmodes/gud.el (syntax-symbol, syntax-point):
11369 Remove unnecessary and incorrect declarations.
11370
0bff894f
GM
11371 * emacs-lisp/check-declare.el (check-declare-scan):
11372 Handle byte-compile-initial-macro-environment in bytecomp.el
11373
9869b3ae
SM
113742011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 Fix earlier half-done eieio-defmethod change (bug#8338).
11377 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11378 Streamline and change calling convention.
11379 (defmethod): Adjust accordingly and simplify.
11380 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11381 new eieio--defmethod.
11382 (slot-boundp): Minor CSE simplification.
11383
9c1d5ac5
MZ
113842011-05-05 Milan Zamazal <pdm@zamazal.org>
11385
11386 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11387 (glasses-make-readable): Use glasses-separate-capital-groups.
11388
455c834e
JB
113892011-05-05 Juanma Barranquero <lekktu@gmail.com>
11390
11391 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11392 (warning-series): Doc fix.
11393 (display-warning): Don't try to create the buffer if we just found it.
11394
9ed7c8cb
CY
113952011-05-04 Chong Yidong <cyd@stupidchicken.com>
11396
11397 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11398 (autoload-find-generated-file): New function.
11399 (generate-file-autoloads): Bind generated-autoload-file to
11400 buffer-file-name.
9869b3ae
SM
11401 (update-file-autoloads, update-directory-autoloads):
11402 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11403 output file (Bug#7989).
11404 (batch-update-autoloads): Doc fix.
11405
0898ca10
JB
114062011-05-04 Juanma Barranquero <lekktu@gmail.com>
11407
11408 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11409
31dfb76c
GM
114102011-05-04 Glenn Morris <rgm@gnu.org>
11411
f330b642
GM
11412 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11413 function, so it follows changes in calendar-date-style.
11414 (diary-fancy-date-matcher): New function.
11415 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11416 (diary-fancy-font-lock-fontify-region-function):
11417 Use diary-fancy-date-pattern as a function.
11418
31dfb76c
GM
11419 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11420 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11421
48e79d6a
TZ
114222011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11423
11424 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11425 instead of positional arguments. Allow :keylist and :crlfiles
11426 arguments.
11427 (open-gnutls-stream): Call it.
11428
11429 * net/network-stream.el (network-stream-open-starttls): Adjust to
11430 call `gnutls-negotiate' with :process and :hostname arguments.
11431
dd5a5ee0
SM
114322011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11433
ef80fc09
SM
11434 * minibuffer.el (completion--message): New function.
11435 (completion--do-completion, minibuffer-complete)
11436 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11437 (completion--do-completion): Don't ignore completion-auto-help when in
11438 icomplete-mode.
11439
dd5a5ee0
SM
11440 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11441 internal encoding (e.g. tibetan zero is not whitespace).
11442 (global-whitespace-mode): Prefer save-current-buffer.
11443 (whitespace-trailing-regexp): Remove useless save-match-data.
11444 (whitespace-empty-at-bob-regexp): Minor simplification.
11445
b7d22a83
CY
114462011-05-03 Chong Yidong <cyd@stupidchicken.com>
11447
11448 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11449
5192af46
AM
114502011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11451
11452 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11453 Use `concat' to create string for insertion.
5192af46 11454
5767d190
SM
114552011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11456
11457 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11458 Avoid open-line which runs post-self-insert-hook.
11459 (bibtex-fill-entry): Remove unused `end' var.
11460
bf242939
AM
114612011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11462
5767d190
SM
11463 * textmodes/ispell.el (ispell-add-per-file-word-list):
11464 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11465
25666126
LL
114662011-05-03 Leo Liu <sdl.web@gmail.com>
11467
11468 * isearch.el (isearch-yank-pop): New command.
5767d190 11469 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11470 (isearch-forward): Mention it.
11471
52d3c2d0
SM
114722011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11473
1bcace58
SM
11474 * simple.el (minibuffer-complete-shell-command): Remove.
11475 (minibuffer-local-shell-command-map): Use completion-at-point.
11476 (read-shell-command): Setup completion vars here instead.
11477 (read-expression-map): Bind TAB to symbol completion.
11478
52d3c2d0
SM
11479 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11480 error directly rather via storing it into `results'.
11481
35813471
LL
114822011-05-02 Leo Liu <sdl.web@gmail.com>
11483
11484 * vc/diff.el: Fix description.
11485
e793a940
LMI
114862011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11487
11488 * server.el (server-eval-at): New function.
11489
8de66e05
LMI
114902011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11491
11492 * net/network-stream.el (open-network-stream): Take a :nowait
11493 parameter and pass it on to `make-network-process'.
11494 (network-stream-open-plain): Ditto.
11495
dcb79f20
AS
114962011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11497
11498 * faces.el (face-spec-set-match-display): Don't match toolkit
11499 options on terminal frames.
11500
14a7fbd8
SM
115012011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11502
7eabc1be
SM
11503 * progmodes/pascal.el: Use lexical binding.
11504 (pascal-mode-map): Remove author preferences.
11505
14a7fbd8
SM
11506 * pcomplete.el (pcomplete-std-complete): Don't abuse
11507 completion-at-point.
11508
50f84510
JB
115092011-04-28 Juanma Barranquero <lekktu@gmail.com>
11510
6e087a44
JB
11511 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11512 removing code that has been dead since 1991 or so.
11513
50f84510
JB
11514 * startup.el (command-line): When warning about "_emacs", use a
11515 delayed warning to allow the user to filter it out.
11516
0ba690bd
DD
115172011-04-28 Deniz Dogan <deniz@dogan.se>
11518
11519 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11520 user has not joined.
11521
08abfaad
SM
115222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11525 aren't any completions at point.
11526
638f053a
JB
115272011-04-28 Juanma Barranquero <lekktu@gmail.com>
11528
11529 * subr.el (display-delayed-warnings): New function.
11530 (delayed-warnings-hook): New variable.
11531
8fff8daa
SM
115322011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11533
08abfaad
SM
11534 * minibuffer.el (completion-at-point, completion-help-at-point):
11535 Don't presume that a given completion-at-point-function will always
11536 use the same calling convention.
11537
8fff8daa
SM
11538 * pcomplete.el (pcomplete-completions-at-point):
11539 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11540 pcomplete-seen is non-nil.
11541 (pcomplete-comint-setup): Also recognize the new comint/shell
11542 completion functions.
11543 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11544 pcomplete-seen is non-nil.
11545
841a1577 115462011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11547
841a1577 11548 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11549 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11550 the first character in the entry. This allows for code to add its
211ec907
UJ
11551 own uid to the entry.
11552 (icalendar--convert-float-to-ical): Add export of
11553 `diary-float'-entries save for those with the optional DAY
11554 argument.
11555
2a782793
DC
115562011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11557
11558 * subr.el (shell-quote-argument): Use alternate escaping strategy
11559 when we spot a variable reference in a string.
11560
0438ce91
DC
115612011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11562
11563 * cus-start.el (all): Define customization for debug-on-event.
11564
841a1577 115652011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11566
11567 * subr.el (shell-quote-argument): Escape correctly under Windows.
11568
d090ed6c
SM
115692011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11570
11571 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11572
bfd31217
MA
115732011-04-25 Michael Albinus <michael.albinus@gmx.de>
11574
d090ed6c
SM
11575 * net/tramp.el (tramp-process-actions): Add POS argument.
11576 Delete region between POS and (pos).
bfd31217 11577
d090ed6c
SM
11578 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11579 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11580 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11581
11582 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11583 position in `tramp-process-actions' call.
11584
11585 * net/trampver.el: Update release number.
11586
e92f3bd3
SM
115872011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11588
850256b5
SM
11589 * custom.el (defcustom): Obey lexical-binding.
11590
e92f3bd3
SM
11591 Fix octave-inf completion problems reported by Alexander Klimov.
11592 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11593 Inherit from octave-mode-syntax-table.
11594 (inferior-octave-mode): Set info-lookup-mode.
11595 (inferior-octave-completion-at-point): New function.
11596 (inferior-octave-complete): Use it and completion-in-region.
11597 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11598 comint-filename-completion.
11599 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11600 symbol elements which shouldn't be word elements.
11601 (octave-font-lock-keywords, octave-beginning-of-defun)
11602 (octave-function-header-regexp): Adjust regexps accordingly.
11603 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11604
cd22b309
JB
116052011-04-25 Juanma Barranquero <lekktu@gmail.com>
11606
11607 * net/gnutls.el (gnutls-errorp): Declare before first use.
11608
8b492194
TZ
116092011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11610
11611 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11612 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11613 default trustfile exists before going to use it. Add missing
5a5fa834 11614 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11615 Reported by Claudio Bley <claudio.bley@gmail.com>.
11616 (open-gnutls-stream): Add usage example.
11617
11618 * net/network-stream.el (network-stream-open-starttls): Give host
11619 parameter to `gnutls-negotiate'.
11620 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11621 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11622
841a1577 116232011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11624
cd22b309
JB
11625 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11626 Use correct match group (bug#8438).
05842630 11627
3ba7869c
CY
116282011-04-24 Chong Yidong <cyd@stupidchicken.com>
11629
512e3ae1
CY
11630 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11631 (package-menu--generate): New arg specifying packages to show.
11632 (package-menu-refresh, package-menu-execute, list-packages):
11633 Callers changed.
11634 (package-show-package-list): New function, replacing deleted
11635 package--list-packages (renamed because it is non-internal).
11636
11637 * finder.el (finder-list-matches): Use package-show-package-list
11638 instead of deleted package--list-packages.
11639
e92f3bd3
SM
11640 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11641 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11642 (vc-annotate-mode-map): Bind it to RET.
11643
7031be6d
UR
116442011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11645
11646 * progmodes/etags.el (next-file): Don't use set-buffer to change
11647 buffers (Bug#8478).
11648
4ef177aa
CY
116492011-04-24 Chong Yidong <cyd@stupidchicken.com>
11650
c8d173eb
CY
11651 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11652
4ef177aa
CY
11653 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11654 (apropos-accumulator): Doc fix.
11655 (apropos-function, apropos-macro, apropos-command)
11656 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11657 (apropos-plist): Add face property.
11658 (apropos-symbols-internal): Fix indentation.
11659 (apropos-print): Simplify help, and recognize apropos-multi-type.
11660 (apropos-print-doc): Use button-type-get to extract the button's
11661 face property. Fill docstring (Bug#8352).
11662
4ffd0d6b 116632011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11664
11665 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11666
c6c32125 11667 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11668 (mpuz-mode-map): Use mapc.
c6c32125
JB
11669 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11670 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11671 Fix typos in docstrings.
11672
58d468b4
JB
11673 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11674 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11675
6470c3c6
JB
11676 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11677
4ffd0d6b 116782011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11679
11680 * minibuffer.el (completion--do-completion): Avoid the "Next char
11681 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11682
3ad8bad0
CY
11683 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11684 mouse-2 into unread-command-events, it is interpreted correctly.
11685
71d73c9c 11686 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11687 (image-toggle-display): Doc fix.
71d73c9c 11688
841a1577 116892011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11690
4ffd0d6b
GM
11691 * textmodes/page.el (what-page): Use line-number-at-pos to
11692 calculate line number (Bug#6825).
6e1dbaa9 11693
c2fb1b60
JB
116942011-04-22 Juanma Barranquero <lekktu@gmail.com>
11695
11696 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11697 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11698 Pass argument NO-DEFAULT to `find-tag-interactive'.
11699
e02f48d7
JB
117002011-04-22 Juanma Barranquero <lekktu@gmail.com>
11701
11702 Lexical-binding cleanup.
11703
11704 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11705 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11706 * progmodes/ada-prj.el (ada-prj-initialize-values)
11707 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11708 (ada-prj-show-value):
11709 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11710 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11711 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11712 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11713 * progmodes/bug-reference.el (bug-reference-push-button):
11714 * progmodes/fortran.el (fortran-line-length):
11715 * progmodes/glasses.el (glasses-change):
11716 * progmodes/octave-mod.el (octave-fill-paragraph):
11717 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11718 (python-pdbtrack-grub-for-buffer, python-sentinel):
11719 * progmodes/sql.el (sql-save-connection):
11720 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11721 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11722 Mark unused parameters.
11723
11724 * progmodes/compile.el (compilation--flush-directory-cache)
11725 (compilation--flush-parse, compile-internal): Mark unused parameters.
11726 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11727 (compilation-next-error-function): Remove unused variable `timestamp'.
11728
11729 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11730 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11731
11732 * progmodes/dcl-mode.el (dcl-end-of-command):
11733 Remove unused variable `start'.
11734 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11735 (dcl-option-value-basic, dcl-option-value-offset)
11736 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11737 Mark unused parameters.
11738 (dcl-save-local-variable): Remove unused variable `val'.
11739 (mode): Declare.
11740
11741 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11742 Mark unused parameters.
11743 (delphi-ignore-changes): Move before first use.
11744 (delphi-charset-token-at): Remove unused variable `start'.
11745 (delphi-else-start): Remove unused variable `if-count'.
11746 (delphi-comment-block-start, delphi-comment-block-end):
11747 Remove unused variable `kind'.
11748 (delphi-indent-line): Remove unused variable `new-point'.
11749
11750 * progmodes/ebrowse.el (ebrowse-files-list)
11751 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11752 Mark unused parameters. Don't quote `lambda'.
11753 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11754 Don't quote `lambda'.
11755 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11756 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11757 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11758 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11759 Use `ignore-errors'.
11760 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11761 (ebrowse-view/find-file-and-search-pattern)
11762 (ebrowse-view/find-member-declaration/definition):
11763 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11764 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11765 Rename parameter PREFIX-ARG to PREFIX.
11766 (ebrowse-tags-read-name): Remove unused variables `start' and
11767 `member-info'.
11768 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11769 to `tags-file'.
11770
11771 * progmodes/etags.el (local-find-tag-hook): Declare.
11772 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11773 Mark unused parameters.
11774
11775 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11776 (executable-interpret): Mark unused parameter.
11777
11778 * progmodes/flymake.el (flymake-process-sentinel)
11779 (flymake-after-change-function)
11780 (flymake-create-temp-with-folder-structure)
11781 (flymake-get-include-dirs-dot): Mark unused parameters.
11782 (flymake-safe-delete-directory): Remove unused variable `err'.
11783
11784 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11785 (speedbar-timer-fn, speedbar-line-text)
11786 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11787 (speedbar-center-buffer-smartly): Declare functions.
11788 (gdb-find-watch-expression): Remove unused variable `array'.
11789 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11790 (gdb-starting): Mark unused parameters.
11791 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11792 (gdb-table-string): Remove unused variable `res'.
11793 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11794 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11795 (gdb-display-buffer): Remove unused variable `cur-size'.
11796
11797 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11798 allow lexical-binding compilation.
11799 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11800 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11801 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11802 Mark unused parameters.
11803 (gud-gdb-marker-filter): Remove unused variable `match'.
11804 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11805 lambda expressions and funcall them, instead of using `fset'.
11806
11807 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11808 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11809
11810 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11811 variable `header-beg'; use `let'.
11812
11813 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11814 `restart', `last-sexp' and `at-do'.
11815
11816 * progmodes/js.el (js--debug): Mark unused parameter.
11817 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11818 (js--splice-into-items): Remove unused variable `item'.
11819 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11820
11821 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11822 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11823 (makefile-complete): Remove unused variable `try'.
11824 (makefile-fill-paragraph, makefile-match-function-end):
11825 Mark unused parameters.
11826
11827 * progmodes/octave-inf.el (inferior-octave-complete):
11828 Remove unused variable `proc'.
11829 (inferior-octave-output-digest): Mark unused parameter.
11830
11831 * progmodes/perl-mode.el (perl-calculate-indent):
11832 Remove unused variable `err'.
11833
11834 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11835 (prolog-indent-line): Mark unused parameters.
11836 (prolog-indent-line): Remove unused variable `beg'.
11837
11838 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11839 (reporter-dont-compact-list): Declare.
11840
11841 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11842 Remove unused variable `char'.
11843 (sh-debug): Mark unused parameter.
11844 (sh-get-indent-info): Remove unused variable `start'.
11845 (sh-calculate-indent): Remove unused variable `var'.
11846
11847 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11848 (simula-electric-keyword): Remove unused variable `null'.
11849 (simula-search-backward, simula-search-forward): Remove unused
11850 variables `begin' and `end'.
11851
11852 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11853 Remove unused variable `pos'.
11854 (vera-electric-tab, vera-comment-uncomment-region):
11855 Mark unused parameters.
11856 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11857
7ede3b65
CY
118582011-04-22 Chong Yidong <cyd@stupidchicken.com>
11859
11860 * emacs-lisp/package.el (package--builtins, package-alist)
11861 (package-load-descriptor, package-built-in-p, package-activate)
11862 (define-package, package-installed-p)
11863 (package-compute-transaction, package-buffer-info)
11864 (package--push): Doc fix. Distinguish more clearly between
11865 version strings and version lists.
11866
121656e9
JB
118672011-04-21 Juanma Barranquero <lekktu@gmail.com>
11868
11869 Lexical-binding cleanup.
11870
11871 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11872 (5x5-make-mutate-best):
11873 * play/fortune.el (fortune-in-buffer):
11874 * play/gomoku.el (gomoku-init-display):
11875 * play/solitaire.el (solitaire, solitaire-do-check):
11876 * play/tetris.el (tetris-default-update-speed-function):
11877 Mark unused parameters.
11878
11879 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11880 (bubbles--shift): Remove unused variable `char-org'.
11881 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11882 (bubbles--show-images): Remove unused variable `char'.
11883
11884 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11885 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11886 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11887 (decipher-analyze-buffer): Use ?\s.
11888 (decipher-make-checkpoint): Remove unused variable `mapping'.
11889
11890 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11891
11892 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11893 Remove unused variable `result'; use `let'.
11894
11895 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11896 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11897 (gametree-children-shown-p, gametree-compute-reduced-score):
11898 Use `ignore-errors'.
11899
11900 * play/handwrite.el (ps-lpr-switches): Declare.
11901 (handwrite): Remove unused variables `pmin' and `lastp'.
11902
11903 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11904
11905 * play/landmark.el (landmark-init-display)
11906 (landmark-update-naught-weights): Mark unused parameters.
11907 (landmark-y): Remove unused variable `noise'. Simplify.
11908 (landmark-human-plays): Remove unused variable `score'.
11909
11910 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11911 (mpuz-try-proposal): Remove unused variable `game'.
11912
11913 * play/zone.el (life-patterns): Declare.
11914
80f499c7
JB
119152011-04-20 Juanma Barranquero <lekktu@gmail.com>
11916
11917 * vc/vc.el (ediff-vc-internal): Declare function.
11918
024ff170
SM
119192011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11920
c0a193ea
SM
11921 * shell.el: Use lexical-binding and std completion UI.
11922 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11923 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11924 comint-preoutput-filter-functions rather than on
11925 comint-output-filter-functions.
11926 (shell-command-completion, shell--command-completion-data)
11927 (shell-filename-completion, shell-environment-variable-completion)
11928 (shell-c-a-p-replace-by-expanded-directory): New functions.
11929 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11930 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11931 (shell-dynamic-complete-environment-variable): Use them.
11932 (shell-dynamic-complete-as-environment-variable)
11933 (shell-dynamic-complete-as-command): Remove.
11934 (shell-match-partial-variable): Match past point.
11935 * comint.el: Clean up use of completion-at-point-functions.
11936 (comint-completion-at-point): New function.
11937 (comint-mode): Use it completion-at-point-functions.
11938 (comint-dynamic-complete): Make it obsolete.
11939 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11940 (comint-c-a-p-replace-by-expanded-history): New function.
11941 (comint-dynamic-complete-functions)
11942 (comint-replace-by-expanded-history): Use it.
11943 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11944 termination strings. Try harder to avoid second try-completion.
11945 (completion-in-region-mode-map): Disable bindings that don't work yet.
11946
2dbaa080
SM
11947 * comint.el: Use lexical-binding. Require CL.
11948 (comint-dynamic-complete-functions): Use comint-filename-completion.
11949 (comint-completion-addsuffix): Tweak custom type.
11950 (comint-filename-completion, comint--common-suffix)
11951 (comint--common-quoted-suffix, comint--table-subvert)
11952 (comint--complete-file-name-data): New functions.
11953 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11954 (comint-dynamic-list-filename-completions): Use them.
11955 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11956
2dbaa080
SM
11957 * minibuffer.el (completion-in-region-mode):
11958 Keep completion-in-region-mode--predicate global.
11959 (completion-in-region--postch):
11960 Assume completion-in-region-mode--predicate is not null.
11961
c79a6f38
SM
11962 * progmodes/flymake.el (flymake-start-syntax-check-process):
11963 Obey `dir'. Simplify.
11964
024ff170
SM
11965 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11966 we're in VC after all.
11967
1c6c854e
CS
119682011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11969
11970 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11971 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11972 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11973
bed7f140
SM
119742011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11975
332e62ab
SM
11976 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11977 add sanity check.
11978
bed7f140
SM
11979 * obsolete/erc-hecomplete.el: Make obsolete.
11980 * obsolete/: Standardize obsolescence info in the header.
11981
f195c582
GM
119822011-04-20 Glenn Morris <rgm@gnu.org>
11983
11984 * calendar/solar.el (solar-horizontal-coordinates):
11985 Use the longitude argument rather than `calendar-longitude'.
11986 (solar-date-next-longitude): Remove unused locals.
11987
cb79b8c0
VJL
119882011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11989
11990 * whitespace.el: New version 13.2.1.
11991
119922011-04-20 felix <EmacsWiki> (tiny change)
11993
d8e4b68b 11994 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11995 switching between major modes on a file.
11996
602ea69d
SM
119972011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12000 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12001 multi-line comments as well.
12002
06b60517
JB
120032011-04-19 Juanma Barranquero <lekktu@gmail.com>
12004
12005 Lexical-binding cleanup.
12006
12007 * arc-mode.el (archive-mode-revert):
12008 * cmuscheme.el (scheme-interactively-start-process):
12009 * custom.el (custom-initialize-delay):
12010 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12011 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12012 * emacs-lock.el (emacs-lock-clear-sentinel):
12013 * ezimage.el (defezimage):
12014 * follow.el (follow-avoid-tail-recenter):
12015 * fringe.el (set-fringe-mode-1):
12016 * generic-x.el (bat-generic-mode-compile):
12017 * help-mode.el (help-info-variable, help-do-xref)
12018 (help-mode-revert-buffer):
12019 * help.el (view-emacs-todo):
12020 * iswitchb.el (iswitchb-completion-help):
12021 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12022 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12023 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12024 * locate.el (locate-update):
12025 * longlines.el (longlines-encode-region)
12026 (longlines-after-change-function):
12027 * outline.el (outline-isearch-open-invisible):
12028 * ps-def.el (declare-function, charset-dimension, char-width)
12029 (encode-char):
12030 * ps-mule.el (ps-mule-plot-string):
12031 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12032 (recentf-edit-list-select, recentf-edit-list-validate)
12033 (recentf-open-files-action):
12034 * rect.el (delete-whitespace-rectangle-line)
12035 (rectangle-number-line-callback):
12036 * register.el (window-configuration-to-register)
12037 (frame-configuration-to-register):
12038 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12039 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12040 (xselect-convert-to-targets, xselect-convert-to-delete)
12041 (xselect-convert-to-filename, xselect-convert-to-charpos)
12042 (xselect-convert-to-lineno, xselect-convert-to-colno)
12043 (xselect-convert-to-os, xselect-convert-to-host)
12044 (xselect-convert-to-user, xselect-convert-to-class)
12045 (xselect-convert-to-name, xselect-convert-to-integer)
12046 (xselect-convert-to-atom, xselect-convert-to-identity):
12047 * subr.el (declare, ignore, process-kill-without-query)
12048 (text-clone-maintain):
12049 * terminal.el (te-get-char, te-tic-sentinel):
12050 * tool-bar.el (tool-bar-make-keymap):
12051 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12052 * type-break.el (type-break-mode, type-break-noninteractive-query):
12053 * view.el (View-back-to-mark):
12054 * wid-browse.el (widget-browse-action, widget-browse-widget)
12055 (widget-browse-widgets, widget-browse-sexp):
12056 * widget.el (define-widget-keywords):
12057 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12058 Mark unused parameters.
12059
12060 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12061 (align-areas): Remove unused variable `look'.
12062 (align-region): Remove unused variables `real-end' and `pos-list'.
12063
12064 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12065
12066 * bindings.el (mode-line-modified, mode-line-remote):
12067 Mark unused parameters.
12068 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12069
12070 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12071 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12072
12073 * comint.el (comint-history-isearch-pop-state)
12074 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12075 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12076 (comint-substitute-in-file-name): Doc fix.
12077
12078 * completion.el (cmpl-statistics-block): Mark unused parameter.
12079 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12080 (save-completions-to-file, load-completions-from-file):
12081 Remove unused local variable `e'.
12082
12083 * composite.el (compose-chars): Remove unused variable `len'.
12084 (lgstring-insert-glyph): Remove unused variable `g'.
12085 (compose-glyph-string): Remove unused variables `ascent',
12086 `descent', `lbearing' and `rbearing'.
12087 (compose-glyph-string-relative): Remove unused variables
12088 `lbearing', `rbearing' and `wadjust'.
12089 (compose-gstring-for-graphic): Remove unused variables `header',
12090 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12091 (compose-gstring-for-terminal): Remove unused variables `header'
12092 and `nchars'. Use `let', not `let*'.
12093
12094 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12095 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12096 (Custom-buffer-done, custom-buffer-create-internal)
12097 (custom-browse-visibility-action, custom-browse-group-tag-action)
12098 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12099 (widget-magic-mouse-down-action, custom-toggle-parent)
12100 (custom-add-parent-links, custom-toggle-hide-variable)
12101 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12102 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12103 (custom-face-menu-create, custom-variable-menu-create, get)
12104 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12105 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12106 (customize-apropos): Remove unused variable `tests'.
12107 (custom-group-value-create): Remove unused variable `hidden-p'.
12108 (sort-fold-case): Declare.
12109
12110 * cus-theme.el (custom-reset-standard-faces-list)
12111 (custom-reset-standard-variables-list): Declare.
12112 (customize-create-theme, custom-theme-revert, custom-theme-write)
12113 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12114 Mark unused parameters.
12115
12116 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12117
12118 * delim-col.el (delimit-columns-max): Move defvar before first use.
12119
12120 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12121 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12122
12123 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12124 (auto-insert): Declare.
12125 (desktop-restore-file-buffer): Rename desktop-* parameters;
12126 mark unused ones.
12127 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12128 (desktop-buffer): Rename desktop-* parameters.
12129
12130 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12131 (dframe-reposition-frame-xemacs, dframe-help-echo)
12132 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12133 Mark unused parameters.
12134
12135 * dired-aux.el (backup-extract-version-start, overwrite-query)
12136 (overwrite-backup-query, rename-regexp-query)
12137 (rename-non-directory-query): Declare.
12138 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12139 (dired-add-entry): Remove unused variable `orig-file-name'.
12140 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12141 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12142 `dired-copy-preserve-time' directly.
12143 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12144 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12145
12146 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12147 (dired-virtual-revert, dired-make-relative-symlink):
12148 Mark unused parameters.
12149 (manual-program): Declare.
12150 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12151 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12152 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12153
12154 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12155
12156 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12157
12158 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12159 Declare.
12160
12161 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12162
12163 * electric.el (Electric-command-loop): Rename parameter
12164 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12165
12166 * expand.el (expand-in-literal): Remove unused variable `here'.
12167
12168 * facemenu.el (facemenu-add-new-color):
12169 Remove unused variable `docstring'.
12170
12171 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12172 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12173 (face-attr-construct): Mark unused parameter. Doc fix.
12174 (read-color): Remove unused variable `hex-string'.
12175
12176 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12177 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12178 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12179 (display-buffer-other-frame): Remove unused variable `old-window'.
12180 (kill-buffer-hook): Declare.
12181 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12182 Mark unused parameters.
12183 (after-find-file): Pass 1 to `auto-save-mode', not t.
12184
12185 * files-x.el (auto-insert): Declare.
12186 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12187
12188 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12189 variable `buf'. Mark unused parameter.
06b60517
JB
12190 (find-lisp-insert-directory): Mark unused parameter.
12191
12192 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12193 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12194 (format-common-tail): Remove, unused.
12195 (format-deannotate-region): Remove unused variable `loc'.
12196 (format-annotate-region): Remove unused variable `p'.
12197 (format-annotate-single-property-change): Remove unused variables
12198 `default' and `tail'.
12199
12200 * forms.el (read-file-filter): Declare.
12201 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12202
12203 * frame.el (frame-creation-function-alist): Mark unused parameter.
12204 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12205
12206 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12207 Remove unused parameters.
12208 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12209 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12210
12211 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12212 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12213 (hfy-prepare-tag-map): Mark unused parameters.
12214 (htmlfontify-buffer): Use `called-interactively-p'.
12215
12216 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12217 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12218 (ibuffer-do-occur): Mark unused parameters.
12219 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12220 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12221
12222 * ibuffer.el: Don't quote `lambda'.
12223 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12224 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12225 Mark unused parameters.
12226
12227 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12228 (ido-completing-read): Mark unused parameters.
12229 (ido-copy-current-word): Mark unused parameters;
12230 remove unused variable `name'.
12231 (ido-sort-merged-list): Remove unused parameter `dirs'.
12232
12233 * ielm.el (ielm-input-sender): Mark unused parameter.
12234 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12235 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12236 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12237 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12238 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12239
12240 * image-dired.el (image-dired-display-thumbs): Remove unused
12241 variables `curr-file' and `count'.
12242 (image-dired-remove-tag): Remove unused variable `start'.
12243 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12244 variable `curr-file'
12245 (image-dired-rotate-original): Remove unused variable `temp-file'.
12246 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12247 Remove unused variable `file'.
12248 (image-dired-gallery-generate): Remove unused variable `curr'.
12249 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12250
12251 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12252
12253 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12254
12255 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12256
12257 * isearch.el (minibuffer-history-symbol): Declare.
12258 (isearch-edit-string): Remove unused variable `err'.
12259 (isearch-message-prefix, isearch-message-suffix):
12260 Mark unused parameters.
12261
12262 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12263
12264 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12265
12266 * makesum.el (double-column): Remove unused variable `cnt'.
12267
12268 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12269 (ido-ignore-item-temp-list): Declare.
12270
12271 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12272 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12273 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12274 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12275 `mouse-col-delta'.
12276
12277 * mouse-sel.el (mouse-extend-internal):
12278 Remove unused variable `orig-window-frame'.
12279
12280 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12281 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12282 Move declarations before first use.
12283 (pcomplete-opt): Mark unused parameters; doc fix.
12284
12285 * proced.el (proced-revert): Mark unused parameter.
12286 (proced-send-signal): Remove unused variable `err'.
12287
12288 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12289 Rename parameter PREFIX-ARG to ARG.
12290 (ps-basic-plot-string, ps-basic-plot-whitespace):
12291 Mark unused parameters.
12292
12293 * replace.el (replace-count): Define.
12294 (occur-revert-function): Mark unused parameters.
12295 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12296 (isearch-case-fold-search, isearch-string): Declare.
12297 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12298 bind `case-fold-search'. Remove unused variables `beg' and `end',
12299 and simplify.
12300 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12301 COUNT and bind `replace-count'.
12302 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12303 to COUNT.
12304
12305 * savehist.el (print-readably, print-string-length): Declare.
12306
12307 * shadowfile.el (shadow-expand-cluster-in-file-name):
12308 Remove unused variable `cluster'.
12309 (shadow-copy-file): Remove unused variable `i'.
12310 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12311 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12312 (shadow-define-literal-group, shadow-define-regexp-group)
12313 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12314
12315 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12316 (shell): Use `called-interactively-p'.
12317 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12318
12319 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12320 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12321 (delete-backward-char): Remove unused variable `ocol'.
12322 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12323 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12324 (event-apply-hyper-modifier, event-apply-shift-modifier)
12325 (event-apply-control-modifier, event-apply-meta-modifier):
12326 Mark unused parameters.
12327 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12328 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12329
12330 * speedbar.el (speedbar-ignored-directory-expressions)
12331 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12332 (speedbar-find-file, speedbar-dir-follow)
12333 (speedbar-directory-buttons-follow, speedbar-tag-find)
12334 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12335 (speedbar-buffers-line-directory, speedbar-buffer-click):
12336 Mark unused parameters.
12337 (speedbar-tag-file): Remove unused variable `mode'.
12338 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12339
12340 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12341
12342 * talk.el (talk): Remove unused variable `display'.
12343
12344 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12345 (tar-write-region-annotate): Mark unused parameter.
12346
12347 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12348 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12349 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12350 warning by another.
12351
12352 * time-stamp.el (time-stamp-string-preprocess):
12353 Remove unused variable `require-padding'.
12354
12355 * tree-widget.el (widget-glyph-enable): Declare.
12356 (tree-widget-action): Mark unused parameter.
12357
12358 * w32-fns.el (x-get-selection): Mark unused parameter.
12359 (autoload-make-program, generated-autoload-file): Declare.
12360
12361 * wdired.el (wdired-revert): Mark unused parameters.
12362 (wdired-xcase-word): Remove unused variable `err'.
12363
12364 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12365 (whitespace-help-scroll): Remove unused variable `data-help'.
12366
12367 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12368 (widget-image-insert, widget-after-change, default)
12369 (widget-default-format-handler, widget-default-notify)
12370 (widget-default-prompt-value, widget-info-link-action)
12371 (widget-url-link-action, widget-function-link-action)
12372 (widget-variable-link-action, widget-file-link-action)
12373 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12374 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12375 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12376 (widget-insert-button-action, widget-delete-button-action, visibility)
12377 (widget-documentation-link-action, widget-documentation-string-action)
12378 (widget-const-prompt-value, widget-regexp-match, symbol)
12379 (widget-coding-system-prompt-value)
12380 (widget-key-sequence-value-to-external, sexp)
12381 (widget-sexp-value-to-internal, character, vector, cons)
12382 (widget-choice-prompt-value, widget-boolean-prompt-value)
12383 (widget-color--choose-action): Mark unused parameters.
12384 (widget-item-match-inline, widget-choice-match-inline)
12385 (widget-checklist-match, widget-checklist-match-inline)
12386 (widget-group-match): Rename parameter VALUES to VALS.
12387 (widget-field-value-set): Remove unused variable `size'.
12388 (widget-color-action): Remove unused variables `value' and `start'.
12389
12390 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12391 variable `dir'. Doc fix.
06b60517
JB
12392 (windmove-find-other-window): Don't pass it.
12393
12394 * window.el (count-windows): Mark unused parameter.
12395 (bw-adjust-window): Remove unused variable `err'.
12396
12397 * woman.el (woman-file-name): Remove unused variable `default'.
12398 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12399 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12400 (global-font-lock-mode): Declare.
12401 (woman-decode-region): Mark unused parameter.
12402 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12403
12404 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12405 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12406 (x-dnd-handle-moz-url): Remove unused variable `title'.
12407 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12408
12409 * xml.el (xml-parse-tag, xml-parse-attlist):
12410 Remove unused variable `pos'.
12411
bc4f7f3d
GM
124122011-04-19 Glenn Morris <rgm@gnu.org>
12413
12414 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12415 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12416 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12417 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12418 * calendar/cal-html.el (cal-html-insert-minical):
12419 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12420 (calendar-mark-date-pattern):
12421 Prefix "unused" locals.
12422
12423 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12424 optional argument `style'.
12425
12426 * calendar/appt.el (appt-make-list):
12427 * calendar/cal-china.el (calendar-chinese-date-string):
12428 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12429 (diary-hebrew-yahrzeit):
12430 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12431 * calendar/calendar.el (calendar-generate-window):
12432 * calendar/time-date.el (time-to-days):
12433 Remove unused local variables.
12434
16a43933
CY
124352011-04-18 Chong Yidong <cyd@stupidchicken.com>
12436
12437 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12438 glyphless-char-display table.
12439 (tabulated-list-glyphless-char-display): New var.
12440
7eed1860
SS
124412011-04-18 Sam Steingold <sds@gnu.org>
12442
12443 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12444 to acknowledgments.
12445
4d2d1ccd
GM
124462011-04-17 Glenn Morris <rgm@gnu.org>
12447
12448 * calendar/diary-lib.el (diary-sexp-entry):
12449 * calendar/holidays.el (holiday-sexp):
12450 Set debug-on-error rather than the removed stack-trace-on-error.
12451
239da61d
GM
124522011-04-16 Glenn Morris <rgm@gnu.org>
12453
12454 * progmodes/f90.el: Use lexical-binding.
12455 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12456
8b05752a
SM
124572011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12458
daca8ba5
SM
12459 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12460 (mail-mode): Setup mailalias completion here instead.
12461 * mail/mailalias.el: Use lexical-binding.
12462 (pattern, mailalias-done): Declare dynamic.
12463 (mail-completion-at-point-function): New function, from mail-complete.
12464 (mail-complete): Use it.
12465 (mail-completion-expand): New function.
12466 (mail-get-names): Use it.
12467 (mail-directory, mail-directory-process, mail-directory-stream):
12468 Don't use `pattern' for lexically bound arg.
12469
6f542485
SM
12470 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12471
037e7c3f
SM
12472 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12473 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12474 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12475
8b05752a
SM
12476 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12477 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12478 (byte-interactive-p): Define them again, for use when inlining
12479 old code.
12480
49093f60
JB
124812011-04-15 Juanma Barranquero <lekktu@gmail.com>
12482
12483 * loadup.el: Use `string-to-number', not `string-to-int'.
12484
b5b8e7de
SM
124852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12486
12487 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12488 gud-gdb-complete-command.
12489 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12490 (gud-gdb-completion-at-point): New function.
12491 (gud-gdb-completions): Remove.
12492
f42efeb5
MA
124932011-04-14 Michael Albinus <michael.albinus@gmx.de>
12494
49093f60
JB
12495 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12496 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12497 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12498 whether `executable-find' is bound.
f42efeb5
MA
12499
12500 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12501
e240cc21
SM
125022011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12503
12504 * minibuffer.el (completion-in-region-mode-predicate)
12505 (completion-in-region-mode--predicate): New vars.
12506 (completion-in-region, completion-in-region--postch)
12507 (completion-in-region-mode): Use them.
12508 (completion--capf-wrapper): Also return the hook function.
12509 (completion-at-point, completion-help-at-point):
12510 Adjust and provide a predicate.
c2bd2ab0
SM
12511
12512 Preserve arg names for advice of subr and lexical functions (bug#8457).
12513 * help-fns.el (help-function-arglist): Consolidate the subr and
12514 new-byte-code cases. Add argument `preserve-names' to extract names
12515 from the docstring when needed.
12516 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12517 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12518 (ad-arglist): Use help-function-arglist's new arg.
12519 (ad-definition-type): Use cond.
12520
c183f693
JB
125212011-04-13 Juanma Barranquero <lekktu@gmail.com>
12522
06641a47
JB
12523 * autorevert.el (auto-revert-handler):
12524 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12525 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12526 Don't quote lambda.
12527
c183f693
JB
12528 * image-mode.el (image-transform-set-scale):
12529 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12530
1e3b6001
G
125312011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12532
12533 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12534 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12535 Upgrades via gnutls-cli are too slow to be done opportunistically.
12536
2d6af8dd
JB
125372011-04-12 Juanma Barranquero <lekktu@gmail.com>
12538
12539 * dframe.el (dframe-current-frame): Remove spurious quote.
12540
c0749a51
GM
125412011-04-12 Glenn Morris <rgm@gnu.org>
12542
088d0d61
GM
12543 * calendar/cal-tex.el (cal-tex-end-document):
12544 Try to automatically use latin1 input if needed.
12545
c0749a51
GM
12546 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12547 Don't try to cons a mark onto an empty element.
12548
5c90fde0
LL
125492011-04-11 Leo Liu <sdl.web@gmail.com>
12550
12551 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12552 buffers.
12553 (ido-kill-buffer-at-head): Support killing virtual buffers.
12554
369e974d
CY
125552011-04-10 Chong Yidong <cyd@stupidchicken.com>
12556
12557 * minibuffer.el (completion-show-inline-help): New var.
12558 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12559 (minibuffer-force-complete, minibuffer-complete-word):
12560 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12561
12562 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12563 to avoid interference from inline help (Bug#5849).
12564
37f1c930
LL
125652011-04-10 Leo Liu <sdl.web@gmail.com>
12566
099c39a4
JB
12567 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12568 Fix typo.
37f1c930 12569
a32d4040
CY
125702011-04-09 Chong Yidong <cyd@stupidchicken.com>
12571
12572 * image-mode.el (image-toggle-display-image): Signal an error if
12573 not in Image mode.
12574 (image-transform-mode, image-transform-resize)
12575 (image-transform-set-rotation): Doc fix.
daca8ba5 12576 (image-transform-set-resize): Delete.
a32d4040
CY
12577 (image-transform-set-scale, image-transform-fit-to-height)
12578 (image-transform-fit-to-width): Handle image-toggle-display-image
12579 and image-transform-resize directly.
12580
099c39a4 125812011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12582
12583 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12584 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12585 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12586 (doc-view-mode-map): Add bindings for the new functions.
12587
099c39a4 125882011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12589
4d61f28d 12590 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12591 Fix typo in docstring.
12592
3726838a
EZ
125932011-04-08 Eli Zaretskii <eliz@gnu.org>
12594
04f33f1e
EZ
12595 * files.el (file-size-human-readable): Produce one digit after
12596 decimal, like "ls -lh" does.
12597
12598 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12599 the file size representation.
12600
3726838a
EZ
12601 * simple.el (list-processes): If async subprocesses are not
12602 available, error out with a clear error message.
12603
cbb59342
CY
126042011-04-08 Chong Yidong <cyd@stupidchicken.com>
12605
12606 * help.el (help-form-show): New function, to be called from C.
12607 Put help-form output in a buffer named differently than *Help*.
12608
e3971c44
EZ
126092011-04-08 Eli Zaretskii <eliz@gnu.org>
12610
12611 * files.el (file-size-human-readable): New function.
12612
12613 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12614 computing the representation inline. Don't require `cl'.
12615
12544bbe
GM
126162011-04-08 Glenn Morris <rgm@gnu.org>
12617
a1de6c6a
GM
12618 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12619
3c4671f4
GM
12620 * net/browse-url.el (browse-url-firefox):
12621 Test system-type, not system-configuration.
12622
b605679c
GM
12623 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12624 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12625 Use log-edit-empty-buffer-p. (Bug#7598)
12626
56442f0c
GM
12627 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12628 (rlogin-mode-map): Initialize in the defvar.
12629 (rlogin): Use ignore-errors.
12630
12544bbe
GM
12631 * replace.el (occur-mode-map): Some fixes for menu items.
12632
eb237b0f
AH
126332011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12634
12635 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12636
7d668f2c
CY
126372011-04-06 Chong Yidong <cyd@stupidchicken.com>
12638
e67a13ab
CY
12639 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12640 issuing unused warnings.
12641
12642 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12643 macro directly.
12644
7d668f2c
CY
12645 * simple.el: Lisp reimplement of list-processes. Based on an
12646 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12647 (process-menu-mode): New major mode.
12648 (list-processes--refresh, list-processes):
12649 (process-menu-visit-buffer): New functions.
12650
12651 * files.el (save-buffers-kill-emacs): Don't assume any return
12652 value of list-processes, which is undocumented anyway.
12653
a83ec3c9
CY
126542011-04-06 Chong Yidong <cyd@stupidchicken.com>
12655
12656 * emacs-lisp/tabulated-list.el: New file.
12657
e91a96fe
CY
12658 * emacs-lisp/package.el: Use Tabulated List mode.
12659 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12660 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12661 table format using Tabulated List mode variables.
12662 (package--push): New macro, replacing package-list-maybe-add.
12663 (package-menu--generate): Use package--push. Renamed from
12664 package--generate-package-list.
12665 (package-menu-refresh, list-packages): Use it.
daca8ba5 12666 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12667 Return insertion data instead of inserting it directly.
099c39a4
JB
12668 (package-menu-describe-package, package-menu-execute):
12669 Use tabulated-list-get-id.
e91a96fe
CY
12670 (package-menu-mark-delete, package-menu-mark-install)
12671 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12672 (package-menu-mark-obsolete-for-deletion):
12673 Use tabulated-list-put-tag.
e91a96fe
CY
12674 (package--list-packages, package-menu-revert)
12675 (package-menu-get-package, package-menu-get-version)
12676 (package-menu-sort-by-column): Functions deleted.
12677 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12678 (package-menu--status-predicate, package-menu--version-predicate)
12679 (package-menu--name-predicate)
12680 (package-menu--description-predicate): Handle arguments in the
12681 Tabulated List format.
12682 (package-list-packages-no-fetch): Call list-packages.
12683
3e214b50
JB
126842011-04-06 Juanma Barranquero <lekktu@gmail.com>
12685
12686 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12687 (after-find-file): Don't bind it.
3e214b50
JB
12688 (revert-buffer-in-progress-p): New variable.
12689 (revert-buffer): Bind it.
12690 Pass nil for `after-find-file-from-revert-buffer'.
12691
12692 * saveplace.el (save-place-find-file-hook): Use new variable
12693 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12694
3f0f1700
GM
126952011-04-06 Glenn Morris <rgm@gnu.org>
12696
c0274801
GM
12697 * Makefile.in (AUTOGEN_VCS): New variable.
12698 (autoloads): Use $AUTOGEN_VCS.
12699
3f0f1700
GM
12700 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12701 * calendar/calendar.el (calendar-mode-map):
12702 Check for toolkit scroll bars. (Bug#8305)
12703
41ea9e48
CY
127042011-04-05 Chong Yidong <cyd@stupidchicken.com>
12705
12706 * minibuffer.el (completion-in-region--postch)
12707 (completion-in-region-mode): Remove unnecessary messages.
12708
6194c800
JB
127092011-04-05 Juanma Barranquero <lekktu@gmail.com>
12710
33256f14
JB
12711 * font-lock.el (font-lock-refresh-defaults):
12712 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12713 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12714
6194c800
JB
12715 * info.el (Info-directory-list, Info-read-node-name-2)
12716 (Info-split-parameter-string): Doc fixes.
12717 (Info-virtual-nodes): Reflow docstring.
12718 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12719 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12720 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12721 Fix typos in docstrings.
12722 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12723 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12724 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12725 (Info-restore-desktop-buffer): Mark unused parameters.
12726 (Info-directory-find-file, Info-directory-find-node)
12727 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12728 (Info-virtual-index-find-node, Info-apropos-find-file)
12729 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12730 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12731 (Info-virtual-index): Remove unused local variable `nodename'.
12732
b87a8200 127332011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12734
b87a8200
DD
12735 * net/rcirc.el: Update my e-mail address.
12736 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12737
3b2ff876
CY
127382011-04-05 Chong Yidong <cyd@stupidchicken.com>
12739
12740 * startup.el (command-line): Save the cursor's theme-face
12741 directly, instead of using face-override-spec.
12742
12743 * custom.el (load-theme): Minor optimization in assigning faces.
12744
8d17e7ca
JB
127452011-04-04 Juanma Barranquero <lekktu@gmail.com>
12746
12747 * help-fns.el (describe-variable): Complete all variables having
12748 documentation, including keywords.
12749 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12750
2fbc1934
JB
127512011-04-04 Juanma Barranquero <lekktu@gmail.com>
12752
12753 Convert to lexical-binding.
12754
12755 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12756 (bs--get-marked-string, bs--get-modified-string)
12757 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12758 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12759 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12760
12761 * ehelp.el (electric-help-execute-extended)
12762 (electric-help-ctrl-x-prefix):
12763 * hexl.el (hexl-revert-buffer-function):
12764 * linum.el (linum-after-change, linum-after-scroll):
12765 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12766
12767 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12768
74f50695
DU
127692011-04-04 Daiki Ueno <ueno@unixuser.org>
12770
12771 * epa-dired.el:
12772 * epa-mail.el:
12773 * epa-hook.el:
12774 * epa-file.el:
12775 * epa.el:
12776 * epg.el: Use lexical binding.
12777
c11325f7
CY
127782011-04-03 Chong Yidong <cyd@stupidchicken.com>
12779
0d9e9a12
CY
12780 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12781
c11325f7 12782 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12783 dictionary case for flyspell-mark-duplications-exceptions.
12784 Use regexp matching for languages.
c11325f7
CY
12785 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12786 default dictionary (Bug#7926).
12787
da91b5f2
CY
127882011-04-02 Chong Yidong <cyd@stupidchicken.com>
12789
099c39a4
JB
12790 * emacs-lisp/package.el (package--with-work-buffer):
12791 Recognize https URLs.
da91b5f2 12792
099c39a4
JB
12793 * net/network-stream.el: Move from gnus/proto-stream.el.
12794 Change prefix to network-stream throughout.
da91b5f2
CY
12795 (open-protocol-stream): Merge into open-network-stream, leaving
12796 open-protocol-stream as an alias. Handle nil BUFFER args.
12797
12798 * subr.el (open-network-stream): Move to net/network-stream.el.
12799
afa8e9f6
GM
128002011-04-02 Glenn Morris <rgm@gnu.org>
12801
1d2e369d
GM
12802 * find-dired.el (find-exec-terminator): New option.
12803 (find-ls-option): Test for -ls support.
12804 (find-ls-subdir-switches): Test for -b in find-ls-option.
12805 (find-dired, find-grep-dired): Doc fixes.
12806 (find-dired): Use find-exec-terminator.
12807
8abb7da8 12808 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12809 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12810 (find-name-arg): Remove purecopy.
8abb7da8 12811
f3ca7378
GM
12812 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12813 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12814 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12815 accordingly. Don't add the null-device if not needed.
12816
afa8e9f6
GM
12817 * files.el (save-some-buffers): Doc fix.
12818
35eae264
EZ
128192011-04-02 Eli Zaretskii <eliz@gnu.org>
12820
12821 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12822
26b51db5
JB
128232011-04-01 Juanma Barranquero <lekktu@gmail.com>
12824
12825 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12826 Use `dolist' rather than `mapcar'.
12827
7200d79c
SM
128282011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12829
03408648 12830 Add lexical binding.
7200d79c 12831
03408648
SM
12832 * subr.el (apply-partially): Use new closures rather than CL.
12833 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12834 (dolist, dotimes): Use slightly different expansion for lexical code.
12835 (functionp): Move to C.
12836 (letrec): New macro.
12837 (with-wrapper-hook): Use it and apply-partially instead of CL.
12838 (eval-after-load): Preserve lexical-binding.
12839 (save-window-excursion, with-output-to-temp-buffer): Turn them
12840 into macros.
7200d79c 12841
03408648
SM
12842 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12843
12844 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12845 than the arglist.
12846 (help-add-fundoc-usage): Don't add `Not documented'.
12847 (help-function-arglist): Handle closures, subroutines, and new
12848 byte-code-functions.
12849 (help-make-usage): Remove leading underscores.
12850 (describe-function-1): Handle closures.
12851 (describe-variable): Use special-variable-p for completion.
12852
12853 * files.el (lexical-binding): Declare safe.
f488fb65 12854
03408648
SM
12855 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12856 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12857 (pcase): Add `let' pattern.
12858 Change memoization so it actually works.
12859 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12860 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12861 <let>: New case.
f488fb65 12862
03408648
SM
12863 * emacs-lisp/macroexp.el: Use lexical binding.
12864 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12865 Don't convert ' to #' without checking that it's indeed quoting
12866 a lambda.
12867
12868 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12869 Use eval-sexp-add-defvars.
03408648
SM
12870 (eval-sexp-add-defvars): New fun.
12871
12872 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12873
12874 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12875 Don't autoload.
12876 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12877 than the internal `byte-compile-lambda'.
12878 (defmethod): Don't hide code under quotes.
12879 (eieio-defmethod): New `code' argument.
12880
12881 * emacs-lisp/eieio-comp.el: Remove.
12882
12883 * emacs-lisp/edebug.el (edebug-eval-defun)
12884 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12885 (edebug-toggle): Avoid `eval'.
12886
12887 * emacs-lisp/disass.el (disassemble-internal): Handle new
12888 `closure' objects.
12889 (disassemble-1): Handle new byte codes.
12890
12891 * emacs-lisp/cl.el (pushnew): Silence warning.
12892
12893 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12894 (cl-byte-compile-throw): Remove.
12895 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12896
12897 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12898 closures.
12899
12900 * emacs-lisp/cconv.el: New file.
12901
12902 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12903 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12904 (byte-compile-initial-macro-environment):
12905 Handle declare-function here.
12906 (byte-compile--lexical-environment): New var.
12907 (byte-stack-ref, byte-stack-set, byte-discardN)
12908 (byte-discardN-preserve-tos): New lap codes.
12909 (byte-interactive-p): Don't use any more.
12910 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12911 New macros.
12912 (byte-compile-lapcode): Use them and handle new lap codes.
12913 (byte-compile-obsolete): Remove.
12914 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12915 (byte-compile-arglist-warn): Check late def of inlinable funs.
12916 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12917 since they should have been expanded by now.
12918 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12919 (byte-compile-from-buffer): Remove unused second arg.
12920 (byte-compile-preprocess): New function.
12921 (byte-compile-toplevel-file-form): New function to distinguish
12922 file-form calls from outside from file-form calls from hunk-handlers.
12923 (byte-compile-file-form): Simplify.
12924 (byte-compile-file-form-defsubst): Remove.
12925 (byte-compile-file-form-defmumble): Simplify now that
12926 byte-compile-lambda always returns a byte-code-function.
12927 (byte-compile): Preprocess.
12928 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12929 Remove, not used any more.
12930 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12931 (byte-compile-make-args-desc): New funs.
12932 (byte-compile-lambda): Handle lexical functions. Always return
12933 a byte-code-function.
12934 (byte-compile-reserved-constants): New var, to make up room for
12935 closed-over variables.
12936 (byte-compile-constants-vector): Obey it.
12937 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12938 (byte-compile-macroexpand-declare-function): New function.
12939 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12940 byte-code-functions.
12941 (byte-compile-form): Check obsolescence here.
12942 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12943 (byte-compile-variable-ref): Remove.
12944 (byte-compile-dynamic-variable-op): New fun.
12945 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12946 (byte-compile-variable-set): New funs.
12947 (byte-compile-discard): Add 2 args.
12948 (byte-compile-stack-ref, byte-compile-stack-set)
12949 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12950 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12951 macroexpand-all instead.
12952 (byte-compile-quote-form): Remove.
12953 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12954 (byte-compile-bind, byte-compile-unbind): New funs.
12955 (byte-compile-let): Handle let* and lexical binding.
12956 (byte-compile-let*): Remove.
12957 (byte-compile-catch, byte-compile-unwind-protect)
12958 (byte-compile-track-mouse, byte-compile-condition-case):
12959 Handle a new :fun-body form, used for lexical scoping.
12960 (byte-compile-save-window-excursion)
12961 (byte-compile-with-output-to-temp-buffer): Remove.
12962 (byte-compile-defun): Simplify.
12963 (byte-compile-stack-adjustment): New fun.
12964 (byte-compile-out): Use it.
12965 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12966
12967 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12968 handler any more.
12969
12970 * emacs-lisp/byte-opt.el: Use lexical binding.
12971 (byte-inline-lapcode): Remove (to bytecomp).
12972 (byte-compile-inline-expand): Pay attention to inlining to/from
12973 lexically bound code.
12974 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12975 any more.
12976 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12977 any more and don't call compiler-macros.
12978 (byte-compile-splice-in-already-compiled-code): Remove.
12979 (byte-code): Don't inline any more.
12980 (disassemble-offset): Receive `bytes' as argument rather than via
12981 dynamic scoping.
12982 (byte-compile-tag-number): Declare before first use.
12983 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12984 `return' even if make-spliceable.
12985 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12986 obsolete interactive-p.
12987 (byte-optimize-lapcode): Optimize new lap-codes.
12988 Don't trip up on new form of `byte-constant' lap code.
12989
12990 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12991
12992 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12993
12994 * custom.el (custom-initialize-default, custom-declare-variable):
12995 Use `defvar'.
12996
12997 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12998 New variables.
12999 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13000 (COMPILE_FIRST): Add macroexp and cconv.
13001 * makefile.w32-in: Mirror changes in Makefile.in.
13002
13003 * vc/cvs-status.el:
13004 * vc/diff-mode.el:
13005 * vc/log-edit.el:
13006 * vc/log-view.el:
13007 * vc/smerge-mode.el:
13008 * textmodes/bibtex-style.el:
13009 * textmodes/css.el:
13010 * startup.el:
13011 * uniquify.el:
da91b5f2
CY
13012 * minibuffer.el:
13013 * newcomment.el:
13014 * reveal.el:
13015 * server.el:
13016 * mpc.el:
13017 * emacs-lisp/smie.el:
13018 * doc-view.el:
13019 * dired.el:
03408648
SM
13020 * abbrev.el: Use lexical binding.
13021
0f0c1f27
EZ
130222011-04-01 Eli Zaretskii <eliz@gnu.org>
13023
13024 * info.el (info-display-manual): New function.
13025
c82b2579
SM
130262011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13027
13028 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13029
221ddf68
TH
130302011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13031
13032 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13033 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13034
cba6e77e
GM
130352011-03-31 Glenn Morris <rgm@gnu.org>
13036
e040639f
GM
13037 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13038
cba6e77e
GM
13039 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13040
6d0f1c9e
CS
130412011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13042
13043 * progmodes/python.el (python-default-interpreter)
13044 (python-python-command-args, python-jython-command-args)
13045 (python-which-shell, python-which-args, python-which-bufname)
13046 (python-file-queue, python-comint-output-filter-function)
13047 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13048 variables and functions.
13049
3e2d70fd
SM
130502011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13053 (completion-in-region-mode): New minor mode.
13054 (completion-in-region): Use it.
13055 (completion-in-region--data, completion-in-region-mode-map): New vars.
13056 (completion-in-region--postch): New function.
13057 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13058 New vars.
13059 (completion--capf-wrapper): New function.
13060 (completion-at-point): Use it to track well-behavedness of
13061 hook functions.
13062 (completion-help-at-point): New command.
13063
f3e4086c
JM
130642011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13065
13066 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13067 syntax class to search for whitespace on a single line
13068 (Message-ID: <4D938140.4030905@redhat.com>).
13069
eb7ffc14
LL
130702011-03-30 Leo Liu <sdl.web@gmail.com>
13071
13072 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13073 New commands.
13074 (edit-abbrevs-map): Bind them here.
13075 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13076
d806ab68
KM
130772011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13078
13079 * allout.el (allout-hide-by-annotation, allout-flag-region):
13080 Reduce possibility of overlay leakage by making them volatile.
13081
13082 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13083 hash is not shared between buffers. Mode initialization is
13084 responsible for giving it a useful starting value.
13085 (allout-item-span): Reduce possibility of overlay leakage by
13086 making them volatile.
13087 (allout-widgets-count-buttons-in-region): Add diagnostic function
13088 for tracking down button overlay leaks.
13089
ea622834
LL
130902011-03-29 Leo Liu <sdl.web@gmail.com>
13091
13092 * ido.el (ido-read-internal): Use the default history var
13093 minibuffer-history if no HISTORY is specified.
13094
b62f8267
G
130952011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13096
03408648
SM
13097 * net/imap.el (imap-shell-open, imap-process-connection-type):
13098 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13099 Kerberos, SSL, other subprocesses.
13100
947b6566
LL
131012011-03-28 Leo Liu <sdl.web@gmail.com>
13102
13103 * abbrev.el (abbrev-table-empty-p): New function.
13104 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13105 nonempty ones. (Bug#5937)
13106
5ffb62aa
JD
131072011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13108
13109 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13110
7a097943
LL
131112011-03-27 Leo Liu <sdl.web@gmail.com>
13112
13113 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13114 for foreground and background colors.
13115 (ansi-color-make-color-map): Adapt.
13116
c5b40130
LL
131172011-03-25 Leo Liu <sdl.web@gmail.com>
13118
1f48f7d2
LL
13119 * midnight.el (midnight-time-float): Remove. Note it calculates
13120 the microsecond component incorrectly and seconds-to-time does the
13121 same job.
625897ec 13122 Remove redundant (require 'timer).
1f48f7d2 13123
c5b40130
LL
13124 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13125 (ido-completions): Remove unused arguments. (Bug#8329)
13126
d86d2721
SM
131272011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * minibuffer.el (completion--flush-all-sorted-completions):
13130 Remove itself from hook.
13131 (completion-at-point): Let the functions perform the completion
13132 immediately and return nil or t.
13133 * comint.el (comint-dynamic-complete-functions): Now identical to
13134 completion-at-point-functions.
13135 (comint-dynamic-list-input-ring): Remove unused var `index'.
13136 (comint--match-partial-filename, comint--unquote&expand-filename):
13137 New funs, split from comint-match-partial-filename.
13138 (comint-dynamic-complete): Use completion-at-point.
13139 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13140
e8974c48
DA
131412011-03-24 Drew Adams <drew.adams@oracle.com>
13142
13143 * thingatpt.el: Support `defun'.
13144
def71b5e
LL
131452011-03-23 Leo Liu <sdl.web@gmail.com>
13146
cb5af48e
LL
13147 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13148
def71b5e
LL
13149 * help-mode.el (help-mode-finish): Tweak regexp.
13150
927c53e7
GM
131512011-03-23 Glenn Morris <rgm@gnu.org>
13152
18d05bed
GM
13153 * eshell/esh-opt.el (eshell-eval-using-options):
13154 Do not bind unused local variable `eshell-option-stub'.
13155
927c53e7
GM
13156 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13157
9d0da923
JB
131582011-03-22 Juanma Barranquero <lekktu@gmail.com>
13159
13160 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13161 keymap variable in `with-no-warnings' to avoid a warning when the
13162 keymap has been already `defconst'ed.
13163
4b978a67
LL
131642011-03-22 Leo Liu <sdl.web@gmail.com>
13165
13166 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13167 encode all chars in abbrevs; otherwise use emacs-mule or
13168 utf-8-emacs. (Bug#8308)
13169
5fd62452
JB
131702011-03-22 Juanma Barranquero <lekktu@gmail.com>
13171
0b1596c6
JB
13172 * simple.el (backward-delete-char-untabify):
13173 Avoid warning about using `delete-backward-char'.
13174
5fd62452
JB
13175 * image.el (image-type-file-name-regexps): Make it variable.
13176 `imagemagick-register-types' modifies it, and the user may want
13177 to add new extensions for known image types.
13178 (imagemagick-register-types): Throw error if not using ImageMagick.
13179
0b4e93f1
LL
131802011-03-22 Leo Liu <sdl.web@gmail.com>
13181
13182 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13183 located before rcirc-prompt-end-marker.
13184 (rcirc-complete): Error if point is not after rcirc prompt.
13185 Handle the case when table is nil.
9882e214 13186 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13187
fccee4ab
CY
131882011-03-22 Chong Yidong <cyd@stupidchicken.com>
13189
13190 * custom.el (custom--inhibit-theme-enable): Make it affect only
13191 custom-theme-set-variables and custom-theme-set-faces.
13192 (provide-theme): Ignore custom--inhibit-theme-enable.
13193 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13194 (custom-enabling-themes): Delete variable.
d86d2721
SM
13195 (enable-theme): Accept only loaded themes as arguments.
13196 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13197 (custom-enabled-themes): Forbid themes from setting this.
13198 Eliminate use of custom-enabling-themes.
13199 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13200
af896da6
LL
132012011-03-21 Leo Liu <sdl.web@gmail.com>
13202
13203 * ido.el (ido-read-internal): Add ido-selected to history instead
13204 of user input.
13205
78f64af0
SM
132062011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * subr.el (deferred-action-list, deferred-action-function):
13209 Mark obsolete.
13210
b16ac1ec
LL
132112011-03-21 Leo Liu <sdl.web@gmail.com>
13212
810f7698
LL
13213 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13214 change on 2011-02-13 (bug#8309).
13215
b16ac1ec
LL
13216 * minibuffer.el (read-file-name-function): Change default value.
13217 (read-file-name--defaults): Rename from read-file-name-defaults.
13218 (read-file-name-default): Rename from read-file-name.
13219 (read-file-name): Call read-file-name-function.
13220
4e05e67e
GM
132212011-03-21 Glenn Morris <rgm@gnu.org>
13222
13223 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13224 Doc fixes.
13225
4359915b
CY
132262011-03-21 Chong Yidong <cyd@stupidchicken.com>
13227
13228 * cus-theme.el: Add missing provide statement.
13229 (customize-create-theme): Extract theme value correctly.
13230 (custom-theme-visit-theme): Autoload.
13231 (customize-create-theme): Prompt before inserting default faces.
13232
1fe275ee
JB
132332011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13234
13235 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13236 units and musical notes.
13237
cd394be1 132382011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13239
13240 * ido.el (ido-read-internal): Use completing-read-default.
13241 (ido-completing-read): Fix compatibility with completing-read.
13242
7d476bde
CO
132432011-03-20 Christian Ohler <ohler@gnu.org>
13244
13245 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13246 (ert-delete-all-tests): Use `called-interactively-p' rather than
13247 `interactive-p'.
13248 (ert--make-xrefs-region): Respect END.
13249
fe0fb33e
CY
132502011-03-19 Chong Yidong <cyd@stupidchicken.com>
13251
ff854b0b
CY
13252 * dired-aux.el (dired-create-directory): Signal an error if the
13253 directory already exists (Bug#8246).
13254
fe0fb33e
CY
13255 * facemenu.el (list-colors-display): Call list-faces-display
13256 inside with-help-window.
13257 (list-colors-print): Use display property to align the final
13258 column, instead of checking window-width.
13259
576bce32
EZ
132602011-03-19 Eli Zaretskii <eliz@gnu.org>
13261
4d61f28d 13262 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13263 windows-nt systems.
13264 (emerge-protect-metachars): Quote correctly for ms-dos and
13265 windows-nt systems.
13266
89c41d68 132672011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13268
13269 * info.el (info-initialize): Replace all uses of `:' with
13270 path-separator for compatibility with non-Unix systems.
13271 Cache quoting of path-separator. (Bug#8258)
13272
b14e3e21 132732011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13274
13275 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13276 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13277 (mouse-avoidance-mode): Fix typos in docstrings.
13278
4525ce3e
CY
132792011-03-19 Chong Yidong <cyd@stupidchicken.com>
13280
13281 * startup.el (package-subdirectory-regexp): Move from package.el.
13282 Omit \\` and \\', and let callers add them.
13283
13284 * emacs-lisp/package.el (package-strip-version)
13285 (package-load-all-descriptors): Add \\` and \\' to
13286 package-subdirectory-regexp before using it.
13287 (package-untar-buffer): New arg DIR; ensure that file untars only
13288 into this expected directory. Remove superfluous delete-region.
13289 (package-unpack): Caller changed.
13290 (package-tar-file-info): Use package-subdirectory-regexp.
13291
a904a09a 132922011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13293
a904a09a
SM
13294 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13295 diff-mode-shared-map (bug#8284).
13296 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13297
132982011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13299
13300 * calendar/time-date.el (format-seconds): Use assoc instead of
13301 assoc-string, since assoc-string doesn't exist in XEmacs.
13302
171fc304
JB
133032011-03-17 Juanma Barranquero <lekktu@gmail.com>
13304
13305 * custom.el (custom-known-themes): Reflow docstring.
13306 (custom-theme-load-path): Fix typo in docstring.
13307 (load-theme): Fix typo in error message.
13308 (custom-available-themes, custom-variable-theme-value):
13309 Use `let', not `let*'.
13310
d71990a1
JB
133112011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13312
13313 * calc/README: Mention inclusion of musical notes.
13314
13315 * calc/calc-units.el (calc-lu-quant): Rename from
13316 `calc-logunits-quantity'.
13317 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13318 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13319 (calc-db): Rename from `calc-dblevel'.
13320 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13321 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13322 (calc-np): Rename from `calc-nplevel'.
13323 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13324 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13325 (calc-lu-plus): Rename from `calc-logunits-add'.
13326 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13327 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13328 (calc-lu-minus): Rename from `calc-logunits-sub'.
13329 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13330 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13331 (calc-lu-times): Rename from `calc-logunits-mul'.
13332 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13333 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13334 (calc-lu-divide): Rename from `calc-logunits-div'.
13335 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13336 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13337
13338 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13339 functions being autoloaded.
13340
13341 * calc/calc.el (calc-lu-power-reference): Rename from
13342 `calc-logunits-power-reference'.
13343 (calc-lu-field-reference): Rename from
13344 `calc-logunits-field-reference'.
13345
7a71b18d
GM
13346 * calc/calc-help.el (calc-l-prefix-help):
13347 Mention musical note functions.
d71990a1 13348
40c2934b
SM
133492011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13350
13351 * minibuffer.el (completion-all-sorted-completions):
13352 Use :completion-cycle-penalty text property if present.
13353
b0911414
KM
133542011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13355
13356 * allout.el (allout-yank-processing): Adjust for new rebulleting
13357 regime so bullet being yanked is used without prompting the user
13358 for a choice.
13359
8a05b668
JB
133602011-03-16 Juanma Barranquero <lekktu@gmail.com>
13361
13362 * startup.el (command-line): Warn the user that _emacs is deprecated.
13363
5ba5fb81
JB
133642011-03-16 Juanma Barranquero <lekktu@gmail.com>
13365
13366 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13367 (delphi-verbose, delphi-comment-face, delphi-string-face)
13368 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13369 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13370 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13371 (delphi-new-comment-line, delphi-font-lock-defaults)
13372 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13373 Fix typos in docstrings.
13374
2dab465b
KM
133752011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13376
5ba5fb81 13377 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13378 Invert the roles of character and string values for INSTEAD, so a
13379 string is used for the more common case of a defaulting prompt.
13380
0adf5618
SM
133812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13382
13383 * progmodes/ruby-mode.el (ruby-backward-sexp):
13384 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13385 * play/gamegrid.el (gamegrid-make-face):
13386 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13387 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13388 * notifications.el (notifications-notify):
13389 * net/xesam.el (xesam-search-engines):
13390 * net/quickurl.el (quickurl-list-insert):
13391 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13392
d72700e5
CY
133932011-03-15 Chong Yidong <cyd@stupidchicken.com>
13394
13395 * startup.el (command-line): Update package subdirectory regexp.
13396
49c5410a
SM
133972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13398
c6eee9aa
SM
13399 * allout.el (allout-abbreviate-flattened-numbering)
13400 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13401
49c5410a
SM
13402 * subr.el (read-char-choice): Only show the cursor after the prompt,
13403 not after the answer.
13404
047b2bb9
KR
134052011-03-15 Kevin Ryde <user42@zip.com.au>
13406
13407 * help-fns.el (variable-at-point): Skip leading quotes, if any
13408 (bug#8253).
13409
0a57d256
SM
134102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13411
13412 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13413 warning message.
13414
77c992bc
MA
134152011-03-14 Michael Albinus <michael.albinus@gmx.de>
13416
13417 * shell.el (shell): When called interactively, offer to change the
13418 shell file name on remote hosts.
13419
eebc475d
TZ
134202011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13421
13422 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13423 integration for LDAP parameters. The host, base, user or binddn,
13424 and secret tokens can be specified in a netrc file, for instance.
13425 This is optional because an `auth-source' parameter must be
13426 specified in the search attributes.
13427
9d05d1ba
JB
134282011-03-13 Juanma Barranquero <lekktu@gmail.com>
13429
13430 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13431
09d9db2c
GM
134322011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13433
13434 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13435 into declaration. Remove redundant and harmful binding.
13436
134372011-03-12 Eli Zaretskii <eliz@gnu.org>
13438
13439 * files.el (file-ownership-preserved-p): Pass `integer' as an
13440 explicit 2nd argument to `file-attributes'. If the file's owner
13441 is the Administrators group on Windows, and the current user is
13442 Administrator, consider that a match.
13443
13444 * server.el (server-ensure-safe-dir): Consider server directory
13445 safe on MS-Windows if its owner is the Administrators group while
13446 the current Emacs user is Administrator. Use `=' to compare
13447 numerical UIDs, since they could be integers or floats.
13448
219bd536
JB
134492011-03-12 Juanma Barranquero <lekktu@gmail.com>
13450
13451 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13452
f3afd36b
MA
134532011-03-12 Michael Albinus <michael.albinus@gmx.de>
13454
13455 Sync with Tramp 2.2.1.
13456
13457 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13458
13459 * net/trampver.el: Update release number.
13460
3aaaa6f1
SM
134612011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13462
94642599
SM
13463 * progmodes/compile.el (compilation--previous-directory): Fix up
13464 various nil/dead-marker mismatches (bug#8014).
13465 (compilation-directory-properties, compilation-error-properties):
13466 Don't call it at a position past the one we're about to change.
13467
3aaaa6f1
SM
13468 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13469 Disable obsolescence warnings in the file that declares it.
13470
14239447
KM
134712011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13472
099c39a4
JB
13473 * allout-widgets.el (allout-widgets-tally):
13474 Initialize allout-widgets-tally as a hash table rather than nil to
13475 prevent mode-line redisplay warnings. Also, clarify the module
13476 description and fix a comment typo.
14239447 13477
135e287c
JB
134782011-03-11 Juanma Barranquero <lekktu@gmail.com>
13479
13480 * help-fns.el (describe-variable): Don't complete keywords.
13481 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13482
ffbf300e
CY
134832011-03-10 Chong Yidong <cyd@stupidchicken.com>
13484
ba08b241
CY
13485 * emacs-lisp/package.el (package-version-join): Impose a standard
13486 string representation for pre/alpha/beta version lists.
13487 (package-unpack-single): Standardize the directory name by passing
13488 it through package-version-join.
13489 (package-strip-rcs-id): Accept any version string that does not
13490 signal an error in version-to-list.
ffbf300e 13491
f346fd6b
MA
134922011-03-10 Michael Albinus <michael.albinus@gmx.de>
13493
13494 * simple.el (delete-trailing-whitespace): Return nil for the
13495 benefit of `write-file-functions'.
13496
ccb55d27
GM
134972011-03-10 Glenn Morris <rgm@gnu.org>
13498
5ceaac0c
GM
13499 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13500
02da65ff
GM
13501 * vc/vc-git.el (vc-git-program): New option.
13502 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13503 (vc-git--call): Use it.
13504
b2f603cc
GM
13505 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13506
5772caab
GM
13507 * cus-edit.el (Custom-newline): If no button at point, look
13508 for a subgroup button at start-of-line. (Bug#2298)
13509
ccb55d27
GM
13510 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13511
ec6ecaed
JD
135122011-03-10 Julien Danjou <julien@danjou.info>
13513
13514 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13515 `cursor-type' is nil.
13516
9d5aa01d
JB
135172011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13518
13519 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13520
b6a5875b
KM
135212011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13522
7a71b18d 13523 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13524 preserves the existing header prefix, rebulleting it if necessary,
13525 rather than replacing it. This is necessary for proper operation
13526 of cooperative addons like allout-widgets.
1154d12e
JB
13527 (allout-make-topic-prefix, allout-rebullet-heading):
13528 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13529 value as alternate bullet to be used, instead of prompting the user
13530 for a bullet character.
b6a5875b 13531
ee545c35
MA
135322011-03-09 Michael Albinus <michael.albinus@gmx.de>
13533
d86d2721
SM
13534 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13535 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13536 `tramp-default-port'.
13537
c47971d7
DD
135382011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13539
13540 * net/rcirc.el (rcirc-handler-001): Remove useless
13541 with-rcirc-process-buffer.
13542 (rcirc-check-auth-status): Swap arguments to string-match.
13543
13522cb4
GM
135442011-03-09 Glenn Morris <rgm@gnu.org>
13545
0be6f4f1
GM
13546 * shell.el (shell-mode):
13547 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13548
13522cb4
GM
13549 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13550 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13551
515de2e3
CY
135522011-03-08 Chong Yidong <cyd@stupidchicken.com>
13553
13554 * emacs-lisp/package.el (package-refresh-contents)
13555 (package-menu-execute): Use condition-case-no-debug.
13556
b511b994
MA
135572011-03-08 Michael Albinus <michael.albinus@gmx.de>
13558
13559 * simple.el (shell-command-to-string): Use `process-file'.
13560
13561 * emacs-lisp/package.el (package-tar-file-info): Handle also
13562 remote files.
13563
d86d2721
SM
13564 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13565 Use `equal' for upload base check.
b511b994 13566
25bbfb31
AM
135672011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13568
13569 * textmodes/texinfo.el (texinfo-environments):
13570 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13571
be996521
GM
135722011-03-08 Glenn Morris <rgm@gnu.org>
13573
e9c8529f
GM
13574 * cus-start.el (cursor-in-non-selected-windows):
13575 Fix :set quoting oddness. (Bug#8192)
13576
be996521
GM
13577 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13578 in some setf expressions. (Bug#2159)
13579
2bb5649e
CY
135802011-03-08 Chong Yidong <cyd@stupidchicken.com>
13581
13582 * custom.el (custom-available-themes): Return themes in
13583 alphabetical order.
13584
33383987 13585See ChangeLog.15 for earlier changes.
e3d51b27
MR
13586
13587;; Local Variables:
13588;; coding: utf-8
e3d51b27
MR
13589;; End:
13590
acaf905b 13591 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13592
13593 This file is part of GNU Emacs.
13594
13595 GNU Emacs is free software: you can redistribute it and/or modify
13596 it under the terms of the GNU General Public License as published by
13597 the Free Software Foundation, either version 3 of the License, or
13598 (at your option) any later version.
13599
13600 GNU Emacs is distributed in the hope that it will be useful,
13601 but WITHOUT ANY WARRANTY; without even the implied warranty of
13602 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13603 GNU General Public License for more details.
13604
13605 You should have received a copy of the GNU General Public License
13606 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.