Fix up display of the *Minibuf-0* buffer in the mini window.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
1241b724
CY
12012-05-07 Chong Yidong <cyd@gnu.org>
2
3 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4 (tabulated-list-use-header-line): New var.
5 (tabulated-list-init-header): Use it.
6 (tabulated-list-print-fake-header): New function.
7 (tabulated-list-print): Use it.
8 (tabulated-list-sort-button-map): Add non-header-line commands.
9 (tabulated-list-init-header): Add column name property to basic
10 labels as well.
11 (tabulated-list-col-sort): Handle non-header-line button case.
12 (tabulated-list--sort-by-column-name): Fix a corner case.
13
14 * buff-menu.el (list-buffers--refresh): Handle
15 Buffer-menu-use-header-line.
16
e5f9458f
CY
172012-05-06 Chong Yidong <cyd@gnu.org>
18
19 * buff-menu.el: Convert to Tabulated List mode.
20 (Buffer-menu-buffer+size-width): Make obsolete.
21 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
22 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
23 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
24 documentation into docstring of buffer-menu.
25 (Buffer-menu-toggle-files-only): Add an informative message.
26 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
27 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
28 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
29 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
30 (Buffer-menu-execute, Buffer-menu-select)
31 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
32 (Buffer-menu-bury): Use Tabulated List machinery.
33 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
34 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
35 Deleted.
36 (list-buffers--refresh): New function.
37 (list-buffers-noselect): Use it.
38 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
39 (Buffer-menu--pretty-file-name): New helper functions.
40
41 * loadup.el: Preload tabulated-list.
42
43 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
44 tabulated-list-sort-column.
45 (tabulated-list-init-header): Add the initial aligning space even
46 if tabulated-list-padding is zero.
47
e129292c
CS
482012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
49
50 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
51 whose cdr is not a cons cell correctly (bug#11038).
52
6632d361
CY
532012-05-06 Chong Yidong <cyd@gnu.org>
54
e129292c
CS
55 * emacs-lisp/tabulated-list.el (tabulated-list-format):
56 Accept additional plist in column descriptors.
6632d361
CY
57 (tabulated-list-init-header): Obey it.
58 (tabulated-list-get-entry): New function.
59 (tabulated-list-put-tag): Use it. Use string-width instead of
60 length.
61 (tabulated-list--column-number): New function.
62 (tabulated-list-print): Use it.
e129292c
CS
63 (tabulated-list-print-col): New function.
64 Set `tabulated-list-column-name' property on each column's text.
6632d361 65 (tabulated-list-print-entry): Use it.
e129292c
CS
66 (tabulated-list-delete-entry, tabulated-list-set-col):
67 New functions.
6632d361
CY
68 (tabulated-list-sort-column): New command (Bug#11337).
69
3cc99f68
CY
70 * buff-menu.el (list-buffers): Move C-x C-b binding from
71 buff-menu.el to bindings.el.
72
73 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
74 :advertised-binding feature.
75
52b61776
TN
762012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
77
78 * progmodes/compile.el (compilation-internal-error-properties):
79 Calculate start position correctly when end-col is set but
80 end-line is not (Bug#11382).
81
ebfe2597
WJ
822012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
83
84 * man.el (Man-unindent): Use text-property-default-nonsticky to
85 prevent untabify from inheriting face properties (Bug#11408).
86
a43f98b3
GM
872012-05-05 Glenn Morris <rgm@gnu.org>
88
48176e8b
GM
89 * calendar/cal-html.el: Optionally include holidays in the output.
90 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
91 (cal-html-holidays): New option.
92 (cal-html-css-default): Add holiday entry.
93 (holiday-in-range): Autoload it.
94 (cal-html-htmlify-entry): Add optional class argument.
95 (cal-html-htmlify-list): Add optional holidays argument.
96 (cal-html-insert-agenda-days): Include holidays in the output.
97 (cal-html-one-month): Maybe include holidays.
98
a43f98b3
GM
99 * calendar/holidays.el (holiday-in-range):
100 Move here from cal-tex-list-holidays.
101 * calendar/cal-tex.el (cal-tex-list-holidays):
102 Make it an obsolete alias for holiday-in-range. Update all callers.
103
fef9d149 1042012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
105
106 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
107 Nextstep.
108
248da2f4
RW
1092012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
110
111 * files.el (file-auto-mode-skip): New var.
112 (set-auto-mode-1): Use it.
113
f95e9344
SM
1142012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
115
df96ab1e
SM
116 * repeat.el: Use lexical-binding.
117 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
118 (repeat-undo-count): Remove.
119 (repeat):
120 * progmodes/octave-mod.el (octave-abbrev-start):
121 * progmodes/f90.el (f90-abbrev-start):
122 * face-remap.el (text-scale-adjust):
123 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
124
5342bb06
SM
125 * emacs-lisp/pcase.el (pcase--let*): New function.
126 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
127 a bit more.
128 (pcase--split-pred): Be more clever about ruling out overlap between
129 a predicate and some constant pattern.
130 (pcase--q1): Use `null' instead of (eq foo nil).
131
f95e9344
SM
132 * subr.el (setq-local, defvar-local): New macros.
133 (kbd): Redefine as an alias.
134 (with-selected-window): Leave unrelated frames alone.
135 (set-temporary-overlay-map): New function.
136
71873e2b
SM
1372012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
138
139 * subr.el (user-error): New function.
140 * window.el (switch-to-buffer):
141 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
142 (smerge-match-conflict):
143 * simple.el (previous-matching-history-element)
144 (next-matching-history-element, goto-history-element, undo-more)
145 (undo-start):
146 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
147 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
148 (next-file, tags-loop-scan, list-tags, complete-tag):
149 * progmodes/compile.el (compilation-loop):
150 * mouse.el (mouse-minibuffer-check):
151 * man.el (Man-bgproc-sentinel, Man-goto-page):
152 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
153 (Info-history-forward, Info-follow-reference, Info-menu)
154 (Info-extract-menu-item, Info-extract-menu-counting)
155 (Info-forward-node, Info-backward-node, Info-next-menu-item)
156 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
157 (Info-next-reference, Info-prev-reference, Info-index)
158 (Info-index-next, Info-follow-nearest-node)
159 (Info-copy-current-node-name):
160 * imenu.el (imenu--make-index-alist)
161 (imenu-default-create-index-function, imenu-add-to-menubar):
162 * files.el (basic-save-buffer, recover-file):
163 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
164 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
165 (checkdoc-message-text, checkdoc-defun):
166 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
167 * cus-edit.el (customize-changed-options, customize-rogue)
168 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
169 (custom-variable-mark-to-reset-standard)
170 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
171 (custom-file):
172 * completion.el (check-completion-length):
173 * comint.el (comint-search-arg)
174 (comint-previous-matching-input-string-position)
175 (comint-previous-matching-input)
176 (comint-replace-by-expanded-history-before-point, comint-send-input)
177 (comint-copy-old-input, comint-backward-matching-input)
178 (comint-goto-process-mark, comint-set-process-mark):
179 * calendar/calendar.el (calendar-cursor-to-date): Use it.
180 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
181
8a61ee22
SM
1822012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
183
66408d1e
SM
184 * dabbrev.el (dabbrev--ignore-case-p): New function.
185 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
186 Use it.
187
8a61ee22
SM
188 * files.el (automount-dir-prefix): Mark as obsolete.
189
3c74813a
GM
1902012-05-04 Glenn Morris <rgm@gnu.org>
191
192 * patcomp.el, play/bruce.el: Move to obsolete/.
193
0bfcf5c5
PE
1942012-05-04 Paul Eggert <eggert@cs.ucla.edu>
195
196 Fix minor Y10k bugs.
197 * arc-mode.el (archive-unixdate):
198 * autoinsert.el (auto-insert-alist):
199 * calc/calc-forms.el (math-this-year):
200 * emacs-lisp/copyright.el (copyright-current-year)
201 (copyright-update-year, copyright):
202 * tar-mode.el (tar-clip-time-string):
203 * time.el (display-time-update):
204 Don't assume years have 4 digits.
205
78f3273a
CY
2062012-05-04 Chong Yidong <cyd@gnu.org>
207
208 * dos-w32.el (file-name-buffer-file-type-alist)
209 (direct-print-region-use-command-dot-com):
210 * ffap.el (ffap-menu-regexp):
211 * find-file.el (ff-special-constructs):
212 * follow.el (follow-debug):
213 * forms.el (forms--debug):
214 * iswitchb.el (iswitchb-all-frames):
215 * ido.el (ido-all-frames):
216 * emacs-lisp/timer.el (timer-max-repeats):
217 * mail/feedmail.el (feedmail-mail-send-hook)
218 (feedmail-mail-send-hook-queued):
219 * mail/footnote.el (footnote-signature-separator):
220 * mail/mailabbrev.el (mail-alias-separator-string)
221 (mail-abbrev-mode-regexp):
222 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
223 * progmodes/idlwave.el (idlwave-libinfo-file)
224 (idlwave-default-completion-case-is-down)
225 (idlwave-library-routines): Convert defvars to defcustoms.
226
227 * mail/rmail.el (rmail-decode-mime-charset):
228 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
229 (idlwave-shell-fix-inserted-breaks)
230 (idlwave-shell-activate-alt-keybindings)
231 (idlwave-shell-use-breakpoint-glyph):
232 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
233
f7ae6719
SM
2342012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
237
47086495
WS
2382012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
239
240 * progmodes/verilog-mode.el (font-lock-keywords):
241 Fix mis-highligting auto. Reported by Craig Barner.
242 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
243 defines from global name space. Reported by Dan Dever.
244 (verilog-auto-reset, verilog-auto-reset-widths)
245 (verilog-auto-tieoff): Support using unbased numbers for
246 AUTORESET and AUTOTIEOFF.
247 (verilog-submit-bug-report): Update variable list.
248 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
249 parenthesis from not matching. Reported by Michael Rytting.
250 (verilog-auto-template-lint): Fix hash error when linting modules
251 with no used templates.
252 (verilog-warn, verilog-warn-error)
253 (verilog-warn-fatal): When non-interactive report multiple
254 warnings before exiting. Suggested by Brad Dobbie.
255 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
256 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
257 to report unused template errors. Reported by Brad Dobbie.
258 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
259 nets, bug438. Reported by Vns Blore.
260 (verilog-auto-inout-module, verilog-auto-reg)
261 (verilog-read-decls, verilog-read-sub-decls-sig)
262 (verilog-signals-edit-wire-reg, verilog-signals-with):
263 Fix passing of Verilog data types in ANSI input/output ports
264 such as "output logic" into the AUTOs. Special case "wire" and
265 "reg" for backwards compatibility presuming Verilog 2001.
266 (verilog-auto-ascii-enum): Add "auto enum" as alias.
267 (verilog-preprocess): Fix replication of preprocess output.
268 Reported by Brad Dobbie.
269 (verilog-auto-inst-interfaced-ports):
270 Create verilog-auto-inst-interfaced-ports, bug429.
271 Reported by Julian Gorfajn.
272 (verilog-after-save-font-hook)
273 (verilog-before-save-font-hook): New variable.
274 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
275 (verilog-save-font-mods): Wrap disabling fontification, reported
276 by David Rogoff.
277 (verilog-do-indent, verilog-pretty-declarations-auto)
278 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
279 Reported by Pierre-David Pfister.
280 (verilog-set-auto-endcomments): Fix endtask auto comments outside
281 of class declarations, bug292. Reported by Kevin Heilman.
282 (verilog-read-decls): Fix 'parameter type' not appearing in
283 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
284 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
285 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
286 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
287 Reported by David Kravitz.
288
2892012-05-03 Michael McNamara <mac@mail.brushroad.com>
290
291 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
292 assignment with tests in ifs and for loops.
293 (verilog-extended-complete-re, verilog-complete-reg): Change so
294 that DPI inport functions don't look like fuction declarations.
295 (verilog-pretty-expr): Don't line up assignment
296 operations to the test and increment in if and for loops
297 (verilog-extended-complete-re, verilog-complete-reg): Change so
298 that DPI inport functions don't look like fuction declarations
299
2e51d4b5
KH
3002012-05-03 Kenichi Handa <handa@m17n.org>
301
302 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
303 decoding, and show a warning message without signalling an error
304 (Bug#11282).
305
2bd785a2
SM
3062012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * emacs-lisp/bytecomp.el
309 (byte-compile-file-form-custom-declare-variable): Compile all elements,
310 since cconv.el might have introduced :fun-body, internal-make-closure,
311 and friends for bytecomp to handle (bug#11391).
312 * custom.el (defcustom): Avoid ((λ ..) ..).
313
99d27583
SM
3142012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
317
55a71479
JB
3182012-05-02 Juanma Barranquero <lekktu@gmail.com>
319
320 * notifications.el (dbus-debug):
321 * term/linux.el (gpm-mouse-enable):
322 * term/screen.el (xterm-register-default-colors): Declare.
323
7b97c764
CY
3242012-05-02 Chong Yidong <cyd@gnu.org>
325
2bc356d7
CY
326 * cus-start.el (gc-cons-percentage, exec-suffixes)
327 (dos-display-scancodes, dos-hyper-key, dos-super-key)
328 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
329 (make-cursor-line-fully-visible, void-text-area-pointer)
330 (font-list-limit): Add customization data.
331
7b97c764
CY
332 * allout.el (allout-exposure-change-functions)
333 (allout-structure-added-functions)
334 (allout-structure-deleted-functions)
335 (allout-structure-shifted-functions): Rename abnormal hooks from
336 *-hook, and convert to defcustoms.
5d3385a0
JB
337 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
338 Convert to defcustoms.
7b97c764
CY
339 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
340
341 * allout-widgets.el: Hook callers changed.
342
90207a15 3432012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
344
345 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
346 the yanked message in preference to the default value of
347 buffer-file-coding-system.
348
90207a15 3492012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 350
5d3385a0
JB
351 * window.el (display-buffer--action-function-custom-type):
352 Fix entry.
d9558cad 353
90207a15 3542012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
355
356 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
357
d80ac57b
GM
3582012-05-01 Glenn Morris <rgm@gnu.org>
359
976f7668
GM
360 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
361
beb83b5a
GM
362 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
363
d80ac57b
GM
364 * cus-edit.el (custom-variable-documentation): Simplify with format.
365
b593d6a9
AH
3662012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
367 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * simple.el (suggest-key-bindings, execute-extended-command):
370 Move from keyboard.c.
371
782fbf2a
CY
3722012-05-01 Chong Yidong <cyd@gnu.org>
373
374 * follow.el: Eliminate advice.
375 (set-process-filter, process-filter, sit-for): Advice deleted.
376 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
377 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
378 Vars deleted.
782fbf2a
CY
379 (follow-auto): Use a :set function.
380 (follow-mode): Rewritten. Don't advise process filters.
381 (follow-switch-to-current-buffer-all, follow-scroll-up)
382 (follow-scroll-down): Assume follow-mode is bound.
383 (follow-comint-scroll-to-bottom)
384 (follow-align-compilation-windows): New functions.
385 (follow--window-sorter): New function.
386 (follow-all-followers): Use it to explicitly sort windows by their
387 positions; don't make assumptions about next-window order.
388 (follow-windows-start-end, follow-delete-other-windows-and-split)
389 (follow-calc-win-start): Doc fix.
390 (follow-windows-aligned-p, follow-select-if-visible): Don't call
391 vertical-motion unnecessarily.
392 (follow-adjust-window): New function.
393 (follow-post-command-hook): Use it.
394 (follow-call-set-process-filter, follow-call-process-filter)
395 (follow-intercept-process-output, follow-tidy-process-filter-alist)
396 (follow-stop-intercept-process-output, follow-generic-filter):
397 Functions deleted.
398 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
399 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
400 New functions, replacing advice on scroll-bar-* commands.
87233a14 401 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
402
403 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
404 (comint-postoutput-scroll-to-bottom): Use it.
405 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 406
290af740
GM
4072012-05-01 Glenn Morris <rgm@gnu.org>
408
409 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
410 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
411 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
412 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
413 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
414 Remove no-byte-compile setting.
415
6eac8dc9
SM
4162012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * minibuffer.el (completion-table-with-quoting): Fix compatibility
419 all-completions code to not return a number in the last cdr.
420
9cc7819c
LL
4212012-04-30 Leo Liu <sdl.web@gmail.com>
422
423 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
424 read-only error.
425
c93b886f
CY
4262012-04-29 Chong Yidong <cyd@gnu.org>
427
428 * follow.el (follow-calc-win-end): Rewrite to handle partial
429 screen lines correctly (Bug#8390).
430 (follow-avoid-tail-recenter): Minor cleanup.
431
8b6c19f4
SM
4322012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
433
434 Avoid the obsolete `assoc' package.
435 * speedbar.el (speedbar-refresh): Avoid adelete.
436 (speedbar-file-lists): Simplify and avoid aput.
437 * man.el (Man--sections, Man--refpages): New vars, replacing
438 Man-sections-alist and Man-refpages-alist.
439 (Man-build-section-alist, Man-build-references-alist):
440 Use them; avoid aput.
441 (Man--last-section, Man--last-refpage): New vars.
442 (Man-follow-manual-reference): Use them.
443 Use the `default' arg of completing-read.
444 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
445
c5bb7569
CY
4462012-04-27 Chong Yidong <cyd@gnu.org>
447
d1d2e2e8
CY
448 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
449
15cd8efd
CY
450 * startup.el (x-apply-session-resources): New function.
451
452 * term/ns-win.el (ns-initialize-window-system):
453 * term/w32-win.el (w32-initialize-window-system):
454 * term/x-win.el (x-initialize-window-system): Use it to properly
455 set menu-bar-mode and other vars from X resources, even if the
456 initial frame is not a window-system frame (Bug#2299).
457
c5bb7569
CY
458 * subr.el (read-key): Avoid running filter function when setting
459 up temporary tool bar entries (Bug#9922).
460
a8e7d6d7 4612012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
462
463 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
464 (Bug#11344)
465
a8e7d6d7 4662012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
467
468 * select.el (xselect--encode-string): New function, split from
469 xselect-convert-to-string.
470 (xselect-convert-to-string): Use it.
471 (xselect-convert-to-filename, xselect-convert-to-os)
472 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
473 returned strings are properly encoded (Bug#11315).
474
a8e7d6d7 4752012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
476
477 * simple.el (delete-active-region): Move to killing custom group.
478
a8e7d6d7 4792012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
480
481 * progmodes/which-func.el (which-func-current): Quote %
482 characters for mode-line processing.
483
578c1d4b 4842012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
485
486 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
487 reaching eob (Bug#11286).
488
a8e7d6d7 4892012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
490
491 * progmodes/gdb-mi.el (gdb-control-level): New variable.
492 (gdb): Make it buffer-local and init to zero.
493 (gdb-control-commands-regexp): New variable.
494 (gdb-send): Don't wrap in "-interpreter-exec console" if
495 gdb-control-level is positive. Increment gdb-control-level
496 whenever the command matches gdb-control-commands-regexp, and
497 decrement it each time the command is "end". (Bug#11279)
498
a8e7d6d7 4992012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
500
501 * window.el (adjust-window-trailing-edge, enlarge-window)
502 (shrink-window, window-resize):
503 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
504 windows (Bug#11276).
505
b3608390
CY
5062012-04-27 Chong Yidong <cyd@gnu.org>
507
508 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 509 fix "missing prefix" warning. All callers changed.
b3608390 510
797e6e88
SM
5112012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * emacs-lisp/assoc.el: Move to obsolete/.
514
e95a67dc
SM
5152012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
516
657c21e4 517 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
518
519 * term/ns-win.el (ns-define-service):
520 * progmodes/pascal.el (pascal-goto-defun):
521 * progmodes/js.el (js--read-tab):
522 * progmodes/etags.el (tags-lazy-completion-table):
523 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
524 * emacs-lisp/ewoc.el (ewoc--wrap):
525 * emacs-lisp/assoc.el (aput, adelete, amake):
526 * doc-view.el (doc-view-convert-current-doc):
527 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
528
cb3e7ae0
CY
5292012-04-26 Chong Yidong <cyd@gnu.org>
530
dce04f7f
CY
531 * image.el (image-type-from-buffer): Only return supported image
532 type (Bug#9045).
533
cb3e7ae0
CY
534 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
535 value, for symmetry with diff-end-of-hunk.
536 (diff-split-hunk, diff-find-source-location)
537 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
538 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
539 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
540 compute the relevant hunk or file properly (Bug#6005).
541 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
542
0d42eb3e
SM
5432012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
544
545 * vc/vc-mtn.el:
546 * vc/vc-hg.el:
547 * vc/vc-git.el:
548 * vc/vc-dir.el:
549 * vc/vc-cvs.el:
550 * vc/vc-bzr.el:
551 * vc/vc-arch.el:
552 * vc/vc.el: Replace lexical-let by lexical-binding.
553 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
554 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
555 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
556
f08ae1c9
CY
5572012-04-26 Chong Yidong <cyd@gnu.org>
558
8b71081d
CY
559 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
560 (diff-mode-shared-map): Bind it to / and [remap undo].
561
f08ae1c9
CY
562 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
563 (ediff-window-setup-function): Use it as the default, to set up
564 windows based on whether the current frame is graphical (Bug#2138).
565 (ediff-choose-window-setup-function-automatically): Make obsolete.
566
567 * vc/ediff-init.el: Always define ediff-pixel-width/height.
568
ef24141c
SM
5692012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
570
cc356a5d
SM
571 * ffap.el: Remove old code for obsolete package.
572 (ffap-complete-as-file-p): Remove.
573
b4ff4f1f
SM
574 Use completion-table-with-quoting for comint and pcomplete.
575 * comint.el (comint--unquote&requote-argument)
576 (comint--unquote-argument, comint--requote-argument): New functions.
577 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
578 (comint-quote-filename): Use regexp-opt-charset.
579 (comint--common-suffix, comint--common-quoted-suffix)
580 (comint--table-subvert): Remove.
581 (comint-unquote-function, comint-requote-function): New vars.
582 (comint--complete-file-name-data): Use them with
583 completion-table-with-quoting.
584 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
585 * pcomplete.el (pcomplete-arg-quote-list)
586 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
587 (pcomplete-unquote-argument-function): Default to non-nil.
588 (pcomplete-unquote-argument): Simplify.
589 (pcomplete--common-quoted-suffix): Remove.
590 (pcomplete-requote-argument-function): New var.
591 (pcomplete--common-suffix): New function.
592 (pcomplete-completions-at-point): Use completion-table-with-quoting
593 and completion-table-subvert.
594
79c4eeb4
SM
595 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
596 (minibuffer--double-dollars): Preserve properties.
597 (completion--sifn-requote): New function.
598 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
599
ef24141c
SM
600 * minibuffer.el: Add support for completion of quoted/escaped data.
601 (completion-table-with-quoting, completion-table-subvert): New funs.
602 (completion--twq-try, completion--twq-all): New functions.
603 (completion--nth-completion): New function.
604 (completion-try-completion, completion-all-completions): Use it.
605
784e7d6e
LL
6062012-04-25 Leo Liu <sdl.web@gmail.com>
607
dd2ac746
SM
608 * progmodes/python.el (python-pdbtrack-get-source-buffer):
609 Use compilation-message if available to find real filename.
784e7d6e 610
07875ee7
CY
6112012-04-25 Chong Yidong <cyd@gnu.org>
612
613 * vc/diff-mode.el (diff-setup-whitespace): New function.
614 (diff-mode): Use it.
615
616 * vc/diff.el (diff-sentinel):
617 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
618 Whitespace mode variables based on diff style (Bug#8612).
619
5055880d
LL
6202012-04-25 Leo Liu <sdl.web@gmail.com>
621
daf75653
LL
622 * progmodes/python.el (python-send-region): Add suffix .py to the
623 temp file.
624
5055880d
LL
625 * files.el (auto-mode-alist): Use javascript-mode instead.
626
db9b177b
AH
6272012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
628
ef24141c 629 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
630
631 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 632 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 633 references, see Bug#9.
ef24141c 634 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 635 when receiving a fault reply.
ef24141c 636 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
637
638 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 639 (soap-inspect-simple-type): New function.
db9b177b 640
ef24141c 641 * soap-client.el (soap-simple-type): New struct.
db9b177b 642 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
643 (soap-decode-basic-type, soap-encode-basic-type):
644 support unsignedInt and double basic types.
db9b177b 645 (soap-resolve-references-for-simple-type)
ef24141c
SM
646 (soap-parse-simple-type, soap-encode-simple-type): New function.
647 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
648
649 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
650 (soap-default-soapenc-types): Add integer, byte and anyURI types.
651 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
652 the local name of "soapenc:Array".
653 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
654 decoding integer, byte and anyURI xsd types.
655
1fc6097b
CY
6562012-04-25 Chong Yidong <cyd@gnu.org>
657
658 * cus-edit.el (custom-buffer-create-internal): Update header text.
659
afc6df87
EZ
6602012-04-25 Eli Zaretskii <eliz@gnu.org>
661
662 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
663 settings on 'system-type', not on 'window-system'. On MS-Windows,
664 set interactive-mode on in GDB.
665
dfbd787f
SM
6662012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
667
668 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
669 (ruby-syntax-propertize-regexp): Remove.
670 (ruby-syntax-propertize-function): Split regexp into chunks.
671 Match following code directly.
672
85222d44
DG
6732012-04-24 Dmitry Gutov <dgutov@yandex.ru>
674
51a8ea2a
DG
675 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
676 (ruby-syntax-propertize-regexp): New function.
677 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
678 by a special keyword.
679
85222d44
DG
680 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
681 (ruby-syntax-general-delimiters-goto-beg)
682 (ruby-syntax-propertize-general-delimiters): New functions.
683 (ruby-syntax-propertize-function): Use them to handle GDL.
684 (ruby-font-lock-keywords): Move old handling of GDL...
685 (ruby-font-lock-syntactic-keywords): .. to here.
686 (ruby-calculate-indent): Adjust indentation for GDL.
687
b613912b
MA
6882012-04-24 Michael Albinus <michael.albinus@gmx.de>
689
b5380639
MA
690 * notifications.el (top): Remove unneeded declarations.
691 (notifications-specification-version): Change to "1.2".
e43042fe 692 (notifications-interface, notifications-notify-method)
b613912b
MA
693 (notifications-close-notification-method): Fix docstring.
694 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
695 (notifications-notify): Add :action-items, :resident and
696 :transient hints. Change "image_data" to "image-data" and
697 "image_path" to "image-path".
b613912b
MA
698 (notifications-get-capabilities): New defun.
699
257440aa
LL
7002012-04-24 Leo Liu <sdl.web@gmail.com>
701
702 * progmodes/python.el: Move hideshow setup to the end.
703
b1bac16e
MR
7042012-04-24 Martin Rudalics <rudalics@gmx.at>
705
706 * window.el (handle-select-window): Clear echo area since this is
707 no more done by read_char (Bug#11304).
708
d81bd059
SM
7092012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
710
711 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
712 and `/ M' to filter-derived-mode.
713 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
714 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
715 (ibuffer-mark-by-mode): Use default rather than initial-input.
716 (ibuffer-filter-by-derived-mode): Autoload and require-match.
717
c4cf6d91
IA
7182012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
719
720 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
721 (ibuffer-filter-by-derived-mode): New filter.
722 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
723
7511ded8
CY
7242012-04-23 Andreas Politz <politza@fh-trier.de>
725
726 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
727
775c916b
CY
7282012-04-23 Chong Yidong <cyd@gnu.org>
729
730 * cus-edit.el (customize-apropos, customize-apropos-options):
731 Disable matching of non-option variables (Bug#11176).
732 (customize-option, customize-option-other-window)
733 (customize-changed-options): Doc fix.
734 (customize-apropos-options, customize-apropos-faces)
735 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
736
737 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 738 Fix word list splitting (Bug#11132).
46c71e23
CY
739 (apropos-symbol, apropos-keybinding, apropos-label)
740 (apropos-property, apropos-function-button)
741 (apropos-variable-button, apropos-misc-button): New faces.
742 (apropos-symbol-face, apropos-keybinding-face)
743 (apropos-label-face, apropos-property-face, apropos-match-face):
744 Variables removed (Bug#8396).
745 (apropos-library-button, apropos-format-plist, apropos-print)
746 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 747
2df41f9c
MA
7482012-04-23 Michael Albinus <michael.albinus@gmx.de>
749
750 * net/xesam.el (xesam-mode-map): Use let-bound map in
751 initialization. (Bug#11292)
752
da00640a
AM
7532012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
754
755 Preserve ispell session localwords when switching back to
756 original buffer.
757
758 * ispell.el (ispell-buffer-session-localwords): New buffer-local
759 variable to hold buffer session localwords.
760 (ispell-kill-ispell): add option 'clear to delete session
761 localwords.
762 (ispell-command-loop, ispell-change-dictionary)
763 (ispell-buffer-local-words): Preserve session localwords when
764 needed.
765
766 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
767 Preserve session localwords when needed.
768
f621ccf5
AM
7692012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
770
771 * ispell.el (ispell-insert-word) Remove unneeded function using
772 obsolete `translation-table-for-input'.
ef24141c
SM
773 (ispell-word, ispell-process-line, ispell-complete-word):
774 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 775
c2d1019e
CY
7762012-04-22 Chong Yidong <cyd@gnu.org>
777
778 * cus-edit.el (custom-variable-menu)
779 (custom-variable-reset-saved, custom-face-menu)
780 (custom-face-reset-saved): If there is no saved value, make the
781 "reset-saved" operation bring back the default (Bug#9509).
782 (custom-face-state): Properly detect themed faces.
783
eeddc531
CY
784 * faces.el (face-spec-set): Stop supporting deprecated form of
785 third arg.
786
dcbf5805
MA
7872012-04-22 Michael Albinus <michael.albinus@gmx.de>
788
789 Move functions from C to Lisp. Make non-blocking method calls
790 the default. Implement further D-Bus standard interfaces.
791
ef24141c
SM
792 * net/dbus.el (dbus-message-internal): Declare function.
793 Remove unneeded function declarations.
dcbf5805
MA
794 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
795 (dbus-message-type-method-return, dbus-message-type-error)
796 (dbus-message-type-signal): Declare variables. Remove local
797 definitions.
798 (dbus-interface-dbus, dbus-interface-peer)
799 (dbus-interface-introspectable, dbus-interface-properties)
800 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
801 Adapt docstring.
802 (dbus-interface-objectmanager): New defconst.
803 (dbus-call-method, dbus-call-method-asynchronously)
804 (dbus-send-signal, dbus-method-return-internal)
805 (dbus-method-error-internal, dbus-register-service)
806 (dbus-register-signal, dbus-register-method): New defuns, moved
807 from dbusbind.c
808 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
809 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
810 New defuns.
dcbf5805
MA
811 (dbus-call-method-non-blocking): Make it an obsolete function.
812 (dbus-unregister-object, dbus-unregister-service)
813 (dbus-handle-event, dbus-register-property)
814 (dbus-property-handler): Obey the new structure of
815 `bus-registered-objects'.
816 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
817 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
818 Use `dbus-call-method'.
819
cf20dee0
CY
8202012-04-22 Chong Yidong <cyd@gnu.org>
821
822 * cus-edit.el (custom-commands, custom-reset-menu)
823 (Custom-reset-standard): Tweak labels.
824 (custom-reset-button-menu): Change default to t.
825 (custom-buffer-create-internal): For the custom-reset-button-menu
826 case, put the revert button first.
827 (custom-group-subtitle): New face.
828 (custom-group-value-create): Align docstring to a specific column.
829
830 * wid-edit.el (widget-documentation-link-add): Don't handle
831 indentation in this function.
832 (widget-documentation-string-indent-to): New function.
833 (widget-documentation-string-value-create): Use it.
834
835 * autorevert.el (auto-revert):
836 * epg-config.el (epg):
837 * ibuffer.el (ibuffer):
838 * mpc.el (mpc):
839 * ses.el (ses):
840 * eshell/eshell.el (eshell):
841 * net/ange-ftp.el (ange-ftp):
842 * progmodes/ebnf2ps.el (postscript):
843 * progmodes/flymake.el (flymake):
844 * progmodes/prolog.el (prolog):
845 * progmodes/verilog-mode.el (verilog-mode):
846 * progmodes/which-func.el (which-func):
847 * term/xterm.el (xterm):
848 * textmodes/picture.el (picture):
849 * textmodes/tildify.el (tildify):
850 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
851 customization buffers.
852
583e23bd
AM
8532012-04-22 Alan Mackenzie <acm@muc.de>
854
855 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
856 Adding a ) can hide the resulting (..) from searches. Fix it.
857 Bound the backward search to the position of the existing (.
858
7dd51bf1
JB
8592012-04-21 Juanma Barranquero <lekktu@gmail.com>
860
861 * progmodes/verilog-mode.el (verilog-mode): Check whether
862 which-func-modes is t before adding verilog-mode.
863 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
864
d64a438f
LL
8652012-04-21 Leo Liu <sdl.web@gmail.com>
866
7dd51bf1 867 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 868
081e8d65
MV
8692012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
870
871 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
872 filling of the last column of a table (Bug#5635).
873 (woman-find-next-control-line): New arg, specifying an additional
874 regexp component for the control line.
875 (woman2-roff-buffer): Use it.
876 (woman-break-table): New function.
877 (woman2-TS): Use it.
878
8792012-04-21 Chong Yidong <cyd@gnu.org>
880
881 * woman.el (woman-set-buffer-display-table, woman-decode-region)
882 (woman-horizontal-escapes, woman-negative-vertical-space)
883 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
884 (WoMan-warn-ignored): Use ?\s instead of ?\ .
885
ed571ccb
SM
8862012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * minibuffer.el (completion-file-name-table): Complete user names.
889
39773899
LL
8902012-04-20 Leo Liu <sdl.web@gmail.com>
891
892 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
893 and pcase-let*.
894
de6ff46d
CY
8952012-04-20 Chong Yidong <cyd@gnu.org>
896
897 * server.el (server-execute): Respect initial-buffer-choice if it
898 is a string and there are no files to open (Bug#2825).
899 (server-create-window-system-frame, server-create-tty-frame):
900 Don't switch buffers here.
2d0e8e61
CY
901 (server-process-filter): Only try to open a window system frame if
902 compiled with graphical support (Bug#8314).
de6ff46d 903
54071013
DN
9042012-04-20 Dan Nicolaescu <dann@gnu.org>
905
906 * battery.el (battery-echo-area-format): Display remaining time
907 for sysfs backend too (Bug#11269).
908 (battery-linux-sysfs): Fix conditional for the charge.
909
f30d612a
CY
9102012-04-20 Chong Yidong <cyd@gnu.org>
911
c07a4c0b 912 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
913 (gdb-inferior-io--init-proc): New function.
914 (gdb-init-1): Use it.
915 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
916 responsible for allocating a new pty and hooking it to gdb when
917 the old pty gets an EIO due to process exit.
918 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
919 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
920 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
921
2116e93c
EZ
9222012-04-20 Eli Zaretskii <eliz@gnu.org>
923
924 * window.el (window-min-size, window-sizable, window-min-delta)
925 (window-max-delta, window--resizable, window-resizable)
926 (window-total-size, window-full-height-p, window-full-width-p)
927 (window-in-direction, window--resize-mini-window, window-resize)
928 (window--resize-child-windows-normal)
929 (window--resize-child-windows, window--resize-siblings)
930 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 931 (enlarge-window, shrink-window): Doc fixes.
2116e93c 932
c07a4c0b 9332012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 934
ef24141c
SM
935 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
936 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
937 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
938 pty process (Bug#11273).
939 (gdb-update): New arg to suppress talking to the gdb process.
940 (gdb-done-or-error): Use it.
941 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
942 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
943 sentinel not being called.
944
945 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
946
d02766ab
CY
947 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
948
c07a4c0b 9492012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
950
951 * net/network-stream.el (open-network-stream): Doc fix.
952
c07a4c0b 9532012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
954
955 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
956
c07a4c0b 9572012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
958
959 Ensure searching for keywords is case sensitive.
960
961 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
962 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
963 (c-defun-name, c-mark-function, c-cpp-define-name)
964 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 965 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 966
ef24141c
SM
967 * progmodes/cc-mode.el (c-font-lock-fontify-region):
968 Bind case-fold-search to nil.
f0f6bc35 969
c07a4c0b 9702012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
971
972 * mail/sendmail.el (mail-bury): Call return action with the right
973 Rmail buffer (Bug#11242).
974
9a864fa2
CY
975 * server.el (server-process-filter): Handle corner case where both
976 tty and nowait options are present (Bug#11102).
977
539aa513
EZ
9782012-04-20 Eli Zaretskii <eliz@gnu.org>
979
980 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
981 (top level): Put into the executable the ident-style '$Id:' tag on
982 windows-nt as well.
539aa513 983
cfc7d5da
SM
9842012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * electric.el (electric-indent-post-self-insert-function): Check that
987 electric-indent-mode is enabled in current buffer.
988
5b01685c
JB
9892012-04-19 Juanma Barranquero <lekktu@gmail.com>
990
991 * imenu.el (imenu-progress-message): Restore; it is "used" in
992 erc/erc-imenu.el and net/snmp-mode.el.
993
4d6769e1
JB
9942012-04-19 Juanma Barranquero <lekktu@gmail.com>
995
996 * avoid.el (mouse-avoidance-mode): Mark unused arg.
997 (mouse-avoidance-nudge-mouse): Remove unused binding.
998
999 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1000
1001 * descr-text.el (describe-char):
1002 * progmodes/python.el (python-describe-symbol):
1003 Don't call `toggle-read-only', set `buffer-read-only'.
1004
1005 * imenu.el (imenu-default-goto-function): Mark unused args.
1006 (imenu-progress-message): Remove obsolete macro; all callers changed.
1007
1008 * subr.el (keymap-canonicalize): Remove unused binding.
1009 (read-passwd): Mark unused arg.
1010
1011 * tutorial.el (tutorial--display-changes): Remove unused binding.
1012 (tutorial--save-tutorial-to): Remove unused variable.
1013
1014 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1015 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1016 (package-generate-autoloads, package-menu--generate)
1017 (package-menu--find-upgrades): Remove unused bindings.
1018
1019 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1020 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1021 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1022 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1023 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1024 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1025 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1026 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1027 (cua-delete-char-rectangle): Mark unused args.
1028 (cua-align-rectangle): Remove unused binding.
1029
1030 * mail/rmail.el (compilation--message->loc)
1031 (epa--find-coding-system-for-mime-charset): Declare.
1032
1033 * net/dbus.el (dbus-register-service): Declare.
1034 (dbus-name-owner-changed-handler): Remove unused binding.
1035
1036 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1037 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1038 (nxml-scan-backward-within): Mark unused arg.
1039 (nxml-dynamic-markup-word): Remove unused binding.
1040
1041 * mouse.el (mouse-menu-major-mode-map):
1042 * emacs-lisp/authors.el (authors-scan-change-log)
1043 (authors-add-to-author-list):
1044 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1045 * emacs-lisp/smie.el (smie-auto-fill):
1046 * mail/sendmail.el (mail-bury):
1047 * mail/unrmail.el (unrmail):
1048 * net/tls.el (open-tls-stream):
1049 * textmodes/picture.el (picture-mouse-set-point):
1050 Remove unused bindings.
1051
8c8fc5df
MA
10522012-04-19 Michael Albinus <michael.albinus@gmx.de>
1053
1054 * net/tramp.el (tramp-action-password): Let-bind
1055 `enable-recursive-minibuffers' to t.
1056
a77b0ac9
SS
10572012-04-18 Sam Steingold <sds@gnu.org>
1058
1059 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1060 instead of 'string to accommodate values like [f11].
1061 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1062 * progmodes/gdb-mi.el: Likewise.
1063
12a106a9
LL
10642012-04-18 Leo Liu <sdl.web@gmail.com>
1065
1066 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1067 current buffer.
1068 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1069 LOCAL is nil.
1070
bc6494ef
CY
10712012-04-18 Chong Yidong <cyd@gnu.org>
1072
1073 * simple.el (line-move): Use forward-line if in batch mode
1074 (Bug#11053).
1075
c09c46b2
CS
10762012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1077
1078 * files.el (after-find-file): Do not try to add a final newline if
1079 the buffer is read-only (Bug#11156).
1080
5f6530ea
RS
10812012-04-17 Richard Stallman <rms@gnu.org>
1082
1083 * mail/rmail.el (rmail-start-mail):
1084 Pass (rmail-mail-return...) for the return-action.
1085 Pass (rmail-yank-current-message...) for the yank-action.
1086 (rmail-yank-current-message): New function.
1087 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1088 (rmail-reply): Likewise.
1089 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1090
1091 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1092 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1093 buffer, not newbuf.
1094
197b6f3c
JB
10952012-04-17 Juanma Barranquero <lekktu@gmail.com>
1096
1097 * server.el (server-ensure-safe-dir): Simplify.
1098
2311d8e5 10992012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1100
2311d8e5
GM
1101 * emacs-lisp/smie.el: Provide smarter auto-filling.
1102 (smie-auto-fill): New function.
1103 (smie-setup): Use it.
98fb480e 1104
2311d8e5
GM
1105 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1106
11072012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1108
1109 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1110 (comment-indent): Use it.
1111
2311d8e5 11122012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1113
1114 * ses.el: The overall change is to add cell renaming, that is
1115 setting fancy names for cell symbols other than name matching
1116 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1117 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1118 (ses-create-cell-variable): New defun.
2311d8e5 1119 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1120 (ses-relocate-formula): Relocate formulas only for cells the
1121 symbols of which are not renamed, i.e. symbols whose names do not
1122 match regexp "\\`[A-Z]+[0-9]+\\'".
1123 (ses-relocate-all): Relocate values only for cells the symbols of
1124 which are not renamed.
1125 (ses-load): Create cells variables as the (ses-cell ...) are read,
1126 in order to check row col consistency with cell symbol name only
1127 for cells that are not renamed.
1128 (ses-replace-name-in-formula): New defun.
1129 (ses-rename-cell): New defun.
4bdf2ad2 1130
fc72b15c
PO
11312012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1132
1133 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1134 New option (bug#11118).
1135 (perl-calculate-indent): Respect it.
1136
12e10e61
GM
11372012-04-17 Glenn Morris <rgm@gnu.org>
1138
1139 * dired-aux.el (dired-mark-read-string): Doc fix.
1140
30009afd
DA
11412012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1142
1143 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1144 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1145
41f03f4d
GM
11462012-04-17 Glenn Morris <rgm@gnu.org>
1147
1148 * mouse.el (mouse-drag-track):
1149 * speedbar.el (speedbar-frame-mode):
1150 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1151
f45f90f3
LL
11522012-04-16 Leo Liu <sdl.web@gmail.com>
1153
1154 * progmodes/python.el: Trivial cleanup.
1155
94ee8db5
GM
11562012-04-16 Glenn Morris <rgm@gnu.org>
1157
121b8917
GM
1158 * vc/vc.el (vc-string-prefix-p):
1159 * vc/pcvs-util.el (cvs-string-prefix-p):
1160 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1161 * mpc.el (mpc-string-prefix-p):
1162 Make all of these into obsolete aliases for string-prefix-p.
1163 Update callers.
1164 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1165
1197ecfa
GM
1166 * textmodes/two-column.el: Move custom options to the start.
1167 (frame-width): Remove compat definition.
1168 (2C-associate-buffer, 2C-dissociate):
1169 Use with-current-buffer rather than save-excursion.
1170 (2C-dissociate): Force a mode-line update.
1171 (2C-autoscroll): Use ignore-errors.
1172
099e7202
GM
1173 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1174 Autoload trivia.
1175
bf350d6a
GM
1176 * emacs-lisp/cl-extra.el (*random-state*):
1177 Remove unnecessary declaration.
1178
0e829eab
GM
1179 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1180
e3ad7552
GM
1181 * play/cookie1.el (cookie-snarf):
1182 Give an explicit error if input file cannot be read.
1183
68892d27
GM
1184 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1185
20f0c46d
GM
1186 * progmodes/perl-mode.el (c-macro-expand):
1187 Remove unnecessary autoload (it is in loaddefs.el).
1188
5a0978ce
GM
1189 * textmodes/picture.el (picture-desired-column)
1190 (picture-update-desired-column): Convert comments to doc-strings.
1191 (picture-substitute): Remove function.
1192 (picture-mode-map): Initialize in the defvar.
1193
6b955486
GM
1194 * woman.el: Remove eval-after-load for tar-mode.
1195 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1196 (woman-tar-extract-file): Autoload it.
1197
94ee8db5
GM
1198 * frame.el (automatic-hscrolling): Make this alias obsolete.
1199
177eca34
AM
12002012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1201
1202 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1203 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1204 (ispell-dictionary-base-alist): Revert to original XEmacs
1205 friendly version for default. [:alpha:] will be added in
1206 `ispell-set-spellchecker-params' if needed
177eca34 1207
c505aaeb
CY
12082012-04-16 Chong Yidong <cyd@gnu.org>
1209
1210 * image.el (imagemagick--extension-regexp): New variable.
1211 (imagemagick-register-types): Use it.
1212 (imagemagick-types-inhibit): Add :set function. Allow new value
1213 of t to inhibit all types.
1214
1215 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1216 so we can preload it.
1217
1218 * loadup.el (fboundp): Preload regexp-opt, needed by
1219 imagemagick-register-types.
1220
60efac0f
CY
12212012-04-15 Chong Yidong <cyd@gnu.org>
1222
1223 * frame.el (scrolling): Remove nearly unused customization group.
1224
1225 * scroll-all.el (scroll-all-mode): Move to windows group.
1226
5dd1713e
CY
12272012-04-15 Chong Yidong <cyd@gnu.org>
1228
1229 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1230
e6fd457e
CY
12312012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1234 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1235
e153c136
GM
12362012-04-15 Glenn Morris <rgm@gnu.org>
1237
1238 * simple.el (process-file-side-effects): Doc fix.
1239
e6fd457e 12402012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1241
1242 * international/mule-cmds.el (set-language-environment): Doc fix.
1243
3603c3b1
JB
12442012-04-14 Juanma Barranquero <lekktu@gmail.com>
1245
1246 * server.el (server-auth-key, server-generate-key): Doc fixes.
1247 (server-get-auth-key): Doc fix. Use `string-match-p'.
1248 (server-start): Reflow docstring.
1249
e6de100c
LI
12502012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1251
1252 * server.el (server-generate-key): `called-interactively-p'
1253 requires a parameter.
1254
29734c21
MN
12552012-04-14 Michal Nazarewicz <mina86@mina86.com>
1256
1257 * server.el (server-auth-key): New variable.
75f1671a 1258 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1259 (server-start): Use the new variable and functions to allow
1260 setting a permanent server key (bug#9423).
1261
d65c9521
LL
12622012-04-14 Leo Liu <sdl.web@gmail.com>
1263
1264 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1265
5ae255c7
PE
12662012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1267
1268 Spelling fixes.
1269 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1270 Emacs uses American spelling.
1271
d5e6342e
JB
12722012-04-14 Juanma Barranquero <lekktu@gmail.com>
1273
1274 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1275 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1276 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1277 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1278
ab036cd7
SM
12792012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * progmodes/which-func.el (which-func-modes): Change default.
1282
35dc09a1 12832012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1284
1285 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1286 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1287
35dc09a1 12882012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1289
1290 * custom.el (custom-theme-set-variables): Doc fix.
1291
35dc09a1 12922012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1293
1294 * international/mule.el (set-auto-coding-for-load): Doc fix.
1295
35dc09a1 12962012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1297
35dc09a1
GM
1298 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1299 imenu work again for Objective C Mode. Correct the *-index values,
1300 these having been disturbed by a previous change in 2011-08.
57f845ee 1301
0de3da9f
AM
1302 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1303 Correct two search limits.
1304
35dc09a1 13052012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1306
1307 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1308
35dc09a1 13092012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1310
1311 * international/characters.el: Fix sorting.
1312
35dc09a1 13132012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1314
1315 * international/characters.el: Add more missing Latin case pairs.
1316
35dc09a1 13172012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1318
1319 * files.el (dir-locals-set-class-variables): Doc fix.
1320
35dc09a1 13212012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1322
3f1b5bf8
EZ
1323 * international/characters.el: Add set-case-syntax-pair call for
1324 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1325 counterpart. (Bug#11209)
1326
9f847f41
EZ
1327 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1328
35dc09a1 13292012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1330
1331 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1332
35dc09a1 13332012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1334
35dc09a1
GM
1335 * textmodes/ispell.el (ispell-dictionary-base-alist):
1336 Add data for Hebrew.
e2627d21 1337
35dc09a1 13382012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1339
35dc09a1
GM
1340 * net/rcirc.el (rcirc-cmd-quit):
1341 Revert 2012-03-18 change (Bug#11192).
5c14e333 1342
35dc09a1 13432012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1344
1345 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1346
35dc09a1 13472012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1348
4517fe3a
SM
1349 * minibuffer.el (completion-in-region-mode-map):
1350 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1351
b472a594
VD
13522012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1353
1354 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1355
09b95ce3
MY
13562012-04-13 Masatake YAMATO <yamato@redhat.com>
1357
1358 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1359 to allow `C-M-f' and `C-M-b' to move to the nearest path
1360 separator (bug#9511).
1361
4b63a9ca
LI
13622012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1363
1364 * avoid.el: Require cl when compiling. And also move the
1365 `provide' to the end.
1366
7b55b8bf
TV
13672012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1368
1369 * avoid.el (mouse-avoidance-banish-position): New variable.
1370 (mouse-avoidance-banish-destination): Use it (bug#10165).
1371
adedaa1f
LL
13722012-04-13 Leo Liu <sdl.web@gmail.com>
1373
1374 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1375
70e74021
KB
13762012-04-13 Ken Brown <kbrown@cornell.edu>
1377
1378 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1379 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1380 (browse-url-filename-alist): For the same reason, don't modify
1381 file:// URLs on Cygwin.
1382
e75e89ba
SM
13832012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1386 the region on shift if the binding is already shifted (bug#11221).
1387
82f289a4
GM
13882012-04-12 Glenn Morris <rgm@gnu.org>
1389
1390 * mail/mailpost.el: Move to obsolete/.
1391
d333dc4c
DA
13922012-04-12 Drew Adams <drew.adams@oracle.com>
1393
1394 * imenu.el (imenu--generic-function): Ignore invisible definitions
1395 (bug#10123).
1396
0d15b5ba
VD
13972012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1398
1399 * hexl.el (hexl-bits): New variable.
1400 (hexl-options): Mention the variable in the doc string.
75f1671a 1401 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1402 (hexl-mode): Mention the new variable.
75f1671a
JB
1403 (hexl-mode, hexl-current-address, hexl-current-address):
1404 Use the displen.
0d15b5ba
VD
1405 (hexl-ascii-start-column): New function.
1406 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1407 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1408
64a440db
AM
14092012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1410
1411 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1412 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1413 the encoding, as expected by hunspell.
1414
6decb6c2
SM
14152012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * battery.el (battery--linux-sysfs-regexp): New const.
1418 (battery-status-function): Use it. Remove yeeloong special case.
1419 (battery-yeeloong-sysfs): Remove.
1420 (battery-echo-area-format): Remove yeeloong special case.
1421
088be6fb
SM
14222012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1423
6622e416
SM
1424 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1425 Reported by Noah Friedman.
1426
088be6fb
SM
1427 * subr.el (read-passwd): Use read-string.
1428
b49f886e
LMI
14292012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1430
1431 * vcursor.el (vcursor-move): Increase the priority of the overlay
1432 (bug#9663).
1433
a63067fc
DD
14342012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1435
1436 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1437 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1438
ac3cf14a
WS
14392012-04-11 William Stevenson <yhvh2000@gmail.com>
1440
1441 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1442 define-minor-mode (bug#10760).
1443
c4fc691b 14442012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1445
4d6769e1 1446 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1447 that directories matching `grep-find-ignored-files' won't be
1448 pruned (bug#10351).
1449
af23e2e5
CY
14502012-04-11 Chong Yidong <cyd@gnu.org>
1451
1452 * startup.el (command-line): Remove support for long-obsolete
1453 variable font-lock-face-attributes.
1454
ab7ce8c1
GM
14552012-04-11 Glenn Morris <rgm@gnu.org>
1456
1457 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1458
de8c03dc
SM
14592012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1460
1461 * window.el (window--state-get-1): Obey window-point-insertion-type.
1462
050cc68b
LB
14632012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1464
1465 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1466 to previous function when point is on the first character of a
75f1671a 1467 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1468
a38c310c
GM
14692012-04-11 Glenn Morris <rgm@gnu.org>
1470
effed0c2
GM
1471 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1472 not just file-errors.
1473
a38c310c
GM
1474 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1475 (vc-bzr-sha1): Use internal sha1.
1476
0221e323
SM
14772012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1478
1479 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1480
43956923
SG
14812012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1482
1483 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1484 that start in the middle of the line (bug#10496).
1485
6a8c9eaf
DN
14862012-04-10 Dan Nicolaescu <dann@gnu.org>
1487
1488 * battery.el (battery-linux-proc-acpi): Only one battery is
1489 discharged at a time, but that seems to confuse battery.el when
1490 computing `rate-type' for the battery not being discharged
1491 (bug#10332).
1492
1930bf5d
SM
14932012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1494
2a718f6f
SM
1495 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1496
599430d0
SM
1497 * international/quail.el: Use dolist and simplify.
1498 (quail-define-package, quail-update-keyboard-layout)
1499 (quail-define-rules): Use dolist.
1500 (quail-insert-kbd-layout, quail-get-translation): CSE.
1501
a2754b6c
SM
1502 * tmm.el: Use dolist, remove left over hook.
1503 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1504 Use dolist.
1505 (calendar-load-hook): Don't mess with it.
1506
1930bf5d
SM
1507 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1508 Use derived-mode-p. Run the diff asynchronously.
1509
9f67961c
LMI
15102012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1511
1512 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1513
2a8ce227
JB
15142012-04-10 Juanma Barranquero <lekktu@gmail.com>
1515
1516 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1517 (list-dynamic-libraries--loaded): New function.
1518 (list-dynamic-libraries--refresh): Use it.
1519
8f33b5f8
NW
15202012-04-10 Nathan Weizenbaum <nweiz@google.com>
1521
1930bf5d
SM
1522 * progmodes/python.el (python-fill-paragraph):
1523 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1524 disabled (bug#7018).
1525
b12f0439
L
15262012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1527
1930bf5d 1528 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1529 DOS/MS Windows for the Baltic languages. There are still plenty
1530 of texts written in this encoding/codepage (bug#6519).
b12f0439 1531
57c3bd01
GM
15322012-04-10 Glenn Morris <rgm@gnu.org>
1533
1534 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1535 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1536
6c3eab30
FA
15372012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1538
1930bf5d 1539 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1540 next-line "n" and previous-line "p" in order to make recentf more
1541 consistent with ibuffer, dired or org-mode (bug#9387).
1542
24d78a88
LMI
15432012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1544
bc72b5d9
LMI
1545 * image.el (put-image): Return the overlay created instead of the
1546 optional input string (bug#7834). Note that this may break code
1547 that is (for some reason or other) depending on `put-image'
1548 returning the string.
1549
bd2dba5a
LMI
1550 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1551
74beb59f
LMI
1552 * simple.el (zap-to-char): Allow zapping using input methods
1553 (bug#1580).
1554
24d78a88
LMI
1555 * textmodes/fill.el (fill-region): Leave point and mark where they
1556 were before filling (bug#5399).
1557
263f20cd
GM
15582012-04-09 Glenn Morris <rgm@gnu.org>
1559
1560 * version.el (emacs-bzr-get-version):
1561 Handle lightweight checkouts of local branches.
1562
58d1f797
AS
15632012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1564
263f20cd 1565 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1566
b4d3bc10
CY
15672012-04-09 Chong Yidong <cyd@gnu.org>
1568
1569 * custom.el (custom-variable-p): Return nil for non-symbol
1570 arguments instead of signaling an error.
1571 (user-variable-p): Obsolete alias for custom-variable-p.
1572
1573 * apropos.el (apropos-variable):
1574 * files-x.el (read-file-local-variable):
1575 * simple.el (set-variable):
1576 * woman.el (woman-mini-help):
1577 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1578
fd06db5d
GM
15792012-04-09 Glenn Morris <rgm@gnu.org>
1580
e5fcdb5e
GM
1581 * startup.el (normal-top-level): Don't look for leim-list.el
1582 in places where it will not be found. (Bug#910)
1583
fd06db5d
GM
1584 * international/mule-cmds.el (set-default-coding-systems):
1585 * files.el (normal-mode):
1586 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1587 This function was removed with ucs-tables.el in 2008.
1588
b39bb7e1
EZ
15892012-04-08 Eli Zaretskii <eliz@gnu.org>
1590
1591 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1592 ispell-encoding8-command to "-i", without a trailing space.
1593 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1594 separate command-line arguments, to specify the encoding, since
1595 that's how hunspell expects it.
1596
5c5b8e23
GM
15972012-04-08 Glenn Morris <rgm@gnu.org>
1598
1599 * loadup.el: Load bindings before cus-start.
1600 This reduces somewhat the number of "rogue" settings in emacs -Q.
1601
a1ed8b05
GM
16022012-04-07 Glenn Morris <rgm@gnu.org>
1603
1604 * version.el (emacs-bzr-get-version): New function.
dfae128a 1605 (emacs-bzr-version): New variable.
a1ed8b05
GM
1606 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1607 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1608
b142f158
EZ
16092012-04-07 Eli Zaretskii <eliz@gnu.org>
1610
dfae128a
GM
1611 * international/uni-bidi.el, international/uni-category.el:
1612 * international/uni-combining.el, international/uni-decimal.el:
1613 * international/uni-decomposition.el, international/uni-digit.el:
1614 * international/uni-lowercase.el, international/uni-mirrored.el:
1615 * international/uni-name.el, international/uni-numeric.el:
1616 * international/uni-titlecase.el, international/uni-uppercase.el:
1617 Update for Unicode 6.1.
b142f158 1618
9078ead6
EZ
16192012-04-07 Eli Zaretskii <eliz@gnu.org>
1620
1621 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1622
f23d2c7d
LMI
16232012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1624
1625 * window.el (shrink-window): Mention the `window-min-height'
1626 variable in the doc string.
1627
0a0a3573
BG
16282012-04-05 Bastien Guerry <bzg@altern.org>
1629
1630 * color.el (color-lighten-name): Fix typo.
1631
e5248ac9
SM
16322012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * server.el (server--on-display-p): New function.
1635 (server--on-display-p): Use it.
1636
b4243e22
GV
16372012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1638
1639 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1640 (bug#11145).
1641
305d9f44
SM
16422012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * comint.el (comint--common-quoted-suffix): Check string boundary
1645 before comparing (bug#11158).
1646 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1647
3d439cd1
CY
16482012-04-04 Chong Yidong <cyd@gnu.org>
1649
321cc491
CY
1650 * minibuffer.el (completion-extra-properties): Doc fix.
1651
3d439cd1
CY
1652 * subr.el (delayed-warnings-hook): Doc fix.
1653
2d562c0f
DU
16542012-04-04 Daiki Ueno <ueno@unixuser.org>
1655
1656 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1657 selection (Bug#11159).
1658 (epa-insert-keys): Inform that the default public key will be
1659 exported if no key is selected.
1660
4443f204
RS
16612012-04-04 Richard Stallman <rms@gnu.org>
1662
1663 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1664
529c06b6
CY
16652012-04-03 Chong Yidong <cyd@gnu.org>
1666
1667 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1668 mail-insert-file, not its obsolete alias mail-attach-file.
1669
66b907dc
MA
16702012-04-03 Michael Albinus <michael.albinus@gmx.de>
1671
1672 * notifications.el (notifications-notify): Fix docstring.
1673
c0ea195d
GM
16742012-04-02 Glenn Morris <rgm@gnu.org>
1675
1676 * emacs-lisp/authors.el (authors-aliases): Another addition.
1677
5ca64e00
MA
16782012-04-02 Michael Albinus <michael.albinus@gmx.de>
1679
1680 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1681 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1682 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1683
42ee526b
CY
16842012-04-01 Chong Yidong <cyd@gnu.org>
1685
1686 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1687 Handle root directory properly.
1688 (copy-directory): Caller changed.
1689
1690 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1691 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1692
0b021094
GM
16932012-03-31 Glenn Morris <rgm@gnu.org>
1694
40f86458
GM
1695 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1696
7019c177
GM
1697 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1698
a1daddd6
GM
1699 * calendar/calendar.el (calendar-window-list)
1700 (calendar-hide-window): Restore. (Bug#11140)
1701 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1702
0b021094
GM
1703 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1704
40311efc
TV
17052012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1706
1707 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1708 Check if file is a symlink (Bug#10489).
1709
1710 * files.el (copy-directory): Likewise.
1711
5319014e
CY
17122012-03-30 Chong Yidong <cyd@gnu.org>
1713
1714 * image.el (imagemagick-types-inhibit)
1715 (imagemagick-register-types): Doc fix.
1716
935d1290
AM
17172012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1718
ef24141c
SM
1719 * ispell.el (ispell-get-extended-character-mode):
1720 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1721 and treats ~word as ordinary words in pipe mode.
935d1290 1722
61c6e8fd
GM
17232012-03-30 Glenn Morris <rgm@gnu.org>
1724
1725 * tutorial.el (help-with-tutorial): Ensure local variables don't
1726 happen to make the buffer read-only. (Bug#11127)
1727
81fdff00
SM
17282012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1729
1730 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1731 (perl-calculate-indent): Return `noindent' in strings.
1732
6e7a6ec0
SS
17332012-03-28 Sam Steingold <sds@gnu.org>
1734
1735 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1736 instead of the broken adhockery which does not prevent calendar
1737 buffers from being displayed at random after exit.
1738 (calendar-window-list, calendar-hide-window): Remove the broken
1739 adhockery.
1740
fee88ca0
GM
17412012-03-28 Glenn Morris <rgm@gnu.org>
1742
1743 * replace.el (query-replace-map): Doc fix.
1744
38de3354
AS
17452012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1746
1747 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1748 contents. (Bug#11109)
1749
b973155e
SM
17502012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1751
1752 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1753 (bug#11077).
1754 (avl-tree--check, avl-tree--check-node): New funs.
1755
dcb6e7b3
MR
17562012-03-27 Martin Rudalics <rudalics@gmx.at>
1757
1758 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1759 (switch-to-prev-buffer, switch-to-next-buffer):
1760 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1761 showing a buffer already is done on the same frame.
1762
b4fa35fa
GM
17632012-03-27 Glenn Morris <rgm@gnu.org>
1764
1765 * startup.el (mail-host-address): Doc fix.
1766
f9210e18
SM
17672012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1770 than 197 variables.
1771
c0bf7753
AF
17722012-03-26 Ami Fischman <ami@fischman.org>
1773
1774 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1775
33da7b16
GM
17762012-03-26 Glenn Morris <rgm@gnu.org>
1777
02243d9d
GM
1778 * files.el (save-buffers-kill-emacs): Doc fix.
1779
33da7b16
GM
1780 * startup.el (normal-top-level, command-line, command-line-1):
1781 Give them doc strings.
1782
e5a69fd0
EZ
17832012-03-25 Eli Zaretskii <eliz@gnu.org>
1784
1785 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1786 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1787
9a69676a
CY
17882012-03-25 Chong Yidong <cyd@gnu.org>
1789
4125cb8b
CY
1790 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1791 theme if it was previously enabled before (Bug#11031).
1792
dd470960
CY
1793 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1794 spec with custom-face-get-current-spec if its :shown-value is not
1795 determined yet (Bug#9337).
4125cb8b 1796 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1797
9a69676a
CY
1798 * button.el (button-at): Minor addition to docstring.
1799
6e7e90fa
SL
18002012-03-24 Simon Leinen <simon.leinen@gmail.com>
1801
1802 * vc/vc.el (vc-merge): Fix a prompt.
1803
f06e2758
CY
18042012-03-24 Chong Yidong <cyd@gnu.org>
1805
1806 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1807 point (Bug#9623).
1808
6e7e90fa
SL
1809 * button.el (button-at): Minor addition to docstring.
1810
b9d0879b
SM
18112012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * newcomment.el (comment-choose-indent): No space after BOL.
1814
e71cebb3
SS
18152012-03-22 Sam Steingold <sds@gnu.org>
1816
1817 * window.el (switch-to-prev-buffer): Revert last patch because the
1818 bug turned out to be an advertised feature (Elisp manual 28.14).
1819
335aff35
GM
18202012-03-22 Glenn Morris <rgm@gnu.org>
1821
1822 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1823 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1824
c676576a
LMI
18252012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1826
1827 * net/network-stream.el (network-stream-open-starttls): Make error
1828 message under Windows be less misleading.
1829
126f3d39
LW
18302012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1831
1832 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1833 understands (bug#9942).
1834
64fee311
CY
18352012-03-22 Chong Yidong <cyd@gnu.org>
1836
1837 * simple.el (end-of-visible-line): Handle return value of
1838 next-single-property-change properly (Bug#9371).
1839
a640d29a
KH
18402012-03-22 Kenichi Handa <handa@m17n.org>
1841
1842 * international/quail.el (quail-insert-kbd-layout): Fix previous
1843 change. To avoid unwanted bidi reordering, use
1844 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1845
39675016
DG
18462012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1847
1848 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1849 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1850 (ruby-beginning-of-indent): Be more careful with the difference
1851 between word-boundary and symbol boundary.
1852 (ruby-mode-syntax-table): Make : a symbol constituent.
1853
0a6934fc 18542012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1855
3d008e4f
SM
1856 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1857
0a6934fc
SM
18582012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1859
af67c9d7
SM
1860 * progmodes/etags.el (tags-completion-at-point-function):
1861 Improve last fix.
1862
1acad97c
SM
1863 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1864
e298b5da
SS
18652012-03-21 Sam Steingold <sds@gnu.org>
1866
1867 * progmodes/etags.el (tags-completion-at-point-function):
1868 Avoid the error when point is inside the pattern.
1869
91d82a70
JY
18702012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1871
1872 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1873 line (Bug#10855).
1874
69188b79
CY
18752012-03-21 Drew Adams <drew.adams@oracle.com>
1876
1877 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1878
99fc91fe
AK
18792012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1880
1881 * ido.el (ido-set-current-directory, ido-read-internal)
1882 (ido-choose-completion-string, ido-completion-help): Handle nil
1883 value of ido-completion-buffer (Bug#11008).
1884
087bbb4c
SS
18852012-03-21 Sam Steingold <sds@gnu.org>
1886
1887 * window.el (switch-to-prev-buffer): Do not switch to a visible
1888 window previous buffer, just like with the frame previous buffers.
1889
fb5b8aca
CY
18902012-03-21 Chong Yidong <cyd@gnu.org>
1891
1892 * faces.el (make-face, make-empty-face, copy-face):
1893 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1894 Doc fixes.
1895
dc9924b8
SM
18962012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1899 (widget-complete): Remove broken use of it.
1900
f0bcceb9
CY
19012012-03-20 Chong Yidong <cyd@gnu.org>
1902
dc9924b8
SM
1903 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1904 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1905 characters.
1906
ee52ebf3
TH
19072012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1908
1909 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1910 to draw rectangles, not squares. (Regression introduced by revno
1911 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1912
4c5779ab
CY
19132012-03-18 Chong Yidong <cyd@gnu.org>
1914
1915 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1916 it is not yet defined (for temacs).
1917
15360934
LL
19182012-03-18 Leo Liu <sdl.web@gmail.com>
1919
dc9924b8 1920 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1921
d9a8eb66
EZ
19222012-03-17 Eli Zaretskii <eliz@gnu.org>
1923
1924 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1925 (ispell-choices-win-default-height, ispell-silently-savep)
1926 (ispell-dictionary-alist, ispell-encoding8-command)
1927 (ispell-check-version, ispell-aspell-find-dictionary)
1928 (ispell-valid-dictionary-list, ispell-words-keyword)
1929 (ispell-get-word, ispell-internal-change-dictionary)
1930 (ispell-region, ispell-skip-region-list)
1931 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1932 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1933 (ispell-message-text-end, ispell-message)
1934 (ispell-buffer-local-parsing): Doc fix.
1935
f02ff80d
J
19362012-03-13 Jambunathan K <kjambunathan@gmail.com>
1937
1938 * htmlfontify.el: Add support for code block fontification for ODT
1939 export (Bug #9914).
1940 (hfy-optimisations): Define new option
1941 `body-text-only'
1942 (hfy-fontify-buffer): Honor above setting.
1943 (hfy-begin-span, hfy-end-span): New routines factored out form
1944 `hfy-fontify-buffer'.
1945 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1946 that permit insertion of custom tags.
1947 (hfy-fontify-buffer): Use above handlers.
1948 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1949 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1950 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1951 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1952 bind a special variable `hfy-user-sheet-assoc'.
1953 (htmlfontify-string): New defun.
1954 (hfy-compile-face-map): Make sure that the last char in the
1955 buffer is correctly fontified.
1956 (hfy-face-resolve-face): Whitespace only change.
1957
9ac7a13f
EZ
19582012-03-17 Eli Zaretskii <eliz@gnu.org>
1959
1960 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1961 message more clear.
1962
e2b5bdd7
LL
19632012-03-16 Leo Liu <sdl.web@gmail.com>
1964
1965 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1966
2e492df3
AM
19672012-03-16 Alan Mackenzie <acm@muc.de>
1968
1969 Further optimise the handling of large macros.
1970
1971 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1972 limit to a call of `c-literal-limits'.
1973 (c-determine-+ve-limit): New function.
dc9924b8
SM
1974 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1975 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1976 In CASE 5B, restrict a search limit to 500.
1977 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1978
1979 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1980 Restrict macro bounds to +-500 from after-change's BEG END.
1981
50e94f0c
LL
19822012-03-16 Leo Liu <sdl.web@gmail.com>
1983
1984 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1985
6f09f6ed
AH
19862012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1987
1988 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1989 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1990
c7e73d51
GM
19912012-03-16 Glenn Morris <rgm@gnu.org>
1992
da986230
GM
1993 * view.el (view-buffer, view-buffer-other-window)
1994 (view-buffer-other-frame): Doc fixes re special mode-class.
1995
0835f01e
GM
1996 * subr.el (eval-after-load): If named feature is provided not from
1997 a file, run after-load forms. (Bug#10946)
1998
c7e73d51
GM
1999 * calendar/calendar.el (calendar-insert-at-column):
2000 Handle non-unit-width characters a bit better. (Bug#10978)
2001
3f2eafd1
CY
20022012-03-15 Chong Yidong <cyd@gnu.org>
2003
2004 * emacs-lisp/ring.el (ring-extend): New function.
2005 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2006
2007 * comint.el (comint-read-input-ring)
2008 (comint-add-to-input-history): Grow comint-input-ring lazily.
2009
103af3fe
SM
20102012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2011
663b1677
SM
2012 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2013 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2014
103af3fe
SM
2015 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2016 (imenu-add-to-menubar): Don't add a redundant index.
2017 (imenu-update-menubar): Handle a dynamically composed keymap.
2018
899cb7cb
KY
20192012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2020
2021 * mail/sendmail.el (mail-encode-header):
2022 Bind rfc2047-encode-encoded-words to nil.
2023
3809f91d
GM
20242012-03-13 Glenn Morris <rgm@gnu.org>
2025
2026 * calendar/calendar.el (calendar-string-spread):
2027 Handle non-unit-width characters a bit better. (Bug#10978)
2028
9e345a01
LL
20292012-03-13 Leo Liu <sdl.web@gmail.com>
2030
2031 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2032 directory and file as argument (Bug#10822).
2033
4a07df36
KS
20342012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2035
2036 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2037 For dynamically generated code, follow $PC.
2038 (gdb-disassembly-handler-custom): Handle no function name case.
2039
4aaa9356
TL
20402012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2041
2042 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2043 * emulation/ws-mode.el (ws-query-replace):
2044 * sort.el (sort-regexp-fields):
2045 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2046
225979da
SM
20472012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * dabbrev.el: Fix cycle completion order (bug#10963).
2050 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2051 (dabbrev-completion): Don't use an obarray; provide
2052 a cycle-sort-function.
2053
e2f1fdab
LL
20542012-03-12 Leo Liu <sdl.web@gmail.com>
2055
dc9924b8 2056 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2057 (kill-do-not-save-duplicates): Doc fix.
2058
b19490ed
SM
20592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2060
2061 * dabbrev.el: Fix cycle completion (bug#10963).
2062 Use lexical binding and wrap to 80 columns.
2063 (dabbrev-completion): Delay computing the list of completions.
2064
4b05d722
KH
20652012-03-12 Kenichi Handa <handa@m17n.org>
2066
2067 * international/quail.el (quail-insert-kbd-layout): Surround each
2068 row by LRO and PDF instead of inserting many LRMs. Pad the left
2069 and right of each non-spacing marks. Insert invisible space
2070 between lower and upper characters to prevent composition.
2071
dbbc2e69
SM
20722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * minibuffer.el (minibuffer-complete): Don't get confused when the
2075 function is run twice via different commands (bug#10958).
2076 (complete-with-action): Fix docstring.
2077
292112ed
CY
20782012-03-12 Chong Yidong <cyd@gnu.org>
2079
5d1ac394
CY
2080 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2081 (nxml-completion-at-point-function): New function.
2082 (nxml-mode): Use it.
2083 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2084
292112ed
CY
2085 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2086 Load generated autoloads file before byte compiling (Bug#10970).
2087 (package--make-autoloads-and-compile): New helper fun.
2088
4098f8f7
CS
20892012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2090
2091 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2092
8f754691
MA
20932012-03-11 Michael Albinus <michael.albinus@gmx.de>
2094
2095 * autorevert.el (auto-revert-handler): Ensure, that
2096 file-readable-p is applied only for local files or in
2097 auto-revert-tail-mode.
2098
e29ab36b
AS
20992012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2100
dbbc2e69
SM
2101 * server.el (server-eval-at): Handle non-tcp connections.
2102 Decode result string.
ad0bf5b6 2103
e29ab36b
AS
2104 * server.el (server-msg-size): New constant.
2105 (server-reply-print): New function.
2106 (server-eval-and-print): Use it.
2107 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2108 Handle -print-nonl.
2109
de5939ba
CS
21102012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2111
2112 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2113 (Bug#10987).
2114
0c93eabf
CY
21152012-03-11 Chong Yidong <cyd@gnu.org>
2116
397a688f
CY
2117 * simple.el (goto-line): Doc fix (Bug#9938).
2118
2cc775f9
CY
2119 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2120
0c93eabf
CY
2121 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2122 when finished (Bug#10963).
2123
c491fa41
MR
21242012-03-11 Martin Rudalics <rudalics@gmx.at>
2125
2126 * window.el (split-window-below): Fix bug in case where
2127 split-window-keep-point is nil (Bug#10971).
2128
300e8fa5
JL
21292012-03-11 Juri Linkov <juri@jurta.org>
2130
2131 * replace.el (replace-highlight): Set isearch-word to nil
2132 unconditionally. (Bug#10887)
2133
dbf6c5a1
EZ
21342012-03-10 Eli Zaretskii <eliz@gnu.org>
2135
2136 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2137 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2138 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2139 (mairix-widget-create-query): Add usage information about mairix
2140 search forms: negating words, searching for substrings, etc.
2141
b9e501de
JP
21422012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2143
2144 * international/fontset.el (font-encoding-alist): Add an entry for
2145 ksx1001 (Bug#5667).
2146
92795c91
RS
21472012-03-10 Richard Stallman <rms@gnu.org>
2148
1694e6c1
RS
2149 * mail/sendmail.el (mail-encode-header):
2150 Set rfc2047-encode-encoded-words.
2151
607e8555
RS
2152 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2153
de3bc99a
RS
2154 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2155 view buffer means not swapped.
2156 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2157 (rmail-write-region-annotate): Error if real text has disappeared.
2158
92795c91
RS
2159 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2160
699bd04e
CY
21612012-03-10 Chong Yidong <cyd@gnu.org>
2162
2163 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2164 * emulation/cua-base.el (cua--init-keymaps):
2165 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2166
570a1714
MR
21672012-03-10 Martin Rudalics <rudalics@gmx.at>
2168
dbbc2e69
SM
2169 * speedbar.el (speedbar-unhighlight-one-tag-line):
2170 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2171
82dcf4e4
CY
21722012-03-10 Chong Yidong <cyd@gnu.org>
2173
7a2c7ca7
CY
2174 * minibuffer.el (completion-in-region, completion-help-at-point):
2175 Give the completion field overlay a high priority (Bug#6830).
2176
82dcf4e4
CY
2177 * dired.el (dired-goto-file): Recognize absolute file name
2178 listings (Bug#7126).
2179 (dired-goto-file-1): New helper function.
2180 (dired-toggle-read-only): Inhibit warnings.
2181
052e28ac
MA
21822012-03-09 Michael Albinus <michael.albinus@gmx.de>
2183
75f1671a 2184 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2185 there are no properties.
2186
95d5e396
LL
21872012-03-09 Leo Liu <sdl.web@gmail.com>
2188
2189 * savehist.el (savehist-printable): Stricter check for string
2190 value (Bug#10937).
2191
3f018d6d
EZ
21922012-03-09 Eli Zaretskii <eliz@gnu.org>
2193
dbbc2e69
SM
2194 * mail/smtpmail.el (smtpmail-send-it):
2195 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2196 valid mbox format.
2197
f7fd3d79
GM
21982012-03-09 Glenn Morris <rgm@gnu.org>
2199
2200 * files.el (dir-locals-find-file):
2201 Don't check result is regular, readable.
2202 (dir-locals-read-from-file): Demote errors.
2203
6ff6e72f
EZ
22042012-03-08 Eli Zaretskii <eliz@gnu.org>
2205
dbbc2e69
SM
2206 * international/quail.el (quail-insert-kbd-layout):
2207 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2208 layout cell, to prevent their reordering by bidi display engine.
2209 For details, see the discussion in
2210 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2211
9cec7834
AM
22122012-03-08 Alan Mackenzie <acm@muc.de>
2213
2214 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2215 the starting position; make it extend the marked region when
2216 invoked repeatedly - all under appropriate circumstances.
2217 Fixes bugs #5525, #10906.
2218
9a40b8d4
GM
22192012-03-08 Glenn Morris <rgm@gnu.org>
2220
2221 * files.el (locate-dominating-file, dir-locals-find-file):
2222 Undo 2012-03-06 change.
2223
7a08ed35
EZ
22242012-03-07 Eli Zaretskii <eliz@gnu.org>
2225
dbbc2e69
SM
2226 * international/quail.el (quail-help):
2227 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2228 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2229 for the reason.
2230
5aca4f71 22312012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2232
2233 Avoid superfluous registering of signals. (Bug#10807)
2234
2235 * notifications.el (notifications-on-action-object)
2236 (notifications-on-close-object): New defvars.
2237 (notifications-on-action-signal, notifications-on-closed-signal):
2238 Unregister the signal if not needed any longer.
2239 (notifications-notify): Register `notifications-action-signal' or
2240 `notifications-closed-signal', if :on-action or :on-close has been
2241 passed as argument.
2242
78e8b10a
CY
22432012-03-07 Chong Yidong <cyd@gnu.org>
2244
2245 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2246 non-X platforms.
2247
69481eb8
GM
22482012-03-06 Glenn Morris <rgm@gnu.org>
2249
2250 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2251 (x-disown-selection-internal, x-get-selection-internal):
2252 Doc fix (add arglist signatures). (Bug#10783)
2253
133b8e11
KS
22542012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2255
2256 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2257 Handle breakpoints with no "type".
2258
99a83064
GM
22592012-03-06 Glenn Morris <rgm@gnu.org>
2260
2261 * files.el (locate-dominating-file): Add optional predicate argument.
2262 (dir-locals-find-file): Make use of above change.
2263
17798e78
TTN
22642012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2265
2266 * info.el (Info-insert-dir): Also try "dir.gz".
2267
eb182446
GM
22682012-03-06 Glenn Morris <rgm@gnu.org>
2269
8f2114ee
GM
2270 * files.el (dir-locals-find-file):
2271 Ignore non-readable or non-regular files. (Bug#10928)
2272
eb182446
GM
2273 * files.el (locate-dominating-file): Doc fix.
2274
24679323
AS
22752012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2276
2277 * calendar/calendar.el (calendar-set-mode-line):
2278 `getenv' returns a string. (Bug#10951)
2279
01d972a9
LL
22802012-03-05 Leo Liu <sdl.web@gmail.com>
2281
109aa8a9
LL
2282 * simple.el (backward-delete-char-untabify): Constrain point to
2283 field (Bug#10939).
2284
01d972a9
LL
2285 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2286
10607bea
CY
22872012-03-05 Chong Yidong <cyd@gnu.org>
2288
2289 * simple.el (count-words): If called from Lisp, return the word
2290 count, for symmetry with `count-lines'. Arglist changed.
2291 (count-words--message): Args changed. Consolidate counting code
2292 from count-words and count-words-region.
2293 (count-words-region): Caller changed.
2294 (count-lines-region): Make it an obsolete alias.
2295
5dd11cfe
TH
22962012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2297
2298 * saveplace.el (save-place-to-alist)
2299 (save-place-ignore-files-regexp): Allow value nil to disable this
2300 feature.
2301
c349f4e6
CY
23022012-03-04 Chong Yidong <cyd@gnu.org>
2303
2304 * faces.el (face-spec-reset-face): For the default face, reset the
2305 attributes to default values (Bug#10748).
2306
e627be4c
LMI
23072012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2308
2309 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2310 previous patch: Check `message-send-mail-function', and not the
2311 default function (bug#10897).
2312
ebeabff4
MA
23132012-03-04 Michael Albinus <michael.albinus@gmx.de>
2314
a41a6cf4
MA
2315 * notifications.el (notifications-on-action-signal)
2316 (notifications-on-closed-signal): Check for unique service name of
2317 incoming event. Fix error in removing entry.
ebeabff4 2318 (top): Register for signals with wildcard service name.
a41a6cf4 2319 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2320
c1ca42b4
CY
23212012-03-04 Chong Yidong <cyd@gnu.org>
2322
dc9924b8 2323 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2324
ea16568d
GM
23252012-03-04 Glenn Morris <rgm@gnu.org>
2326
2327 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2328 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2329 (expand-abbrev, define-abbrev-table): Doc fixes.
2330
fbae4637
LMI
23312012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2332
2333 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2334 `message-default-send-mail-function' and not `send-mail-function'
2335 when doing the prompting for `sendmail-query-once' before sending
2336 in Message buffers (bug#10897).
2337
a1e7225c
LMI
2338 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2339 This is inconsistent with all the other stream functions, which leave
2340 the setting up to the higher levels (if so wanted) (bug#10931).
2341
56d093a9
AM
23422012-03-02 Alan Mackenzie <acm@muc.de>
2343
2344 Depessimize the handling of very large macros.
2345
2346 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2347 (c-macro-cache-syntactic): New variables to implement a one
2348 element macro cache.
2349 (c-invalidate-macro-cache): New function.
2350 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2351 Adapt to use the new cache.
2352 (c-state-safe-place): Use better the cache of safe positions.
2353 (c-state-semi-nonlit-pos-cache)
2354 (c-state-semi-nonlit-pos-cache-limit):
2355 New variables for...
2356 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2357 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2358 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2359 Use c-state-semi-safe-place.
56d093a9 2360
dbbc2e69
SM
2361 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2362 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2363
817e5c3d
MA
23642012-03-02 Michael Albinus <michael.albinus@gmx.de>
2365
dbbc2e69
SM
2366 * jka-compr.el (jka-compr-call-process):
2367 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2368 not remote.
2369
a032a702
MA
23702012-03-01 Michael Albinus <michael.albinus@gmx.de>
2371
2372 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2373 access of FILE2, if FILE1 does not exist.
2374
99a54f21
MA
2375 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2376 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2377
2378 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2379 Add "PAGER=" to `process-environment'.
2380
f6561e1f
MM
23812012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2382
2383 * progmodes/sql.el: Bug fix
2384 (sql-get-login-ext): Save login values in globals.
2385 (sql-get-login): Use new version of `sql-get-login-ext'.
2386 (sql-interactive-mode): Set global `sql-connection' to nil.
2387 (sql-connect): Set global values for connection.
2388 (sql-product-interactive): Save global values as buffer local.
2389
2d44d9cc
LL
23902012-02-29 Leo Liu <sdl.web@gmail.com>
2391
2392 * abbrev.el (define-abbrevs): Reset sys to nil.
2393
96b49301 23942012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2395
bf7f9bc5
JB
2396 * files.el (file-equal-p): Rename from `files-equal-p'.
2397 Return nil when one or both files don't exist.
96b49301 2398 (file-subdir-of-p): Now only top directory must exists,
2399 return nil if it doesn't.
bf7f9bc5
JB
2400 (copy-directory): No need to test with `file-subdir-of-p' after
2401 creating dir.
2402 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2403 to `file-equal-p'.
96b49301 2404
44e97401
GM
24052012-02-28 Glenn Morris <rgm@gnu.org>
2406
2407 * shell.el (shell-mode):
2408 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2409 * play/landmark.el (landmark-font-lock-face-O):
2410 * play/handwrite.el (handwrite):
2411 * play/gomoku.el (gomoku-O):
2412 * net/browse-url.el (browse-url-browser-display):
2413 * international/mule.el (define-charset):
2414 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2415 * filesets.el (filesets-find-file-delay):
2416 * eshell/em-xtra.el (eshell-xtra):
2417 * eshell/em-unix.el (eshell-grep):
2418 * emulation/viper.el (viper-mode):
2419 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2420 * emacs-lisp/easymenu.el (easy-menu-define):
2421 * calendar/timeclock.el (timeclock-use-display-time):
2422 * bs.el (bs-mode):
2423 * bookmark.el (bookmark-save-flag):
2424 Doc fix (standardize possessive apostrophe usage).
2425
c98c6276
CY
24262012-02-27 Chong Yidong <cyd@gnu.org>
2427
bf7f9bc5
JB
2428 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2429 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2430
c98c6276
CY
2431 * font-lock.el (font-lock-specified-p): Rename from
2432 font-lock-spec-present. Callers changed.
2433
9c62cd04 24342012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2435
bf7f9bc5
JB
2436 * emacs-lisp/package.el (package-compute-transaction):
2437 Handle holding a package version to t in package-load-list.
8ac9e529 2438
530739c9
MA
24392012-02-26 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2442 (tramp-get-inode, tramp-get-device): Use cached values.
2443
487915d7
AM
24442012-02-26 Alan Mackenzie <acm@muc.de>
2445
2446 Check there is a font-lock specification before doing initial
2447 fontification.
2448
2449 * font-core.el (font-lock-mode): Move the conditional from
2450 :after-hook to font-lock-initial-fontify.
2451 (font-lock-default-function): Move the check for a specification
2452 to font-lock-spec-present.
2453
dc9924b8 2454 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2455 (font-lock-spec-present): New function.
2456
4fd96557
JB
24572012-02-26 Jim Blandy <jimb@red-bean.com>
2458
2459 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2460 (gdb-send): Apply it to the operand of the '-interpreter-exec
2461 console' command, so that we can pass arguments with (say) quotes
2462 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2463
9a4888c0
CY
24642012-02-26 Chong Yidong <cyd@gnu.org>
2465
07498861
CY
2466 * help-fns.el (describe-function-1): Clarify description of
2467 remapping (Bug#10844).
2468
9a4888c0
CY
2469 * files.el (files-equal-p): Doc fix.
2470 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2471 and quit the loop once a mismatch is found.
2472
ea8fb88d
JB
24732012-02-25 Juanma Barranquero <lekktu@gmail.com>
2474
2475 * bs.el (bs--show-with-configuration): Don't throw an error
2476 if the window cannot be split; otherwise, subsequent calls to
2477 bs-show fail, restoring a stale window config. (Bug#10882)
2478
525795c1
JD
24792012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2480
2481 * term/ns-win.el (global-map): Bind ns-drag-file to
2482 ns-find-file (Bug#5855, Bug#10050).
2483
f008086f
AS
24842012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2485
2486 * calendar/parse-time.el (parse-time-string): Allow extractor to
2487 return nil.
2488
a3fcfa99
MA
24892012-02-25 Michael Albinus <michael.albinus@gmx.de>
2490
91027d08
JB
2491 * net/tramp.el (tramp-file-name-for-operation):
2492 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2493
2494 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2495 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2496 Add COPY-CONTENTS argument.
a3fcfa99 2497
67b0de11
CY
24982012-02-25 Chong Yidong <cyd@gnu.org>
2499
2500 Add custom groups for VC backends, for consistency with vc-bzr.
2501
2502 * vc/vc-arch.el (vc-arch):
2503 * vc/vc-cvs.el (vc-cvs):
2504 * vc/vc-git.el (vc-git):
2505 * vc/vc-hg.el (vc-hg):
2506 * vc/vc-mtn.el (vc-mtn):
2507 * vc/vc-rcs.el (vc-rcs):
2508 * vc/vc-sccs.el (vc-sccs):
2509 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2510 All relevant defcustoms reassigned.
2511
3c9dfce6
CY
25122012-02-25 Chong Yidong <cyd@gnu.org>
2513
1339bf43
CY
2514 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2515
3c9dfce6
CY
2516 * term/x-win.el (x-initialize-window-system): Reduce default for
2517 x-selection-timeout to 5 seconds (Bug#8869).
2518
25b2e303 25192012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2520
ec70a47d
GM
2521 * files.el (files-equal-p, file-subdir-of-p): New functions.
2522 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2523 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2524 * dired-aux.el (dired-copy-file-recursive): Same.
2525 (dired-create-files): Modify destination when source is equal to
2526 dest when copying files.
53a46cd0 2527 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2528
914260cd
MA
25292012-02-24 Michael Albinus <michael.albinus@gmx.de>
2530
2531 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2532 (Bug#10874)
2533
2cb228f7
AM
25342012-02-23 Alan Mackenzie <acm@muc.de>
2535
2536 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2537 parameter "after-hook:" to allow the expansion to run code after
2538 the execution of the mode hooks.
2539
2540 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2541 from font-lock-mode-internal.
2cb228f7 2542
91027d08 2543 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2544 :after-hook.
2545
8f0fde21
SM
25462012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2547
3e88618b
SM
2548 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2549 (completion--cache-all-sorted-completions): New function.
2550 (completion-all-sorted-completions): Use it.
2551 (completion--do-completion, minibuffer-force-complete):
2552 Use it to re-instate the flush hook.
2553
8f0fde21
SM
2554 * icomplete.el (icomplete-completions): Replace last fix with a better
2555 one (bug#10850).
2556
8e911f6f
DG
25572012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2558
2559 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2560 when it might call us back infinitely (bug#10797).
2561
49fe4321
GM
25622012-02-23 Glenn Morris <rgm@gnu.org>
2563
2564 * minibuffer.el (completion-category-overrides): Doc fix.
2565
b291b572
SM
25662012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2567
2568 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2569 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2570
31a9ef2e
GM
25712012-02-23 Glenn Morris <rgm@gnu.org>
2572
5e6e6794 2573 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2574 (authors-obsolete-files-regexps, authors-ignored-files)
2575 (authors-ambiguous-files, authors-renamed-files-alist):
2576 Add more entries.
2577
0bd1e074
JL
25782012-02-23 Juri Linkov <juri@jurta.org>
2579
2580 * isearch.el (isearch-occur): Sync interactive spec with occur's
2581 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2582
b617673c
JL
2583 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2584
19e9789e
JL
25852012-02-22 Juri Linkov <juri@jurta.org>
2586
2587 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2588 (ucs-insert): Doc fix. Check for hex digits in the string.
2589 Don't display `nil' in the error message. (Bug#10857)
2590
f41ce09d
AM
25912012-02-22 Alan Mackenzie <acm@muc.de>
2592
7a71b18d 2593 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2594
ac2eceee
GM
25952012-02-22 Glenn Morris <rgm@gnu.org>
2596
2597 * ffap.el (ffap-c-path):
2598 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2599
abd1f678
CY
26002012-02-22 Chong Yidong <cyd@gnu.org>
2601
2602 * custom.el (load-theme): Doc fix.
2603
f25aef2e
GM
26042012-02-22 Glenn Morris <rgm@gnu.org>
2605
2606 * dired-x.el (dired-guess-shell-alist-default):
2607 Remove escape sequences from nroff output. (Bug#172)
2608
5f8dc2ca
GM
26092012-02-21 Glenn Morris <rgm@gnu.org>
2610
6ff86ec4
GM
2611 * vc/emerge.el (emerge-defvar-local):
2612 Set `permanent-local' property rather than unused `preserved'.
2613
be3223a3 2614 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2615 (picture-mode-map): Use it. (Bug#10860)
2616 (picture-mode): Doc fix.
2617
3fe58f4f
JB
26182012-02-21 Juanma Barranquero <lekktu@gmail.com>
2619
2620 * newcomment.el (uncomment-region-default): Remove unused binding.
2621
f9a998c3
GM
26222012-02-21 Glenn Morris <rgm@gnu.org>
2623
2624 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2625 (picture-self-insert, picture-tab-chars): Doc fix.
2626 (picture-mode-map): Fix C-a, C-e.
2627
c6029348
GM
26282012-02-20 Glenn Morris <rgm@gnu.org>
2629
2630 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2631
ab1ce9d7
LL
26322012-02-20 Leo Liu <sdl.web@gmail.com>
2633
2634 * icomplete.el (icomplete-completions): Check FROM arg before
2635 passing to substring (Bug#10850).
2636
0fd40f89
CY
26372012-02-19 Chong Yidong <cyd@gnu.org>
2638
2639 * comint.el: Require ansi-color.
2640 (comint-output-filter-functions): Add ansi-color-process-output.
2641
2642 * ansi-color.el: Don't set comint-output-filter-functions; it is
2643 now in the initial value defined in comint.el.
2644 (ansi-color-apply-face-function): New variable.
2645 (ansi-color-apply-on-region): Use it.
2646 (ansi-color-apply-overlay-face): New function.
2647
2648 * shell.el (shell): No need to require ansi-color.
2649 (shell-mode): Use ansi-color-apply-face-function to highlight
2650 color escapes using font-lock-face property (Bug#10835).
2651
20af2394
CY
26522012-02-19 Chong Yidong <cyd@gnu.org>
2653
2654 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2655 mode-line formats (Bug#10839).
2656
e23a3fbe
GM
26572012-02-18 Glenn Morris <rgm@gnu.org>
2658
b474519e
GM
2659 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2660
2661 * mail/undigest.el (unforward-rmail-message): Doc fix.
2662
e23a3fbe
GM
2663 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2664
57939ff4
EZ
26652012-02-18 Eli Zaretskii <eliz@gnu.org>
2666
2667 * international/characters.el (script-list): Sync with the latest
2668 Unicode Character Database.
2669
0c23686e
AS
26702012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2671
2672 * international/titdic-cnv.el: Remove duplicate coding tag.
2673 * language/cham.el: Likewise.
2674 * language/tai-viet.el: Likewise.
2675
6818b449
GM
26762012-02-18 Glenn Morris <rgm@gnu.org>
2677
2678 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2679 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2680 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2681 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2682 * calendar/holidays.el (holiday-bahai-holidays)
2683 (calendar-holidays, list-holidays):
2684 Use utf-8 Bahá'í in doc-strings, menus, etc.
2685
0311a3fc
TH
26862012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2687
2688 * saveplace.el (save-place-ignore-files-regexp): New variable
2689 allowing for excluding files from saving their location of point.
2690 The default value matches the temporary commit message editing
2691 files from Git, SVN, Bazaar, and Mercurial.
2692 (save-place-to-alist): Use it.
2693
eb864a71
LM
26942012-02-17 Lawrence Mitchell <wence@gmx.li>
2695 Stefan Monnier <monnier@iro.umontreal.ca>
2696
2697 * newcomment.el (uncomment-region-default): Don't leave extra space
2698 when an arg is provided (bug#8150).
2699
ee0ce425
TZ
27002012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2701
eb864a71 2702 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2703
95ddf442
GM
27042012-02-17 Glenn Morris <rgm@gnu.org>
2705
2706 * net/socks.el: Require network-stream. (Bug#10599)
2707
48dd1e39 27082012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2709
2710 * international/charprop.el:
2711 * international/uni-name.el:
2712 * international/uni-old-name.el:
2713 * international/uni-comment.el: Regenerate.
2714
d68cd087
GM
27152012-02-16 Glenn Morris <rgm@gnu.org>
2716
2717 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2718 Interactively in calendar buffer, give an error if not on a date.
2719
13932042
GM
27202012-02-15 Glenn Morris <rgm@gnu.org>
2721
2722 * shell.el (shell-delimiter-argument-list):
2723 Revert 2011-02-17 change. (Bug#8027)
2724
c3a70e2b
CY
27252012-02-15 Chong Yidong <cyd@gnu.org>
2726
60236b0d
CY
2727 * minibuffer.el (completion-at-point-functions): Doc fix.
2728
c3a70e2b
CY
2729 * custom.el (defcustom): Doc fix; note use of defvar.
2730
9f26dc24
GM
27312012-02-15 Glenn Morris <rgm@gnu.org>
2732
2733 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2734 Doc fixes.
2735
6546b134
GM
27362012-02-14 Glenn Morris <rgm@gnu.org>
2737
2738 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2739
d29b2b4c
LI
27402012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2741
2742 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2743 way the ports list is computed.
835bdcba
LI
2744 (smtpmail-query-smtp-server): Prompt the user for a port number if
2745 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2746
08dcdbc9
TZ
27472012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2748
2749 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2750
2605051a
GM
27512012-02-13 Glenn Morris <rgm@gnu.org>
2752
2753 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2754
7ee99f32
TZ
27552012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2756
2757 * net/gnutls.el (gnutls-trustfiles): New variable.
2758 (gnutls-negotiate): Use it.
2759
5f0af64f
LI
27602012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2761
2762 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2763 does its stuff if Gnus is running.
2764
c14fcc95
AM
27652012-02-13 Alan Mackenzie <acm@muc.de>
2766
2767 Fix a loop in c-set-fl-decl-start.
2768
7a71b18d 2769 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2770 c-backward-syntactic-ws actually moves backwards.
2771
142b4d90
LL
27722012-02-13 Leo Liu <sdl.web@gmail.com>
2773
2774 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2775 beginning so that all \C-o chars are removed.
2776
fa9958a6
TZ
27772012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2778
dc9924b8 2779 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2780
0bc5886a
AM
27812012-02-12 Alan Mackenzie <acm@muc.de>
2782
2783 Fix infinite loop with long macros.
4d6769e1 2784 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2785
d4bd55e7
CY
27862012-02-12 Chong Yidong <cyd@gnu.org>
2787
2788 * window.el (display-buffer): Doc fix (Bug#10785).
2789
66f3fe22
GM
27902012-02-12 Glenn Morris <rgm@gnu.org>
2791
bd7da63e
GM
2792 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2793 (x-disown-selection-internal, x-get-selection-internal):
2794 Sync docs with the xselect.c versions.
2795
66f3fe22
GM
2796 * allout-widgets.el: Add missing license notice.
2797
3e0d2fa7
GM
27982012-02-11 Glenn Morris <rgm@gnu.org>
2799
cfecdf09
GM
2800 * select.el (x-get-selection-internal, x-own-selection-internal)
2801 (x-disown-selection-internal):
2802 * x-dnd.el (x-get-selection-internal): Update declarations.
2803
6d216d7f
GM
2804 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2805
2bed3f04
GM
2806 * window.el (window-sides-slots):
2807 * tool-bar.el (tool-bar-position):
2808 * term/xterm.el (xterm-extra-capabilities):
2809 * ses.el (ses-self-reference-early-detection):
2810 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2811 (verilog-auto-wire-type)
2812 (verilog-auto-delete-trailing-whitespace)
2813 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2814 (verilog-auto-tieoff-declaration):
2815 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2816 (sql-oracle-statement-starters, sql-oracle-scan-on):
2817 * progmodes/prolog.el (prolog-align-comments-flag)
2818 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2819 (prolog-left-indent-regexp, prolog-paren-indent-p)
2820 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2821 (prolog-types, prolog-mode-specificators)
2822 (prolog-determinism-specificators, prolog-directives)
2823 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2824 (prolog-electric-dot-flag)
2825 (prolog-electric-dot-full-predicate-template)
2826 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2827 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2828 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2829 (prolog-program-switches, prolog-prompt-regexp)
2830 (prolog-debug-on-string, prolog-debug-off-string)
2831 (prolog-trace-on-string, prolog-trace-off-string)
2832 (prolog-zip-on-string, prolog-zip-off-string)
2833 (prolog-use-standard-consult-compile-method-flag)
2834 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2835 (prolog-imenu-max-lines, prolog-info-predicate-index)
2836 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2837 (prolog-char-quote-workaround):
2838 * progmodes/cc-vars.el (c-defun-tactic):
2839 * net/tramp.el (tramp-encoding-command-interactive)
2840 (tramp-local-end-of-line):
2841 * net/soap-client.el (soap-client):
2842 * net/netrc.el (netrc-file):
2843 * net/gnutls.el (gnutls):
2844 * minibuffer.el (completion-category-overrides)
2845 (completion-cycle-threshold)
2846 (completion-pcm-complete-word-inserts-delimiters):
2847 * man.el (Man-name-local-regexp):
2848 * mail/feedmail.el (feedmail-display-full-frame):
2849 * international/characters.el (glyphless-char-display-control):
2850 * eshell/em-ls.el (eshell-ls-date-format):
2851 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2852 (lisp-lambda-list-keyword-parameter-indentation)
2853 (lisp-lambda-list-keyword-parameter-alignment):
2854 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2855 * dired-x.el (dired-omit-verbose):
2856 * cus-theme.el (custom-theme-allow-multiple-selections):
2857 * calc/calc.el (calc-highlight-selections-with-faces)
2858 (calc-lu-field-reference, calc-lu-power-reference)
2859 (calc-note-threshold):
2860 * battery.el (battery-mode-line-limit):
2861 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2862 (archive-7z-update):
2863 * allout.el (allout-prefixed-keybindings)
2864 (allout-unprefixed-keybindings)
2865 (allout-inhibit-auto-fill-on-headline)
2866 (allout-flattened-numbering-abbreviation):
2867 * allout-widgets.el (allout-widgets-auto-activation)
2868 (allout-widgets-icons-dark-subdir)
2869 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2870 (allout-widgets-theme-dark-background)
2871 (allout-widgets-theme-light-background)
2872 (allout-widgets-item-image-properties-emacs)
2873 (allout-widgets-item-image-properties-xemacs)
2874 (allout-widgets-run-unit-tests-on-load)
2875 (allout-widgets-time-decoration-activity)
2876 (allout-widgets-hook-error-post-time)
2877 (allout-widgets-track-decoration):
2878 Add missing :version tags to new defcustoms and defgroups.
2879
5fec1b8e
GM
2880 * progmodes/sql.el (sql-ansi-statement-starters)
2881 (sql-oracle-statement-starters): Add custom type.
2882
3e0d2fa7
GM
2883 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2884 (prolog-system-version): Give it a type.
2885
90b671e2
EZ
28862012-02-11 Eli Zaretskii <eliz@gnu.org>
2887
2888 * term/pc-win.el (x-select-text, x-selection-owner-p)
2889 (x-own-selection-internal, x-disown-selection-internal)
2890 (x-get-selection-internal): Sync doc strings and argument lists
2891 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2892
5eac0c02
LL
28932012-02-11 Leo Liu <sdl.web@gmail.com>
2894
2895 * progmodes/python.el (python-end-of-statement): Fix infinite
2896 loop. (Bug#10788)
2897
f82cb659
GM
28982012-02-10 Glenn Morris <rgm@gnu.org>
2899
2900 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2901 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2902
cc26d239
LI
29032012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2904
2905 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2906 about SMTP before checking the From header.
2907
91027d08 2908 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2909 into own function for reuse by emacsbug.el.
2910
1be3ca5a
LL
29112012-02-10 Leo Liu <sdl.web@gmail.com>
2912
2913 * subr.el (condition-case-unless-debug): Rename from
2914 condition-case-no-debug. All callers changed.
2915 (with-demoted-errors): Fix caller.
2916
2917 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2918 * nxml/rng-valid.el (rng-do-some-validation):
2919 * emacs-lisp/package.el (package-refresh-contents)
2920 (package-menu-execute):
2921 * desktop.el (desktop-create-buffer):
91027d08 2922 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2923
b011fbfe
GM
29242012-02-10 Glenn Morris <rgm@gnu.org>
2925
b2096d72
GM
2926 * textmodes/bibtex.el:
2927 Add missing :version tags for new/changed defcustoms.
2928
b011fbfe
GM
2929 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2930
4c7e65bf
LI
29312012-02-09 Lars Ingebrigtsen <larsi@rusty>
2932
2933 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2934 (smtpmail-via-smtp): Use it, or fall back on the From address.
2935 (smtpmail-send-it): Ditto.
2936
f3934f6f
SM
29372012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2940 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2941 (byte-compile-tmp-var): New const.
2942 (byte-compile-defvar): Use it to minimize .elc size.
2943 Just use `defvar' rather than simulate it (bug#10761).
2944
a075a2c5
GM
29452012-02-09 Glenn Morris <rgm@gnu.org>
2946
cf3aa21b
GM
2947 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2948
354998cd
GM
2949 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2950 Add :version tags.
2951
dc9924b8
SM
2952 * progmodes/compile.el (compilation-error-screen-columns)
2953 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2954
dab3703d
GM
2955 * vc/log-view.el (log-view-toggle-entry-display):
2956 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2957
3f88cd72
GM
2958 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2959 (report-emacs-bug-can-use-xdg-email):
2960 (report-emacs-bug-insert-to-mailer): Doc fixes.
2961 (report-emacs-bug): Message fix.
2962
d95b247d
GM
2963 * net/browse-url.el (browse-url-can-use-xdg-open)
2964 (browse-url-xdg-open): Doc fixes.
2965
a075a2c5
GM
2966 * electric.el (electric-indent-mode, electric-pair-mode)
2967 (electric-layout-rules, electric-layout-mode): Doc fixes.
2968 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2969
ffb6157e
MR
29702012-02-08 Martin Rudalics <rudalics@gmx.at>
2971
2972 * server.el (server-unselect-display): Don't inadvertently kill
2973 the current buffer. (Bug#10729)
2974
e1ac4066
GM
29752012-02-08 Glenn Morris <rgm@gnu.org>
2976
34e8a2da
GM
2977 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2978 (sql-list-table): Doc fixes.
2979
b4ac6e8c
GM
2980 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2981 Comment out (does nothing).
2982
e1ac4066
GM
2983 * completion.el (dynamic-completion-mode):
2984 * dirtrack.el (dirtrack-debug-mode):
2985 * electric.el (electric-layout-mode):
2986 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2987 * face-remap.el (text-scale-mode, buffer-face-mode):
2988 * iimage.el (iimage-mode):
2989 * image-mode.el (image-transform-mode):
2990 * minibuffer.el (completion-in-region-mode):
2991 * scroll-lock.el (scroll-lock-mode):
2992 * simple.el (next-error-follow-minor-mode):
2993 * tar-mode.el (tar-subfile-mode):
2994 * tooltip.el (tooltip-mode):
2995 * vcursor.el (vcursor-use-vcursor-map):
2996 * wid-browse.el (widget-minor-mode):
2997 * emulation/tpu-edt.el (tpu-edt-mode):
2998 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2999 * international/iso-ascii.el (iso-ascii-mode):
3000 * language/thai-util.el (thai-word-mode):
3001 * mail/supercite.el (sc-minor-mode):
3002 * net/goto-addr.el (goto-address-mode):
3003 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3004 * progmodes/cwarn.el (cwarn-mode):
3005 * progmodes/flymake.el (flymake-mode):
3006 * progmodes/glasses.el (glasses-mode):
3007 * progmodes/hideshow.el (hs-minor-mode):
3008 * progmodes/pascal.el (pascal-outline-mode):
3009 * textmodes/enriched.el (enriched-mode):
3010 * vc/smerge-mode.el (smerge-mode):
3011 Doc fixes (minor mode argument).
3012
5e0d957f
EZ
30132012-02-07 Eli Zaretskii <eliz@gnu.org>
3014
3015 * ls-lisp.el (ls-lisp-sanitize): New function.
3016 (ls-lisp-insert-directory): Use it to fix or remove any elements
3017 in file-alist with missing attributes. (Bug#4673)
3018
98d7371e
AM
30192012-02-07 Alan Mackenzie <acm@muc.de>
3020
3021 Fix spurious recognition of c-in-knr-argdecl.
3022
3023 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3024 putative K&R region.
3025
667ced3a
AM
30262012-02-07 Alan Mackenzie <acm@muc.de>
3027
eb864a71
LM
3028 * progmodes/cc-engine.el (c-forward-objc-directive):
3029 Prevent looping in "#pragma mark @implementation".
667ced3a 3030
5b77774d
MA
30312012-02-07 Michael Albinus <michael.albinus@gmx.de>
3032
3033 * notifications.el (notifications-on-closed-signal): Make `reason'
3034 optional. (Bug#10744)
3035
af008560
GM
30362012-02-07 Glenn Morris <rgm@gnu.org>
3037
60d47423
GM
3038 * emacs-lisp/easy-mmode.el (define-minor-mode):
3039 Doc fixes for the macro and the mode it defines.
3040
dd605cc4
GM
3041 * image.el (imagemagick-types-inhibit): Doc fix.
3042
af008560
GM
3043 * cus-start.el (imagemagick-render-type): Add it.
3044
5cc59a37
LI
30452012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3046
4d6769e1
JB
3047 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3048 Set the default at load time, too, so that `font-lock-fontify-buffer'
3049 can be called without setting up the entire mode first. This fixes
3050 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3051
9a6dd747
CY
30522012-02-06 Chong Yidong <cyd@gnu.org>
3053
2d16b285
CY
3054 * simple.el (list-processes--refresh): Delete exited processes
3055 (Bug#8094).
3056
171e9b6e
CY
3057 * comint.el (comint-next-prompt): next-single-char-property-change
3058 and prev-single-char-property-change never return nil (Bug#8657).
3059
9a6dd747
CY
3060 * custom.el (defcustom): Doc fix (Bug#9711).
3061
aa4589a7
CY
30622012-02-05 Chong Yidong <cyd@gnu.org>
3063
5c2a252f
CY
3064 * cus-edit.el (custom-variable-reset-backup): Quote the value
3065 before storing it in the customized-value property (Bug#6712).
4aab9006 3066 (custom-display): Add a customization type tag.
983b9602 3067 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3068
aa4589a7
CY
3069 * wid-edit.el (widget-field-value-get): New optional arg to
3070 suppress trailing whitespace truncation.
3071 (character): Use it (Bug#2689).
3072
1ff980ae
AS
30732012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3074
3075 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3076 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3077
03988c98
CY
30782012-02-05 Chong Yidong <cyd@gnu.org>
3079
eeb6cc88
CY
3080 * cus-edit.el (custom-variable-value-create): For mismatched
3081 types, show the current value (Bug#7600).
3082
03988c98
CY
3083 * custom.el (defcustom): Doc fix.
3084
f8cdeef0
GM
30852012-02-05 Glenn Morris <rgm@gnu.org>
3086
3087 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3088
0696d255
JB
30892012-02-05 Juanma Barranquero <lekktu@gmail.com>
3090
3091 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3092 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3093 (pp-last-sexp): Use `looking-at-p'.
3094
34c99998
GM
30952012-02-04 Glenn Morris <rgm@gnu.org>
3096
8f05da42
GM
3097 * files.el (revert-buffer):
3098 Doc fix (mention revert-buffer-in-progress-p).
3099
f160676e
GM
3100 * emacs-lisp/ert-x.el (ert-simulate-command):
3101 Check deferred-action-list (which is obsolete) is bound.
3102
c7291ad9
GM
3103 * subr.el (with-wrapper-hook): Doc fixes.
3104
34c99998
GM
3105 * simple.el (filter-buffer-substring-functions)
3106 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3107
6283a7d3
LL
31082012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3109
3110 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3111 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3112
e96e3013
LL
31132012-02-04 Leo Liu <sdl.web@gmail.com>
3114
3115 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3116
8ded50f2
GM
31172012-02-04 Glenn Morris <rgm@gnu.org>
3118
82ff1d13
GM
3119 * image.el (image-extension-data): Add obsolete alias.
3120
987a0a16
GM
3121 * isearch.el (isearch-update): Doc fix.
3122
ea32ef46
GM
3123 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3124
8ded50f2
GM
3125 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3126
eea14f31
GM
31272012-02-03 Glenn Morris <rgm@gnu.org>
3128
3129 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3130 (image-animate-timeout): Doc fix.
3131
3132 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3133
12f381b7
GM
31342012-02-02 Glenn Morris <rgm@gnu.org>
3135
953cebf5
GM
3136 * server.el (server-auth-dir): Doc fix.
3137 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3138
12f381b7
GM
3139 * subr.el (run-mode-hooks): Doc fix.
3140
953a8c3b
JL
31412012-02-02 Juri Linkov <juri@jurta.org>
3142
3143 * image-mode.el (image-toggle-display-image): Remove tautological
3144 `major-mode' from the `derived-mode-p' test.
3145
c5d3843c
KH
31462012-02-02 Kenichi Handa <handa@m17n.org>
3147
9f6e692e 3148 * composite.el (compose-region): Cancel previous change.
c5d3843c 3149
159462d4 31502012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3151
3152 * composite.el (compose-region, compose-string): Signal error for
3153 a null string component (Bug#6988).
3154
9f562668
CY
31552012-02-01 Chong Yidong <cyd@gnu.org>
3156
e2cef717
CY
3157 * view.el (view-buffer-other-window, view-buffer-other-frame):
3158 Handle special modes like view-buffer (Bug#10650).
3159 (view-buffer): Simplify.
3160
9f562668
CY
3161 * frame.el (set-frame-font): Tweak meaning of third argument.
3162
9f6e692e
JB
3163 * dynamic-setting.el (font-setting-change-default-font):
3164 Use set-frame-font (Bug#9982).
9f562668 3165
781acb9f
GM
31662012-02-01 Glenn Morris <rgm@gnu.org>
3167
6035be52
GM
3168 * progmodes/compile.el (compilation-internal-error-properties):
3169 Respect compilation-first-column in the "*compilation*" buffer.
3170
781acb9f
GM
3171 * emacs-lisp/easy-mmode.el (define-minor-mode):
3172 Relax :variable's test for a named function.
3173
abbceb00
AM
31742012-01-31 Alan Mackenzie <acm@muc.de>
3175
3176 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3177 off by one error.
3178
fce3fdeb
CY
31792012-01-31 Chong Yidong <cyd@gnu.org>
3180
3181 * frame.el (set-frame-font): New arg ALL-FRAMES.
3182
3183 * menu-bar.el (menu-set-font): Use set-frame-font.
3184
3185 * faces.el (face-spec-reset-face): Don't apply unspecified
3186 attribute values to the default face.
3187
47893581
JB
31882012-01-31 Juanma Barranquero <lekktu@gmail.com>
3189
3190 * progmodes/cwarn.el (cwarn): Remove dead link.
3191 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3192 Remove * from defcustom docstrings.
3193 (turn-on-cwarn-mode): Make obsolete.
3194 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3195 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3196
e58e988a
GM
31972012-01-31 Glenn Morris <rgm@gnu.org>
3198
60dc2671 3199 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3200 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3201 Allow named functions to be used as the cdr of :variable.
e58e988a 3202
7a3f511d
GM
32032012-01-30 Glenn Morris <rgm@gnu.org>
3204
3205 * emacs-lisp/authors.el (authors-fixed-entries):
3206 Remove reference to deleted file rnewspost.el.
3207
cb882333
JB
32082012-01-29 Juanma Barranquero <lekktu@gmail.com>
3209
3210 * window.el (window-with-parameter): Remove unused variable `windows'.
3211 (window--side-check): Remove unused variable `code'.
3212 (window--resize-siblings): Remove unused variable `first'.
3213 (adjust-window-trailing-edge): Remove unused variable `failed'.
3214 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3215 Use `let', not `let*'.
3216 (balance-windows-2): Remove unused variable `found'.
3217 (window--state-put-2): Remove unused variable `splits'.
3218 (window-state-put): Remove unused variable `selected'.
3219 (same-window-p): Use `string-match-p'.
3220 (display-buffer-assq-regexp): Remove unused variable `value'.
3221 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3222 Mark argument ALIST as ignored.
3223 (pop-to-buffer): Remove unused variable `old-window'.
3224
907201af
EZ
32252012-01-29 Eli Zaretskii <eliz@gnu.org>
3226
3227 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3228 and .lzma compressed files.
3229
ea162670
CY
32302012-01-29 Chong Yidong <cyd@gnu.org>
3231
5b95ee8a
CY
3232 * frame.el (window-system-default-frame-alist): Doc fix.
3233
ea162670
CY
3234 * dynamic-setting.el (font-setting-change-default-font): Don't
3235 change the default face if SET-FONT argument is non-nil (Bug#9982).
3236
d6e6f4b1
SB
32372012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3238
3239 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3240
0f29fa41 32412012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3242
3243 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3244 breakpoints in files outside current directory (Bug#6098).
3245
db174434
CY
32462012-01-29 Chong Yidong <cyd@gnu.org>
3247
6b25e4e2
SE
3248 * progmodes/python.el: Require ansi-color at top-level.
3249
6df6ae42
JB
3250 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3251 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3252 (lisp-mode-abbrev-table): Add doc.
3253 (lisp-mode-variables): Don't set local-abbrev-table.
3254 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3255
e70ee681
RW
32562012-01-28 Roland Winkler <winkler@gnu.org>
3257
3258 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3259
ace88aa2
RW
32602012-01-28 Roland Winkler <winkler@gnu.org>
3261
3262 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3263 (bibtex-set-dialect): Use it. Either set global values of
3264 dialect-dependent variables or bind these variables buffer-locally
3265 (Bug#10254).
3266 (bibtex-mode): Call bibtex-set-dialect via
3267 hack-local-variables-hook.
eb864a71
LM
3268 (bibtex-dialect): Update docstring.
3269 Add safe-local-variable predicate.
ace88aa2
RW
3270 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3271 bibtex-set-dialect.
3272 (bibtex-mode-map): Define menu for each dialect.
3273 (bibtex-entry): Fix docstring.
3274
93376c5b
CY
32752012-01-28 Chong Yidong <cyd@gnu.org>
3276
3277 * eshell/esh-arg.el (eshell-quote-argument): New function.
3278
3279 * eshell/esh-ext.el (eshell-invoke-batch-file):
3280 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3281 first arg to eshell-parse-command (Bug#10523).
3282
4372494f
DA
32832012-01-28 Drew Adams <drew.adams@oracle.com>
3284
3285 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3286 `default-directory' is non-nil.
3287
4d4ec1f8
EZ
32882012-01-28 Eli Zaretskii <eliz@gnu.org>
3289
3290 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3291 line that displays system-configuration-options. (Bug#9924)
3292
7c188927
DA
32932012-01-28 Drew Adams <drew.adams@oracle.com>
3294
3295 * descr-text.el (describe-char): Show information about POS, in
3296 addition to information about the character at POS. Improve and
3297 update the doc string. Change "code point" to "code point in
3298 charset", to avoid confusion with the character's Unicode code
3299 point shown above that. (Bug#10129)
3300
e0da685a
EZ
33012012-01-28 Eli Zaretskii <eliz@gnu.org>
3302
3303 * descr-text.el (describe-char): Show the raw character, not only
3304 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3305 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3306 for the reasons.
3307
70550acf
PH
33082012-01-28 Phil Hagelberg <phil@hagelb.org>
3309
eb864a71
LM
3310 * emacs-lisp/package.el (package-install):
3311 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3312
0ce8e868
CY
33132012-01-28 Chong Yidong <cyd@gnu.org>
3314
cb882333
JB
3315 * emacs-lisp/package.el (package-maybe-load-descriptor):
3316 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3317 (package-maybe-load-descriptor): Use it.
3318 (package-download-transaction): Fully load required packages
3319 inside the loop, so that `require' calls work (Bug#10593).
3320 (package-install): No need to call package-initialize now.
3321
2e7f3bea
CY
33222012-01-28 Chong Yidong <cyd@gnu.org>
3323
6e9bad14
CY
3324 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3325
f823b8ca
CY
3326 * tooltip.el (tooltip-mode): Doc fix.
3327 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3328
2680c309
CY
3329 * frame.el (set-cursor-color): Doc fix (Bug#352).
3330
d7a9e63b
CY
3331 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3332 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3333
2e7f3bea
CY
3334 * cus-edit.el (custom-buffer-create-internal): Fix search button
3335 action (Bug#10542).
2ae01800 3336 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3337
fc4f7a23
EW
33382012-01-27 Eduard Wiebe <usenet@pusto.de>
3339
3340 * dired.el (dired-mark-files-regexp):
3341 Include any subdirectory components. (Bug#10445)
3342
7dd37071
ML
33432012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3344
3345 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3346 Handle [host]:port syntax. (Bug#10533)
3347
a268160b
AH
33482012-01-27 Alex Harsanyi <harsanyi@mac.com>
3349
3350 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3351
e43273ef
GM
33522012-01-26 Glenn Morris <rgm@gnu.org>
3353
3354 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3355 * term.el (term-raw-escape-map): Use Control-X-prefix.
3356 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3357
1edf595d
MR
33582012-01-25 Martin Rudalics <rudalics@gmx.at>
3359
3360 * window.el (window-state-get, window--state-get-1): Don't deal
3361 with fixed-sizeness of windows. Simplify code.
3362
fa8eafef
JC
33632012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3364
6df6ae42
JB
3365 * window.el (window--state-get-1, window--state-put-2):
3366 Don't save and restore the mark.
fa8eafef 3367
0b21c100
CY
33682012-01-25 Chong Yidong <cyd@gnu.org>
3369
3370 * custom.el (custom-variable-p): Doc fix.
3371
5ae1a6c8
GM
33722012-01-25 Glenn Morris <rgm@gnu.org>
3373
40047858
GM
3374 * dired.el (dired-goto-file): Handle some of the more common
3375 characters that `ls -b' escapes. (Bug#10596)
3376
5ddce96c
GM
3377 * progmodes/compile.el (compilation-next-error-function):
3378 Respect compilation-first-column in the "*compilation*" buffer.
3379 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3380
5ae1a6c8
GM
3381 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3382
b559f1a9
GM
33832012-01-24 Glenn Morris <rgm@gnu.org>
3384
3385 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3386
6725d21a
JD
33872012-01-24 Julien Danjou <julien@danjou.info>
3388
3389 * color.el (color-rgb-to-hsl): Fix value computing.
3390 (color-hue-to-rgb): New function.
3391 (color-hsl-to-rgb): New function.
3392 (color-clamp, color-saturate-hsl, color-saturate-name)
3393 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3394 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3395
70df4bbe
GM
33962012-01-24 Glenn Morris <rgm@gnu.org>
3397
3398 * vc/vc-rcs.el (vc-rcs-create-tag):
3399 * vc/vc-sccs.el (vc-sccs-create-tag):
3400 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3401
802a2ae2
ML
34022012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3403
3404 * eshell/esh-util.el (eshell-read-hosts-file):
3405 Skip comment lines. (Bug#10549)
3406
d7128bb1
ML
3407 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3408
d1a5c3b4
JB
34092012-01-23 Juanma Barranquero <lekktu@gmail.com>
3410
2724d9c7
JB
3411 * subr.el (display-delayed-warnings): Doc fix.
3412 (collapse-delayed-warnings): New function to collapse identical
3413 adjacent warnings.
3414 (delayed-warnings-hook): Add it.
d1a5c3b4 3415
a5509865
MA
34162012-01-22 Michael Albinus <michael.albinus@gmx.de>
3417
3418 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3419
3420 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3421 properties, when "login-as" is set.
3422
3423 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3424 (tramp-default-user-alist): Don't add "pscp".
3425 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3426 property "login-as", if set. (Bug#10530)
3427
cc6d5805
MA
34282012-01-21 Michael Albinus <michael.albinus@gmx.de>
3429
3430 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3431 "plink1" and "psftp". (Bug#10530)
3432
34332012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3434
3435 * international/mule-cmds.el (prefer-coding-system): Show a
3436 warning message if the default value of file-name-coding-system
3437 was not changed.
3438
f0960428
JC
34392012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3440
cb882333
JB
3441 * windmove.el (windmove-reference-loc):
3442 Fix windmove-reference-loc miscalculation.
f0960428 3443
dd6f2a63
JB
34442012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3445
3446 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3447 default unit.
3448
7b447e9b
GM
34492012-01-21 Glenn Morris <rgm@gnu.org>
3450
117a9ea1
GM
3451 * international/mule.el (auto-coding-alist): Add .tbz.
3452
7b447e9b
GM
3453 * files.el (local-enable-local-variables): Doc fix.
3454 (inhibit-local-variables-regexps): Rename from
3455 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3456 Doc fix. Add some extensions from auto-coding-alist.
3457 (inhibit-local-variables-suffixes):
3458 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3459 (inhibit-local-variables-p):
3460 New function, extracted from set-auto-mode-1.
3461 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3462 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3463 (hack-local-variables): Doc fix. Make the mode-only case
3464 respect enable-local-variables and friends.
3465 Respect inhibit-local-variables-regexps for file-locals, but
3466 not for directory-locals.
3467 (set-visited-file-name):
3468 Take account of inhibit-local-variables-regexps.
3469 Whether it applies may change as the file name is changed.
3470 * jka-cmpr-hook.el (jka-compr-install):
3471 * jka-compr.el (jka-compr-uninstall):
3472 Update for inhibit-first-line-modes-suffixes name change.
3473
dd6e3cdd
MR
34742012-01-20 Martin Rudalics <rudalics@gmx.at>
3475
3476 * help-macro.el (make-help-screen): Temporarily restore original
3477 binding for minor-mode-map-alist (Bug#10454).
3478
0d0deb38
JD
34792012-01-19 Julien Danjou <julien@danjou.info>
3480
3481 * color.el (color-name-to-rgb): Use the white color to find the max
3482 color component value and return correctly computed values.
3483 (color-name-to-rgb): Add missing float conversion for max value.
3484
34a02f46
MR
34852012-01-19 Martin Rudalics <rudalics@gmx.at>
3486
3487 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3488 special state value for window-persistent-parameters.
3489 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3490 (window--state-put-2): Reset all window parameters to nil before
3491 assigning values of persistent parameters.
3492
606c44c4
AM
34932012-01-18 Alan Mackenzie <acm@muc.de>
3494
3495 Eliminate sluggishness and hangs in fontification of "semicolon
3496 deserts".
3497
cb882333
JB
3498 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3499 Change value 10000 -> 3000.
606c44c4
AM
3500 (c-state-safe-place): Reformulate so it doesn't stack up an
3501 infinite number of wrong entries in c-state-nonlit-pos-cache.
3502 (c-determine-limit-get-base, c-determine-limit): New functions to
3503 determine backward search limits disregarding literals.
3504 (c-find-decl-spots): Amend commenting.
3505 (c-cheap-inside-bracelist-p): New function which detects "={".
3506
3507 * progmodes/cc-fonts.el
3508 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3509 backward search.
3510 (c-font-lock-declarations): Fix an occurrence of point being
3511 undefined. Check additionally for point being in a bracelist or
3512 near a macro invocation without a semicolon so as to avoid a
3513 fruitless time consuming search for a declarator. Give a more
3514 precise search limit for declarators using the new
3515 c-determine-limit.
3516
f3860cea
GM
35172012-01-18 Glenn Morris <rgm@gnu.org>
3518
3519 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3520 (set-auto-mode): Doc fixes.
3521
1db03b16
GM
35222012-01-17 Glenn Morris <rgm@gnu.org>
3523
0e6038be
GM
3524 * isearch.el (search-nonincremental-instead): Fix doc typo.
3525
1db03b16
GM
3526 * dired.el (dired-insert-directory): Handle newlines in directory name.
3527 (dired-build-subdir-alist): Unescape newlines in directory name.
3528
4cb0aa75
MA
35292012-01-17 Michael Albinus <michael.albinus@gmx.de>
3530
3531 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3532 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3533 (tramp-action-terminal): Use it. (Bug#10530)
3534
1d00653d
SM
35352012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3538
6a6ee00d
MR
35392012-01-16 Martin Rudalics <rudalics@gmx.at>
3540
3541 * window.el (window-state-ignored-parameters): Remove variable.
3542 (window--state-get-1): Rename argument MARKERS to IGNORE.
3543 Handle persistent window parameters. Make copy of clone-of
3544 parameter only if requested. (Bug#10348)
3545 (window--state-put-2): Install a window parameter only if it has
3546 a non-nil value or an existing parameter shall be overwritten.
3547
97912def
MA
35482012-01-15 Michael Albinus <michael.albinus@gmx.de>
3549
3550 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3551
688070a5
EZ
35522012-01-14 Eli Zaretskii <eliz@gnu.org>
3553
3554 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3555 don't pass the (nil) value of `upnode' to string-match.
3556
301afadc
CY
35572012-01-14 Chong Yidong <cyd@gnu.org>
3558
3559 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3560 Fix values recognized by the cursorBlink resource.
301afadc 3561
9e5788aa
PE
35622012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3563
3564 * epg.el (epg--make-temp-file): Avoid permission race condition
3565 when running on old Emacs versions (bug#10403).
3566
3cdb7f5a
GM
35672012-01-14 Glenn Morris <rgm@gnu.org>
3568
3569 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3570
8c82b1b4
AM
35712012-01-13 Alan Mackenzie <acm@muc.de>
3572
3573 Fix filling for when filladapt mode is enabled.
3574
3575 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3576 c-mask-paragraph, pass in `fill-paragraph' rather than
3577 `fill-region-as-paragraph'. (This is a reversion of a previous
3578 change.)
eb864a71
LM
3579 * progmodes/cc-mode.el (c-basic-common-init):
3580 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3581
e517eda4
GM
35822012-01-13 Glenn Morris <rgm@gnu.org>
3583
1498536e
GM
3584 * dired.el (dired-switches-escape-p): New function.
3585 (dired-insert-directory): Use dired-switches-escape-p.
3586 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3587
e517eda4
GM
3588 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3589
328f984d
GM
35902012-01-12 Glenn Morris <rgm@gnu.org>
3591
3592 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3593 changes in adaptive-fill-regexp. (Bug#10276)
3594
2cc769a8
AM
35952012-01-11 Alan Mackenzie <acm@muc.de>
3596
3597 Fix Emacs bug #10463 - put `widen's around the critical spots.
3598
1d00653d 3599 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3600 widen around each invocation of c-state-pp-to-literal. Remove an
3601 unused let variable.
3602
e52c37fa
GM
36032012-01-11 Glenn Morris <rgm@gnu.org>
3604
3605 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3606 Doc fix.
e52c37fa 3607
96f8741e
CY
36082012-01-10 Chong Yidong <cyd@gnu.org>
3609
1d00653d
SM
3610 * net/network-stream.el (network-stream-open-starttls):
3611 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3612 response to the capability command.
3613
b09a806e
GM
36142012-01-10 Glenn Morris <rgm@gnu.org>
3615
3616 * mail/unrmail.el (unrmail): Tweak previous change.
3617
7655cb66
CY
36182012-01-09 Chong Yidong <cyd@gnu.org>
3619
3620 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3621
9d5a8f0b
AM
36222012-01-08 Alan Mackenzie <acm@muc.de>
3623
3624 Optimise font locking in long enum definitions.
3625
3626 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3627 arm to a cond form to handle enums.
3628 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3629 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3630
9a0115ab 36312012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3632
3633 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3634 (Bug#10401)
6bb72cbd 3635
f186bb95
LMI
36362012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3637
29232a68
LMI
3638 * faces.el (set-face-attribute): Clarify the meaning of the nil
3639 frame (bug#10294).
3640
4e5d086d
LMI
3641 * subr.el (with-selected-frame): Mention that the selected frame
3642 is restored (bug#9980).
3643
8e66aebe
LMI
3644 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3645 (bug#9759).
3646
cd394be1 3647 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3648 (password-read): Don't autoload unused function.
3649
adf4e762
JB
36502012-01-07 Juanma Barranquero <lekktu@gmail.com>
3651
3652 * progmodes/which-func.el (which-func-mode): Turn into a
3653 non-interactive function and mark as obsolete (bug#10428).
3654
89bd9ccd
CY
36552012-01-06 Chong Yidong <cyd@gnu.org>
3656
3657 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3658 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3659 functions, along with 1 and -1.
3660
4afee9d5
EZ
36612012-01-06 Eli Zaretskii <eliz@gnu.org>
3662
3663 * time.el (display-time-load-average)
3664 (display-time-default-load-average): Doc fixes. See the thread
3665 starting at
3666 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3667 for the details.
3668
536aea70
GM
36692012-01-06 Glenn Morris <rgm@gnu.org>
3670
665ae865
GM
3671 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3672 has no messages. (Bug#10377)
3673
c869783d
GM
3674 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3675 than Info-edit. (Bug#10385)
3676
2bb4227e
GM
3677 * time.el (display-time-load-average, display-time-next-load-average):
3678 Doc fixes.
3679
7d5944b9
GM
3680 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3681 local setting of buffer-read-only to the input buffer. (Bug#10419)
3682
536aea70
GM
3683 * calendar/calendar.el (calendar-mode):
3684 Locally set scroll-margin to 0. (Bug#10379)
3685
7dccca16
UM
36862012-01-06 Ulrich Mueller <ulm@gentoo.org>
3687
3688 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3689
afbb7930
GM
36902012-01-05 Glenn Morris <rgm@gnu.org>
3691
3692 * eshell/em-unix.el (diff-no-select): Autoload it.
3693 (eshell/diff): Use diff-no-select. (Bug#10420)
3694
04482335
CY
36952012-01-05 Chong Yidong <cyd@gnu.org>
3696
7baca3bc
CY
3697 * shell.el (shell-dynamic-complete-functions): Revert last change.
3698 (shell-command-completion-function): New function.
3699 (shell-completion-vars): Use it to implement
3700 shell-completion-execonly (Bug#10417).
3701
04482335
CY
3702 * custom.el (enable-theme): Don't set custom-safe-themes.
3703
1d00653d
SM
3704 * cus-theme.el (custom-theme-merge-theme):
3705 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3706
bb5aa5d6
MM
37072012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3708
3709 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3710 first prompt in `sql-interacive-mode'.
3711 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3712 keywords.
6df6ae42 3713 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3714 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3715 context of original buffer. Invoke `sql-login-hook'.
3716
a7183d7c
EZ
37172012-01-04 Eli Zaretskii <eliz@gnu.org>
3718
3719 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3720 letters in cite-prefix.
3721
a1eacd1e
LMI
37222012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3723
3724 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3725
787cdb34
CY
37262012-01-03 Chong Yidong <cyd@gnu.org>
3727
1d00653d
SM
3728 * shell.el (shell-dynamic-complete-functions):
3729 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3730 comint-filename-completion first (Bug#10417).
3731
30710442
RS
37322012-01-02 Richard Stallman <rms@gnu.org>
3733
3734 * battery.el (battery-status-function):
3735 Detect when to use battery-yeeloong-sysfs.
3736 (battery-echo-area-format): Add string for Yeeloong.
3737 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3738 (battery-yeeloong-sysfs): New function.
3739
f75bfc33
CY
37402012-01-02 Chong Yidong <cyd@gnu.org>
3741
3742 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3743 (dirtrack): Merge code for handling relative filenames in prompt
3744 from shell-dir-cookie-watcher.
3745 (dirtrack-debug-message): New arg to avoid excess format calls.
3746
3747 * shell.el (shell-dir-cookie-re): Variable deleted.
3748 (shell-dir-cookie-watcher): Function deleted.
3749 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3750 with dirtrack-mode.
3751
651e947e
EZ
37522012-01-01 Eli Zaretskii <eliz@gnu.org>
3753
1d00653d
SM
3754 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3755 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3756 libgnutls-26.dll.
3757
94d4c7dc
AS
37582011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3759
3760 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3761
8d43f3cd
EZ
37622011-12-31 Eli Zaretskii <eliz@gnu.org>
3763
3764 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3765 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3766
98c8795a
MA
37672011-12-29 Michael Albinus <michael.albinus@gmx.de>
3768
3769 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3770 also for alternative shells.
3771 (tramp-open-connection-setup-interactive-shell): Check, whether
3772 the shell is a busybox.
3773 (tramp-send-command): Don't suppress multiple prompts for
3774 busyboxes, it hurts.
3775
51281b32
CY
37762011-12-28 Chong Yidong <cyd@gnu.org>
3777
3778 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3779 (gdb-get-source-file): Move mode line update to
3780 gdb-get-source-file (Bug#10087).
3781
2170cb53
CY
37822011-12-25 Chong Yidong <cyd@gnu.org>
3783
3784 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3785 gud-gdb-marker-filter without taking it as an argument.
3786 (gud-gdb-run-command-fetch-lines): Caller changed.
3787 (gud-gdb-completion-function): New variable.
3788 (gud-gdb-completion-at-point): Use it.
3789 (gud-gdb-completions-1): Split from gud-gdb-completions.
3790
3791 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3792 function as separate arguments.
3793 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3794 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3795 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3796 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3797 (gdb-stopped, def-gdb-auto-update-trigger)
3798 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3799 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3800 Callers changed.
2170cb53
CY
3801 (gud-gdbmi-completions): New function.
3802 (gdb): Use it for generating the completion table.
3803
be8b11bb
AM
38042011-12-24 Alan Mackenzie <acm@muc.de>
3805
3806 Introduce a mechanism to widen the region used in context font
1d00653d 3807 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3808
1d00653d
SM
3809 * progmodes/cc-langs.el (c-before-font-lock-functions):
3810 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3811 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3812 functions to be run just before context (etc.) font locking.
3813
3814 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3815 New, functionality extracted from
be8b11bb 3816 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3817 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3818 (c-after-change): Set c-in-after-change-fontification.
3819 (c-set-fl-decl-start): Rejig its interface, so it can be called
3820 from both after-change and context fontifying.
b81d40f0
JB
3821 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3822 New functions.
3823 (c-standard-font-lock-fontify-region-function): New variable.
3824 (c-font-lock-fontify-region): New function.
be8b11bb 3825
341cf6ac
JL
38262011-12-24 Juri Linkov <juri@jurta.org>
3827
3828 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3829 (Bug#10348)
3830
bffcee0a
MA
38312011-12-23 Michael Albinus <michael.albinus@gmx.de>
3832
3833 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3834 existence of source file. (Bug#10325)
3835
cb5e207c
AM
38362011-12-23 Alan Mackenzie <acm@muc.de>
3837
3838 Fix unstable fontification inside templates.
3839
b81d40f0
JB
3840 * progmodes/cc-langs.el (c-before-font-lock-functions):
3841 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3842 additionally has c-set-fl-decl-start. The other languages (apart
3843 from AWK) have that as a single entry.
3844
b81d40f0
JB
3845 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3846 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3847 c-set-fl-decl-start.
3848
b81d40f0
JB
3849 * progmodes/cc-mode.el (c-common-init, c-after-change):
3850 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3851 (c-set-fl-decl-start): New function, extracted from
3852 c-font-lock-enclosing-decls and enhanced.
3853
60ff536c
JB
38542011-12-23 Juanma Barranquero <lekktu@gmail.com>
3855
3856 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3857
1c4757d6
JL
38582011-12-22 Juri Linkov <juri@jurta.org>
3859
3860 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3861
d031f2c7
CY
38622011-12-22 Chong Yidong <cyd@gnu.org>
3863
3864 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3865
bace743a
DA
38662011-12-21 Drew Adams <drew.adams@oracle.com>
3867
3868 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3869
728a1f2b
JC
38702011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3871
3872 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3873
0d373f73
TZ
38742011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3875
fec0aaa4
TZ
3876 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3877 highlighting and support. Fix up comments for capitalization.
3878 (cfengine-mode-debug): New var.
3879 (cfengine3-mode): Change the modeline indicator to "CFE3".
3880 (cfengine3-font-lock-keywords): Improve defun highlighting.
3881 (cfengine2-actions): Rename from `cfengine-actions'.
3882 (cfengine2-font-lock-keywords): Rename from
3883 `cfengine-font-lock-keywords'.
3884 (cfengine2-imenu-expression): Rename from
3885 `cfengine-imenu-expression'.
3886 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3887 (cfengine2-beginning-of-defun): Rename from
3888 `cfengine-beginning-of-defun'.
3889 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3890 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3891 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3892 modeline indicator to "CFE2".
3893 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3894 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3895
bc86f573
CY
38962011-12-21 Chong Yidong <cyd@gnu.org>
3897
3898 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3899 filename argument.
3900
d45ba96b
MR
39012011-12-20 Martin Rudalics <rudalics@gmx.at>
3902
3903 * window.el (window-normalize-buffer-to-display): Remove.
3904 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3905
a6198c90
CY
39062011-12-19 Chong Yidong <cyd@gnu.org>
3907
3908 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3909 Don't signal an error in a predicate function; return non-nil.
3910 (vc-dir-mark-file): Move the error here.
3911 (vc-dir-mark-unmark): If acting on the region, keep going if one
3912 of the entries cannot be marked/unmarked.
3913 (vc-dir-mark-all-files): If current entry is a directory, mark
3914 only child files, as documented.
3915
34c5fb55
VB
39162011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3917
3918 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3919 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3920 addition.
3921
c803b2b7
JD
39222011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3923
3924 * term/ns-win.el (ns-get-selection-internal)
3925 (ns-store-selection-internal): Declare.
1154d12e
JB
3926 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3927 Declare as obsolete.
3928 (ns-get-pasteboard, ns-paste-secondary):
3929 Use ns-get-selection-internal.
3930 (ns-set-pasteboard, ns-copy-including-secondary):
3931 Use ns-store-selection-internal.
c803b2b7 3932
9cff91f8 39332011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3934
3935 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3936 (vc-deduce-fileset): Doc fix.
99a289d9 3937
f16c898a
AS
39382011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3939
3940 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3941
763237c4
SS
39422011-12-13 Sam Steingold <sds@gnu.org>
3943
3944 * man.el (Man-getpage-in-background): When running under a
3945 window-system, ignore $MANWIDTH and $COLUMNS.
3946
5fc1c122
KH
39472011-12-15 Kenichi Handa <handa@m17n.org>
3948
3949 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3950 (setup-ethiopic-environment-internal): Comment out key-binding for
3951 ethio-toggle-punctuation.
3952
13d49cbb
AM
39532011-12-13 Alan Mackenzie <acm@muc.de>
3954
898169a2
AM
3955 Add the switch statement to AWK Mode.
3956
7a71b18d 3957 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3958 "default" to the keywords regexp.
3959
7a71b18d 3960 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3961 expression as the rest.
1d00653d
SM
3962 (c-nonlabel-token-key): Allow string literals for AWK.
3963 Refactor for the other modes.
898169a2 3964
13d49cbb 3965 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3966 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3967 routines. Limit backward searching in c-font-lock-enclosing.decl.
3968
3969 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3970 pp-state and literal type in addition to the limits.
1d00653d 3971 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3972 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3973 (c-slow-in-literal, c-fast-in-literal): Remove.
3974 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3975
3976 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3977 being in a literal. Add a limit for backward searching.
3978
3979 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3980 c-slow-in-literal.
3981
15e0efc7
SM
39822011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3985
454592a6
MR
39862011-12-13 Martin Rudalics <rudalics@gmx.at>
3987
3988 * window.el (delete-other-windows): Use correct frame in call to
3989 window-with-parameter.
3990
87393f26
DP
39912011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3992
3993 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3994 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3995 (makefile-gmake-statements, makefile-makepp-statements):
3996 Use it and add new makepp keywords.
3997 (makefile-makepp-font-lock-keywords): Add new patterns.
3998 (makefile-match-function-end): Match new [...] and [[...]].
3999
11636b22
JB
40002011-12-11 Juanma Barranquero <lekktu@gmail.com>
4001
4002 * ses.el (ses-call-printer-return, ses-cell-property-get)
4003 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4004 (ses-create-cell-variable, ses-reset-header-string)
4005 (ses-cell-set-formula, ses-repair-cell-reference-all)
4006 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4007 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4008 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4009 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4010 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4011 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4012 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4013 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4014 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4015 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4016 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4017 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4018
cf018193
VB
40192011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4020
4021 * ses.el: The overall change is to add cell renaming, that is
4022 setting fancy names for cell symbols other than name matching
4023 "\\`[A-Z]+[0-9]+\\'" regexp .
4024 (ses-create-cell-variable): New defun.
4025 (ses-relocate-formula): Relocate formulas only for cells the
4026 symbols of which are not renamed, i.e. symbols whose names do not
4027 match regexp "\\`[A-Z]+[0-9]+\\'".
4028 (ses-relocate-all): Relocate values only for cells the symbols of
4029 which are not renamed.
4030 (ses-load): Create cells variables as the (ses-cell ...) are read,
4031 in order to check row col consistency with cell symbol name only
4032 for cells that are not renamed.
4033 (ses-replace-name-in-formula): New defun.
4034 (ses-rename-cell): New defun.
4035
ee957461
CY
40362011-12-11 Chong Yidong <cyd@gnu.org>
4037
4038 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4039 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4040
9a9e9ef0
MR
40412011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4042
4043 * window.el (other-window): Fix docstring.
4044
92a8eba5
EZ
40452011-12-10 Eli Zaretskii <eliz@gnu.org>
4046
4047 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4048 `from' or `to' address before taking its substring.
4049 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4050 encoded name is chopped in the middle of the encoded string, and
4051 thus displayed encoded.
4052
e152e577
JB
40532011-12-10 Juanma Barranquero <lekktu@gmail.com>
4054
4055 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4056
e5d84bfe
EZ
40572011-12-10 Eli Zaretskii <eliz@gnu.org>
4058
4059 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4060 to use texinfo-update-node and commands that call it if the
4061 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4062 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4063 (texinfo-all-menus-update, texinfo-master-menu)
4064 (texinfo-update-node, texinfo-every-node-update)
4065 (texinfo-multiple-files-update): Doc fix. Warn against updating
4066 all the @node lines.
4067 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4068 argument is numeric. Explain better in the doc string what the
4069 function really does.
4070 (texinfo-insert-master-menu-list): Improve the error message
4071 displayed if there's no menu in the Top node.
4072 (Bug#2975) See also this thread:
e5d84bfe
EZ
4073 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4074
1d84e9bb
MG
40752011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4076
4077 * speedbar.el (speedbar-supported-extension-expressions):
4078 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4079
382c953b
JB
40802011-12-09 Juanma Barranquero <lekktu@gmail.com>
4081
4082 * printing.el (pr-mode-alist):
4083 * simple.el (filter-buffer-substring-functions)
4084 (completion-list-insert-choice-function):
4085 * window.el (window-with-parameter, window-atom-root)
4086 (window-sides-slots, window-size-fixed, window-min-delta)
4087 (window-max-delta, window--resize-mini-window)
4088 (window--resize-child-windows-normal, window-tree)
4089 (delete-other-windows, quit-window, split-window)
4090 (display-buffer-record-window, special-display-buffer-names)
4091 (special-display-regexps, special-display-popup-frame)
4092 (same-window-p, split-window-sensibly)
4093 (display-buffer-overriding-action, display-buffer-alist)
4094 (display-buffer-base-action, display-buffer, switch-to-buffer)
4095 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4096 (fit-window-to-buffer, recenter-positions)
4097 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4098 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4099 and remove unneeded backslashes in docstrings.
4100
39c9faef
SM
41012011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4102
98449af8
SM
4103 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4104
39c9faef
SM
4105 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4106 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4107 end in ".mk".
4108 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4109 when reading the makefile (bug#10116).
4110
86ed9fdc
SM
41112011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4114 (bug#10116).
4115
5580f89d
GM
41162011-12-06 Glenn Morris <rgm@gnu.org>
4117
4118 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4119
28d3917c
CY
41202011-12-06 Chong Yidong <cyd@gnu.org>
4121
4122 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4123
a98edce9
JB
41242011-12-06 Juanma Barranquero <lekktu@gmail.com>
4125
4126 * textmodes/table.el (table-shorten-cell): Fix typo.
4127
e65adfac
CG
41282011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4129
4130 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4131
71cc0b74
EZ
41322011-12-05 Eli Zaretskii <eliz@gnu.org>
4133
4134 * descr-text.el (describe-char): Fix display of strong
4135 right-to-left characters and directional embeddings and overrides.
4136
4137 * simple.el (what-cursor-position): Fix display of codepoints of
4138 strong right-to-left characters.
4139
315bc30d
CY
41402011-12-05 Chong Yidong <cyd@gnu.org>
4141
4142 * faces.el (read-color): Doc fix.
4143
58a70b94
GM
41442011-12-05 Glenn Morris <rgm@gnu.org>
4145
4146 * align.el (align--set-marker): Add doc-string.
4147 Don't try to move something that is not a marker. (Bug#10216)
4148
5158face
GM
41492011-12-04 Glenn Morris <rgm@gnu.org>
4150
4151 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4152 overly zealous deletion of trailing whitespace.
4153
520fca41
JB
41542011-12-04 Juanma Barranquero <lekktu@gmail.com>
4155
4156 * server.el (server-delete-client): On Windows, do not try to delete
4157 the only terminal.
4158 (server-process-filter): On Windows, treat requests for a tty frame as
4159 if they were for a GUI frame if the running server is in GUI mode.
4160
5e605a2e
GM
41612011-12-03 Glenn Morris <rgm@gnu.org>
4162
4163 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4164
5c3fe83f
SM
41652011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4166
6f5e57e7
SM
4167 * electric.el: Streamline electric-indent's hook.
4168 (electric-indent-chars): Revert to simple list.
4169 (electric-indent-functions): New var.
4170 (electric-indent-post-self-insert-function): Use it.
4171
5c3fe83f
SM
4172 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4173 there's no inferior buffer (bug#10196).
4174 (prolog-consult-compile): Don't use toggle-read-only.
4175
6bdac736
MA
41762011-12-02 Michael Albinus <michael.albinus@gmx.de>
4177
4178 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4179 interrupt. (Bug#10187)
4180
6131ba7f
SM
41812011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4182
99c79fee
SM
4183 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4184 (bug#9160).
4185
6131ba7f
SM
4186 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4187 (bug#10191).
4188
cb0a02ea
JL
41892011-12-02 Juri Linkov <juri@jurta.org>
4190
4191 * info.el (Info-search): Display "end of manual" when Isearch
4192 reaches the end of single-file Info manual. (Bug#9918)
4193
66e0570c
EZ
41942011-12-02 Eli Zaretskii <eliz@gnu.org>
4195
4196 * isearch.el (isearch-message-prefix): Run the input method part
4197 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4198
02b16839
JL
41992011-12-02 Juri Linkov <juri@jurta.org>
4200
4201 * isearch.el (isearch-occur): Use `word-search-regexp' for
4202 `isearch-word'.
4203 (isearch-search-and-update): Add condition for `isearch-word' and
4204 call `word-search-regexp'. (Bug#10145)
4205
0b950688
GM
42062011-12-01 Glenn Morris <rgm@gnu.org>
4207
4208 * eshell/em-hist.el (eshell-hist-initialize):
4209 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4210 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4211
9505c3c7
SM
42122011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4215
1bbe96b2 42162011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4217
a1beca85
SM
4218 * progmodes/verilog-mode.el (verilog-pretty-expr):
4219 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4220 verilog, such as += *= and the like.
4221 (verilog-assignment-operator-re): Regular expression to find the
4222 assigment operator in a verilog assignment.
4223 (verilog-assignment-operation-re): Regular expression to find an
4224 assignment statement for pretty-expr.
4225 (verilog-in-attribute-p): Query returns true if point is in an
4226 attribute context; used to skip these for expression line up from
4227 pretty-expr.
4228 (verilog-in-parameter-p): Query returns true if point is in an
4229 parameter definition context; used to skip these for expression
4230 line up from pretty-expr.
4231 (verilog-in-parenthesis-p): Query returns true if point is in a
4232 parenthetical expression, specifically ( ) but not [ ] or { };
4233 used by pretty-expr.
4234 (verilog-just-one-space): If there is no space, don't add one.
4235 (verilog-get-lineup-indent-2): Specifically skip just attribute
4236 contexts for expression lineup, rather than skipping all
4237 parenthetical expressions.
4238 (verilog-calculate-indent): Fix comment, and fix indent.
4239 (verilog-do-indent): Indent declarations in lists (suggested by
4240 Joachim Lechner).
4241 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4242 skeleton items.
4243 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4244 by Alain Mellan).
4245
1bbe96b2 42462011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4247
4248 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4249 parameters with embedded comments. Reported by Ray Stevens.
4250 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4251 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4252 Reported by Tim Holt.
4253 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4254 instantiated by upper module causing wrong expansion until AUTOed a
4255 second time. Reported by K C Buckenmaier.
4256 (verilog-diff-auto): Fix showing .* as a difference when
4257 `verilog-auto-star-save' off. Reported by Dan Dever.
4258 (verilog-auto-reset, verilog-read-always-signals)
4259 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4260 temporary signals in reset list if
4261 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4262 style to each signal's assignment type, bug381.
4263 Reported by Thomas Esposito.
6288f0ca
WS
4264 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4265 (verilog-uvm-statement-re): Support UVM indentation and
4266 highlighting, with old OVM keywords only.
a1beca85 4267 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4268 Support AUTOTIEOFF creating non-wire data types.
4269 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4270 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4271 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4272 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4273 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4274 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4275 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4276 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4277 non-numeric vector width. Reported by Alex Reed.
4278 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4279 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4280 (verilog-auto-delete-trailing-whitespace):
4281 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4282 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4283 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4284 Fix verilog-scan-cache corruption when running user AUTO expansion
4285 hooks that call indentation routines.
4286 (verilog-simplify-range-expression): Fix typo ignoring lower case
4287 identifiers.
4288 (verilog-delete-auto): Fix delete-autos to also remove user created
4289 automatics, as long as they start with AUTO.
4290 (verilog-batch-diff-auto, verilog-diff-auto)
4291 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4292 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4293 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4294 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4295 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4296 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4297 is disabled and its cache will get corrupt, causing AUTOS not to
4298 expand. Instead use only -quick functions.
4299 (verilog-scan-region): Fix scanning over escaped quotes.
4300 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4301 (verilog-re-search-backward-quick)
4302 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4303 related functions now ignore strings, to fix misparsing of strings
4304 with magic comments embedded in them.
a1beca85
SM
4305 (verilog-read-auto-template):
4306 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4307 Reported by Brad Dobbie.
4308 (verilog-read-auto-template):
4309 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4310 Reported by Brad Dobbie.
6288f0ca
WS
4311 (verilog-auto-inst, verilog-auto-inst-param)
4312 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4313 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4314 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4315 debugging templates without merge conflicts, bug357.
4316 Reported by Brad Dobbie.
4317 (verilog-read-auto-template):
4318 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4319 Reported by Brad Dobbie.
4320 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4321 abbrevs so user won't be asked to save.
4322 (verilog-read-auto-lisp-present): Fix to start at beginning of
4323 buffer in case called outside of verilog-auto.
4324 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4325 to "X-2". Reported by Matthew Myers.
4326 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4327 all inputs from module templates. Reported by Leith Johnson.
4328 (verilog-module-inside-filename-p): Fix locating programs as with
4329 modules.
4330 (verilog-auto-inst-port): Fix vl-width expressions when using
4331 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4332 (verilog-decls-get-regs, verilog-decls-get-signals,
4333 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4334 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4335 verilog-read-decls): Combine reg and wire structures into one var
4336 structure to represent SystemVerilog concepts.
4337 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4338 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4339 (verilog-auto-wire-type, verilog-insert-definition):
4340 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4341 SystemVerilog "logic" keyword instead of "wire"/"reg".
4342 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4343 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4344 ifdef or generate if so there's not a driver conflict).
4345 Reported by Matthew Myers.
4346 (verilog-auto-declare-nettype, verilog-insert-definition):
4347 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4348 `default_nettype none. Reported by Julian Gorfajn.
4349 (verilog-read-always-signals-recurse, verilog-read-decls)
4350 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4351 malformed end statement, bug325. Reported by Joshua Wise and
4352 Andrew Drake.
4353 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4354 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4355 when expanding .* in interfaces, bug320.
4356 Reported by Pierre-David Pfister.
6288f0ca 4357 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4358 name and open parenthesis, bug317.
4359 Reported by Pierre-David Pfister.
6288f0ca
WS
4360 (verilog-simplify-range-expression): Fix simplification of
4361 multiplications inside AUTOWIRE connections, bug303.
4362 (verilog-auto-inst-port): Support parameter expansion in
4363 multidimensional arrays.
4364 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4365 after "assert property". Reported by Julian Gorfajn.
4366 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4367 with multiplication, bug303.
4368 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4369 Reported by Jan Frode Lonnum.
4370
1bbe96b2
GM
43712011-11-30 Juanma Barranquero <lekktu@gmail.com>
4372
4373 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4374 (hfy-shell-file-name, hfy-shell):
4375 * international/fontset.el (x-decompose-font-name): Fix typos.
4376
43772011-11-29 Ken Brown <kbrown@cornell.edu>
4378
4379 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4380 (gdb-version): Remove defvar.
4381 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4382 (gdb-gud-context-command, gdb-non-stop-handler)
4383 (gdb-current-context-command, gdb-stopped): Use it.
4384 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4385 (gdb-non-stop-handler): Don't enable pretty-printing here.
4386 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4387 non-stop mode. Use the following.
4388 (gdb-check-target-async): New defun.
4389 (gud-watch, gdb-stopped): Fix whitespace.
4390 (gdb-get-source-file): Don't try to display the source file if
4391 `gdb-main-file' is nil.
4392
43932011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * align.el: Try to generate fewer markers (bug#10047).
4396 (align--set-marker): New macro.
4397 (align-region): Use it.
4398
c935221f
SM
43992011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4402
e70b5064
CY
44032011-11-29 Chong Yidong <cyd@gnu.org>
4404
4405 * indent.el (indent-for-tab-command, indent-according-to-mode):
4406 Doc fix.
4407 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4408
f3af92b7
MA
44092011-11-29 Michael Albinus <michael.albinus@gmx.de>
4410
4411 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4412 aware of remote file names. (Bug#10124)
4413
ed472be9
CY
44142011-11-29 Chong Yidong <cyd@gnu.org>
4415
4416 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4417
24510c22
SM
44182011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 * files.el (find-file): Don't use force-same-window (bug#10144).
4421 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4422 use pop-to-buffer if the selected window can't be used.
4423 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4424
c60c3703
EZ
44252011-11-28 Eli Zaretskii <eliz@gnu.org>
4426
4427 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4428 special-mode-map.
4429
e95def75
CY
44302011-11-28 Chong Yidong <cyd@gnu.org>
4431
4432 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4433
c3f1c606
NR
44342011-11-27 Nick Roberts <nickrob@snap.net.nz>
4435
4436 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4437 gdb-get-source-file-list on gdb-create-source-file-list.
4438
00db469c
EZ
44392011-11-26 Eli Zaretskii <eliz@gnu.org>
4440
4441 * whitespace.el (whitespace-newline): Use a different foreground
4442 color for 16-color light-background displays.
4443
4ad3bc2a
CY
44442011-11-24 Chong Yidong <cyd@gnu.org>
4445
4446 * window.el (display-buffer--special-action): Doc fix.
4447
e9fce1ac
JB
44482011-11-25 Juanma Barranquero <lekktu@gmail.com>
4449
4450 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4451 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4452 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4453 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4454 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4455 (avl-tree-stack-first):
4456 * emacs-lisp/cconv.el (cconv--analyse-use):
4457 * net/gnutls.el (gnutls-negotiate): Fix typos.
4458
cb825e5d
GM
44592011-11-24 Glenn Morris <rgm@gnu.org>
4460
3adbe224
GM
4461 * lpr.el (lpr-windows-system, lpr-lp-system):
4462 * mail/binhex.el (binhex-begin-line):
4463 * progmodes/grep.el (grep-history, grep-find-history):
4464 * textmodes/flyspell.el:
4465 * vc/pcvs-defs.el (cvs-global-menu):
4466 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4467 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4468 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4469
321decc8
GM
4470 * net/tls.el: Fix case of "GnuTLS".
4471
420b63ad
GM
4472 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4473
cb825e5d
GM
4474 * version.el (emacs-build-system): Give it a doc-string.
4475
a0649f08
JL
44762011-11-24 Juri Linkov <juri@jurta.org>
4477
4478 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4479
c0bc0fd4
GM
44802011-11-24 Glenn Morris <rgm@gnu.org>
4481
4482 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4483 if called on a non-mime message just toggle the headers. (Bug#8006)
4484
20db1522
JB
44852011-11-24 Juanma Barranquero <lekktu@gmail.com>
4486
4487 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4488 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4489 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4490 (allout-rebullet-heading, allout-open-sibtopic)
4491 (allout-toggle-current-subtree-encryption)
4492 (allout-toggle-subtree-encryption, allout-encrypt-string)
4493 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4494 (allout-distinctive-bullets-string, allout-auto-activation):
4495 * window.el (window-normalize-buffer-to-display):
4496 * progmodes/verilog-mode.el (verilog-batch-indent):
4497 * textmodes/bibtex.el (bibtex-field-braces-opt)
4498 (bibtex-field-strings-opt):
4499 * vc/cvs-status.el (cvs-tree-merge):
4500 Fix typos.
4501
7262a87c
MA
45022011-11-23 Michael Albinus <michael.albinus@gmx.de>
4503
4504 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4505 `non-essential' to t, in order to avoid remote connections.
4506
283430a1
EZ
45072011-11-23 Eli Zaretskii <eliz@gnu.org>
4508
a1beca85
SM
4509 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4510 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4511 case-insensitively.
4512
d2992a38
ML
45132011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4514
4515 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4516
50419064
GM
45172011-11-23 Glenn Morris <rgm@gnu.org>
4518
da94eca1
GM
4519 * paths.el (rmail-file-name): Reformat the doc-string so that it
4520 is picked up.
4521
9aac4de2
GM
4522 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4523 (rmail-auto-file): Ignore case in the "special" field names,
4524 as mail-fetch-field does for all others.
4525
8038d2d2
GM
4526 * mail/rmail.el (rmail-forward):
4527 * mail/rmailkwd.el (rmail-set-label):
4528 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4529 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4530
f3fe222a
GM
4531 * mail/rmail.el (rmail-current-message): Doc fix.
4532
50419064
GM
4533 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4534
28109f49
SM
45352011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4538
394c65f1
GM
45392011-11-22 Glenn Morris <rgm@gnu.org>
4540
4541 * mail/rmailmm.el (test-rmail-mime-handler)
4542 (test-rmail-mime-bulk-handler)
4543 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4544
f2a0aa3a
JL
45452011-11-21 Juri Linkov <juri@jurta.org>
4546
1154d12e
JB
4547 * calc/calc.el (calc-read-key-sequence):
4548 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4549
9c34a344
LMI
45502011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4551
4552 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4553 Tell the caller that the next line needs recomputation, even
4554 though it doesn't start a sexp (bug#10094).
4555
f04a3be9
SM
45562011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4557
4558 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4559
7978747f
SM
45602011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4561
f04a3be9
SM
4562 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4563 Use force-same-window.
7978747f 4564
fe7a3057
JB
45652011-11-20 Juanma Barranquero <lekktu@gmail.com>
4566
4567 * descr-text.el (describe-char-unicode-data):
4568 * json.el (json-string-escape):
4569 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4570 (Footnote-unicode, Footnote-style-p):
4571 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4572
24901d61
CY
45732011-11-20 Chong Yidong <cyd@gnu.org>
4574
4575 * window.el (replace-buffer-in-windows): Restore interactive spec.
4576
bac7ff22
SM
45772011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4578
24f3d7b9
SM
4579 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4580
bac7ff22
SM
4581 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4582 (byte-compile-global-not-obsolete-vars): New var.
4583 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4584 Use it.
4585 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4586
cd1181db
JB
45872011-11-20 Juanma Barranquero <lekktu@gmail.com>
4588
4589 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4590 * progmodes/pascal.el (electric-pascal-equal):
4591 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4592 * xml.el (xml-substitute-special): Fix typos.
4593
7fb18e9e
GM
45942011-11-20 Glenn Morris <rgm@gnu.org>
4595
4596 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4597 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4598 Doc fixes.
4599 (rmail-decode-mime-charset): Mark as obsolete.
4600
4601 * mail/rmailsum.el (rmail-message-regexp-p-1):
4602 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4603 Before using mime functions, check they are set. (Bug#10077)
4604
d5a6b3ba
JL
46052011-11-19 Juri Linkov <juri@jurta.org>
4606
4607 * info.el (Info-finder-find-node): Use `package--builtins' instead
4608 of `package-alist'. Use node names formed by the pattern "Keyword "
4609 and the keyword name.
4610
e981b61f
AS
46112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4612
1d00653d 4613 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4614
3ffbc301
JL
46152011-11-19 Juri Linkov <juri@jurta.org>
4616
4617 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4618 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4619 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4620 `old-history', `old-history-forward'. Add let-binding
4621 `window-selected'. Remove calls to `kill-buffer',
4622 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4623 before calling `Info-find-node', so `Info-find-node-2' will reread
4624 the Info file. Restore window positions only when `window-selected'
4625 is non-nil.
4626
30c62133
JL
46272011-11-19 Juri Linkov <juri@jurta.org>
4628
4629 * isearch.el (isearch-lazy-highlight-new-loop):
4630 Remove condition `(not isearch-error)'. (Bug#9918)
4631
4632 * misearch.el (multi-isearch-search-fun): Add condition
4633 `(not bound)' to ignore lazy-highlighting search.
4634 Add the search-failed message "end of multi" when the end of
4635 multi-sequence is reached. Uncapitalize the search-failed
4636 message "Repeat for next buffer".
4637
4638 * info.el (Info-search): Add the search-failed message
4639 "end of the manual" when the end of the manual is reached
4640 in Isearch mode.
4641
645ca9cf
JL
46422011-11-19 Juri Linkov <juri@jurta.org>
4643
4644 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4645 Use non-destructive `remove' instead of `delete' because
4646 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4647 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4648
df754f66
JL
46492011-11-19 Juri Linkov <juri@jurta.org>
4650
4651 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4652 to nil instead of binding `search-ring' and `regexp-search-ring'.
4653 (Bug#9185)
4654
0e23d96a
EZ
46552011-11-19 Eli Zaretskii <eliz@gnu.org>
4656
4657 * simple.el (line-move): Force movement by logical lines for any
4658 hscrolled window, not only when auto-hscroll-mode is on.
4659 (line-move-visual): Update doc string to that effect. (Bug#10076)
4660
8a6ccb66
AS
46612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4662
4663 * language/european.el (macintosh): Define as alias for mac-roman.
4664
49ae5b39
EZ
46652011-11-19 Eli Zaretskii <eliz@gnu.org>
4666
4667 * mail/rmailmm.el (rmail-mime-display-header)
4668 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4669 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4670 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4671 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4672 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4673 of a raw aref.
4674 (rmail-mime-entity-segment): To get past the tagline, move forward
4675 2 more lines, to account for the 2 empty lines that precede and
4676 follow the line with the buttons.
4677 (rmail-mime-update-tagline): Move one more line, to get past the
4678 empty line that follows the buttons in the tagline. (Bug#9520)
4679
c56cad4a
MR
46802011-11-19 Martin Rudalics <rudalics@gmx.at>
4681
4682 * window.el (window-max-delta-1, window-min-delta-1)
4683 (window-min-size-1, window-state-get-1, window-state-put-1)
4684 (window-state-put-2): Use "window--" prefix.
4685
cbe71af3
SM
46862011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4687
2ad52c60
SM
4688 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4689 (smie-warning-count): New var.
4690 (smie-set-prec2tab): Use it.
4691 (smie-bnf->prec2): Improve warnings. Add docstring.
4692 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4693 (smie-bnf--set-class): New function.
4694 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4695 corner case.
4696
6944dbc1
SM
4697 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4698 (compilation-error-properties, compilation-move-to-column):
4699 Handle compilation-first-column while in the target buffer.
4700
c400c4d7
SM
4701 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4702 Don't hardcode point-min==1.
4703
6dbe3e96
SM
4704 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4705 (eshell-rewrite-for-command): Remove workaround.
4706 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4707 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4708 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4709
cbe71af3
SM
4710 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4711
a8e1496d
GM
47122011-11-17 Glenn Morris <rgm@gnu.org>
4713
4714 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4715 Ignore buffer-local generated-autoload-file if it is the same
4716 as the global value. (Bug#10049)
4717
df85d315
JB
47182011-11-17 Juanma Barranquero <lekktu@gmail.com>
4719
4720 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4721 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4722 (reftex-toc-previous-heading, reftex-toc-max-level)
4723 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4724 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4725 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4726 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4727 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4728 (reftex-toc-rename-label, reftex-toc-visit-location)
4729 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4730 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4731 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4732 leaving "*toc*" only for references to the buffer.
4733
a0c2d0ae
MR
47342011-11-17 Martin Rudalics <rudalics@gmx.at>
4735
4736 * window.el (window-resize, delete-window, split-window):
4737 Replace window-splits by window-combination-resize.
1d00653d 4738 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4739
35c0bac8
GM
47402011-11-17 Glenn Morris <rgm@gnu.org>
4741
4742 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4743 Make bash entry derive from sh entry, not shell entry.
4744
d0c8fc8a
MA
47452011-11-16 Michael Albinus <michael.albinus@gmx.de>
4746
d0c8fc8a
MA
4747 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4748 properties of linked files. (Bug#9879)
4749
7262a87c
MA
4750 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4751 local file name.
4752
7877f373
JB
47532011-11-16 Juanma Barranquero <lekktu@gmail.com>
4754
4755 * menu-bar.el (menu-bar-file-menu):
4756 * printing.el (pr-ps-utility):
4757 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4758 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4759 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4760 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4761 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4762 (icalendar--convert-cyclic-to-ical)
4763 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4764 (icalendar--convert-ical-to-diary)
4765 (icalendar--convert-recurring-to-diary)
4766 (icalendar--convert-non-recurring-all-day-to-diary)
4767 (icalendar-import-format-sample):
4768 * progmodes/idlw-shell.el (idlwave-shell-mode):
4769 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4770 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4771 (vhdl-ps-print-init): Fix typos.
4772
10649b82
KM
47732011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4774
9d0cfcd6
GM
4775 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4776 FSF and collapse date sequence, obscure author/maintainer email address
4777 better, remove extra version line, track relocation of author's webpage.
10649b82 4778
9d0cfcd6
GM
4779 * progmodes/python.el (python-pdbtrack-input-prompt)
4780 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4781 regular python pdb prompts. Adjustments shamelessly taken exactly as
4782 suggested in EmacsWiki page (tiny change):
4783 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4784
58179cce
JB
47852011-11-16 Juanma Barranquero <lekktu@gmail.com>
4786
4787 * expand.el (expand-pos, expand-index, expand-point):
4788 Remove redundant info from docstring.
4789 (expand-add-abbrevs): Doc fix.
4790 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4791 (expand-sample-perl-mode-expand-list): Fix typos.
4792
4793 * net/dbus.el (dbus-event-member-name):
4794 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4795 * term/pc-win.el (msdos-create-frame-with-faces):
4796 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4797
b6f67890
MR
47982011-11-16 Martin Rudalics <rudalics@gmx.at>
4799
4800 * window.el (split-window, window-state-get-1)
4801 (window-state-put-1, window-state-put-2): Rename occurrences of
4802 window-nest to window-combination-limit.
1d00653d 4803 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4804
ce7ddba0
CY
48052011-11-16 Chong Yidong <cyd@gnu.org>
4806
4807 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4808 regexp (Bug#10033).
4809
3ae704f4
SM
48102011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4813 `completing-read' will remove *Completions* and will preserve
4814 current-buffer for us.
4815 (tmm-add-prompt): Users of *Completions* will always (re)set its
4816 major mode.
4817 (tmm-old-comp-map): Remove.
4818
6ad1cdde
GM
48192011-11-16 Glenn Morris <rgm@gnu.org>
4820
4821 * mail/rmailedit.el: Require rmailmm when compiling.
4822 (rmail-old-mime-state): New declaration.
4823 (rmail-edit-current-message): If editing a mime message,
4824 edit the "raw" message from the mbox buffer.
4825 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4826
d20faa20
GM
48272011-11-15 Glenn Morris <rgm@gnu.org>
4828
4829 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4830 which wasn't being used. Add optional arg to force given state.
4831 (rmail-mime): Add optional arg to force given state.
4832
c7015153
JB
48332011-11-15 Juanma Barranquero <lekktu@gmail.com>
4834
4835 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4836 * frame.el (display-mm-dimensions-alist):
4837 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4838 (outline-move-subtree-down):
4839 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4840 (newsticker--treeview-do-get-node):
4841 * net/quickurl.el (quickurl-list-buffer-name):
4842 * progmodes/dcl-mode.el (dcl-mode):
4843 * progmodes/gdb-mi.el (gdb-mapcar*):
4844 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4845
45261b50
GM
48462011-11-15 Glenn Morris <rgm@gnu.org>
4847
4848 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4849 in a boolean sense, so just make it a boolean, and fix the doc.
4850 (rmail-show-mime-function, rmail-mime-feature)
4851 (rmail-require-mime-maybe): Doc fixes.
4852 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4853
4854 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4855
0d26e0b6
JB
48562011-11-15 Juanma Barranquero <lekktu@gmail.com>
4857
4858 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4859 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4860 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4861 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4862
447f30f6
GM
48632011-11-15 Glenn Morris <rgm@gnu.org>
4864
672b871d
GM
4865 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4866 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4867 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4868 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4869 (rmail-mime, rmail-show-mime): Doc fixes.
4870
f6aa5bb1
GM
4871 * term/ns-win.el (mode-line-frame-identification):
4872 Leave it alone. (Bug#10051)
4873
947cd66b
GM
4874 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4875
447f30f6
GM
4876 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4877 Handle empty buffers. (Bug#9978)
4878
0b381c7e
JB
48792011-11-14 Juanma Barranquero <lekktu@gmail.com>
4880
4881 * international/mule.el (define-charset):
4882 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4883 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4884 * progmodes/verilog-mode.el (verilog-backward-token):
4885 * textmodes/ispell.el (lookup-words):
4886 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4887
71e027ac
GM
48882011-11-14 Glenn Morris <rgm@gnu.org>
4889
56632ce4
GM
4890 * progmodes/executable.el
4891 (executable-make-buffer-file-executable-if-script-p):
4892 Handle file-modes returning nil.
4893
40500957
GM
4894 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4895 message - not necessary, and causes problems. (Bug#9831)
4896
071c2340
GM
4897 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4898
d3cfca60
GM
4899 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4900
71e027ac
GM
4901 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4902 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4903 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4904
89d61221
MR
49052011-11-12 Martin Rudalics <rudalics@gmx.at>
4906
4907 * window.el (window-resize, delete-window): Use window-splits
4908 variable instead of function.
4909 (window-state-get-1, window-state-put-2, window-state-put):
4910 Don't deal with windows' splits status.
4911
98282f6f
GM
49122011-11-12 Glenn Morris <rgm@gnu.org>
4913
4914 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4915 (apropos-documentation): Doc fixes.
4916
40a8bdf6
JB
49172011-11-11 Juanma Barranquero <lekktu@gmail.com>
4918
4919 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4920 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4921
65bd19ff
SM
49222011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * electric.el (electric-indent-post-self-insert-function): Make it
4925 possible for a char to only indent in some circumstances.
4926 (electric-indent-mode): Simplify.
4927
54f9154c
MR
49282011-11-11 Martin Rudalics <rudalics@gmx.at>
4929
4930 * window.el (windows-with-parameter): Remove unused function.
4931 (windows-at-side): Rename to window-at-side-list.
4932 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4933 (window-side-check, window-size-ignore, window-size-fixed-1)
4934 (window-in-direction-2): Prefix with "window--".
4935 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4936
68cbc58b
GM
49372011-11-11 Glenn Morris <rgm@gnu.org>
4938
4939 * subr.el (eval-after-load): If FILE is already loaded,
4940 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4941
b2621720
GM
49422011-11-10 Glenn Morris <rgm@gnu.org>
4943
9a4de110
GM
4944 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4945 Call svn via vc-svn-command rather than vc-do-command.
4946 (vc-svn-command): Add --non-interactive. (Bug#9993)
4947 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4948
b2621720
GM
4949 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4950 Add toggle-read-only. (Bug#7292)
4951 * files.el (toggle-read-only): Mention that it should only
4952 be used interactively. (Bug#10006)
4953
1dce7193
SM
49542011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4955
d9ac1a1e
SM
4956 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4957 Adjust regexp for OCaml warnings.
4958
0c325082
SM
4959 * electric.el (electric-pair-post-self-insert-function): Let user
4960 turn it off buffer-locally (bug#9932).
4961
90132c14
SM
4962 * progmodes/python.el (python-beginning-of-statement):
4963 Rewrite (bug#2703).
4964
1dce7193
SM
4965 * progmodes/compile.el: Better handle TABs (bug#9749).
4966 (compilation-internal-error-properties)
4967 (compilation-next-error-function): Obey the target buffer's
4968 compilation-error-screen-columns.
4969
c4e7c63a
JB
49702011-11-09 Juanma Barranquero <lekktu@gmail.com>
4971
4972 * progmodes/meta-mode.el: Remove obsolete comments.
4973 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4974 Fix typos in docstrings.
4975
2cffd681
MR
49762011-11-09 Martin Rudalics <rudalics@gmx.at>
4977
4978 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4979 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4980 (window--resizable): New function. Make all callers of
4981 window-resizable call window--resizable instead.
4982 (window-resizable): Rewrite in terms of window--resizable.
4983
0edcba87
GM
49842011-11-08 Glenn Morris <rgm@gnu.org>
4985
4986 * progmodes/delphi.el (delphi-mode-syntax-table):
4987 Let define-derived-mode define a proper syntax table. (Bug#9994)
4988
4b0d61e3
SM
49892011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4990
4991 * window.el: Stay away from defsubst.
4992 (window-list-no-nils): Remove.
4993 (window-state-get-1, window-state-get): Use backquote instead.
4994
cd394be1 49952011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4996
4b0d61e3 4997 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4998 Fix incorrect use of default argument in `completing-read'.
4999
e1c2c6f2
MR
50002011-11-08 Martin Rudalics <rudalics@gmx.at>
5001
5002 * window.el (display-buffer-function, special-display-function):
5003 Mention display-buffer-record-window but do not mention
5004 help-setup parameter in doc-strings.
b3f4a882 5005 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5006
105216ed
CY
50072011-11-08 Chong Yidong <cyd@gnu.org>
5008
5009 * window.el (window-total-height, window-total-width): Doc fix.
5010 (window-body-size): Move from C.
5011 (window-body-height, window-body-width): Move to C.
5012
0a9f9ab5
SM
50132011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * window.el: Make special-display like display-buffer-alist (bug#9532).
5016 (display-buffer--special-action): New function, morphed
5017 from display-buffer--special.
5018 (display-buffer): Use it to handle special-display-buffers at higher
5019 priority (just after display-buffer-alist).
5020 (display-buffer-fallback-action, display-buffer--other-frame-action)
5021 (pop-to-buffer-same-window): Remove display-buffer--special.
5022
a769dd15
GM
50232011-11-07 Glenn Morris <rgm@gnu.org>
5024
5025 * calendar/cal-menu.el (cal-menu-set-date-title):
5026 Do nothing if not in a calendar. (Bug#9976)
5027
05a61ee3
SM
50282011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5029
5030 * files.el (find-file): Always use selected-window.
5031
be7f5545
MR
50322011-11-07 Martin Rudalics <rudalics@gmx.at>
5033
5034 * window.el (window-combinations): Make WINDOW argument
5035 mandatory. Rewrite doc-string.
5036 (walk-window-subtree, window-atom-check, window-min-delta)
5037 (window-max-delta, window--resize-this-window)
5038 (window--resize-root-window-vertically, window-tree)
5039 (balance-windows, window-state-put): Rewrite doc-strings as to
5040 not mention the term "subwindow".
5041 (window--resize-subwindows-skip-p): Rename to
5042 window--resize-child-windows-skip-p.
5043 (window--resize-subwindows-normal): Rename to
5044 window--resize-child-windows-normal.
5045 (window--resize-subwindows): Rename to
5046 window--resize-child-windows.
5047 (window-or-subwindow-p): Rename to window--in-subtree-p.
5048
3c6702ef
ML
50492011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5050
5051 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5052 Ensure that mbox format messages end in two newlines (Bug#9974).
5053
49745b39
CY
50542011-11-06 Chong Yidong <cyd@gnu.org>
5055
5056 * window.el (window-combination-p): Function deleted; its
5057 side-effect is not used in any existing code.
5058 (window-combinations, window-combined-p): Call window-*-child
5059 directly.
5060
24300f5f
CY
50612011-11-05 Chong Yidong <cyd@gnu.org>
5062
5063 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5064 (window-size-ignore, window-state-get): Callers changed.
5065 (window-normalize-window): Rename from window-normalize-any-window.
5066 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5067 (window-normalize-live-window): Delete.
447f16b8
CY
5068 (window-combination-p, window-combined-p, window-combinations)
5069 (walk-window-subtree, window-atom-root, window-min-size)
5070 (window-sizable, window-sizable-p, window-size-fixed-p)
5071 (window-min-delta, window-max-delta, window-resizable)
5072 (window-resizable-p, window-full-height-p, window-full-width-p)
5073 (window-current-scroll-bars, window-point-1, set-window-point-1)
5074 (window-at-side-p, window-in-direction, window-resize)
5075 (adjust-window-trailing-edge, maximize-window, minimize-window)
5076 (window-deletable-p, delete-window, delete-other-windows)
5077 (record-window-buffer, unrecord-window-buffer)
5078 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5079 (quit-window, split-window, window-state-put)
5080 (set-window-text-height, fit-window-to-buffer)
5081 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5082
89bd5ee1
EZ
50832011-11-04 Eli Zaretskii <eliz@gnu.org>
5084
53479029
EZ
5085 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5086 rfc2047-decode-string.
5087 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5088 warnings.
5089
89bd5ee1
EZ
5090 * window.el (window-body-height, window-body-width): Mention in
5091 the doc string that the return values are in frame's canonical
5092 units. (Bug#9949)
5093
bd17fdee
AM
50942011-11-03 Alan Mackenzie <acm@muc.de>
5095
5096 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5097 change in cc-engine.el.
5098
acc825c5
SM
50992011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5100
5101 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5102
1885e5b8
MR
51032011-11-02 Martin Rudalics <rudalics@gmx.at>
5104
5105 * window.el (quit-window): Call unrecord-window-buffer after
5106 showing another buffer in the window. (Bug#9937)
acc825c5 5107 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5108
ebe06da9
JB
51092011-11-02 Juanma Barranquero <lekktu@gmail.com>
5110
5111 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5112 Accept status with more than 9 shelves. (Bug#9935)
5113 Reported by Colin D Bennett <colin@gibibit.com>.
5114
4ee88440
MR
51152011-11-01 Martin Rudalics <rudalics@gmx.at>
5116
5117 * help.el (with-help-window): Don't reference
5118 temp-buffer-show-specifiers in doc-string.
5119
08e1d82c
AS
51202011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5121
5122 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5123 menu-item.
5124
84bd6e9e
VJL
51252011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5126
5127 * whitespace.el: New version 13.2.2.
5128 (whitespace-newline-mode): Disable properly. Reported by Sarah
5129 <EmacsWiki>.
5130
dba0634a
UJ
51312011-10-30 Ulf Jasper <ulf.jasper@web.de>
5132
5133 * net/newst-treeview.el: Remove "Time-stamp".
5134 (newsticker--group-manage-orphan-feeds): Do not call
5135 newsticker--treeview-tree-update.
db22a3c2
JB
5136 (newsticker-treeview-update, newsticker-treeview):
5137 Call newsticker--treeview-tree-update if necessary.
dba0634a 5138
3d8daefe
MR
51392011-10-30 Martin Rudalics <rudalics@gmx.at>
5140
5141 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5142 (window-iso-combinations): Remove "iso-" infix.
5143 Suggested by Chong Yidong.
3d8daefe
MR
5144 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5145 (window-max-delta-1, window-resize, window--resize-siblings)
5146 (window--resize-this-window, adjust-window-trailing-edge)
5147 (split-window, balance-windows-1)
5148 (shrink-window-if-larger-than-buffer):
5149 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5150 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5151
1bc4c3ae
SM
51522011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5155 in place (bug#9907).
5156 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5157 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5158 (eshell-structure-basic-command, eshell-rewrite-while-command)
5159 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5160 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5161 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5162 (eshell-do-pipelines-synchronously, eshell-eval-command):
5163 Use backquotes and prefer setq to set.
5164 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5165 (eshell-macrop): Use functionp.
c1e2f5fa 5166 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5167
30b65d9c
CY
51682011-10-30 Chong Yidong <cyd@gnu.org>
5169
5170 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5171 instead of set-mark (Bug#9810).
5172
2d197ffb
CY
51732011-10-30 Chong Yidong <cyd@gnu.org>
5174
5175 * window.el (split-window-below, split-window-right): Rename from
5176 split-window-above-each-other and split-window-side-by-side
5177 respectively. All callers changed.
5178 (split-window-sensibly, split-window-sensibly): Use them.
5179 (split-window-keep-point): Doc fix.
5180
5181 * isearch.el: Add isearch-scroll property to split-window-below
5182 and split-window-right.
5183
5184 * follow.el (follow-mode):
5185 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5186 * progmodes/ada-xref.el (ada-gdb-application):
5187 * emulation/vip.el (vip-buffer-in-two-windows):
5188 * image-dired.el (image-dired-dired-with-window-configuration):
5189 * dired-x.el (dired-do-find-marked-files):
5190 * dired.el (dired-pop-to-buffer):
5191 * bs.el (bs--show-with-configuration):
5192 * vc/emerge.el (emerge-setup-windows):
5193 * textmodes/two-column.el (2C-two-columns):
5194 * textmodes/reftex-toc.el (reftex-toc):
5195 * progmodes/gdb-mi.el (gdb-setup-windows):
5196 * progmodes/fortran.el (fortran-window-create):
5197 * net/newst-treeview.el (newsticker--treeview-window-init):
5198 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5199 * emulation/tpu-edt.el (tpu-gold-map):
5200 * emulation/crisp.el (crisp-mode-map):
5201 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5202
38bb2ca8
CY
52032011-10-29 Chong Yidong <cyd@gnu.org>
5204
aa4de341
CY
5205 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5206
e1eb5385
CY
5207 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5208
5d2ece3c
CY
5209 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5210 forged Ispell output (Bug#7904).
5211
38bb2ca8
CY
5212 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5213
d0af9f77
SM
52142011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5215
5216 * doc-view.el: Avoid ugly errors about not finding nil.
5217 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5218 (doc-view-dvipdf-program, doc-view-unoconv-program)
5219 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5220 Avoid nil or absolute file name as default value.
5221 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5222
52bedd34
AM
52232011-10-28 Alan Mackenzie <acm@muc.de>
5224
db22a3c2 5225 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5226
7e43cfa5
AM
52272011-10-28 Alan Mackenzie <acm@muc.de>
5228
5229 Amend the handling of c-beginning/end-of-defun in nested declaration
5230 scopes.
5231
52bedd34
AM
5232 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5233 cc-langs.el. Change it to a defcustom.
7e43cfa5 5234
52bedd34
AM
5235 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5236 cc-vars.el.
7e43cfa5 5237
d0af9f77
SM
5238 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5239 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5240
52bedd34 5241 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5242 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5243 (c-widen-to-enclosing-decl-scope): New function.
5244 (c-while-widening-to-decl-block): New macro.
5245 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5246 outward for defun boundaries, and correspondingly change symbol
5247 `respect-enclosure' to `go-outward'.
5248 (c-declaration-limits): Change algorithm to report only the "innermost"
5249 defun's boundaries.
5250
1a2ce9ee
DD
52512011-10-28 Deniz Dogan <deniz@dogan.se>
5252
5253 * net/rcirc.el (rcirc-mode): Use hard newlines.
5254
bc97a826
AM
52552011-10-28 Alan Mackenzie <acm@muc.de>
5256
5257 Amend to indent and fontify macros "which include their own semicolon"
5258 correctly, using the "virtual semicolon" mechanism.
5259
52bedd34 5260 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5261
d0af9f77 5262 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5263 Recode to scan one line at a time rather than having \n and \r
58179cce 5264 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5265 (c-forward-label): Amend for virtual semicolons.
58179cce 5266 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5267
52bedd34
AM
5268 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5269 of the new C macros.
bc97a826 5270
52bedd34 5271 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5272 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5273 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5274 (c-opt-cpp-macro-define): Make into a full language variable.
5275 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5276 AWK Mode (including \n, \r) removed, no longer needed.
5277
d0af9f77
SM
5278 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5279 Invoke c-make-macro-with-semi-re.
bc97a826 5280
52bedd34
AM
5281 * progmodes/cc-vars.el (c-macro-with-semi-re):
5282 (c-macro-names-with-semicolon): New variables.
58179cce 5283 (c-make-macro-with-semi-re): New function.
bc97a826 5284
7a6c0941
SM
52852011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * vc/log-edit.el: Fill empty field rather than adding new one.
5288 (log-edit-add-field): New function.
5289 (log-edit-insert-changelog): Use it.
5290
b0c4cdcf
ML
52912011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5292
5293 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5294
ee1f1da9
SM
52952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5298 (gdb--check-interpreter): New function.
5299 (gdb): Use it.
5300
51bc5f8b
GM
53012011-10-27 Glenn Morris <rgm@gnu.org>
5302
416a2c45
GM
5303 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5304 (least-positive-float, least-negative-float)
5305 (least-positive-normalized-float, least-negative-normalized-float)
5306 (float-epsilon, float-negative-epsilon):
5307 Remove unnecessary declarations.
5308
5309 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5310 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5311 (least-positive-float, least-negative-float)
5312 (least-positive-normalized-float, least-negative-normalized-float)
5313 (float-epsilon, float-negative-epsilon): Add doc-strings,
5314 based on those in cl.texi.
5315
51bc5f8b
GM
5316 * files.el (set-visited-file-name): If the major-mode changed,
5317 reload the local variables. (Bug#9796)
5318
15de15c6
CY
53192011-10-27 Chong Yidong <cyd@gnu.org>
5320
5321 * subr.el (change-major-mode-after-body-hook): New hook.
5322 (run-mode-hooks): Run it.
5323
ee1f1da9
SM
5324 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5325 Use change-major-mode-before-body-hook.
15de15c6
CY
5326
5327 * simple.el (fundamental-mode):
5328 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5329 change introducing fundamental-mode-hook.
5330
5430d399
JB
53312011-10-26 Juanma Barranquero <lekktu@gmail.com>
5332
acc825c5 5333 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5334
ad74a69e
MA
53352011-10-26 Michael Albinus <michael.albinus@gmx.de>
5336
5337 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5338 tramp.el explicitly. (Bug#7583)
ad74a69e 5339
71d4c2a5
SM
53402011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 * progmodes/octave-mod.el:
5343 * progmodes/octave-inf.el: Update maintainer.
5344
b1f6fa26
CY
53452011-10-26 Chong Yidong <cyd@gnu.org>
5346
5347 * subr.el (with-wrapper-hook): Rewrite doc.
5348
3f04efd6
MA
53492011-10-25 Michael Albinus <michael.albinus@gmx.de>
5350
5351 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5352 filenames "/method:foo:". (Bug#9793)
3f04efd6 5353
410488d3
SM
53542011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5357 (bug#9865).
5358
c1ebb47e
GM
53592011-10-24 Glenn Morris <rgm@gnu.org>
5360
5361 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5362
7f5c46c7
MA
53632011-10-24 Michael Albinus <michael.albinus@gmx.de>
5364
5365 * notifications.el: Add the requirement of a running D-Bus session
5366 bus to the Commentary.
5367
db2440b6
JL
53682011-10-24 Juri Linkov <juri@jurta.org>
5369
5370 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5371 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5372 (Bug#9364)
5373
feecf435
JL
53742011-10-24 Juri Linkov <juri@jurta.org>
5375
5376 * info.el (Info-following-node-name-re): Add newline to the list
5377 of allowed characters for leading space. (Bug#9824)
5378
a3839de2
SM
53792011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5380
acc825c5
SM
5381 * progmodes/octave-inf.el (inferior-octave-mode-map):
5382 Fix C-c C-h binding.
a3839de2
SM
5383 * progmodes/octave-mod.el (octave-help): Remove.
5384
09388e76
MA
53852011-10-23 Michael Albinus <michael.albinus@gmx.de>
5386
5387 Sync with Tramp 2.2.3.
5388
5389 * net/tramp-cache.el (top): Pacify byte-compiler using
5390 `init-file-user' and `site-run-file'.
5391
5392 * net/trampver.el: Update release number.
5393
86c60681
CY
53942011-10-23 Chong Yidong <cyd@gnu.org>
5395
5396 * files.el (toggle-read-only): Remove obsolete comment about
5397 version control.
5398
5399 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5400 for toggle-read-only. Note that this hasn't called vc-next-action
5401 since 2008-05-02, though it wasn't documented at the time.
5402
a3839de2
SM
5403 * vc/ediff-init.el (ediff-toggle-read-only-function):
5404 Use toggle-read-only.
86c60681 5405
cd5495ff
AM
54062011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5407
5408 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5409 of c-parse-state.
5410
00b77525 5411 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5412 correct faulty logical expression.
cd5495ff
AM
5413 (c-parse-state-state, c-record-parse-state-state):
5414 (c-replay-parse-state-state): New defvar/defuns.
5415 (c-debug-parse-state): Use new functions.
5416
42ee24ed
MR
54172011-10-22 Martin Rudalics <rudalics@gmx.at>
5418
5419 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5420 last fix. Use window-in-direction correctly.
42ee24ed 5421
a7dee7e7
CY
54222011-10-21 Chong Yidong <cyd@gnu.org>
5423
5424 * progmodes/idlwave.el (idlwave-mode):
5425 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5426 require-final-newline; that's done in prog-mode.
5427 Suggested by Stefan Monnier.
a7dee7e7 5428
e07b9a6d
MR
54292011-10-21 Martin Rudalics <rudalics@gmx.at>
5430
5431 * mouse.el (mouse-drag-window-above)
5432 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5433 (mouse-drag-mode-line-1, mouse-drag-header-line)
5434 (mouse-drag-vertical-line-rightward-window): Remove.
5435 (mouse-drag-line): New function.
5436 (mouse-drag-mode-line, mouse-drag-header-line)
5437 (mouse-drag-vertical-line): Call mouse-drag-line.
5438 * window.el (window-at-side-p, windows-at-side): New functions.
5439
7e1361d9
UM
54402011-10-21 Ulrich Mueller <ulm@gentoo.org>
5441
5442 * tar-mode.el (tar-grind-file-mode):
5443 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5444
30fcaf3a
CY
54452011-10-21 Chong Yidong <cyd@gnu.org>
5446
5447 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5448 * progmodes/vera-mode.el (vera-mode):
5449 Use mode-require-final-newline.
30fcaf3a 5450
516eddb0
GM
54512011-10-20 Glenn Morris <rgm@gnu.org>
5452
db22a3c2 5453 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5454
10d5f513
CS
54552011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5456
5457 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5458
ac6c8639
CY
54592011-10-20 Chong Yidong <cyd@gnu.org>
5460
5461 * emulation/cua-base.el (cua-mode):
5462 * mail/footnote.el (footnote-mode):
5463 * mail/mailabbrev.el (mail-abbrevs-mode):
5464 * net/xesam.el (xesam-minor-mode):
5465 * progmodes/bug-reference.el (bug-reference-mode):
5466 * progmodes/cap-words.el (capitalized-words-mode):
5467 * progmodes/compile.el (compilation-minor-mode)
5468 (compilation-shell-minor-mode):
5469 * progmodes/gud.el (gud-tooltip-mode):
5470 * progmodes/hideif.el (hide-ifdef-mode):
5471 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5472 * progmodes/subword.el (subword-mode):
5473 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5474 * progmodes/which-func.el (which-function-mode):
5475 * term/tvi970.el (tvi970-set-keypad-mode):
5476 * term/vt100.el (vt100-wide-mode):
5477 * textmodes/flyspell.el (flyspell-mode):
5478 * textmodes/ispell.el (ispell-minor-mode):
5479 * textmodes/nroff-mode.el (nroff-electric-mode):
5480 * textmodes/paragraphs.el (use-hard-newlines):
5481 * textmodes/refill.el (refill-mode):
5482 * textmodes/reftex.el (reftex-mode):
5483 * textmodes/rst.el (rst-minor-mode):
5484 * textmodes/sgml-mode.el (html-autoview-mode)
5485 (sgml-electric-tag-pair-mode):
5486 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5487 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5488 * emulation/crisp.el (crisp-mode):
5489 * emacs-lisp/eldoc.el (eldoc-mode):
5490 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5491 minor mode behavior.
5492
aa42ab43
JL
54932011-10-19 Juri Linkov <juri@jurta.org>
5494
5495 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5496 the list of hard-coded chars with escape-glyph face.
5497
89400f1d
SM
54982011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5501
305c07f6
MA
55022011-10-19 Michael Albinus <michael.albinus@gmx.de>
5503
5504 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5505 running process.
5506
13754b54
GM
55072011-10-19 Glenn Morris <rgm@gnu.org>
5508
5509 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5510 Ignore ignored files. (Bug#9726)
5511
06e21633
CY
55122011-10-19 Chong Yidong <cyd@gnu.org>
5513
5514 Doc fix for minor modes, stating that an omitted argument enables
5515 the mode unconditionally when called from Lisp.
5516
5517 * abbrev.el (abbrev-mode):
5518 * allout.el (allout-mode):
5519 * autoinsert.el (auto-insert-mode):
5520 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5521 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5522 (global-auto-revert-mode):
5523 * battery.el (display-battery-mode):
5524 * composite.el (global-auto-composition-mode)
5525 (auto-composition-mode):
5526 * delsel.el (delete-selection-mode):
5527 * desktop.el (desktop-save-mode):
5528 * dired-x.el (dired-omit-mode):
5529 * dirtrack.el (dirtrack-mode):
5530 * doc-view.el (doc-view-minor-mode):
5531 * double.el (double-mode):
5532 * electric.el (electric-indent-mode, electric-pair-mode):
5533 * emacs-lock.el (emacs-lock-mode):
5534 * epa-hook.el (auto-encryption-mode):
5535 * follow.el (follow-mode):
5536 * font-core.el (font-lock-mode):
5537 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5538 * help.el (temp-buffer-resize-mode):
5539 * hilit-chg.el (highlight-changes-mode)
5540 (highlight-changes-visible-mode):
5541 * hi-lock.el (hi-lock-mode):
5542 * hl-line.el (hl-line-mode, global-hl-line-mode):
5543 * icomplete.el (icomplete-mode):
5544 * ido.el (ido-everywhere):
5545 * image-file.el (auto-image-file-mode):
5546 * image-mode.el (image-minor-mode):
5547 * iswitchb.el (iswitchb-mode):
5548 * jka-cmpr-hook.el (auto-compression-mode):
5549 * linum.el (linum-mode):
5550 * longlines.el (longlines-mode):
5551 * master.el (master-mode):
5552 * mb-depth.el (minibuffer-depth-indicate-mode):
5553 * menu-bar.el (menu-bar-mode):
5554 * minibuf-eldef.el (minibuffer-electric-default-mode):
5555 * mouse-sel.el (mouse-sel-mode):
5556 * msb.el (msb-mode):
5557 * mwheel.el (mouse-wheel-mode):
5558 * outline.el (outline-minor-mode):
5559 * paren.el (show-paren-mode):
5560 * recentf.el (recentf-mode):
5561 * reveal.el (reveal-mode, global-reveal-mode):
5562 * rfn-eshadow.el (file-name-shadow-mode):
5563 * ruler-mode.el (ruler-mode):
5564 * savehist.el (savehist-mode):
5565 * scroll-all.el (scroll-all-mode):
5566 * scroll-bar.el (scroll-bar-mode):
5567 * server.el (server-mode):
5568 * shell.el (shell-dirtrack-mode):
5569 * simple.el (auto-fill-mode, transient-mark-mode)
5570 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5571 (line-number-mode, column-number-mode, size-indication-mode)
5572 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5573 * strokes.el (strokes-mode):
5574 * time.el (display-time-mode):
5575 * t-mouse.el (gpm-mouse-mode):
5576 * tool-bar.el (tool-bar-mode):
5577 * tooltip.el (tooltip-mode):
5578 * type-break.el (type-break-mode-line-message-mode)
5579 (type-break-query-mode):
5580 * view.el (view-mode):
5581 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5582 (global-whitespace-mode, global-whitespace-newline-mode):
5583 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5584
a3839de2
SM
5585 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5586 Fix autogenerated docstring.
06e21633 5587
5214e501
JL
55882011-10-19 Juri Linkov <juri@jurta.org>
5589
5590 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5591 by checking environment variables "DESKTOP_SESSION" and
5592 "XDG_CURRENT_DESKTOP". (Bug#9779)
5593
195f8db9
JL
55942011-10-19 Juri Linkov <juri@jurta.org>
5595
5596 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5597 (browse-url-chromium-program, browse-url-chromium-arguments):
5598 New defcustoms.
5599 (browse-url-default-browser): Check for `browse-url-chromium' and
5600 call `browse-url-chromium-program'.
5601 (browse-url-chromium): New command. (Bug#9779)
5602
343a34ff
JB
56032011-10-18 Juanma Barranquero <lekktu@gmail.com>
5604
5605 * facemenu.el (list-colors-duplicates): On Windows, detect more
5606 duplicates by assuming that only colors matching "^System" are
5607 special "system colors". (Bug#9722)
5608
6978a151
SM
56092011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5612 to distinguish the author from the committer.
5613
6a80b297
MA
56142011-10-18 Michael Albinus <michael.albinus@gmx.de>
5615
5616 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5617
b31a5677
JK
56182011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5619
5620 * international/mule.el (sgml-html-meta-auto-coding-function):
5621 Add support for detecting encoding in HTML5 specified only as
5622 <meta charset="UTF-8">. Implementation just makes http-equiv and
5623 content-type parts from HTML4 encoding string optional. (Bug#9716)
5624
80c6d77f
GM
56252011-10-18 Glenn Morris <rgm@gnu.org>
5626
5627 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5628
08b0fee8
CY
56292011-10-18 Chong Yidong <cyd@gnu.org>
5630
5631 * faces.el (cursor): Doc fix.
5632
67e729a5
CY
56332011-10-17 Chong Yidong <cyd@gnu.org>
5634
5635 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5636
343a34ff 56372011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5638
5639 * dirtrack.el (dirtrack): Support shell buffers with path
5640 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5641
0bc06380
TZ
56422011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5643
5644 * json.el: Bump version to 1.3 and note change in History.
5645 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5646
8b79f3e0
SM
56472011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5648
5a7c536b
SM
5649 * comint.el (comint-insert-input, comint-send-input)
5650 (comint-get-old-input-default, comint-backward-matching-input)
5651 (comint-next-prompt): Use nil instead of `input' for field property of
5652 past user input (bug#114).
5653
96a8a0df
SM
5654 * minibuffer.el (completion--replace): Inherit surrounding properties
5655 (bug#114).
5656 (minibuffer-complete-and-exit): Use it.
5657
8b79f3e0
SM
5658 * comint.el (comint--table-subvert): Quote the all-completions output
5659 (bug#9160).
5660
b8f7ff0d
MR
56612011-10-17 Martin Rudalics <rudalics@gmx.at>
5662
8b79f3e0 5663 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5664
b8f7ff0d 5665 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5666 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5667 entries and separate them from frame entries.
5668
c235b555
GM
56692011-10-15 Glenn Morris <rgm@gnu.org>
5670
5671 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5672 Doc fixes.
5673
6bbfa6e1
CY
56742011-10-15 Chong Yidong <cyd@stupidchicken.com>
5675
8b79f3e0
SM
5676 * net/network-stream.el (network-stream-open-starttls):
5677 Improve detection of failure due to lack of TLS support.
ec5c990d 5678
6bbfa6e1
CY
5679 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5680 putting the input text in front and in bold.
5681
98488977
SM
56822011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5683
3d1337be
SM
5684 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5685
ee0b45e4
SM
5686 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5687 empty buffer.
5688
98488977
SM
5689 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5690 unread-command-events rather than pushing yet-another event.
5691
186f4720
EZ
56922011-10-14 Eli Zaretskii <eliz@gnu.org>
5693
5694 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5695 the explanation of the possible choices. Make the options passed
5696 to completing-read shorter.
5697
8b7a997c
AM
56982011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5699
5700 * textmodes/flyspell.el (flyspell-large-region): Make sure
5701 extended character mode is used if defined (Bug#1339).
5702
12587bbb
EZ
57032011-10-13 Eli Zaretskii <eliz@gnu.org>
5704
5705 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5706 character info for LRE, LRO, RLE, and RLO characters by appending
5707 an invisible PDF.
12587bbb 5708
bad41229
SM
57092011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5712 even in case of error; add debug spec; simplify data flow.
5713 (with-timeout-handler): Remove.
5714
28dbc92f
MA
57152011-10-12 Michael Albinus <michael.albinus@gmx.de>
5716
5717 Fix Bug#6019, Bug#9315.
5718
5719 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5720 complete `buffer-file-name', the local file name part could look
5721 remotely (for example on VMS).
5722
5723 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5724 `tramp-run-real-handler'.
5725 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5726 already quoted by '"'.
5727
5728 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5729 Let `file-name-handler-alist' be nil, the local file name part
5730 could look remotely (for example on VMS).
5731
e1b0b23a
SM
57322011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5735 from here...
5736 (flyspell-post-command-hook): ...to here.
5737
a120bde9
SM
57382011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5741 if not needed.
5742 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5743 using completion. Protect against "slow" callers.
5744 Remove the "message hack".
5745
7ce7717b
JL
57462011-10-11 Juri Linkov <juri@jurta.org>
5747
5748 * isearch.el (isearch-lazy-highlight-word): New variable.
5749 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5750 Use it. (Bug#9727)
5751
c02ee9d6
GM
57522011-10-11 Glenn Morris <rgm@gnu.org>
5753
5754 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5755 like f90-previous-statement does.
5756
93e616fd 57572011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5758
1f190e73 5759 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5760 only in interactive use, to avoid error.
5761
af7b6078
SM
57622011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5763
5764 * minibuffer.el (completion-file-name-table): Fix last change,
5765 i.e. ignore normal errors but not the other ones.
5766
0563dae9
MR
57672011-10-10 Martin Rudalics <rudalics@gmx.at>
5768
5769 * window.el (special-display-buffer-names)
5770 (special-display-regexps): Remove some remnants of earlier
5771 changes from doc-strings.
366ca7f3
MR
5772 (quit-windows-on): New function.
5773
5774 * vc/vc.el (vc-revert, vc-rollback):
5775 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5776 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5777 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5778
49677495
MR
57792011-10-09 Martin Rudalics <rudalics@gmx.at>
5780
5781 * window.el (frame-auto-hide-function): Add version tag.
5782 (Bug#9699)
5783
56f2d1e1
MA
57842011-10-09 Michael Albinus <michael.albinus@gmx.de>
5785
5786 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5787 condition.
5788
112a6592
LL
57892011-10-09 Leo Liu <sdl.web@gmail.com>
5790
5791 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5792 (Bug#9701)
5793
0812589b
GM
57942011-10-08 Glenn Morris <rgm@gnu.org>
5795
5796 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5797 before the first code statement zero indent. (Bug#9690)
5798
b2b0776e
CY
57992011-10-08 Chong Yidong <cyd@stupidchicken.com>
5800
5801 * simple.el (count-words-region): Always count in the region.
5802 Report the number of lines and characters too.
5803 (count-words): New command, which counts in the buffer if the
5804 region is inactive, as count-words-region used to.
5805 (count-words--message): New function. Handle plurals.
5806 (count-lines-region): Make it an alias for count-words-region.
5807
5808 * bindings.el (esc-map): Replace count-lines-region with
5809 count-words-region.
5810
c557cd6b
MR
58112011-10-08 Martin Rudalics <rudalics@gmx.at>
5812
5813 * window.el (window--delete): Delete dedicated frame
5814 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5815 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5816
61a57ef4 58172011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5818
3a7d293b 5819 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5820
c3833279
CY
58212011-10-07 Chong Yidong <cyd@stupidchicken.com>
5822
5823 * bindings.el ([M-left],[M-right]): Bind to left-word and
5824 right-word respectively.
5825
21ce8245
GM
58262011-10-07 Glenn Morris <rgm@gnu.org>
5827
5828 * cus-start.el (debug-on-quit): Fix custom type.
5829
6d823bb2
LMI
58302011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5831
0181e193
LMI
5832 * subr.el (define-key-after): Clarify that the function is not
5833 useful for non-menu keymaps.
5834
6d823bb2
LMI
5835 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5836
8e3459ce 58372011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5838
21ce8245 5839 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5840 in current minibuffer (Fix bug with recursive minibuffers).
5841
a1c2d21e
CY
58422011-10-06 Chong Yidong <cyd@stupidchicken.com>
5843
5844 * progmodes/gdb-mi.el (gdb): Doc fix.
5845
5a4cf282
MR
58462011-10-05 Martin Rudalics <rudalics@gmx.at>
5847
5848 * window.el (frame-auto-hide-function): New option replacing
5849 frame-auto-delete. Suggested by Stefan Monnier.
5850 (window--delete): Call frame-auto-hide-function instead of
5851 investigating frame-auto-delete.
c96111ea
MR
5852 (window-point-1, set-window-point-1): New functions.
5853 (window-in-direction, record-window-buffer, window-state-get-1)
5854 (display-buffer-record-window): Use window-point-1 instead of
5855 window-point.
5856 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5857
9854542e
SM
58582011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5861
8943cfb0
GM
58622011-10-05 Glenn Morris <rgm@gnu.org>
5863
5864 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5865 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5866
647ab967
LL
58672011-10-05 Leo Liu <sdl.web@gmail.com>
5868
5869 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5870 works with buffer object.
5871
3ddfbced
SM
58722011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * mpc.el (mpc-tool-bar-map): Add labels.
5875
bdfa5dd2
GM
58762011-10-04 Glenn Morris <rgm@gnu.org>
5877
5878 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5879
0e2070b5
MR
58802011-10-04 Martin Rudalics <rudalics@gmx.at>
5881
5882 * window.el (window--delete): New function.
5883 (frame-auto-delete): Resuscitate option.
5884 (bury-buffer, replace-buffer-in-windows)
5885 (quit-window): Rewrite using window--delete.
5886 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5887 Pass display-buffer-mark-dedicated to window--display-buffer-2
5888 (Bug#9639).
5889
3dc61a09
SM
58902011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5891
915a9b64
SM
5892 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5893 returns a list (bug#9554). Add remote file name completion.
5894 * comint.el (comint--table-subvert): Curry and get quote&unquote
5895 functions as arguments.
5896 (comint--complete-file-name-data): Adjust call accordingly.
5897 * pcomplete.el (pcomplete--table-subvert): Remove.
5898 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5899
3dc61a09
SM
5900 * minibuffer.el (completion-table-case-fold): Use currying.
5901 (completion--styles-type, completion--cycling-threshold-type):
5902 New constants.
5903 (completion-styles, completion-category-overrides)
5904 (completion-cycle-threshold): Use them.
5905 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5906 completion-table-case-fold.
5907
8ea0a993
SB
59082011-10-03 Stephen Berman <stephen.berman@gmx.net>
5909
5910 * minibuffer.el (completion-category-overrides): Fix type of styles
5911 and add more user friendly tags (bug#9660).
5912
8c24b7f6
SM
59132011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5916 (mule-input-method-string): New widget.
5917 (default-input-method, language-info-custom-alist): Use it.
5918
428fe61a
SM
59192011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5920
32c1fffd
SM
5921 * pcomplete.el: Require comint.
5922 (pcomplete--common-suffix): Remove.
5923 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5924 (pcomplete--table-subvert): Sync with comint--table-subvert.
5925 (pcomplete--entries): Use comint-completion-file-name-table.
5926 * comint.el (comint-unquote-filename): Simplify.
5927 (comint-completion-file-name-table): New function (bug#9616).
5928 (comint--complete-file-name-data): Use it.
5929
428fe61a
SM
5930 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5931 (pcmpl-gnu-tar-buffer): Remove.
5932 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5933 around. Make sure pcomplete-suffix-list is only changed temporarily.
5934 Don't look inside the tar's file if it's too large.
428fe61a 5935
04c52e2f
CY
59362011-10-01 Chong Yidong <cyd@stupidchicken.com>
5937
ce3cefcc
CY
5938 * cus-edit.el (custom-mode-map):
5939 * epa.el (epa-key-list-mode-map):
5940 * man.el (Man-mode-map):
5941 * startup.el (splash-screen-keymap):
5942 * simple.el (special-mode-map): Use scroll-up-command and
5943 scroll-down-command.
5944
5945 * progmodes/idlw-help.el (idlwave-help-mode-map):
5946 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5947 * net/newst-plainview.el (newsticker-mode-map):
5948 * emulation/ws-mode.el (wordstar-mode-map):
5949 * emulation/vi.el (vi-com-map):
5950 * calc/calc-graph.el (calc-graph-show-dumb):
5951 * term/sun.el (terminal-init-sun):
5952 * term/ns-win.el (global-map):
5953 * progmodes/grep.el (grep-mode-map):
5954 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5955 * mail/rmail.el (rmail-mode-map):
5956 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5957
04c52e2f
CY
5958 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5959 custom-safe-themes as special.
5960
79adf8c8
JD
59612011-10-01 Julien Danjou <julien@danjou.info>
5962
5963 * notifications.el (notifications-notify): Fix docstring.
5964
63bd50d3
PS
59652011-10-01 Per Starbäck <per@starback.se>
5966
5967 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5968
199e4c7e
MR
59692011-09-30 Martin Rudalics <rudalics@gmx.at>
5970
5971 * startup.el (command-line-1): Fix last fix by inserting
5972 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5973 (Bug#9605) and (Bug#9636)
199e4c7e 5974
fe5f08dd
EZ
59752011-09-29 Eli Zaretskii <eliz@gnu.org>
5976
5977 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5978 window is hscrolled, move by logical lines. (Bug#9607)
5979 (line-move-visual): Update the doc string to the above effect.
5980
b5516bbd
MR
59812011-09-29 Martin Rudalics <rudalics@gmx.at>
5982
ccee00c0
MR
5983 * window.el (display-buffer-record-window): When WINDOW is the
5984 selected window use `point' instead of `window-point'. (Bug#9626)
5985
b5516bbd
MR
5986 * startup.el (command-line-1): Use insert-before-markers when
5987 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5988
b5516bbd
MR
5989 * help.el (help-window): Remove variable.
5990
52aa0014
GM
59912011-09-29 Glenn Morris <rgm@gnu.org>
5992
5993 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5994
df9a7357
JB
59952011-09-29 Juanma Barranquero <lekktu@gmail.com>
5996
5997 * descr-text.el (describe-char-categories): Accept category
5998 descriptions more than one line long.
5999
a8406c20
SM
60002011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6001
88d9610c
SM
6002 * simple.el (delete-trailing-whitespace): Fix last change.
6003
a5daf810
SM
6004 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6005 Don't confuse "y => 3" as the beginning of a `y' operation.
6006
a8406c20
SM
6007 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6008 object has more than 4 slots (bug#9613).
6009
a239d4e9
JB
60102011-09-28 Juanma Barranquero <lekktu@gmail.com>
6011
6012 * subr.el (with-output-to-temp-buffer):
6013 * net/quickurl.el (quickurl, quickurl-browse-url):
6014 Fix typos in docstrings.
6015
693fbdb6
EZ
60162011-09-27 Eli Zaretskii <eliz@gnu.org>
6017
6018 * minibuffer.el (completion-styles)
6019 (completion-category-overrides): Cross reference each other in doc
6020 strings.
6021
8b457e28
GM
60222011-09-27 Glenn Morris <rgm@gnu.org>
6023
6024 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6025 to split-string. (Bug#9606)
6026
85a16208
LMI
60272011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6028
6029 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6030 (bug#9615).
6031
502f9ebd
CY
60322011-09-27 Chong Yidong <cyd@stupidchicken.com>
6033
6034 * emacs-lisp/package.el (list-packages): Fix echo area message.
6035
7690bdea
LL
60362011-09-27 Leo Liu <sdl.web@gmail.com>
6037
6038 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6039
e2ee6f30
MA
60402011-09-25 Michael Albinus <michael.albinus@gmx.de>
6041
6042 * net/dbus.el (dbus-unregister-object): Don't release services for
6043 registered signals. (Bug#9581)
6044
f3f98342
TZ
60452011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6046
6047 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6048 function that picks between cfengine 2 and 3 support
6049 automatically. Update docs accordingly.
6050
dd7aa8dd
KH
60512011-09-22 Kenichi Handa <handa@m17n.org>
6052
6053 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6054 ZERO.
6055 (indian-itrans-v5-table-for-tamil): New variable.
6056 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6057
3f2b07f8
KM
60582011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6059
6060 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6061 that's true if the current command involved collapsing of text.
6062 It's reset to false at the beginning of the next command.
6063 (allout-post-command-business): Move the cursor to the beginning
6064 of entry if the cursor is hidden and collapsing activity just
6065 happened.
6066
371d6a61
CY
60672011-09-24 Chong Yidong <cyd@stupidchicken.com>
6068
6069 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6070 tracking (Bug#9541).
6071
2ac2721a
UJ
60722011-09-24 Ulf Jasper <ulf.jasper@web.de>
6073
6074 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6075 (newsticker-show-news): Automatically load html rendering package
6076 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6077 because w3m-fill-column is let-bound" and the error "Symbol's value
6078 as variable is void: w3m-fill-column".
2ac2721a 6079
fac7ae53
MA
60802011-09-24 Michael Albinus <michael.albinus@gmx.de>
6081
6082 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6083 Release services only if they are defined. (Bug#9581)
6084
e08b633b
RS
60852011-09-23 Richard Stallman <rms@gnu.org>
6086
e488d29c
RS
6087 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6088 distinguish start of paragraph from start of its text.
6089
19c38752
RS
6090 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6091
e08b633b
RS
6092 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6093 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6094 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6095
0a39f27e
AS
60962011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6097
6098 * international/mule-diag.el (mule-diag): Insert a newline after
6099 each fontset description.
6100
db4e950d
SM
61012011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * simple.el (delete-trailing-whitespace):
6104 Document last change; simplify.
6105
eca3f3ea
PW
61062011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6107
d68e189a
PW
6108 * simple.el (delete-trailing-whitespace): Also delete
6109 extra newlines at the end of the buffer.
6110
eca3f3ea
PW
6111 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6112 (picture-newline): Use forward-line so as to ignore fields.
6113
01c157cc
SM
61142011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 * subr.el (with-wrapper-hook): Fix edebug spec.
6117
022de23e
LMI
61182011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6119
6120 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6121 (bug#4538).
6122
91683089
MA
61232011-09-23 Michael Albinus <michael.albinus@gmx.de>
6124
eca3f3ea
PW
6125 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6126 Fix nasty bug using wrong cached values.
91683089 6127
5bdd6fa4
AM
61282011-09-23 Alan Mackenzie <acm@muc.de>
6129
6130 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6131
97adfb97
CY
61322011-09-23 Chong Yidong <cyd@stupidchicken.com>
6133
6134 * window.el (pop-to-buffer): Ensure right window is selected if we
6135 chose another frame.
6136
d4ef2b50
EZ
61372011-09-22 Eli Zaretskii <eliz@gnu.org>
6138
6139 * simple.el (what-cursor-position): Use get-char-property-change
6140 and next-single-char-property-change, to be able to show display
6141 properties that come from overlays as well as text properties.
6142
72258fe5
CY
61432011-09-22 Chong Yidong <cyd@stupidchicken.com>
6144
6145 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6146
6147 * cmuscheme.el (run-scheme, switch-to-scheme):
6148 * cus-edit.el (customize-group, custom-buffer-create)
6149 (customize-browse):
6150 * info.el (info):
6151 * shell.el (shell):
6152 * mail/sendmail.el (mail):
6153 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6154
8f098516
RS
61552011-09-22 Richard Stallman <rms@gnu.org>
6156
6157 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6158 move back only to line beg, don't move back over blank lines.
6159
e74f1bb6
MA
61602011-09-22 Michael Albinus <michael.albinus@gmx.de>
6161
6162 * files.el (copy-directory): Set directory attributes only in case
6163 they could be retrieved from the source directory. (Bug#9565)
6164
bfeef8b6
DK
61652011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6166
6167 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6168 (hs-find-block-beginning, hs-hide-level-recursive):
6169 Ignore strings as well as comments. (Bug#9502)
6170
7e423bb8
AS
61712011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6172
6173 * progmodes/sql.el (sql-comint-postgres):
6174 Convert port number to a string. (Bug#9566)
6175
b4d72fcf
MR
61762011-09-22 Martin Rudalics <rudalics@gmx.at>
6177
6178 * window.el (quit-window): Undedicate window when switching to
6179 previous buffer. Reported by Thierry Volpiatto
6180 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6181 (special-display-popup-frame): When popping up a new frame reset
6182 its previous buffers to nil. Simplify code.
b4d72fcf 6183
a7b88dc6
MA
61842011-09-21 Michael Albinus <michael.albinus@gmx.de>
6185
6186 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6187 and process filter, as done also in `shell-command'.
6188
cf4eacfd
MR
61892011-09-21 Martin Rudalics <rudalics@gmx.at>
6190
eca3f3ea 6191 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6192 Call set-window-start with NOFORCE argument t.
6193 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6194 (quit-window): Reword doc-string. Handle new format of
6195 quit-restore parameter. Don't delete window if it has a
6196 previous buffer we can show instead of the present one.
6197 (display-buffer-record-window): Rewrite using a new format for
6198 the quit-restore window parameter
6199 (special-display-popup-frame, display-buffer-same-window)
6200 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6201 (display-buffer-pop-up-window, display-buffer-use-some-window):
6202 Adapt symbol passed to display-buffer-record-window.
6203 * help.el (help-window-setup): Handle new format of quit-restore
6204 parameter.
6205
8d28cb95
SM
62062011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6207
94ab793f
SM
6208 * faces.el (face-list): Fix docstring (bug#9564).
6209
8d28cb95
SM
6210 * window.el (display-buffer--action-function-custom-type):
6211 Don't include internal functions in the Custom interface.
6212
3820edeb
JL
62132011-09-20 Juri Linkov <juri@jurta.org>
6214
6215 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6216 (Info-forward-node, Info-backward-node, Info-next-preorder)
6217 (Info-last-preorder): Use it. (Bug#9528)
6218
5147931d
JL
62192011-09-20 Juri Linkov <juri@jurta.org>
6220
6221 * info.el (Info-last-preorder): Visit last menu item only when
6222 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6223
cf499a1a
JD
62242011-09-20 Julien Danjou <julien@danjou.info>
6225
6226 * password-cache.el (password-cache-remove): Remove entries even if the
6227 value is nil, so that password with a nil value (negative caching) is
6228 possible to invalidate.
6229
f84e2fe2
LM
62302011-09-20 Lawrence Mitchell <wence@gmx.li>
6231
6232 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6233 all whitespace around breakpoint. (Bug#9553)
6234 (f90-find-breakpoint): Only break at whitespace inside a comment.
6235
78054a46
SM
62362011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6237
6238 * minibuffer.el (completion-file-name-table): Keep track of errors.
6239 (completion-table-with-predicate): Handle the case where pred1 is nil.
6240 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6241
345083b2
SM
62422011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6243
e24e27be
SM
6244 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6245 (debugger-return-value): Signal an error if the debugging context does
6246 not await any return value.
6247
345083b2
SM
6248 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6249 * image-mode.el (image-toggle-display-text)
6250 (image-toggle-display-image): Stay away from evil `intangible'.
6251
08d355e3
LL
62522011-09-19 Leo Liu <sdl.web@gmail.com>
6253
6254 * replace.el (occur-revert-arguments): Make it permanent-local.
6255 (occur-mode): Don't call font-lock-defontify.
6256
f01da43f
CY
62572011-09-19 Chong Yidong <cyd@stupidchicken.com>
6258
6259 * net/ldap.el (ldap-search-internal): Don't push empty search
6260 result (Bug#9508).
6261
b6072fa6
SM
62622011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6265
443d6696
MA
62662011-09-19 Michael Albinus <michael.albinus@gmx.de>
6267
6268 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6269 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6270
7cc6e154
JL
62712011-09-18 Juri Linkov <juri@jurta.org>
6272
6273 * buff-menu.el (Buffer-menu-mode-map):
6274 * dired.el (dired-mode-map):
6275 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6276 (lisp-interaction-mode-map):
6277 * emacs-lisp/package.el (package-menu-mode-map):
6278 * epa.el (epa-key-list-mode-map):
6279 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6280 (menu-bar-options-menu):
6281 * outline.el (outline-mode-menu-bar-map):
6282 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6283 * vc/vc-dir.el (vc-dir-menu-map):
6284 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6285 Capitalize non-function content words in menu item strings.
6286
6287 * dired.el (dired-mode-map): Add menu item for
6288 `image-dired-dired-toggle-marked-thumbs'.
6289
80302a81
JL
62902011-09-18 Juri Linkov <juri@jurta.org>
6291
6292 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6293 to `isearch-case-fold-search' and restore its original value
6294 after the `isearch-mode' call.
6295
46c5cf66
JL
62962011-09-18 Juri Linkov <juri@jurta.org>
6297
6298 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6299 because `zgrep' returns 1 for successful matches (bug#9226).
6300
d18b513b
JL
63012011-09-18 Juri Linkov <juri@jurta.org>
6302
6303 * info.el (Info-extract-menu-node-name): Check the second match
6304 for empty string (second test-case of bug#9528).
6305 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6306 intermediate nodes to the history (first test-case of bug#9528).
6307
72753f87
JL
63082011-09-18 Juri Linkov <juri@jurta.org>
6309
6310 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6311 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6312
c9384295
JL
63132011-09-18 Juri Linkov <juri@jurta.org>
6314
1154d12e
JB
6315 * info.el (Info-file-supports-index-cookies):
6316 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6317 outputs one more line for long file names (bug#4142).
c9384295 6318
d473dce8
CY
63192011-09-18 Chong Yidong <cyd@stupidchicken.com>
6320
6321 * newcomment.el (comment-normalize-vars): If prompting for
6322 comment-start, set comment-start-skip too (Bug#8424).
6323
2176854d
JB
63242011-09-18 Johan Bockgård <bojohan@gnu.org>
6325
6326 * icomplete.el: Fix previous fix of Bug#5849.
6327 (icomplete-mode): Don't set completion-show-inline-help.
6328 (icomplete-minibuffer-setup): Set completion-show-inline-help
6329 locally during icompletion.
6330
3aace4e4
CY
63312011-09-18 Chong Yidong <cyd@stupidchicken.com>
6332
c940224f
CY
6333 * woman.el (woman2-process-escapes): Don't delete unrecognized
6334 escapes (Bug#7843).
6335
3aace4e4
CY
6336 * files.el (inhibit-first-line-modes-regexps): Add image files.
6337 (hack-local-variables-prop-line): Return nil for malformed
6338 prop-lines (Bug#9044).
6339
710dec63
MA
63402011-09-18 Michael Albinus <michael.albinus@gmx.de>
6341
6342 * net/tramp.el (top): Don't require 'shell.
6343 (tramp-methods): Fix docstring.
6344 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6345 Return complete remote file name. Handle "smb" case.
6346 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6347 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6348
6349 * net/tramp-compat.el (top): Require 'shell.
6350
6351 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6352 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6353 `tramp-current-host'.
6354 (tramp-get-remote-tmpdir): Remove.
6355
6356 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6357 `tramp-tmpdir' entries.
6358 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6359 (tramp-smb-handle-file-attributes): Ignore errors.
6360 (tramp-smb-wait-for-output): Check also for process end.
6361
5d5ac8ec
LMI
63622011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6363
6364 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6365 when sending QUIT (bug#9312).
6366
8c0f49f0
CY
63672011-09-17 Chong Yidong <cyd@stupidchicken.com>
6368
6369 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6370 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6371 occur-mode-display-occurrence.
6372 (occur-edit-mode): Add usage message.
6373 (occur-cease-edit): New command.
6374 (occur-after-change-function): Use text properties to find the
6375 position of the prefix text.
6376 (occur-engine): Set stickiness of prefix text properties.
6377
8f1383f7
GM
63782011-09-17 Glenn Morris <rgm@gnu.org>
6379
6380 * progmodes/etags.el (complete-tag):
6381 Fix call to completion-in-region. (Bug#9526)
6382
744ba0e3
JL
63832011-09-17 Juri Linkov <juri@jurta.org>
6384
6385 * textmodes/ispell.el (ispell-word): Add to the error message
6386 the word, ispell program name and current dictionary (bug#9121).
6387 (ispell-tex-arg-end): Capitalize "error" in the error message.
6388
d9bbf400
AS
63892011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6390
6391 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6392 check. (Bug#4251)
6393
8da11505
JL
63942011-09-17 Juri Linkov <juri@jurta.org>
6395
6396 * window.el (window-safe-min-height, window-safe-min-width):
6397 Fix typos (followup to bug#9522).
6398
a91adc7e
SJ
63992011-09-17 Sven Joachim <svenjoac@gmx.de>
6400
6401 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6402
064f328a
EZ
64032011-09-16 Eli Zaretskii <eliz@gnu.org>
6404
6405 * simple.el (line-move): If goal-column is set, move by logical
6406 lines, not by display lines. (Bug#971)
6407 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6408 to reflect the above change.
6409
e69df516
SM
64102011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6411
6412 * image.el (imagemagick-register-types): Use regexp-opt.
6413
cbb0f9ab
CY
64142011-09-15 Chong Yidong <cyd@stupidchicken.com>
6415
6416 * window.el (display-buffer-base-action): Rename from
6417 display-buffer-default-action. Make default value empty.
6418 (display-buffer-overriding-action): Convert to defvar.
6419 (display-buffer-fallback-action): New var.
6420
25322144
CY
64212011-09-15 Chong Yidong <cyd@stupidchicken.com>
6422
6423 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6424 declaration.
6425 (package--add-to-archive-contents): If there is a duplicate entry
6426 with an older version, remove it.
6427 (package-menu-mark-delete, package-menu-mark-install)
6428 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6429 (package-menu-mark-obsolete-for-deletion):
6430 Use package-menu-get-status instead of a regexp search.
25322144
CY
6431 (package-menu-get-status): Use tabulated-list-entry.
6432 (package-menu-mark-upgrades): New command.
d770725a 6433 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6434 (package-menu-execute): Do installation before deletion.
6435 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6436 instead of checking major-mode.
6437 (package-menu--find-upgrades): New function.
6438
7520339c
LMI
64392011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6440
6441 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6442 passwords in the log buffer.
65a046c4
LMI
6443 (smtpmail-process-filter): Update the process marker so that the
6444 "broken by peer" status message is inserted in the right place.
7520339c 6445
d3c30954
SM
64462011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6447
3fe48822
SM
6448 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6449 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6450 bibtex-completion-at-point-function.
6451 (bibtex-completion-at-point-function): Use them.
6452
1b8b3954
SM
6453 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6454
d3c30954
SM
6455 * mpc.el (mpc-constraints-tag-lookup): New function.
6456 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6457 also to browser "album|playlist".
6458
72779976
JL
64592011-09-14 Juri Linkov <juri@jurta.org>
6460
6461 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6462 (isearch-edit-string): Use length of `isearch-string' when
6463 `isearch-fail-pos' returns nil.
6464 (isearch-message): Remove duplicate code and call
6465 `isearch-fail-pos' with arg `t'.
6466
a0bf2bcd
CY
64672011-09-14 Chong Yidong <cyd@stupidchicken.com>
6468
17bb0a2d
CY
6469 * replace.el (occur-mode-goto-occurrence): Don't force using other
6470 window (Bug#9499).
6471
a0bf2bcd
CY
6472 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6473
f678e0b6
MR
64742011-09-14 Martin Rudalics <rudalics@gmx.at>
6475
6476 * window.el (display-buffer-window): Remove.
6477 (display-buffer-record-window): Use help-setup window parameter
6478 instead of variable display-buffer-window.
6479 (display-buffer-function, special-display-buffer-names)
6480 (special-display-function): Mention help-setup parameter instead
6481 of display-buffer-window in doc-string.
d3c30954
SM
6482 * help.el (help-window-setup): New argument help-window.
6483 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6484 Reword some messages.
6485 (with-help-window): Pass window used for displaying the buffer
6486 to help-window-setup. Don't set display-buffer-window.
6487
8e39b2e8
GM
64882011-09-13 Glenn Morris <rgm@gnu.org>
6489
6490 * emacs-lisp/debug.el (debugger-make-xrefs):
6491 Preserve point. (Bug#9462)
6492
85e9c04b
CY
64932011-09-13 Chong Yidong <cyd@stupidchicken.com>
6494
6495 * window.el (window-deletable-p): Use next-frame.
6496
1b36ed6a
MR
64972011-09-13 Martin Rudalics <rudalics@gmx.at>
6498
6499 * window.el (window-auto-delete): Remove.
6500 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6501 dedication and previous buffers.
1b36ed6a
MR
6502 (switch-to-prev-buffer): Don't delete window.
6503 (delete-windows-on): Delete a window's frame if and only if the
6504 window is dedicated.
6505 (replace-buffer-in-windows): Delete buffer's window or frame if
6506 and only if window is dedicated.
6507 (quit-window): Handle quit-restore as before last change.
4d61f28d 6508 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6509
ef8ef9fb
CY
65102011-09-13 Chong Yidong <cyd@stupidchicken.com>
6511
6512 * window.el (window-deletable-p): Never delete the last frame on a
6513 given terminal.
6514
b2cba41e
GM
65152011-09-13 Glenn Morris <rgm@gnu.org>
6516
6517 * help.el (describe-key-briefly): Copy previous standard-output change.
6518
51553db6 65192011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6520
6521 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6522
b7556719
GM
65232011-09-13 Glenn Morris <rgm@gnu.org>
6524
6525 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6526 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6527
64b51947
CY
65282011-09-12 Chong Yidong <cyd@stupidchicken.com>
6529
6530 * dired-aux.el (dired-mark-read-string): Don't return default
6531 value on empty input (Bug#9361).
6532 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6533 Omit initial minibuffer contents.
6534 (dired-do-chmod): Signal an error on empty input.
6535 (dired-mark-read-string): Don't return default on empty input.
6536
6537 * files.el (file-modes-symbolic-to-number): Doc fix.
6538
393a301e
SM
65392011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * international/mule-cmds.el (ucs-completions): Remove.
6542 (read-char-by-name): Use complete-with-action instead; add metadata.
6543
fa5660f9
CY
65442011-09-11 Chong Yidong <cyd@stupidchicken.com>
6545
6546 * window.el (display-buffer--action-function-custom-type)
6547 (display-buffer--action-custom-type): New vars.
6548 (display-buffer-alist, display-buffer-default-action)
6549 (display-buffer-overriding-action): Add defcustom types.
6550
4a592f66
CY
6551 * frame.el (delete-other-frames): Doc fix (Bug#276).
6552
73d56dbd
LMI
65532011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6554
6555 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6556
37ac18a3
CY
65572011-09-11 Chong Yidong <cyd@stupidchicken.com>
6558
6559 Change modes that used same-window-* vars to use switch-to-buffer.
6560
6561 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6562 Use switch-to-buffer.
6563
6564 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6565 (customize-browse, custom-buffer-create-other-window):
6566 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6567
6568 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6569 (Info-prev, Info-up, Info-speedbar-goto-node)
6570 (info-display-manual): Use switch-to-buffer.
6571 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6572
6573 * mail/sendmail.el (mail): Use switch-to-buffer.
6574 (mail-recover): Use switch-to-buffer-other-window.
6575
6576 * cmuscheme.el (run-scheme, switch-to-scheme):
6577 * ielm.el (ielm):
6578 * shell.el (shell):
6579 * net/rlogin.el (rlogin):
6580 * net/telnet.el (telnet, rsh):
6581 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6582
10195bd6
AS
65832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6584
6585 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6586
b322f63a
LMI
65872011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6588
39d7fed6
LMI
6589 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6590 so don't mention it (bug#9301).
ba5a81f1 6591 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6592
ee0e9f11
LMI
6593 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6594 match `x', `w32' and `ns', like the manual says (bug#9029).
6595
0b1c89c1 6596 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6597 (process-kill-buffer-query-function): Mention the buffer name in
6598 the query.
0b1c89c1 6599
77549ea8
LMI
6600 * image-mode.el (image-next-line): The line parameter is mandatory
6601 (bug#9258).
6602
803ef892
LMI
6603 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6604 which can be useful (bug#9301).
6605
12980837
LMI
6606 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6607
91054f8f
LMI
6608 * subr.el (match-string): Mention that the current buffer should
6609 be the same as the search was done in (bug#9282).
6610
b322f63a
LMI
6611 * facemenu.el: Disable the remove-* commands if the mark isn't
6612 active (bug#9162).
6613
3199b96f
CY
66142011-09-10 Chong Yidong <cyd@stupidchicken.com>
6615
6616 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6617 of display-buffer.
6618 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6619
6620 * replace.el (occur-mode-goto-occurrence)
6621 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6622 and display-buffer.
6623
6624 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6625 display-buffer.
6626
6627 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6628 special-display and same-window variables.
6629 (mail-other-window): Use switch-to-buffer-other-window.
6630 (mail-other-frame): USe switch-to-buffer-other-frame.
6631
393a301e
SM
6632 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6633 Use display-buffer-other-frame.
3199b96f
CY
6634 (gdb-display-gdb-buffer): Use pop-to-buffer.
6635
6636 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6637
6638 * progmodes/python.el: Don't set same-window-buffer-names.
6639
6640 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6641
6642 * window.el (display-buffer-alist): Add *Python*.
6643
8319e0bf
CY
66442011-09-10 Chong Yidong <cyd@stupidchicken.com>
6645
6646 * window.el (display-buffer-alist): Add entry for buffers
6647 previously handled same-window-*.
6648 (display-buffer-alist, display-buffer-default-action)
6649 (display-buffer-overriding-action): Mark as risky.
6650 (display-buffer-alist): Document action function changes.
6651 (display-buffer--same-window-action)
6652 (display-buffer--other-frame-action): New variables.
6653 (switch-to-buffer, display-buffer-other-frame): Use them.
6654 (display-buffer): Rename reuse-frame entry to reusable-frames.
6655 (display-buffer-reuse-selected-window): Function deleted.
6656 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6657 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6658 (display-buffer-special): New function.
6659 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6660 display-buffer-reuse-or-pop-window. Split off special-display
6661 part into display-buffer-special.
6662 (display-buffer-use-some-window): Don't perform any special
6663 pop-up-frames handling.
6664 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6665 (display-buffer--maybe-same-window): Rename from
0d3ff375 6666 display-buffer-maybe-same-window.
8319e0bf 6667
919a69aa
CY
6668 * info.el: Don't set same-window-regexps.
6669 (info-setup): New function.
6670 (info-other-window, info): Call it.
6671
6672 * cus-edit.el: Don't set same-window-regexps.
6673 (customize-group): New argument.
6674 (customize-group-other-window): Use it.
6675 (customize-face, customize-face-other-window): Likewise.
6676 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6677
8319e0bf
CY
6678 * net/rlogin.el:
6679 * net/telnet.el:
6680 * progmodes/gud.el: Don't set same-window-regexps.
6681
6682 * cmuscheme.el:
6683 * ielm.el:
6684 * shell.el:
6685 * mail/sendmail.el:
6686 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6687
25173000
JL
66882011-09-10 Juri Linkov <juri@jurta.org>
6689
6690 * isearch.el (isearch-edit-string): Remove obsolete mention of
6691 `C-w' (`isearch-yank-word-or-char') from docstring.
6692 (isearch-query-replace): Fix typo in docstring (bug#9466).
6693
056e44ef
JL
66942011-09-10 Juri Linkov <juri@jurta.org>
6695
6696 * paren.el (show-paren-function): Don't show escaped parens.
6697 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6698
c3760c17
EZ
66992011-09-10 Eli Zaretskii <eliz@gnu.org>
6700
6701 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6702 (mm-default-file-encoding): Remove autoload forms, they are
6703 replaced with autoload cookies in mml.el and mm-encode.el.
6704 (mail-add-attachment): New command.
6705 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6706 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6707 the doc string.
6708 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6709
fece895e
RT
67102011-09-10 Reuben Thomas <rrt@sc3d.org>
6711
e69df516
SM
6712 * simple.el (count-words-region): Use buffer if there's no region
6713 (bug#9429).
fece895e 6714
5e68ce4a
JL
67152011-09-09 Juri Linkov <juri@jurta.org>
6716
6717 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6718 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6719 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6720
0a6b9622
AM
67212011-09-09 Alan Mackenzie <acm@muc.de>
6722
6723 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6724 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6725
14a29deb
EZ
67262011-09-09 Eli Zaretskii <eliz@gnu.org>
6727
6728 Fix for Savannah bug#9392.
6729 * simple.el (mail-encode-mml): New defvar.
6730
6731 * mail/rmail.el (mail-encode-mml): Add a defvar.
6732 (rmail-enable-mime-composing): Default to t.
6733 (rmail-forward): Use MIME method of forwarding only if both
6734 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6735 Set mail-encode-mml non-nil if the MIME method was used.
6736
6737 * mail/sendmail.el (mml-to-mime): Add autoload form.
6738 (mail-encode-mml): Add a defvar.
6739 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6740 to nil.
6741 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6742 message through mml-to-mime, and reset mail-encode-mml to nil.
6743
28c45130
GM
67442011-09-09 Glenn Morris <rgm@gnu.org>
6745
6746 * woman.el (woman-if-body): When processing an .el block,
6747 do not delete the next .el block as well. (Bug#9447)
69f4b618 6748 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6749
9b1c252e
MR
67502011-09-08 Martin Rudalics <rudalics@gmx.at>
6751
6752 * window.el (window-deletable-p): Make sure window is live before
6753 invoking window-prev-buffers.
6754
567457e3
LL
67552011-09-08 Leo Liu <sdl.web@gmail.com>
6756
6757 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6758
97f05794
JL
67592011-09-08 Juri Linkov <juri@jurta.org>
6760
6761 * progmodes/compile.el (compilation-environment): Make it
6762 a defcustom (bug#8340).
6763
8b0874b5
MR
67642011-09-08 Martin Rudalics <rudalics@gmx.at>
6765
6766 * window.el (frame-auto-delete): Rename to window-auto-delete.
6767 Make it control auto-deletion of windows and/or frames.
6768 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6769 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6770 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6771 Rewrite handling of case when window/frame can be deleted.
6772 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6773 argument t. (Bug#9456)
8b0874b5 6774
4feb6e73
CY
67752011-09-07 Chong Yidong <cyd@stupidchicken.com>
6776
6777 * help-mode.el (help-mode): Restore autoload.
6778
91ab9c13
JL
67792011-09-07 Juri Linkov <juri@jurta.org>
6780
6781 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6782 `compilation-environment'. Set buffer-local
6783 `compilation-environment' to `thisenv' later after (funcall mode).
6784 (Bug#8340)
6785
6786 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6787 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6788 instead of replacing its value. (Bug#8340)
6789
0527e251
JL
67902011-09-07 Juri Linkov <juri@jurta.org>
6791
6792 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6793 based on text properties put by `grep-filter' instead of matching
6794 escape sequences.
6795 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6796 to the value of `grep-error-screen-columns' (bug#9438).
6797
249f792c
JL
67982011-09-07 Juri Linkov <juri@jurta.org>
6799
6800 * simple.el (next-error-highlight, next-error-highlight-no-select):
6801 Doc fix (bug#9432).
6802
ff7271b9
OT
68032011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6804
6805 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6806 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6807
183fc730
LL
68082011-09-07 Leo Liu <sdl.web@gmail.com>
6809
6810 * net/rcirc.el (rcirc-mode): Conditionally initialize
6811 rcirc-input-ring.
6812
77694924
SM
68132011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6814
6815 * emacs-lisp/find-func.el (find-function-C-source): Only set
6816 find-function-C-source-directory after checking that we found a source
6817 file there (bug#9440).
6818
d809b8eb
AM
68192011-09-06 Alan Mackenzie <acm@muc.de>
6820
6821 * isearch.el (isearch-other-meta-char): Wherever a key list is
6822 unread, "unread" the prefix arg, too. This fixes bug #8901.
6823
453de99f
OG
68242011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6825
6826 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6827
90439906
JL
68282011-09-05 Juri Linkov <juri@jurta.org>
6829
6830 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6831
f62bd846
JL
68322011-09-05 Juri Linkov <juri@jurta.org>
6833
6834 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6835 keeping point where processing of grep matches begins, and
6836 continue to delete remaining escape sequences from the same point.
6837 (grep-filter): Make leading zero optional in "0?1;31m" because
6838 git-grep emits "\033[1;31m" escape sequences unlike expected
6839 "\033[01;31m" as GNU Grep does (bug#9408).
6840 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6841
045820ec
JL
68422011-09-05 Juri Linkov <juri@jurta.org>
6843
6844 * subr.el (y-or-n-p): Capitalize "yes".
6845
f5e29b9b
MA
68462011-09-04 Michael Albinus <michael.albinus@gmx.de>
6847
6848 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6849 `tramp-cache-unload-hook' where appropriate.
6850 (tramp-methods): Rename `tramp-remote-sh' to
6851 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6852 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6853
6854 * net/tramp-sh.el (top): Don't require 'shell.
6855 (tramp-methods): Add `tramp-remote-shell' and
6856 `tramp-remote-shell-args' entries.
6857 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6858 (tramp-sh-handle-shell-command): Remove.
6859 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6860 Use `tramp-remote-shell'.
6861
2784c434
CY
68622011-09-03 Chong Yidong <cyd@stupidchicken.com>
6863
393a301e 6864 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6865 (sendmail-query-once): Save directly to send-mail-function.
6866 Update message-send-mail-function too.
6867
6868 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6869
464cdf56
CS
68702011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6871
6872 * progmodes/python.el (python-mode-map): Use correct function to
6873 start python interpreter from menu-bar (as reported by Geert
6874 Kloosterman).
6875 (inferior-python-mode-map): Fix typo.
393a301e 6876 (python-shell-map): Remove.
464cdf56 6877
d37e5c87
DD
68782011-09-03 Deniz Dogan <deniz@dogan.se>
6879
6880 * net/rcirc.el (rcirc-print): Simplify code for
6881 rcirc-scroll-show-maximum-output. There is no need to walk
6882 through all windows to find the right one.
6883
f3ada0ee
CS
68842011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6885
6886 * help.el (help-return-method): Doc fix.
6887
1f3c99ca
MR
68882011-09-03 Martin Rudalics <rudalics@gmx.at>
6889
6890 * window.el (window-deletable-p): Don't return a non-nil value
6891 when there's a buffer that was shown in the window before.
6892 (Bug#9419)
393a301e
SM
6893 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6894 Set window's previous buffers to nil.
1f3c99ca 6895
a3cf097f
EZ
68962011-09-03 Eli Zaretskii <eliz@gnu.org>
6897
6898 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6899 newline before and after the tag line, so it doesn't interfere
6900 with determining the paragraph direction of bidirectional text.
6901
3d03de90
LL
69022011-09-03 Leo Liu <sdl.web@gmail.com>
6903
6904 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6905
c3313451
CY
69062011-09-02 Chong Yidong <cyd@stupidchicken.com>
6907
393a301e 6908 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6909 (pop-to-buffer): Change interactive spec. Pass second argument
6910 directly to display-buffer.
6911 (display-buffer): Fix interactive spec. Use functionp to
6912 distinguish between a function and a list of functions.
6913
6914 * abbrev.el (edit-abbrevs):
6915 * arc-mode.el (archive-extract):
6916 * autoinsert.el (auto-insert):
6917 * bookmark.el (bookmark-bmenu-list):
6918 * files.el (find-file):
6919 * view.el (view-buffer):
6920 * progmodes/compile.el (compilation-goto-locus):
6921 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6922
89894cd8
CY
69232011-09-02 Chong Yidong <cyd@stupidchicken.com>
6924
6925 * window.el (display-buffer-alist): Doc fix.
6926 (display-buffer): Add docstring. Don't treat
6927 display-buffer-default specially.
6928 (display-buffer-reuse-selected-window)
6929 (display-buffer-same-window, display-buffer-maybe-same-window)
6930 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6931 (display-buffer-pop-up-window)
6932 (display-buffer-reuse-or-pop-window)
6933 (display-buffer-use-some-window): New functions.
6934 (display-buffer-default-action): Use them.
393a301e 6935 (display-buffer-default): Delete.
89894cd8
CY
6936 (pop-to-buffer-1): Fix choice of actions.
6937
ae0bc9fb
SM
69382011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * minibuffer.el (completion--insert-strings): Don't get confused by
6941 completion entries that end with an LF char.
6942
e9d90883
EZ
69432011-09-01 Eli Zaretskii <eliz@gnu.org>
6944
6945 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6946
437014c8
CY
69472011-09-01 Chong Yidong <cyd@stupidchicken.com>
6948
6949 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6950 (display-buffer-same-window, display-buffer-other-window):
6951 New functions.
437014c8
CY
6952 (pop-to-buffer-1): New function. Use the above.
6953 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6954 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6955
6956 * view.el (view-buffer-other-window, view-buffer-other-frame):
6957 Just use pop-to-buffer.
6958
a5e063d5
TV
69592011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6960
6961 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6962
793d32bb
WH
69632011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6964
6965 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6966
d65e4c15
RS
69672011-08-31 Richard Stallman <rms@gnu.org>
6968
6969 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6970 of the separation of rmail-view-buffer from rmail-buffer.
6971 If you say no to "replace original", the decrypt is in the
6972 view buffer. If you say yes, the decrypt goes into the
6973 rmail buffer also.
6974
f818cd2a
MR
69752011-08-31 Martin Rudalics <rudalics@gmx.at>
6976
6977 * window.el (display-buffer-window): Rewrite doc-string.
6978 (display-buffer-record-window): New function.
6979 (display-buffer-macro-specifiers)
6980 (display-buffer-even-window-sizes, display-buffer-set-height)
6981 (display-buffer-set-width, display-buffer-in-window)
6982 (display-buffer-reuse-window, display-buffer-split-specifiers)
6983 (display-buffer-side-specifiers, display-buffer-split-window-1)
6984 (display-buffer-split-window, display-buffer-split-atom-window)
6985 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6986 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6987 (display-buffer-other-window-means-other-frame)
6988 (display-buffer-normalize-special)
6989 (display-buffer-normalize-default)
6990 (display-buffer-normalize-argument)
6991 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6992 (display-buffer-normalize-specifiers, display-buffer-frame)
6993 (display-buffer-same-window, display-buffer-same-frame)
6994 (display-buffer-other-window)
6995 (display-buffer-same-frame-other-window)
6996 (display-buffer-other-frame, pop-to-buffer-same-window)
6997 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6998 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6999 (switch-to-buffer-same-frame)
7000 (switch-to-buffer-other-window-same-frame)
7001 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7002 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7003 (display-buffer-alist-set): Remove.
7004 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7005 (special-display-regexps, special-display-function):
7006 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7007 parameter.
7008 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7009 (special-display-frame-alist, special-display-popup-frame)
7010 (same-window-buffer-names, same-window-regexps, same-window-p)
7011 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7012 (split-window-preferred-function, split-height-threshold)
7013 (split-width-threshold, window-splittable-p)
7014 (split-window-sensibly, window--try-to-split-window)
7015 (window--frame-usable-p, even-window-heights)
7016 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7017 (window--display-buffer-2, display-buffer-other-frame):
7018 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7019 (display-buffer-default, display-buffer-assq-regexp): New functions.
7020 (display-buffer-alist): Rewrite doc-string.
7021 (display-buffer-default-action)
7022 (display-buffer-overriding-action): New variables.
7023 (display-buffer, switch-to-buffer): Rewrite.
7024 (pop-to-buffer): Restore Emacs 23 behavior but use
7025 window-normalize-buffer-to-display.
7026 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7027 Restore Emacs 23 behavior but use
7028 window-normalize-buffer-to-switch-to.
7029 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7030 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7031 Rewrite using Emacs 23 options.
f818cd2a 7032
5bc3b51d
MA
70332011-08-31 Michael Albinus <michael.albinus@gmx.de>
7034
7035 * net/tramp.el (tramp-root-regexp): Remove.
7036 (tramp-completion-file-name-regexp-unified)
7037 (tramp-completion-file-name-regexp-separate)
7038 (tramp-completion-file-name-regexp-url): Don't use leading volume
7039 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7040 (tramp-drop-volume-letter): Simplify definition.
7041 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7042
b1a4f8e1
SM
70432011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7046 (bug#9356).
7047
5664fa7b
RT
70482011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7049
b1a4f8e1 7050 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7051
9a45d6c3
JL
70522011-08-29 Juri Linkov <juri@jurta.org>
7053
7054 * isearch.el (isearch-done): Don't display message "Mark saved"
7055 when arg `edit' is non-nil to prevent its flicker in the echo area.
7056
fb87e0fb
CY
70572011-08-28 Chong Yidong <cyd@stupidchicken.com>
7058
7059 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7060 obsolete packages for deletion.
7061
09ac1c2a
CS
70622011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7063
7064 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7065 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7066 view-mode from help-mode.
7067 (help-xref-override-view-map): Remove.
7068 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7069 view-mode is not used anymore.
7070
7a1ff57f
CY
70712011-08-28 Chong Yidong <cyd@stupidchicken.com>
7072
7073 * server.el (server-port): Doc fix.
7074
b9696605
CY
7075 * cus-theme.el (custom-theme-choose-mode): Inherit from
7076 special-mode (Bug#9124).
7077 (custom-theme-choose-mode-map): Add special-mode to parent.
7078
ef8cdf8c
AM
70792011-08-28 Alan Mackenzie <acm@muc.de>
7080
7081 * progmodes/cc-fonts.el
7082 (c-make-font-lock-BO-decl-search-function): New function.
7083 (c-basic-matchers-after - "Fontify the clauses after various
7084 keywords"): Extract the three keyword lists for the 3 erroneous
7085 constructs from the list of four, and use the new function above
7086 in place of an old one.
7087
27de4e20
DD
70882011-08-28 Deniz Dogan <deniz@dogan.se>
7089
7090 * net/rcirc.el (rcirc-insert-prev-input)
7091 (rcirc-insert-next-input): Remove unused argument.
7092
356a3681
SM
70932011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7094
7095 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7096
3fc9b218
AM
70972011-08-27 Alan Mackenzie <acm@muc.de>
7098
7099 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7100 handle function pointer parameters properly.
7101
538a061c
MR
71022011-08-27 Martin Rudalics <rudalics@gmx.at>
7103
7104 * window.el (display-buffer-reuse-window): Fix case where
7105 selected window was reused with non-nil OTHER-WINDOW argument.
7106 (Bug#9381)
7107
35b1c40c
DD
71082011-08-27 Deniz Dogan <deniz@dogan.se>
7109
7110 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7111 oftc's NickServ messages.
7112
2f6a3e79
GM
71132011-08-27 Glenn Morris <rgm@gnu.org>
7114
7115 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7116
7254299e
CY
71172011-08-26 Chong Yidong <cyd@stupidchicken.com>
7118
7119 * emacs-lisp/package.el (package-install): Call package-initialize
7120 if called interactively.
7121
f8ccf167
LL
71222011-08-26 Leo Liu <sdl.web@gmail.com>
7123
7124 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7125
3e8cd5ce
JL
71262011-08-25 Juri Linkov <juri@jurta.org>
7127
7128 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7129 `search-whitespace-regexp' (bug#9364).
7130
93eb7113
JL
71312011-08-25 Juri Linkov <juri@jurta.org>
7132
7133 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7134 `regexp-search-ring' to their global values to protect from
7135 updating by `read-from-minibuffer' (bug#9185).
7136
f65d1611
JL
71372011-08-25 Juri Linkov <juri@jurta.org>
7138
7139 * textmodes/ispell.el (ispell-command-loop): Add newline
7140 at the end of the "Use option `i'..." line.
7141
f1cf7a31
JL
71422011-08-25 Juri Linkov <juri@jurta.org>
7143
7144 * battery.el (display-battery-mode): If `battery-status-function'
7145 or `battery-mode-line-format' is nil, display the message and set
7146 `display-battery-mode' to nil (bug#9363).
7147
0c95fcf7
EZ
71482011-08-25 Eli Zaretskii <eliz@gnu.org>
7149
7150 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7151 bidi-string-mark-left-to-right; they are unnecessary now.
7152
a2ebe600
DD
71532011-08-25 Deniz Dogan <deniz@dogan.se>
7154
7155 * net/quickurl.el: Documentation typo fixes.
7156
e4ed06f1
CY
71572011-08-25 Chong Yidong <cyd@stupidchicken.com>
7158
7159 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7160
e5f1c99e
GM
71612011-08-25 Glenn Morris <rgm@gnu.org>
7162
b2948976
GM
7163 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7164
e5f1c99e
GM
7165 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7166 (smtpmail-via-smtp): Handle nil response from smtp.
7167
f22f4808
JL
71682011-08-24 Juri Linkov <juri@jurta.org>
7169
7170 * proced.el (proced-marked): Inherit from `error' instead of
7171 `font-lock-warning-face'.
7172
7173 * ibuffer.el (ibuffer-marked-face): Change default face from
7174 `font-lock-warning-face' to `warning'.
7175 (ibuffer-deletion-face): Change default face from
7176 `font-lock-type-face' to `error'.
7177
7178 * battery.el (battery-update): Use the face `error' instead of
7179 `font-lock-warning-face' (bug#6117).
7180
6a93965e
JL
71812011-08-24 Juri Linkov <juri@jurta.org>
7182
7183 * faces.el (success): Change face color from "Green3" to
7184 "ForestGreen" on light background (bug#9353).
7185
1ed43b09
CY
71862011-08-24 Chong Yidong <cyd@stupidchicken.com>
7187
5664fa7b
RT
7188 * window.el (quit-window): Rename from quit-restore-window.
7189 Use same arglist as old quit-window.
1ed43b09
CY
7190 (frame-auto-delete): Doc fix.
7191
7192 * view.el (view-mode-exit): Use quit-window.
7193
11dcdbb2
JL
71942011-08-24 Juri Linkov <juri@jurta.org>
7195
7196 * isearch.el (isearch-ring-adjust1): Start visiting previous
7197 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7198 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7199 for empty search string (when the last search string is reused
7200 automatically) to adjust the isearch ring to the last element and
7201 prepare the correct index for further M-p commands (bug#9185).
7202
de62b4df
KH
72032011-08-24 Kenichi Handa <handa@m17n.org>
7204
7205 * international/ucs-normalize.el: If decomposition property of
7206 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7207 nil.
7208 (nfd, nfkd): Likewise.
7209
963b492b
SM
72102011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7211
7212 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7213 from process filters aren't reliably transmitted to the surrounding
7214 accept-process-output.
7215 (mpc-proc-check): New function.
7216 (mpc-proc-sync): Use it (bug#8293)
7217
93b6b5e1
SM
72182011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7221 Add compatibility functions (bug#9313).
7222
bca633fb
EZ
72232011-08-23 Eli Zaretskii <eliz@gnu.org>
7224
b177498a
EZ
7225 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7226
6df6ae42 7227 * international/uni-bidi.el: Regenerate.
bca633fb 7228
0902a04e
KH
72292011-08-23 Kenichi Handa <handa@m17n.org>
7230
7231 * international/charprop.el:
7232 * international/uni-bidi.el:
7233 * international/uni-category.el:
7234 * international/uni-combining.el:
7235 * international/uni-comment.el:
7236 * international/uni-decimal.el:
7237 * international/uni-decomposition.el:
7238 * international/uni-digit.el:
7239 * international/uni-lowercase.el:
7240 * international/uni-mirrored.el:
7241 * international/uni-name.el:
7242 * international/uni-numeric.el:
7243 * international/uni-old-name.el:
7244 * international/uni-titlecase.el:
7245 * international/uni-uppercase.el: Regenerate.
7246
3bbf23bc
MR
72472011-08-23 Martin Rudalics <rudalics@gmx.at>
7248
7249 * help.el (help-window-setup): Fix message displayed when other
7250 window is reused. (Bug#9341)
7251
b3fd59bd
SM
72522011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7253
1802e444
SM
7254 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7255 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7256
b3fd59bd
SM
7257 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7258 Mark obsolete.
7259 * shell.el (shell-parse-pcomplete-arguments): New function.
7260 (shell-completion-vars): Use it instead (bug#9160).
7261
4eb61348
SM
72622011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7263
867cab74
SM
7264 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7265 strings and comments (bug#9333).
7266
4eb61348
SM
7267 * emacs-lisp/debug.el (debug-arglist): New function.
7268 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7269 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7270
262a1439
JL
72712011-08-22 Juri Linkov <juri@jurta.org>
7272
56ee679c
JL
7273 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7274 Revert regexp that highlights output switches to its old
7275 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7276
262a1439
JL
7277 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7278 to check for empty output (bug#9226).
7279
f13f86fb
CY
72802011-08-22 Chong Yidong <cyd@stupidchicken.com>
7281
7282 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7283 symbol-constituent as the default, as that stops font-lock from
7284 working properly (Bug#8843).
7285
c65c9622
LMI
72862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7287
7288 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7289 `coding-system-for-*' around the process open call to avoid
7290 auth-source side effects.
e7f2c178 7291 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7292 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7293 probe hangs.
c65c9622 7294
23a8a5ab
CY
72952011-08-21 Chong Yidong <cyd@stupidchicken.com>
7296
ff98b2dd
CY
7297 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7298
23a8a5ab
CY
7299 * emacs-lisp/find-func.el (find-function-noselect): New arg
7300 lisp-only.
7301
7302 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7303 signal an error for built-in functions (Bug#6664).
7304
f5e3c598
LMI
73052011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7306
7307 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7308 (smtpmail-try-auth-methods): Use it.
7309
a3f2468a
CY
73102011-08-21 Chong Yidong <cyd@stupidchicken.com>
7311
2c34e8da
CY
7312 * font-lock.el (font-lock-fontify-region)
7313 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7314 (font-lock-default-unfontify-buffer)
7315 (font-lock-default-fontify-region)
7316 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7317
b3fd59bd
SM
7318 * progmodes/compile.el (compilation-error-properties):
7319 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7320 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7321 `ant' regexp.
ee31aabc 7322
a3f2468a
CY
7323 * net/browse-url.el (browse-url-firefox): Don't call
7324 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7325
8e999f70
GM
73262011-08-20 Glenn Morris <rgm@gnu.org>
7327
c21a496a
GM
7328 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7329
59ee0542
GM
7330 * tutorial.el (tutorial--default-keys): Update some default bindings.
7331
8e999f70
GM
7332 * files.el (hack-local-variables): Fully ignore case for "mode:".
7333
e3715033
AM
73342011-08-20 Alan Mackenzie <acm@muc.de>
7335
7336 Resolve invalid use of a regexp in regexp-opt.
7337
4d61f28d
JB
7338 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7339 detection for a java annotation.
e3715033 7340
4d61f28d 7341 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7342 detection for a java annotation.
7343
4d61f28d
JB
7344 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7345 handling for java.
e3715033
AM
7346 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7347
04ed2e9c
CY
73482011-08-20 Chong Yidong <cyd@stupidchicken.com>
7349
7350 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7351 (Bug#9274).
7352
826cee64
AM
73532011-08-20 Alan Mackenzie <acm@muc.de>
7354
58179cce 7355 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7356 such a construct. Mainly for when jit-lock etc. starts a chunk
7357 here.
7358
58179cce 7359 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7360 variable.
58179cce 7361 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7362 c-make-font-lock-search-function.
7363 (c-make-font-lock-search-function): Use the above function.
7364 (c-make-font-lock-context-search-function): New function.
7365 (c-cpp-matchers): Enhance the preprocessor expression case with
7366 the above function
7367 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7368 which takes an expression.
7369
7370 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7371
13009bd8
MR
73722011-08-20 Martin Rudalics <rudalics@gmx.at>
7373
7374 * window.el (display-buffer-reuse-window)
7375 (display-buffer-pop-up-window): Don't reuse or split a side
7376 window.
7377
9234ff7f
GM
73782011-08-19 Glenn Morris <rgm@gnu.org>
7379
7380 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7381 Downcase "Mode:". (Bug#9331)
9234ff7f 7382
f635daa1
CY
73832011-08-18 Chong Yidong <cyd@stupidchicken.com>
7384
7385 * international/characters.el: Add L and R categories.
7386
7387 * subr.el (bidi-string-mark-left-to-right): Rename from
7388 string-mark-left-to-right. Use category search.
7389
7390 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7391
bc987f8b
JL
73922011-08-18 Juri Linkov <juri@jurta.org>
7393
7394 * faces.el (error, warning, success): New faces with definitions
7395 copied from old default values of `font-lock-warning-face',
7396 `compilation-warning', `compilation-info' (bug#6117).
7397
7398 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7399
7400 * progmodes/compile.el (compilation-error): Inherit from `error'.
7401 (compilation-warning): Inherit from `warning'.
7402 (compilation-info): Inherit from `success'.
7403
7404 * dired.el (dired-marked): Inherit from `warning'.
7405 (dired-flagged): Inherit from `error'.
7406
57173b96
LMI
74072011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7408
3e79eb87
LMI
7409 * mail/smtpmail.el (auth-source): Require to avoid problems with
7410 binding variables (bug#9298). Also clean up some unused
7411 autoloads.
7412
b3fd59bd
SM
7413 * net/network-stream.el (network-stream-open-starttls):
7414 Support using starttls.el without using gnutls-cli.
57173b96 7415
02b404de
JL
74162011-08-17 Juri Linkov <juri@jurta.org>
7417
7418 * progmodes/grep.el (rgrep): Handle the case when
7419 `grep-find-command' is a cons cell (bug#9278).
7420
8c9177f2
MR
74212011-08-17 Martin Rudalics <rudalics@gmx.at>
7422
7423 * window.el (display-buffer-pop-up-frame): Run frame creation
7424 function with BUFFER current (as special-display-popup-frame
7425 does). Reported by Drew Adams.
7426
3644a0ab
DU
74272011-08-17 Daiki Ueno <ueno@unixuser.org>
7428
7429 * epa-mail.el: Simplify GnuPG group expansion using
7430 epg-expand-group.
7431 (epa-mail-group-alist, epa-mail-group-modtime)
7432 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7433 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7434 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7435 Remove.
7436
5e617bc2 74372011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7438
7439 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7440
9c4aeabf
AM
74412011-08-16 Alan Mackenzie <acm@muc.de>
7442
7443 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7444 Correct, to avoid the inside of macros.
7445
3a99bf64
RS
74462011-08-16 Richard Stallman <rms@gnu.org>
7447
04963aa8
RS
7448 * epa-mail.el: Handle GnuPG group definitions.
7449 (epa-mail-group-alist, epa-mail-group-modtime)
7450 (epa-mail-gnupg-conf-file): New variables.
7451 (epa-mail-parse-groups, epa-mail-sync-groups)
7452 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7453 (epa-mail-expand-recipients): New functions.
7454 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7455
177549d0
RS
7456 * mail/rmail.el (rmail-epa-decrypt): New command.
7457
fe38beef
RS
7458 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7459 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7460 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7461 (epa-decrypt-armor-in-region): Make error message clearer.
7462
934eacb9
SM
74632011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7466 and "a2b" to "ab" for `prefix'.
7467
d024fb4e
CY
74682011-08-14 Chong Yidong <cyd@stupidchicken.com>
7469
7470 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7471 filter groups.
de148fee
CY
7472 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7473 Fourquet (Bug#8804).
d024fb4e 7474
62f1ca49
JB
74752011-08-12 Juanma Barranquero <lekktu@gmail.com>
7476
7477 * startup.el (argi): Declare as global variable (bug#9275).
7478
9ccaaa4b
CY
74792011-08-12 Chong Yidong <cyd@stupidchicken.com>
7480
7481 * subr.el (string-mark-left-to-right): Search the entire string
7482 for RTL script, not just the terminating character. Doc fix.
7483
a3dae87a
SM
74842011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7485
6cd18349
SM
7486 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7487 New function.
7488 (js--regexp-literal, js-syntax-propertize-function): Remove.
7489 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7490 (js-mode-map): Don't rebind electric keys.
7491 (js-insert-and-indent): Remove.
7492 (js-mode): Setup electric-layout and electric-indent instead.
7493
a3dae87a
SM
7494 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7495
9d5cb631
DU
74962011-08-12 Daiki Ueno <ueno@unixuser.org>
7497
7498 * epa.el (epa-progress-callback-function): Fix the logic of
7499 displaying progress.
7500 * epa-file.el (epa-file-insert-file-contents): Make progress
7501 display more user-friendly.
7502 (epa-file-write-region): Ditto.
7503
3e26a4a2
CY
75042011-08-10 Chong Yidong <cyd@stupidchicken.com>
7505
7506 * subr.el (string-mark-left-to-right): New function.
7507
7508 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7509 Use string-mark-left-to-right.
7510 (list-buffers-noselect): Caller changed.
7511
a3dae87a
SM
7512 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7513 Use string-mark-left-to-right.
3e26a4a2
CY
7514 (tabulated-list-print): Recenter after moving point.
7515
ac8cf6e6
JL
75162011-08-10 Juri Linkov <juri@jurta.org>
7517
7518 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7519 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7520 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7521
8d96c9a4
CY
75222011-08-09 Chong Yidong <cyd@stupidchicken.com>
7523
7524 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7525 (Bug#7554).
7526
7be1c708 75272011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7528
7529 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7530 character. (Bug#6594)
7531
37e11a63
CY
75322011-08-08 Chong Yidong <cyd@stupidchicken.com>
7533
839dde57
CY
7534 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7535 (image-dired--with-db-file): New macro.
7536 (image-dired-write-tags, image-dired-remove-tag)
7537 (image-dired-create-gallery-lists, image-dired-write-comments)
7538 (image-dired-get-comment, image-dired-mark-tagged-files)
7539 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7540 (image-dired-gallery-generate): Use insert-file-contents.
7541
37e11a63
CY
7542 * time.el (display-time-world-list, display-time-world-display):
7543 * time-stamp.el (time-stamp-string):
7544 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7545 set-time-zone-rule (Bug#7337).
7546
0b4946c4
DU
75472011-08-08 Daiki Ueno <ueno@unixuser.org>
7548
7549 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7550 (epg-error-to-string, epg-errors-to-string): New function.
7551 (epg-wait-for-completion): Reverse errors list.
7552 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7553 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7554 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7555 (epg-sign-keys, epg-generate-key-from-file)
7556 (epg-generate-key-from-string): Format errors by using
7557 epg-errors-to-string (bug#9255).
7558 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7559
75bfc667
JL
75602011-08-07 Juri Linkov <juri@jurta.org>
7561
7562 * faces.el (list-faces-display): Remove extra angle bracket
7563 from `help-mode-map'.
7564
7565 * info.el (Info-history-toc-nodes): Doc fix.
7566
7567 * longlines.el (longlines-mode): Doc fix.
7568
673e08bb
SM
75692011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7570
4640dd88
SM
7571 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7572 of statements and in a few more cases (bug#9183).
7573
673e08bb
SM
7574 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7575 New functions.
7576 (cl-transform-lambda): Use them (bug#9239).
7577
89b3f019
MR
75782011-08-05 Martin Rudalics <rudalics@gmx.at>
7579
7580 * window.el (display-buffer-same-window)
7581 (display-buffer-same-frame, display-buffer-other-window)
7582 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7583 (pop-to-buffer-other-window)
7584 (pop-to-buffer-same-frame-other-window)
7585 (pop-to-buffer-other-frame): Make them defuns.
7586 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7587
640c8776
SM
75882011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7589
7590 * subr.el (make-composed-keymap): Move from C. Change calling
7591 convention, and improve docstring to bring attention to a subtle point.
7592 * minibuffer.el (completing-read-default): Adjust accordingly.
7593
63648a95
MA
75942011-08-03 Michael Albinus <michael.albinus@gmx.de>
7595
7596 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7597 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7598
7599 * net/trampver.el: Update release number.
7600
b796c9b7
SM
76012011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7604 "in" (bug#9190).
7605
2239d7d5
LMI
76062011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7607
e07dd7c3
LMI
7608 * mail/sendmail.el (sendmail-query-once): Restore the current
7609 buffer after querying (bug#9074).
7610
0e6a2bd7
LMI
7611 * dired.el (dired-flagged): Use different faces for marked and
7612 flagged files (bug#6117).
7613
ce887515
LMI
7614 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7615 (bug#4433).
7616
92f2affc
LMI
7617 * ido.el (ido-mode): Switch off the message if called
7618 non-interactively.
7619
57d5aff0
LMI
7620 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7621 before 587, since it appears that that's more likely to work for
7622 more people.
7623
98cd6c18 7624 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7625 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7626 exist.
7627
b96dec83
LMI
7628 * info.el: Remove the `Info-beginning-of-buffer' function
7629 (bug#8325).
7630
b796c9b7
SM
7631 * net/network-stream.el (network-stream-open-starttls):
7632 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7633
d90e2ea0
MR
76342011-08-01 Martin Rudalics <rudalics@gmx.at>
7635
7636 * window.el (display-buffer-in-window): Don't set dedicated status
7637 of window here (Bug#9215).
7638 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7639 (display-buffer-pop-up-side-window)
b796c9b7 7640 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7641
cca09170
SM
76422011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7645 before binding generated-autoload-file.
7646
027b979c
DD
76472011-08-01 Deniz Dogan <deniz@dogan.se>
7648
7649 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7650
3c7ee4f3
MA
76512011-07-30 Michael Albinus <michael.albinus@gmx.de>
7652
7653 Sync with Tramp 2.2.2.
7654
7655 * net/trampver.el: Update release number.
7656
2cc8e51a
JL
76572011-07-30 Juri Linkov <juri@jurta.org>
7658
7659 * dired-aux.el (dired-touch-initial): Remove function.
7660 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7661 current time, and `default' to the last modification time of the
7662 current marked file (bug#6887).
7663
a514d856
JM
76642011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7665
7666 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7667 numeric argument to read-number (bug#9163).
a514d856 7668
8a7eddd7
MA
76692011-07-27 Michael Albinus <michael.albinus@gmx.de>
7670
7671 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7672 connection process, it could be nil.
7673
1ddd96f5
LL
76742011-07-27 Leo Liu <sdl.web@gmail.com>
7675
7676 Simplify url handling in rcirc-mode.
7677
7678 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7679 (rcirc-browse-url-at-mouse): Remove.
7680 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7681
b248a85d
AM
76822011-07-26 Alan Mackenzie <acm@muc.de>
7683
7684 Fontify bitfield declarations properly.
7685
7686 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7687 (c-symbol-chars): Now exported as a lang variable.
7688 (c-not-primitive-type-keywords): New lang variable.
7689
7690 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7691 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7692 parsed as a bitfield declaration.
b248a85d 7693
b796c9b7
SM
7694 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7695 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7696 (c-punctuation-in): New function.
7697 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7698 declarations properly.
7699
68575ab0
UJ
77002011-07-26 Ulf Jasper <ulf.jasper@web.de>
7701
7702 * calendar/icalendar.el (icalendar--all-events): Take care of
7703 multiple vcalendars in a single file.
b796c9b7 7704 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7705
0f0a88b9
DD
77062011-07-25 Deniz Dogan <deniz@dogan.se>
7707
7708 * image.el (insert-image): Clarifying docstring.
7709
0b3f36df
MA
77102011-07-24 Michael Albinus <michael.albinus@gmx.de>
7711
7712 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7713 `tramp-send-command-and-check' if there is no error.
7714 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7715
a9901f61
AM
77162011-07-22 Alan Mackenzie <acm@muc.de>
7717
7718 Prevent cc-langs.elc being loaded at run time.
7719
7720 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7721 cc-langs.
7722
4d61f28d 7723 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7724 "(require 'cc-langs)". Quote a form so it will evaluate at
7725 (cc-mode's) compilation time.
7726
11d074b2
MA
77272011-07-22 Michael Albinus <michael.albinus@gmx.de>
7728
7729 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7730 loading. (Bug#9114)
7731
938b94c8
MR
77322011-07-21 Martin Rudalics <rudalics@gmx.at>
7733
7734 * window.el (display-buffer-pop-up-window)
7735 (display-buffer-pop-up-side-window)
7736 (display-buffer-in-side-window): Call display-buffer-set-height
7737 and display-buffer-set-width after setting the new window's
b796c9b7 7738 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7739
bfa4f190
SS
77402011-07-20 Sam Steingold <sds@gnu.org>
7741
7742 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7743 (etags-tags-included-tables): Call `convert-standard-filename' on
7744 the file names contained in TAGS so that windows Emacs can handle
7745 TAGS files created by cygwin ctags.
7746
8ca42262
LMI
77472011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7748
7749 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7750 which apparently didn't work.
7751
5db2afd2 77522011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7753
5db2afd2
RW
7754 * proced.el (proced-send-signal): For *Marked Processes* buffer
7755 put point at beginning of buffer.
7756
92e15d10
SB
77572011-07-19 Stephen Berman <stephen.berman@gmx.net>
7758
7759 * proced.el (proced-format): Make header lines align with the text
7760 (bug#1779).
7761
1bfd59e5
LMI
77622011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7763
7764 * view.el (view-buffer): Allow running in `special' modes if we're
7765 visiting a file (bug#8615).
7766
f5aae37c
MR
77672011-07-19 Martin Rudalics <rudalics@gmx.at>
7768
7769 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7770 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7771 New functions.
f5aae37c
MR
7772 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7773 more accurately.
7774
bf2c1571
AM
77752011-07-18 Alan Mackenzie <acm@muc.de>
7776
7777 Fontify declarators properly when, e.g., a jit-lock chunk begins
7778 inside a declaration.
7779
7780 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7781
b796c9b7
SM
7782 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7783 New function.
bf2c1571
AM
7784 (c-complex-decl-matchers): Insert reference to
7785 c-font-lock-enclosing-decls.
7786
7787 * progmodes/cc-engine.el (c-backward-single-comment):
7788 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7789 to nil around calls to (forward-comment -1).
7790
4e190b80
LMI
77912011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7792
12dc863d
LMI
7793 * image.el (put-image): Doc typo fix.
7794
a762e966
LMI
7795 * progmodes/etags.el (tags-search): Doc typo fix.
7796
4e190b80
LMI
7797 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7798 password if we get errors 550 to 554.
7799
f019fb21
LMI
78002011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7801
b796c9b7 7802 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7803
81746738
LMI
7804 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7805 indentation character (bug#6380).
7806
3ee3a1b5
LMI
7807 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7808
c82f64de
LMI
7809 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7810 to clarify what the problem is (bug#4291).
7811
f019fb21
LMI
7812 * simple.el (current-kill): Clarify what
7813 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7814 (auto-fill-mode): Document `auto-fill-function' in relation to
7815 `auto-fill-mode' (bug#2470).
f019fb21 7816
0794775d
LM
78172011-07-16 Lawrence Mitchell <wence@gmx.li>
7818
7819 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7820 method if slot is read-only (bug#9035).
7821
be39b8cc
MR
78222011-07-16 Martin Rudalics <rudalics@gmx.at>
7823
b796c9b7 7824 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7825 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7826 selected before, see discussion of (Bug#8615), (Bug#6954).
7827 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7828
6ccf7859
GM
78292011-07-15 Glenn Morris <rgm@gnu.org>
7830
7831 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7832 Respect help-form.
6ccf7859 7833
87e86684
LM
78342011-07-09 Lawrence Mitchell <wence@gmx.li>
7835
7836 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7837 (gnutls-negotiate): Use it.
7838
d6066239
LMI
78392011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7840
b796c9b7
SM
7841 * net/gnutls.el (gnutls-negotiate):
7842 Upcase `gnutls-algorithm-priority'.
d6066239 7843
bd23ebc0
GM
78442011-07-15 Glenn Morris <rgm@gnu.org>
7845
c65bca65
GM
7846 * jka-compr.el (jka-compr-verbose): Move from here...
7847 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7848 Add missing :version tag.
7849 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7850
478615cc
LMI
78512011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7852
7b41decb
LMI
7853 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7854 (gnutls-negotiate): Use it.
7855
dbc44fcd
LMI
7856 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7857
06789f97
LMI
7858 * info.el (Info-beginning-of-buffer): New command.
7859 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7860 announcing `b' as the key (bug#8325).
ab896c37 7861 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7862
c39da690
LMI
7863 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7864
3aa5f34b
LMI
7865 * international/mule-cmds.el
7866 (describe-specified-language-support): Make the error message
7867 clearer (bug#8905).
7868
4bf0979f
LMI
7869 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7870
478615cc
LMI
7871 * isearch.el (isearch-barrier): Add a doc string, since it's
7872 mentioned in a function doc string (bug#8678).
7873
75c68aa1
MR
78742011-07-15 Martin Rudalics <rudalics@gmx.at>
7875
7876 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7877 buffer argument (Bug#9083) and self-identifying label argument.
7878
a7c33da2
GM
78792011-07-15 Glenn Morris <rgm@gnu.org>
7880
7881 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7882
2f5c6024
LMI
78832011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7884
7885 * man.el (Man-fontify-manpage): Fix message when formatting the
7886 man page (bug#7929).
7887
0bb23927 78882011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7889
7890 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7891 argument LRM; if non-nil, append an invisible LRM character to the
7892 buffer name.
7893 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7894 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7895 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7896 paragraph direction.
cce4b0a7 7897
621ef9ab
LMI
78982011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7899
d1583c48
LMI
7900 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7901 the man page name (bug#7929).
7902
6a57fb5f
LMI
7903 * image.el (put-image): Mention the `put-image' overlay property
7904 (bug#7834).
7905
d7956b14
LMI
7906 * scroll-bar.el (set-scroll-bar-mode): Mention that
7907 `scroll-bar-mode' lists the values (bug#7772).
7908
5b2d4a66
LMI
7909 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7910 command (bug#7729).
7911
7509a874
LMI
7912 * rect.el (apply-on-rectangle): Return the point after the last
7913 operation.
7914 (string-rectangle): Go to the point after the last operation
7915 (bug#7522).
7916
4fe74b19
LMI
7917 * printing.el (pr-toggle-region): Clarify the documentation
7918 slightly (bug#7493).
7919
b796c9b7
SM
7920 * time.el (display-time-update):
7921 Allow `display-time-mail-function' to return nil (bug#7158).
7922 Fix suggested by Detlev Zundel.
ab283561 7923
fc233c9d
LMI
7924 * vc/diff.el (diff): Clarify the order the file names are read
7925 (bug#7111).
7926
43f5740b
LMI
7927 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7928 the doc string (bug#7015).
7929
f2182a76
LMI
7930 * font-lock.el (font-lock-maximum-decoration): Mention what
7931 numeric levels mean (bug#6935).
7932
621ef9ab
LMI
7933 * startup.el (initial-buffer-choice): Don't mention the `none'
7934 selection, which is against policy.
7935
adc47434
MR
79362011-07-14 Martin Rudalics <rudalics@gmx.at>
7937
b796c9b7
SM
7938 * window.el (display-buffer-normalize-special):
7939 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7940
7e5bfb8f
EZ
79412011-07-14 Eli Zaretskii <eliz@gnu.org>
7942
7943 * subr.el (version<, version<=, version=): Mention "-CVS" and
7944 "-12345" alpha version numbers.
7945
27fa387a
CY
79462011-07-14 Chong Yidong <cyd@stupidchicken.com>
7947
7948 * bindings.el: Add advertised binding for set-mark-command
7949 (Bug#5772).
7950
8bdfa064
CY
79512011-07-14 Chong Yidong <cyd@stupidchicken.com>
7952
7953 * bindings.el (mode-line-other-buffer):
7954 * bookmark.el (bookmark-bmenu-2-window):
7955 * bs.el (bs-cycle-next, bs-cycle-previous):
7956 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7957 switch-to-buffer.
7958
7959 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7960 Delete.
8bdfa064 7961
5eba16a3
JB
79622011-07-14 Juanma Barranquero <lekktu@gmail.com>
7963
7964 * follow.el (follow-debug-message, follow-redisplay):
7965 * jka-cmpr-hook.el (with-auto-compression-mode):
7966 Fix typos in docstrings.
7967
15853710
LMI
79682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7969
a28e4607
LMI
7970 * subr.el (with-silent-modifications): Clarify somewhat what the
7971 macro inhibits (bug#6525).
7972
15853710
LMI
7973 * simple.el (eval-expression): Note what it does if called
7974 interactively (bug#6495).
7975
bee0fcef
CY
79762011-07-13 Chong Yidong <cyd@stupidchicken.com>
7977
b796c9b7
SM
7978 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7979 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7980
7981 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7982 Remove switch-to-buffer.
7983
58274504
LMI
79842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7985
bd2fcc8d
LMI
7986 * files.el (make-directory): Clarify that an error will be raised
7987 if there's an error (bug#6397).
7988
0f04b32c
LMI
7989 * startup.el (initial-buffer-choice): Add `none' as a choice
7990 (bug#6234).
7991
465c5fc8
LMI
7992 * subr.el (add-hook): Clarify section about buffer-local hooks
7993 (bug#6218).
7994
58274504
LMI
7995 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7996
bead9a43
JB
79972011-07-13 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * tabify.el (untabify): Preserve the current column so that point
8000 doesn't move (bug#6032).
8001
3af98a7b
LMI
80022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8003
b796c9b7
SM
8004 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8005 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8006
6240145a
GM
80072011-07-13 Glenn Morris <rgm@gnu.org>
8008
8009 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8010 (dired-insert-directory): Give a message the first time
8011 if ls is found not to support --dired.
8012
1d8c2ccc
LMI
80132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8014
8015 * simple.el (toggle-truncate-lines): Clarify what is toggled
8016 (bug#5580). Text by Drew Adams.
8017
5fc4038e
CY
80182011-07-13 Chong Yidong <cyd@stupidchicken.com>
8019
8020 * simple.el (blink-matching-open): Make the error message from the
8021 last change less verbose.
8022
bf6012e5
DN
80232011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8024
8025 * font-lock.el (font-lock-comment-face): Use the high contrast
8026 "yellow" color for font-lock-comment-face on low color terminals
8027 using a dark background color (bug#4221).
8028
343c3b5a
LMI
80292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8030
7e9505c5
LMI
8031 * dired.el (dired-insert-set-properties): Make the doc string
8032 reflect what it does now (bug#5325).
8033
c26fdcf5
LMI
8034 * simple.el (blink-matching-open): Say that we were unable to find
8035 the match within the limit, if we're limited (bug#5122).
8036
bb388cc5
LMI
8037 * international/mule-cmds.el (prefer-coding-system): Add an
8038 example (bug#4869).
8039
343c3b5a
LMI
8040 * progmodes/etags.el (tags-search): Document `file-list-form'
8041 (bug#4731).
8042
2a517d45
LM
80432011-07-13 Lawrence Mitchell <wence@gmx.li>
8044
8045 * net/browse-url.el (browse-url-default-browser)
8046 (browse-url-browser-function): Make the default browser choice a
8047 bit more logical (bug#4300). Also clean up the doc string.
8048
b6c78ef2
JB
80492011-07-13 Juanma Barranquero <lekktu@gmail.com>
8050
8051 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8052 binary endings (bug#4440).
8053
1c4dd947
LMI
80542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8055
a2014063
LMI
8056 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8057 which can be pretty annoying (bug#8971).
8058
9c9c2d88
LMI
8059 * jka-compr.el (jka-compr-verbose): New variable, and use
8060 throughout (bug#8971).
8061
1c4dd947
LMI
8062 * info.el (Info-find-file): Fall back on the installation
8063 directory if we can't find the info node anywhere else.
8064
a1c9f41b
SO
80652011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8066
8067 * vc/vc.el (vc-revert-file):
8068 Don't set file time-stamp in the past. (Bug#5181)
8069
536f3d36
LMI
80702011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8071
7152b011
LMI
8072 * files.el (after-find-file): Give a better error message when
8073 trying to find a symlink that points to a file that doesn't exist
8074 (bug#4398).
8075
536f3d36
LMI
8076 * progmodes/cc-vars.el: Remove (probably) misleading comment
8077 (bug#4396).
8078
460c0fba
JB
80792011-07-12 Johan Bockgård <bojohan@gnu.org>
8080
8081 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8082
7a6bda45
CY
80832011-07-12 Chong Yidong <cyd@stupidchicken.com>
8084
8085 * mouse-sel.el: Hack restoring functionality, while keeping
8086 compatibility with 2010-07-03 changes to mouse selection.
8087 (mouse-sel-primary-overlay): New var.
8088 (mouse-sel-selection-alist): Use it.
8089 (mouse-sel-mode): Doc fix; remove points that are default features
8090 of mouse.el.
8091
c79598ef
JB
80922011-07-12 Johan Bockgård <bojohan@gnu.org>
8093
8094 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8095 Fix previous fix (bug#2490).
8096
ff8be6ef
RW
80972011-07-12 Roland Winkler <winkler@gnu.org>
8098
b796c9b7
SM
8099 * textmodes/bibtex.el (bibtex-initialize):
8100 Use pop-to-buffer-same-window.
ff8be6ef
RW
8101 (bibtex-search-entries): Fix interactive call.
8102
296ba3ee
LMI
81032011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8104
f5242a02 8105 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8106 Fontise bytecomp Error lines more correctly (bug#2490).
8107 Fix suggested by Johan Bockgård.
f5242a02 8108
296ba3ee
LMI
8109 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8110
8111 * dired-x.el (dired-guess-default): Use `delete-dups'.
8112
f69fd0d2
CY
81132011-07-12 Chong Yidong <cyd@stupidchicken.com>
8114
8115 * dired.el (dired-mark-prompt):
8116 * dired-aux.el (dired-read-shell-command): Doc fix.
8117
eab5dc07
LMI
81182011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8119
b796c9b7
SM
8120 * mail/sendmail.el (sendmail-query-once):
8121 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8122 emacs -Q.
8123
8124 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8125
eab5dc07
LMI
8126 * cus-edit.el (custom-file): Take an optional no-error variable.
8127 (customize-save-variable): Set the variable, and give a warning if
8128 running under "emacs -q".
8129
a1e65d42
JB
81302011-07-11 Juanma Barranquero <lekktu@gmail.com>
8131
8132 * loadhist.el (unload-feature-special-hooks):
8133 Add `auto-coding-functions', `fill-nobreak-predicate' and
8134 `find-directory-functions' (bug#5327).
8135
1d52da10
LMI
81362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8137
be958f1d
LMI
8138 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8139
5bedb26c
LMI
8140 * cus-edit.el (custom-guess-name-alist): -alist variables should
8141 use the `alist' type (bug#3120). Suggested by Drew Adams.
8142
1d52da10
LMI
8143 * printing.el: Add documentation to all the `pr-toggle-' commands.
8144
cd394be1 81452011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8146
8147 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8148 backends where it makes sense (bug#2623).
8149
dcc88d8a
LMI
81502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8151
c3de9feb
LMI
8152 * dired-x.el (dired-guess-default): Remove duplicate shell command
8153 entries (bug#2028).
8a93078b 8154 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8155 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8156
dcc88d8a
LMI
8157 * subr.el (remove-duplicates): New conveniency function.
8158
505e3645
LMI
81592011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8160
8161 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8162 (bug#1526).
8163
81642011-07-10 Martin Rudalics <rudalics@gmx.at>
8165
8166 * window.el (display-buffer-normalize-default): Don't invert
8167 meaning of even-window-heights. Reported by Eli Zaretskii
8168 <eliz@gnu.org>.
8169
455e4fa1
BR
81702011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8171
8172 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8173
8e0bc3e9
CY
81742011-07-10 Chong Yidong <cyd@stupidchicken.com>
8175
8176 * window.el (display-buffer): Fix arguments to
8177 display-buffer-reuse-window in last change.
8178
fa7c3228
CY
8179 * faces.el (link): Use a less saturated blue on light backgrounds.
8180
8181 * startup.el (fancy-startup-text, fancy-about-text)
8182 (fancy-startup-tail): Use font-lock faces, for background safety.
8183
c0a7f300
BN
81842011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8185
b796c9b7
SM
8186 * emulation/viper-cmd.el (viper-change-state-to-vi):
8187 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8188
4dc2a129
MR
81892011-07-09 Martin Rudalics <rudalics@gmx.at>
8190
8191 * window.el (display-buffer-default-specifiers): Remove.
8192 (display-buffer-macro-specifiers): Remove default specifiers.
8193 (display-buffer-alist): Default to nil.
b796c9b7 8194 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8195 (display-buffer-pop-up-window): Allow splitting internal
8196 windows. Check whether a live window was created.
8197 (display-buffer-other-window-means-other-frame)
8198 (display-buffer-normalize-arguments): Rename to
8199 display-buffer-normalize-argument and rewrite. Set the
8200 other-window specifier.
8201 (display-buffer-normalize-special): New function.
8202 (display-buffer-normalize-options): Rename to
8203 display-buffer-normalize-default and rewrite.
8204 (display-buffer-normalize-options-inhibit): Remove.
8205 (display-buffer-normalize-specifiers): Rewrite.
8206 (display-buffer): Process other-window specifier and call
8207 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8208 more faithfully.
b796c9b7 8209 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8210 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8211 (display-buffer-in-window, display-buffer-alist-set):
8212 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8213 <tassilo@member.fsf.org>.
8214
2d43b8c9
LL
82152011-07-09 Leo Liu <sdl.web@gmail.com>
8216
8217 * register.el (insert-register): Restore accidental change on
8218 2011-06-26. (Bug#9028)
8219
7f9b7c53
GM
82202011-07-09 Glenn Morris <rgm@gnu.org>
8221
8222 * subr.el (remq): Handle the empty list. (Bug#9024)
8223
f042cfd8
AS
82242011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8225
8226 * mail/sendmail.el (send-mail-function): No longer delay custom
8227 initialization.
8228 * custom.el (custom-initialize-delay): Doc fix.
8229
856b2f11
SM
82302011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8233
afae1d68
MA
82342011-07-08 Michael Albinus <michael.albinus@gmx.de>
8235
8236 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8237 human-friendly prompt.
8238
0757af94
SM
82392011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8242 provided by a particular plugin.
8243
d760b731
LMI
82442011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8245
8246 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8247 save customizations (with "emacs -Q"), just set the variable
8248 instead of erroring out.
8249
8250 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8251
cd79ce90
JL
82522011-07-08 Juri Linkov <juri@jurta.org>
8253
8254 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8255 (archive-zip-update-case): Use 7z if found by `executable-find'.
8256 The order of searching the available programs is the same as in
8257 `archive-zip-extract' (bug#8968).
8258
14cc04aa
CY
82592011-07-07 Chong Yidong <cyd@stupidchicken.com>
8260
8261 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8262 (menu-bar-options-menu): Tweak descriptions.
8263
0a1848ec
LMI
82642011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8265
8266 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8267 menu items into verb phrases (bug#1421). Also refill to fit under
8268 80 columns.
8269
f5bd0689
CY
82702011-07-07 Chong Yidong <cyd@stupidchicken.com>
8271
538e85c6
CY
8272 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8273 (Info-read-node-name): Doc fix (Bug#1084).
8274
f5bd0689
CY
8275 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8276 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8277 (end-of-sexp, beginning-of-sexp)
8278 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8279 (forward-symbol, forward-same-syntax, word-at-point)
8280 (sentence-at-point): Doc fix (Bug#1144).
8281
56ec5115
LMI
82822011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8283
f3f8e37f
LMI
8284 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8285 should cover it (bug#1281).
8286
0757af94 8287 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8288
e9fce1ac 8289 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8290 negotiation fails, then possibly try again with a non-encrypted
8291 connection (bug#9017).
8292
56ec5115
LMI
8293 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8294 be used.
8295
c2f9aec8
RS
82962011-07-07 Richard Stallman <rms@gnu.org>
8297
8298 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8299 property, and handle its changed format.
8300 Look for the correct line number.
8301 Use file's line contents (but not past first =) to find
8302 correct line in message.
8303
ef7b981d 83042011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8305
8306 * international/characters.el (build-unicode-category-table):
8307 Delete it.
0757af94 8308 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8309
0757af94 8310 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8311 to src/chartab.c.
8312 (get-char-code-property): Call unicode-property-table-internal to
8313 load a file. Call get-unicode-property-internal where necessary.
8314 (put-char-code-property): Call unicode-property-table-internal to
8315 load a file. Call put-unicode-property-internal where necessary.
8316 put-unicode-property-internal where necessary.
0757af94
SM
8317 (char-code-property-description):
8318 Call unicode-property-table-internal to load a file.
c805dec0
KH
8319
8320 * international/charprop.el:
8321 * international/uni-bidi.el:
8322 * international/uni-category.el:
8323 * international/uni-combining.el:
8324 * international/uni-comment.el:
8325 * international/uni-decimal.el:
8326 * international/uni-decomposition.el:
8327 * international/uni-digit.el:
8328 * international/uni-lowercase.el:
8329 * international/uni-mirrored.el:
8330 * international/uni-name.el:
8331 * international/uni-numeric.el:
8332 * international/uni-old-name.el:
8333 * international/uni-titlecase.el:
8334 * international/uni-uppercase.el: Regenerate.
8335
8336 * loadup.el: Load international/charprop.el before
8337 international/characters.
8338
e14b388a
CY
83392011-07-07 Chong Yidong <cyd@stupidchicken.com>
8340
8341 * window.el (next-buffer, previous-buffer): Signal an error if
8342 called from a minibuffer window.
8343
8344 * bindings.el: Revert 2011-07-04 change.
8345
354cf0ba
RS
83462011-07-06 Richard Stallman <rms@gnu.org>
8347
8348 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8349 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8350 Treat markers like ints.
8351 (rmail-mime-entity): Doc fix.
8352
a48868a7
LMI
83532011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8354
4906cd3d
LMI
8355 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8356 defcustom again for backwards compatibility.
8357
e0457abe
LMI
8358 * simple.el (shell-command-on-region): Fill.
8359
d67f7e1f
LMI
8360 * dired-aux.el (dired-kill-line): Add a doc string.
8361
fe204702
LMI
8362 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8363 to "\\sw\\|\\s_" (bug#358).
8364
a48868a7
LMI
8365 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8366 (dired-unmark-backward): Ditto.
8367 (dired-flag-backup-files): Ditto.
8368
8369 * dired-x.el (dired-mark-sexp): Ditto.
8370
aa8a705c
RS
83712011-07-06 Richard Stallman <rms@gnu.org>
8372
8373 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8374 (rmail-mime-entity): New arg TRUNCATED.
8375 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8376 New functions.
8377 (rmail-mime-save): Warn if entity is truncated.
8378 (rmail-mime-toggle-hidden): Likewise, for showing.
8379 (rmail-mime-process-multipart): Record when an entity is truncated.
8380
a9a936b9
RS
8381 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8382 if ENTITY is a string.
8383
1f2b92cb
LMI
83842011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8385
f4f73198 8386 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8387 of faces when `M-C-x'-ing their definitions (bug#8378).
8388 Also clean up the code slightly.
f4f73198 8389
12b16734 8390 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8391 because that makes the colors go away.
12b16734 8392
f0691d22
LMI
8393 * mail/sendmail.el (send-mail-function): Change the default to
8394 `sendmail-query-once'.
9e87df06 8395 (sendmail-query-once): Add an autoload cookie.
f0691d22 8396
1f2b92cb
LMI
8397 * net/network-stream.el (network-stream-open-starttls): Try using
8398 a plain connection even if the server offered STARTTLS, and we
8399 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8400 capability. This should make smtpmail.el work in slightly more
8401 configurations.
8402
1cdd2a1b
MA
84032011-07-06 Michael Albinus <michael.albinus@gmx.de>
8404
8405 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8406 New defun.
8407 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8408
fbcc67e2
MM
84092011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8410
8411 * progmodes/sql.el: Version 3.0
0757af94 8412 (sql-product-alist): Add product :completion-object,
fbcc67e2 8413 :completion-column, and :statement attributes.
0757af94 8414 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8415 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8416 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8417 ansi keywords.
8418 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8419 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8420 (sql-oracle-show-reserved-words): New function for development.
8421 (sql-product-font-lock): Simplify for source code buffers.
8422 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8423 New functions.
8424 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8425 (sql-mode-map): Add statement movement functions.
8426 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8427 New variable.
fbcc67e2
MM
8428 (sql-statement-regexp, sql-beginning-of-statement)
8429 (sql-end-of-statement, sql-signum): New functions.
0757af94 8430 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8431 (sql-show-sqli-buffer): Bug fix.
8432 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8433 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8434 with sql-interactive-mode.
8435 (sql-save-connection): Save buffer local settings.
0757af94 8436 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8437 (sql-product-interactive): Bug fix.
8438 (sql-preoutput-hold): New variable.
8439 (sql-interactive-remove-continuation-prompt): Bug fixes.
8440 (sql-debug-redirect): New variable.
8441 (sql-str-literal): New function.
8442 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8443 Redesign.
fbcc67e2
MM
8444 (sql-oracle-save-settings, sql-oracle-restore-settings)
8445 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8446 (sql-completion-object, sql-completion-column)
8447 (sql-completion-sqlbuf): New variables.
8448 (sql-build-completions-1, sql-build-completions)
8449 (sql-try-completion): New functions.
8450 (sql-read-table-name): Use them.
8451 (sql-contains-names): New buffer local variable.
8452 (sql-list-all, sql-list-table): Use it.
8453 (sql-oracle-completion-types): New variable.
8454 (sql-oracle-completion-object, sql-sqlite-completion-object)
8455 (sql-postgres-completion-object): New functions.
8456
d4eaeab1
GM
84572011-07-06 Glenn Morris <rgm@gnu.org>
8458
8459 * window.el (pop-to-buffer): Doc fix.
8460
322b7dab 84612011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8462
8463 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8464
322b7dab 84652011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8466
322b7dab 8467 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8468
322b7dab 8469 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8470
605dd5bf
CY
84712011-07-05 Chong Yidong <cyd@stupidchicken.com>
8472
8473 * button.el (button): Inherit from link face. Suggested by Dan
8474 Nicolaescu.
8475
7dbfa719
SM
84762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8477
3db614b0
SM
8478 * progmodes/gdb-mi.el: Fit in 80 columns.
8479 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8480 switch-to-buffer.
8481
7dbfa719
SM
8482 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8483 if imenu is simply not configured (bug#8941).
8484
919d884a
KM
84852011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8486
8487 * allout.el (allout-post-undo-hook): New allout outline-change
8488 event hook to signal undo activity.
8489 (allout-post-command-business): Run allout-post-undo-hook if an
8490 undo just occurred.
7dbfa719
SM
8491 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8492 * allout-widgets.el (allout-widgets-after-undo-function):
8493 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8494 in the vicinity of an undo.
8495 (allout-widgets-mode): Include allout-widgets-after-undo-function
8496 on the new allout-post-undo-hook.
8497
450a0f09
SM
84982011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8501 Let define-derived-mode define it.
8502 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8503 cycles of abbrev-table inheritance (bug#8998).
8504
2de69e00
RW
85052011-07-05 Roland Winkler <winkler@gnu.org>
8506
8507 * textmodes/bibtex.el: Add support for biblatex.
8508 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8509 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8510 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8511 (bibtex-entry-alist, bibtex-field-alist): New variables.
8512 (bibtex-entry-field-alist): Obsolete alias for
8513 bibtex-BibTeX-entry-alist.
8514 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8515 (bibtex-set-dialect): New command.
8516 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8517 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8518 Bind via bibtex-set-dialect.
2de69e00
RW
8519 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8520 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8521 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8522 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8523 Define via bibtex-set-dialect.
450a0f09
SM
8524 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8525 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8526 (bibtex-vec-push, bibtex-vec-incr): New functions.
8527 (bibtex-format-entry, bibtex-field-list)
8528 (bibtex-print-help-message, bibtex-validate)
8529 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8530
2dcdbdd9
SM
85312011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8532
8533 * progmodes/compile.el (compilation-goto-locus):
8534 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8535 * bs.el (bs-cycle-next, bs-cycle-previous):
8536 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8537 * bindings.el (mode-line-other-buffer):
8538 * autoinsert.el (auto-insert):
8539 * arc-mode.el (archive-extract):
8540 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8541
b27640fe
JB
85422011-07-05 Juanma Barranquero <lekktu@gmail.com>
8543
8544 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8545 Fix check of `emacs-lock-unlockable-modes'.
8546 Coerce true values of `emacs-lock--try-unlocking' to t.
8547
53bbe3ad
JB
85482011-07-05 Juanma Barranquero <lekktu@gmail.com>
8549
8550 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8551 * emacs-lock.el: New file.
8552
1d3cdbc7
JD
85532011-07-05 Julien Danjou <julien@danjou.info>
8554
8555 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8556 than `boundp' to check if face is set.
8557
9173deec
JB
85582011-07-05 Juanma Barranquero <lekktu@gmail.com>
8559
8560 * register.el (registerv-make):
8561 * window.el (window-min-height): Fix typos in docstrings.
8562
869795d6
JD
85632011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8564
9173deec 8565 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8566 Update doc string.
8567
b768cdcd
JB
85682011-07-04 Juanma Barranquero <lekktu@gmail.com>
8569
8570 * server.el (server-execute): Catch quit and call
8571 `server-return-error' to pass the error back to emacsclient and
8572 close the connection (bug#8942).
8573
13aa217b
KM
85742011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8575
8576 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8577 insecure exception for current topic. Also note that auto-saves
8578 are handled differently.
8579
5d3385a0 8580 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8581 State variables for tracking auto-save inhibition situation.
8582
8583 (allout-write-contents-hook-handler): Rename from
8584 'allout-write-file-hook-handler', and describe how it depends on
8585 write-contents-functions sensitivity to non-nil value to prevent
8586 file write.
8587
8588 (allout-auto-save-hook-handler): Remove. auto-save does not check
8589 this in individual buffers, only in the starting buffer, so this
8590 is not the right way for us to inhibit auto-save in a buffer
8591 according to its condition.
8592
8593 (allout-mode): Use new allout-write-contents-hook-handler, and
8594 only with write-contents-functions. Remove auto-save provisions -
8595 they're implemented elsewhere.
8596
8597 (allout-before-change-handler): If undo is in progress, note that
8598 for attention of allout-post-command-business.
8599
8600 (allout-post-command-business): If the command we're following was
8601 an undo, check for change in the status of encrypted items and
8602 adjust auto-save inhibitions accordingly.
8603
8604 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8605 according to whether there are or aren't any plain-text topics
8606 pending encryption.
8607
2dcdbdd9 8608 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8609 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8610 if there are plain-text topics pending encryption.
13aa217b
KM
8611
8612 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8613 buffer-saved-size and some allout state to not inhibit auto-saves
8614 if there are no longer any plain-text topics pending encryption.
8615
0757af94
SM
8616 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8617 No longer provide for exemption of the current topic.
13aa217b 8618
ac89b32c
JL
86192011-07-04 Juri Linkov <juri@jurta.org>
8620
8621 Add 7z operations to delete and save changed members (bug#8968).
8622 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8623 New defcustoms.
8624 (archive-7z-write-file-member): New function.
8625 (archive-7z-summarize): Fix the number of dashes in the
8626 listing output.
8627
8fa39615
SM
86282011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8629
8630 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8631 (bug#8958).
8632
2f11b3f1
CY
86332011-07-04 Chong Yidong <cyd@stupidchicken.com>
8634
d66fef2b
CY
8635 * bindings.el: Ignore next-buffer and previous-buffer in
8636 minibuffer-local-map.
8637
2f11b3f1
CY
8638 * font-lock.el (font-lock-builtin-face): Change light background
8639 color to dark slate blue (Bug#6693).
8640
f932a347
WD
86412011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8642
8643 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8644
c8af70e1
SM
86452011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8648 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8649 Add switch-to-buffer.
8650
f158badc
LMI
86512011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8652
8653 * isearch.el (isearch-search-fun-function): Clarify further the
8654 meaning of the function returned.
8655
6d95bd46
MA
86562011-07-04 Michael Albinus <michael.albinus@gmx.de>
8657
8658 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8659
8660 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8661 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8662 Use it.
8663 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8664 `tramp-default-remote-path' does not exist.
8665 (tramp-send-command-and-read): New optional argument NOERROR.
8666 (tramp-open-connection-setup-interactive-shell)
8667 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8668 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8669 (tramp-process-sentinel): Flush also process' connection property.
8670 (tramp-sh-handle-start-file-process): Do not set process
8671 sentinel. It is done now ...
8672 (tramp-maybe-open-connection): ... here. (Bug#8929)
8673
909e6b67
MK
86742011-07-04 MON KEY <monkey@sandpframing.com>
8675
8676 * play/animate.el (animate-string): Doc fixes and allow changing
8677 the buffer name (bug#5417).
8678
86792011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8680
c8af70e1 8681 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8682
f34755dc
PE
86832011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8684
396cec72
PE
8685 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8686 This is simpler and helps future-proof the code.
8687 (timer-until): Use time-subtract and float-time.
08235028 8688 (timer--time-less-p): Use time-less-p.
f34755dc 8689
56e6cc31
JB
86902011-07-04 Juanma Barranquero <lekktu@gmail.com>
8691
3abb79e5
JB
8692 * type-break.el (timep): Use the value of `float-time' to avoid a
8693 byte-compiler warning.
8694
56e6cc31
JB
8695 * server.el (server-eval-and-print): Return any result, even nil.
8696
7b9430b4
PE
86972011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8698
8699 * type-break.el: Accept time formats that the builtins accept.
8700 (timep, type-break-time-difference): Accept any format that
8701 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8702 This is simpler and helps future-proof the code.
8703 (type-break-time-difference): Round rather than ignoring
8704 subseconds components.
8705
3034e9e7
LMI
87062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8707
8708 * info.el (Info-apropos-matches): Make non-interactive, since it
8709 doesn't seem to do anything useful as a command (bug#8829).
8710
1485f4c0
CY
87112011-07-03 Chong Yidong <cyd@stupidchicken.com>
8712
8713 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8714 Move from faces.el.
1485f4c0
CY
8715 (frame-default-terminal-background): New function.
8716
8717 * custom.el (custom-push-theme): Don't record faces in `changed'
8718 theme; this doesn't work correctly for per-frame face settings.
8719 (disable-theme): Use face-set-after-frame-default to reset faces.
8720 (custom--frame-color-default): New function.
8721
9fa3dd45
LMI
87222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8723
c8af70e1 8724 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8725 (bug#8769).
8726
6cbbc20c
KR
87272011-03-29 Kevin Ryde <user42@zip.com.au>
8728
8729 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8730 `perl-Test2' extend to match possible "fail #N" rep count
8731 (bug#8377).
8732
c7f98048
LMI
87332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8734
65676592
LMI
8735 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8736 `smtpmail-via-smtp' now returns the error instead of nil.
8737
c7f98048
LMI
8738 * isearch.el (isearch-search-fun-function): Clarify the doc string
8739 (bug#8101).
8740
56e6cc31 87412011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8742
8743 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8744 unnecessary spaces (bug#8987).
8745
2b216704
LMI
87462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8747
8748 * net/network-stream.el (open-network-stream): Use the
8749 :end-of-capability command thoughout.
8750
87512011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8752
8753 * net/network-stream.el (open-network-stream): Add the
8754 :end-of-capability command parameter, used by pop3.el.
8755
36adf6ce
LMI
87562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8757
1ca0da0e
LMI
8758 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8759
fc00f69c
LMI
8760 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8761 for list)" (bug#6475).
8762
28fd8759 8763 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8764 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8765 an error (bug#6297).
8766
0dd8b6da
LMI
8767 * man.el (Man-reference-regexp): Allow matching possible
8768 word-wrapped references (bug#6289).
8769
ce1438d6
LMI
8770 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8771 for consistency with the other vc buffers (bug#6197).
8772 (vc-checkin): Ditto.
8773
8774 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8775
36adf6ce
LMI
8776 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8777
e83cc1f7
LMI
87782011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8779
8a20ca4c
LMI
8780 * custom.el (defcustom): Clarify that :set is only used in the
8781 Customize user interface (bug#6089).
8782
83319045
LMI
8783 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8784 associated with a file, refuse to run instead of erroring out
8785 (bug#6084).
8786
a8392169
LMI
8787 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8788 the doc string, since it appears that using `fill-column' always
8789 controls the width (bug#7845).
8790
e83cc1f7
LMI
8791 * simple.el (shell-command-on-region): Say where the error output
8792 went if `shell-command-default-error-buffer' is set (bug#6857).
8793
e47ca23b
KM
87942011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8795
8796 * allout.el (allout-yank-processing): Adjust cursor position for
8797 backwards-deleted space.
8798
8799 (allout-rebullet-heading): Register changes with
8800 allout-exposure-changed-hook, so the modified topic is properly
8801 decorated.
8802
5cf56143
LMI
88032011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8804
08549772
LMI
8805 * minibuffer.el (completion-in-region): Document PREDICATE
8806 (bug#7136).
8807
48e96771
LMI
8808 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8809 of keyword/argument pairs (bug#6904).
8810
c8af70e1
SM
8811 * replace.el (multi-occur):
8812 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8813
e17d05e2
LMI
88142011-07-02 Drew Adams <drew.adams@oracle.com>
8815
8816 * dired.el (dired-mark-if): Make the message about whether it's
8817 marking or unmarking clearer (bug#8523).
8818
063b0e45
LMI
88192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8820
8821 * disp-table.el (display-table-print-array): New function.
8822 (describe-display-table): Use it to print the vectors more pretty
8823 (Bug#8859).
8824
28545e04
MR
88252011-07-02 Martin Rudalics <rudalics@gmx.at>
8826
8827 * window.el (window-state-get-1): Don't assign clone numbers.
8828 Add clone-of item to list of window parameters.
8829 (window-state-put-2): Don't process clone numbers.
8830 (display-buffer-alist): Fix doc-string.
8831
3349e122
SM
88322011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 * subr.el (remq): Don't allocate if it's not needed.
8835 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8836 (keymap--merge-bindings): New functions.
8837 (keymap-canonicalize): Use them to refine the canonicalization.
8838 * minibuffer.el (minibuffer-local-completion-map)
8839 (minibuffer-local-must-match-map): Move initialization from C.
8840 (minibuffer-local-filename-completion-map): Move initialization from C;
8841 don't inherit from anything here.
8842 (minibuffer-local-filename-must-match-map): Make obsolete.
8843 (completing-read-default): Use make-composed-keymap to combine
8844 minibuffer-local-filename-completion-map with either
8845 minibuffer-local-must-match-map or
8846 minibuffer-local-filename-completion-map.
8847
d224ac83
GM
88482011-07-01 Glenn Morris <rgm@gnu.org>
8849
3de63bf8
GM
8850 * type-break.el (type-break-time-sum): Use dolist.
8851
d224ac83
GM
8852 * textmodes/flyspell.el (flyspell-word-search-backward):
8853 Replace CL function.
8854
1a1e3f32
SM
88552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8856
fe3f64d5
SM
8857 * mouse.el (mouse--strip-first-event): New function.
8858 (function-key-map): Use it to map fringe clicks to normal clicks
8859 by default.
8860
eb604e34
SM
8861 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8862 (vc-bzr-revision-completion-table): Add support for annotate and date.
8863
1a1e3f32
SM
8864 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8865 inherit from parent.
8866
5bd35902
LMI
88672011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8868
ace6c69c 8869 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8870 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8871
191e2bed
LMI
8872 * dired.el (dired-mode): Fix up the doc string as suggested by
8873 Drew Adams (bug#8817).
8874
5bd35902
LMI
8875 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8876 cookie, since the manual says that it should be possible to add
8877 this function to `find-file-hook' (bug#8709).
8878
eee8207a
TZ
88792011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8880
8881 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8882 here. Noted Ted Zlatanov as the maintainer.
8883 (cfengine-common-settings, cfengine-common-syntax): New functions
8884 to set up common things between `cfengine-mode' and
8885 `cfengine3-mode'.
8886 (cfengine3-mode): New mode.
8887 (cfengine3-defuns cfengine3-defuns-regex
8888 (cfengine3-class-selector-regex cfengine3-category-regex)
8889 (cfengine3-vartypes cfengine3-font-lock-keywords)
8890 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8891 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8892
36b148cf
MA
88932011-07-01 Michael Albinus <michael.albinus@gmx.de>
8894
8895 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8896
8897 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8898
0bf4ba9a
MR
88992011-07-01 Martin Rudalics <rudalics@gmx.at>
8900
8901 * window.el (same-window-buffer-names, same-window-regexps)
8902 (same-window-p, special-display-frame-alist)
8903 (special-display-popup-frame, special-display-function)
8904 (special-display-buffer-names, special-display-regexps)
8905 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8906 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8907 (split-window-preferred-function, split-height-threshold)
8908 (split-width-threshold, even-window-heights)
8909 (display-buffer-mark-dedicated, window-splittable-p)
8910 (split-window-sensibly, window-safely-shrinkable-p):
8911 Un-obsolete.
8912 (display-buffer): Don't spread args with function specifier
8913 because special-display-popup-frame won't like it.
8914
35837f51
PE
89152011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8916
d0672f86
PE
8917 Time-stamp simplifications and fixes.
8918 These improve accuracy slightly, and future-proof the code
8919 against some potential changes to current-time format.
8920
b9444d97
PE
8921 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8922 by using time-since and float-time.
8923
0ef923dc
PE
8924 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8925 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8926 + NNN microseconds".
8927
2f81380d
PE
8928 * type-break.el (type-break-time-sum): Rewrite using time-add.
8929
845b5c3e
PE
8930 * play/hanoi.el (hanoi-current-time-float): Remove.
8931 All uses replaced by float-time.
8932
ee6f1be0
PE
8933 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8934 This yields a more-accurate answer.
8935 (rng-time-to-float): Remove; no longer needed.
8936
fe955043
PE
8937 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8938
5777162a
PE
8939 * calendar/timeclock.el (timeclock-seconds-to-time):
8940 Defalias to seconds-to-time, since they're the same thing.
8941
3103f8b6 8942 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8943 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8944 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8945
0e61a35f
SM
89462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * window.el (bury-buffer): Don't iconify the only frame.
8949 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8950 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8951
ddd63a1e
CY
89522011-07-01 Chong Yidong <cyd@stupidchicken.com>
8953
0e61a35f
SM
8954 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8955 Add mouse-yank-primary.
ddd63a1e 8956
055f4923
TZ
89572011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8958
8959 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8960
6a2fb145
SM
89612011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8962
8963 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8964 (find-library-name): Use it to find relative load names when provided
8965 absolute file name (bug#8803).
8966
fd4983f2
LMI
89672011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8968
887d14ad
LMI
8969 * textmodes/flyspell.el (flyspell-word): Consider words that
8970 differ only in case as potential doublons (bug#5687).
8971
c53dc7fc
LMI
8972 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8973 Remove two rather uninteresting debugging-like messages to make
8974 debbugs.el more silent.
8975
fd4983f2
LMI
8976 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8977 a password-like phrase.
8978
7a71b18d 89792011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8980
8981 * progmodes/cc-guess.el: New file.
8982
6a2fb145 8983 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8984
8985 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8986 derived from `c-basic-common-init'.
8987
8988 * progmodes/cc-mode.el (top-level): Require cc-guess.
8989 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8990
1fa280a3
LM
89912011-06-30 Lawrence Mitchell <wence@gmx.li>
8992
8993 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8994
e6597158
AM
89952011-06-30 Alan Mackenzie <acm@muc.de>
8996
1fa280a3
LM
8997 * progmodes/cc-engine.el (c-guess-continued-construct):
8998 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8999 lock is disabled. Name this case as "CASE G".
9000
68ba37fb
KM
90012011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9002
9003 * allout.el (allout-yank-processing): Fix injection of extra space
9004 between bullet and non-whitespace character in first topic when
9005 pasting, ensuring that the actual spacing in the pasted topic
9006 following the bullet char is preserved. This extra space was
9007 causing pasted encrypted topics to get a decrypted status even
9008 when the content was actually still encrypted. Now the decryption
9009 status from before the paste is preserved.
9010
9011 (allout-flag-region): Set all allout overlays so they evaporate
9012 when reduced to zero length (evanescent), to prevent overlay
9013 leakage.
9014
887a0b34
GM
90152011-06-30 Glenn Morris <rgm@gnu.org>
9016
94b9acce
GM
9017 * w32-fns.el (w32-charset-info-alist): Declare.
9018
1d9b46d4
GM
9019 * find-dired.el (find-grep-options): Simplify.
9020
cc232200
GM
9021 * term/ns-win.el (ns-set-resource): Declare.
9022
28e77c46
GM
9023 * ses.el (row, col): Declare dynamic variables honestly.
9024
887a0b34
GM
9025 * textmodes/reftex-parse.el (index-tags): Declare.
9026
658d8eb8
CY
90272011-06-30 Chong Yidong <cyd@stupidchicken.com>
9028
9029 * cus-edit.el (customize-push-and-save): New function.
9030
9031 * files.el (hack-local-variables-confirm): Use it.
9032
1fa280a3
LM
9033 * custom.el (load-theme): New arg NO-CONFIRM.
9034 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9035 (custom-enabled-themes): Doc fix.
9036
9037 * cus-theme.el (customize-create-theme)
9038 (custom-theme-merge-theme): Callers to load-theme changed.
9039
bb617717
LMI
90402011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9041
d61bdd5d
LMI
9042 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9043 short URLs have at least one dot in them (bug #7614).
9044
bb617717
LMI
9045 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9046 nil, because using a pty is apparently too slow (bug #895).
9047
2f31f37a
LMI
90482011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9049
9050 * mail/sendmail.el (sendmail-query-once): New function.
9051 (sendmail-query-once-function): New variable.
9052
3076b24e
GM
90532011-06-29 Glenn Morris <rgm@gnu.org>
9054
faf2a174
GM
9055 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9056
3076b24e
GM
9057 * ses.el (top-level): Require cl when compiling.
9058 (ses-set-localvars): Fix error statement.
9059 Call it at compile time to silence a storm of warnings.
9060
5386012d
MR
90612011-06-29 Martin Rudalics <rudalics@gmx.at>
9062
9063 * window.el (normalize-live-buffer): Rename to
9064 window-normalize-buffer.
9065 (normalize-live-frame): Rename to window-normalize-frame.
9066 (normalize-any-window): Rename to window-normalize-any-window.
9067 (normalize-live-window): Rename to window-normalize-live-window.
9068 (make-window-atom): Rename to window-make-atom.
9069 (window-resize-reset): Rename to window--resize-reset.
9070 (window-resize-reset-1): Rename to window--resize-reset-1.
9071 (resize-mini-window): Rename to window--resize-mini-window.
9072 (resize-subwindows-skip-p): Rename to
9073 window--resize-subwindows-skip-p.
9074 (resize-subwindows-normal): Rename to
9075 window--resize-subwindows-normal.
9076 (resize-subwindows): Rename to window--resize-subwindows.
9077 (resize-other-windows): Rename to window--resize-siblings.
9078 (resize-this-window): Rename to window--resize-this-window.
9079 (resize-root-window): Rename to window--resize-root-window.
9080 (resize-root-window-vertically): Rename to
9081 window--resize-root-window-vertically.
9082 (normalize-buffer-to-display): Rename to
9083 window-normalize-buffer-to-display.
9084 (normalize-buffer-to-switch-to): Rename to
9085 window-normalize-buffer-to-switch-to.
9086 Correspondingly update all callers of the functions listed
9087 above.
9088 (display-buffer-alist, display-buffer-normalize-arguments)
9089 (display-buffer-normalize-options, display-buffer)
9090 (display-buffer-alist-set): Use "function" instead of
9091 "fun-with-args".
9092
1176868d
CY
90932011-06-28 Chong Yidong <cyd@stupidchicken.com>
9094
9095 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9096 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9097 debbugs.gnu.org. Mention acknowledgment email.
9098
20a7a65f
LMI
90992011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9100
9101 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9102 buffer multibyteness, since it shouldn't matter.
9103
5f45cca5
MR
91042011-06-28 Martin Rudalics <rudalics@gmx.at>
9105
9106 * window.el (display-buffer-in-side-window): Handle dedicated
9107 windows as in display-buffer-reuse-window.
9108 (display-buffer-normalize-alist): Use value of override
9109 specifier.
9110 (display-buffer-normalize-specifiers): Use value of
9111 other-window-means-other-frame specifier.
9112 (display-buffer-alist): Rewrite some texts in widgets.
9113 (display-buffer): Spread arguments when calling function
9114 specified by fun-with-args.
9115
ad85fe1f
DD
91162011-06-28 Deniz Dogan <deniz@dogan.se>
9117
1fa280a3
LM
9118 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9119 Unnest `let'.
da68c4c8 9120
ad85fe1f
DD
9121 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9122 selectors (Bug#5732).
ec49bd31 9123 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9124
a08cc025
JA
91252011-06-27 Jari Aalto <jari.aalto@cante.net>
9126
9127 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9128 (eshell-ls-date-format): New defcustom.
9129 (eshell-ls-file): Use it.
9130
e2b551c5
SM
91312011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9134
8982b231
KY
91352011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9136
9137 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9138 (ange-ftp-make-tmp-name): New arg.
9139 (ange-ftp-file-local-copy): Use it.
9140
36c9fa27
J
91412011-06-27 Jambunathan K <kjambunathan@gmail.com>
9142
9143 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9144 no-conversion (Bug#8870).
9145
d68443dc
MR
91462011-06-27 Martin Rudalics <rudalics@gmx.at>
9147
9148 * window.el (window-right, window-left, window-child)
9149 (window-child-count, window-last-child)
9150 (window-iso-combination-p, walk-window-tree-1)
9151 (window-atom-check-1, window-tree-1, delete-window)
9152 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9153 new naming conventions - window-vchild, window-hchild,
9154 window-next and window-prev are now called window-top-child,
9155 window-left-child, window-next-sibling and window-prev-sibling
9156 respectively.
d615d6d2
MR
9157 (resize-window-reset): Rename to window-resize-reset.
9158 (resize-window-reset-1): Rename to window-resize-reset-1.
9159 (resize-window): Rename to window-resize.
9160 (window-min-height, window-min-width)
9161 (resize-mini-window, resize-this-window, resize-root-window)
9162 (resize-root-window-vertically, adjust-window-trailing-edge)
9163 (enlarge-window, shrink-window, maximize-window)
9164 (minimize-window, delete-window, quit-restore-window)
9165 (split-window, balance-windows, balance-windows-area-adjust)
9166 (balance-windows-area, window-state-put-2)
9167 (display-buffer-even-window-sizes, display-buffer-set-height)
9168 (display-buffer-set-width, set-window-text-height)
9169 (fit-window-to-buffer): Rename all "resize-window" prefixed
9170 calls to use the "window-resize" prefix convention.
9171 (display-buffer-alist): Fix symbol for label specifier.
9172 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9173 corresponding specifier.
9174 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9175
b6458526
VB
91762011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9177
9178 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9179 convention.
9180 (ses-call-printer): Does not pass an empty string to formatter when the
9181 cell is empty to keep from barking printer Calc math-format-value.
9182
d31fd9ac
RS
91832011-06-27 Richard Stallman <rms@gnu.org>
9184
43d5bf84
RS
9185 * battery.el (battery-mode-line-limit): New variable.
9186 (battery-update): Handle it.
9187
d31fd9ac
RS
9188 * mail/rmailmm.el (rmail-mime-process-multipart):
9189 Handle truncated messages.
9190
819a6054
GM
91912011-06-27 Glenn Morris <rgm@gnu.org>
9192
9193 * progmodes/flymake.el (flymake-err-line-patterns):
9194 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9195
cedc73f2
VB
91962011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9197
819a6054 9198 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9199 (ses--clean-!, ses--clean-_): New functions.
9200 (ses-range): Add configurability of readout order, and conversion
9201 to Calc vector.
9202
5e5d49b6
VB
9203 * ses.el (ses-repair-cell-reference-all): New function.
9204 (ses-cell-symbol): Set macro as safe, so that it can be used in
9205 formulas.
9206
56e6cc31 9207 * ses.el: Update cycle detection algorithm.
90ca8b49 9208 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9209 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9210 (ses-set-localvars): New function.
9211 (ses-make-cell): Add property-list as a cell element.
9212 (ses-cell-property-get-fun, ses-cell-property-get)
9213 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9214 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9215 New functions.
90ca8b49
VB
9216 (ses-cell-property-set, ses-cell-property-pop)
9217 (ses-cell-property-get-handle): New macro.
9218 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9219 New aliases, used for code readability.
9220 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9221 cycle detection.
9222 (ses-self-reference-early-detection): New defcustom.
fac916bf 9223 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9224 (ses-mode): Use ses-set-localvars.
9225 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9226 before lauching the update processing.
9227 (ses-initialize-Dijkstra-attempt): New function.
9228 (ses-recalculate-cell): Update for cycle detection based on
9229 Dijkstra algorithm.
9230
2bb63e81
VB
9231 * ses.el: Fix commenting and indenting convention.
9232
c9d29fb8
SM
92332011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9234
9235 * bs.el (bs-cycle-next): Complete last change.
9236
d8e4b68b
JB
92372011-06-27 Drew Adams <drew.adams@oracle.com>
9238
9239 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9240
40098786
LMI
92412011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9242
c9d29fb8
SM
9243 * net/network-stream.el (network-stream-open-starttls):
9244 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9245 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9246
40098786
LMI
9247 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9248 to binary to possibly avoid line encoding issues on Windows (among
9249 other things).
9250
468d09d4
LMI
92512011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9252
9253 * net/network-stream.el (open-network-stream): Return an :error
9254 saying what the problem was, if possible.
9255
9256 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9257 server.
9258
9259 * net/network-stream.el (network-stream-open-starttls): If we
9260 wanted to use STARTTLS, and the server offered it, but we weren't
9261 able to because we had no STARTTLS support, then close the connection.
9262 (open-network-stream): Return an :error element, if present.
9263
16f07dd7
CY
92642011-06-26 Chong Yidong <cyd@stupidchicken.com>
9265
88821ca0
CY
9266 * hl-line.el (hl-line-sticky-flag): Doc fix.
9267 (global-hl-line-sticky-flag): New option (Bug#8323).
9268 (global-hl-line-highlight): Obey it.
9269
16f07dd7
CY
9270 * vc/vc.el (vc-revert-show-diff): Default to t.
9271
6b5ccddf
KM
92722011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9273
c9d29fb8
SM
9274 * allout-widgets.el (allout-widgets-post-command-business):
9275 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9276 undecorated when an isearch is continued past, and isearch
9277 automatically collapses them. This leads to "widget leaks", where
9278 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9279 hidden widgets can slow down cursor travel, substantially.
9280 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9281 so we're doing without this nicety.
9282
9283 (allout-widgets-tally-string): Don't try to do a hash-table-count
9284 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9285 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9286 *Messages* when allout-widgets-maintain-tally is t.
9287
355f2e07
MR
92882011-06-26 Martin Rudalics <rudalics@gmx.at>
9289
9290 * window.el (display-buffer-normalize-argument): Rename to
9291 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9292 LABEL argument. Respect special-display-function when popping up
9293 a new frame. Fix code searching for a window showing the buffer
9294 on another frame.
c9d29fb8
SM
9295 (display-buffer-normalize-specifiers):
9296 Call display-buffer-normalize-arguments.
355f2e07
MR
9297 (display-buffer-in-window): Don't undedicate the window if its
9298 buffer remains the same.
9299 Reported by Drew Adams <drew.adams@oracle.com>.
9300 (display-buffer-alist): Add choice for same-window macro
9301 specfier.
9302 (display-buffer): Mention special meaning of LABEL argument in
9303 doc-string. Fix quoting. Don't pop up a new frame even as
9304 fallback.
9305
7ca8fc42
JB
93062011-06-26 Juanma Barranquero <lekktu@gmail.com>
9307
9308 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9309 avoid deleting the current window in some cases (bug#8911).
9310
bc312254
AS
93112011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9312
9313 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9314 (Bug#8934)
9315
2db18f3f
LMI
93162011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9317
c9d29fb8
SM
9318 * net/network-stream.el (network-stream-open-starttls):
9319 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9320 (network-stream-open-tls): Ditto.
9321
6302e0d3
LL
93222011-06-26 Leo Liu <sdl.web@gmail.com>
9323
9324 * register.el (registerv): New struct.
9325 (registerv-make): New function.
c9d29fb8
SM
9326 (jump-to-register, describe-register-1, insert-register):
9327 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9328 struct. (Bug#8415)
9329
5fdd4046
CY
93302011-06-26 Chong Yidong <cyd@stupidchicken.com>
9331
2afef60a
CY
9332 * vc/vc.el (vc-revert-show-diff): New defcustom.
9333 (vc-diff-internal): New arg specifying diff buffer.
9334 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9335 reuse an existing *vc-diff* buffer (Bug#8927).
9336
5fdd4046
CY
9337 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9338
e93db24a
GM
93392011-06-26 Glenn Morris <rgm@gnu.org>
9340
9341 * progmodes/f90.el (f90-critical-indent): New option.
9342 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9343 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9344 (f90-mode): Doc fix.
9345 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9346 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9347 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9348 (f90-match-end): Handle block, critical.
9349
eefff499
GM
93502011-06-25 Glenn Morris <rgm@gnu.org>
9351
f6ba4cc9
GM
9352 * calendar/diary-lib.el (diary-included-files): Doc fix.
9353 (diary-include-files): New function, extracted from
9354 diary-include-other-diary-files and diary-mark-included-diary-files.
9355 (diary-include-other-diary-files, diary-mark-included-diary-files):
9356 Just call diary-include-files.
9357 (diary-mark-entries): Reset diary-included-files on first call.
9358
16712304
GM
9359 * calendar/diary-lib.el (diary-mark-entries)
9360 (diary-mark-included-diary-files):
9361 Visit included diary-files in temp buffers.
9362
5d8e0d43
GM
9363 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9364 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9365 (f90-start-block-re, f90-imenu-generic-expression)
9366 (f90-looking-at-program-block-start, f90-no-block-limit):
9367 Add support for submodules.
9368
ccf7a5d5
GM
9369 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9370 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9371
11fdef7d 93722011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9373
9374 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9375 buffer-file-type before setting its value, to avoid disastrous
eefff499 9376 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9377
74f53697
JB
93782011-06-25 Juanma Barranquero <lekktu@gmail.com>
9379
9380 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9381
9382 * ses.el (ses-unload-function):
9383 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9384
9385 * proced.el (proced-unload-function):
9386 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9387
18a4ce5e
AR
93882011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9389
9390 * server.el (server-create-window-system-frame): Add parameters arg.
9391 (server-process-filter): Doc fix. Handle frame-parameters.
9392
519d22cc
JB
93932011-06-25 Juanma Barranquero <lekktu@gmail.com>
9394
9395 Fix bug#8730, bug#8781.
9396
9397 * loadhist.el (unload--set-major-mode): New function.
9398 (unload-feature): Use it.
9399
9400 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9401 (python-unload-function): New function.
9402
c206f5b0
SM
94032011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9405 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9406
f9ad64f3
GS
94072011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9408
9409 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9410 the candidates list.
9411
7d0da90e
JB
94122011-06-24 Juanma Barranquero <lekktu@gmail.com>
9413
9414 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9415
14b4e83d
RS
94162011-06-23 Richard Stallman <rms@gnu.org>
9417
9418 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9419 (rmail-variables): Set next-error-move-function.
9420 (rmail-what-message): Take argument POS.
9421 (rmail-next-error-move): New function.
9422
273d2baf
SM
94232011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9426 messages for adjacent non-terminals.
9427
56c2cc9a
RS
94282011-06-23 Richard Stallman <rms@gnu.org>
9429
9430 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9431 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9432 (rmail-start-mail): Don't specify use of rmail-mail-return;
9433 that's done by mail-bury now.
9434 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9435
d59eb518
MA
94362011-06-23 Michael Albinus <michael.albinus@gmx.de>
9437
9438 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9439 SIZE is a number.
9440
02cfc6d6
MR
94412011-06-23 Martin Rudalics <rudalics@gmx.at>
9442
9443 * window.el (get-lru-window, get-mru-window)
9444 (get-largest-window): Never return a minibuffer window.
9445 (display-buffer-pop-up-window): Fix a bug that could lead to
9446 reusing the minibuffer window.
9447 (display-buffer): Pass original specifier argument to
9448 display-buffer-function instead of the normalized one.
9449 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9450
4e323265
LL
94512011-06-22 Leo Liu <sdl.web@gmail.com>
9452
9453 * minibuffer.el (completing-read-function)
9454 (completing-read-default): Move from minibuf.c
9455
7a70468f
RS
94562011-06-22 Richard Stallman <rms@gnu.org>
9457
50718fc2
RS
9458 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9459 to Rmail even if not started by a special Rmail command.
9460
7a70468f
RS
9461 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9462 Copy the buffer currently showing just one message.
9463
297dde5a
RW
94642011-06-22 Roland Winkler <winkler@gnu.org>
9465
9466 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9467 (bibtex-clean-entry): First delete the old key so that a
9468 customized algorithm for generating the new key does not get
9469 confused by the old key.
9470 (bibtex-url): Obey regexp of first step.
9471 (bibtex-search-entries): Do not use add-to-list with local
9472 list-var.
9473
97bb1093
LMI
94742011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9475
9476 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9477 stored a user name, then query for the password first, instead of
9478 waiting for SMTP to give an error message and the trying again.
9479
1c0f1a19
JD
94802011-06-22 Lawrence Mitchell <wence@gmx.li>
9481
9482 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9483 BUFFER in call-process.
9484
396f7c9d
LMI
94852011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9486
9487 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9488 QUIT twice.
ddb7ffee
LMI
9489 (smtpmail-try-auth-methods): Require user name and password from
9490 auth-source.
396f7c9d 9491
8998d1b3
MR
94922011-06-22 Martin Rudalics <rudalics@gmx.at>
9493
9494 * window.el (display-buffer-default-specifiers)
9495 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9496 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9497 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9498
9499 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9500 (special-display-frame-alist, special-display-popup-frame):
9501 Remove duplicate declarations. These are now in window.el.
9502
4ea31e07
LMI
95032011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9504
c9d29fb8
SM
9505 * mail/smtpmail.el (smtpmail-via-smtp):
9506 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9507 server supports it. SMTP servers that support STARTTLS commonly
9508 require it.
9509
9510 * net/network-stream.el (network-stream-open-starttls): Support
9511 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9512 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9513
95f41d9a
LMI
9514 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9515 upgrades with `open-network-stream', and rely solely on
9516 auth-source for all credentials. Big changes throughout the file,
9517 but in particular:
c9d29fb8
SM
9518 (smtpmail-auth-credentials): Remove.
9519 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9520 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9521 MAIL FROM, too.
95f41d9a 9522
c9d29fb8
SM
9523 * net/network-stream.el (network-stream-open-starttls):
9524 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9525 STARTTLS.
9526 (auth-source): Require.
9527 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9528 (network-stream-certificate): Change cert-cert to cert and
9529 cert-key to key.
4ea31e07 9530
065ec2c7
MA
95312011-06-21 Michael Albinus <michael.albinus@gmx.de>
9532
9533 * net/tramp-cache.el (top): Don't load the persistency file when
9534 "emacs -Q" has been called.
9535
cd93b359
DR
95362011-06-21 Tim Harper <timcharper@gmail.com>
9537
d8e4b68b
JB
9538 * term/ns-win.el (ns-initialize-window-system):
9539 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9540 resource to NO as it is not yet supported by the NS port.
9541
ae9c0411
JB
95422011-06-21 Juanma Barranquero <lekktu@gmail.com>
9543
9544 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9545 (list-dynamic-libraries): ...not here.
9546
7f3f739f
LL
95472011-06-21 Leo Liu <sdl.web@gmail.com>
9548
9549 * subr.el (sha1): Implement sha1 using secure-hash.
9550
327c8fb1
MR
95512011-06-21 Martin Rudalics <rudalics@gmx.at>
9552
9553 * window.el (display-buffer-alist): In default value do not
9554 enforce searching a window on any but the selected frame.
9555 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9556 (display-buffer-select-window): Remove function.
9557 (display-buffer-in-window): When a window on another frame gets
9558 reused, do not select it any more but just raise its frame if
9559 necessary (Bug#8851) and (Bug#8856).
9560 (display-buffer-normalize-options): Handle pop-up-frames related
9561 options more faithfully.
9562 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9563 window if it is on another frame.
c9d29fb8
SM
9564 (display-buffer-alist, display-buffer-default-specifiers):
9565 Don't make new frame unsplittable by default.
9e9de014
MR
9566 (display-buffer-normalize-argument): Fix doc-string typo and use
9567 'same-frame-other-window instead of 'other-window when associating
9568 with display-buffer-macro-specifiers.
327c8fb1 9569
7cf3f556
VB
95702011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9571
9572 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9573 New functions.
9574 (5x5-mode-map, 5x5-mode-menu): Bind them.
9575 (5x5-draw-grid): Tweak the solver's rendering.
9576
60a406cf
SM
95772011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9580 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9581
d8e4b68b 95822011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9583
9584 * menu-bar.el: Use function variable instead of switch-to-buffer.
9585 (menu-bar-select-buffer-function): New variable.
60a406cf 9586 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9587
478d6f95
SM
95882011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9591 variable's status.
9592
ca530739
JD
95932011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9594
9595 * x-dnd.el (x-dnd-version-from-flags)
9596 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9597 and long as number (Bug#8899).
9598 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9599
bcd70d97
SM
96002011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9601
60a406cf 9602 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9603 (completion-try-completion, completion-all-completions): Compute the
9604 metadata argument if it's missing; make it optional (bug#8795).
9605
60a406cf 9606 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9607 (widget-complete): Use new :completion-function property.
9608 (widget-completions-at-point): New function.
9609 (default): Use :completion-function instead of :complete.
60a406cf
SM
9610 (widget-default-completions): Rename from widget-default-complete;
9611 Rewrite.
bcd70d97
SM
9612 (widget-string-complete, widget-file-complete, widget-color-complete):
9613 Remove functions.
9614 (file, symbol, function, variable, coding-system, color):
9615 * international/mule-cmds.el (default-input-method, charset)
9616 (language-info-custom-alist):
9617 * cus-edit.el (face): Use new property :completions.
9618
9619 * progmodes/pascal.el (pascal-completions-at-point): New function.
9620 (pascal-mode): Use it.
9621 (pascal-mode-map): Use completion-at-point.
9622 (pascal-toggle-completions): Make obsolete.
9623 (pascal-complete-word, pascal-show-completions):
9624 * progmodes/octave-mod.el (octave-complete-symbol):
9625 Redefine as obsolete alias.
9626 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9627 Signal absence of completion info for old Octave,
9628 (inferior-octave-complete): Redefine as obsolete alias.
9629 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9630 (meta-completions-at-point): Rename from meta-complete-symbol and
9631 adapt it for use on completion-at-point-functions.
9632 (meta-common-mode): Use it.
9633 (meta-looking-at-backward, meta-match-buffer): Remove.
9634 (meta-complete-symbol): Redefine as obsolete alias.
9635 (meta-common-mode-map): Use completion-at-point.
9636 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9637 (makefile-mode-map): Use completion-at-point.
9638 (makefile-completions-at-point): Rename from makefile-complete and
9639 adapt it for use on completion-at-point-functions.
9640 (makefile-mode): Use it.
9641 (makefile-complete): Redefine as obsolete alias.
9642
aebf69c8
DD
96432011-06-20 Deniz Dogan <deniz@dogan.se>
9644
9645 * net/rcirc.el: Delete trailing whitespaces once and for all.
9646
bfbbb27d
DC
96472011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9648
9649 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9650
d264a46b
CY
96512011-06-19 Chong Yidong <cyd@stupidchicken.com>
9652
4ca009e5
CY
9653 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9654
d264a46b
CY
9655 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9656
fbf5b3ce
MR
96572011-06-19 Martin Rudalics <rudalics@gmx.at>
9658
9659 * window.el (display-buffer-other-window-means-other-frame):
9660 Call display-buffer-normalize-alist.
9661 (display-buffer-normalize-specifiers-1): Rename to
9662 display-buffer-normalize-argument. New argument other-frame.
9663 Rewrite.
9664 (display-buffer-normalize-specifiers-2): Rename to
9665 display-buffer-normalize-options.
9666 (display-buffer-normalize-alist-1): New function.
9667 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9668 display-buffer-normalize-alist.
9669 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9670 (display-buffer-normalize-options-inhibit): New variable.
9671 (display-buffer-normalize-specifiers): Rewrite calling
9672 display-buffer-normalize-alist,
9673 display-buffer-normalize-argument, and
9674 display-buffer-normalize-options. Don't call the latter if
9675 display-buffer-normalize-options-inhibit is non-nil.
9676 (frame-auto-delete): New option.
9677 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9678 (window-list-no-nils, window-state-ignored-parameters)
9679 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9680 (window-state-put-1, window-state-put-2, window-state-put):
9681 New functions.
9a028c23
MR
9682 (display-buffer-normalize-options): Move special-display-p group
9683 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9684
6d10d800
CY
96852011-06-18 Chong Yidong <cyd@stupidchicken.com>
9686
6420d28b
CY
9687 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9688 groups (Bug#8776).
9689 (rx-submatch-n): New function.
9690 (rx): Document it.
9691
ddb8b596
CY
9692 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9693 (Bug#8768).
9694
9695 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9696
77080289
CY
9697 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9698
61dfb316
CY
9699 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9700 anytime existing face settings are present (Bug#8889).
9701
6d10d800
CY
9702 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9703 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9704 Remove unused argument.
9705
be3fb2b8
MR
97062011-06-18 Martin Rudalics <rudalics@gmx.at>
9707
bcd70d97
SM
9708 * window.el (display-buffer-default-specifiers):
9709 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9710 pop-up-window-min-width, and another reuse-window specifier
9711 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9712 (display-buffer-normalize-specifiers-2):
9713 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9714 pop-up-windows is unset. Add a reuse-window specifier for the
9715 case popping up a new window fails.
9716 (special-display-popup-frame): Remove double quoting.
28dec25a 9717 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9718
1c6d8c76
SM
97192011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9722 according to comint-completion-addsuffix.
9723
9724 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9725 (pcomplete-suffix-list): Mark as obsolete.
9726 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9727 pcomplete-seen in the closure.
9728 (pcomplete-comint-setup): Setup completion-at-point as well.
9729 (pcomplete--entries): New function.
9730 (pcomplete--env-regexp): New var.
9731 (pcomplete-entries): Rewrite to work with partial-completion and
9732 without relying on pcomplete-suffix-list.
9733 (pcomplete-pare-list): Remove, unused.
9734
25aef8b8
MR
97352011-06-17 Martin Rudalics <rudalics@gmx.at>
9736
9737 * window.el (display-buffer-alist): Set pop-up-window-min-height
9738 and pop-up-window-min-width in default value. Reported by
9739 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9740 other-window-means-other-frame.
9741 (display-buffer-macro-specifiers): Comment out entry for
9742 other-window specifier.
9743 (display-buffer-other-window-means-other-frame): New function.
9744 (display-buffer-normalize-specifiers-1): New arguments
9745 buffer-name and label. Treat other-window case specially.
9746 (display-buffer-normalize-specifiers-2): Treat other-window case
9747 specially.
9748 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9749 (display-buffer-normalize-specifiers):
9750 Call display-buffer-normalize-specifiers-3.
25aef8b8 9751
dbad4f69
MR
97522011-06-17 Martin Rudalics <rudalics@gmx.at>
9753
9754 * window.el (same-window-p): Fix two typos introduced when
9755 adding with-no-warnings.
d1067961
MR
9756 (display-buffer-normalize-specifiers-1): Don't check
9757 pop-up-frames for 'unset initialization.
9758 (display-buffer-normalize-specifiers-2): Major rewrite using
9759 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9760 (pop-up-frames, display-buffer-reuse-frames)
9761 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9762 Suggested by David Engster <deng@randomsample.de>.
9763 (even-window-heights): Initialize to 'unset.
9764 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9765 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9766 other window case.
dbad4f69 9767
9b9c9e3a
MR
97682011-06-16 Martin Rudalics <rudalics@gmx.at>
9769
bcd70d97
SM
9770 * window.el (display-buffer-normalize-specifiers-1):
9771 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9772 second argument of display-buffer (Bug#8865).
981d5c09
MR
9773 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9774 (switch-to-buffer-other-window-same-frame)
9775 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9776 Adams (Bug#8875).
9c2755e9
MR
9777 (display-buffer): Don't check noninteractive when calling
9778 display-buffer-pop-up-frame.
9779 (display-buffer-pop-up-frame): Never pop up a frame in
9780 noninteractive mode (Bug#8857).
67222e1d
MR
9781 (enlarge-window, shrink-window): Don't report an error when the
9782 window can't be resized as requested (Bug#8862).
9b9c9e3a 9783
2b75be67
SM
97842011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9785
9ffdd3ba
SM
9786 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9787
cb581a67
SM
9788 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9789
2b75be67
SM
9790 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9791
8c0e3589
AM
97922011-06-15 Alan Mackenzie <acm@muc.de>
9793
cb581a67
SM
9794 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9795 for declarators, disable knr checking to speed up for normal files.
9796 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9797
b96e6cde
LMI
97982011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9799
4bba86e6
LMI
9800 * net/network-stream.el (open-network-stream): Add the keyword
9801 :always-query-capabilities for the case where you want to force a
9802 `plain' network connection, but the protocol still requires the
9803 capabilitiy command (i.e., SMTP and EHLO).
9804
2b75be67 9805 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9806 consistency with other `-live-p' functions.
9807
efdcdbf8
SM
98082011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * window.el (same-window-buffer-names, same-window-regexps)
9811 (special-display-frame-alist, special-display-popup-frame)
9812 (special-display-function, special-display-buffer-names)
9813 (special-display-regexps, pop-up-frame-alist)
9814 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9815 (pop-up-windows, split-window-preferred-function)
9816 (split-height-threshold, split-width-threshold, even-window-heights)
9817 (display-buffer-mark-dedicated): Don't encourage the use of
9818 display-buffer-alist from Elisp code.
9819
c5cde042
DN
98202011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9821
9822 * progmodes/python.el (python-mode): Derive from prog-mode.
9823 * progmodes/ps-mode.el (ps-mode):
9824 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9825 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9826 * progmodes/ld-script.el (ld-script-mode): Likewise.
9827
baa1c9ab
MR
98282011-06-15 Martin Rudalics <rudalics@gmx.at>
9829
9830 * window.el (display-buffer-alist): Trim default value to avoid
9831 popping up a new frame (Bug#8857) or reusing an arbitrary window
9832 on another frame.
9833 (display-buffer): Do not fall back on popping up a new frame in
9834 batch mode (Bug#8857).
9835
c5dd5a51
CY
98362011-06-14 Chong Yidong <cyd@stupidchicken.com>
9837
9838 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9839 (custom-theme-summary): New function.
9840 (customize-themes): Use it.
9841
d647b7c4
GM
98422011-06-13 Glenn Morris <rgm@gnu.org>
9843
9844 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9845
9481c002
MR
98462011-06-13 Martin Rudalics <rudalics@gmx.at>
9847
357f93d2
MR
9848 * help.el (help-window): Remove variable.
9849 (help-window-point-marker, temp-buffer-max-height)
9850 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9851 (help-print-return-message): Don't set help-window.
9852 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9853 (help-window-setup-finish): Remove.
9854 (help-window-display-message, help-window-setup)
9855 (with-help-window): Major rewrite based on new
9856 display-buffer-window variable.
9857
9858 * help-mode.el (help-mode-finish): Remove help-window related
9859 code.
9860
9861 * view.el (view-exits-all-viewing-windows): Remove reference to
9862 view-return-to-alist in doc-string.
9863 (view-return-to-alist): Make obsolete.
9864 (view-buffer): Call pop-to-buffer-same-window and remove
9865 undo-window code.
9866 (view-buffer-other-window): Call pop-to-buffer-other-window and
9867 simplify code. Ignore second argument.
9868 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9869 simplify code. Ignore second argument.
9870 (view-return-to-alist-update): Make obsolete.
9871 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9872 Rewrite using quit-restore window parameters.
2b75be67
SM
9873 (view-mode-exit): Rename second argument to EXIT-ONLY.
9874 Rewrite using quit-restore-window.
357f93d2
MR
9875 (View-exit, View-exit-and-edit, View-leave, View-quit)
9876 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9877 appropriate arguments.
9878 (view-end-message): Use quit-restore window parameter.
9879
9481c002
MR
9880 * window.el (display-buffer-function): Rewrite doc-string.
9881 (display-buffer-window, display-buffer-alist): New variables.
9882 (display-buffer-split-specifiers)
9883 (display-buffer-side-specifiers)
9884 (display-buffer-macro-specifiers): New constants.
9885 (display-buffer-even-window-sizes, display-buffer-set-height)
9886 (display-buffer-set-width, display-buffer-select-window)
9887 (display-buffer-in-window, display-buffer-reuse-window)
9888 (display-buffer-split-window-1, display-buffer-split-window)
9889 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9890 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9891 (display-buffer-in-side-window, normalize-buffer-to-display)
9892 (display-buffer-normalize-specifiers-1)
9893 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9894 (display-buffer-normalize-specifiers, display-buffer-frame):
9895 New functions.
9481c002
MR
9896 (display-buffer): Major rewrite.
9897 (display-buffer-other-window, display-buffer-other-frame)
9898 (pop-to-buffer, switch-to-buffer-other-window)
9899 (switch-to-buffer-other-frame): Rewrite.
9900 (display-buffer-same-window, display-buffer-same-frame)
9901 (display-buffer-same-frame-other-window)
9902 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9903 (pop-to-buffer-other-window)
9904 (pop-to-buffer-same-frame-other-window)
9905 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9906 (switch-to-buffer-other-window-same-frame): New functions.
9907 (same-window-p, special-display-p): Rewrite disabling warnings.
9908 Make obsolete.
9909 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9910 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9911 Make obsolete
9912 (same-window-buffer-names, same-window-regexps)
9913 (special-display-frame-alist, special-display-popup-frame)
9914 (special-display-function, special-display-buffer-names)
9915 (special-display-regexps, pop-up-frame-alist)
9916 (pop-up-frame-function, split-window-preferred-function)
9917 (split-height-threshold, split-width-threshold)
9918 (even-window-heights): Make obsolete.
9919
9db51aca
GM
99202011-06-12 Glenn Morris <rgm@gnu.org>
9921
9922 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9923 Misc simplifications.
9db51aca 9924
39cffb44
MR
99252011-06-12 Martin Rudalics <rudalics@gmx.at>
9926
9927 * window.el (window-safely-shrinkable-p): Restore function which
9928 was inadvertently removed in change from 2011-06-11. Declare as
9929 obsolete.
9930
2b75be67
SM
9931 * calendar/calendar.el (calendar-generate-window):
9932 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9933 window-safely-shrinkable-p.
9934
a8955be7
GM
99352011-06-12 Glenn Morris <rgm@gnu.org>
9936
9937 * progmodes/fortran.el (fortran-mode-syntax-table):
9938 * progmodes/f90.el (f90-mode-syntax-table):
9939 Set % to punctuation. (Bug#8820)
9940 (f90-find-tag-default): Remove, no longer needed.
9941
f0d4059d
DC
99422011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9943
9944 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9945
1100a63c
CY
99462011-06-11 Chong Yidong <cyd@stupidchicken.com>
9947
9948 * image.el (image-animated-p): Return animation delay in seconds.
9949 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9950 (image-animate-timeout): Remove DELAY argument. Don't assume
9951 every subimage has the same delay; get it from image-animated-p.
9952 (image-animate): Caller changed.
9953
def722bf
MA
99542011-06-11 Michael Albinus <michael.albinus@gmx.de>
9955
9956 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9957 to ignored backtrace functions.
9958
0a2bb1a9
GM
99592011-06-11 Glenn Morris <rgm@gnu.org>
9960
9961 * calendar/appt.el (appt-disp-window-function): Doc fix.
9962 (appt-check): Handle overlapping appointments. (Bug#8337)
9963
6198ccd0
MR
99642011-06-11 Martin Rudalics <rudalics@gmx.at>
9965
9966 * window.el (window-tree-1, window-tree): New functions, moving
9967 the latter to window.el.
9968 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9969 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9970 (bw-refresh-edges): Remove.
9971 (balance-windows-1, balance-windows-2): New functions.
9972 (balance-windows): Rewrite in terms of window tree functions,
9973 balance-windows-1 and balance-windows-2.
9974 (bw-adjust-window): Remove.
9975 (balance-windows-area-adjust): New function with functionality of
9976 bw-adjust-window but using resize-window.
2b75be67
SM
9977 (set-window-text-height): Rewrite doc-string.
9978 Use normalize-live-window and resize-window.
9979 (enlarge-window-horizontally, shrink-window-horizontally):
9980 Rename argument to DELTA.
6198ccd0
MR
9981 (window-buffer-height): New function.
9982 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9983 Rewrite using new window resize routines.
2b75be67
SM
9984 (kill-buffer-and-window, mouse-autoselect-window-select):
9985 Use ignore-errors instead of condition-case.
6198ccd0
MR
9986 (quit-window): Call delete-frame instead of delete-windows-on
9987 for the only buffer on frame.
9988
9397e56f
MR
99892011-06-10 Martin Rudalics <rudalics@gmx.at>
9990
9991 * loadup.el (top-level): Load window before files for the sake
9992 of replace-buffer-in-windows.
9993
9994 * files.el (read-buffer-to-switch)
9995 (switch-to-buffer-other-window)
2b75be67
SM
9996 (switch-to-buffer-other-frame, display-buffer-other-frame):
9997 Move to window.el.
9397e56f
MR
9998
9999 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10000 (previous-buffer): Move to window.el.
10001
10002 * bindings.el (unbury-buffer): Move to window.el.
10003
10004 * window.el (delete-other-windows-vertically): Move after
10005 definition of delete-other-windows.
10006 (other-window, delete-windows-on, replace-buffer-in-windows):
10007 Move here from window.c.
10008 (record-window-buffer, unrecord-window-buffer)
10009 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10010 (switch-to-next-buffer): New functions.
10011 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10012 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10013 (previous-buffer): Move here from simple.el.
10014 Call switch-to-prev-buffer.
9397e56f
MR
10015 (bury-buffer): Move here from buffer.c. Switch to previous
10016 buffer when window cannot be deleted.
10017 (unbury-buffer): Move here from bindings.el.
10018 (ctl-x-map): Move binding for other-window from window.c to
10019 here.
10020 (read-buffer-to-switch, switch-to-buffer-other-window)
10021 (switch-to-buffer-other-frame): Move here from files.el.
10022 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10023 (switch-to-buffer): Move here from buffer.c.
10024 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10025
562dd5e9
MR
100262011-06-10 Martin Rudalics <rudalics@gmx.at>
10027
10028 * window.el (window-min-height, window-min-width): Move here
10029 from window.c. Add defcustoms and rewrite doc-strings.
10030 (resize-mini-window, resize-window): New functions.
10031 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10032 Move here from window.c.
10033 (maximize-window, minimize-window): New functions.
10034 (delete-window, delete-other-windows, split-window): Move here
10035 from window.c.
10036 (window-split-min-size): New function.
10037 (split-window-keep-point): Mention split-window-above-each-other
10038 instead of split-window-vertically.
2b75be67 10039 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10040 Rename split-window-vertically to split-window-above-each-other
10041 and provide defalias for old definition.
10042 (split-window-side-by-side, split-window-horizontally):
10043 Rename split-window-horizontally to split-window-side-by-side
10044 and provide defalias for the old definition.
562dd5e9
MR
10045 (ctl-x-map): Move bindings for delete-window,
10046 delete-other-windows and enlarge-window here from window.c.
10047 Replace bindings for split-window-vertically and
10048 split-window-horizontally by bindings for
10049 split-window-above-each-other and split-window-side-by-side.
10050
10051 * cus-start.el (all): Remove entries for window-min-height and
10052 window-min-width. Add entries for window-splits and
10053 window-nest.
10054
f0da764a
GM
100552011-06-09 Glenn Morris <rgm@gnu.org>
10056
80675c21
GM
10057 * calendar/appt.el (appt-mode-line): New function.
10058 (appt-check, appt-disp-window): Use it.
10059
f0da764a
GM
10060 * files.el (hack-one-local-variable-eval-safep):
10061 Allow minor-modes with explicit +/-1 arguments.
10062
59f623b7
TZ
100632011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10064
10065 * term/xterm.el (xterm): Add defgroup.
10066 (xterm-extra-capabilities): Add defcustom to supply known xterm
10067 capabilities, skip querying them, or query them (default).
10068 (terminal-init-xterm): Use it.
10069 (terminal-init-xterm-modify-other-keys): New function to set up
10070 modifyOtherKeys support to simplify `terminal-init-xterm'.
10071
9aab8e0d
MR
100722011-06-09 Martin Rudalics <rudalics@gmx.at>
10073
10074 * window.el (resize-window-reset, resize-window-reset-1)
10075 (resize-subwindows-skip-p, resize-subwindows-normal)
10076 (resize-subwindows, resize-other-windows, resize-this-window)
10077 (resize-root-window, resize-root-window-vertically)
10078 (window-deletable-p, window-or-subwindow-p)
10079 (frame-root-window-p): New functions.
10080
e8b08aee
GM
100812011-06-09 Glenn Morris <rgm@gnu.org>
10082
10083 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10084 (ange-ftp-get-files): Use it.
10085
254c37a5
AK
100862011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10087
10088 * mail/sendmail.el (mail-recover-1, mail-recover):
10089 * files.el (recover-file, recover-session):
10090 Handle dired-listing-switches not being just a single short option.
10091
35d7dbd3
GM
100922011-06-09 Glenn Morris <rgm@gnu.org>
10093
10094 * calendar/appt.el (appt-display-message, appt-disp-window):
10095 Handle lists of appointments.
10096
387522b2
MR
100972011-06-08 Martin Rudalics <rudalics@gmx.at>
10098
2b75be67
SM
10099 * window.el (one-window-p): Move down in code.
10100 Rewrite doc-string.
10101 (window-current-scroll-bars): Rewrite doc-string.
10102 Normalize live window argument.
387522b2
MR
10103 (walk-windows, get-window-with-predicate, count-windows):
10104 Rewrite doc-string. Use window-list-1.
10105 (window-in-direction-2, window-in-direction, get-mru-window):
10106 New functions.
10107
d8e4b68b 101082011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10109
10110 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10111 Doc fix (Bug#8713).
10112
101132011-06-08 Chong Yidong <cyd@stupidchicken.com>
10114
10115 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10116
101172011-06-08 Juanma Barranquero <lekktu@gmail.com>
10118
10119 * loadhist.el (unload-feature-special-hooks):
10120 Add `comint-output-filter-functions'.
10121
0de12c52
IK
101222011-06-08 Ivan Kanis <gnu@kanis.fr>
10123
10124 * calendar/appt.el (appt-check): Move some initializations into the let.
10125
f3d1777e
MR
101262011-06-08 Martin Rudalics <rudalics@gmx.at>
10127
10128 * window.el (window-height): Defalias to window-total-height.
10129 (window-width): Defalias to window-body-width.
10130
18af70d0
CY
101312011-06-07 Chong Yidong <cyd@stupidchicken.com>
10132
10133 * image-mode.el (image-toggle-animation): New command.
10134 (image-mode-map): Bind it to RET.
10135 (image-mode): Update message.
10136 (image-toggle-display-image): Avoid a spurious cache flush.
10137 (image-transform-rotation): Doc fix.
10138 (image-transform-properties): Return quickly in the normal case.
10139 (image-animate-loop): Rename from image-animate-max-time.
10140
2b75be67 10141 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10142 (create-animated-image): Remove unnecessary function.
10143 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10144 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10145 (image-animate-timer): Use car-safe.
10146 (image-animate-timeout): Rename argument.
10147
190b47e6
MR
101482011-06-07 Martin Rudalics <rudalics@gmx.at>
10149
10150 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10151 window.c. Rename first argument to ALL-FRAMES.
10152 Rephrase doc-strings.
10153 (get-buffer-window-list): Rewrite using window-list-1.
10154 Rephrase doc-string.
a1511caf
MR
10155 (window-safe-min-height, window-safe-min-width): New constants.
10156 (window-size-ignore, window-min-size, window-min-size-1)
10157 (window-sizable, window-sizable-p, window-size-fixed-1)
10158 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10159 (window-max-delta-1, window-max-delta, window-resizable)
10160 (window-resizable-p, window-total-height, window-total-width)
10161 (window-body-width): New functions.
10162 (window-full-height-p, window-full-width-p): Rewrite using
10163 window-total-size.
10164 (window-body-height): Rewrite using window-body-size.
190b47e6 10165
85cc1f11
MR
101662011-06-06 Martin Rudalics <rudalics@gmx.at>
10167
10168 * window.el (window-right, window-left, window-child)
10169 (window-child-count, window-last-child, window-any-p)
10170 (normalize-live-buffer, normalize-live-frame)
10171 (normalize-any-window, normalize-live-window)
10172 (window-iso-combination-p, window-iso-combined-p)
10173 (window-iso-combinations)
10174 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10175 (windows-with-parameter, window-with-parameter)
10176 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10177 (window-atom-check, window-side-check, window-check):
10178 New functions.
85cc1f11
MR
10179 (ignore-window-parameters, window-sides, window-sides-vertical)
10180 (window-sides-slots): New variables.
10181 (window-size-fixed): Move down in code. Minor doc-string fix.
10182
e7156492
AS
101832011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10184
10185 * comint.el (comint-dynamic-complete-as-filename)
10186 (comint-dynamic-complete-filename): Correctly call
10187 completion-in-region.
10188
7e821d0d
DD
101892011-06-05 Deniz Dogan <deniz@dogan.se>
10190
10191 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10192 in last change.
10193
ac09b8a1
DD
101942011-06-05 Deniz Dogan <deniz@dogan.se>
10195
10196 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10197 (rcirc): Use it to prompt for encryption.
10198
34699b85
RW
101992011-06-05 Roland Winkler <winkler@gnu.org>
10200
10201 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10202 (bibtex-search-entries): New command bound to C-c C-a.
10203 (bibtex-display-entries): New function.
10204
004dedd3
RW
102052011-06-05 Roland Winkler <winkler@gnu.org>
10206
10207 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10208 (bibtex-insert-kill): After yanking insert newline if necessary.
10209 (bibtex-initialize): Call bibtex-string-files-init only once.
10210 (bibtex-mode): Do not call easy-menu-add.
10211 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10212 (bibtex-yank): Set arg properly if nil.
10213
022fe7ce
RW
102142011-06-05 Roland Winkler <winkler@gnu.org>
10215
2b75be67
SM
10216 * textmodes/bibtex.el (bibtex-search-entry-globally):
10217 New variable.
022fe7ce
RW
10218 (bibtex-search-entry): Use it.
10219
b7c3692a
RW
102202011-06-05 Roland Winkler <winkler@gnu.org>
10221
10222 * textmodes/bibtex.el (bibtex-entry-format): New option
10223 sort-fields.
10224 (bibtex-format-entry, bibtex-reformat): Honor this option.
10225 (bibtex-parse-entry): Return fields in proper order.
10226
8eda563d
JB
102272011-06-05 Juanma Barranquero <lekktu@gmail.com>
10228
10229 * doc-view.el (doc-view-remove-if): Move computation of result out
10230 of `dolist' to silence misleading lexical-binding warning.
10231
7dbe3dbc
CY
102322011-06-04 Chong Yidong <cyd@stupidchicken.com>
10233
10234 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10235 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10236
0c33dd17
MA
102372011-06-04 Michael Albinus <michael.albinus@gmx.de>
10238
10239 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10240 "SunOS 5.10".
10241
f8f91c2b
MA
102422011-06-04 Michael Albinus <michael.albinus@gmx.de>
10243
10244 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10245 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10246 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10247 (tramp-parse-putty):
10248 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10249 (tramp-completion-function-alist-ssh)
10250 (tramp-completion-function-alist-telnet)
10251 (tramp-completion-function-alist-su)
10252 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10253 cookie.
10254
10255 * net/tramp-ftp.el:
10256 * net/tramp-sh.el:
10257 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10258 load "tramp.el" `tramp-set-completion-function'.
10259
e17d9003
SM
102602011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10261
10262 * shell.el: Require and use pcomplete.
10263 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10264 (shell-completion-vars): Set pcomplete-default-completion-function.
10265
6c4cab03
DD
102662011-06-04 Deniz Dogan <deniz@dogan.se>
10267
10268 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10269 `memq' (Bug#8799).
10270
ea9fafe0
SM
102712011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10272
10273 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10274
b3e945d3
JB
102752011-06-02 Juanma Barranquero <lekktu@gmail.com>
10276
10277 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10278 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10279 * vc/log-view.el (log-view-beginning-of-defun):
10280 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10281 (smerge-refine-forward, smerge-refine-chopup-region):
10282 Silence warning for unused `dotimes' counter variables.
10283
7d520089
SM
102842011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10285
10286 * net/tramp.el (tramp-with-progress-reporter): Rename from
10287 with-progress-reporter. Use `declare'.
10288 * net/tramp-smb.el:
10289 * net/tramp-sh.el:
10290 * net/tramp-gvfs.el: Update all uses.
10291
a1c2400f
JB
102922011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10293
10294 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10295 buffer isn't killed before making it current.
10296
2403c841
SM
102972011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10298
10299 Silence various byte-compiler warnings.
10300 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10301 `access-type' and new obsolescence format.
10302 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10303 new format.
10304 (byte-compile-check-variable): New `access-type' argument.
10305 Only warn if the access-type is obsolete.
10306 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10307 (byte-compile-variable-set): Adjust callers.
10308 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10309 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10310 setting it as obsolete.
10311 * simple.el (minibuffer-completing-symbol):
10312 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10313 access as obsolete.
10314 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10315 obsolete yet.
10316 * international/quail.el (quail-mouse-choose-completion): Remove unused
10317 code referring to obsolete var.
10318 (quail-choose-completion-string): Remove.
10319 * server.el (server-clients-with, server-kill-buffer-query-function)
10320 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10321 * proced.el (proced-send-signal):
10322 * emacs-lisp/lisp.el (lisp-complete-symbol):
10323 Replace completion-annotate-function with completion-extra-properties.
10324
2462470b
SM
103252011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10326
fb5b2591
SM
10327 * simple.el (goto-line): Use read-number.
10328 (overriding-map-is-bound): Remove.
10329 (saved-overriding-map): Change default.
10330 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10331 Take the map as argument.
10332 (universal-argument, negative-argument, digit-argument): Use it.
10333 (restore-overriding-map): Adjust.
10334 (do-auto-fill): Use fill-forward-paragraph.
10335 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10336
fd6fa53f
SM
10337 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10338 (minibuffer-inactive-mode): New major mode.
10339 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10340 the *Messages* buffer" hack.
10341 (mouse-popup-menubar): Don't burp if the event is a normal key.
10342
2462470b
SM
10343 Miscellaneous tweaks.
10344 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10345 lexical scoping as in subr.el's dolist and dotimes.
10346 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10347 Silence compiler warning.
10348 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10349 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10350 * international/ccl.el (ccl-compile): Trivial simplification.
10351 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10352 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10353 `printflag' argument.
10354 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10355 Purecopy the whole obsolescence data.
10356
108bf785
LL
103572011-06-01 Leo Liu <sdl.web@gmail.com>
10358
10359 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10360 improve doc-string as suggested by Marco Pessotto
10361 <melmothx@gmail.com>.
10362 (rcirc-print): Fix last change.
10363
30a23501
SM
103642011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10365
10366 * minibuffer.el (complete-with-action): Return nil for the metadata and
10367 boundaries of non-functional tables.
10368 (completion-table-dynamic): Return nil for the metadata.
10369 (completion-table-with-terminator): Add default case, using
10370 complete-with-action.
10371 (completion--metadata): New function.
10372 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10373 to try and avoid pathological performance problems.
10374 (completion--embedded-envvar-table): Return `category' metadata.
10375
bcd54f83
LMI
103762011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10377
10378 * subr.el (process-alive-p): New tiny convenience function.
10379
e227544d
SM
103802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10383 content but also its previous major mode.
10384
e8296fdc
HE
103852011-05-31 Helmut Eller <eller.helmut@gmail.com>
10386
4d61f28d 10387 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10388 *Backtrace* buffer when we exit with C-M-c.
10389
620c53a6
SM
103902011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10391
10392 * minibuffer.el: Add metadata method to completion tables.
10393 (completion-category-overrides): New defcustom.
10394 (completion-metadata, completion--field-metadata)
10395 (completion-metadata-get, completion--styles)
10396 (completion--cycle-threshold): New functions.
10397 (completion-try-completion, completion-all-completions):
10398 Add `metadata' argument to choose completion-styles.
10399 (completion--do-completion): Use metadata to choose cycling.
10400 (completion-all-sorted-completions): Use metadata for sorting.
10401 Remove :completion-cycle-penalty which is not needed any more.
10402 (completion--try-word-completion): Add `metadata' argument.
10403 (minibuffer-completion-help): Check metadata for annotation function
10404 and sorting.
10405 (completion-file-name-table): Return `category' metadata.
10406 (minibuffer-completing-file-name): Make obsolete.
10407 * simple.el (minibuffer-completing-symbol): Make obsolete.
10408 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10409 completion-try-completion.
10410
1257e755
SM
104112011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10412
10413 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10414
3767e706
LL
104152011-05-30 Leo Liu <sdl.web@gmail.com>
10416
10417 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10418 (rcirc-print): Decode all incoming messages (bug#8744).
10419 (rcirc-decode-coding-system): Allow value nil for automatic coding
10420 system detection.
3767e706 10421
d1a5d56a
GM
104222011-06-01 Glenn Morris <rgm@gnu.org>
10423
10424 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10425
e8cbec34
CY
104262011-05-29 Chong Yidong <cyd@stupidchicken.com>
10427
10428 * image.el (image-animate-max-time): Allow nil and t values.
10429 Default to nil.
10430 (create-animated-image): Doc fix.
10431 (image-animate-start): Remove second arg; just use
10432 image-animate-max-time.
10433 (image-animate-timeout): Doc fix. Args changed.
10434
10435 * image-mode.el (image-toggle-display-image): Ensure that the
10436 image spec passed to the animate timer is the same object as in
58179cce 10437 the buffer's display property (Bug#6981).
e8cbec34
CY
10438 (image-transform-properties): Doc fix.
10439
10440 * image.el (image-animate-max-time): Default to nil.
10441
159daf87
MR
104422011-05-29 Martin Rudalics <rudalics@gmx.at>
10443
10444 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10445 entire buffer list (Bug#8184).
10446
d66c4c7c
CY
104472011-05-29 Chong Yidong <cyd@stupidchicken.com>
10448
10449 * image.el (imagemagick-types-inhibit)
10450 (imagemagick-register-types): Doc fix.
10451
80aec780
DD
104522011-05-29 Deniz Dogan <deniz@dogan.se>
10453
10454 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10455 default.
10456
1dd3c2d9
CY
104572011-05-29 Chong Yidong <cyd@stupidchicken.com>
10458
10459 * select.el: Don't perform clipboard-manager saving in hooks;
10460 leave the hooks empty.
10461
60e56523
LL
104622011-05-28 Leo Liu <sdl.web@gmail.com>
10463
10464 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10465 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10466 (occur-edit-mode): New major mode (Bug#8463).
10467 (occur-after-change-function): New function.
10468 (occur-engine): Give Occur tags a read-only property.
10469
2b1e1a22
KR
104702011-05-28 Kevin Ryde <user42@zip.com.au>
10471
10472 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10473
5d344e88
CY
104742011-05-28 Chong Yidong <cyd@stupidchicken.com>
10475
8e6ca83d
CY
10476 * bindings.el (help-echo): Make the initial non-indicator dash
10477 empty on graphical terminals (Bug#7295).
10478
5d344e88
CY
10479 * files.el (auto-mode-alist): Move config rule after the
10480 in-stripping one (Bug#8547).
10481
bfbbace7
CY
10482 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10483
fbeba6e2
CY
10484 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10485 setting (Bug#8740).
10486
60ed8c72
AA
104872011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10488
4ac619f0
AA
10489 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10490 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10491 (Bug#8539).
60ed8c72 10492
23db196e
CY
104932011-05-28 Chong Yidong <cyd@stupidchicken.com>
10494
10495 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10496
5012f24c
DK
104972011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10498
10499 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10500 (hs-hide-block-at-point, hs-find-block-beginning)
10501 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10502 (Bug#8279).
10503
6a639b16
GM
105042011-05-28 Glenn Morris <rgm@gnu.org>
10505
10506 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10507
d43eaf2c
CY
105082011-05-28 Chong Yidong <cyd@stupidchicken.com>
10509
5199bde1
CY
10510 * help-fns.el (describe-function-1): If the function is a derived
10511 major mode, print the parent mode.
10512
d43eaf2c
CY
10513 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10514 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10515
423428a8
SM
105162011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10517
0ff8e1ba 10518 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10519 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10520 * progmodes/etags.el (tags-completion-at-point-function):
10521 * info-look.el (info-lookup-completions-at-point): Mark as
10522 non-exclusive.
10523 (info-complete): Adjust accordingly.
10524
423428a8
SM
10525 * info-look.el: Convert to lexical-binding and completion-at-point.
10526 (info-lookup-completions-at-point): New function.
10527 (info-complete): Use it and completion-in-region.
10528
b74aa22b
DA
105292011-05-28 Drew Adams <drew.adams@oracle.com>
10530
10531 * isearch.el: Let M-e start with point at the first mismatched char.
10532 (isearch-fail-pos): New function.
10533 (isearch-edit-string): Use it.
10534
66e2e71d
DK
105352011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10536
10537 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10538
b1890b0f 105392011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10540
10541 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10542 traversal functions for avl-trees.
10543 (avl-tree--stack): New struct.
10544 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10545 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10546 (avl-tree--do-enter): Add optional `updatefun' arg.
10547 Change return value.
eb95d01d 10548 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10549 (avl-tree--do-delete): Add `test' and `nilflag' args.
10550 Change return value.
eb95d01d
TC
10551 (avl-tree-member): Add optional `nilflag'
10552 (avl-tree-member-p): New function.
10553 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10554 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10555 (avl-tree-stack-empty-p): New functions.
10556
3769ddcf
TC
10557 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10558 avl-tree--del-balance1 and make it work both ways.
10559 (avl-tree--del-balance2): Remove.
10560 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10561 make it work both ways.
10562 (avl-tree--enter-balance2): Remove.
10563 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10564 New macros.
10565 (avl-tree--mapc, avl-tree-map): Add direction argument.
10566
eb95d01d 105672011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10568
10569 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10570
a9f737ee
CY
105712011-05-27 Chong Yidong <cyd@stupidchicken.com>
10572
10573 * select.el: Support clipboard managers with built-in function
10574 x-clipboard-manager-save, via delete-frame-functions and
10575 kill-emacs-hook.
10576 (xselect-convert-to-targets): Add MULTIPLE target to list.
10577 (xselect-convert-to-save-targets): New function.
10578
c92a1e54
KH
105792011-05-27 Kenichi Handa <handa@m17n.org>
10580
10581 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10582 let-binding rfc2047-encode-encoded-words to nil.
10583
e145f188
GM
105842011-05-27 Glenn Morris <rgm@gnu.org>
10585
5ec8a862
GM
10586 * mail/emacsbug.el: Don't require url-util.
10587
4b29d9fb
GM
10588 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10589
e145f188
GM
10590 * files.el (set-auto-mode):
10591 Also respect mode: entries at the end of the file. (Bug#8586)
10592
7d15102b
GM
105932011-05-26 Glenn Morris <rgm@gnu.org>
10594
98f593b8
GM
10595 * files.el (hack-local-variables-prop-line, hack-local-variables):
10596 Downcase mode names, as seems to be traditional.
27b48e63 10597 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10598
7d15102b
GM
10599 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10600 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10601
51d5b4ec
JD
106022011-05-25 Julien Danjou <julien@danjou.info>
10603
10604 * textmodes/rst.el (rst-define-level-faces): Do not define face
10605 symbol if it is already defined.
10606
91513f63
VB
106072011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10608
10609 * play/5x5.el (5x5-new-game, 5x5-randomize):
10610 Reset 5x5-solver-output to nil when a new grid is cast.
10611 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10612 these debugging traces, as defmacro breaks the compiled code.
10613
4d90d6d0
DK
106142011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10615
10616 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10617
e1b90ef6
LL
106182011-05-24 Leo Liu <sdl.web@gmail.com>
10619
10620 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10621 (vc-bzr-sha1): Adapt.
10622
d8e4b68b 10623 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10624
10625 * bindings.el: Provide sha1 feature.
10626
db0406bb 106272011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10628
10629 * mail/sendmail.el: Require `rfc2047'.
10630 (mail-insert-from-field): Do not perform RFC2047 encoding.
10631 (mail-encode-header): New function.
10632 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10633 buffer to the return value of select-message-coding-system.
10634 Call mail-encode-header.
b8d747b9
KH
10635
10636 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10637
db0406bb 106382011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10639
4d90d6d0
DK
10640 * mail/supercite.el (sc-default-cite-frame):
10641 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10642
eb8a5e9b
GM
106432011-05-24 Glenn Morris <rgm@gnu.org>
10644
f8630703
GM
10645 * progmodes/python.el (brm-menu): Declare.
10646
8831bbed
GM
10647 * emulation/viper.el (viper-set-hooks): Declare.
10648
eb8a5e9b
GM
10649 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10650 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10651 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10652 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10653 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10654 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10655
a2a25d24
SM
106562011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 Add an :exit-function for completion-at-point.
10659
10660 * minibuffer.el (completion--done): New fun.
10661 (completion--do-completion): Use it. New arg `expect-exact'.
10662 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10663 since completion--do-completion does it for us now.
10664 (minibuffer-force-complete): Use completion--done and
10665 completion--replace. Handle sole-completion case with more care.
10666 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10667 (completion-extra-properties): New var.
10668 (completion-annotate-function): Make obsolete.
10669 (minibuffer-completion-help): Adjust accordingly.
10670 Use completion-list-insert-choice-function.
10671 (completion-at-point, completion-help-at-point):
10672 Bind completion-extra-properties.
10673 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10674 * simple.el (completion-list-insert-choice-function): New var.
10675 (completion-setup-function): Preserve it.
10676 (choose-completion): Pay attention to it, shuffle the code a bit.
10677 (choose-completion-string): New arg `insert-function'.
10678
10679 * textmodes/bibtex.el: Convert to lexical binding.
10680 (bibtex-mode-map): Use completion-at-point.
10681 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10682 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10683 (bibtex-complete): Define as obsolete alias.
10684 (bibtex-complete-internal): Remove.
10685 (bibtex-format-entry): Remove unused sub-group in regexp.
10686 * shell.el (shell--command-completion-data)
10687 (shell-environment-variable-completion):
10688 * pcomplete.el (pcomplete-completions-at-point):
10689 * comint.el (comint--complete-file-name-data): Use :exit-function
10690 instead of completion-table-with-terminator so it also works for
10691 choose-completion.
10692
e44e373d
SM
106932011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10694
4f91a816
SM
10695 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10696
782fc819
SM
10697 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10698 (bug#8710).
10699
e44e373d
SM
10700 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10701
381987c3
KM
107022011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10703
10704 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10705 customization variable and implement: If non-nil, auto-fill will
10706 be inhibited while on topic's header line.
10707
b776bc70
VB
107082011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10709
10710 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10711 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10712 always have a solution in grid size = 5 cases.
10713 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10714 (5x5-solver-output, 5x5-log-buffer): New vars.
10715 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10716 Make these variables buffer local to achieve 5x5 multi-session-ness.
10717 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10718 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10719 (5x5-solve-suggest): New funs.
10720 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10721 randomize a grid so that we ensure that there is always a solution.
10722 (5x5-make-random-grid): Allow other movement than flipping.
10723
7de88b6e
KR
107242011-05-23 Kevin Ryde <user42@zip.com.au>
10725
10726 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10727 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10728 advice and passes PREDICATE.
10729
b1ef1257
SM
107302011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10731
bbca48fe
SM
10732 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10733 byte-compile-lambda if it's actually a lambda.
10734
b1ef1257
SM
10735 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10736 Fix function quoting. Use backquote better.
10737
92a9cc65
YS
107382011-05-22 Yuanle Song <sylecn@gmail.com>
10739
10740 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10741 matching (Bug#8516).
10742
f0fb8059
JA
107432011-01-22 Jari Aalto <jari.aalto@cante.net>
10744
10745 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10746 different face (Bug#8178).
10747
d5b44c93
CY
107482011-05-22 Chong Yidong <cyd@stupidchicken.com>
10749
10750 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10751 defface (Bug#8144).
10752
79106a44
SM
107532011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10754
9c848d8a
SM
10755 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10756 funcall as well (bug#8712). Warn when performing those conversions.
10757 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10758
79106a44
SM
10759 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10760
88dfa756
GM
107612011-05-22 Glenn Morris <rgm@gnu.org>
10762
10763 * files.el (hack-local-variables-prop-line): Small simplifications.
10764 (hack-local-variables, hack-local-variables-prop-line):
10765 If MODE-ONLY, return the mode, rather than just `t'.
10766
b7cf2c79
SM
107672011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10768
10769 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10770
3f1a8558
GM
107712011-05-21 Glenn Morris <rgm@gnu.org>
10772
7e4ccca3
GM
10773 * files.el (hack-local-variables-prop-line, hack-local-variables):
10774 If only interested in the mode, don't bother doing the other stuff.
10775
637d46ca
GM
10776 * image-mode.el (image-after-revert-hook):
10777 Redraw all frames on which the image is visible. (Bug#8567)
10778
973d955b
GM
10779 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10780
3f1a8558
GM
10781 * wid-edit.el (widget-checklist-match-inline):
10782 Fix 2011-04-19 change. (Bug#8649)
10783
96479927
SM
107842011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10785
1dcf791f
SM
10786 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10787 Also allow singlespace after single-letter capitals followed by a dot.
10788
96479927
SM
10789 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10790 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10791
35fd0881
N
107922011-05-20 Nix <nix@esperi.org.uk>
10793
10794 * files.el (basic-save-buffer-2):
10795 Fix handling of break-hardlink-on-save with non-existent files.
10796
82745640
DD
107972011-05-19 Deniz Dogan <deniz@dogan.se>
10798
10799 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10800 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10801
4a720484
GM
108022011-05-19 Glenn Morris <rgm@gnu.org>
10803
d1f21341
GM
10804 * progmodes/f90.el (f90-type-def-re):
10805 Handle "type, bind(c)". (Bug#8691)
10806
4a720484
GM
10807 * emacs-lisp/autoload.el (batch-update-autoloads):
10808 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10809
2fb0a219
MA
108102011-05-18 Michael Albinus <michael.albinus@gmx.de>
10811
10812 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10813 property for the correct connection in case of multihops.
10814
e565dd37
GM
108152011-05-18 Glenn Morris <rgm@gnu.org>
10816
c2571358 10817 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10818 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10819
e565dd37
GM
10820 Rationalize calendar handling of day and month abbrev-arrays.
10821 * calendar/calendar.el (calendar-customized-p): New function.
10822 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10823 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10824 Add :set function.
10825 (calendar-abbrev-length, calendar-day-abbrev-array)
10826 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10827 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10828 Elements may no longer be nil.
10829 (calendar-day-name, calendar-month-name):
10830 Update for changed nature of abbrev arrays.
10831 * calendar/diary-lib.el (diary-name-pattern):
10832 Update for changed nature of abbrev arrays.
10833 (diary-mark-entries-1): Update calendar-make-alist calls.
10834 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10835 * calendar/cal-html.el (cal-html-day-abbrev-array):
10836 Simply inherit from calendar-day-abbrev-array.
10837
1d99a745
SM
108382011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * progmodes/grep.el (grep-mode): Disable default
10841 compilation-directory-matcher setting (bug#8684).
10842
7c1d9aa0
MA
108432011-05-17 Michael Albinus <michael.albinus@gmx.de>
10844
10845 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10846 instead of "head" and "tail". There were problems with SunOS 5.9,
10847 and it performs better.
10848
3952e9d8
GM
108492011-05-17 Glenn Morris <rgm@gnu.org>
10850
2dd12e7f
GM
10851 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10852
e4157b9c
GM
10853 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10854 Replace obsolete function.
10855
8e249bbd
GM
10856 * shell.el (pcomplete-parse-arguments-function): Declare.
10857
3952e9d8
GM
10858 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10859 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10860 (appt-check): Doc fixes.
10861 (appt-disp-window-function, appt-delete-window-function):
10862 Remove needless special case in custom :type.
10863 (appt-display-count): Default to 0, not nil.
10864 (appt-check): Reset appt-display-count to 0, not nil.
10865
c71a0d48 108662011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10867
c71a0d48
GM
10868 * progmodes/python.el (python-font-lock-keywords):
10869 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10870
31d55be9
SM
108712011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10872
10873 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10874
3bfacb2f
KR
108752011-05-16 Kevin Ryde <user42@zip.com.au>
10876
10877 * info-look.el (makefile-automake-mode): New setups, looking in
10878 automake manual, then makefile-mode.
10879 (makefile-mode): Remove automake manual, have it just in
10880 makefile-automake-mode since there's various things different or
10881 not relevant to plain make.
10882 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10883 believe a hypothetical automake-mode would go to makefile-mode,
10884 not the other way around.
10885
c8e83751
CY
108862011-05-15 Chong Yidong <cyd@stupidchicken.com>
10887
5e9e35cd
CY
10888 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10889 hunk-end tags (Bug#8672).
10890
c8e83751
CY
10891 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10892 vc-annotate-show-diff-revision-at-line (Bug#8671).
10893
50b23e5a
GM
108942011-05-14 Glenn Morris <rgm@gnu.org>
10895
7210a739
GM
10896 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10897 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10898 (change-log-font-lock-keywords): Also handle multiple author lines
10899 with leading tabs. (Bug#8644)
7210a739 10900
4691905a
GM
10901 * calendar/appt.el (appt-check): Rename some local variables.
10902 Some simplification/reordering.
10903
50b23e5a
GM
10904 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10905 (feedmail-sendmail-f-doesnt-sell-me-out)
10906 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10907 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10908 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10909 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10910 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10911 (feedmail-binmail-gnulinuxish-template):
10912 Rename from feedmail-binmail-linuxish-template.
10913 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10914 Use insert-buffer-substring.
10915
215cda7c
BC
109162011-05-14 Bill Carpenter <bill@carpenter.org>
10917
10918 * mail/feedmail.el (feedmail-patch-level): Increase.
10919 (feedmail-debug): New custom group.
10920 (feedmail-confirm-outgoing-timeout)
10921 (feedmail-sendmail-f-doesnt-sell-me-out)
10922 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10923 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10924 (feedmail-sender-line, feedmail-from-line)
10925 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10926 (feedmail-spray-this-address)
215cda7c
BC
10927 (feedmail-spray-address-fiddle-plex-list)
10928 (feedmail-queue-use-send-time-for-date)
10929 (feedmail-queue-use-send-time-for-message-id)
10930 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10931 (feedmail-buffer-eating-function):
10932 Doc fixes.
10933 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10934 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10935 (feedmail-message-action-scroll-down): New functions.
10936 (feedmail-queue-directory, feedmail-queue-draft-directory):
10937 Use expand-file-name.
10938 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10939 Remove C-v help entry.
10940 (feedmail-queue-buffer-file-name): New variable.
10941 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10942 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10943 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10944 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10945 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10946 (feedmail-message-action-toggle-spray)
10947 (feedmail-run-the-queue-no-prompts)
10948 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10949 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10950 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10951 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10952 (feedmail-envelope-deducer, feedmail-fiddle-from)
10953 (feedmail-fiddle-sender, feedmail-default-date-generator)
10954 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10955 (feedmail-fiddle-spray-address)
10956 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10957 (feedmail-fiddle-list-of-fiddle-plexes)
10958 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10959 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10960 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10961 Change default. Doc fix.
10962 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10963 (feedmail-binmail-linuxish-template): New constant.
10964 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10965 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10966 (feedmail-send-it): Add debug call.
10967 Use feedmail-queue-buffer-file-name, and
10968 feedmail-send-it-immediately-wrapper.
10969 (feedmail-message-action-send): Add debug call.
10970 Use feedmail-send-it-immediately-wrapper.
10971 (feedmail-queue-express-to-queue): Add debug call.
10972 Run feedmail-queue-express-hook.
10973 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10974 (feedmail-message-action-help-blat):
10975 Rename from feedmail-queue-send-edit-prompt-help-first.
10976 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10977 Check line-endings. Handle errors better.
10978 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10979 Doc fix. Add debug call.
10980 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10981 Use feedmail-queue-send-edit-prompt-inner.
10982 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10983 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10984 from feedmail-queue-send-edit-prompt.
10985 (feedmail-queue-send-edit-prompt-help)
10986 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10987 (feedmail-tidy-up-slug): Add debug call.
10988 Respect feedmail-queue-slug-suspect-regexp.
10989 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10990 (feedmail-dump-message-to-queue): Add debug call.
10991 Expand queue-directory.
10992 (feedmail-dump-message-to-queue): Change message slightly.
10993 Use feedmail-say-chatter.
10994 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10995 (feedmail-send-it-immediately-wrapper): New function.
10996 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10997 Insert empty string rather than newline. Handle full-frame case.
10998 Use catch/throw. Use feedmail-say-chatter.
10999 (feedmail-fiddle-from): Try mail-host-address.
11000 (feedmail-default-message-id-generator): Doc fix.
11001 Bind system-time-locale. Handle missing end.
11002 (feedmail-fiddle-x-mailer): Add debug call.
11003 Handle feedmail-x-mailer-line being nil.
11004 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11005 Add debug call. Use buffer-substring-no-properties.
11006 (feedmail-say-debug, feedmail-say-chatter): New functions.
11007 (feedmail-find-eoh): Give an explicit error.
11008
42c7e61e
UJ
110092011-05-13 Ulf Jasper <ulf.jasper@web.de>
11010
c2571358 11011 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11012 family from helvetica to sans.
c2571358 11013 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11014 etc/images/newsticker.
11015
c2571358 11016 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11017 family from helvetica to sans.
11018
11019 * net/newst-plainview.el (newsticker-new-item-face)
11020 (newsticker-old-item-face, newsticker-immortal-item-face)
11021 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11022 (newsticker-statistics-face): Change default family from
42c7e61e 11023 helvetica to sans.
c2571358 11024 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11025 etc/images/newsticker.
11026
5d3385a0
JB
11027 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11028 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11029 auto-marking.
11030
8497a297
DV
110312011-05-13 Didier Verna <didier@xemacs.org>
11032
11033 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11034 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11035 TODO entries.
8497a297
DV
11036 (lisp-lambda-list-keyword-parameter-indentation)
11037 (lisp-lambda-list-keyword-parameter-alignment)
11038 (lisp-lambda-list-keyword-alignment): New customizable user options.
11039 (lisp-indent-defun-method): Improve docstring.
11040 (extended-loop-p): Fix comment.
11041 (lisp-indent-lambda-list-keywords-regexp): New variable.
11042 (lisp-indent-lambda-list): New function.
11043 (lisp-indent-259): Use it.
11044 (lisp-indent-defmethod): Support for more than one
11045 method qualifier and properly indent methods lambda-lists.
11046 (defgeneric): Provide a missing common-lisp-indent-function property.
11047
f278f87f
SM
110482011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11051 bounds for the empty string (bug#8667).
11052
5233edd7
GM
110532011-05-13 Glenn Morris <rgm@gnu.org>
11054
5237a44f
GM
11055 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11056
8340026c 11057 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11058 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11059
5233edd7 11060 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11061 (appt-time-msg-list): Doc fix.
a5464014 11062 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11063
92d10796
AS
110642011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11065
11066 * progmodes/ld-script.el (ld-script-keywords)
11067 (ld-script-builtins): Update keywords list.
11068
914a0ae1
SM
110692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11070
c89be45f
SM
11071 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11072
914a0ae1
SM
11073 * shell.el (shell-completion-vars): New function.
11074 (shell-mode):
11075 * simple.el (read-shell-command): Use it.
11076 (blink-matching-open): No need for " [...]" in minibuffer-message.
11077
98dc3df3
GM
110782011-05-12 Glenn Morris <rgm@gnu.org>
11079
11080 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11081 (appt-check): Simplify.
11082
d2fc7e3d 110832011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11084
4d61f28d 11085 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11086 literal "/dev/null".
11087
d2fc7e3d 110882011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11089
11090 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11091 Fix typo.
11092
d2fc7e3d 110932011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11094
3f254caa
SM
11095 * progmodes/which-func.el (which-function):
11096 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11097 which might not be defined (Bug#8260).
11098
d45885f7
GM
110992011-05-12 Glenn Morris <rgm@gnu.org>
11100
11101 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11102 Let byte-compile-initial-macro-environment always take precedence.
11103
488086f4
SM
111042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11105
11106 * net/rcirc.el: Add support for SSL/TLS connections.
11107 (rcirc-server-alist): New field `encryption'.
11108 (rcirc): Check `encryption' settings.
11109 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11110 Merge make-local-variable into `set'.
11111 (rcirc--connection-open-p): New function.
11112 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11113 the process is not a network process (e.g. running gnutls-cli).
11114 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11115 Make rcirc-(en|de)code-coding-system local here.
11116 (rcirc-mode): Merge make-local-variable into `set'.
11117 (rcirc-parent-buffer): Make permanent buffer-local.
11118 (rcirc-multiline-minor-mode): Don't do it here.
11119 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11120 there's no server buffer.
11121
7d3b9d44
GM
111222011-05-11 Glenn Morris <rgm@gnu.org>
11123
f64049c6
GM
11124 * newcomment.el (comment-kill): Prefix "unused" local.
11125
93c9df73
GM
11126 * term/w32console.el (get-screen-color): Declare.
11127
7d3b9d44
GM
11128 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11129 Handle symbol elements of byte-compile-initial-macro-environment.
11130
9e2dd53f
LL
111312011-05-10 Leo Liu <sdl.web@gmail.com>
11132
488086f4
SM
11133 * bookmark.el (bookmark-bmenu-mode-map):
11134 Bind bookmark-bmenu-search to `/'.
8b340240 11135
9e2dd53f 11136 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11137 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11138 (Footnote-unicode): New function.
11139 (footnote-style-alist): Add unicode style to the list.
11140 (footnote-style): Doc fix.
9e2dd53f 11141
79b70037
GM
111422011-05-10 Jim Meyering <meyering@redhat.com>
11143
11144 Fix doubled-word typos.
11145 * international/quail.el (quail-insert-kbd-layout): and and -> and
11146 * kermit.el: and and -> and
11147 * net/ldap.el (ldap-search-internal): to to -> to
11148 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11149 * progmodes/js.el (js-mode): and and -> and
11150 * textmodes/artist.el (artist-move-to-xy): at at -> at
11151 (artist-draw-region-trim-line-endings): if if -> if
11152 And Safetyc -> Safety.
11153 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11154
b8f82dc1 111552011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11156 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11157
11158 * files.el (hack-one-local-variable-eval-safep):
11159 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11160
4f99f44b
GM
111612011-05-10 Glenn Morris <rgm@gnu.org>
11162
11163 * calendar/diary-lib.el (diary-list-entries-hook)
11164 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11165 (diary-nongregorian-marking-hook, diary-list-entries)
11166 (diary-include-other-diary-files, diary-mark-entries)
11167 (diary-mark-included-diary-files): Doc fixes.
11168
84f29e6b
JB
111692011-05-09 Juanma Barranquero <lekktu@gmail.com>
11170
11171 * misc.el: Require tabulated-list.el during compilation.
11172
9bedd73a
CY
111732011-05-09 Chong Yidong <cyd@stupidchicken.com>
11174
488086f4
SM
11175 * progmodes/compile.el (compilation-start):
11176 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11177 (compilation-filter-hook): Doc fix.
11178
797c735c
DD
111792011-05-09 Deniz Dogan <deniz@dogan.se>
11180
11181 * wdired.el: Remove outdated installation comment. Fix usage
11182 comment.
11183
5f4b1dfe
JB
111842011-05-09 Juanma Barranquero <lekktu@gmail.com>
11185
11186 * misc.el: Implement new command `list-dynamic-libraries'.
11187 (list-dynamic-libraries--loaded-only-p): New variable.
11188 (list-dynamic-libraries--refresh): New function.
11189 (list-dynamic-libraries): New command.
11190
4c44026c
CY
111912011-05-09 Chong Yidong <cyd@stupidchicken.com>
11192
488086f4
SM
11193 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11194 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11195 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11196 higher priority to avoid clobbering by gnu.
11197
027f966d
CY
111982011-05-08 Chong Yidong <cyd@stupidchicken.com>
11199
11200 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11201 if the face has existing theme settings (Bug#8454).
11202
085f5d7d
CY
112032011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11204
488086f4
SM
11205 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11206 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11207
2a86a00c
RS
11208 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11209 special file names `.' and `..' (Bug#8259).
11210
d9c54a06
CY
112112011-05-08 Chong Yidong <cyd@stupidchicken.com>
11212
488086f4
SM
11213 * progmodes/grep.el (grep-mode-font-lock-keywords):
11214 Remove buffer-changing entries.
d9c54a06
CY
11215 (grep-filter): New function.
11216 (grep-mode): Add it to compilation-filter-hook.
11217
11218 * progmodes/compile.el (compilation-filter-hook)
11219 (compilation-filter-start): New defvars.
11220 (compilation-filter): Call compilation-filter-hook prior to
11221 updating the process mark.
11222
c4662635
SM
112232011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11226
b0512a1d
EZ
112272011-05-07 Eli Zaretskii <eliz@gnu.org>
11228
605c9376
EZ
11229 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11230 mailclient-send-it even if window-system is nil. (Bug#8595)
11231
c4662635
SM
11232 * term/w32console.el (terminal-init-w32console):
11233 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11234 background-mode. (Bug#8597)
11235
d1dc2cc2
SM
112362011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11237
11238 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11239 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11240 New functions.
11241 (defgeneric, eieio--defmethod): Use them.
11242 (eieio-defgeneric): Remove.
11243 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11244
915d1300
GM
112452011-05-07 Glenn Morris <rgm@gnu.org>
11246
a3961c3e
GM
11247 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11248 Use let rather than let*.
11249 (timeclock-find-discrep): Remove unused local.
11250
314347b9
GM
11251 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11252
915d1300
GM
11253 * calendar/appt.el (appt-time-msg-list): Doc fix.
11254
275b59b0
NF
112552011-05-06 Noah Friedman <friedman@splode.com>
11256
11257 * apropos.el (apropos-print-doc): Only use
11258 emacs-lisp-docstring-fill-column when it is bound to an integer,
11259 per that variable's documentation.
11260
6c19f744
SM
112612011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11262
11263 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11264 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11265
60f884b2
GM
112662011-05-06 Glenn Morris <rgm@gnu.org>
11267
5006e634
GM
11268 * calendar/appt.el (appt-message-warning-time): Doc fix.
11269 (appt-warning-time-regexp): New option.
11270 (appt-make-list): Respect appt-message-warning-time.
11271
548d0a63
GM
11272 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11273 New options.
11274 (diary-add-to-list): Strip comments from the displayed string.
11275 (diary-mode): Set comment-start and comment-end.
11276
60f884b2
GM
11277 * vc/diff-mode.el (smerge-refine-subst): Declare.
11278 (diff-refine-hunk): Don't require smerge-mode when compiling.
11279
989681bb
JB
112802011-05-06 Juanma Barranquero <lekktu@gmail.com>
11281
11282 * simple.el (list-processes): Return nil as the docstring says.
11283
a6bc05e1
MA
112842011-05-05 Michael Albinus <michael.albinus@gmx.de>
11285
11286 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11287 to "".
11288 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11289 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11290 determining of binary transfer. (Bug#7383)
11291
23c22e9a
MA
112922011-05-05 Michael Albinus <michael.albinus@gmx.de>
11293
c4662635
SM
11294 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11295 Fix port computation bug. (Bug#8618)
23c22e9a 11296
0bff894f
GM
112972011-05-05 Glenn Morris <rgm@gnu.org>
11298
b8296902
GM
11299 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11300
1f522ce8
GM
11301 * simple.el (shell-dynamic-complete-functions)
11302 (comint-dynamic-complete-functions): Declare.
11303
cf5bee67
GM
11304 * net/network-stream.el (gnutls-negotiate):
11305 * simple.el (tabulated-list-print): Fix declarations.
11306
11307 * progmodes/gud.el (syntax-symbol, syntax-point):
11308 Remove unnecessary and incorrect declarations.
11309
0bff894f
GM
11310 * emacs-lisp/check-declare.el (check-declare-scan):
11311 Handle byte-compile-initial-macro-environment in bytecomp.el
11312
9869b3ae
SM
113132011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11314
11315 Fix earlier half-done eieio-defmethod change (bug#8338).
11316 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11317 Streamline and change calling convention.
11318 (defmethod): Adjust accordingly and simplify.
11319 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11320 new eieio--defmethod.
11321 (slot-boundp): Minor CSE simplification.
11322
9c1d5ac5
MZ
113232011-05-05 Milan Zamazal <pdm@zamazal.org>
11324
11325 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11326 (glasses-make-readable): Use glasses-separate-capital-groups.
11327
455c834e
JB
113282011-05-05 Juanma Barranquero <lekktu@gmail.com>
11329
11330 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11331 (warning-series): Doc fix.
11332 (display-warning): Don't try to create the buffer if we just found it.
11333
9ed7c8cb
CY
113342011-05-04 Chong Yidong <cyd@stupidchicken.com>
11335
11336 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11337 (autoload-find-generated-file): New function.
11338 (generate-file-autoloads): Bind generated-autoload-file to
11339 buffer-file-name.
9869b3ae
SM
11340 (update-file-autoloads, update-directory-autoloads):
11341 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11342 output file (Bug#7989).
11343 (batch-update-autoloads): Doc fix.
11344
0898ca10
JB
113452011-05-04 Juanma Barranquero <lekktu@gmail.com>
11346
11347 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11348
31dfb76c
GM
113492011-05-04 Glenn Morris <rgm@gnu.org>
11350
f330b642
GM
11351 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11352 function, so it follows changes in calendar-date-style.
11353 (diary-fancy-date-matcher): New function.
11354 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11355 (diary-fancy-font-lock-fontify-region-function):
11356 Use diary-fancy-date-pattern as a function.
11357
31dfb76c
GM
11358 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11359 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11360
48e79d6a
TZ
113612011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11362
11363 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11364 instead of positional arguments. Allow :keylist and :crlfiles
11365 arguments.
11366 (open-gnutls-stream): Call it.
11367
11368 * net/network-stream.el (network-stream-open-starttls): Adjust to
11369 call `gnutls-negotiate' with :process and :hostname arguments.
11370
dd5a5ee0
SM
113712011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11372
ef80fc09
SM
11373 * minibuffer.el (completion--message): New function.
11374 (completion--do-completion, minibuffer-complete)
11375 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11376 (completion--do-completion): Don't ignore completion-auto-help when in
11377 icomplete-mode.
11378
dd5a5ee0
SM
11379 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11380 internal encoding (e.g. tibetan zero is not whitespace).
11381 (global-whitespace-mode): Prefer save-current-buffer.
11382 (whitespace-trailing-regexp): Remove useless save-match-data.
11383 (whitespace-empty-at-bob-regexp): Minor simplification.
11384
b7d22a83
CY
113852011-05-03 Chong Yidong <cyd@stupidchicken.com>
11386
11387 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11388
5192af46
AM
113892011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11390
11391 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11392 Use `concat' to create string for insertion.
5192af46 11393
5767d190
SM
113942011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11397 Avoid open-line which runs post-self-insert-hook.
11398 (bibtex-fill-entry): Remove unused `end' var.
11399
bf242939
AM
114002011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11401
5767d190
SM
11402 * textmodes/ispell.el (ispell-add-per-file-word-list):
11403 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11404
25666126
LL
114052011-05-03 Leo Liu <sdl.web@gmail.com>
11406
11407 * isearch.el (isearch-yank-pop): New command.
5767d190 11408 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11409 (isearch-forward): Mention it.
11410
52d3c2d0
SM
114112011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11412
1bcace58
SM
11413 * simple.el (minibuffer-complete-shell-command): Remove.
11414 (minibuffer-local-shell-command-map): Use completion-at-point.
11415 (read-shell-command): Setup completion vars here instead.
11416 (read-expression-map): Bind TAB to symbol completion.
11417
52d3c2d0
SM
11418 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11419 error directly rather via storing it into `results'.
11420
35813471
LL
114212011-05-02 Leo Liu <sdl.web@gmail.com>
11422
11423 * vc/diff.el: Fix description.
11424
e793a940
LMI
114252011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11426
11427 * server.el (server-eval-at): New function.
11428
8de66e05
LMI
114292011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11430
11431 * net/network-stream.el (open-network-stream): Take a :nowait
11432 parameter and pass it on to `make-network-process'.
11433 (network-stream-open-plain): Ditto.
11434
dcb79f20
AS
114352011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11436
11437 * faces.el (face-spec-set-match-display): Don't match toolkit
11438 options on terminal frames.
11439
14a7fbd8
SM
114402011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11441
7eabc1be
SM
11442 * progmodes/pascal.el: Use lexical binding.
11443 (pascal-mode-map): Remove author preferences.
11444
14a7fbd8
SM
11445 * pcomplete.el (pcomplete-std-complete): Don't abuse
11446 completion-at-point.
11447
50f84510
JB
114482011-04-28 Juanma Barranquero <lekktu@gmail.com>
11449
6e087a44
JB
11450 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11451 removing code that has been dead since 1991 or so.
11452
50f84510
JB
11453 * startup.el (command-line): When warning about "_emacs", use a
11454 delayed warning to allow the user to filter it out.
11455
0ba690bd
DD
114562011-04-28 Deniz Dogan <deniz@dogan.se>
11457
11458 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11459 user has not joined.
11460
08abfaad
SM
114612011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11462
11463 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11464 aren't any completions at point.
11465
638f053a
JB
114662011-04-28 Juanma Barranquero <lekktu@gmail.com>
11467
11468 * subr.el (display-delayed-warnings): New function.
11469 (delayed-warnings-hook): New variable.
11470
8fff8daa
SM
114712011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11472
08abfaad
SM
11473 * minibuffer.el (completion-at-point, completion-help-at-point):
11474 Don't presume that a given completion-at-point-function will always
11475 use the same calling convention.
11476
8fff8daa
SM
11477 * pcomplete.el (pcomplete-completions-at-point):
11478 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11479 pcomplete-seen is non-nil.
11480 (pcomplete-comint-setup): Also recognize the new comint/shell
11481 completion functions.
11482 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11483 pcomplete-seen is non-nil.
11484
841a1577 114852011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11486
841a1577 11487 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11488 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11489 the first character in the entry. This allows for code to add its
211ec907
UJ
11490 own uid to the entry.
11491 (icalendar--convert-float-to-ical): Add export of
11492 `diary-float'-entries save for those with the optional DAY
11493 argument.
11494
2a782793
DC
114952011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11496
11497 * subr.el (shell-quote-argument): Use alternate escaping strategy
11498 when we spot a variable reference in a string.
11499
0438ce91
DC
115002011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11501
11502 * cus-start.el (all): Define customization for debug-on-event.
11503
841a1577 115042011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11505
11506 * subr.el (shell-quote-argument): Escape correctly under Windows.
11507
d090ed6c
SM
115082011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11511
bfd31217
MA
115122011-04-25 Michael Albinus <michael.albinus@gmx.de>
11513
d090ed6c
SM
11514 * net/tramp.el (tramp-process-actions): Add POS argument.
11515 Delete region between POS and (pos).
bfd31217 11516
d090ed6c
SM
11517 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11518 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11519 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11520
11521 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11522 position in `tramp-process-actions' call.
11523
11524 * net/trampver.el: Update release number.
11525
e92f3bd3
SM
115262011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11527
850256b5
SM
11528 * custom.el (defcustom): Obey lexical-binding.
11529
e92f3bd3
SM
11530 Fix octave-inf completion problems reported by Alexander Klimov.
11531 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11532 Inherit from octave-mode-syntax-table.
11533 (inferior-octave-mode): Set info-lookup-mode.
11534 (inferior-octave-completion-at-point): New function.
11535 (inferior-octave-complete): Use it and completion-in-region.
11536 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11537 comint-filename-completion.
11538 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11539 symbol elements which shouldn't be word elements.
11540 (octave-font-lock-keywords, octave-beginning-of-defun)
11541 (octave-function-header-regexp): Adjust regexps accordingly.
11542 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11543
cd22b309
JB
115442011-04-25 Juanma Barranquero <lekktu@gmail.com>
11545
11546 * net/gnutls.el (gnutls-errorp): Declare before first use.
11547
8b492194
TZ
115482011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11549
11550 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11551 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11552 default trustfile exists before going to use it. Add missing
5a5fa834 11553 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11554 Reported by Claudio Bley <claudio.bley@gmail.com>.
11555 (open-gnutls-stream): Add usage example.
11556
11557 * net/network-stream.el (network-stream-open-starttls): Give host
11558 parameter to `gnutls-negotiate'.
11559 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11560 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11561
841a1577 115622011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11563
cd22b309
JB
11564 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11565 Use correct match group (bug#8438).
05842630 11566
3ba7869c
CY
115672011-04-24 Chong Yidong <cyd@stupidchicken.com>
11568
512e3ae1
CY
11569 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11570 (package-menu--generate): New arg specifying packages to show.
11571 (package-menu-refresh, package-menu-execute, list-packages):
11572 Callers changed.
11573 (package-show-package-list): New function, replacing deleted
11574 package--list-packages (renamed because it is non-internal).
11575
11576 * finder.el (finder-list-matches): Use package-show-package-list
11577 instead of deleted package--list-packages.
11578
e92f3bd3
SM
11579 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11580 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11581 (vc-annotate-mode-map): Bind it to RET.
11582
7031be6d
UR
115832011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11584
11585 * progmodes/etags.el (next-file): Don't use set-buffer to change
11586 buffers (Bug#8478).
11587
4ef177aa
CY
115882011-04-24 Chong Yidong <cyd@stupidchicken.com>
11589
c8d173eb
CY
11590 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11591
4ef177aa
CY
11592 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11593 (apropos-accumulator): Doc fix.
11594 (apropos-function, apropos-macro, apropos-command)
11595 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11596 (apropos-plist): Add face property.
11597 (apropos-symbols-internal): Fix indentation.
11598 (apropos-print): Simplify help, and recognize apropos-multi-type.
11599 (apropos-print-doc): Use button-type-get to extract the button's
11600 face property. Fill docstring (Bug#8352).
11601
4ffd0d6b 116022011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11603
11604 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11605
c6c32125 11606 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11607 (mpuz-mode-map): Use mapc.
c6c32125
JB
11608 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11609 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11610 Fix typos in docstrings.
11611
58d468b4
JB
11612 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11613 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11614
6470c3c6
JB
11615 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11616
4ffd0d6b 116172011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11618
11619 * minibuffer.el (completion--do-completion): Avoid the "Next char
11620 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11621
3ad8bad0
CY
11622 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11623 mouse-2 into unread-command-events, it is interpreted correctly.
11624
71d73c9c 11625 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11626 (image-toggle-display): Doc fix.
71d73c9c 11627
841a1577 116282011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11629
4ffd0d6b
GM
11630 * textmodes/page.el (what-page): Use line-number-at-pos to
11631 calculate line number (Bug#6825).
6e1dbaa9 11632
c2fb1b60
JB
116332011-04-22 Juanma Barranquero <lekktu@gmail.com>
11634
11635 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11636 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11637 Pass argument NO-DEFAULT to `find-tag-interactive'.
11638
e02f48d7
JB
116392011-04-22 Juanma Barranquero <lekktu@gmail.com>
11640
11641 Lexical-binding cleanup.
11642
11643 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11644 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11645 * progmodes/ada-prj.el (ada-prj-initialize-values)
11646 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11647 (ada-prj-show-value):
11648 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11649 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11650 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11651 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11652 * progmodes/bug-reference.el (bug-reference-push-button):
11653 * progmodes/fortran.el (fortran-line-length):
11654 * progmodes/glasses.el (glasses-change):
11655 * progmodes/octave-mod.el (octave-fill-paragraph):
11656 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11657 (python-pdbtrack-grub-for-buffer, python-sentinel):
11658 * progmodes/sql.el (sql-save-connection):
11659 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11660 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11661 Mark unused parameters.
11662
11663 * progmodes/compile.el (compilation--flush-directory-cache)
11664 (compilation--flush-parse, compile-internal): Mark unused parameters.
11665 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11666 (compilation-next-error-function): Remove unused variable `timestamp'.
11667
11668 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11669 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11670
11671 * progmodes/dcl-mode.el (dcl-end-of-command):
11672 Remove unused variable `start'.
11673 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11674 (dcl-option-value-basic, dcl-option-value-offset)
11675 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11676 Mark unused parameters.
11677 (dcl-save-local-variable): Remove unused variable `val'.
11678 (mode): Declare.
11679
11680 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11681 Mark unused parameters.
11682 (delphi-ignore-changes): Move before first use.
11683 (delphi-charset-token-at): Remove unused variable `start'.
11684 (delphi-else-start): Remove unused variable `if-count'.
11685 (delphi-comment-block-start, delphi-comment-block-end):
11686 Remove unused variable `kind'.
11687 (delphi-indent-line): Remove unused variable `new-point'.
11688
11689 * progmodes/ebrowse.el (ebrowse-files-list)
11690 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11691 Mark unused parameters. Don't quote `lambda'.
11692 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11693 Don't quote `lambda'.
11694 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11695 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11696 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11697 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11698 Use `ignore-errors'.
11699 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11700 (ebrowse-view/find-file-and-search-pattern)
11701 (ebrowse-view/find-member-declaration/definition):
11702 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11703 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11704 Rename parameter PREFIX-ARG to PREFIX.
11705 (ebrowse-tags-read-name): Remove unused variables `start' and
11706 `member-info'.
11707 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11708 to `tags-file'.
11709
11710 * progmodes/etags.el (local-find-tag-hook): Declare.
11711 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11712 Mark unused parameters.
11713
11714 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11715 (executable-interpret): Mark unused parameter.
11716
11717 * progmodes/flymake.el (flymake-process-sentinel)
11718 (flymake-after-change-function)
11719 (flymake-create-temp-with-folder-structure)
11720 (flymake-get-include-dirs-dot): Mark unused parameters.
11721 (flymake-safe-delete-directory): Remove unused variable `err'.
11722
11723 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11724 (speedbar-timer-fn, speedbar-line-text)
11725 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11726 (speedbar-center-buffer-smartly): Declare functions.
11727 (gdb-find-watch-expression): Remove unused variable `array'.
11728 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11729 (gdb-starting): Mark unused parameters.
11730 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11731 (gdb-table-string): Remove unused variable `res'.
11732 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11733 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11734 (gdb-display-buffer): Remove unused variable `cur-size'.
11735
11736 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11737 allow lexical-binding compilation.
11738 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11739 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11740 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11741 Mark unused parameters.
11742 (gud-gdb-marker-filter): Remove unused variable `match'.
11743 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11744 lambda expressions and funcall them, instead of using `fset'.
11745
11746 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11747 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11748
11749 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11750 variable `header-beg'; use `let'.
11751
11752 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11753 `restart', `last-sexp' and `at-do'.
11754
11755 * progmodes/js.el (js--debug): Mark unused parameter.
11756 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11757 (js--splice-into-items): Remove unused variable `item'.
11758 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11759
11760 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11761 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11762 (makefile-complete): Remove unused variable `try'.
11763 (makefile-fill-paragraph, makefile-match-function-end):
11764 Mark unused parameters.
11765
11766 * progmodes/octave-inf.el (inferior-octave-complete):
11767 Remove unused variable `proc'.
11768 (inferior-octave-output-digest): Mark unused parameter.
11769
11770 * progmodes/perl-mode.el (perl-calculate-indent):
11771 Remove unused variable `err'.
11772
11773 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11774 (prolog-indent-line): Mark unused parameters.
11775 (prolog-indent-line): Remove unused variable `beg'.
11776
11777 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11778 (reporter-dont-compact-list): Declare.
11779
11780 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11781 Remove unused variable `char'.
11782 (sh-debug): Mark unused parameter.
11783 (sh-get-indent-info): Remove unused variable `start'.
11784 (sh-calculate-indent): Remove unused variable `var'.
11785
11786 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11787 (simula-electric-keyword): Remove unused variable `null'.
11788 (simula-search-backward, simula-search-forward): Remove unused
11789 variables `begin' and `end'.
11790
11791 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11792 Remove unused variable `pos'.
11793 (vera-electric-tab, vera-comment-uncomment-region):
11794 Mark unused parameters.
11795 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11796
7ede3b65
CY
117972011-04-22 Chong Yidong <cyd@stupidchicken.com>
11798
11799 * emacs-lisp/package.el (package--builtins, package-alist)
11800 (package-load-descriptor, package-built-in-p, package-activate)
11801 (define-package, package-installed-p)
11802 (package-compute-transaction, package-buffer-info)
11803 (package--push): Doc fix. Distinguish more clearly between
11804 version strings and version lists.
11805
121656e9
JB
118062011-04-21 Juanma Barranquero <lekktu@gmail.com>
11807
11808 Lexical-binding cleanup.
11809
11810 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11811 (5x5-make-mutate-best):
11812 * play/fortune.el (fortune-in-buffer):
11813 * play/gomoku.el (gomoku-init-display):
11814 * play/solitaire.el (solitaire, solitaire-do-check):
11815 * play/tetris.el (tetris-default-update-speed-function):
11816 Mark unused parameters.
11817
11818 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11819 (bubbles--shift): Remove unused variable `char-org'.
11820 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11821 (bubbles--show-images): Remove unused variable `char'.
11822
11823 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11824 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11825 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11826 (decipher-analyze-buffer): Use ?\s.
11827 (decipher-make-checkpoint): Remove unused variable `mapping'.
11828
11829 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11830
11831 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11832 Remove unused variable `result'; use `let'.
11833
11834 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11835 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11836 (gametree-children-shown-p, gametree-compute-reduced-score):
11837 Use `ignore-errors'.
11838
11839 * play/handwrite.el (ps-lpr-switches): Declare.
11840 (handwrite): Remove unused variables `pmin' and `lastp'.
11841
11842 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11843
11844 * play/landmark.el (landmark-init-display)
11845 (landmark-update-naught-weights): Mark unused parameters.
11846 (landmark-y): Remove unused variable `noise'. Simplify.
11847 (landmark-human-plays): Remove unused variable `score'.
11848
11849 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11850 (mpuz-try-proposal): Remove unused variable `game'.
11851
11852 * play/zone.el (life-patterns): Declare.
11853
80f499c7
JB
118542011-04-20 Juanma Barranquero <lekktu@gmail.com>
11855
11856 * vc/vc.el (ediff-vc-internal): Declare function.
11857
024ff170
SM
118582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11859
c0a193ea
SM
11860 * shell.el: Use lexical-binding and std completion UI.
11861 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11862 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11863 comint-preoutput-filter-functions rather than on
11864 comint-output-filter-functions.
11865 (shell-command-completion, shell--command-completion-data)
11866 (shell-filename-completion, shell-environment-variable-completion)
11867 (shell-c-a-p-replace-by-expanded-directory): New functions.
11868 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11869 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11870 (shell-dynamic-complete-environment-variable): Use them.
11871 (shell-dynamic-complete-as-environment-variable)
11872 (shell-dynamic-complete-as-command): Remove.
11873 (shell-match-partial-variable): Match past point.
11874 * comint.el: Clean up use of completion-at-point-functions.
11875 (comint-completion-at-point): New function.
11876 (comint-mode): Use it completion-at-point-functions.
11877 (comint-dynamic-complete): Make it obsolete.
11878 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11879 (comint-c-a-p-replace-by-expanded-history): New function.
11880 (comint-dynamic-complete-functions)
11881 (comint-replace-by-expanded-history): Use it.
11882 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11883 termination strings. Try harder to avoid second try-completion.
11884 (completion-in-region-mode-map): Disable bindings that don't work yet.
11885
2dbaa080
SM
11886 * comint.el: Use lexical-binding. Require CL.
11887 (comint-dynamic-complete-functions): Use comint-filename-completion.
11888 (comint-completion-addsuffix): Tweak custom type.
11889 (comint-filename-completion, comint--common-suffix)
11890 (comint--common-quoted-suffix, comint--table-subvert)
11891 (comint--complete-file-name-data): New functions.
11892 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11893 (comint-dynamic-list-filename-completions): Use them.
11894 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11895
2dbaa080
SM
11896 * minibuffer.el (completion-in-region-mode):
11897 Keep completion-in-region-mode--predicate global.
11898 (completion-in-region--postch):
11899 Assume completion-in-region-mode--predicate is not null.
11900
c79a6f38
SM
11901 * progmodes/flymake.el (flymake-start-syntax-check-process):
11902 Obey `dir'. Simplify.
11903
024ff170
SM
11904 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11905 we're in VC after all.
11906
1c6c854e
CS
119072011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11908
11909 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11910 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11911 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11912
bed7f140
SM
119132011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11914
332e62ab
SM
11915 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11916 add sanity check.
11917
bed7f140
SM
11918 * obsolete/erc-hecomplete.el: Make obsolete.
11919 * obsolete/: Standardize obsolescence info in the header.
11920
f195c582
GM
119212011-04-20 Glenn Morris <rgm@gnu.org>
11922
11923 * calendar/solar.el (solar-horizontal-coordinates):
11924 Use the longitude argument rather than `calendar-longitude'.
11925 (solar-date-next-longitude): Remove unused locals.
11926
cb79b8c0
VJL
119272011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11928
11929 * whitespace.el: New version 13.2.1.
11930
119312011-04-20 felix <EmacsWiki> (tiny change)
11932
d8e4b68b 11933 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11934 switching between major modes on a file.
11935
602ea69d
SM
119362011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11939 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11940 multi-line comments as well.
11941
06b60517
JB
119422011-04-19 Juanma Barranquero <lekktu@gmail.com>
11943
11944 Lexical-binding cleanup.
11945
11946 * arc-mode.el (archive-mode-revert):
11947 * cmuscheme.el (scheme-interactively-start-process):
11948 * custom.el (custom-initialize-delay):
11949 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11950 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11951 * emacs-lock.el (emacs-lock-clear-sentinel):
11952 * ezimage.el (defezimage):
11953 * follow.el (follow-avoid-tail-recenter):
11954 * fringe.el (set-fringe-mode-1):
11955 * generic-x.el (bat-generic-mode-compile):
11956 * help-mode.el (help-info-variable, help-do-xref)
11957 (help-mode-revert-buffer):
11958 * help.el (view-emacs-todo):
11959 * iswitchb.el (iswitchb-completion-help):
11960 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11961 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11962 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11963 * locate.el (locate-update):
11964 * longlines.el (longlines-encode-region)
11965 (longlines-after-change-function):
11966 * outline.el (outline-isearch-open-invisible):
11967 * ps-def.el (declare-function, charset-dimension, char-width)
11968 (encode-char):
11969 * ps-mule.el (ps-mule-plot-string):
11970 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11971 (recentf-edit-list-select, recentf-edit-list-validate)
11972 (recentf-open-files-action):
11973 * rect.el (delete-whitespace-rectangle-line)
11974 (rectangle-number-line-callback):
11975 * register.el (window-configuration-to-register)
11976 (frame-configuration-to-register):
11977 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11978 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11979 (xselect-convert-to-targets, xselect-convert-to-delete)
11980 (xselect-convert-to-filename, xselect-convert-to-charpos)
11981 (xselect-convert-to-lineno, xselect-convert-to-colno)
11982 (xselect-convert-to-os, xselect-convert-to-host)
11983 (xselect-convert-to-user, xselect-convert-to-class)
11984 (xselect-convert-to-name, xselect-convert-to-integer)
11985 (xselect-convert-to-atom, xselect-convert-to-identity):
11986 * subr.el (declare, ignore, process-kill-without-query)
11987 (text-clone-maintain):
11988 * terminal.el (te-get-char, te-tic-sentinel):
11989 * tool-bar.el (tool-bar-make-keymap):
11990 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11991 * type-break.el (type-break-mode, type-break-noninteractive-query):
11992 * view.el (View-back-to-mark):
11993 * wid-browse.el (widget-browse-action, widget-browse-widget)
11994 (widget-browse-widgets, widget-browse-sexp):
11995 * widget.el (define-widget-keywords):
11996 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11997 Mark unused parameters.
11998
11999 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12000 (align-areas): Remove unused variable `look'.
12001 (align-region): Remove unused variables `real-end' and `pos-list'.
12002
12003 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12004
12005 * bindings.el (mode-line-modified, mode-line-remote):
12006 Mark unused parameters.
12007 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12008
12009 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12010 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12011
12012 * comint.el (comint-history-isearch-pop-state)
12013 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12014 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12015 (comint-substitute-in-file-name): Doc fix.
12016
12017 * completion.el (cmpl-statistics-block): Mark unused parameter.
12018 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12019 (save-completions-to-file, load-completions-from-file):
12020 Remove unused local variable `e'.
12021
12022 * composite.el (compose-chars): Remove unused variable `len'.
12023 (lgstring-insert-glyph): Remove unused variable `g'.
12024 (compose-glyph-string): Remove unused variables `ascent',
12025 `descent', `lbearing' and `rbearing'.
12026 (compose-glyph-string-relative): Remove unused variables
12027 `lbearing', `rbearing' and `wadjust'.
12028 (compose-gstring-for-graphic): Remove unused variables `header',
12029 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12030 (compose-gstring-for-terminal): Remove unused variables `header'
12031 and `nchars'. Use `let', not `let*'.
12032
12033 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12034 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12035 (Custom-buffer-done, custom-buffer-create-internal)
12036 (custom-browse-visibility-action, custom-browse-group-tag-action)
12037 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12038 (widget-magic-mouse-down-action, custom-toggle-parent)
12039 (custom-add-parent-links, custom-toggle-hide-variable)
12040 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12041 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12042 (custom-face-menu-create, custom-variable-menu-create, get)
12043 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12044 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12045 (customize-apropos): Remove unused variable `tests'.
12046 (custom-group-value-create): Remove unused variable `hidden-p'.
12047 (sort-fold-case): Declare.
12048
12049 * cus-theme.el (custom-reset-standard-faces-list)
12050 (custom-reset-standard-variables-list): Declare.
12051 (customize-create-theme, custom-theme-revert, custom-theme-write)
12052 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12053 Mark unused parameters.
12054
12055 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12056
12057 * delim-col.el (delimit-columns-max): Move defvar before first use.
12058
12059 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12060 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12061
12062 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12063 (auto-insert): Declare.
12064 (desktop-restore-file-buffer): Rename desktop-* parameters;
12065 mark unused ones.
12066 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12067 (desktop-buffer): Rename desktop-* parameters.
12068
12069 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12070 (dframe-reposition-frame-xemacs, dframe-help-echo)
12071 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12072 Mark unused parameters.
12073
12074 * dired-aux.el (backup-extract-version-start, overwrite-query)
12075 (overwrite-backup-query, rename-regexp-query)
12076 (rename-non-directory-query): Declare.
12077 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12078 (dired-add-entry): Remove unused variable `orig-file-name'.
12079 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12080 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12081 `dired-copy-preserve-time' directly.
12082 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12083 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12084
12085 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12086 (dired-virtual-revert, dired-make-relative-symlink):
12087 Mark unused parameters.
12088 (manual-program): Declare.
12089 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12090 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12091 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12092
12093 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12094
12095 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12096
12097 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12098 Declare.
12099
12100 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12101
12102 * electric.el (Electric-command-loop): Rename parameter
12103 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12104
12105 * expand.el (expand-in-literal): Remove unused variable `here'.
12106
12107 * facemenu.el (facemenu-add-new-color):
12108 Remove unused variable `docstring'.
12109
12110 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12111 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12112 (face-attr-construct): Mark unused parameter. Doc fix.
12113 (read-color): Remove unused variable `hex-string'.
12114
12115 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12116 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12117 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12118 (display-buffer-other-frame): Remove unused variable `old-window'.
12119 (kill-buffer-hook): Declare.
12120 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12121 Mark unused parameters.
12122 (after-find-file): Pass 1 to `auto-save-mode', not t.
12123
12124 * files-x.el (auto-insert): Declare.
12125 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12126
12127 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12128 variable `buf'. Mark unused parameter.
06b60517
JB
12129 (find-lisp-insert-directory): Mark unused parameter.
12130
12131 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12132 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12133 (format-common-tail): Remove, unused.
12134 (format-deannotate-region): Remove unused variable `loc'.
12135 (format-annotate-region): Remove unused variable `p'.
12136 (format-annotate-single-property-change): Remove unused variables
12137 `default' and `tail'.
12138
12139 * forms.el (read-file-filter): Declare.
12140 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12141
12142 * frame.el (frame-creation-function-alist): Mark unused parameter.
12143 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12144
12145 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12146 Remove unused parameters.
12147 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12148 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12149
12150 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12151 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12152 (hfy-prepare-tag-map): Mark unused parameters.
12153 (htmlfontify-buffer): Use `called-interactively-p'.
12154
12155 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12156 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12157 (ibuffer-do-occur): Mark unused parameters.
12158 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12159 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12160
12161 * ibuffer.el: Don't quote `lambda'.
12162 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12163 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12164 Mark unused parameters.
12165
12166 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12167 (ido-completing-read): Mark unused parameters.
12168 (ido-copy-current-word): Mark unused parameters;
12169 remove unused variable `name'.
12170 (ido-sort-merged-list): Remove unused parameter `dirs'.
12171
12172 * ielm.el (ielm-input-sender): Mark unused parameter.
12173 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12174 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12175 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12176 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12177 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12178
12179 * image-dired.el (image-dired-display-thumbs): Remove unused
12180 variables `curr-file' and `count'.
12181 (image-dired-remove-tag): Remove unused variable `start'.
12182 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12183 variable `curr-file'
12184 (image-dired-rotate-original): Remove unused variable `temp-file'.
12185 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12186 Remove unused variable `file'.
12187 (image-dired-gallery-generate): Remove unused variable `curr'.
12188 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12189
12190 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12191
12192 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12193
12194 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12195
12196 * isearch.el (minibuffer-history-symbol): Declare.
12197 (isearch-edit-string): Remove unused variable `err'.
12198 (isearch-message-prefix, isearch-message-suffix):
12199 Mark unused parameters.
12200
12201 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12202
12203 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12204
12205 * makesum.el (double-column): Remove unused variable `cnt'.
12206
12207 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12208 (ido-ignore-item-temp-list): Declare.
12209
12210 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12211 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12212 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12213 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12214 `mouse-col-delta'.
12215
12216 * mouse-sel.el (mouse-extend-internal):
12217 Remove unused variable `orig-window-frame'.
12218
12219 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12220 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12221 Move declarations before first use.
12222 (pcomplete-opt): Mark unused parameters; doc fix.
12223
12224 * proced.el (proced-revert): Mark unused parameter.
12225 (proced-send-signal): Remove unused variable `err'.
12226
12227 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12228 Rename parameter PREFIX-ARG to ARG.
12229 (ps-basic-plot-string, ps-basic-plot-whitespace):
12230 Mark unused parameters.
12231
12232 * replace.el (replace-count): Define.
12233 (occur-revert-function): Mark unused parameters.
12234 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12235 (isearch-case-fold-search, isearch-string): Declare.
12236 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12237 bind `case-fold-search'. Remove unused variables `beg' and `end',
12238 and simplify.
12239 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12240 COUNT and bind `replace-count'.
12241 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12242 to COUNT.
12243
12244 * savehist.el (print-readably, print-string-length): Declare.
12245
12246 * shadowfile.el (shadow-expand-cluster-in-file-name):
12247 Remove unused variable `cluster'.
12248 (shadow-copy-file): Remove unused variable `i'.
12249 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12250 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12251 (shadow-define-literal-group, shadow-define-regexp-group)
12252 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12253
12254 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12255 (shell): Use `called-interactively-p'.
12256 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12257
12258 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12259 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12260 (delete-backward-char): Remove unused variable `ocol'.
12261 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12262 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12263 (event-apply-hyper-modifier, event-apply-shift-modifier)
12264 (event-apply-control-modifier, event-apply-meta-modifier):
12265 Mark unused parameters.
12266 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12267 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12268
12269 * speedbar.el (speedbar-ignored-directory-expressions)
12270 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12271 (speedbar-find-file, speedbar-dir-follow)
12272 (speedbar-directory-buttons-follow, speedbar-tag-find)
12273 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12274 (speedbar-buffers-line-directory, speedbar-buffer-click):
12275 Mark unused parameters.
12276 (speedbar-tag-file): Remove unused variable `mode'.
12277 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12278
12279 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12280
12281 * talk.el (talk): Remove unused variable `display'.
12282
12283 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12284 (tar-write-region-annotate): Mark unused parameter.
12285
12286 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12287 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12288 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12289 warning by another.
12290
12291 * time-stamp.el (time-stamp-string-preprocess):
12292 Remove unused variable `require-padding'.
12293
12294 * tree-widget.el (widget-glyph-enable): Declare.
12295 (tree-widget-action): Mark unused parameter.
12296
12297 * w32-fns.el (x-get-selection): Mark unused parameter.
12298 (autoload-make-program, generated-autoload-file): Declare.
12299
12300 * wdired.el (wdired-revert): Mark unused parameters.
12301 (wdired-xcase-word): Remove unused variable `err'.
12302
12303 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12304 (whitespace-help-scroll): Remove unused variable `data-help'.
12305
12306 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12307 (widget-image-insert, widget-after-change, default)
12308 (widget-default-format-handler, widget-default-notify)
12309 (widget-default-prompt-value, widget-info-link-action)
12310 (widget-url-link-action, widget-function-link-action)
12311 (widget-variable-link-action, widget-file-link-action)
12312 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12313 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12314 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12315 (widget-insert-button-action, widget-delete-button-action, visibility)
12316 (widget-documentation-link-action, widget-documentation-string-action)
12317 (widget-const-prompt-value, widget-regexp-match, symbol)
12318 (widget-coding-system-prompt-value)
12319 (widget-key-sequence-value-to-external, sexp)
12320 (widget-sexp-value-to-internal, character, vector, cons)
12321 (widget-choice-prompt-value, widget-boolean-prompt-value)
12322 (widget-color--choose-action): Mark unused parameters.
12323 (widget-item-match-inline, widget-choice-match-inline)
12324 (widget-checklist-match, widget-checklist-match-inline)
12325 (widget-group-match): Rename parameter VALUES to VALS.
12326 (widget-field-value-set): Remove unused variable `size'.
12327 (widget-color-action): Remove unused variables `value' and `start'.
12328
12329 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12330 variable `dir'. Doc fix.
06b60517
JB
12331 (windmove-find-other-window): Don't pass it.
12332
12333 * window.el (count-windows): Mark unused parameter.
12334 (bw-adjust-window): Remove unused variable `err'.
12335
12336 * woman.el (woman-file-name): Remove unused variable `default'.
12337 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12338 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12339 (global-font-lock-mode): Declare.
12340 (woman-decode-region): Mark unused parameter.
12341 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12342
12343 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12344 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12345 (x-dnd-handle-moz-url): Remove unused variable `title'.
12346 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12347
12348 * xml.el (xml-parse-tag, xml-parse-attlist):
12349 Remove unused variable `pos'.
12350
bc4f7f3d
GM
123512011-04-19 Glenn Morris <rgm@gnu.org>
12352
12353 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12354 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12355 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12356 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12357 * calendar/cal-html.el (cal-html-insert-minical):
12358 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12359 (calendar-mark-date-pattern):
12360 Prefix "unused" locals.
12361
12362 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12363 optional argument `style'.
12364
12365 * calendar/appt.el (appt-make-list):
12366 * calendar/cal-china.el (calendar-chinese-date-string):
12367 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12368 (diary-hebrew-yahrzeit):
12369 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12370 * calendar/calendar.el (calendar-generate-window):
12371 * calendar/time-date.el (time-to-days):
12372 Remove unused local variables.
12373
16a43933
CY
123742011-04-18 Chong Yidong <cyd@stupidchicken.com>
12375
12376 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12377 glyphless-char-display table.
12378 (tabulated-list-glyphless-char-display): New var.
12379
7eed1860
SS
123802011-04-18 Sam Steingold <sds@gnu.org>
12381
12382 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12383 to acknowledgments.
12384
4d2d1ccd
GM
123852011-04-17 Glenn Morris <rgm@gnu.org>
12386
12387 * calendar/diary-lib.el (diary-sexp-entry):
12388 * calendar/holidays.el (holiday-sexp):
12389 Set debug-on-error rather than the removed stack-trace-on-error.
12390
239da61d
GM
123912011-04-16 Glenn Morris <rgm@gnu.org>
12392
12393 * progmodes/f90.el: Use lexical-binding.
12394 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12395
8b05752a
SM
123962011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12397
daca8ba5
SM
12398 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12399 (mail-mode): Setup mailalias completion here instead.
12400 * mail/mailalias.el: Use lexical-binding.
12401 (pattern, mailalias-done): Declare dynamic.
12402 (mail-completion-at-point-function): New function, from mail-complete.
12403 (mail-complete): Use it.
12404 (mail-completion-expand): New function.
12405 (mail-get-names): Use it.
12406 (mail-directory, mail-directory-process, mail-directory-stream):
12407 Don't use `pattern' for lexically bound arg.
12408
6f542485
SM
12409 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12410
037e7c3f
SM
12411 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12412 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12413 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12414
8b05752a
SM
12415 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12416 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12417 (byte-interactive-p): Define them again, for use when inlining
12418 old code.
12419
49093f60
JB
124202011-04-15 Juanma Barranquero <lekktu@gmail.com>
12421
12422 * loadup.el: Use `string-to-number', not `string-to-int'.
12423
b5b8e7de
SM
124242011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12425
12426 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12427 gud-gdb-complete-command.
12428 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12429 (gud-gdb-completion-at-point): New function.
12430 (gud-gdb-completions): Remove.
12431
f42efeb5
MA
124322011-04-14 Michael Albinus <michael.albinus@gmx.de>
12433
49093f60
JB
12434 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12435 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12436 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12437 whether `executable-find' is bound.
f42efeb5
MA
12438
12439 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12440
e240cc21
SM
124412011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12442
12443 * minibuffer.el (completion-in-region-mode-predicate)
12444 (completion-in-region-mode--predicate): New vars.
12445 (completion-in-region, completion-in-region--postch)
12446 (completion-in-region-mode): Use them.
12447 (completion--capf-wrapper): Also return the hook function.
12448 (completion-at-point, completion-help-at-point):
12449 Adjust and provide a predicate.
c2bd2ab0
SM
12450
12451 Preserve arg names for advice of subr and lexical functions (bug#8457).
12452 * help-fns.el (help-function-arglist): Consolidate the subr and
12453 new-byte-code cases. Add argument `preserve-names' to extract names
12454 from the docstring when needed.
12455 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12456 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12457 (ad-arglist): Use help-function-arglist's new arg.
12458 (ad-definition-type): Use cond.
12459
c183f693
JB
124602011-04-13 Juanma Barranquero <lekktu@gmail.com>
12461
06641a47
JB
12462 * autorevert.el (auto-revert-handler):
12463 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12464 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12465 Don't quote lambda.
12466
c183f693
JB
12467 * image-mode.el (image-transform-set-scale):
12468 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12469
1e3b6001
G
124702011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12471
12472 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12473 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12474 Upgrades via gnutls-cli are too slow to be done opportunistically.
12475
2d6af8dd
JB
124762011-04-12 Juanma Barranquero <lekktu@gmail.com>
12477
12478 * dframe.el (dframe-current-frame): Remove spurious quote.
12479
c0749a51
GM
124802011-04-12 Glenn Morris <rgm@gnu.org>
12481
088d0d61
GM
12482 * calendar/cal-tex.el (cal-tex-end-document):
12483 Try to automatically use latin1 input if needed.
12484
c0749a51
GM
12485 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12486 Don't try to cons a mark onto an empty element.
12487
5c90fde0
LL
124882011-04-11 Leo Liu <sdl.web@gmail.com>
12489
12490 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12491 buffers.
12492 (ido-kill-buffer-at-head): Support killing virtual buffers.
12493
369e974d
CY
124942011-04-10 Chong Yidong <cyd@stupidchicken.com>
12495
12496 * minibuffer.el (completion-show-inline-help): New var.
12497 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12498 (minibuffer-force-complete, minibuffer-complete-word):
12499 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12500
12501 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12502 to avoid interference from inline help (Bug#5849).
12503
37f1c930
LL
125042011-04-10 Leo Liu <sdl.web@gmail.com>
12505
099c39a4
JB
12506 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12507 Fix typo.
37f1c930 12508
a32d4040
CY
125092011-04-09 Chong Yidong <cyd@stupidchicken.com>
12510
12511 * image-mode.el (image-toggle-display-image): Signal an error if
12512 not in Image mode.
12513 (image-transform-mode, image-transform-resize)
12514 (image-transform-set-rotation): Doc fix.
daca8ba5 12515 (image-transform-set-resize): Delete.
a32d4040
CY
12516 (image-transform-set-scale, image-transform-fit-to-height)
12517 (image-transform-fit-to-width): Handle image-toggle-display-image
12518 and image-transform-resize directly.
12519
099c39a4 125202011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12521
12522 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12523 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12524 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12525 (doc-view-mode-map): Add bindings for the new functions.
12526
099c39a4 125272011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12528
4d61f28d 12529 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12530 Fix typo in docstring.
12531
3726838a
EZ
125322011-04-08 Eli Zaretskii <eliz@gnu.org>
12533
04f33f1e
EZ
12534 * files.el (file-size-human-readable): Produce one digit after
12535 decimal, like "ls -lh" does.
12536
12537 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12538 the file size representation.
12539
3726838a
EZ
12540 * simple.el (list-processes): If async subprocesses are not
12541 available, error out with a clear error message.
12542
cbb59342
CY
125432011-04-08 Chong Yidong <cyd@stupidchicken.com>
12544
12545 * help.el (help-form-show): New function, to be called from C.
12546 Put help-form output in a buffer named differently than *Help*.
12547
e3971c44
EZ
125482011-04-08 Eli Zaretskii <eliz@gnu.org>
12549
12550 * files.el (file-size-human-readable): New function.
12551
12552 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12553 computing the representation inline. Don't require `cl'.
12554
12544bbe
GM
125552011-04-08 Glenn Morris <rgm@gnu.org>
12556
a1de6c6a
GM
12557 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12558
3c4671f4
GM
12559 * net/browse-url.el (browse-url-firefox):
12560 Test system-type, not system-configuration.
12561
b605679c
GM
12562 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12563 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12564 Use log-edit-empty-buffer-p. (Bug#7598)
12565
56442f0c
GM
12566 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12567 (rlogin-mode-map): Initialize in the defvar.
12568 (rlogin): Use ignore-errors.
12569
12544bbe
GM
12570 * replace.el (occur-mode-map): Some fixes for menu items.
12571
eb237b0f
AH
125722011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12573
12574 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12575
7d668f2c
CY
125762011-04-06 Chong Yidong <cyd@stupidchicken.com>
12577
e67a13ab
CY
12578 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12579 issuing unused warnings.
12580
12581 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12582 macro directly.
12583
7d668f2c
CY
12584 * simple.el: Lisp reimplement of list-processes. Based on an
12585 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12586 (process-menu-mode): New major mode.
12587 (list-processes--refresh, list-processes):
12588 (process-menu-visit-buffer): New functions.
12589
12590 * files.el (save-buffers-kill-emacs): Don't assume any return
12591 value of list-processes, which is undocumented anyway.
12592
a83ec3c9
CY
125932011-04-06 Chong Yidong <cyd@stupidchicken.com>
12594
12595 * emacs-lisp/tabulated-list.el: New file.
12596
e91a96fe
CY
12597 * emacs-lisp/package.el: Use Tabulated List mode.
12598 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12599 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12600 table format using Tabulated List mode variables.
12601 (package--push): New macro, replacing package-list-maybe-add.
12602 (package-menu--generate): Use package--push. Renamed from
12603 package--generate-package-list.
12604 (package-menu-refresh, list-packages): Use it.
daca8ba5 12605 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12606 Return insertion data instead of inserting it directly.
099c39a4
JB
12607 (package-menu-describe-package, package-menu-execute):
12608 Use tabulated-list-get-id.
e91a96fe
CY
12609 (package-menu-mark-delete, package-menu-mark-install)
12610 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12611 (package-menu-mark-obsolete-for-deletion):
12612 Use tabulated-list-put-tag.
e91a96fe
CY
12613 (package--list-packages, package-menu-revert)
12614 (package-menu-get-package, package-menu-get-version)
12615 (package-menu-sort-by-column): Functions deleted.
12616 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12617 (package-menu--status-predicate, package-menu--version-predicate)
12618 (package-menu--name-predicate)
12619 (package-menu--description-predicate): Handle arguments in the
12620 Tabulated List format.
12621 (package-list-packages-no-fetch): Call list-packages.
12622
3e214b50
JB
126232011-04-06 Juanma Barranquero <lekktu@gmail.com>
12624
12625 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12626 (after-find-file): Don't bind it.
3e214b50
JB
12627 (revert-buffer-in-progress-p): New variable.
12628 (revert-buffer): Bind it.
12629 Pass nil for `after-find-file-from-revert-buffer'.
12630
12631 * saveplace.el (save-place-find-file-hook): Use new variable
12632 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12633
3f0f1700
GM
126342011-04-06 Glenn Morris <rgm@gnu.org>
12635
c0274801
GM
12636 * Makefile.in (AUTOGEN_VCS): New variable.
12637 (autoloads): Use $AUTOGEN_VCS.
12638
3f0f1700
GM
12639 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12640 * calendar/calendar.el (calendar-mode-map):
12641 Check for toolkit scroll bars. (Bug#8305)
12642
41ea9e48
CY
126432011-04-05 Chong Yidong <cyd@stupidchicken.com>
12644
12645 * minibuffer.el (completion-in-region--postch)
12646 (completion-in-region-mode): Remove unnecessary messages.
12647
6194c800
JB
126482011-04-05 Juanma Barranquero <lekktu@gmail.com>
12649
33256f14
JB
12650 * font-lock.el (font-lock-refresh-defaults):
12651 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12652 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12653
6194c800
JB
12654 * info.el (Info-directory-list, Info-read-node-name-2)
12655 (Info-split-parameter-string): Doc fixes.
12656 (Info-virtual-nodes): Reflow docstring.
12657 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12658 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12659 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12660 Fix typos in docstrings.
12661 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12662 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12663 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12664 (Info-restore-desktop-buffer): Mark unused parameters.
12665 (Info-directory-find-file, Info-directory-find-node)
12666 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12667 (Info-virtual-index-find-node, Info-apropos-find-file)
12668 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12669 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12670 (Info-virtual-index): Remove unused local variable `nodename'.
12671
b87a8200 126722011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12673
b87a8200
DD
12674 * net/rcirc.el: Update my e-mail address.
12675 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12676
3b2ff876
CY
126772011-04-05 Chong Yidong <cyd@stupidchicken.com>
12678
12679 * startup.el (command-line): Save the cursor's theme-face
12680 directly, instead of using face-override-spec.
12681
12682 * custom.el (load-theme): Minor optimization in assigning faces.
12683
8d17e7ca
JB
126842011-04-04 Juanma Barranquero <lekktu@gmail.com>
12685
12686 * help-fns.el (describe-variable): Complete all variables having
12687 documentation, including keywords.
12688 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12689
2fbc1934
JB
126902011-04-04 Juanma Barranquero <lekktu@gmail.com>
12691
12692 Convert to lexical-binding.
12693
12694 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12695 (bs--get-marked-string, bs--get-modified-string)
12696 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12697 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12698 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12699
12700 * ehelp.el (electric-help-execute-extended)
12701 (electric-help-ctrl-x-prefix):
12702 * hexl.el (hexl-revert-buffer-function):
12703 * linum.el (linum-after-change, linum-after-scroll):
12704 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12705
12706 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12707
74f50695
DU
127082011-04-04 Daiki Ueno <ueno@unixuser.org>
12709
12710 * epa-dired.el:
12711 * epa-mail.el:
12712 * epa-hook.el:
12713 * epa-file.el:
12714 * epa.el:
12715 * epg.el: Use lexical binding.
12716
c11325f7
CY
127172011-04-03 Chong Yidong <cyd@stupidchicken.com>
12718
0d9e9a12
CY
12719 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12720
c11325f7 12721 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12722 dictionary case for flyspell-mark-duplications-exceptions.
12723 Use regexp matching for languages.
c11325f7
CY
12724 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12725 default dictionary (Bug#7926).
12726
da91b5f2
CY
127272011-04-02 Chong Yidong <cyd@stupidchicken.com>
12728
099c39a4
JB
12729 * emacs-lisp/package.el (package--with-work-buffer):
12730 Recognize https URLs.
da91b5f2 12731
099c39a4
JB
12732 * net/network-stream.el: Move from gnus/proto-stream.el.
12733 Change prefix to network-stream throughout.
da91b5f2
CY
12734 (open-protocol-stream): Merge into open-network-stream, leaving
12735 open-protocol-stream as an alias. Handle nil BUFFER args.
12736
12737 * subr.el (open-network-stream): Move to net/network-stream.el.
12738
afa8e9f6
GM
127392011-04-02 Glenn Morris <rgm@gnu.org>
12740
1d2e369d
GM
12741 * find-dired.el (find-exec-terminator): New option.
12742 (find-ls-option): Test for -ls support.
12743 (find-ls-subdir-switches): Test for -b in find-ls-option.
12744 (find-dired, find-grep-dired): Doc fixes.
12745 (find-dired): Use find-exec-terminator.
12746
8abb7da8 12747 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12748 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12749 (find-name-arg): Remove purecopy.
8abb7da8 12750
f3ca7378
GM
12751 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12752 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12753 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12754 accordingly. Don't add the null-device if not needed.
12755
afa8e9f6
GM
12756 * files.el (save-some-buffers): Doc fix.
12757
35eae264
EZ
127582011-04-02 Eli Zaretskii <eliz@gnu.org>
12759
12760 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12761
26b51db5
JB
127622011-04-01 Juanma Barranquero <lekktu@gmail.com>
12763
12764 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12765 Use `dolist' rather than `mapcar'.
12766
7200d79c
SM
127672011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12768
03408648 12769 Add lexical binding.
7200d79c 12770
03408648
SM
12771 * subr.el (apply-partially): Use new closures rather than CL.
12772 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12773 (dolist, dotimes): Use slightly different expansion for lexical code.
12774 (functionp): Move to C.
12775 (letrec): New macro.
12776 (with-wrapper-hook): Use it and apply-partially instead of CL.
12777 (eval-after-load): Preserve lexical-binding.
12778 (save-window-excursion, with-output-to-temp-buffer): Turn them
12779 into macros.
7200d79c 12780
03408648
SM
12781 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12782
12783 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12784 than the arglist.
12785 (help-add-fundoc-usage): Don't add `Not documented'.
12786 (help-function-arglist): Handle closures, subroutines, and new
12787 byte-code-functions.
12788 (help-make-usage): Remove leading underscores.
12789 (describe-function-1): Handle closures.
12790 (describe-variable): Use special-variable-p for completion.
12791
12792 * files.el (lexical-binding): Declare safe.
f488fb65 12793
03408648
SM
12794 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12795 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12796 (pcase): Add `let' pattern.
12797 Change memoization so it actually works.
12798 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12799 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12800 <let>: New case.
f488fb65 12801
03408648
SM
12802 * emacs-lisp/macroexp.el: Use lexical binding.
12803 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12804 Don't convert ' to #' without checking that it's indeed quoting
12805 a lambda.
12806
12807 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12808 Use eval-sexp-add-defvars.
03408648
SM
12809 (eval-sexp-add-defvars): New fun.
12810
12811 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12812
12813 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12814 Don't autoload.
12815 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12816 than the internal `byte-compile-lambda'.
12817 (defmethod): Don't hide code under quotes.
12818 (eieio-defmethod): New `code' argument.
12819
12820 * emacs-lisp/eieio-comp.el: Remove.
12821
12822 * emacs-lisp/edebug.el (edebug-eval-defun)
12823 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12824 (edebug-toggle): Avoid `eval'.
12825
12826 * emacs-lisp/disass.el (disassemble-internal): Handle new
12827 `closure' objects.
12828 (disassemble-1): Handle new byte codes.
12829
12830 * emacs-lisp/cl.el (pushnew): Silence warning.
12831
12832 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12833 (cl-byte-compile-throw): Remove.
12834 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12835
12836 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12837 closures.
12838
12839 * emacs-lisp/cconv.el: New file.
12840
12841 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12842 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12843 (byte-compile-initial-macro-environment):
12844 Handle declare-function here.
12845 (byte-compile--lexical-environment): New var.
12846 (byte-stack-ref, byte-stack-set, byte-discardN)
12847 (byte-discardN-preserve-tos): New lap codes.
12848 (byte-interactive-p): Don't use any more.
12849 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12850 New macros.
12851 (byte-compile-lapcode): Use them and handle new lap codes.
12852 (byte-compile-obsolete): Remove.
12853 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12854 (byte-compile-arglist-warn): Check late def of inlinable funs.
12855 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12856 since they should have been expanded by now.
12857 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12858 (byte-compile-from-buffer): Remove unused second arg.
12859 (byte-compile-preprocess): New function.
12860 (byte-compile-toplevel-file-form): New function to distinguish
12861 file-form calls from outside from file-form calls from hunk-handlers.
12862 (byte-compile-file-form): Simplify.
12863 (byte-compile-file-form-defsubst): Remove.
12864 (byte-compile-file-form-defmumble): Simplify now that
12865 byte-compile-lambda always returns a byte-code-function.
12866 (byte-compile): Preprocess.
12867 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12868 Remove, not used any more.
12869 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12870 (byte-compile-make-args-desc): New funs.
12871 (byte-compile-lambda): Handle lexical functions. Always return
12872 a byte-code-function.
12873 (byte-compile-reserved-constants): New var, to make up room for
12874 closed-over variables.
12875 (byte-compile-constants-vector): Obey it.
12876 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12877 (byte-compile-macroexpand-declare-function): New function.
12878 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12879 byte-code-functions.
12880 (byte-compile-form): Check obsolescence here.
12881 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12882 (byte-compile-variable-ref): Remove.
12883 (byte-compile-dynamic-variable-op): New fun.
12884 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12885 (byte-compile-variable-set): New funs.
12886 (byte-compile-discard): Add 2 args.
12887 (byte-compile-stack-ref, byte-compile-stack-set)
12888 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12889 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12890 macroexpand-all instead.
12891 (byte-compile-quote-form): Remove.
12892 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12893 (byte-compile-bind, byte-compile-unbind): New funs.
12894 (byte-compile-let): Handle let* and lexical binding.
12895 (byte-compile-let*): Remove.
12896 (byte-compile-catch, byte-compile-unwind-protect)
12897 (byte-compile-track-mouse, byte-compile-condition-case):
12898 Handle a new :fun-body form, used for lexical scoping.
12899 (byte-compile-save-window-excursion)
12900 (byte-compile-with-output-to-temp-buffer): Remove.
12901 (byte-compile-defun): Simplify.
12902 (byte-compile-stack-adjustment): New fun.
12903 (byte-compile-out): Use it.
12904 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12905
12906 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12907 handler any more.
12908
12909 * emacs-lisp/byte-opt.el: Use lexical binding.
12910 (byte-inline-lapcode): Remove (to bytecomp).
12911 (byte-compile-inline-expand): Pay attention to inlining to/from
12912 lexically bound code.
12913 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12914 any more.
12915 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12916 any more and don't call compiler-macros.
12917 (byte-compile-splice-in-already-compiled-code): Remove.
12918 (byte-code): Don't inline any more.
12919 (disassemble-offset): Receive `bytes' as argument rather than via
12920 dynamic scoping.
12921 (byte-compile-tag-number): Declare before first use.
12922 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12923 `return' even if make-spliceable.
12924 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12925 obsolete interactive-p.
12926 (byte-optimize-lapcode): Optimize new lap-codes.
12927 Don't trip up on new form of `byte-constant' lap code.
12928
12929 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12930
12931 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12932
12933 * custom.el (custom-initialize-default, custom-declare-variable):
12934 Use `defvar'.
12935
12936 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12937 New variables.
12938 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12939 (COMPILE_FIRST): Add macroexp and cconv.
12940 * makefile.w32-in: Mirror changes in Makefile.in.
12941
12942 * vc/cvs-status.el:
12943 * vc/diff-mode.el:
12944 * vc/log-edit.el:
12945 * vc/log-view.el:
12946 * vc/smerge-mode.el:
12947 * textmodes/bibtex-style.el:
12948 * textmodes/css.el:
12949 * startup.el:
12950 * uniquify.el:
da91b5f2
CY
12951 * minibuffer.el:
12952 * newcomment.el:
12953 * reveal.el:
12954 * server.el:
12955 * mpc.el:
12956 * emacs-lisp/smie.el:
12957 * doc-view.el:
12958 * dired.el:
03408648
SM
12959 * abbrev.el: Use lexical binding.
12960
0f0c1f27
EZ
129612011-04-01 Eli Zaretskii <eliz@gnu.org>
12962
12963 * info.el (info-display-manual): New function.
12964
c82b2579
SM
129652011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12968
221ddf68
TH
129692011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12970
12971 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12972 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12973
cba6e77e
GM
129742011-03-31 Glenn Morris <rgm@gnu.org>
12975
e040639f
GM
12976 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12977
cba6e77e
GM
12978 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12979
6d0f1c9e
CS
129802011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12981
12982 * progmodes/python.el (python-default-interpreter)
12983 (python-python-command-args, python-jython-command-args)
12984 (python-which-shell, python-which-args, python-which-bufname)
12985 (python-file-queue, python-comint-output-filter-function)
12986 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12987 variables and functions.
12988
3e2d70fd
SM
129892011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12990
12991 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12992 (completion-in-region-mode): New minor mode.
12993 (completion-in-region): Use it.
12994 (completion-in-region--data, completion-in-region-mode-map): New vars.
12995 (completion-in-region--postch): New function.
12996 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12997 New vars.
12998 (completion--capf-wrapper): New function.
12999 (completion-at-point): Use it to track well-behavedness of
13000 hook functions.
13001 (completion-help-at-point): New command.
13002
f3e4086c
JM
130032011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13004
13005 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13006 syntax class to search for whitespace on a single line
13007 (Message-ID: <4D938140.4030905@redhat.com>).
13008
eb7ffc14
LL
130092011-03-30 Leo Liu <sdl.web@gmail.com>
13010
13011 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13012 New commands.
13013 (edit-abbrevs-map): Bind them here.
13014 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13015
d806ab68
KM
130162011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13017
13018 * allout.el (allout-hide-by-annotation, allout-flag-region):
13019 Reduce possibility of overlay leakage by making them volatile.
13020
13021 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13022 hash is not shared between buffers. Mode initialization is
13023 responsible for giving it a useful starting value.
13024 (allout-item-span): Reduce possibility of overlay leakage by
13025 making them volatile.
13026 (allout-widgets-count-buttons-in-region): Add diagnostic function
13027 for tracking down button overlay leaks.
13028
ea622834
LL
130292011-03-29 Leo Liu <sdl.web@gmail.com>
13030
13031 * ido.el (ido-read-internal): Use the default history var
13032 minibuffer-history if no HISTORY is specified.
13033
b62f8267
G
130342011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13035
03408648
SM
13036 * net/imap.el (imap-shell-open, imap-process-connection-type):
13037 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13038 Kerberos, SSL, other subprocesses.
13039
947b6566
LL
130402011-03-28 Leo Liu <sdl.web@gmail.com>
13041
13042 * abbrev.el (abbrev-table-empty-p): New function.
13043 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13044 nonempty ones. (Bug#5937)
13045
5ffb62aa
JD
130462011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13047
13048 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13049
7a097943
LL
130502011-03-27 Leo Liu <sdl.web@gmail.com>
13051
13052 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13053 for foreground and background colors.
13054 (ansi-color-make-color-map): Adapt.
13055
c5b40130
LL
130562011-03-25 Leo Liu <sdl.web@gmail.com>
13057
1f48f7d2
LL
13058 * midnight.el (midnight-time-float): Remove. Note it calculates
13059 the microsecond component incorrectly and seconds-to-time does the
13060 same job.
625897ec 13061 Remove redundant (require 'timer).
1f48f7d2 13062
c5b40130
LL
13063 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13064 (ido-completions): Remove unused arguments. (Bug#8329)
13065
d86d2721
SM
130662011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13067
13068 * minibuffer.el (completion--flush-all-sorted-completions):
13069 Remove itself from hook.
13070 (completion-at-point): Let the functions perform the completion
13071 immediately and return nil or t.
13072 * comint.el (comint-dynamic-complete-functions): Now identical to
13073 completion-at-point-functions.
13074 (comint-dynamic-list-input-ring): Remove unused var `index'.
13075 (comint--match-partial-filename, comint--unquote&expand-filename):
13076 New funs, split from comint-match-partial-filename.
13077 (comint-dynamic-complete): Use completion-at-point.
13078 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13079
e8974c48
DA
130802011-03-24 Drew Adams <drew.adams@oracle.com>
13081
13082 * thingatpt.el: Support `defun'.
13083
def71b5e
LL
130842011-03-23 Leo Liu <sdl.web@gmail.com>
13085
cb5af48e
LL
13086 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13087
def71b5e
LL
13088 * help-mode.el (help-mode-finish): Tweak regexp.
13089
927c53e7
GM
130902011-03-23 Glenn Morris <rgm@gnu.org>
13091
18d05bed
GM
13092 * eshell/esh-opt.el (eshell-eval-using-options):
13093 Do not bind unused local variable `eshell-option-stub'.
13094
927c53e7
GM
13095 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13096
9d0da923
JB
130972011-03-22 Juanma Barranquero <lekktu@gmail.com>
13098
13099 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13100 keymap variable in `with-no-warnings' to avoid a warning when the
13101 keymap has been already `defconst'ed.
13102
4b978a67
LL
131032011-03-22 Leo Liu <sdl.web@gmail.com>
13104
13105 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13106 encode all chars in abbrevs; otherwise use emacs-mule or
13107 utf-8-emacs. (Bug#8308)
13108
5fd62452
JB
131092011-03-22 Juanma Barranquero <lekktu@gmail.com>
13110
0b1596c6
JB
13111 * simple.el (backward-delete-char-untabify):
13112 Avoid warning about using `delete-backward-char'.
13113
5fd62452
JB
13114 * image.el (image-type-file-name-regexps): Make it variable.
13115 `imagemagick-register-types' modifies it, and the user may want
13116 to add new extensions for known image types.
13117 (imagemagick-register-types): Throw error if not using ImageMagick.
13118
0b4e93f1
LL
131192011-03-22 Leo Liu <sdl.web@gmail.com>
13120
13121 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13122 located before rcirc-prompt-end-marker.
13123 (rcirc-complete): Error if point is not after rcirc prompt.
13124 Handle the case when table is nil.
9882e214 13125 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13126
fccee4ab
CY
131272011-03-22 Chong Yidong <cyd@stupidchicken.com>
13128
13129 * custom.el (custom--inhibit-theme-enable): Make it affect only
13130 custom-theme-set-variables and custom-theme-set-faces.
13131 (provide-theme): Ignore custom--inhibit-theme-enable.
13132 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13133 (custom-enabling-themes): Delete variable.
d86d2721
SM
13134 (enable-theme): Accept only loaded themes as arguments.
13135 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13136 (custom-enabled-themes): Forbid themes from setting this.
13137 Eliminate use of custom-enabling-themes.
13138 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13139
af896da6
LL
131402011-03-21 Leo Liu <sdl.web@gmail.com>
13141
13142 * ido.el (ido-read-internal): Add ido-selected to history instead
13143 of user input.
13144
78f64af0
SM
131452011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13146
13147 * subr.el (deferred-action-list, deferred-action-function):
13148 Mark obsolete.
13149
b16ac1ec
LL
131502011-03-21 Leo Liu <sdl.web@gmail.com>
13151
810f7698
LL
13152 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13153 change on 2011-02-13 (bug#8309).
13154
b16ac1ec
LL
13155 * minibuffer.el (read-file-name-function): Change default value.
13156 (read-file-name--defaults): Rename from read-file-name-defaults.
13157 (read-file-name-default): Rename from read-file-name.
13158 (read-file-name): Call read-file-name-function.
13159
4e05e67e
GM
131602011-03-21 Glenn Morris <rgm@gnu.org>
13161
13162 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13163 Doc fixes.
13164
4359915b
CY
131652011-03-21 Chong Yidong <cyd@stupidchicken.com>
13166
13167 * cus-theme.el: Add missing provide statement.
13168 (customize-create-theme): Extract theme value correctly.
13169 (custom-theme-visit-theme): Autoload.
13170 (customize-create-theme): Prompt before inserting default faces.
13171
1fe275ee
JB
131722011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13173
13174 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13175 units and musical notes.
13176
cd394be1 131772011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13178
13179 * ido.el (ido-read-internal): Use completing-read-default.
13180 (ido-completing-read): Fix compatibility with completing-read.
13181
7d476bde
CO
131822011-03-20 Christian Ohler <ohler@gnu.org>
13183
13184 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13185 (ert-delete-all-tests): Use `called-interactively-p' rather than
13186 `interactive-p'.
13187 (ert--make-xrefs-region): Respect END.
13188
fe0fb33e
CY
131892011-03-19 Chong Yidong <cyd@stupidchicken.com>
13190
ff854b0b
CY
13191 * dired-aux.el (dired-create-directory): Signal an error if the
13192 directory already exists (Bug#8246).
13193
fe0fb33e
CY
13194 * facemenu.el (list-colors-display): Call list-faces-display
13195 inside with-help-window.
13196 (list-colors-print): Use display property to align the final
13197 column, instead of checking window-width.
13198
576bce32
EZ
131992011-03-19 Eli Zaretskii <eliz@gnu.org>
13200
4d61f28d 13201 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13202 windows-nt systems.
13203 (emerge-protect-metachars): Quote correctly for ms-dos and
13204 windows-nt systems.
13205
89c41d68 132062011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13207
13208 * info.el (info-initialize): Replace all uses of `:' with
13209 path-separator for compatibility with non-Unix systems.
13210 Cache quoting of path-separator. (Bug#8258)
13211
b14e3e21 132122011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13213
13214 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13215 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13216 (mouse-avoidance-mode): Fix typos in docstrings.
13217
4525ce3e
CY
132182011-03-19 Chong Yidong <cyd@stupidchicken.com>
13219
13220 * startup.el (package-subdirectory-regexp): Move from package.el.
13221 Omit \\` and \\', and let callers add them.
13222
13223 * emacs-lisp/package.el (package-strip-version)
13224 (package-load-all-descriptors): Add \\` and \\' to
13225 package-subdirectory-regexp before using it.
13226 (package-untar-buffer): New arg DIR; ensure that file untars only
13227 into this expected directory. Remove superfluous delete-region.
13228 (package-unpack): Caller changed.
13229 (package-tar-file-info): Use package-subdirectory-regexp.
13230
a904a09a 132312011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13232
a904a09a
SM
13233 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13234 diff-mode-shared-map (bug#8284).
13235 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13236
132372011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13238
13239 * calendar/time-date.el (format-seconds): Use assoc instead of
13240 assoc-string, since assoc-string doesn't exist in XEmacs.
13241
171fc304
JB
132422011-03-17 Juanma Barranquero <lekktu@gmail.com>
13243
13244 * custom.el (custom-known-themes): Reflow docstring.
13245 (custom-theme-load-path): Fix typo in docstring.
13246 (load-theme): Fix typo in error message.
13247 (custom-available-themes, custom-variable-theme-value):
13248 Use `let', not `let*'.
13249
d71990a1
JB
132502011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13251
13252 * calc/README: Mention inclusion of musical notes.
13253
13254 * calc/calc-units.el (calc-lu-quant): Rename from
13255 `calc-logunits-quantity'.
13256 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13257 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13258 (calc-db): Rename from `calc-dblevel'.
13259 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13260 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13261 (calc-np): Rename from `calc-nplevel'.
13262 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13263 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13264 (calc-lu-plus): Rename from `calc-logunits-add'.
13265 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13266 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13267 (calc-lu-minus): Rename from `calc-logunits-sub'.
13268 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13269 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13270 (calc-lu-times): Rename from `calc-logunits-mul'.
13271 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13272 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13273 (calc-lu-divide): Rename from `calc-logunits-div'.
13274 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13275 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13276
13277 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13278 functions being autoloaded.
13279
13280 * calc/calc.el (calc-lu-power-reference): Rename from
13281 `calc-logunits-power-reference'.
13282 (calc-lu-field-reference): Rename from
13283 `calc-logunits-field-reference'.
13284
7a71b18d
GM
13285 * calc/calc-help.el (calc-l-prefix-help):
13286 Mention musical note functions.
d71990a1 13287
40c2934b
SM
132882011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13289
13290 * minibuffer.el (completion-all-sorted-completions):
13291 Use :completion-cycle-penalty text property if present.
13292
b0911414
KM
132932011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13294
13295 * allout.el (allout-yank-processing): Adjust for new rebulleting
13296 regime so bullet being yanked is used without prompting the user
13297 for a choice.
13298
8a05b668
JB
132992011-03-16 Juanma Barranquero <lekktu@gmail.com>
13300
13301 * startup.el (command-line): Warn the user that _emacs is deprecated.
13302
5ba5fb81
JB
133032011-03-16 Juanma Barranquero <lekktu@gmail.com>
13304
13305 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13306 (delphi-verbose, delphi-comment-face, delphi-string-face)
13307 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13308 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13309 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13310 (delphi-new-comment-line, delphi-font-lock-defaults)
13311 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13312 Fix typos in docstrings.
13313
2dab465b
KM
133142011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13315
5ba5fb81 13316 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13317 Invert the roles of character and string values for INSTEAD, so a
13318 string is used for the more common case of a defaulting prompt.
13319
0adf5618
SM
133202011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13321
13322 * progmodes/ruby-mode.el (ruby-backward-sexp):
13323 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13324 * play/gamegrid.el (gamegrid-make-face):
13325 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13326 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13327 * notifications.el (notifications-notify):
13328 * net/xesam.el (xesam-search-engines):
13329 * net/quickurl.el (quickurl-list-insert):
13330 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13331
d72700e5
CY
133322011-03-15 Chong Yidong <cyd@stupidchicken.com>
13333
13334 * startup.el (command-line): Update package subdirectory regexp.
13335
49c5410a
SM
133362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13337
c6eee9aa
SM
13338 * allout.el (allout-abbreviate-flattened-numbering)
13339 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13340
49c5410a
SM
13341 * subr.el (read-char-choice): Only show the cursor after the prompt,
13342 not after the answer.
13343
047b2bb9
KR
133442011-03-15 Kevin Ryde <user42@zip.com.au>
13345
13346 * help-fns.el (variable-at-point): Skip leading quotes, if any
13347 (bug#8253).
13348
0a57d256
SM
133492011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13350
13351 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13352 warning message.
13353
77c992bc
MA
133542011-03-14 Michael Albinus <michael.albinus@gmx.de>
13355
13356 * shell.el (shell): When called interactively, offer to change the
13357 shell file name on remote hosts.
13358
eebc475d
TZ
133592011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13360
13361 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13362 integration for LDAP parameters. The host, base, user or binddn,
13363 and secret tokens can be specified in a netrc file, for instance.
13364 This is optional because an `auth-source' parameter must be
13365 specified in the search attributes.
13366
9d05d1ba
JB
133672011-03-13 Juanma Barranquero <lekktu@gmail.com>
13368
13369 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13370
09d9db2c
GM
133712011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13374 into declaration. Remove redundant and harmful binding.
13375
133762011-03-12 Eli Zaretskii <eliz@gnu.org>
13377
13378 * files.el (file-ownership-preserved-p): Pass `integer' as an
13379 explicit 2nd argument to `file-attributes'. If the file's owner
13380 is the Administrators group on Windows, and the current user is
13381 Administrator, consider that a match.
13382
13383 * server.el (server-ensure-safe-dir): Consider server directory
13384 safe on MS-Windows if its owner is the Administrators group while
13385 the current Emacs user is Administrator. Use `=' to compare
13386 numerical UIDs, since they could be integers or floats.
13387
219bd536
JB
133882011-03-12 Juanma Barranquero <lekktu@gmail.com>
13389
13390 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13391
f3afd36b
MA
133922011-03-12 Michael Albinus <michael.albinus@gmx.de>
13393
13394 Sync with Tramp 2.2.1.
13395
13396 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13397
13398 * net/trampver.el: Update release number.
13399
3aaaa6f1
SM
134002011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13401
94642599
SM
13402 * progmodes/compile.el (compilation--previous-directory): Fix up
13403 various nil/dead-marker mismatches (bug#8014).
13404 (compilation-directory-properties, compilation-error-properties):
13405 Don't call it at a position past the one we're about to change.
13406
3aaaa6f1
SM
13407 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13408 Disable obsolescence warnings in the file that declares it.
13409
14239447
KM
134102011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13411
099c39a4
JB
13412 * allout-widgets.el (allout-widgets-tally):
13413 Initialize allout-widgets-tally as a hash table rather than nil to
13414 prevent mode-line redisplay warnings. Also, clarify the module
13415 description and fix a comment typo.
14239447 13416
135e287c
JB
134172011-03-11 Juanma Barranquero <lekktu@gmail.com>
13418
13419 * help-fns.el (describe-variable): Don't complete keywords.
13420 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13421
ffbf300e
CY
134222011-03-10 Chong Yidong <cyd@stupidchicken.com>
13423
ba08b241
CY
13424 * emacs-lisp/package.el (package-version-join): Impose a standard
13425 string representation for pre/alpha/beta version lists.
13426 (package-unpack-single): Standardize the directory name by passing
13427 it through package-version-join.
13428 (package-strip-rcs-id): Accept any version string that does not
13429 signal an error in version-to-list.
ffbf300e 13430
f346fd6b
MA
134312011-03-10 Michael Albinus <michael.albinus@gmx.de>
13432
13433 * simple.el (delete-trailing-whitespace): Return nil for the
13434 benefit of `write-file-functions'.
13435
ccb55d27
GM
134362011-03-10 Glenn Morris <rgm@gnu.org>
13437
5ceaac0c
GM
13438 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13439
02da65ff
GM
13440 * vc/vc-git.el (vc-git-program): New option.
13441 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13442 (vc-git--call): Use it.
13443
b2f603cc
GM
13444 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13445
5772caab
GM
13446 * cus-edit.el (Custom-newline): If no button at point, look
13447 for a subgroup button at start-of-line. (Bug#2298)
13448
ccb55d27
GM
13449 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13450
ec6ecaed
JD
134512011-03-10 Julien Danjou <julien@danjou.info>
13452
13453 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13454 `cursor-type' is nil.
13455
9d5aa01d
JB
134562011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13457
13458 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13459
b6a5875b
KM
134602011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13461
7a71b18d 13462 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13463 preserves the existing header prefix, rebulleting it if necessary,
13464 rather than replacing it. This is necessary for proper operation
13465 of cooperative addons like allout-widgets.
1154d12e
JB
13466 (allout-make-topic-prefix, allout-rebullet-heading):
13467 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13468 value as alternate bullet to be used, instead of prompting the user
13469 for a bullet character.
b6a5875b 13470
ee545c35
MA
134712011-03-09 Michael Albinus <michael.albinus@gmx.de>
13472
d86d2721
SM
13473 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13474 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13475 `tramp-default-port'.
13476
c47971d7
DD
134772011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13478
13479 * net/rcirc.el (rcirc-handler-001): Remove useless
13480 with-rcirc-process-buffer.
13481 (rcirc-check-auth-status): Swap arguments to string-match.
13482
13522cb4
GM
134832011-03-09 Glenn Morris <rgm@gnu.org>
13484
0be6f4f1
GM
13485 * shell.el (shell-mode):
13486 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13487
13522cb4
GM
13488 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13489 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13490
515de2e3
CY
134912011-03-08 Chong Yidong <cyd@stupidchicken.com>
13492
13493 * emacs-lisp/package.el (package-refresh-contents)
13494 (package-menu-execute): Use condition-case-no-debug.
13495
b511b994
MA
134962011-03-08 Michael Albinus <michael.albinus@gmx.de>
13497
13498 * simple.el (shell-command-to-string): Use `process-file'.
13499
13500 * emacs-lisp/package.el (package-tar-file-info): Handle also
13501 remote files.
13502
d86d2721
SM
13503 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13504 Use `equal' for upload base check.
b511b994 13505
25bbfb31
AM
135062011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13507
13508 * textmodes/texinfo.el (texinfo-environments):
13509 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13510
be996521
GM
135112011-03-08 Glenn Morris <rgm@gnu.org>
13512
e9c8529f
GM
13513 * cus-start.el (cursor-in-non-selected-windows):
13514 Fix :set quoting oddness. (Bug#8192)
13515
be996521
GM
13516 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13517 in some setf expressions. (Bug#2159)
13518
2bb5649e
CY
135192011-03-08 Chong Yidong <cyd@stupidchicken.com>
13520
13521 * custom.el (custom-available-themes): Return themes in
13522 alphabetical order.
13523
33383987 13524See ChangeLog.15 for earlier changes.
e3d51b27
MR
13525
13526;; Local Variables:
13527;; coding: utf-8
e3d51b27
MR
13528;; End:
13529
acaf905b 13530 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13531
13532 This file is part of GNU Emacs.
13533
13534 GNU Emacs is free software: you can redistribute it and/or modify
13535 it under the terms of the GNU General Public License as published by
13536 the Free Software Foundation, either version 3 of the License, or
13537 (at your option) any later version.
13538
13539 GNU Emacs is distributed in the hope that it will be useful,
13540 but WITHOUT ANY WARRANTY; without even the implied warranty of
13541 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13542 GNU General Public License for more details.
13543
13544 You should have received a copy of the GNU General Public License
13545 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.