* lisp/play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
5075bdb5
GM
12012-05-08 Glenn Morris <rgm@gnu.org>
2
3 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4
06f679a7
AH
52012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6
7 * progmodes/make-mode.el (makefile-browse):
8 Remove unnecessary interactive. (Bug#11324)
9
03794570
GM
102012-05-07 Glenn Morris <rgm@gnu.org>
11
af8630f4
GM
12 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13
03794570
GM
14 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
15
f0809a9d
SM
162012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17
28be5ce7
SM
18 * loadup.el: Preload newcomment.el.
19 * newcomment.el: Move autoload-only code to toplevel.
20
f0809a9d
SM
21 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
22 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
23 Handle new :right-align column property.
24 (tabulated-list-print-col): Idem, plus use `display' text-property to
25 try and preserve alignment for variable pitch fonts.
26
1241b724
CY
272012-05-07 Chong Yidong <cyd@gnu.org>
28
29 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
30 (tabulated-list-use-header-line): New var.
31 (tabulated-list-init-header): Use it.
32 (tabulated-list-print-fake-header): New function.
33 (tabulated-list-print): Use it.
34 (tabulated-list-sort-button-map): Add non-header-line commands.
35 (tabulated-list-init-header): Add column name property to basic
36 labels as well.
37 (tabulated-list-col-sort): Handle non-header-line button case.
38 (tabulated-list--sort-by-column-name): Fix a corner case.
39
f0809a9d
SM
40 * buff-menu.el (list-buffers--refresh):
41 Handle Buffer-menu-use-header-line.
1241b724 42
e5f9458f
CY
432012-05-06 Chong Yidong <cyd@gnu.org>
44
45 * buff-menu.el: Convert to Tabulated List mode.
46 (Buffer-menu-buffer+size-width): Make obsolete.
47 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
48 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
49 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
50 documentation into docstring of buffer-menu.
51 (Buffer-menu-toggle-files-only): Add an informative message.
52 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
53 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
54 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
55 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
56 (Buffer-menu-execute, Buffer-menu-select)
57 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
58 (Buffer-menu-bury): Use Tabulated List machinery.
59 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
60 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 61 Delete.
e5f9458f
CY
62 (list-buffers--refresh): New function.
63 (list-buffers-noselect): Use it.
64 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
65 (Buffer-menu--pretty-file-name): New helper functions.
66
67 * loadup.el: Preload tabulated-list.
68
69 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
70 tabulated-list-sort-column.
71 (tabulated-list-init-header): Add the initial aligning space even
72 if tabulated-list-padding is zero.
73
e129292c
CS
742012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
75
76 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
77 whose cdr is not a cons cell correctly (bug#11038).
78
6632d361
CY
792012-05-06 Chong Yidong <cyd@gnu.org>
80
e129292c
CS
81 * emacs-lisp/tabulated-list.el (tabulated-list-format):
82 Accept additional plist in column descriptors.
6632d361
CY
83 (tabulated-list-init-header): Obey it.
84 (tabulated-list-get-entry): New function.
85 (tabulated-list-put-tag): Use it. Use string-width instead of
86 length.
87 (tabulated-list--column-number): New function.
88 (tabulated-list-print): Use it.
e129292c
CS
89 (tabulated-list-print-col): New function.
90 Set `tabulated-list-column-name' property on each column's text.
6632d361 91 (tabulated-list-print-entry): Use it.
e129292c
CS
92 (tabulated-list-delete-entry, tabulated-list-set-col):
93 New functions.
6632d361
CY
94 (tabulated-list-sort-column): New command (Bug#11337).
95
3cc99f68
CY
96 * buff-menu.el (list-buffers): Move C-x C-b binding from
97 buff-menu.el to bindings.el.
98
99 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
100 :advertised-binding feature.
101
52b61776
TN
1022012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
103
104 * progmodes/compile.el (compilation-internal-error-properties):
105 Calculate start position correctly when end-col is set but
106 end-line is not (Bug#11382).
107
ebfe2597
WJ
1082012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
109
110 * man.el (Man-unindent): Use text-property-default-nonsticky to
111 prevent untabify from inheriting face properties (Bug#11408).
112
a43f98b3
GM
1132012-05-05 Glenn Morris <rgm@gnu.org>
114
48176e8b
GM
115 * calendar/cal-html.el: Optionally include holidays in the output.
116 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
117 (cal-html-holidays): New option.
118 (cal-html-css-default): Add holiday entry.
119 (holiday-in-range): Autoload it.
120 (cal-html-htmlify-entry): Add optional class argument.
121 (cal-html-htmlify-list): Add optional holidays argument.
122 (cal-html-insert-agenda-days): Include holidays in the output.
123 (cal-html-one-month): Maybe include holidays.
124
a43f98b3
GM
125 * calendar/holidays.el (holiday-in-range):
126 Move here from cal-tex-list-holidays.
127 * calendar/cal-tex.el (cal-tex-list-holidays):
128 Make it an obsolete alias for holiday-in-range. Update all callers.
129
fef9d149 1302012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
131
132 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
133 Nextstep.
134
248da2f4
RW
1352012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
136
137 * files.el (file-auto-mode-skip): New var.
138 (set-auto-mode-1): Use it.
139
f95e9344
SM
1402012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
141
df96ab1e
SM
142 * repeat.el: Use lexical-binding.
143 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
144 (repeat-undo-count): Remove.
145 (repeat):
146 * progmodes/octave-mod.el (octave-abbrev-start):
147 * progmodes/f90.el (f90-abbrev-start):
148 * face-remap.el (text-scale-adjust):
149 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
150
5342bb06
SM
151 * emacs-lisp/pcase.el (pcase--let*): New function.
152 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
153 a bit more.
154 (pcase--split-pred): Be more clever about ruling out overlap between
155 a predicate and some constant pattern.
156 (pcase--q1): Use `null' instead of (eq foo nil).
157
f95e9344
SM
158 * subr.el (setq-local, defvar-local): New macros.
159 (kbd): Redefine as an alias.
160 (with-selected-window): Leave unrelated frames alone.
161 (set-temporary-overlay-map): New function.
162
71873e2b
SM
1632012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * subr.el (user-error): New function.
166 * window.el (switch-to-buffer):
167 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
168 (smerge-match-conflict):
169 * simple.el (previous-matching-history-element)
170 (next-matching-history-element, goto-history-element, undo-more)
171 (undo-start):
172 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
173 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
174 (next-file, tags-loop-scan, list-tags, complete-tag):
175 * progmodes/compile.el (compilation-loop):
176 * mouse.el (mouse-minibuffer-check):
177 * man.el (Man-bgproc-sentinel, Man-goto-page):
178 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
179 (Info-history-forward, Info-follow-reference, Info-menu)
180 (Info-extract-menu-item, Info-extract-menu-counting)
181 (Info-forward-node, Info-backward-node, Info-next-menu-item)
182 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
183 (Info-next-reference, Info-prev-reference, Info-index)
184 (Info-index-next, Info-follow-nearest-node)
185 (Info-copy-current-node-name):
186 * imenu.el (imenu--make-index-alist)
187 (imenu-default-create-index-function, imenu-add-to-menubar):
188 * files.el (basic-save-buffer, recover-file):
189 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
190 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
191 (checkdoc-message-text, checkdoc-defun):
192 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
193 * cus-edit.el (customize-changed-options, customize-rogue)
194 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
195 (custom-variable-mark-to-reset-standard)
196 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
197 (custom-file):
198 * completion.el (check-completion-length):
199 * comint.el (comint-search-arg)
200 (comint-previous-matching-input-string-position)
201 (comint-previous-matching-input)
202 (comint-replace-by-expanded-history-before-point, comint-send-input)
203 (comint-copy-old-input, comint-backward-matching-input)
204 (comint-goto-process-mark, comint-set-process-mark):
205 * calendar/calendar.el (calendar-cursor-to-date): Use it.
206 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
207
8a61ee22
SM
2082012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
209
66408d1e
SM
210 * dabbrev.el (dabbrev--ignore-case-p): New function.
211 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
212 Use it.
213
8a61ee22
SM
214 * files.el (automount-dir-prefix): Mark as obsolete.
215
3c74813a
GM
2162012-05-04 Glenn Morris <rgm@gnu.org>
217
218 * patcomp.el, play/bruce.el: Move to obsolete/.
219
0bfcf5c5
PE
2202012-05-04 Paul Eggert <eggert@cs.ucla.edu>
221
222 Fix minor Y10k bugs.
223 * arc-mode.el (archive-unixdate):
224 * autoinsert.el (auto-insert-alist):
225 * calc/calc-forms.el (math-this-year):
226 * emacs-lisp/copyright.el (copyright-current-year)
227 (copyright-update-year, copyright):
228 * tar-mode.el (tar-clip-time-string):
229 * time.el (display-time-update):
230 Don't assume years have 4 digits.
231
78f3273a
CY
2322012-05-04 Chong Yidong <cyd@gnu.org>
233
234 * dos-w32.el (file-name-buffer-file-type-alist)
235 (direct-print-region-use-command-dot-com):
236 * ffap.el (ffap-menu-regexp):
237 * find-file.el (ff-special-constructs):
238 * follow.el (follow-debug):
239 * forms.el (forms--debug):
240 * iswitchb.el (iswitchb-all-frames):
241 * ido.el (ido-all-frames):
242 * emacs-lisp/timer.el (timer-max-repeats):
243 * mail/feedmail.el (feedmail-mail-send-hook)
244 (feedmail-mail-send-hook-queued):
245 * mail/footnote.el (footnote-signature-separator):
246 * mail/mailabbrev.el (mail-alias-separator-string)
247 (mail-abbrev-mode-regexp):
248 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
249 * progmodes/idlwave.el (idlwave-libinfo-file)
250 (idlwave-default-completion-case-is-down)
251 (idlwave-library-routines): Convert defvars to defcustoms.
252
253 * mail/rmail.el (rmail-decode-mime-charset):
254 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
255 (idlwave-shell-fix-inserted-breaks)
256 (idlwave-shell-activate-alt-keybindings)
257 (idlwave-shell-use-breakpoint-glyph):
258 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
259
f7ae6719
SM
2602012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
263
47086495
WS
2642012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
265
266 * progmodes/verilog-mode.el (font-lock-keywords):
267 Fix mis-highligting auto. Reported by Craig Barner.
268 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
269 defines from global name space. Reported by Dan Dever.
270 (verilog-auto-reset, verilog-auto-reset-widths)
271 (verilog-auto-tieoff): Support using unbased numbers for
272 AUTORESET and AUTOTIEOFF.
273 (verilog-submit-bug-report): Update variable list.
274 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
275 parenthesis from not matching. Reported by Michael Rytting.
276 (verilog-auto-template-lint): Fix hash error when linting modules
277 with no used templates.
278 (verilog-warn, verilog-warn-error)
279 (verilog-warn-fatal): When non-interactive report multiple
280 warnings before exiting. Suggested by Brad Dobbie.
281 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
282 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
283 to report unused template errors. Reported by Brad Dobbie.
284 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
285 nets, bug438. Reported by Vns Blore.
286 (verilog-auto-inout-module, verilog-auto-reg)
287 (verilog-read-decls, verilog-read-sub-decls-sig)
288 (verilog-signals-edit-wire-reg, verilog-signals-with):
289 Fix passing of Verilog data types in ANSI input/output ports
290 such as "output logic" into the AUTOs. Special case "wire" and
291 "reg" for backwards compatibility presuming Verilog 2001.
292 (verilog-auto-ascii-enum): Add "auto enum" as alias.
293 (verilog-preprocess): Fix replication of preprocess output.
294 Reported by Brad Dobbie.
295 (verilog-auto-inst-interfaced-ports):
296 Create verilog-auto-inst-interfaced-ports, bug429.
297 Reported by Julian Gorfajn.
298 (verilog-after-save-font-hook)
299 (verilog-before-save-font-hook): New variable.
300 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
301 (verilog-save-font-mods): Wrap disabling fontification, reported
302 by David Rogoff.
303 (verilog-do-indent, verilog-pretty-declarations-auto)
304 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
305 Reported by Pierre-David Pfister.
306 (verilog-set-auto-endcomments): Fix endtask auto comments outside
307 of class declarations, bug292. Reported by Kevin Heilman.
308 (verilog-read-decls): Fix 'parameter type' not appearing in
309 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
310 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
311 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
312 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
313 Reported by David Kravitz.
314
3152012-05-03 Michael McNamara <mac@mail.brushroad.com>
316
317 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
318 assignment with tests in ifs and for loops.
319 (verilog-extended-complete-re, verilog-complete-reg): Change so
320 that DPI inport functions don't look like fuction declarations.
321 (verilog-pretty-expr): Don't line up assignment
322 operations to the test and increment in if and for loops
323 (verilog-extended-complete-re, verilog-complete-reg): Change so
324 that DPI inport functions don't look like fuction declarations
325
2e51d4b5
KH
3262012-05-03 Kenichi Handa <handa@m17n.org>
327
328 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
329 decoding, and show a warning message without signalling an error
330 (Bug#11282).
331
2bd785a2
SM
3322012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * emacs-lisp/bytecomp.el
335 (byte-compile-file-form-custom-declare-variable): Compile all elements,
336 since cconv.el might have introduced :fun-body, internal-make-closure,
337 and friends for bytecomp to handle (bug#11391).
338 * custom.el (defcustom): Avoid ((λ ..) ..).
339
99d27583
SM
3402012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
343
55a71479
JB
3442012-05-02 Juanma Barranquero <lekktu@gmail.com>
345
346 * notifications.el (dbus-debug):
347 * term/linux.el (gpm-mouse-enable):
348 * term/screen.el (xterm-register-default-colors): Declare.
349
7b97c764
CY
3502012-05-02 Chong Yidong <cyd@gnu.org>
351
2bc356d7
CY
352 * cus-start.el (gc-cons-percentage, exec-suffixes)
353 (dos-display-scancodes, dos-hyper-key, dos-super-key)
354 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
355 (make-cursor-line-fully-visible, void-text-area-pointer)
356 (font-list-limit): Add customization data.
357
7b97c764
CY
358 * allout.el (allout-exposure-change-functions)
359 (allout-structure-added-functions)
360 (allout-structure-deleted-functions)
361 (allout-structure-shifted-functions): Rename abnormal hooks from
362 *-hook, and convert to defcustoms.
5d3385a0
JB
363 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
364 Convert to defcustoms.
7b97c764
CY
365 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
366
367 * allout-widgets.el: Hook callers changed.
368
90207a15 3692012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
370
371 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
372 the yanked message in preference to the default value of
373 buffer-file-coding-system.
374
90207a15 3752012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 376
5d3385a0
JB
377 * window.el (display-buffer--action-function-custom-type):
378 Fix entry.
d9558cad 379
90207a15 3802012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
381
382 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
383
d80ac57b
GM
3842012-05-01 Glenn Morris <rgm@gnu.org>
385
976f7668
GM
386 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
387
beb83b5a
GM
388 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
389
d80ac57b
GM
390 * cus-edit.el (custom-variable-documentation): Simplify with format.
391
b593d6a9
AH
3922012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
393 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 * simple.el (suggest-key-bindings, execute-extended-command):
396 Move from keyboard.c.
397
782fbf2a
CY
3982012-05-01 Chong Yidong <cyd@gnu.org>
399
400 * follow.el: Eliminate advice.
401 (set-process-filter, process-filter, sit-for): Advice deleted.
402 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
403 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
404 Vars deleted.
782fbf2a
CY
405 (follow-auto): Use a :set function.
406 (follow-mode): Rewritten. Don't advise process filters.
407 (follow-switch-to-current-buffer-all, follow-scroll-up)
408 (follow-scroll-down): Assume follow-mode is bound.
409 (follow-comint-scroll-to-bottom)
410 (follow-align-compilation-windows): New functions.
411 (follow--window-sorter): New function.
412 (follow-all-followers): Use it to explicitly sort windows by their
413 positions; don't make assumptions about next-window order.
414 (follow-windows-start-end, follow-delete-other-windows-and-split)
415 (follow-calc-win-start): Doc fix.
416 (follow-windows-aligned-p, follow-select-if-visible): Don't call
417 vertical-motion unnecessarily.
418 (follow-adjust-window): New function.
419 (follow-post-command-hook): Use it.
420 (follow-call-set-process-filter, follow-call-process-filter)
421 (follow-intercept-process-output, follow-tidy-process-filter-alist)
422 (follow-stop-intercept-process-output, follow-generic-filter):
423 Functions deleted.
424 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
425 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
426 New functions, replacing advice on scroll-bar-* commands.
87233a14 427 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
428
429 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
430 (comint-postoutput-scroll-to-bottom): Use it.
431 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 432
290af740
GM
4332012-05-01 Glenn Morris <rgm@gnu.org>
434
435 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
436 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
437 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
438 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
439 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
440 Remove no-byte-compile setting.
441
6eac8dc9
SM
4422012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 * minibuffer.el (completion-table-with-quoting): Fix compatibility
445 all-completions code to not return a number in the last cdr.
446
9cc7819c
LL
4472012-04-30 Leo Liu <sdl.web@gmail.com>
448
449 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
450 read-only error.
451
c93b886f
CY
4522012-04-29 Chong Yidong <cyd@gnu.org>
453
454 * follow.el (follow-calc-win-end): Rewrite to handle partial
455 screen lines correctly (Bug#8390).
456 (follow-avoid-tail-recenter): Minor cleanup.
457
8b6c19f4
SM
4582012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 Avoid the obsolete `assoc' package.
461 * speedbar.el (speedbar-refresh): Avoid adelete.
462 (speedbar-file-lists): Simplify and avoid aput.
463 * man.el (Man--sections, Man--refpages): New vars, replacing
464 Man-sections-alist and Man-refpages-alist.
465 (Man-build-section-alist, Man-build-references-alist):
466 Use them; avoid aput.
467 (Man--last-section, Man--last-refpage): New vars.
468 (Man-follow-manual-reference): Use them.
469 Use the `default' arg of completing-read.
470 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
471
c5bb7569
CY
4722012-04-27 Chong Yidong <cyd@gnu.org>
473
d1d2e2e8
CY
474 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
475
15cd8efd
CY
476 * startup.el (x-apply-session-resources): New function.
477
478 * term/ns-win.el (ns-initialize-window-system):
479 * term/w32-win.el (w32-initialize-window-system):
480 * term/x-win.el (x-initialize-window-system): Use it to properly
481 set menu-bar-mode and other vars from X resources, even if the
482 initial frame is not a window-system frame (Bug#2299).
483
c5bb7569
CY
484 * subr.el (read-key): Avoid running filter function when setting
485 up temporary tool bar entries (Bug#9922).
486
a8e7d6d7 4872012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
488
489 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
490 (Bug#11344)
491
a8e7d6d7 4922012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
493
494 * select.el (xselect--encode-string): New function, split from
495 xselect-convert-to-string.
496 (xselect-convert-to-string): Use it.
497 (xselect-convert-to-filename, xselect-convert-to-os)
498 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
499 returned strings are properly encoded (Bug#11315).
500
a8e7d6d7 5012012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
502
503 * simple.el (delete-active-region): Move to killing custom group.
504
a8e7d6d7 5052012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
506
507 * progmodes/which-func.el (which-func-current): Quote %
508 characters for mode-line processing.
509
578c1d4b 5102012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
511
512 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
513 reaching eob (Bug#11286).
514
a8e7d6d7 5152012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
516
517 * progmodes/gdb-mi.el (gdb-control-level): New variable.
518 (gdb): Make it buffer-local and init to zero.
519 (gdb-control-commands-regexp): New variable.
520 (gdb-send): Don't wrap in "-interpreter-exec console" if
521 gdb-control-level is positive. Increment gdb-control-level
522 whenever the command matches gdb-control-commands-regexp, and
523 decrement it each time the command is "end". (Bug#11279)
524
a8e7d6d7 5252012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
526
527 * window.el (adjust-window-trailing-edge, enlarge-window)
528 (shrink-window, window-resize):
529 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
530 windows (Bug#11276).
531
b3608390
CY
5322012-04-27 Chong Yidong <cyd@gnu.org>
533
534 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 535 fix "missing prefix" warning. All callers changed.
b3608390 536
797e6e88
SM
5372012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * emacs-lisp/assoc.el: Move to obsolete/.
540
e95a67dc
SM
5412012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
542
657c21e4 543 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
544
545 * term/ns-win.el (ns-define-service):
546 * progmodes/pascal.el (pascal-goto-defun):
547 * progmodes/js.el (js--read-tab):
548 * progmodes/etags.el (tags-lazy-completion-table):
549 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
550 * emacs-lisp/ewoc.el (ewoc--wrap):
551 * emacs-lisp/assoc.el (aput, adelete, amake):
552 * doc-view.el (doc-view-convert-current-doc):
553 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
554
cb3e7ae0
CY
5552012-04-26 Chong Yidong <cyd@gnu.org>
556
dce04f7f
CY
557 * image.el (image-type-from-buffer): Only return supported image
558 type (Bug#9045).
559
cb3e7ae0
CY
560 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
561 value, for symmetry with diff-end-of-hunk.
562 (diff-split-hunk, diff-find-source-location)
563 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
564 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
565 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
566 compute the relevant hunk or file properly (Bug#6005).
567 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
568
0d42eb3e
SM
5692012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * vc/vc-mtn.el:
572 * vc/vc-hg.el:
573 * vc/vc-git.el:
574 * vc/vc-dir.el:
575 * vc/vc-cvs.el:
576 * vc/vc-bzr.el:
577 * vc/vc-arch.el:
578 * vc/vc.el: Replace lexical-let by lexical-binding.
579 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
580 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
581 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
582
f08ae1c9
CY
5832012-04-26 Chong Yidong <cyd@gnu.org>
584
8b71081d
CY
585 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
586 (diff-mode-shared-map): Bind it to / and [remap undo].
587
f08ae1c9
CY
588 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
589 (ediff-window-setup-function): Use it as the default, to set up
590 windows based on whether the current frame is graphical (Bug#2138).
591 (ediff-choose-window-setup-function-automatically): Make obsolete.
592
593 * vc/ediff-init.el: Always define ediff-pixel-width/height.
594
ef24141c
SM
5952012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
596
cc356a5d
SM
597 * ffap.el: Remove old code for obsolete package.
598 (ffap-complete-as-file-p): Remove.
599
b4ff4f1f
SM
600 Use completion-table-with-quoting for comint and pcomplete.
601 * comint.el (comint--unquote&requote-argument)
602 (comint--unquote-argument, comint--requote-argument): New functions.
603 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
604 (comint-quote-filename): Use regexp-opt-charset.
605 (comint--common-suffix, comint--common-quoted-suffix)
606 (comint--table-subvert): Remove.
607 (comint-unquote-function, comint-requote-function): New vars.
608 (comint--complete-file-name-data): Use them with
609 completion-table-with-quoting.
610 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
611 * pcomplete.el (pcomplete-arg-quote-list)
612 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
613 (pcomplete-unquote-argument-function): Default to non-nil.
614 (pcomplete-unquote-argument): Simplify.
615 (pcomplete--common-quoted-suffix): Remove.
616 (pcomplete-requote-argument-function): New var.
617 (pcomplete--common-suffix): New function.
618 (pcomplete-completions-at-point): Use completion-table-with-quoting
619 and completion-table-subvert.
620
79c4eeb4
SM
621 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
622 (minibuffer--double-dollars): Preserve properties.
623 (completion--sifn-requote): New function.
624 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
625
ef24141c
SM
626 * minibuffer.el: Add support for completion of quoted/escaped data.
627 (completion-table-with-quoting, completion-table-subvert): New funs.
628 (completion--twq-try, completion--twq-all): New functions.
629 (completion--nth-completion): New function.
630 (completion-try-completion, completion-all-completions): Use it.
631
784e7d6e
LL
6322012-04-25 Leo Liu <sdl.web@gmail.com>
633
dd2ac746
SM
634 * progmodes/python.el (python-pdbtrack-get-source-buffer):
635 Use compilation-message if available to find real filename.
784e7d6e 636
07875ee7
CY
6372012-04-25 Chong Yidong <cyd@gnu.org>
638
639 * vc/diff-mode.el (diff-setup-whitespace): New function.
640 (diff-mode): Use it.
641
642 * vc/diff.el (diff-sentinel):
643 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
644 Whitespace mode variables based on diff style (Bug#8612).
645
5055880d
LL
6462012-04-25 Leo Liu <sdl.web@gmail.com>
647
daf75653
LL
648 * progmodes/python.el (python-send-region): Add suffix .py to the
649 temp file.
650
5055880d
LL
651 * files.el (auto-mode-alist): Use javascript-mode instead.
652
db9b177b
AH
6532012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
654
ef24141c 655 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
656
657 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 658 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 659 references, see Bug#9.
ef24141c 660 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 661 when receiving a fault reply.
ef24141c 662 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
663
664 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 665 (soap-inspect-simple-type): New function.
db9b177b 666
ef24141c 667 * soap-client.el (soap-simple-type): New struct.
db9b177b 668 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
669 (soap-decode-basic-type, soap-encode-basic-type):
670 support unsignedInt and double basic types.
db9b177b 671 (soap-resolve-references-for-simple-type)
ef24141c
SM
672 (soap-parse-simple-type, soap-encode-simple-type): New function.
673 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
674
675 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
676 (soap-default-soapenc-types): Add integer, byte and anyURI types.
677 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
678 the local name of "soapenc:Array".
679 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
680 decoding integer, byte and anyURI xsd types.
681
1fc6097b
CY
6822012-04-25 Chong Yidong <cyd@gnu.org>
683
684 * cus-edit.el (custom-buffer-create-internal): Update header text.
685
afc6df87
EZ
6862012-04-25 Eli Zaretskii <eliz@gnu.org>
687
688 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
689 settings on 'system-type', not on 'window-system'. On MS-Windows,
690 set interactive-mode on in GDB.
691
dfbd787f
SM
6922012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
695 (ruby-syntax-propertize-regexp): Remove.
696 (ruby-syntax-propertize-function): Split regexp into chunks.
697 Match following code directly.
698
85222d44
DG
6992012-04-24 Dmitry Gutov <dgutov@yandex.ru>
700
51a8ea2a
DG
701 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
702 (ruby-syntax-propertize-regexp): New function.
703 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
704 by a special keyword.
705
85222d44
DG
706 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
707 (ruby-syntax-general-delimiters-goto-beg)
708 (ruby-syntax-propertize-general-delimiters): New functions.
709 (ruby-syntax-propertize-function): Use them to handle GDL.
710 (ruby-font-lock-keywords): Move old handling of GDL...
711 (ruby-font-lock-syntactic-keywords): .. to here.
712 (ruby-calculate-indent): Adjust indentation for GDL.
713
b613912b
MA
7142012-04-24 Michael Albinus <michael.albinus@gmx.de>
715
b5380639
MA
716 * notifications.el (top): Remove unneeded declarations.
717 (notifications-specification-version): Change to "1.2".
e43042fe 718 (notifications-interface, notifications-notify-method)
b613912b
MA
719 (notifications-close-notification-method): Fix docstring.
720 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
721 (notifications-notify): Add :action-items, :resident and
722 :transient hints. Change "image_data" to "image-data" and
723 "image_path" to "image-path".
b613912b
MA
724 (notifications-get-capabilities): New defun.
725
257440aa
LL
7262012-04-24 Leo Liu <sdl.web@gmail.com>
727
728 * progmodes/python.el: Move hideshow setup to the end.
729
b1bac16e
MR
7302012-04-24 Martin Rudalics <rudalics@gmx.at>
731
732 * window.el (handle-select-window): Clear echo area since this is
733 no more done by read_char (Bug#11304).
734
d81bd059
SM
7352012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
738 and `/ M' to filter-derived-mode.
739 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
740 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
741 (ibuffer-mark-by-mode): Use default rather than initial-input.
742 (ibuffer-filter-by-derived-mode): Autoload and require-match.
743
c4cf6d91
IA
7442012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
745
746 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
747 (ibuffer-filter-by-derived-mode): New filter.
748 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
749
7511ded8
CY
7502012-04-23 Andreas Politz <politza@fh-trier.de>
751
752 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
753
775c916b
CY
7542012-04-23 Chong Yidong <cyd@gnu.org>
755
756 * cus-edit.el (customize-apropos, customize-apropos-options):
757 Disable matching of non-option variables (Bug#11176).
758 (customize-option, customize-option-other-window)
759 (customize-changed-options): Doc fix.
760 (customize-apropos-options, customize-apropos-faces)
761 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
762
763 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 764 Fix word list splitting (Bug#11132).
46c71e23
CY
765 (apropos-symbol, apropos-keybinding, apropos-label)
766 (apropos-property, apropos-function-button)
767 (apropos-variable-button, apropos-misc-button): New faces.
768 (apropos-symbol-face, apropos-keybinding-face)
769 (apropos-label-face, apropos-property-face, apropos-match-face):
770 Variables removed (Bug#8396).
771 (apropos-library-button, apropos-format-plist, apropos-print)
772 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 773
2df41f9c
MA
7742012-04-23 Michael Albinus <michael.albinus@gmx.de>
775
776 * net/xesam.el (xesam-mode-map): Use let-bound map in
777 initialization. (Bug#11292)
778
da00640a
AM
7792012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
780
781 Preserve ispell session localwords when switching back to
782 original buffer.
783
784 * ispell.el (ispell-buffer-session-localwords): New buffer-local
785 variable to hold buffer session localwords.
786 (ispell-kill-ispell): add option 'clear to delete session
787 localwords.
788 (ispell-command-loop, ispell-change-dictionary)
789 (ispell-buffer-local-words): Preserve session localwords when
790 needed.
791
792 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
793 Preserve session localwords when needed.
794
f621ccf5
AM
7952012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
796
797 * ispell.el (ispell-insert-word) Remove unneeded function using
798 obsolete `translation-table-for-input'.
ef24141c
SM
799 (ispell-word, ispell-process-line, ispell-complete-word):
800 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 801
c2d1019e
CY
8022012-04-22 Chong Yidong <cyd@gnu.org>
803
804 * cus-edit.el (custom-variable-menu)
805 (custom-variable-reset-saved, custom-face-menu)
806 (custom-face-reset-saved): If there is no saved value, make the
807 "reset-saved" operation bring back the default (Bug#9509).
808 (custom-face-state): Properly detect themed faces.
809
eeddc531
CY
810 * faces.el (face-spec-set): Stop supporting deprecated form of
811 third arg.
812
dcbf5805
MA
8132012-04-22 Michael Albinus <michael.albinus@gmx.de>
814
815 Move functions from C to Lisp. Make non-blocking method calls
816 the default. Implement further D-Bus standard interfaces.
817
ef24141c
SM
818 * net/dbus.el (dbus-message-internal): Declare function.
819 Remove unneeded function declarations.
dcbf5805
MA
820 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
821 (dbus-message-type-method-return, dbus-message-type-error)
822 (dbus-message-type-signal): Declare variables. Remove local
823 definitions.
824 (dbus-interface-dbus, dbus-interface-peer)
825 (dbus-interface-introspectable, dbus-interface-properties)
826 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
827 Adapt docstring.
828 (dbus-interface-objectmanager): New defconst.
829 (dbus-call-method, dbus-call-method-asynchronously)
830 (dbus-send-signal, dbus-method-return-internal)
831 (dbus-method-error-internal, dbus-register-service)
832 (dbus-register-signal, dbus-register-method): New defuns, moved
833 from dbusbind.c
834 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
835 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
836 New defuns.
dcbf5805
MA
837 (dbus-call-method-non-blocking): Make it an obsolete function.
838 (dbus-unregister-object, dbus-unregister-service)
839 (dbus-handle-event, dbus-register-property)
840 (dbus-property-handler): Obey the new structure of
841 `bus-registered-objects'.
842 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
843 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
844 Use `dbus-call-method'.
845
cf20dee0
CY
8462012-04-22 Chong Yidong <cyd@gnu.org>
847
848 * cus-edit.el (custom-commands, custom-reset-menu)
849 (Custom-reset-standard): Tweak labels.
850 (custom-reset-button-menu): Change default to t.
851 (custom-buffer-create-internal): For the custom-reset-button-menu
852 case, put the revert button first.
853 (custom-group-subtitle): New face.
854 (custom-group-value-create): Align docstring to a specific column.
855
856 * wid-edit.el (widget-documentation-link-add): Don't handle
857 indentation in this function.
858 (widget-documentation-string-indent-to): New function.
859 (widget-documentation-string-value-create): Use it.
860
861 * autorevert.el (auto-revert):
862 * epg-config.el (epg):
863 * ibuffer.el (ibuffer):
864 * mpc.el (mpc):
865 * ses.el (ses):
866 * eshell/eshell.el (eshell):
867 * net/ange-ftp.el (ange-ftp):
868 * progmodes/ebnf2ps.el (postscript):
869 * progmodes/flymake.el (flymake):
870 * progmodes/prolog.el (prolog):
871 * progmodes/verilog-mode.el (verilog-mode):
872 * progmodes/which-func.el (which-func):
873 * term/xterm.el (xterm):
874 * textmodes/picture.el (picture):
875 * textmodes/tildify.el (tildify):
876 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
877 customization buffers.
878
583e23bd
AM
8792012-04-22 Alan Mackenzie <acm@muc.de>
880
881 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
882 Adding a ) can hide the resulting (..) from searches. Fix it.
883 Bound the backward search to the position of the existing (.
884
7dd51bf1
JB
8852012-04-21 Juanma Barranquero <lekktu@gmail.com>
886
887 * progmodes/verilog-mode.el (verilog-mode): Check whether
888 which-func-modes is t before adding verilog-mode.
889 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
890
d64a438f
LL
8912012-04-21 Leo Liu <sdl.web@gmail.com>
892
7dd51bf1 893 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 894
081e8d65
MV
8952012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
896
897 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
898 filling of the last column of a table (Bug#5635).
899 (woman-find-next-control-line): New arg, specifying an additional
900 regexp component for the control line.
901 (woman2-roff-buffer): Use it.
902 (woman-break-table): New function.
903 (woman2-TS): Use it.
904
9052012-04-21 Chong Yidong <cyd@gnu.org>
906
907 * woman.el (woman-set-buffer-display-table, woman-decode-region)
908 (woman-horizontal-escapes, woman-negative-vertical-space)
909 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
910 (WoMan-warn-ignored): Use ?\s instead of ?\ .
911
ed571ccb
SM
9122012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * minibuffer.el (completion-file-name-table): Complete user names.
915
39773899
LL
9162012-04-20 Leo Liu <sdl.web@gmail.com>
917
918 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
919 and pcase-let*.
920
de6ff46d
CY
9212012-04-20 Chong Yidong <cyd@gnu.org>
922
923 * server.el (server-execute): Respect initial-buffer-choice if it
924 is a string and there are no files to open (Bug#2825).
925 (server-create-window-system-frame, server-create-tty-frame):
926 Don't switch buffers here.
2d0e8e61
CY
927 (server-process-filter): Only try to open a window system frame if
928 compiled with graphical support (Bug#8314).
de6ff46d 929
54071013
DN
9302012-04-20 Dan Nicolaescu <dann@gnu.org>
931
932 * battery.el (battery-echo-area-format): Display remaining time
933 for sysfs backend too (Bug#11269).
934 (battery-linux-sysfs): Fix conditional for the charge.
935
f30d612a
CY
9362012-04-20 Chong Yidong <cyd@gnu.org>
937
c07a4c0b 938 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
939 (gdb-inferior-io--init-proc): New function.
940 (gdb-init-1): Use it.
941 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
942 responsible for allocating a new pty and hooking it to gdb when
943 the old pty gets an EIO due to process exit.
944 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
945 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
946 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
947
2116e93c
EZ
9482012-04-20 Eli Zaretskii <eliz@gnu.org>
949
950 * window.el (window-min-size, window-sizable, window-min-delta)
951 (window-max-delta, window--resizable, window-resizable)
952 (window-total-size, window-full-height-p, window-full-width-p)
953 (window-in-direction, window--resize-mini-window, window-resize)
954 (window--resize-child-windows-normal)
955 (window--resize-child-windows, window--resize-siblings)
956 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 957 (enlarge-window, shrink-window): Doc fixes.
2116e93c 958
c07a4c0b 9592012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 960
ef24141c
SM
961 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
962 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
963 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
964 pty process (Bug#11273).
965 (gdb-update): New arg to suppress talking to the gdb process.
966 (gdb-done-or-error): Use it.
967 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
968 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
969 sentinel not being called.
970
971 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
972
d02766ab
CY
973 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
974
c07a4c0b 9752012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
976
977 * net/network-stream.el (open-network-stream): Doc fix.
978
c07a4c0b 9792012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
980
981 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
982
c07a4c0b 9832012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
984
985 Ensure searching for keywords is case sensitive.
986
987 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
988 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
989 (c-defun-name, c-mark-function, c-cpp-define-name)
990 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 991 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 992
ef24141c
SM
993 * progmodes/cc-mode.el (c-font-lock-fontify-region):
994 Bind case-fold-search to nil.
f0f6bc35 995
c07a4c0b 9962012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
997
998 * mail/sendmail.el (mail-bury): Call return action with the right
999 Rmail buffer (Bug#11242).
1000
9a864fa2
CY
1001 * server.el (server-process-filter): Handle corner case where both
1002 tty and nowait options are present (Bug#11102).
1003
539aa513
EZ
10042012-04-20 Eli Zaretskii <eliz@gnu.org>
1005
1006 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1007 (top level): Put into the executable the ident-style '$Id:' tag on
1008 windows-nt as well.
539aa513 1009
cfc7d5da
SM
10102012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * electric.el (electric-indent-post-self-insert-function): Check that
1013 electric-indent-mode is enabled in current buffer.
1014
5b01685c
JB
10152012-04-19 Juanma Barranquero <lekktu@gmail.com>
1016
1017 * imenu.el (imenu-progress-message): Restore; it is "used" in
1018 erc/erc-imenu.el and net/snmp-mode.el.
1019
4d6769e1
JB
10202012-04-19 Juanma Barranquero <lekktu@gmail.com>
1021
1022 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1023 (mouse-avoidance-nudge-mouse): Remove unused binding.
1024
1025 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1026
1027 * descr-text.el (describe-char):
1028 * progmodes/python.el (python-describe-symbol):
1029 Don't call `toggle-read-only', set `buffer-read-only'.
1030
1031 * imenu.el (imenu-default-goto-function): Mark unused args.
1032 (imenu-progress-message): Remove obsolete macro; all callers changed.
1033
1034 * subr.el (keymap-canonicalize): Remove unused binding.
1035 (read-passwd): Mark unused arg.
1036
1037 * tutorial.el (tutorial--display-changes): Remove unused binding.
1038 (tutorial--save-tutorial-to): Remove unused variable.
1039
1040 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1041 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1042 (package-generate-autoloads, package-menu--generate)
1043 (package-menu--find-upgrades): Remove unused bindings.
1044
1045 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1046 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1047 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1048 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1049 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1050 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1051 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1052 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1053 (cua-delete-char-rectangle): Mark unused args.
1054 (cua-align-rectangle): Remove unused binding.
1055
1056 * mail/rmail.el (compilation--message->loc)
1057 (epa--find-coding-system-for-mime-charset): Declare.
1058
1059 * net/dbus.el (dbus-register-service): Declare.
1060 (dbus-name-owner-changed-handler): Remove unused binding.
1061
1062 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1063 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1064 (nxml-scan-backward-within): Mark unused arg.
1065 (nxml-dynamic-markup-word): Remove unused binding.
1066
1067 * mouse.el (mouse-menu-major-mode-map):
1068 * emacs-lisp/authors.el (authors-scan-change-log)
1069 (authors-add-to-author-list):
1070 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1071 * emacs-lisp/smie.el (smie-auto-fill):
1072 * mail/sendmail.el (mail-bury):
1073 * mail/unrmail.el (unrmail):
1074 * net/tls.el (open-tls-stream):
1075 * textmodes/picture.el (picture-mouse-set-point):
1076 Remove unused bindings.
1077
8c8fc5df
MA
10782012-04-19 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * net/tramp.el (tramp-action-password): Let-bind
1081 `enable-recursive-minibuffers' to t.
1082
a77b0ac9
SS
10832012-04-18 Sam Steingold <sds@gnu.org>
1084
1085 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1086 instead of 'string to accommodate values like [f11].
1087 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1088 * progmodes/gdb-mi.el: Likewise.
1089
12a106a9
LL
10902012-04-18 Leo Liu <sdl.web@gmail.com>
1091
1092 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1093 current buffer.
1094 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1095 LOCAL is nil.
1096
bc6494ef
CY
10972012-04-18 Chong Yidong <cyd@gnu.org>
1098
1099 * simple.el (line-move): Use forward-line if in batch mode
1100 (Bug#11053).
1101
c09c46b2
CS
11022012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1103
1104 * files.el (after-find-file): Do not try to add a final newline if
1105 the buffer is read-only (Bug#11156).
1106
5f6530ea
RS
11072012-04-17 Richard Stallman <rms@gnu.org>
1108
1109 * mail/rmail.el (rmail-start-mail):
1110 Pass (rmail-mail-return...) for the return-action.
1111 Pass (rmail-yank-current-message...) for the yank-action.
1112 (rmail-yank-current-message): New function.
1113 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1114 (rmail-reply): Likewise.
1115 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1116
1117 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1118 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1119 buffer, not newbuf.
1120
197b6f3c
JB
11212012-04-17 Juanma Barranquero <lekktu@gmail.com>
1122
1123 * server.el (server-ensure-safe-dir): Simplify.
1124
2311d8e5 11252012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1126
2311d8e5
GM
1127 * emacs-lisp/smie.el: Provide smarter auto-filling.
1128 (smie-auto-fill): New function.
1129 (smie-setup): Use it.
98fb480e 1130
2311d8e5
GM
1131 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1132
11332012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1134
1135 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1136 (comment-indent): Use it.
1137
2311d8e5 11382012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1139
1140 * ses.el: The overall change is to add cell renaming, that is
1141 setting fancy names for cell symbols other than name matching
1142 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1143 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1144 (ses-create-cell-variable): New defun.
2311d8e5 1145 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1146 (ses-relocate-formula): Relocate formulas only for cells the
1147 symbols of which are not renamed, i.e. symbols whose names do not
1148 match regexp "\\`[A-Z]+[0-9]+\\'".
1149 (ses-relocate-all): Relocate values only for cells the symbols of
1150 which are not renamed.
1151 (ses-load): Create cells variables as the (ses-cell ...) are read,
1152 in order to check row col consistency with cell symbol name only
1153 for cells that are not renamed.
1154 (ses-replace-name-in-formula): New defun.
1155 (ses-rename-cell): New defun.
4bdf2ad2 1156
fc72b15c
PO
11572012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1158
1159 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1160 New option (bug#11118).
1161 (perl-calculate-indent): Respect it.
1162
12e10e61
GM
11632012-04-17 Glenn Morris <rgm@gnu.org>
1164
1165 * dired-aux.el (dired-mark-read-string): Doc fix.
1166
30009afd
DA
11672012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1168
1169 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1170 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1171
41f03f4d
GM
11722012-04-17 Glenn Morris <rgm@gnu.org>
1173
1174 * mouse.el (mouse-drag-track):
1175 * speedbar.el (speedbar-frame-mode):
1176 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1177
f45f90f3
LL
11782012-04-16 Leo Liu <sdl.web@gmail.com>
1179
1180 * progmodes/python.el: Trivial cleanup.
1181
94ee8db5
GM
11822012-04-16 Glenn Morris <rgm@gnu.org>
1183
121b8917
GM
1184 * vc/vc.el (vc-string-prefix-p):
1185 * vc/pcvs-util.el (cvs-string-prefix-p):
1186 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1187 * mpc.el (mpc-string-prefix-p):
1188 Make all of these into obsolete aliases for string-prefix-p.
1189 Update callers.
1190 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1191
1197ecfa
GM
1192 * textmodes/two-column.el: Move custom options to the start.
1193 (frame-width): Remove compat definition.
1194 (2C-associate-buffer, 2C-dissociate):
1195 Use with-current-buffer rather than save-excursion.
1196 (2C-dissociate): Force a mode-line update.
1197 (2C-autoscroll): Use ignore-errors.
1198
099e7202
GM
1199 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1200 Autoload trivia.
1201
bf350d6a
GM
1202 * emacs-lisp/cl-extra.el (*random-state*):
1203 Remove unnecessary declaration.
1204
0e829eab
GM
1205 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1206
e3ad7552
GM
1207 * play/cookie1.el (cookie-snarf):
1208 Give an explicit error if input file cannot be read.
1209
68892d27
GM
1210 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1211
20f0c46d
GM
1212 * progmodes/perl-mode.el (c-macro-expand):
1213 Remove unnecessary autoload (it is in loaddefs.el).
1214
5a0978ce
GM
1215 * textmodes/picture.el (picture-desired-column)
1216 (picture-update-desired-column): Convert comments to doc-strings.
1217 (picture-substitute): Remove function.
1218 (picture-mode-map): Initialize in the defvar.
1219
6b955486
GM
1220 * woman.el: Remove eval-after-load for tar-mode.
1221 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1222 (woman-tar-extract-file): Autoload it.
1223
94ee8db5
GM
1224 * frame.el (automatic-hscrolling): Make this alias obsolete.
1225
177eca34
AM
12262012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1227
1228 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1229 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1230 (ispell-dictionary-base-alist): Revert to original XEmacs
1231 friendly version for default. [:alpha:] will be added in
1232 `ispell-set-spellchecker-params' if needed
177eca34 1233
c505aaeb
CY
12342012-04-16 Chong Yidong <cyd@gnu.org>
1235
1236 * image.el (imagemagick--extension-regexp): New variable.
1237 (imagemagick-register-types): Use it.
1238 (imagemagick-types-inhibit): Add :set function. Allow new value
1239 of t to inhibit all types.
1240
1241 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1242 so we can preload it.
1243
1244 * loadup.el (fboundp): Preload regexp-opt, needed by
1245 imagemagick-register-types.
1246
60efac0f
CY
12472012-04-15 Chong Yidong <cyd@gnu.org>
1248
1249 * frame.el (scrolling): Remove nearly unused customization group.
1250
1251 * scroll-all.el (scroll-all-mode): Move to windows group.
1252
5dd1713e
CY
12532012-04-15 Chong Yidong <cyd@gnu.org>
1254
1255 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1256
e6fd457e
CY
12572012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1260 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1261
e153c136
GM
12622012-04-15 Glenn Morris <rgm@gnu.org>
1263
1264 * simple.el (process-file-side-effects): Doc fix.
1265
e6fd457e 12662012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1267
1268 * international/mule-cmds.el (set-language-environment): Doc fix.
1269
3603c3b1
JB
12702012-04-14 Juanma Barranquero <lekktu@gmail.com>
1271
1272 * server.el (server-auth-key, server-generate-key): Doc fixes.
1273 (server-get-auth-key): Doc fix. Use `string-match-p'.
1274 (server-start): Reflow docstring.
1275
e6de100c
LI
12762012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1277
1278 * server.el (server-generate-key): `called-interactively-p'
1279 requires a parameter.
1280
29734c21
MN
12812012-04-14 Michal Nazarewicz <mina86@mina86.com>
1282
1283 * server.el (server-auth-key): New variable.
75f1671a 1284 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1285 (server-start): Use the new variable and functions to allow
1286 setting a permanent server key (bug#9423).
1287
d65c9521
LL
12882012-04-14 Leo Liu <sdl.web@gmail.com>
1289
1290 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1291
5ae255c7
PE
12922012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1293
1294 Spelling fixes.
1295 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1296 Emacs uses American spelling.
1297
d5e6342e
JB
12982012-04-14 Juanma Barranquero <lekktu@gmail.com>
1299
1300 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1301 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1302 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1303 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1304
ab036cd7
SM
13052012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * progmodes/which-func.el (which-func-modes): Change default.
1308
35dc09a1 13092012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1310
1311 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1312 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1313
35dc09a1 13142012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1315
1316 * custom.el (custom-theme-set-variables): Doc fix.
1317
35dc09a1 13182012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1319
1320 * international/mule.el (set-auto-coding-for-load): Doc fix.
1321
35dc09a1 13222012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1323
35dc09a1
GM
1324 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1325 imenu work again for Objective C Mode. Correct the *-index values,
1326 these having been disturbed by a previous change in 2011-08.
57f845ee 1327
0de3da9f
AM
1328 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1329 Correct two search limits.
1330
35dc09a1 13312012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1332
1333 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1334
35dc09a1 13352012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1336
1337 * international/characters.el: Fix sorting.
1338
35dc09a1 13392012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1340
1341 * international/characters.el: Add more missing Latin case pairs.
1342
35dc09a1 13432012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1344
1345 * files.el (dir-locals-set-class-variables): Doc fix.
1346
35dc09a1 13472012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1348
3f1b5bf8
EZ
1349 * international/characters.el: Add set-case-syntax-pair call for
1350 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1351 counterpart. (Bug#11209)
1352
9f847f41
EZ
1353 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1354
35dc09a1 13552012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1356
1357 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1358
35dc09a1 13592012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1360
35dc09a1
GM
1361 * textmodes/ispell.el (ispell-dictionary-base-alist):
1362 Add data for Hebrew.
e2627d21 1363
35dc09a1 13642012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1365
35dc09a1
GM
1366 * net/rcirc.el (rcirc-cmd-quit):
1367 Revert 2012-03-18 change (Bug#11192).
5c14e333 1368
35dc09a1 13692012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1370
1371 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1372
35dc09a1 13732012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1374
4517fe3a
SM
1375 * minibuffer.el (completion-in-region-mode-map):
1376 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1377
b472a594
VD
13782012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1379
1380 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1381
09b95ce3
MY
13822012-04-13 Masatake YAMATO <yamato@redhat.com>
1383
1384 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1385 to allow `C-M-f' and `C-M-b' to move to the nearest path
1386 separator (bug#9511).
1387
4b63a9ca
LI
13882012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1389
1390 * avoid.el: Require cl when compiling. And also move the
1391 `provide' to the end.
1392
7b55b8bf
TV
13932012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1394
1395 * avoid.el (mouse-avoidance-banish-position): New variable.
1396 (mouse-avoidance-banish-destination): Use it (bug#10165).
1397
adedaa1f
LL
13982012-04-13 Leo Liu <sdl.web@gmail.com>
1399
1400 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1401
70e74021
KB
14022012-04-13 Ken Brown <kbrown@cornell.edu>
1403
1404 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1405 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1406 (browse-url-filename-alist): For the same reason, don't modify
1407 file:// URLs on Cygwin.
1408
e75e89ba
SM
14092012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1410
1411 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1412 the region on shift if the binding is already shifted (bug#11221).
1413
82f289a4
GM
14142012-04-12 Glenn Morris <rgm@gnu.org>
1415
1416 * mail/mailpost.el: Move to obsolete/.
1417
d333dc4c
DA
14182012-04-12 Drew Adams <drew.adams@oracle.com>
1419
1420 * imenu.el (imenu--generic-function): Ignore invisible definitions
1421 (bug#10123).
1422
0d15b5ba
VD
14232012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1424
1425 * hexl.el (hexl-bits): New variable.
1426 (hexl-options): Mention the variable in the doc string.
75f1671a 1427 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1428 (hexl-mode): Mention the new variable.
75f1671a
JB
1429 (hexl-mode, hexl-current-address, hexl-current-address):
1430 Use the displen.
0d15b5ba
VD
1431 (hexl-ascii-start-column): New function.
1432 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1433 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1434
64a440db
AM
14352012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1436
1437 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1438 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1439 the encoding, as expected by hunspell.
1440
6decb6c2
SM
14412012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * battery.el (battery--linux-sysfs-regexp): New const.
1444 (battery-status-function): Use it. Remove yeeloong special case.
1445 (battery-yeeloong-sysfs): Remove.
1446 (battery-echo-area-format): Remove yeeloong special case.
1447
088be6fb
SM
14482012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1449
6622e416
SM
1450 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1451 Reported by Noah Friedman.
1452
088be6fb
SM
1453 * subr.el (read-passwd): Use read-string.
1454
b49f886e
LMI
14552012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1456
1457 * vcursor.el (vcursor-move): Increase the priority of the overlay
1458 (bug#9663).
1459
a63067fc
DD
14602012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1461
1462 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1463 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1464
ac3cf14a
WS
14652012-04-11 William Stevenson <yhvh2000@gmail.com>
1466
1467 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1468 define-minor-mode (bug#10760).
1469
c4fc691b 14702012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1471
4d6769e1 1472 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1473 that directories matching `grep-find-ignored-files' won't be
1474 pruned (bug#10351).
1475
af23e2e5
CY
14762012-04-11 Chong Yidong <cyd@gnu.org>
1477
1478 * startup.el (command-line): Remove support for long-obsolete
1479 variable font-lock-face-attributes.
1480
ab7ce8c1
GM
14812012-04-11 Glenn Morris <rgm@gnu.org>
1482
1483 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1484
de8c03dc
SM
14852012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * window.el (window--state-get-1): Obey window-point-insertion-type.
1488
050cc68b
LB
14892012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1490
1491 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1492 to previous function when point is on the first character of a
75f1671a 1493 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1494
a38c310c
GM
14952012-04-11 Glenn Morris <rgm@gnu.org>
1496
effed0c2
GM
1497 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1498 not just file-errors.
1499
a38c310c
GM
1500 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1501 (vc-bzr-sha1): Use internal sha1.
1502
0221e323
SM
15032012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1504
1505 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1506
43956923
SG
15072012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1508
1509 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1510 that start in the middle of the line (bug#10496).
1511
6a8c9eaf
DN
15122012-04-10 Dan Nicolaescu <dann@gnu.org>
1513
1514 * battery.el (battery-linux-proc-acpi): Only one battery is
1515 discharged at a time, but that seems to confuse battery.el when
1516 computing `rate-type' for the battery not being discharged
1517 (bug#10332).
1518
1930bf5d
SM
15192012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1520
2a718f6f
SM
1521 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1522
599430d0
SM
1523 * international/quail.el: Use dolist and simplify.
1524 (quail-define-package, quail-update-keyboard-layout)
1525 (quail-define-rules): Use dolist.
1526 (quail-insert-kbd-layout, quail-get-translation): CSE.
1527
a2754b6c
SM
1528 * tmm.el: Use dolist, remove left over hook.
1529 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1530 Use dolist.
1531 (calendar-load-hook): Don't mess with it.
1532
1930bf5d
SM
1533 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1534 Use derived-mode-p. Run the diff asynchronously.
1535
9f67961c
LMI
15362012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1537
1538 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1539
2a8ce227
JB
15402012-04-10 Juanma Barranquero <lekktu@gmail.com>
1541
1542 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1543 (list-dynamic-libraries--loaded): New function.
1544 (list-dynamic-libraries--refresh): Use it.
1545
8f33b5f8
NW
15462012-04-10 Nathan Weizenbaum <nweiz@google.com>
1547
1930bf5d
SM
1548 * progmodes/python.el (python-fill-paragraph):
1549 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1550 disabled (bug#7018).
1551
b12f0439
L
15522012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1553
1930bf5d 1554 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1555 DOS/MS Windows for the Baltic languages. There are still plenty
1556 of texts written in this encoding/codepage (bug#6519).
b12f0439 1557
57c3bd01
GM
15582012-04-10 Glenn Morris <rgm@gnu.org>
1559
1560 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1561 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1562
6c3eab30
FA
15632012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1564
1930bf5d 1565 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1566 next-line "n" and previous-line "p" in order to make recentf more
1567 consistent with ibuffer, dired or org-mode (bug#9387).
1568
24d78a88
LMI
15692012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1570
bc72b5d9
LMI
1571 * image.el (put-image): Return the overlay created instead of the
1572 optional input string (bug#7834). Note that this may break code
1573 that is (for some reason or other) depending on `put-image'
1574 returning the string.
1575
bd2dba5a
LMI
1576 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1577
74beb59f
LMI
1578 * simple.el (zap-to-char): Allow zapping using input methods
1579 (bug#1580).
1580
24d78a88
LMI
1581 * textmodes/fill.el (fill-region): Leave point and mark where they
1582 were before filling (bug#5399).
1583
263f20cd
GM
15842012-04-09 Glenn Morris <rgm@gnu.org>
1585
1586 * version.el (emacs-bzr-get-version):
1587 Handle lightweight checkouts of local branches.
1588
58d1f797
AS
15892012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1590
263f20cd 1591 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1592
b4d3bc10
CY
15932012-04-09 Chong Yidong <cyd@gnu.org>
1594
1595 * custom.el (custom-variable-p): Return nil for non-symbol
1596 arguments instead of signaling an error.
1597 (user-variable-p): Obsolete alias for custom-variable-p.
1598
1599 * apropos.el (apropos-variable):
1600 * files-x.el (read-file-local-variable):
1601 * simple.el (set-variable):
1602 * woman.el (woman-mini-help):
1603 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1604
fd06db5d
GM
16052012-04-09 Glenn Morris <rgm@gnu.org>
1606
e5fcdb5e
GM
1607 * startup.el (normal-top-level): Don't look for leim-list.el
1608 in places where it will not be found. (Bug#910)
1609
fd06db5d
GM
1610 * international/mule-cmds.el (set-default-coding-systems):
1611 * files.el (normal-mode):
1612 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1613 This function was removed with ucs-tables.el in 2008.
1614
b39bb7e1
EZ
16152012-04-08 Eli Zaretskii <eliz@gnu.org>
1616
1617 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1618 ispell-encoding8-command to "-i", without a trailing space.
1619 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1620 separate command-line arguments, to specify the encoding, since
1621 that's how hunspell expects it.
1622
5c5b8e23
GM
16232012-04-08 Glenn Morris <rgm@gnu.org>
1624
1625 * loadup.el: Load bindings before cus-start.
1626 This reduces somewhat the number of "rogue" settings in emacs -Q.
1627
a1ed8b05
GM
16282012-04-07 Glenn Morris <rgm@gnu.org>
1629
1630 * version.el (emacs-bzr-get-version): New function.
dfae128a 1631 (emacs-bzr-version): New variable.
a1ed8b05
GM
1632 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1633 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1634
b142f158
EZ
16352012-04-07 Eli Zaretskii <eliz@gnu.org>
1636
dfae128a
GM
1637 * international/uni-bidi.el, international/uni-category.el:
1638 * international/uni-combining.el, international/uni-decimal.el:
1639 * international/uni-decomposition.el, international/uni-digit.el:
1640 * international/uni-lowercase.el, international/uni-mirrored.el:
1641 * international/uni-name.el, international/uni-numeric.el:
1642 * international/uni-titlecase.el, international/uni-uppercase.el:
1643 Update for Unicode 6.1.
b142f158 1644
9078ead6
EZ
16452012-04-07 Eli Zaretskii <eliz@gnu.org>
1646
1647 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1648
f23d2c7d
LMI
16492012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1650
1651 * window.el (shrink-window): Mention the `window-min-height'
1652 variable in the doc string.
1653
0a0a3573
BG
16542012-04-05 Bastien Guerry <bzg@altern.org>
1655
1656 * color.el (color-lighten-name): Fix typo.
1657
e5248ac9
SM
16582012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * server.el (server--on-display-p): New function.
1661 (server--on-display-p): Use it.
1662
b4243e22
GV
16632012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1664
1665 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1666 (bug#11145).
1667
305d9f44
SM
16682012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1669
1670 * comint.el (comint--common-quoted-suffix): Check string boundary
1671 before comparing (bug#11158).
1672 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1673
3d439cd1
CY
16742012-04-04 Chong Yidong <cyd@gnu.org>
1675
321cc491
CY
1676 * minibuffer.el (completion-extra-properties): Doc fix.
1677
3d439cd1
CY
1678 * subr.el (delayed-warnings-hook): Doc fix.
1679
2d562c0f
DU
16802012-04-04 Daiki Ueno <ueno@unixuser.org>
1681
1682 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1683 selection (Bug#11159).
1684 (epa-insert-keys): Inform that the default public key will be
1685 exported if no key is selected.
1686
4443f204
RS
16872012-04-04 Richard Stallman <rms@gnu.org>
1688
1689 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1690
529c06b6
CY
16912012-04-03 Chong Yidong <cyd@gnu.org>
1692
1693 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1694 mail-insert-file, not its obsolete alias mail-attach-file.
1695
66b907dc
MA
16962012-04-03 Michael Albinus <michael.albinus@gmx.de>
1697
1698 * notifications.el (notifications-notify): Fix docstring.
1699
c0ea195d
GM
17002012-04-02 Glenn Morris <rgm@gnu.org>
1701
1702 * emacs-lisp/authors.el (authors-aliases): Another addition.
1703
5ca64e00
MA
17042012-04-02 Michael Albinus <michael.albinus@gmx.de>
1705
1706 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1707 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1708 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1709
42ee526b
CY
17102012-04-01 Chong Yidong <cyd@gnu.org>
1711
1712 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1713 Handle root directory properly.
1714 (copy-directory): Caller changed.
1715
1716 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1717 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1718
0b021094
GM
17192012-03-31 Glenn Morris <rgm@gnu.org>
1720
40f86458
GM
1721 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1722
7019c177
GM
1723 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1724
a1daddd6
GM
1725 * calendar/calendar.el (calendar-window-list)
1726 (calendar-hide-window): Restore. (Bug#11140)
1727 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1728
0b021094
GM
1729 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1730
40311efc
TV
17312012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1732
1733 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1734 Check if file is a symlink (Bug#10489).
1735
1736 * files.el (copy-directory): Likewise.
1737
5319014e
CY
17382012-03-30 Chong Yidong <cyd@gnu.org>
1739
1740 * image.el (imagemagick-types-inhibit)
1741 (imagemagick-register-types): Doc fix.
1742
935d1290
AM
17432012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1744
ef24141c
SM
1745 * ispell.el (ispell-get-extended-character-mode):
1746 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1747 and treats ~word as ordinary words in pipe mode.
935d1290 1748
61c6e8fd
GM
17492012-03-30 Glenn Morris <rgm@gnu.org>
1750
1751 * tutorial.el (help-with-tutorial): Ensure local variables don't
1752 happen to make the buffer read-only. (Bug#11127)
1753
81fdff00
SM
17542012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1755
1756 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1757 (perl-calculate-indent): Return `noindent' in strings.
1758
6e7a6ec0
SS
17592012-03-28 Sam Steingold <sds@gnu.org>
1760
1761 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1762 instead of the broken adhockery which does not prevent calendar
1763 buffers from being displayed at random after exit.
1764 (calendar-window-list, calendar-hide-window): Remove the broken
1765 adhockery.
1766
fee88ca0
GM
17672012-03-28 Glenn Morris <rgm@gnu.org>
1768
1769 * replace.el (query-replace-map): Doc fix.
1770
38de3354
AS
17712012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1772
1773 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1774 contents. (Bug#11109)
1775
b973155e
SM
17762012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1779 (bug#11077).
1780 (avl-tree--check, avl-tree--check-node): New funs.
1781
dcb6e7b3
MR
17822012-03-27 Martin Rudalics <rudalics@gmx.at>
1783
1784 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1785 (switch-to-prev-buffer, switch-to-next-buffer):
1786 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1787 showing a buffer already is done on the same frame.
1788
b4fa35fa
GM
17892012-03-27 Glenn Morris <rgm@gnu.org>
1790
1791 * startup.el (mail-host-address): Doc fix.
1792
f9210e18
SM
17932012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1796 than 197 variables.
1797
c0bf7753
AF
17982012-03-26 Ami Fischman <ami@fischman.org>
1799
1800 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1801
33da7b16
GM
18022012-03-26 Glenn Morris <rgm@gnu.org>
1803
02243d9d
GM
1804 * files.el (save-buffers-kill-emacs): Doc fix.
1805
33da7b16
GM
1806 * startup.el (normal-top-level, command-line, command-line-1):
1807 Give them doc strings.
1808
e5a69fd0
EZ
18092012-03-25 Eli Zaretskii <eliz@gnu.org>
1810
1811 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1812 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1813
9a69676a
CY
18142012-03-25 Chong Yidong <cyd@gnu.org>
1815
4125cb8b
CY
1816 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1817 theme if it was previously enabled before (Bug#11031).
1818
dd470960
CY
1819 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1820 spec with custom-face-get-current-spec if its :shown-value is not
1821 determined yet (Bug#9337).
4125cb8b 1822 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1823
9a69676a
CY
1824 * button.el (button-at): Minor addition to docstring.
1825
6e7e90fa
SL
18262012-03-24 Simon Leinen <simon.leinen@gmail.com>
1827
1828 * vc/vc.el (vc-merge): Fix a prompt.
1829
f06e2758
CY
18302012-03-24 Chong Yidong <cyd@gnu.org>
1831
1832 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1833 point (Bug#9623).
1834
6e7e90fa
SL
1835 * button.el (button-at): Minor addition to docstring.
1836
b9d0879b
SM
18372012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * newcomment.el (comment-choose-indent): No space after BOL.
1840
e71cebb3
SS
18412012-03-22 Sam Steingold <sds@gnu.org>
1842
1843 * window.el (switch-to-prev-buffer): Revert last patch because the
1844 bug turned out to be an advertised feature (Elisp manual 28.14).
1845
335aff35
GM
18462012-03-22 Glenn Morris <rgm@gnu.org>
1847
1848 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1849 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1850
c676576a
LMI
18512012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1852
1853 * net/network-stream.el (network-stream-open-starttls): Make error
1854 message under Windows be less misleading.
1855
126f3d39
LW
18562012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1857
1858 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1859 understands (bug#9942).
1860
64fee311
CY
18612012-03-22 Chong Yidong <cyd@gnu.org>
1862
1863 * simple.el (end-of-visible-line): Handle return value of
1864 next-single-property-change properly (Bug#9371).
1865
a640d29a
KH
18662012-03-22 Kenichi Handa <handa@m17n.org>
1867
1868 * international/quail.el (quail-insert-kbd-layout): Fix previous
1869 change. To avoid unwanted bidi reordering, use
1870 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1871
39675016
DG
18722012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1873
1874 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1875 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1876 (ruby-beginning-of-indent): Be more careful with the difference
1877 between word-boundary and symbol boundary.
1878 (ruby-mode-syntax-table): Make : a symbol constituent.
1879
0a6934fc 18802012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1881
3d008e4f
SM
1882 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1883
0a6934fc
SM
18842012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1885
af67c9d7
SM
1886 * progmodes/etags.el (tags-completion-at-point-function):
1887 Improve last fix.
1888
1acad97c
SM
1889 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1890
e298b5da
SS
18912012-03-21 Sam Steingold <sds@gnu.org>
1892
1893 * progmodes/etags.el (tags-completion-at-point-function):
1894 Avoid the error when point is inside the pattern.
1895
91d82a70
JY
18962012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1897
1898 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1899 line (Bug#10855).
1900
69188b79
CY
19012012-03-21 Drew Adams <drew.adams@oracle.com>
1902
1903 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1904
99fc91fe
AK
19052012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1906
1907 * ido.el (ido-set-current-directory, ido-read-internal)
1908 (ido-choose-completion-string, ido-completion-help): Handle nil
1909 value of ido-completion-buffer (Bug#11008).
1910
087bbb4c
SS
19112012-03-21 Sam Steingold <sds@gnu.org>
1912
1913 * window.el (switch-to-prev-buffer): Do not switch to a visible
1914 window previous buffer, just like with the frame previous buffers.
1915
fb5b8aca
CY
19162012-03-21 Chong Yidong <cyd@gnu.org>
1917
1918 * faces.el (make-face, make-empty-face, copy-face):
1919 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1920 Doc fixes.
1921
dc9924b8
SM
19222012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1923
1924 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1925 (widget-complete): Remove broken use of it.
1926
f0bcceb9
CY
19272012-03-20 Chong Yidong <cyd@gnu.org>
1928
dc9924b8
SM
1929 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1930 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1931 characters.
1932
ee52ebf3
TH
19332012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1934
1935 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1936 to draw rectangles, not squares. (Regression introduced by revno
1937 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1938
4c5779ab
CY
19392012-03-18 Chong Yidong <cyd@gnu.org>
1940
1941 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1942 it is not yet defined (for temacs).
1943
15360934
LL
19442012-03-18 Leo Liu <sdl.web@gmail.com>
1945
dc9924b8 1946 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1947
d9a8eb66
EZ
19482012-03-17 Eli Zaretskii <eliz@gnu.org>
1949
1950 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1951 (ispell-choices-win-default-height, ispell-silently-savep)
1952 (ispell-dictionary-alist, ispell-encoding8-command)
1953 (ispell-check-version, ispell-aspell-find-dictionary)
1954 (ispell-valid-dictionary-list, ispell-words-keyword)
1955 (ispell-get-word, ispell-internal-change-dictionary)
1956 (ispell-region, ispell-skip-region-list)
1957 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1958 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1959 (ispell-message-text-end, ispell-message)
1960 (ispell-buffer-local-parsing): Doc fix.
1961
f02ff80d
J
19622012-03-13 Jambunathan K <kjambunathan@gmail.com>
1963
1964 * htmlfontify.el: Add support for code block fontification for ODT
1965 export (Bug #9914).
1966 (hfy-optimisations): Define new option
1967 `body-text-only'
1968 (hfy-fontify-buffer): Honor above setting.
1969 (hfy-begin-span, hfy-end-span): New routines factored out form
1970 `hfy-fontify-buffer'.
1971 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1972 that permit insertion of custom tags.
1973 (hfy-fontify-buffer): Use above handlers.
1974 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1975 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1976 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1977 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1978 bind a special variable `hfy-user-sheet-assoc'.
1979 (htmlfontify-string): New defun.
1980 (hfy-compile-face-map): Make sure that the last char in the
1981 buffer is correctly fontified.
1982 (hfy-face-resolve-face): Whitespace only change.
1983
9ac7a13f
EZ
19842012-03-17 Eli Zaretskii <eliz@gnu.org>
1985
1986 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1987 message more clear.
1988
e2b5bdd7
LL
19892012-03-16 Leo Liu <sdl.web@gmail.com>
1990
1991 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1992
2e492df3
AM
19932012-03-16 Alan Mackenzie <acm@muc.de>
1994
1995 Further optimise the handling of large macros.
1996
1997 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1998 limit to a call of `c-literal-limits'.
1999 (c-determine-+ve-limit): New function.
dc9924b8
SM
2000 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2001 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2002 In CASE 5B, restrict a search limit to 500.
2003 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2004
2005 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2006 Restrict macro bounds to +-500 from after-change's BEG END.
2007
50e94f0c
LL
20082012-03-16 Leo Liu <sdl.web@gmail.com>
2009
2010 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2011
6f09f6ed
AH
20122012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2013
2014 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2015 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2016
c7e73d51
GM
20172012-03-16 Glenn Morris <rgm@gnu.org>
2018
da986230
GM
2019 * view.el (view-buffer, view-buffer-other-window)
2020 (view-buffer-other-frame): Doc fixes re special mode-class.
2021
0835f01e
GM
2022 * subr.el (eval-after-load): If named feature is provided not from
2023 a file, run after-load forms. (Bug#10946)
2024
c7e73d51
GM
2025 * calendar/calendar.el (calendar-insert-at-column):
2026 Handle non-unit-width characters a bit better. (Bug#10978)
2027
3f2eafd1
CY
20282012-03-15 Chong Yidong <cyd@gnu.org>
2029
2030 * emacs-lisp/ring.el (ring-extend): New function.
2031 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2032
2033 * comint.el (comint-read-input-ring)
2034 (comint-add-to-input-history): Grow comint-input-ring lazily.
2035
103af3fe
SM
20362012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2037
663b1677
SM
2038 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2039 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2040
103af3fe
SM
2041 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2042 (imenu-add-to-menubar): Don't add a redundant index.
2043 (imenu-update-menubar): Handle a dynamically composed keymap.
2044
899cb7cb
KY
20452012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2046
2047 * mail/sendmail.el (mail-encode-header):
2048 Bind rfc2047-encode-encoded-words to nil.
2049
3809f91d
GM
20502012-03-13 Glenn Morris <rgm@gnu.org>
2051
2052 * calendar/calendar.el (calendar-string-spread):
2053 Handle non-unit-width characters a bit better. (Bug#10978)
2054
9e345a01
LL
20552012-03-13 Leo Liu <sdl.web@gmail.com>
2056
2057 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2058 directory and file as argument (Bug#10822).
2059
4a07df36
KS
20602012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2061
2062 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2063 For dynamically generated code, follow $PC.
2064 (gdb-disassembly-handler-custom): Handle no function name case.
2065
4aaa9356
TL
20662012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2067
2068 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2069 * emulation/ws-mode.el (ws-query-replace):
2070 * sort.el (sort-regexp-fields):
2071 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2072
225979da
SM
20732012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * dabbrev.el: Fix cycle completion order (bug#10963).
2076 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2077 (dabbrev-completion): Don't use an obarray; provide
2078 a cycle-sort-function.
2079
e2f1fdab
LL
20802012-03-12 Leo Liu <sdl.web@gmail.com>
2081
dc9924b8 2082 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2083 (kill-do-not-save-duplicates): Doc fix.
2084
b19490ed
SM
20852012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * dabbrev.el: Fix cycle completion (bug#10963).
2088 Use lexical binding and wrap to 80 columns.
2089 (dabbrev-completion): Delay computing the list of completions.
2090
4b05d722
KH
20912012-03-12 Kenichi Handa <handa@m17n.org>
2092
2093 * international/quail.el (quail-insert-kbd-layout): Surround each
2094 row by LRO and PDF instead of inserting many LRMs. Pad the left
2095 and right of each non-spacing marks. Insert invisible space
2096 between lower and upper characters to prevent composition.
2097
dbbc2e69
SM
20982012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2099
2100 * minibuffer.el (minibuffer-complete): Don't get confused when the
2101 function is run twice via different commands (bug#10958).
2102 (complete-with-action): Fix docstring.
2103
292112ed
CY
21042012-03-12 Chong Yidong <cyd@gnu.org>
2105
5d1ac394
CY
2106 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2107 (nxml-completion-at-point-function): New function.
2108 (nxml-mode): Use it.
2109 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2110
292112ed
CY
2111 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2112 Load generated autoloads file before byte compiling (Bug#10970).
2113 (package--make-autoloads-and-compile): New helper fun.
2114
4098f8f7
CS
21152012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2116
2117 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2118
8f754691
MA
21192012-03-11 Michael Albinus <michael.albinus@gmx.de>
2120
2121 * autorevert.el (auto-revert-handler): Ensure, that
2122 file-readable-p is applied only for local files or in
2123 auto-revert-tail-mode.
2124
e29ab36b
AS
21252012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2126
dbbc2e69
SM
2127 * server.el (server-eval-at): Handle non-tcp connections.
2128 Decode result string.
ad0bf5b6 2129
e29ab36b
AS
2130 * server.el (server-msg-size): New constant.
2131 (server-reply-print): New function.
2132 (server-eval-and-print): Use it.
2133 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2134 Handle -print-nonl.
2135
de5939ba
CS
21362012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2137
2138 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2139 (Bug#10987).
2140
0c93eabf
CY
21412012-03-11 Chong Yidong <cyd@gnu.org>
2142
397a688f
CY
2143 * simple.el (goto-line): Doc fix (Bug#9938).
2144
2cc775f9
CY
2145 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2146
0c93eabf
CY
2147 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2148 when finished (Bug#10963).
2149
c491fa41
MR
21502012-03-11 Martin Rudalics <rudalics@gmx.at>
2151
2152 * window.el (split-window-below): Fix bug in case where
2153 split-window-keep-point is nil (Bug#10971).
2154
300e8fa5
JL
21552012-03-11 Juri Linkov <juri@jurta.org>
2156
2157 * replace.el (replace-highlight): Set isearch-word to nil
2158 unconditionally. (Bug#10887)
2159
dbf6c5a1
EZ
21602012-03-10 Eli Zaretskii <eliz@gnu.org>
2161
2162 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2163 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2164 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2165 (mairix-widget-create-query): Add usage information about mairix
2166 search forms: negating words, searching for substrings, etc.
2167
b9e501de
JP
21682012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2169
2170 * international/fontset.el (font-encoding-alist): Add an entry for
2171 ksx1001 (Bug#5667).
2172
92795c91
RS
21732012-03-10 Richard Stallman <rms@gnu.org>
2174
1694e6c1
RS
2175 * mail/sendmail.el (mail-encode-header):
2176 Set rfc2047-encode-encoded-words.
2177
607e8555
RS
2178 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2179
de3bc99a
RS
2180 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2181 view buffer means not swapped.
2182 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2183 (rmail-write-region-annotate): Error if real text has disappeared.
2184
92795c91
RS
2185 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2186
699bd04e
CY
21872012-03-10 Chong Yidong <cyd@gnu.org>
2188
2189 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2190 * emulation/cua-base.el (cua--init-keymaps):
2191 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2192
570a1714
MR
21932012-03-10 Martin Rudalics <rudalics@gmx.at>
2194
dbbc2e69
SM
2195 * speedbar.el (speedbar-unhighlight-one-tag-line):
2196 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2197
82dcf4e4
CY
21982012-03-10 Chong Yidong <cyd@gnu.org>
2199
7a2c7ca7
CY
2200 * minibuffer.el (completion-in-region, completion-help-at-point):
2201 Give the completion field overlay a high priority (Bug#6830).
2202
82dcf4e4
CY
2203 * dired.el (dired-goto-file): Recognize absolute file name
2204 listings (Bug#7126).
2205 (dired-goto-file-1): New helper function.
2206 (dired-toggle-read-only): Inhibit warnings.
2207
052e28ac
MA
22082012-03-09 Michael Albinus <michael.albinus@gmx.de>
2209
75f1671a 2210 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2211 there are no properties.
2212
95d5e396
LL
22132012-03-09 Leo Liu <sdl.web@gmail.com>
2214
2215 * savehist.el (savehist-printable): Stricter check for string
2216 value (Bug#10937).
2217
3f018d6d
EZ
22182012-03-09 Eli Zaretskii <eliz@gnu.org>
2219
dbbc2e69
SM
2220 * mail/smtpmail.el (smtpmail-send-it):
2221 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2222 valid mbox format.
2223
f7fd3d79
GM
22242012-03-09 Glenn Morris <rgm@gnu.org>
2225
2226 * files.el (dir-locals-find-file):
2227 Don't check result is regular, readable.
2228 (dir-locals-read-from-file): Demote errors.
2229
6ff6e72f
EZ
22302012-03-08 Eli Zaretskii <eliz@gnu.org>
2231
dbbc2e69
SM
2232 * international/quail.el (quail-insert-kbd-layout):
2233 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2234 layout cell, to prevent their reordering by bidi display engine.
2235 For details, see the discussion in
2236 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2237
9cec7834
AM
22382012-03-08 Alan Mackenzie <acm@muc.de>
2239
2240 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2241 the starting position; make it extend the marked region when
2242 invoked repeatedly - all under appropriate circumstances.
2243 Fixes bugs #5525, #10906.
2244
9a40b8d4
GM
22452012-03-08 Glenn Morris <rgm@gnu.org>
2246
2247 * files.el (locate-dominating-file, dir-locals-find-file):
2248 Undo 2012-03-06 change.
2249
7a08ed35
EZ
22502012-03-07 Eli Zaretskii <eliz@gnu.org>
2251
dbbc2e69
SM
2252 * international/quail.el (quail-help):
2253 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2254 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2255 for the reason.
2256
5aca4f71 22572012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2258
2259 Avoid superfluous registering of signals. (Bug#10807)
2260
2261 * notifications.el (notifications-on-action-object)
2262 (notifications-on-close-object): New defvars.
2263 (notifications-on-action-signal, notifications-on-closed-signal):
2264 Unregister the signal if not needed any longer.
2265 (notifications-notify): Register `notifications-action-signal' or
2266 `notifications-closed-signal', if :on-action or :on-close has been
2267 passed as argument.
2268
78e8b10a
CY
22692012-03-07 Chong Yidong <cyd@gnu.org>
2270
2271 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2272 non-X platforms.
2273
69481eb8
GM
22742012-03-06 Glenn Morris <rgm@gnu.org>
2275
2276 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2277 (x-disown-selection-internal, x-get-selection-internal):
2278 Doc fix (add arglist signatures). (Bug#10783)
2279
133b8e11
KS
22802012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2281
2282 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2283 Handle breakpoints with no "type".
2284
99a83064
GM
22852012-03-06 Glenn Morris <rgm@gnu.org>
2286
2287 * files.el (locate-dominating-file): Add optional predicate argument.
2288 (dir-locals-find-file): Make use of above change.
2289
17798e78
TTN
22902012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2291
2292 * info.el (Info-insert-dir): Also try "dir.gz".
2293
eb182446
GM
22942012-03-06 Glenn Morris <rgm@gnu.org>
2295
8f2114ee
GM
2296 * files.el (dir-locals-find-file):
2297 Ignore non-readable or non-regular files. (Bug#10928)
2298
eb182446
GM
2299 * files.el (locate-dominating-file): Doc fix.
2300
24679323
AS
23012012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2302
2303 * calendar/calendar.el (calendar-set-mode-line):
2304 `getenv' returns a string. (Bug#10951)
2305
01d972a9
LL
23062012-03-05 Leo Liu <sdl.web@gmail.com>
2307
109aa8a9
LL
2308 * simple.el (backward-delete-char-untabify): Constrain point to
2309 field (Bug#10939).
2310
01d972a9
LL
2311 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2312
10607bea
CY
23132012-03-05 Chong Yidong <cyd@gnu.org>
2314
2315 * simple.el (count-words): If called from Lisp, return the word
2316 count, for symmetry with `count-lines'. Arglist changed.
2317 (count-words--message): Args changed. Consolidate counting code
2318 from count-words and count-words-region.
2319 (count-words-region): Caller changed.
2320 (count-lines-region): Make it an obsolete alias.
2321
5dd11cfe
TH
23222012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2323
2324 * saveplace.el (save-place-to-alist)
2325 (save-place-ignore-files-regexp): Allow value nil to disable this
2326 feature.
2327
c349f4e6
CY
23282012-03-04 Chong Yidong <cyd@gnu.org>
2329
2330 * faces.el (face-spec-reset-face): For the default face, reset the
2331 attributes to default values (Bug#10748).
2332
e627be4c
LMI
23332012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2334
2335 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2336 previous patch: Check `message-send-mail-function', and not the
2337 default function (bug#10897).
2338
ebeabff4
MA
23392012-03-04 Michael Albinus <michael.albinus@gmx.de>
2340
a41a6cf4
MA
2341 * notifications.el (notifications-on-action-signal)
2342 (notifications-on-closed-signal): Check for unique service name of
2343 incoming event. Fix error in removing entry.
ebeabff4 2344 (top): Register for signals with wildcard service name.
a41a6cf4 2345 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2346
c1ca42b4
CY
23472012-03-04 Chong Yidong <cyd@gnu.org>
2348
dc9924b8 2349 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2350
ea16568d
GM
23512012-03-04 Glenn Morris <rgm@gnu.org>
2352
2353 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2354 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2355 (expand-abbrev, define-abbrev-table): Doc fixes.
2356
fbae4637
LMI
23572012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2358
2359 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2360 `message-default-send-mail-function' and not `send-mail-function'
2361 when doing the prompting for `sendmail-query-once' before sending
2362 in Message buffers (bug#10897).
2363
a1e7225c
LMI
2364 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2365 This is inconsistent with all the other stream functions, which leave
2366 the setting up to the higher levels (if so wanted) (bug#10931).
2367
56d093a9
AM
23682012-03-02 Alan Mackenzie <acm@muc.de>
2369
2370 Depessimize the handling of very large macros.
2371
2372 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2373 (c-macro-cache-syntactic): New variables to implement a one
2374 element macro cache.
2375 (c-invalidate-macro-cache): New function.
2376 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2377 Adapt to use the new cache.
2378 (c-state-safe-place): Use better the cache of safe positions.
2379 (c-state-semi-nonlit-pos-cache)
2380 (c-state-semi-nonlit-pos-cache-limit):
2381 New variables for...
2382 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2383 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2384 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2385 Use c-state-semi-safe-place.
56d093a9 2386
dbbc2e69
SM
2387 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2388 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2389
817e5c3d
MA
23902012-03-02 Michael Albinus <michael.albinus@gmx.de>
2391
dbbc2e69
SM
2392 * jka-compr.el (jka-compr-call-process):
2393 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2394 not remote.
2395
a032a702
MA
23962012-03-01 Michael Albinus <michael.albinus@gmx.de>
2397
2398 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2399 access of FILE2, if FILE1 does not exist.
2400
99a54f21
MA
2401 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2402 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2403
2404 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2405 Add "PAGER=" to `process-environment'.
2406
f6561e1f
MM
24072012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2408
2409 * progmodes/sql.el: Bug fix
2410 (sql-get-login-ext): Save login values in globals.
2411 (sql-get-login): Use new version of `sql-get-login-ext'.
2412 (sql-interactive-mode): Set global `sql-connection' to nil.
2413 (sql-connect): Set global values for connection.
2414 (sql-product-interactive): Save global values as buffer local.
2415
2d44d9cc
LL
24162012-02-29 Leo Liu <sdl.web@gmail.com>
2417
2418 * abbrev.el (define-abbrevs): Reset sys to nil.
2419
96b49301 24202012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2421
bf7f9bc5
JB
2422 * files.el (file-equal-p): Rename from `files-equal-p'.
2423 Return nil when one or both files don't exist.
96b49301 2424 (file-subdir-of-p): Now only top directory must exists,
2425 return nil if it doesn't.
bf7f9bc5
JB
2426 (copy-directory): No need to test with `file-subdir-of-p' after
2427 creating dir.
2428 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2429 to `file-equal-p'.
96b49301 2430
44e97401
GM
24312012-02-28 Glenn Morris <rgm@gnu.org>
2432
2433 * shell.el (shell-mode):
2434 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2435 * play/landmark.el (landmark-font-lock-face-O):
2436 * play/handwrite.el (handwrite):
2437 * play/gomoku.el (gomoku-O):
2438 * net/browse-url.el (browse-url-browser-display):
2439 * international/mule.el (define-charset):
2440 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2441 * filesets.el (filesets-find-file-delay):
2442 * eshell/em-xtra.el (eshell-xtra):
2443 * eshell/em-unix.el (eshell-grep):
2444 * emulation/viper.el (viper-mode):
2445 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2446 * emacs-lisp/easymenu.el (easy-menu-define):
2447 * calendar/timeclock.el (timeclock-use-display-time):
2448 * bs.el (bs-mode):
2449 * bookmark.el (bookmark-save-flag):
2450 Doc fix (standardize possessive apostrophe usage).
2451
c98c6276
CY
24522012-02-27 Chong Yidong <cyd@gnu.org>
2453
bf7f9bc5
JB
2454 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2455 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2456
c98c6276
CY
2457 * font-lock.el (font-lock-specified-p): Rename from
2458 font-lock-spec-present. Callers changed.
2459
9c62cd04 24602012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2461
bf7f9bc5
JB
2462 * emacs-lisp/package.el (package-compute-transaction):
2463 Handle holding a package version to t in package-load-list.
8ac9e529 2464
530739c9
MA
24652012-02-26 Michael Albinus <michael.albinus@gmx.de>
2466
2467 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2468 (tramp-get-inode, tramp-get-device): Use cached values.
2469
487915d7
AM
24702012-02-26 Alan Mackenzie <acm@muc.de>
2471
2472 Check there is a font-lock specification before doing initial
2473 fontification.
2474
2475 * font-core.el (font-lock-mode): Move the conditional from
2476 :after-hook to font-lock-initial-fontify.
2477 (font-lock-default-function): Move the check for a specification
2478 to font-lock-spec-present.
2479
dc9924b8 2480 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2481 (font-lock-spec-present): New function.
2482
4fd96557
JB
24832012-02-26 Jim Blandy <jimb@red-bean.com>
2484
2485 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2486 (gdb-send): Apply it to the operand of the '-interpreter-exec
2487 console' command, so that we can pass arguments with (say) quotes
2488 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2489
9a4888c0
CY
24902012-02-26 Chong Yidong <cyd@gnu.org>
2491
07498861
CY
2492 * help-fns.el (describe-function-1): Clarify description of
2493 remapping (Bug#10844).
2494
9a4888c0
CY
2495 * files.el (files-equal-p): Doc fix.
2496 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2497 and quit the loop once a mismatch is found.
2498
ea8fb88d
JB
24992012-02-25 Juanma Barranquero <lekktu@gmail.com>
2500
2501 * bs.el (bs--show-with-configuration): Don't throw an error
2502 if the window cannot be split; otherwise, subsequent calls to
2503 bs-show fail, restoring a stale window config. (Bug#10882)
2504
525795c1
JD
25052012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2506
2507 * term/ns-win.el (global-map): Bind ns-drag-file to
2508 ns-find-file (Bug#5855, Bug#10050).
2509
f008086f
AS
25102012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2511
2512 * calendar/parse-time.el (parse-time-string): Allow extractor to
2513 return nil.
2514
a3fcfa99
MA
25152012-02-25 Michael Albinus <michael.albinus@gmx.de>
2516
91027d08
JB
2517 * net/tramp.el (tramp-file-name-for-operation):
2518 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2519
2520 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2521 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2522 Add COPY-CONTENTS argument.
a3fcfa99 2523
67b0de11
CY
25242012-02-25 Chong Yidong <cyd@gnu.org>
2525
2526 Add custom groups for VC backends, for consistency with vc-bzr.
2527
2528 * vc/vc-arch.el (vc-arch):
2529 * vc/vc-cvs.el (vc-cvs):
2530 * vc/vc-git.el (vc-git):
2531 * vc/vc-hg.el (vc-hg):
2532 * vc/vc-mtn.el (vc-mtn):
2533 * vc/vc-rcs.el (vc-rcs):
2534 * vc/vc-sccs.el (vc-sccs):
2535 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2536 All relevant defcustoms reassigned.
2537
3c9dfce6
CY
25382012-02-25 Chong Yidong <cyd@gnu.org>
2539
1339bf43
CY
2540 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2541
3c9dfce6
CY
2542 * term/x-win.el (x-initialize-window-system): Reduce default for
2543 x-selection-timeout to 5 seconds (Bug#8869).
2544
25b2e303 25452012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2546
ec70a47d
GM
2547 * files.el (files-equal-p, file-subdir-of-p): New functions.
2548 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2549 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2550 * dired-aux.el (dired-copy-file-recursive): Same.
2551 (dired-create-files): Modify destination when source is equal to
2552 dest when copying files.
53a46cd0 2553 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2554
914260cd
MA
25552012-02-24 Michael Albinus <michael.albinus@gmx.de>
2556
2557 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2558 (Bug#10874)
2559
2cb228f7
AM
25602012-02-23 Alan Mackenzie <acm@muc.de>
2561
2562 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2563 parameter "after-hook:" to allow the expansion to run code after
2564 the execution of the mode hooks.
2565
2566 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2567 from font-lock-mode-internal.
2cb228f7 2568
91027d08 2569 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2570 :after-hook.
2571
8f0fde21
SM
25722012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2573
3e88618b
SM
2574 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2575 (completion--cache-all-sorted-completions): New function.
2576 (completion-all-sorted-completions): Use it.
2577 (completion--do-completion, minibuffer-force-complete):
2578 Use it to re-instate the flush hook.
2579
8f0fde21
SM
2580 * icomplete.el (icomplete-completions): Replace last fix with a better
2581 one (bug#10850).
2582
8e911f6f
DG
25832012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2584
2585 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2586 when it might call us back infinitely (bug#10797).
2587
49fe4321
GM
25882012-02-23 Glenn Morris <rgm@gnu.org>
2589
2590 * minibuffer.el (completion-category-overrides): Doc fix.
2591
b291b572
SM
25922012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2595 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2596
31a9ef2e
GM
25972012-02-23 Glenn Morris <rgm@gnu.org>
2598
5e6e6794 2599 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2600 (authors-obsolete-files-regexps, authors-ignored-files)
2601 (authors-ambiguous-files, authors-renamed-files-alist):
2602 Add more entries.
2603
0bd1e074
JL
26042012-02-23 Juri Linkov <juri@jurta.org>
2605
2606 * isearch.el (isearch-occur): Sync interactive spec with occur's
2607 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2608
b617673c
JL
2609 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2610
19e9789e
JL
26112012-02-22 Juri Linkov <juri@jurta.org>
2612
2613 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2614 (ucs-insert): Doc fix. Check for hex digits in the string.
2615 Don't display `nil' in the error message. (Bug#10857)
2616
f41ce09d
AM
26172012-02-22 Alan Mackenzie <acm@muc.de>
2618
7a71b18d 2619 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2620
ac2eceee
GM
26212012-02-22 Glenn Morris <rgm@gnu.org>
2622
2623 * ffap.el (ffap-c-path):
2624 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2625
abd1f678
CY
26262012-02-22 Chong Yidong <cyd@gnu.org>
2627
2628 * custom.el (load-theme): Doc fix.
2629
f25aef2e
GM
26302012-02-22 Glenn Morris <rgm@gnu.org>
2631
2632 * dired-x.el (dired-guess-shell-alist-default):
2633 Remove escape sequences from nroff output. (Bug#172)
2634
5f8dc2ca
GM
26352012-02-21 Glenn Morris <rgm@gnu.org>
2636
6ff86ec4
GM
2637 * vc/emerge.el (emerge-defvar-local):
2638 Set `permanent-local' property rather than unused `preserved'.
2639
be3223a3 2640 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2641 (picture-mode-map): Use it. (Bug#10860)
2642 (picture-mode): Doc fix.
2643
3fe58f4f
JB
26442012-02-21 Juanma Barranquero <lekktu@gmail.com>
2645
2646 * newcomment.el (uncomment-region-default): Remove unused binding.
2647
f9a998c3
GM
26482012-02-21 Glenn Morris <rgm@gnu.org>
2649
2650 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2651 (picture-self-insert, picture-tab-chars): Doc fix.
2652 (picture-mode-map): Fix C-a, C-e.
2653
c6029348
GM
26542012-02-20 Glenn Morris <rgm@gnu.org>
2655
2656 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2657
ab1ce9d7
LL
26582012-02-20 Leo Liu <sdl.web@gmail.com>
2659
2660 * icomplete.el (icomplete-completions): Check FROM arg before
2661 passing to substring (Bug#10850).
2662
0fd40f89
CY
26632012-02-19 Chong Yidong <cyd@gnu.org>
2664
2665 * comint.el: Require ansi-color.
2666 (comint-output-filter-functions): Add ansi-color-process-output.
2667
2668 * ansi-color.el: Don't set comint-output-filter-functions; it is
2669 now in the initial value defined in comint.el.
2670 (ansi-color-apply-face-function): New variable.
2671 (ansi-color-apply-on-region): Use it.
2672 (ansi-color-apply-overlay-face): New function.
2673
2674 * shell.el (shell): No need to require ansi-color.
2675 (shell-mode): Use ansi-color-apply-face-function to highlight
2676 color escapes using font-lock-face property (Bug#10835).
2677
20af2394
CY
26782012-02-19 Chong Yidong <cyd@gnu.org>
2679
2680 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2681 mode-line formats (Bug#10839).
2682
e23a3fbe
GM
26832012-02-18 Glenn Morris <rgm@gnu.org>
2684
b474519e
GM
2685 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2686
2687 * mail/undigest.el (unforward-rmail-message): Doc fix.
2688
e23a3fbe
GM
2689 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2690
57939ff4
EZ
26912012-02-18 Eli Zaretskii <eliz@gnu.org>
2692
2693 * international/characters.el (script-list): Sync with the latest
2694 Unicode Character Database.
2695
0c23686e
AS
26962012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2697
2698 * international/titdic-cnv.el: Remove duplicate coding tag.
2699 * language/cham.el: Likewise.
2700 * language/tai-viet.el: Likewise.
2701
6818b449
GM
27022012-02-18 Glenn Morris <rgm@gnu.org>
2703
2704 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2705 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2706 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2707 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2708 * calendar/holidays.el (holiday-bahai-holidays)
2709 (calendar-holidays, list-holidays):
2710 Use utf-8 Bahá'í in doc-strings, menus, etc.
2711
0311a3fc
TH
27122012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2713
2714 * saveplace.el (save-place-ignore-files-regexp): New variable
2715 allowing for excluding files from saving their location of point.
2716 The default value matches the temporary commit message editing
2717 files from Git, SVN, Bazaar, and Mercurial.
2718 (save-place-to-alist): Use it.
2719
eb864a71
LM
27202012-02-17 Lawrence Mitchell <wence@gmx.li>
2721 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 * newcomment.el (uncomment-region-default): Don't leave extra space
2724 when an arg is provided (bug#8150).
2725
ee0ce425
TZ
27262012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2727
eb864a71 2728 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2729
95ddf442
GM
27302012-02-17 Glenn Morris <rgm@gnu.org>
2731
2732 * net/socks.el: Require network-stream. (Bug#10599)
2733
48dd1e39 27342012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2735
2736 * international/charprop.el:
2737 * international/uni-name.el:
2738 * international/uni-old-name.el:
2739 * international/uni-comment.el: Regenerate.
2740
d68cd087
GM
27412012-02-16 Glenn Morris <rgm@gnu.org>
2742
2743 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2744 Interactively in calendar buffer, give an error if not on a date.
2745
13932042
GM
27462012-02-15 Glenn Morris <rgm@gnu.org>
2747
2748 * shell.el (shell-delimiter-argument-list):
2749 Revert 2011-02-17 change. (Bug#8027)
2750
c3a70e2b
CY
27512012-02-15 Chong Yidong <cyd@gnu.org>
2752
60236b0d
CY
2753 * minibuffer.el (completion-at-point-functions): Doc fix.
2754
c3a70e2b
CY
2755 * custom.el (defcustom): Doc fix; note use of defvar.
2756
9f26dc24
GM
27572012-02-15 Glenn Morris <rgm@gnu.org>
2758
2759 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2760 Doc fixes.
2761
6546b134
GM
27622012-02-14 Glenn Morris <rgm@gnu.org>
2763
2764 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2765
d29b2b4c
LI
27662012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2767
2768 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2769 way the ports list is computed.
835bdcba
LI
2770 (smtpmail-query-smtp-server): Prompt the user for a port number if
2771 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2772
08dcdbc9
TZ
27732012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2774
2775 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2776
2605051a
GM
27772012-02-13 Glenn Morris <rgm@gnu.org>
2778
2779 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2780
7ee99f32
TZ
27812012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2782
2783 * net/gnutls.el (gnutls-trustfiles): New variable.
2784 (gnutls-negotiate): Use it.
2785
5f0af64f
LI
27862012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2787
2788 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2789 does its stuff if Gnus is running.
2790
c14fcc95
AM
27912012-02-13 Alan Mackenzie <acm@muc.de>
2792
2793 Fix a loop in c-set-fl-decl-start.
2794
7a71b18d 2795 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2796 c-backward-syntactic-ws actually moves backwards.
2797
142b4d90
LL
27982012-02-13 Leo Liu <sdl.web@gmail.com>
2799
2800 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2801 beginning so that all \C-o chars are removed.
2802
fa9958a6
TZ
28032012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2804
dc9924b8 2805 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2806
0bc5886a
AM
28072012-02-12 Alan Mackenzie <acm@muc.de>
2808
2809 Fix infinite loop with long macros.
4d6769e1 2810 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2811
d4bd55e7
CY
28122012-02-12 Chong Yidong <cyd@gnu.org>
2813
2814 * window.el (display-buffer): Doc fix (Bug#10785).
2815
66f3fe22
GM
28162012-02-12 Glenn Morris <rgm@gnu.org>
2817
bd7da63e
GM
2818 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2819 (x-disown-selection-internal, x-get-selection-internal):
2820 Sync docs with the xselect.c versions.
2821
66f3fe22
GM
2822 * allout-widgets.el: Add missing license notice.
2823
3e0d2fa7
GM
28242012-02-11 Glenn Morris <rgm@gnu.org>
2825
cfecdf09
GM
2826 * select.el (x-get-selection-internal, x-own-selection-internal)
2827 (x-disown-selection-internal):
2828 * x-dnd.el (x-get-selection-internal): Update declarations.
2829
6d216d7f
GM
2830 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2831
2bed3f04
GM
2832 * window.el (window-sides-slots):
2833 * tool-bar.el (tool-bar-position):
2834 * term/xterm.el (xterm-extra-capabilities):
2835 * ses.el (ses-self-reference-early-detection):
2836 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2837 (verilog-auto-wire-type)
2838 (verilog-auto-delete-trailing-whitespace)
2839 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2840 (verilog-auto-tieoff-declaration):
2841 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2842 (sql-oracle-statement-starters, sql-oracle-scan-on):
2843 * progmodes/prolog.el (prolog-align-comments-flag)
2844 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2845 (prolog-left-indent-regexp, prolog-paren-indent-p)
2846 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2847 (prolog-types, prolog-mode-specificators)
2848 (prolog-determinism-specificators, prolog-directives)
2849 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2850 (prolog-electric-dot-flag)
2851 (prolog-electric-dot-full-predicate-template)
2852 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2853 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2854 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2855 (prolog-program-switches, prolog-prompt-regexp)
2856 (prolog-debug-on-string, prolog-debug-off-string)
2857 (prolog-trace-on-string, prolog-trace-off-string)
2858 (prolog-zip-on-string, prolog-zip-off-string)
2859 (prolog-use-standard-consult-compile-method-flag)
2860 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2861 (prolog-imenu-max-lines, prolog-info-predicate-index)
2862 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2863 (prolog-char-quote-workaround):
2864 * progmodes/cc-vars.el (c-defun-tactic):
2865 * net/tramp.el (tramp-encoding-command-interactive)
2866 (tramp-local-end-of-line):
2867 * net/soap-client.el (soap-client):
2868 * net/netrc.el (netrc-file):
2869 * net/gnutls.el (gnutls):
2870 * minibuffer.el (completion-category-overrides)
2871 (completion-cycle-threshold)
2872 (completion-pcm-complete-word-inserts-delimiters):
2873 * man.el (Man-name-local-regexp):
2874 * mail/feedmail.el (feedmail-display-full-frame):
2875 * international/characters.el (glyphless-char-display-control):
2876 * eshell/em-ls.el (eshell-ls-date-format):
2877 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2878 (lisp-lambda-list-keyword-parameter-indentation)
2879 (lisp-lambda-list-keyword-parameter-alignment):
2880 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2881 * dired-x.el (dired-omit-verbose):
2882 * cus-theme.el (custom-theme-allow-multiple-selections):
2883 * calc/calc.el (calc-highlight-selections-with-faces)
2884 (calc-lu-field-reference, calc-lu-power-reference)
2885 (calc-note-threshold):
2886 * battery.el (battery-mode-line-limit):
2887 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2888 (archive-7z-update):
2889 * allout.el (allout-prefixed-keybindings)
2890 (allout-unprefixed-keybindings)
2891 (allout-inhibit-auto-fill-on-headline)
2892 (allout-flattened-numbering-abbreviation):
2893 * allout-widgets.el (allout-widgets-auto-activation)
2894 (allout-widgets-icons-dark-subdir)
2895 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2896 (allout-widgets-theme-dark-background)
2897 (allout-widgets-theme-light-background)
2898 (allout-widgets-item-image-properties-emacs)
2899 (allout-widgets-item-image-properties-xemacs)
2900 (allout-widgets-run-unit-tests-on-load)
2901 (allout-widgets-time-decoration-activity)
2902 (allout-widgets-hook-error-post-time)
2903 (allout-widgets-track-decoration):
2904 Add missing :version tags to new defcustoms and defgroups.
2905
5fec1b8e
GM
2906 * progmodes/sql.el (sql-ansi-statement-starters)
2907 (sql-oracle-statement-starters): Add custom type.
2908
3e0d2fa7
GM
2909 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2910 (prolog-system-version): Give it a type.
2911
90b671e2
EZ
29122012-02-11 Eli Zaretskii <eliz@gnu.org>
2913
2914 * term/pc-win.el (x-select-text, x-selection-owner-p)
2915 (x-own-selection-internal, x-disown-selection-internal)
2916 (x-get-selection-internal): Sync doc strings and argument lists
2917 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2918
5eac0c02
LL
29192012-02-11 Leo Liu <sdl.web@gmail.com>
2920
2921 * progmodes/python.el (python-end-of-statement): Fix infinite
2922 loop. (Bug#10788)
2923
f82cb659
GM
29242012-02-10 Glenn Morris <rgm@gnu.org>
2925
2926 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2927 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2928
cc26d239
LI
29292012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2930
2931 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2932 about SMTP before checking the From header.
2933
91027d08 2934 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2935 into own function for reuse by emacsbug.el.
2936
1be3ca5a
LL
29372012-02-10 Leo Liu <sdl.web@gmail.com>
2938
2939 * subr.el (condition-case-unless-debug): Rename from
2940 condition-case-no-debug. All callers changed.
2941 (with-demoted-errors): Fix caller.
2942
2943 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2944 * nxml/rng-valid.el (rng-do-some-validation):
2945 * emacs-lisp/package.el (package-refresh-contents)
2946 (package-menu-execute):
2947 * desktop.el (desktop-create-buffer):
91027d08 2948 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2949
b011fbfe
GM
29502012-02-10 Glenn Morris <rgm@gnu.org>
2951
b2096d72
GM
2952 * textmodes/bibtex.el:
2953 Add missing :version tags for new/changed defcustoms.
2954
b011fbfe
GM
2955 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2956
4c7e65bf
LI
29572012-02-09 Lars Ingebrigtsen <larsi@rusty>
2958
2959 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2960 (smtpmail-via-smtp): Use it, or fall back on the From address.
2961 (smtpmail-send-it): Ditto.
2962
f3934f6f
SM
29632012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2966 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2967 (byte-compile-tmp-var): New const.
2968 (byte-compile-defvar): Use it to minimize .elc size.
2969 Just use `defvar' rather than simulate it (bug#10761).
2970
a075a2c5
GM
29712012-02-09 Glenn Morris <rgm@gnu.org>
2972
cf3aa21b
GM
2973 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2974
354998cd
GM
2975 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2976 Add :version tags.
2977
dc9924b8
SM
2978 * progmodes/compile.el (compilation-error-screen-columns)
2979 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2980
dab3703d
GM
2981 * vc/log-view.el (log-view-toggle-entry-display):
2982 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2983
3f88cd72
GM
2984 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2985 (report-emacs-bug-can-use-xdg-email):
2986 (report-emacs-bug-insert-to-mailer): Doc fixes.
2987 (report-emacs-bug): Message fix.
2988
d95b247d
GM
2989 * net/browse-url.el (browse-url-can-use-xdg-open)
2990 (browse-url-xdg-open): Doc fixes.
2991
a075a2c5
GM
2992 * electric.el (electric-indent-mode, electric-pair-mode)
2993 (electric-layout-rules, electric-layout-mode): Doc fixes.
2994 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2995
ffb6157e
MR
29962012-02-08 Martin Rudalics <rudalics@gmx.at>
2997
2998 * server.el (server-unselect-display): Don't inadvertently kill
2999 the current buffer. (Bug#10729)
3000
e1ac4066
GM
30012012-02-08 Glenn Morris <rgm@gnu.org>
3002
34e8a2da
GM
3003 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3004 (sql-list-table): Doc fixes.
3005
b4ac6e8c
GM
3006 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3007 Comment out (does nothing).
3008
e1ac4066
GM
3009 * completion.el (dynamic-completion-mode):
3010 * dirtrack.el (dirtrack-debug-mode):
3011 * electric.el (electric-layout-mode):
3012 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3013 * face-remap.el (text-scale-mode, buffer-face-mode):
3014 * iimage.el (iimage-mode):
3015 * image-mode.el (image-transform-mode):
3016 * minibuffer.el (completion-in-region-mode):
3017 * scroll-lock.el (scroll-lock-mode):
3018 * simple.el (next-error-follow-minor-mode):
3019 * tar-mode.el (tar-subfile-mode):
3020 * tooltip.el (tooltip-mode):
3021 * vcursor.el (vcursor-use-vcursor-map):
3022 * wid-browse.el (widget-minor-mode):
3023 * emulation/tpu-edt.el (tpu-edt-mode):
3024 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3025 * international/iso-ascii.el (iso-ascii-mode):
3026 * language/thai-util.el (thai-word-mode):
3027 * mail/supercite.el (sc-minor-mode):
3028 * net/goto-addr.el (goto-address-mode):
3029 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3030 * progmodes/cwarn.el (cwarn-mode):
3031 * progmodes/flymake.el (flymake-mode):
3032 * progmodes/glasses.el (glasses-mode):
3033 * progmodes/hideshow.el (hs-minor-mode):
3034 * progmodes/pascal.el (pascal-outline-mode):
3035 * textmodes/enriched.el (enriched-mode):
3036 * vc/smerge-mode.el (smerge-mode):
3037 Doc fixes (minor mode argument).
3038
5e0d957f
EZ
30392012-02-07 Eli Zaretskii <eliz@gnu.org>
3040
3041 * ls-lisp.el (ls-lisp-sanitize): New function.
3042 (ls-lisp-insert-directory): Use it to fix or remove any elements
3043 in file-alist with missing attributes. (Bug#4673)
3044
98d7371e
AM
30452012-02-07 Alan Mackenzie <acm@muc.de>
3046
3047 Fix spurious recognition of c-in-knr-argdecl.
3048
3049 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3050 putative K&R region.
3051
667ced3a
AM
30522012-02-07 Alan Mackenzie <acm@muc.de>
3053
eb864a71
LM
3054 * progmodes/cc-engine.el (c-forward-objc-directive):
3055 Prevent looping in "#pragma mark @implementation".
667ced3a 3056
5b77774d
MA
30572012-02-07 Michael Albinus <michael.albinus@gmx.de>
3058
3059 * notifications.el (notifications-on-closed-signal): Make `reason'
3060 optional. (Bug#10744)
3061
af008560
GM
30622012-02-07 Glenn Morris <rgm@gnu.org>
3063
60d47423
GM
3064 * emacs-lisp/easy-mmode.el (define-minor-mode):
3065 Doc fixes for the macro and the mode it defines.
3066
dd605cc4
GM
3067 * image.el (imagemagick-types-inhibit): Doc fix.
3068
af008560
GM
3069 * cus-start.el (imagemagick-render-type): Add it.
3070
5cc59a37
LI
30712012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3072
4d6769e1
JB
3073 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3074 Set the default at load time, too, so that `font-lock-fontify-buffer'
3075 can be called without setting up the entire mode first. This fixes
3076 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3077
9a6dd747
CY
30782012-02-06 Chong Yidong <cyd@gnu.org>
3079
2d16b285
CY
3080 * simple.el (list-processes--refresh): Delete exited processes
3081 (Bug#8094).
3082
171e9b6e
CY
3083 * comint.el (comint-next-prompt): next-single-char-property-change
3084 and prev-single-char-property-change never return nil (Bug#8657).
3085
9a6dd747
CY
3086 * custom.el (defcustom): Doc fix (Bug#9711).
3087
aa4589a7
CY
30882012-02-05 Chong Yidong <cyd@gnu.org>
3089
5c2a252f
CY
3090 * cus-edit.el (custom-variable-reset-backup): Quote the value
3091 before storing it in the customized-value property (Bug#6712).
4aab9006 3092 (custom-display): Add a customization type tag.
983b9602 3093 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3094
aa4589a7
CY
3095 * wid-edit.el (widget-field-value-get): New optional arg to
3096 suppress trailing whitespace truncation.
3097 (character): Use it (Bug#2689).
3098
1ff980ae
AS
30992012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3100
3101 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3102 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3103
03988c98
CY
31042012-02-05 Chong Yidong <cyd@gnu.org>
3105
eeb6cc88
CY
3106 * cus-edit.el (custom-variable-value-create): For mismatched
3107 types, show the current value (Bug#7600).
3108
03988c98
CY
3109 * custom.el (defcustom): Doc fix.
3110
f8cdeef0
GM
31112012-02-05 Glenn Morris <rgm@gnu.org>
3112
3113 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3114
0696d255
JB
31152012-02-05 Juanma Barranquero <lekktu@gmail.com>
3116
3117 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3118 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3119 (pp-last-sexp): Use `looking-at-p'.
3120
34c99998
GM
31212012-02-04 Glenn Morris <rgm@gnu.org>
3122
8f05da42
GM
3123 * files.el (revert-buffer):
3124 Doc fix (mention revert-buffer-in-progress-p).
3125
f160676e
GM
3126 * emacs-lisp/ert-x.el (ert-simulate-command):
3127 Check deferred-action-list (which is obsolete) is bound.
3128
c7291ad9
GM
3129 * subr.el (with-wrapper-hook): Doc fixes.
3130
34c99998
GM
3131 * simple.el (filter-buffer-substring-functions)
3132 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3133
6283a7d3
LL
31342012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3135
3136 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3137 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3138
e96e3013
LL
31392012-02-04 Leo Liu <sdl.web@gmail.com>
3140
3141 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3142
8ded50f2
GM
31432012-02-04 Glenn Morris <rgm@gnu.org>
3144
82ff1d13
GM
3145 * image.el (image-extension-data): Add obsolete alias.
3146
987a0a16
GM
3147 * isearch.el (isearch-update): Doc fix.
3148
ea32ef46
GM
3149 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3150
8ded50f2
GM
3151 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3152
eea14f31
GM
31532012-02-03 Glenn Morris <rgm@gnu.org>
3154
3155 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3156 (image-animate-timeout): Doc fix.
3157
3158 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3159
12f381b7
GM
31602012-02-02 Glenn Morris <rgm@gnu.org>
3161
953cebf5
GM
3162 * server.el (server-auth-dir): Doc fix.
3163 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3164
12f381b7
GM
3165 * subr.el (run-mode-hooks): Doc fix.
3166
953a8c3b
JL
31672012-02-02 Juri Linkov <juri@jurta.org>
3168
3169 * image-mode.el (image-toggle-display-image): Remove tautological
3170 `major-mode' from the `derived-mode-p' test.
3171
c5d3843c
KH
31722012-02-02 Kenichi Handa <handa@m17n.org>
3173
9f6e692e 3174 * composite.el (compose-region): Cancel previous change.
c5d3843c 3175
159462d4 31762012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3177
3178 * composite.el (compose-region, compose-string): Signal error for
3179 a null string component (Bug#6988).
3180
9f562668
CY
31812012-02-01 Chong Yidong <cyd@gnu.org>
3182
e2cef717
CY
3183 * view.el (view-buffer-other-window, view-buffer-other-frame):
3184 Handle special modes like view-buffer (Bug#10650).
3185 (view-buffer): Simplify.
3186
9f562668
CY
3187 * frame.el (set-frame-font): Tweak meaning of third argument.
3188
9f6e692e
JB
3189 * dynamic-setting.el (font-setting-change-default-font):
3190 Use set-frame-font (Bug#9982).
9f562668 3191
781acb9f
GM
31922012-02-01 Glenn Morris <rgm@gnu.org>
3193
6035be52
GM
3194 * progmodes/compile.el (compilation-internal-error-properties):
3195 Respect compilation-first-column in the "*compilation*" buffer.
3196
781acb9f
GM
3197 * emacs-lisp/easy-mmode.el (define-minor-mode):
3198 Relax :variable's test for a named function.
3199
abbceb00
AM
32002012-01-31 Alan Mackenzie <acm@muc.de>
3201
3202 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3203 off by one error.
3204
fce3fdeb
CY
32052012-01-31 Chong Yidong <cyd@gnu.org>
3206
3207 * frame.el (set-frame-font): New arg ALL-FRAMES.
3208
3209 * menu-bar.el (menu-set-font): Use set-frame-font.
3210
3211 * faces.el (face-spec-reset-face): Don't apply unspecified
3212 attribute values to the default face.
3213
47893581
JB
32142012-01-31 Juanma Barranquero <lekktu@gmail.com>
3215
3216 * progmodes/cwarn.el (cwarn): Remove dead link.
3217 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3218 Remove * from defcustom docstrings.
3219 (turn-on-cwarn-mode): Make obsolete.
3220 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3221 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3222
e58e988a
GM
32232012-01-31 Glenn Morris <rgm@gnu.org>
3224
60dc2671 3225 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3226 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3227 Allow named functions to be used as the cdr of :variable.
e58e988a 3228
7a3f511d
GM
32292012-01-30 Glenn Morris <rgm@gnu.org>
3230
3231 * emacs-lisp/authors.el (authors-fixed-entries):
3232 Remove reference to deleted file rnewspost.el.
3233
cb882333
JB
32342012-01-29 Juanma Barranquero <lekktu@gmail.com>
3235
3236 * window.el (window-with-parameter): Remove unused variable `windows'.
3237 (window--side-check): Remove unused variable `code'.
3238 (window--resize-siblings): Remove unused variable `first'.
3239 (adjust-window-trailing-edge): Remove unused variable `failed'.
3240 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3241 Use `let', not `let*'.
3242 (balance-windows-2): Remove unused variable `found'.
3243 (window--state-put-2): Remove unused variable `splits'.
3244 (window-state-put): Remove unused variable `selected'.
3245 (same-window-p): Use `string-match-p'.
3246 (display-buffer-assq-regexp): Remove unused variable `value'.
3247 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3248 Mark argument ALIST as ignored.
3249 (pop-to-buffer): Remove unused variable `old-window'.
3250
907201af
EZ
32512012-01-29 Eli Zaretskii <eliz@gnu.org>
3252
3253 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3254 and .lzma compressed files.
3255
ea162670
CY
32562012-01-29 Chong Yidong <cyd@gnu.org>
3257
5b95ee8a
CY
3258 * frame.el (window-system-default-frame-alist): Doc fix.
3259
ea162670
CY
3260 * dynamic-setting.el (font-setting-change-default-font): Don't
3261 change the default face if SET-FONT argument is non-nil (Bug#9982).
3262
d6e6f4b1
SB
32632012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3264
3265 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3266
0f29fa41 32672012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3268
3269 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3270 breakpoints in files outside current directory (Bug#6098).
3271
db174434
CY
32722012-01-29 Chong Yidong <cyd@gnu.org>
3273
6b25e4e2
SE
3274 * progmodes/python.el: Require ansi-color at top-level.
3275
6df6ae42
JB
3276 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3277 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3278 (lisp-mode-abbrev-table): Add doc.
3279 (lisp-mode-variables): Don't set local-abbrev-table.
3280 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3281
e70ee681
RW
32822012-01-28 Roland Winkler <winkler@gnu.org>
3283
3284 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3285
ace88aa2
RW
32862012-01-28 Roland Winkler <winkler@gnu.org>
3287
3288 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3289 (bibtex-set-dialect): Use it. Either set global values of
3290 dialect-dependent variables or bind these variables buffer-locally
3291 (Bug#10254).
3292 (bibtex-mode): Call bibtex-set-dialect via
3293 hack-local-variables-hook.
eb864a71
LM
3294 (bibtex-dialect): Update docstring.
3295 Add safe-local-variable predicate.
ace88aa2
RW
3296 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3297 bibtex-set-dialect.
3298 (bibtex-mode-map): Define menu for each dialect.
3299 (bibtex-entry): Fix docstring.
3300
93376c5b
CY
33012012-01-28 Chong Yidong <cyd@gnu.org>
3302
3303 * eshell/esh-arg.el (eshell-quote-argument): New function.
3304
3305 * eshell/esh-ext.el (eshell-invoke-batch-file):
3306 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3307 first arg to eshell-parse-command (Bug#10523).
3308
4372494f
DA
33092012-01-28 Drew Adams <drew.adams@oracle.com>
3310
3311 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3312 `default-directory' is non-nil.
3313
4d4ec1f8
EZ
33142012-01-28 Eli Zaretskii <eliz@gnu.org>
3315
3316 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3317 line that displays system-configuration-options. (Bug#9924)
3318
7c188927
DA
33192012-01-28 Drew Adams <drew.adams@oracle.com>
3320
3321 * descr-text.el (describe-char): Show information about POS, in
3322 addition to information about the character at POS. Improve and
3323 update the doc string. Change "code point" to "code point in
3324 charset", to avoid confusion with the character's Unicode code
3325 point shown above that. (Bug#10129)
3326
e0da685a
EZ
33272012-01-28 Eli Zaretskii <eliz@gnu.org>
3328
3329 * descr-text.el (describe-char): Show the raw character, not only
3330 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3331 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3332 for the reasons.
3333
70550acf
PH
33342012-01-28 Phil Hagelberg <phil@hagelb.org>
3335
eb864a71
LM
3336 * emacs-lisp/package.el (package-install):
3337 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3338
0ce8e868
CY
33392012-01-28 Chong Yidong <cyd@gnu.org>
3340
cb882333
JB
3341 * emacs-lisp/package.el (package-maybe-load-descriptor):
3342 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3343 (package-maybe-load-descriptor): Use it.
3344 (package-download-transaction): Fully load required packages
3345 inside the loop, so that `require' calls work (Bug#10593).
3346 (package-install): No need to call package-initialize now.
3347
2e7f3bea
CY
33482012-01-28 Chong Yidong <cyd@gnu.org>
3349
6e9bad14
CY
3350 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3351
f823b8ca
CY
3352 * tooltip.el (tooltip-mode): Doc fix.
3353 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3354
2680c309
CY
3355 * frame.el (set-cursor-color): Doc fix (Bug#352).
3356
d7a9e63b
CY
3357 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3358 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3359
2e7f3bea
CY
3360 * cus-edit.el (custom-buffer-create-internal): Fix search button
3361 action (Bug#10542).
2ae01800 3362 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3363
fc4f7a23
EW
33642012-01-27 Eduard Wiebe <usenet@pusto.de>
3365
3366 * dired.el (dired-mark-files-regexp):
3367 Include any subdirectory components. (Bug#10445)
3368
7dd37071
ML
33692012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3370
3371 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3372 Handle [host]:port syntax. (Bug#10533)
3373
a268160b
AH
33742012-01-27 Alex Harsanyi <harsanyi@mac.com>
3375
3376 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3377
e43273ef
GM
33782012-01-26 Glenn Morris <rgm@gnu.org>
3379
3380 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3381 * term.el (term-raw-escape-map): Use Control-X-prefix.
3382 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3383
1edf595d
MR
33842012-01-25 Martin Rudalics <rudalics@gmx.at>
3385
3386 * window.el (window-state-get, window--state-get-1): Don't deal
3387 with fixed-sizeness of windows. Simplify code.
3388
fa8eafef
JC
33892012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3390
6df6ae42
JB
3391 * window.el (window--state-get-1, window--state-put-2):
3392 Don't save and restore the mark.
fa8eafef 3393
0b21c100
CY
33942012-01-25 Chong Yidong <cyd@gnu.org>
3395
3396 * custom.el (custom-variable-p): Doc fix.
3397
5ae1a6c8
GM
33982012-01-25 Glenn Morris <rgm@gnu.org>
3399
40047858
GM
3400 * dired.el (dired-goto-file): Handle some of the more common
3401 characters that `ls -b' escapes. (Bug#10596)
3402
5ddce96c
GM
3403 * progmodes/compile.el (compilation-next-error-function):
3404 Respect compilation-first-column in the "*compilation*" buffer.
3405 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3406
5ae1a6c8
GM
3407 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3408
b559f1a9
GM
34092012-01-24 Glenn Morris <rgm@gnu.org>
3410
3411 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3412
6725d21a
JD
34132012-01-24 Julien Danjou <julien@danjou.info>
3414
3415 * color.el (color-rgb-to-hsl): Fix value computing.
3416 (color-hue-to-rgb): New function.
3417 (color-hsl-to-rgb): New function.
3418 (color-clamp, color-saturate-hsl, color-saturate-name)
3419 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3420 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3421
70df4bbe
GM
34222012-01-24 Glenn Morris <rgm@gnu.org>
3423
3424 * vc/vc-rcs.el (vc-rcs-create-tag):
3425 * vc/vc-sccs.el (vc-sccs-create-tag):
3426 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3427
802a2ae2
ML
34282012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3429
3430 * eshell/esh-util.el (eshell-read-hosts-file):
3431 Skip comment lines. (Bug#10549)
3432
d7128bb1
ML
3433 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3434
d1a5c3b4
JB
34352012-01-23 Juanma Barranquero <lekktu@gmail.com>
3436
2724d9c7
JB
3437 * subr.el (display-delayed-warnings): Doc fix.
3438 (collapse-delayed-warnings): New function to collapse identical
3439 adjacent warnings.
3440 (delayed-warnings-hook): Add it.
d1a5c3b4 3441
a5509865
MA
34422012-01-22 Michael Albinus <michael.albinus@gmx.de>
3443
3444 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3445
3446 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3447 properties, when "login-as" is set.
3448
3449 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3450 (tramp-default-user-alist): Don't add "pscp".
3451 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3452 property "login-as", if set. (Bug#10530)
3453
cc6d5805
MA
34542012-01-21 Michael Albinus <michael.albinus@gmx.de>
3455
3456 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3457 "plink1" and "psftp". (Bug#10530)
3458
34592012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3460
3461 * international/mule-cmds.el (prefer-coding-system): Show a
3462 warning message if the default value of file-name-coding-system
3463 was not changed.
3464
f0960428
JC
34652012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3466
cb882333
JB
3467 * windmove.el (windmove-reference-loc):
3468 Fix windmove-reference-loc miscalculation.
f0960428 3469
dd6f2a63
JB
34702012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3471
3472 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3473 default unit.
3474
7b447e9b
GM
34752012-01-21 Glenn Morris <rgm@gnu.org>
3476
117a9ea1
GM
3477 * international/mule.el (auto-coding-alist): Add .tbz.
3478
7b447e9b
GM
3479 * files.el (local-enable-local-variables): Doc fix.
3480 (inhibit-local-variables-regexps): Rename from
3481 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3482 Doc fix. Add some extensions from auto-coding-alist.
3483 (inhibit-local-variables-suffixes):
3484 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3485 (inhibit-local-variables-p):
3486 New function, extracted from set-auto-mode-1.
3487 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3488 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3489 (hack-local-variables): Doc fix. Make the mode-only case
3490 respect enable-local-variables and friends.
3491 Respect inhibit-local-variables-regexps for file-locals, but
3492 not for directory-locals.
3493 (set-visited-file-name):
3494 Take account of inhibit-local-variables-regexps.
3495 Whether it applies may change as the file name is changed.
3496 * jka-cmpr-hook.el (jka-compr-install):
3497 * jka-compr.el (jka-compr-uninstall):
3498 Update for inhibit-first-line-modes-suffixes name change.
3499
dd6e3cdd
MR
35002012-01-20 Martin Rudalics <rudalics@gmx.at>
3501
3502 * help-macro.el (make-help-screen): Temporarily restore original
3503 binding for minor-mode-map-alist (Bug#10454).
3504
0d0deb38
JD
35052012-01-19 Julien Danjou <julien@danjou.info>
3506
3507 * color.el (color-name-to-rgb): Use the white color to find the max
3508 color component value and return correctly computed values.
3509 (color-name-to-rgb): Add missing float conversion for max value.
3510
34a02f46
MR
35112012-01-19 Martin Rudalics <rudalics@gmx.at>
3512
3513 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3514 special state value for window-persistent-parameters.
3515 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3516 (window--state-put-2): Reset all window parameters to nil before
3517 assigning values of persistent parameters.
3518
606c44c4
AM
35192012-01-18 Alan Mackenzie <acm@muc.de>
3520
3521 Eliminate sluggishness and hangs in fontification of "semicolon
3522 deserts".
3523
cb882333
JB
3524 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3525 Change value 10000 -> 3000.
606c44c4
AM
3526 (c-state-safe-place): Reformulate so it doesn't stack up an
3527 infinite number of wrong entries in c-state-nonlit-pos-cache.
3528 (c-determine-limit-get-base, c-determine-limit): New functions to
3529 determine backward search limits disregarding literals.
3530 (c-find-decl-spots): Amend commenting.
3531 (c-cheap-inside-bracelist-p): New function which detects "={".
3532
3533 * progmodes/cc-fonts.el
3534 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3535 backward search.
3536 (c-font-lock-declarations): Fix an occurrence of point being
3537 undefined. Check additionally for point being in a bracelist or
3538 near a macro invocation without a semicolon so as to avoid a
3539 fruitless time consuming search for a declarator. Give a more
3540 precise search limit for declarators using the new
3541 c-determine-limit.
3542
f3860cea
GM
35432012-01-18 Glenn Morris <rgm@gnu.org>
3544
3545 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3546 (set-auto-mode): Doc fixes.
3547
1db03b16
GM
35482012-01-17 Glenn Morris <rgm@gnu.org>
3549
0e6038be
GM
3550 * isearch.el (search-nonincremental-instead): Fix doc typo.
3551
1db03b16
GM
3552 * dired.el (dired-insert-directory): Handle newlines in directory name.
3553 (dired-build-subdir-alist): Unescape newlines in directory name.
3554
4cb0aa75
MA
35552012-01-17 Michael Albinus <michael.albinus@gmx.de>
3556
3557 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3558 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3559 (tramp-action-terminal): Use it. (Bug#10530)
3560
1d00653d
SM
35612012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3562
3563 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3564
6a6ee00d
MR
35652012-01-16 Martin Rudalics <rudalics@gmx.at>
3566
3567 * window.el (window-state-ignored-parameters): Remove variable.
3568 (window--state-get-1): Rename argument MARKERS to IGNORE.
3569 Handle persistent window parameters. Make copy of clone-of
3570 parameter only if requested. (Bug#10348)
3571 (window--state-put-2): Install a window parameter only if it has
3572 a non-nil value or an existing parameter shall be overwritten.
3573
97912def
MA
35742012-01-15 Michael Albinus <michael.albinus@gmx.de>
3575
3576 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3577
688070a5
EZ
35782012-01-14 Eli Zaretskii <eliz@gnu.org>
3579
3580 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3581 don't pass the (nil) value of `upnode' to string-match.
3582
301afadc
CY
35832012-01-14 Chong Yidong <cyd@gnu.org>
3584
3585 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3586 Fix values recognized by the cursorBlink resource.
301afadc 3587
9e5788aa
PE
35882012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3589
3590 * epg.el (epg--make-temp-file): Avoid permission race condition
3591 when running on old Emacs versions (bug#10403).
3592
3cdb7f5a
GM
35932012-01-14 Glenn Morris <rgm@gnu.org>
3594
3595 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3596
8c82b1b4
AM
35972012-01-13 Alan Mackenzie <acm@muc.de>
3598
3599 Fix filling for when filladapt mode is enabled.
3600
3601 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3602 c-mask-paragraph, pass in `fill-paragraph' rather than
3603 `fill-region-as-paragraph'. (This is a reversion of a previous
3604 change.)
eb864a71
LM
3605 * progmodes/cc-mode.el (c-basic-common-init):
3606 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3607
e517eda4
GM
36082012-01-13 Glenn Morris <rgm@gnu.org>
3609
1498536e
GM
3610 * dired.el (dired-switches-escape-p): New function.
3611 (dired-insert-directory): Use dired-switches-escape-p.
3612 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3613
e517eda4
GM
3614 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3615
328f984d
GM
36162012-01-12 Glenn Morris <rgm@gnu.org>
3617
3618 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3619 changes in adaptive-fill-regexp. (Bug#10276)
3620
2cc769a8
AM
36212012-01-11 Alan Mackenzie <acm@muc.de>
3622
3623 Fix Emacs bug #10463 - put `widen's around the critical spots.
3624
1d00653d 3625 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3626 widen around each invocation of c-state-pp-to-literal. Remove an
3627 unused let variable.
3628
e52c37fa
GM
36292012-01-11 Glenn Morris <rgm@gnu.org>
3630
3631 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3632 Doc fix.
e52c37fa 3633
96f8741e
CY
36342012-01-10 Chong Yidong <cyd@gnu.org>
3635
1d00653d
SM
3636 * net/network-stream.el (network-stream-open-starttls):
3637 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3638 response to the capability command.
3639
b09a806e
GM
36402012-01-10 Glenn Morris <rgm@gnu.org>
3641
3642 * mail/unrmail.el (unrmail): Tweak previous change.
3643
7655cb66
CY
36442012-01-09 Chong Yidong <cyd@gnu.org>
3645
3646 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3647
9d5a8f0b
AM
36482012-01-08 Alan Mackenzie <acm@muc.de>
3649
3650 Optimise font locking in long enum definitions.
3651
3652 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3653 arm to a cond form to handle enums.
3654 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3655 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3656
9a0115ab 36572012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3658
3659 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3660 (Bug#10401)
6bb72cbd 3661
f186bb95
LMI
36622012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3663
29232a68
LMI
3664 * faces.el (set-face-attribute): Clarify the meaning of the nil
3665 frame (bug#10294).
3666
4e5d086d
LMI
3667 * subr.el (with-selected-frame): Mention that the selected frame
3668 is restored (bug#9980).
3669
8e66aebe
LMI
3670 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3671 (bug#9759).
3672
cd394be1 3673 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3674 (password-read): Don't autoload unused function.
3675
adf4e762
JB
36762012-01-07 Juanma Barranquero <lekktu@gmail.com>
3677
3678 * progmodes/which-func.el (which-func-mode): Turn into a
3679 non-interactive function and mark as obsolete (bug#10428).
3680
89bd9ccd
CY
36812012-01-06 Chong Yidong <cyd@gnu.org>
3682
3683 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3684 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3685 functions, along with 1 and -1.
3686
4afee9d5
EZ
36872012-01-06 Eli Zaretskii <eliz@gnu.org>
3688
3689 * time.el (display-time-load-average)
3690 (display-time-default-load-average): Doc fixes. See the thread
3691 starting at
3692 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3693 for the details.
3694
536aea70
GM
36952012-01-06 Glenn Morris <rgm@gnu.org>
3696
665ae865
GM
3697 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3698 has no messages. (Bug#10377)
3699
c869783d
GM
3700 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3701 than Info-edit. (Bug#10385)
3702
2bb4227e
GM
3703 * time.el (display-time-load-average, display-time-next-load-average):
3704 Doc fixes.
3705
7d5944b9
GM
3706 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3707 local setting of buffer-read-only to the input buffer. (Bug#10419)
3708
536aea70
GM
3709 * calendar/calendar.el (calendar-mode):
3710 Locally set scroll-margin to 0. (Bug#10379)
3711
7dccca16
UM
37122012-01-06 Ulrich Mueller <ulm@gentoo.org>
3713
3714 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3715
afbb7930
GM
37162012-01-05 Glenn Morris <rgm@gnu.org>
3717
3718 * eshell/em-unix.el (diff-no-select): Autoload it.
3719 (eshell/diff): Use diff-no-select. (Bug#10420)
3720
04482335
CY
37212012-01-05 Chong Yidong <cyd@gnu.org>
3722
7baca3bc
CY
3723 * shell.el (shell-dynamic-complete-functions): Revert last change.
3724 (shell-command-completion-function): New function.
3725 (shell-completion-vars): Use it to implement
3726 shell-completion-execonly (Bug#10417).
3727
04482335
CY
3728 * custom.el (enable-theme): Don't set custom-safe-themes.
3729
1d00653d
SM
3730 * cus-theme.el (custom-theme-merge-theme):
3731 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3732
bb5aa5d6
MM
37332012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3734
3735 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3736 first prompt in `sql-interacive-mode'.
3737 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3738 keywords.
6df6ae42 3739 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3740 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3741 context of original buffer. Invoke `sql-login-hook'.
3742
a7183d7c
EZ
37432012-01-04 Eli Zaretskii <eliz@gnu.org>
3744
3745 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3746 letters in cite-prefix.
3747
a1eacd1e
LMI
37482012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3749
3750 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3751
787cdb34
CY
37522012-01-03 Chong Yidong <cyd@gnu.org>
3753
1d00653d
SM
3754 * shell.el (shell-dynamic-complete-functions):
3755 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3756 comint-filename-completion first (Bug#10417).
3757
30710442
RS
37582012-01-02 Richard Stallman <rms@gnu.org>
3759
3760 * battery.el (battery-status-function):
3761 Detect when to use battery-yeeloong-sysfs.
3762 (battery-echo-area-format): Add string for Yeeloong.
3763 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3764 (battery-yeeloong-sysfs): New function.
3765
f75bfc33
CY
37662012-01-02 Chong Yidong <cyd@gnu.org>
3767
3768 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3769 (dirtrack): Merge code for handling relative filenames in prompt
3770 from shell-dir-cookie-watcher.
3771 (dirtrack-debug-message): New arg to avoid excess format calls.
3772
3773 * shell.el (shell-dir-cookie-re): Variable deleted.
3774 (shell-dir-cookie-watcher): Function deleted.
3775 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3776 with dirtrack-mode.
3777
651e947e
EZ
37782012-01-01 Eli Zaretskii <eliz@gnu.org>
3779
1d00653d
SM
3780 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3781 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3782 libgnutls-26.dll.
3783
94d4c7dc
AS
37842011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3785
3786 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3787
8d43f3cd
EZ
37882011-12-31 Eli Zaretskii <eliz@gnu.org>
3789
3790 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3791 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3792
98c8795a
MA
37932011-12-29 Michael Albinus <michael.albinus@gmx.de>
3794
3795 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3796 also for alternative shells.
3797 (tramp-open-connection-setup-interactive-shell): Check, whether
3798 the shell is a busybox.
3799 (tramp-send-command): Don't suppress multiple prompts for
3800 busyboxes, it hurts.
3801
51281b32
CY
38022011-12-28 Chong Yidong <cyd@gnu.org>
3803
3804 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3805 (gdb-get-source-file): Move mode line update to
3806 gdb-get-source-file (Bug#10087).
3807
2170cb53
CY
38082011-12-25 Chong Yidong <cyd@gnu.org>
3809
3810 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3811 gud-gdb-marker-filter without taking it as an argument.
3812 (gud-gdb-run-command-fetch-lines): Caller changed.
3813 (gud-gdb-completion-function): New variable.
3814 (gud-gdb-completion-at-point): Use it.
3815 (gud-gdb-completions-1): Split from gud-gdb-completions.
3816
3817 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3818 function as separate arguments.
3819 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3820 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3821 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3822 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3823 (gdb-stopped, def-gdb-auto-update-trigger)
3824 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3825 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3826 Callers changed.
2170cb53
CY
3827 (gud-gdbmi-completions): New function.
3828 (gdb): Use it for generating the completion table.
3829
be8b11bb
AM
38302011-12-24 Alan Mackenzie <acm@muc.de>
3831
3832 Introduce a mechanism to widen the region used in context font
1d00653d 3833 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3834
1d00653d
SM
3835 * progmodes/cc-langs.el (c-before-font-lock-functions):
3836 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3837 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3838 functions to be run just before context (etc.) font locking.
3839
3840 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3841 New, functionality extracted from
be8b11bb 3842 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3843 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3844 (c-after-change): Set c-in-after-change-fontification.
3845 (c-set-fl-decl-start): Rejig its interface, so it can be called
3846 from both after-change and context fontifying.
b81d40f0
JB
3847 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3848 New functions.
3849 (c-standard-font-lock-fontify-region-function): New variable.
3850 (c-font-lock-fontify-region): New function.
be8b11bb 3851
341cf6ac
JL
38522011-12-24 Juri Linkov <juri@jurta.org>
3853
3854 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3855 (Bug#10348)
3856
bffcee0a
MA
38572011-12-23 Michael Albinus <michael.albinus@gmx.de>
3858
3859 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3860 existence of source file. (Bug#10325)
3861
cb5e207c
AM
38622011-12-23 Alan Mackenzie <acm@muc.de>
3863
3864 Fix unstable fontification inside templates.
3865
b81d40f0
JB
3866 * progmodes/cc-langs.el (c-before-font-lock-functions):
3867 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3868 additionally has c-set-fl-decl-start. The other languages (apart
3869 from AWK) have that as a single entry.
3870
b81d40f0
JB
3871 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3872 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3873 c-set-fl-decl-start.
3874
b81d40f0
JB
3875 * progmodes/cc-mode.el (c-common-init, c-after-change):
3876 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3877 (c-set-fl-decl-start): New function, extracted from
3878 c-font-lock-enclosing-decls and enhanced.
3879
60ff536c
JB
38802011-12-23 Juanma Barranquero <lekktu@gmail.com>
3881
3882 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3883
1c4757d6
JL
38842011-12-22 Juri Linkov <juri@jurta.org>
3885
3886 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3887
d031f2c7
CY
38882011-12-22 Chong Yidong <cyd@gnu.org>
3889
3890 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3891
bace743a
DA
38922011-12-21 Drew Adams <drew.adams@oracle.com>
3893
3894 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3895
728a1f2b
JC
38962011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3897
3898 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3899
0d373f73
TZ
39002011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3901
fec0aaa4
TZ
3902 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3903 highlighting and support. Fix up comments for capitalization.
3904 (cfengine-mode-debug): New var.
3905 (cfengine3-mode): Change the modeline indicator to "CFE3".
3906 (cfengine3-font-lock-keywords): Improve defun highlighting.
3907 (cfengine2-actions): Rename from `cfengine-actions'.
3908 (cfengine2-font-lock-keywords): Rename from
3909 `cfengine-font-lock-keywords'.
3910 (cfengine2-imenu-expression): Rename from
3911 `cfengine-imenu-expression'.
3912 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3913 (cfengine2-beginning-of-defun): Rename from
3914 `cfengine-beginning-of-defun'.
3915 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3916 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3917 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3918 modeline indicator to "CFE2".
3919 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3920 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3921
bc86f573
CY
39222011-12-21 Chong Yidong <cyd@gnu.org>
3923
3924 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3925 filename argument.
3926
d45ba96b
MR
39272011-12-20 Martin Rudalics <rudalics@gmx.at>
3928
3929 * window.el (window-normalize-buffer-to-display): Remove.
3930 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3931
a6198c90
CY
39322011-12-19 Chong Yidong <cyd@gnu.org>
3933
3934 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3935 Don't signal an error in a predicate function; return non-nil.
3936 (vc-dir-mark-file): Move the error here.
3937 (vc-dir-mark-unmark): If acting on the region, keep going if one
3938 of the entries cannot be marked/unmarked.
3939 (vc-dir-mark-all-files): If current entry is a directory, mark
3940 only child files, as documented.
3941
34c5fb55
VB
39422011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3943
3944 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3945 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3946 addition.
3947
c803b2b7
JD
39482011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3949
3950 * term/ns-win.el (ns-get-selection-internal)
3951 (ns-store-selection-internal): Declare.
1154d12e
JB
3952 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3953 Declare as obsolete.
3954 (ns-get-pasteboard, ns-paste-secondary):
3955 Use ns-get-selection-internal.
3956 (ns-set-pasteboard, ns-copy-including-secondary):
3957 Use ns-store-selection-internal.
c803b2b7 3958
9cff91f8 39592011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3960
3961 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3962 (vc-deduce-fileset): Doc fix.
99a289d9 3963
f16c898a
AS
39642011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3965
3966 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3967
763237c4
SS
39682011-12-13 Sam Steingold <sds@gnu.org>
3969
3970 * man.el (Man-getpage-in-background): When running under a
3971 window-system, ignore $MANWIDTH and $COLUMNS.
3972
5fc1c122
KH
39732011-12-15 Kenichi Handa <handa@m17n.org>
3974
3975 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3976 (setup-ethiopic-environment-internal): Comment out key-binding for
3977 ethio-toggle-punctuation.
3978
13d49cbb
AM
39792011-12-13 Alan Mackenzie <acm@muc.de>
3980
898169a2
AM
3981 Add the switch statement to AWK Mode.
3982
7a71b18d 3983 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3984 "default" to the keywords regexp.
3985
7a71b18d 3986 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3987 expression as the rest.
1d00653d
SM
3988 (c-nonlabel-token-key): Allow string literals for AWK.
3989 Refactor for the other modes.
898169a2 3990
13d49cbb 3991 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3992 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3993 routines. Limit backward searching in c-font-lock-enclosing.decl.
3994
3995 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3996 pp-state and literal type in addition to the limits.
1d00653d 3997 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3998 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3999 (c-slow-in-literal, c-fast-in-literal): Remove.
4000 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4001
4002 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4003 being in a literal. Add a limit for backward searching.
4004
4005 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4006 c-slow-in-literal.
4007
15e0efc7
SM
40082011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4011
454592a6
MR
40122011-12-13 Martin Rudalics <rudalics@gmx.at>
4013
4014 * window.el (delete-other-windows): Use correct frame in call to
4015 window-with-parameter.
4016
87393f26
DP
40172011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4018
4019 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4020 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4021 (makefile-gmake-statements, makefile-makepp-statements):
4022 Use it and add new makepp keywords.
4023 (makefile-makepp-font-lock-keywords): Add new patterns.
4024 (makefile-match-function-end): Match new [...] and [[...]].
4025
11636b22
JB
40262011-12-11 Juanma Barranquero <lekktu@gmail.com>
4027
4028 * ses.el (ses-call-printer-return, ses-cell-property-get)
4029 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4030 (ses-create-cell-variable, ses-reset-header-string)
4031 (ses-cell-set-formula, ses-repair-cell-reference-all)
4032 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4033 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4034 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4035 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4036 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4037 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4038 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4039 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4040 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4041 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4042 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4043 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4044
cf018193
VB
40452011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4046
4047 * ses.el: The overall change is to add cell renaming, that is
4048 setting fancy names for cell symbols other than name matching
4049 "\\`[A-Z]+[0-9]+\\'" regexp .
4050 (ses-create-cell-variable): New defun.
4051 (ses-relocate-formula): Relocate formulas only for cells the
4052 symbols of which are not renamed, i.e. symbols whose names do not
4053 match regexp "\\`[A-Z]+[0-9]+\\'".
4054 (ses-relocate-all): Relocate values only for cells the symbols of
4055 which are not renamed.
4056 (ses-load): Create cells variables as the (ses-cell ...) are read,
4057 in order to check row col consistency with cell symbol name only
4058 for cells that are not renamed.
4059 (ses-replace-name-in-formula): New defun.
4060 (ses-rename-cell): New defun.
4061
ee957461
CY
40622011-12-11 Chong Yidong <cyd@gnu.org>
4063
4064 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4065 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4066
9a9e9ef0
MR
40672011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4068
4069 * window.el (other-window): Fix docstring.
4070
92a8eba5
EZ
40712011-12-10 Eli Zaretskii <eliz@gnu.org>
4072
4073 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4074 `from' or `to' address before taking its substring.
4075 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4076 encoded name is chopped in the middle of the encoded string, and
4077 thus displayed encoded.
4078
e152e577
JB
40792011-12-10 Juanma Barranquero <lekktu@gmail.com>
4080
4081 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4082
e5d84bfe
EZ
40832011-12-10 Eli Zaretskii <eliz@gnu.org>
4084
4085 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4086 to use texinfo-update-node and commands that call it if the
4087 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4088 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4089 (texinfo-all-menus-update, texinfo-master-menu)
4090 (texinfo-update-node, texinfo-every-node-update)
4091 (texinfo-multiple-files-update): Doc fix. Warn against updating
4092 all the @node lines.
4093 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4094 argument is numeric. Explain better in the doc string what the
4095 function really does.
4096 (texinfo-insert-master-menu-list): Improve the error message
4097 displayed if there's no menu in the Top node.
4098 (Bug#2975) See also this thread:
e5d84bfe
EZ
4099 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4100
1d84e9bb
MG
41012011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4102
4103 * speedbar.el (speedbar-supported-extension-expressions):
4104 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4105
382c953b
JB
41062011-12-09 Juanma Barranquero <lekktu@gmail.com>
4107
4108 * printing.el (pr-mode-alist):
4109 * simple.el (filter-buffer-substring-functions)
4110 (completion-list-insert-choice-function):
4111 * window.el (window-with-parameter, window-atom-root)
4112 (window-sides-slots, window-size-fixed, window-min-delta)
4113 (window-max-delta, window--resize-mini-window)
4114 (window--resize-child-windows-normal, window-tree)
4115 (delete-other-windows, quit-window, split-window)
4116 (display-buffer-record-window, special-display-buffer-names)
4117 (special-display-regexps, special-display-popup-frame)
4118 (same-window-p, split-window-sensibly)
4119 (display-buffer-overriding-action, display-buffer-alist)
4120 (display-buffer-base-action, display-buffer, switch-to-buffer)
4121 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4122 (fit-window-to-buffer, recenter-positions)
4123 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4124 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4125 and remove unneeded backslashes in docstrings.
4126
39c9faef
SM
41272011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4128
98449af8
SM
4129 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4130
39c9faef
SM
4131 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4132 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4133 end in ".mk".
4134 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4135 when reading the makefile (bug#10116).
4136
86ed9fdc
SM
41372011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4140 (bug#10116).
4141
5580f89d
GM
41422011-12-06 Glenn Morris <rgm@gnu.org>
4143
4144 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4145
28d3917c
CY
41462011-12-06 Chong Yidong <cyd@gnu.org>
4147
4148 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4149
a98edce9
JB
41502011-12-06 Juanma Barranquero <lekktu@gmail.com>
4151
4152 * textmodes/table.el (table-shorten-cell): Fix typo.
4153
e65adfac
CG
41542011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4155
4156 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4157
71cc0b74
EZ
41582011-12-05 Eli Zaretskii <eliz@gnu.org>
4159
4160 * descr-text.el (describe-char): Fix display of strong
4161 right-to-left characters and directional embeddings and overrides.
4162
4163 * simple.el (what-cursor-position): Fix display of codepoints of
4164 strong right-to-left characters.
4165
315bc30d
CY
41662011-12-05 Chong Yidong <cyd@gnu.org>
4167
4168 * faces.el (read-color): Doc fix.
4169
58a70b94
GM
41702011-12-05 Glenn Morris <rgm@gnu.org>
4171
4172 * align.el (align--set-marker): Add doc-string.
4173 Don't try to move something that is not a marker. (Bug#10216)
4174
5158face
GM
41752011-12-04 Glenn Morris <rgm@gnu.org>
4176
4177 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4178 overly zealous deletion of trailing whitespace.
4179
520fca41
JB
41802011-12-04 Juanma Barranquero <lekktu@gmail.com>
4181
4182 * server.el (server-delete-client): On Windows, do not try to delete
4183 the only terminal.
4184 (server-process-filter): On Windows, treat requests for a tty frame as
4185 if they were for a GUI frame if the running server is in GUI mode.
4186
5e605a2e
GM
41872011-12-03 Glenn Morris <rgm@gnu.org>
4188
4189 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4190
5c3fe83f
SM
41912011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4192
6f5e57e7
SM
4193 * electric.el: Streamline electric-indent's hook.
4194 (electric-indent-chars): Revert to simple list.
4195 (electric-indent-functions): New var.
4196 (electric-indent-post-self-insert-function): Use it.
4197
5c3fe83f
SM
4198 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4199 there's no inferior buffer (bug#10196).
4200 (prolog-consult-compile): Don't use toggle-read-only.
4201
6bdac736
MA
42022011-12-02 Michael Albinus <michael.albinus@gmx.de>
4203
4204 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4205 interrupt. (Bug#10187)
4206
6131ba7f
SM
42072011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4208
99c79fee
SM
4209 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4210 (bug#9160).
4211
6131ba7f
SM
4212 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4213 (bug#10191).
4214
cb0a02ea
JL
42152011-12-02 Juri Linkov <juri@jurta.org>
4216
4217 * info.el (Info-search): Display "end of manual" when Isearch
4218 reaches the end of single-file Info manual. (Bug#9918)
4219
66e0570c
EZ
42202011-12-02 Eli Zaretskii <eliz@gnu.org>
4221
4222 * isearch.el (isearch-message-prefix): Run the input method part
4223 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4224
02b16839
JL
42252011-12-02 Juri Linkov <juri@jurta.org>
4226
4227 * isearch.el (isearch-occur): Use `word-search-regexp' for
4228 `isearch-word'.
4229 (isearch-search-and-update): Add condition for `isearch-word' and
4230 call `word-search-regexp'. (Bug#10145)
4231
0b950688
GM
42322011-12-01 Glenn Morris <rgm@gnu.org>
4233
4234 * eshell/em-hist.el (eshell-hist-initialize):
4235 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4236 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4237
9505c3c7
SM
42382011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4239
4240 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4241
1bbe96b2 42422011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4243
a1beca85
SM
4244 * progmodes/verilog-mode.el (verilog-pretty-expr):
4245 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4246 verilog, such as += *= and the like.
4247 (verilog-assignment-operator-re): Regular expression to find the
4248 assigment operator in a verilog assignment.
4249 (verilog-assignment-operation-re): Regular expression to find an
4250 assignment statement for pretty-expr.
4251 (verilog-in-attribute-p): Query returns true if point is in an
4252 attribute context; used to skip these for expression line up from
4253 pretty-expr.
4254 (verilog-in-parameter-p): Query returns true if point is in an
4255 parameter definition context; used to skip these for expression
4256 line up from pretty-expr.
4257 (verilog-in-parenthesis-p): Query returns true if point is in a
4258 parenthetical expression, specifically ( ) but not [ ] or { };
4259 used by pretty-expr.
4260 (verilog-just-one-space): If there is no space, don't add one.
4261 (verilog-get-lineup-indent-2): Specifically skip just attribute
4262 contexts for expression lineup, rather than skipping all
4263 parenthetical expressions.
4264 (verilog-calculate-indent): Fix comment, and fix indent.
4265 (verilog-do-indent): Indent declarations in lists (suggested by
4266 Joachim Lechner).
4267 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4268 skeleton items.
4269 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4270 by Alain Mellan).
4271
1bbe96b2 42722011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4273
4274 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4275 parameters with embedded comments. Reported by Ray Stevens.
4276 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4277 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4278 Reported by Tim Holt.
4279 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4280 instantiated by upper module causing wrong expansion until AUTOed a
4281 second time. Reported by K C Buckenmaier.
4282 (verilog-diff-auto): Fix showing .* as a difference when
4283 `verilog-auto-star-save' off. Reported by Dan Dever.
4284 (verilog-auto-reset, verilog-read-always-signals)
4285 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4286 temporary signals in reset list if
4287 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4288 style to each signal's assignment type, bug381.
4289 Reported by Thomas Esposito.
6288f0ca
WS
4290 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4291 (verilog-uvm-statement-re): Support UVM indentation and
4292 highlighting, with old OVM keywords only.
a1beca85 4293 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4294 Support AUTOTIEOFF creating non-wire data types.
4295 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4296 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4297 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4298 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4299 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4300 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4301 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4302 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4303 non-numeric vector width. Reported by Alex Reed.
4304 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4305 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4306 (verilog-auto-delete-trailing-whitespace):
4307 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4308 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4309 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4310 Fix verilog-scan-cache corruption when running user AUTO expansion
4311 hooks that call indentation routines.
4312 (verilog-simplify-range-expression): Fix typo ignoring lower case
4313 identifiers.
4314 (verilog-delete-auto): Fix delete-autos to also remove user created
4315 automatics, as long as they start with AUTO.
4316 (verilog-batch-diff-auto, verilog-diff-auto)
4317 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4318 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4319 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4320 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4321 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4322 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4323 is disabled and its cache will get corrupt, causing AUTOS not to
4324 expand. Instead use only -quick functions.
4325 (verilog-scan-region): Fix scanning over escaped quotes.
4326 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4327 (verilog-re-search-backward-quick)
4328 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4329 related functions now ignore strings, to fix misparsing of strings
4330 with magic comments embedded in them.
a1beca85
SM
4331 (verilog-read-auto-template):
4332 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4333 Reported by Brad Dobbie.
4334 (verilog-read-auto-template):
4335 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4336 Reported by Brad Dobbie.
6288f0ca
WS
4337 (verilog-auto-inst, verilog-auto-inst-param)
4338 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4339 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4340 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4341 debugging templates without merge conflicts, bug357.
4342 Reported by Brad Dobbie.
4343 (verilog-read-auto-template):
4344 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4345 Reported by Brad Dobbie.
4346 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4347 abbrevs so user won't be asked to save.
4348 (verilog-read-auto-lisp-present): Fix to start at beginning of
4349 buffer in case called outside of verilog-auto.
4350 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4351 to "X-2". Reported by Matthew Myers.
4352 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4353 all inputs from module templates. Reported by Leith Johnson.
4354 (verilog-module-inside-filename-p): Fix locating programs as with
4355 modules.
4356 (verilog-auto-inst-port): Fix vl-width expressions when using
4357 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4358 (verilog-decls-get-regs, verilog-decls-get-signals,
4359 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4360 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4361 verilog-read-decls): Combine reg and wire structures into one var
4362 structure to represent SystemVerilog concepts.
4363 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4364 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4365 (verilog-auto-wire-type, verilog-insert-definition):
4366 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4367 SystemVerilog "logic" keyword instead of "wire"/"reg".
4368 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4369 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4370 ifdef or generate if so there's not a driver conflict).
4371 Reported by Matthew Myers.
4372 (verilog-auto-declare-nettype, verilog-insert-definition):
4373 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4374 `default_nettype none. Reported by Julian Gorfajn.
4375 (verilog-read-always-signals-recurse, verilog-read-decls)
4376 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4377 malformed end statement, bug325. Reported by Joshua Wise and
4378 Andrew Drake.
4379 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4380 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4381 when expanding .* in interfaces, bug320.
4382 Reported by Pierre-David Pfister.
6288f0ca 4383 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4384 name and open parenthesis, bug317.
4385 Reported by Pierre-David Pfister.
6288f0ca
WS
4386 (verilog-simplify-range-expression): Fix simplification of
4387 multiplications inside AUTOWIRE connections, bug303.
4388 (verilog-auto-inst-port): Support parameter expansion in
4389 multidimensional arrays.
4390 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4391 after "assert property". Reported by Julian Gorfajn.
4392 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4393 with multiplication, bug303.
4394 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4395 Reported by Jan Frode Lonnum.
4396
1bbe96b2
GM
43972011-11-30 Juanma Barranquero <lekktu@gmail.com>
4398
4399 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4400 (hfy-shell-file-name, hfy-shell):
4401 * international/fontset.el (x-decompose-font-name): Fix typos.
4402
44032011-11-29 Ken Brown <kbrown@cornell.edu>
4404
4405 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4406 (gdb-version): Remove defvar.
4407 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4408 (gdb-gud-context-command, gdb-non-stop-handler)
4409 (gdb-current-context-command, gdb-stopped): Use it.
4410 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4411 (gdb-non-stop-handler): Don't enable pretty-printing here.
4412 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4413 non-stop mode. Use the following.
4414 (gdb-check-target-async): New defun.
4415 (gud-watch, gdb-stopped): Fix whitespace.
4416 (gdb-get-source-file): Don't try to display the source file if
4417 `gdb-main-file' is nil.
4418
44192011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * align.el: Try to generate fewer markers (bug#10047).
4422 (align--set-marker): New macro.
4423 (align-region): Use it.
4424
c935221f
SM
44252011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4426
4427 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4428
e70b5064
CY
44292011-11-29 Chong Yidong <cyd@gnu.org>
4430
4431 * indent.el (indent-for-tab-command, indent-according-to-mode):
4432 Doc fix.
4433 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4434
f3af92b7
MA
44352011-11-29 Michael Albinus <michael.albinus@gmx.de>
4436
4437 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4438 aware of remote file names. (Bug#10124)
4439
ed472be9
CY
44402011-11-29 Chong Yidong <cyd@gnu.org>
4441
4442 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4443
24510c22
SM
44442011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * files.el (find-file): Don't use force-same-window (bug#10144).
4447 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4448 use pop-to-buffer if the selected window can't be used.
4449 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4450
c60c3703
EZ
44512011-11-28 Eli Zaretskii <eliz@gnu.org>
4452
4453 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4454 special-mode-map.
4455
e95def75
CY
44562011-11-28 Chong Yidong <cyd@gnu.org>
4457
4458 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4459
c3f1c606
NR
44602011-11-27 Nick Roberts <nickrob@snap.net.nz>
4461
4462 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4463 gdb-get-source-file-list on gdb-create-source-file-list.
4464
00db469c
EZ
44652011-11-26 Eli Zaretskii <eliz@gnu.org>
4466
4467 * whitespace.el (whitespace-newline): Use a different foreground
4468 color for 16-color light-background displays.
4469
4ad3bc2a
CY
44702011-11-24 Chong Yidong <cyd@gnu.org>
4471
4472 * window.el (display-buffer--special-action): Doc fix.
4473
e9fce1ac
JB
44742011-11-25 Juanma Barranquero <lekktu@gmail.com>
4475
4476 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4477 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4478 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4479 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4480 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4481 (avl-tree-stack-first):
4482 * emacs-lisp/cconv.el (cconv--analyse-use):
4483 * net/gnutls.el (gnutls-negotiate): Fix typos.
4484
cb825e5d
GM
44852011-11-24 Glenn Morris <rgm@gnu.org>
4486
3adbe224
GM
4487 * lpr.el (lpr-windows-system, lpr-lp-system):
4488 * mail/binhex.el (binhex-begin-line):
4489 * progmodes/grep.el (grep-history, grep-find-history):
4490 * textmodes/flyspell.el:
4491 * vc/pcvs-defs.el (cvs-global-menu):
4492 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4493 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4494 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4495
321decc8
GM
4496 * net/tls.el: Fix case of "GnuTLS".
4497
420b63ad
GM
4498 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4499
cb825e5d
GM
4500 * version.el (emacs-build-system): Give it a doc-string.
4501
a0649f08
JL
45022011-11-24 Juri Linkov <juri@jurta.org>
4503
4504 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4505
c0bc0fd4
GM
45062011-11-24 Glenn Morris <rgm@gnu.org>
4507
4508 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4509 if called on a non-mime message just toggle the headers. (Bug#8006)
4510
20db1522
JB
45112011-11-24 Juanma Barranquero <lekktu@gmail.com>
4512
4513 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4514 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4515 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4516 (allout-rebullet-heading, allout-open-sibtopic)
4517 (allout-toggle-current-subtree-encryption)
4518 (allout-toggle-subtree-encryption, allout-encrypt-string)
4519 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4520 (allout-distinctive-bullets-string, allout-auto-activation):
4521 * window.el (window-normalize-buffer-to-display):
4522 * progmodes/verilog-mode.el (verilog-batch-indent):
4523 * textmodes/bibtex.el (bibtex-field-braces-opt)
4524 (bibtex-field-strings-opt):
4525 * vc/cvs-status.el (cvs-tree-merge):
4526 Fix typos.
4527
7262a87c
MA
45282011-11-23 Michael Albinus <michael.albinus@gmx.de>
4529
4530 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4531 `non-essential' to t, in order to avoid remote connections.
4532
283430a1
EZ
45332011-11-23 Eli Zaretskii <eliz@gnu.org>
4534
a1beca85
SM
4535 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4536 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4537 case-insensitively.
4538
d2992a38
ML
45392011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4540
4541 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4542
50419064
GM
45432011-11-23 Glenn Morris <rgm@gnu.org>
4544
da94eca1
GM
4545 * paths.el (rmail-file-name): Reformat the doc-string so that it
4546 is picked up.
4547
9aac4de2
GM
4548 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4549 (rmail-auto-file): Ignore case in the "special" field names,
4550 as mail-fetch-field does for all others.
4551
8038d2d2
GM
4552 * mail/rmail.el (rmail-forward):
4553 * mail/rmailkwd.el (rmail-set-label):
4554 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4555 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4556
f3fe222a
GM
4557 * mail/rmail.el (rmail-current-message): Doc fix.
4558
50419064
GM
4559 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4560
28109f49
SM
45612011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4564
394c65f1
GM
45652011-11-22 Glenn Morris <rgm@gnu.org>
4566
4567 * mail/rmailmm.el (test-rmail-mime-handler)
4568 (test-rmail-mime-bulk-handler)
4569 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4570
f2a0aa3a
JL
45712011-11-21 Juri Linkov <juri@jurta.org>
4572
1154d12e
JB
4573 * calc/calc.el (calc-read-key-sequence):
4574 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4575
9c34a344
LMI
45762011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4577
4578 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4579 Tell the caller that the next line needs recomputation, even
4580 though it doesn't start a sexp (bug#10094).
4581
f04a3be9
SM
45822011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4585
7978747f
SM
45862011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4587
f04a3be9
SM
4588 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4589 Use force-same-window.
7978747f 4590
fe7a3057
JB
45912011-11-20 Juanma Barranquero <lekktu@gmail.com>
4592
4593 * descr-text.el (describe-char-unicode-data):
4594 * json.el (json-string-escape):
4595 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4596 (Footnote-unicode, Footnote-style-p):
4597 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4598
24901d61
CY
45992011-11-20 Chong Yidong <cyd@gnu.org>
4600
4601 * window.el (replace-buffer-in-windows): Restore interactive spec.
4602
bac7ff22
SM
46032011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4604
24f3d7b9
SM
4605 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4606
bac7ff22
SM
4607 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4608 (byte-compile-global-not-obsolete-vars): New var.
4609 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4610 Use it.
4611 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4612
cd1181db
JB
46132011-11-20 Juanma Barranquero <lekktu@gmail.com>
4614
4615 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4616 * progmodes/pascal.el (electric-pascal-equal):
4617 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4618 * xml.el (xml-substitute-special): Fix typos.
4619
7fb18e9e
GM
46202011-11-20 Glenn Morris <rgm@gnu.org>
4621
4622 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4623 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4624 Doc fixes.
4625 (rmail-decode-mime-charset): Mark as obsolete.
4626
4627 * mail/rmailsum.el (rmail-message-regexp-p-1):
4628 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4629 Before using mime functions, check they are set. (Bug#10077)
4630
d5a6b3ba
JL
46312011-11-19 Juri Linkov <juri@jurta.org>
4632
4633 * info.el (Info-finder-find-node): Use `package--builtins' instead
4634 of `package-alist'. Use node names formed by the pattern "Keyword "
4635 and the keyword name.
4636
e981b61f
AS
46372011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4638
1d00653d 4639 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4640
3ffbc301
JL
46412011-11-19 Juri Linkov <juri@jurta.org>
4642
4643 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4644 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4645 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4646 `old-history', `old-history-forward'. Add let-binding
4647 `window-selected'. Remove calls to `kill-buffer',
4648 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4649 before calling `Info-find-node', so `Info-find-node-2' will reread
4650 the Info file. Restore window positions only when `window-selected'
4651 is non-nil.
4652
30c62133
JL
46532011-11-19 Juri Linkov <juri@jurta.org>
4654
4655 * isearch.el (isearch-lazy-highlight-new-loop):
4656 Remove condition `(not isearch-error)'. (Bug#9918)
4657
4658 * misearch.el (multi-isearch-search-fun): Add condition
4659 `(not bound)' to ignore lazy-highlighting search.
4660 Add the search-failed message "end of multi" when the end of
4661 multi-sequence is reached. Uncapitalize the search-failed
4662 message "Repeat for next buffer".
4663
4664 * info.el (Info-search): Add the search-failed message
4665 "end of the manual" when the end of the manual is reached
4666 in Isearch mode.
4667
645ca9cf
JL
46682011-11-19 Juri Linkov <juri@jurta.org>
4669
4670 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4671 Use non-destructive `remove' instead of `delete' because
4672 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4673 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4674
df754f66
JL
46752011-11-19 Juri Linkov <juri@jurta.org>
4676
4677 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4678 to nil instead of binding `search-ring' and `regexp-search-ring'.
4679 (Bug#9185)
4680
0e23d96a
EZ
46812011-11-19 Eli Zaretskii <eliz@gnu.org>
4682
4683 * simple.el (line-move): Force movement by logical lines for any
4684 hscrolled window, not only when auto-hscroll-mode is on.
4685 (line-move-visual): Update doc string to that effect. (Bug#10076)
4686
8a6ccb66
AS
46872011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4688
4689 * language/european.el (macintosh): Define as alias for mac-roman.
4690
49ae5b39
EZ
46912011-11-19 Eli Zaretskii <eliz@gnu.org>
4692
4693 * mail/rmailmm.el (rmail-mime-display-header)
4694 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4695 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4696 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4697 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4698 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4699 of a raw aref.
4700 (rmail-mime-entity-segment): To get past the tagline, move forward
4701 2 more lines, to account for the 2 empty lines that precede and
4702 follow the line with the buttons.
4703 (rmail-mime-update-tagline): Move one more line, to get past the
4704 empty line that follows the buttons in the tagline. (Bug#9520)
4705
c56cad4a
MR
47062011-11-19 Martin Rudalics <rudalics@gmx.at>
4707
4708 * window.el (window-max-delta-1, window-min-delta-1)
4709 (window-min-size-1, window-state-get-1, window-state-put-1)
4710 (window-state-put-2): Use "window--" prefix.
4711
cbe71af3
SM
47122011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4713
2ad52c60
SM
4714 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4715 (smie-warning-count): New var.
4716 (smie-set-prec2tab): Use it.
4717 (smie-bnf->prec2): Improve warnings. Add docstring.
4718 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4719 (smie-bnf--set-class): New function.
4720 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4721 corner case.
4722
6944dbc1
SM
4723 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4724 (compilation-error-properties, compilation-move-to-column):
4725 Handle compilation-first-column while in the target buffer.
4726
c400c4d7
SM
4727 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4728 Don't hardcode point-min==1.
4729
6dbe3e96
SM
4730 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4731 (eshell-rewrite-for-command): Remove workaround.
4732 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4733 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4734 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4735
cbe71af3
SM
4736 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4737
a8e1496d
GM
47382011-11-17 Glenn Morris <rgm@gnu.org>
4739
4740 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4741 Ignore buffer-local generated-autoload-file if it is the same
4742 as the global value. (Bug#10049)
4743
df85d315
JB
47442011-11-17 Juanma Barranquero <lekktu@gmail.com>
4745
4746 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4747 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4748 (reftex-toc-previous-heading, reftex-toc-max-level)
4749 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4750 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4751 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4752 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4753 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4754 (reftex-toc-rename-label, reftex-toc-visit-location)
4755 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4756 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4757 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4758 leaving "*toc*" only for references to the buffer.
4759
a0c2d0ae
MR
47602011-11-17 Martin Rudalics <rudalics@gmx.at>
4761
4762 * window.el (window-resize, delete-window, split-window):
4763 Replace window-splits by window-combination-resize.
1d00653d 4764 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4765
35c0bac8
GM
47662011-11-17 Glenn Morris <rgm@gnu.org>
4767
4768 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4769 Make bash entry derive from sh entry, not shell entry.
4770
d0c8fc8a
MA
47712011-11-16 Michael Albinus <michael.albinus@gmx.de>
4772
d0c8fc8a
MA
4773 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4774 properties of linked files. (Bug#9879)
4775
7262a87c
MA
4776 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4777 local file name.
4778
7877f373
JB
47792011-11-16 Juanma Barranquero <lekktu@gmail.com>
4780
4781 * menu-bar.el (menu-bar-file-menu):
4782 * printing.el (pr-ps-utility):
4783 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4784 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4785 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4786 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4787 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4788 (icalendar--convert-cyclic-to-ical)
4789 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4790 (icalendar--convert-ical-to-diary)
4791 (icalendar--convert-recurring-to-diary)
4792 (icalendar--convert-non-recurring-all-day-to-diary)
4793 (icalendar-import-format-sample):
4794 * progmodes/idlw-shell.el (idlwave-shell-mode):
4795 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4796 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4797 (vhdl-ps-print-init): Fix typos.
4798
10649b82
KM
47992011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4800
9d0cfcd6
GM
4801 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4802 FSF and collapse date sequence, obscure author/maintainer email address
4803 better, remove extra version line, track relocation of author's webpage.
10649b82 4804
9d0cfcd6
GM
4805 * progmodes/python.el (python-pdbtrack-input-prompt)
4806 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4807 regular python pdb prompts. Adjustments shamelessly taken exactly as
4808 suggested in EmacsWiki page (tiny change):
4809 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4810
58179cce
JB
48112011-11-16 Juanma Barranquero <lekktu@gmail.com>
4812
4813 * expand.el (expand-pos, expand-index, expand-point):
4814 Remove redundant info from docstring.
4815 (expand-add-abbrevs): Doc fix.
4816 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4817 (expand-sample-perl-mode-expand-list): Fix typos.
4818
4819 * net/dbus.el (dbus-event-member-name):
4820 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4821 * term/pc-win.el (msdos-create-frame-with-faces):
4822 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4823
b6f67890
MR
48242011-11-16 Martin Rudalics <rudalics@gmx.at>
4825
4826 * window.el (split-window, window-state-get-1)
4827 (window-state-put-1, window-state-put-2): Rename occurrences of
4828 window-nest to window-combination-limit.
1d00653d 4829 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4830
ce7ddba0
CY
48312011-11-16 Chong Yidong <cyd@gnu.org>
4832
4833 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4834 regexp (Bug#10033).
4835
3ae704f4
SM
48362011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4839 `completing-read' will remove *Completions* and will preserve
4840 current-buffer for us.
4841 (tmm-add-prompt): Users of *Completions* will always (re)set its
4842 major mode.
4843 (tmm-old-comp-map): Remove.
4844
6ad1cdde
GM
48452011-11-16 Glenn Morris <rgm@gnu.org>
4846
4847 * mail/rmailedit.el: Require rmailmm when compiling.
4848 (rmail-old-mime-state): New declaration.
4849 (rmail-edit-current-message): If editing a mime message,
4850 edit the "raw" message from the mbox buffer.
4851 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4852
d20faa20
GM
48532011-11-15 Glenn Morris <rgm@gnu.org>
4854
4855 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4856 which wasn't being used. Add optional arg to force given state.
4857 (rmail-mime): Add optional arg to force given state.
4858
c7015153
JB
48592011-11-15 Juanma Barranquero <lekktu@gmail.com>
4860
4861 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4862 * frame.el (display-mm-dimensions-alist):
4863 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4864 (outline-move-subtree-down):
4865 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4866 (newsticker--treeview-do-get-node):
4867 * net/quickurl.el (quickurl-list-buffer-name):
4868 * progmodes/dcl-mode.el (dcl-mode):
4869 * progmodes/gdb-mi.el (gdb-mapcar*):
4870 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4871
45261b50
GM
48722011-11-15 Glenn Morris <rgm@gnu.org>
4873
4874 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4875 in a boolean sense, so just make it a boolean, and fix the doc.
4876 (rmail-show-mime-function, rmail-mime-feature)
4877 (rmail-require-mime-maybe): Doc fixes.
4878 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4879
4880 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4881
0d26e0b6
JB
48822011-11-15 Juanma Barranquero <lekktu@gmail.com>
4883
4884 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4885 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4886 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4887 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4888
447f30f6
GM
48892011-11-15 Glenn Morris <rgm@gnu.org>
4890
672b871d
GM
4891 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4892 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4893 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4894 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4895 (rmail-mime, rmail-show-mime): Doc fixes.
4896
f6aa5bb1
GM
4897 * term/ns-win.el (mode-line-frame-identification):
4898 Leave it alone. (Bug#10051)
4899
947cd66b
GM
4900 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4901
447f30f6
GM
4902 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4903 Handle empty buffers. (Bug#9978)
4904
0b381c7e
JB
49052011-11-14 Juanma Barranquero <lekktu@gmail.com>
4906
4907 * international/mule.el (define-charset):
4908 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4909 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4910 * progmodes/verilog-mode.el (verilog-backward-token):
4911 * textmodes/ispell.el (lookup-words):
4912 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4913
71e027ac
GM
49142011-11-14 Glenn Morris <rgm@gnu.org>
4915
56632ce4
GM
4916 * progmodes/executable.el
4917 (executable-make-buffer-file-executable-if-script-p):
4918 Handle file-modes returning nil.
4919
40500957
GM
4920 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4921 message - not necessary, and causes problems. (Bug#9831)
4922
071c2340
GM
4923 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4924
d3cfca60
GM
4925 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4926
71e027ac
GM
4927 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4928 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4929 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4930
89d61221
MR
49312011-11-12 Martin Rudalics <rudalics@gmx.at>
4932
4933 * window.el (window-resize, delete-window): Use window-splits
4934 variable instead of function.
4935 (window-state-get-1, window-state-put-2, window-state-put):
4936 Don't deal with windows' splits status.
4937
98282f6f
GM
49382011-11-12 Glenn Morris <rgm@gnu.org>
4939
4940 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4941 (apropos-documentation): Doc fixes.
4942
40a8bdf6
JB
49432011-11-11 Juanma Barranquero <lekktu@gmail.com>
4944
4945 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4946 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4947
65bd19ff
SM
49482011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * electric.el (electric-indent-post-self-insert-function): Make it
4951 possible for a char to only indent in some circumstances.
4952 (electric-indent-mode): Simplify.
4953
54f9154c
MR
49542011-11-11 Martin Rudalics <rudalics@gmx.at>
4955
4956 * window.el (windows-with-parameter): Remove unused function.
4957 (windows-at-side): Rename to window-at-side-list.
4958 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4959 (window-side-check, window-size-ignore, window-size-fixed-1)
4960 (window-in-direction-2): Prefix with "window--".
4961 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4962
68cbc58b
GM
49632011-11-11 Glenn Morris <rgm@gnu.org>
4964
4965 * subr.el (eval-after-load): If FILE is already loaded,
4966 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4967
b2621720
GM
49682011-11-10 Glenn Morris <rgm@gnu.org>
4969
9a4de110
GM
4970 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4971 Call svn via vc-svn-command rather than vc-do-command.
4972 (vc-svn-command): Add --non-interactive. (Bug#9993)
4973 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4974
b2621720
GM
4975 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4976 Add toggle-read-only. (Bug#7292)
4977 * files.el (toggle-read-only): Mention that it should only
4978 be used interactively. (Bug#10006)
4979
1dce7193
SM
49802011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4981
d9ac1a1e
SM
4982 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4983 Adjust regexp for OCaml warnings.
4984
0c325082
SM
4985 * electric.el (electric-pair-post-self-insert-function): Let user
4986 turn it off buffer-locally (bug#9932).
4987
90132c14
SM
4988 * progmodes/python.el (python-beginning-of-statement):
4989 Rewrite (bug#2703).
4990
1dce7193
SM
4991 * progmodes/compile.el: Better handle TABs (bug#9749).
4992 (compilation-internal-error-properties)
4993 (compilation-next-error-function): Obey the target buffer's
4994 compilation-error-screen-columns.
4995
c4e7c63a
JB
49962011-11-09 Juanma Barranquero <lekktu@gmail.com>
4997
4998 * progmodes/meta-mode.el: Remove obsolete comments.
4999 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5000 Fix typos in docstrings.
5001
2cffd681
MR
50022011-11-09 Martin Rudalics <rudalics@gmx.at>
5003
5004 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5005 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5006 (window--resizable): New function. Make all callers of
5007 window-resizable call window--resizable instead.
5008 (window-resizable): Rewrite in terms of window--resizable.
5009
0edcba87
GM
50102011-11-08 Glenn Morris <rgm@gnu.org>
5011
5012 * progmodes/delphi.el (delphi-mode-syntax-table):
5013 Let define-derived-mode define a proper syntax table. (Bug#9994)
5014
4b0d61e3
SM
50152011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5016
5017 * window.el: Stay away from defsubst.
5018 (window-list-no-nils): Remove.
5019 (window-state-get-1, window-state-get): Use backquote instead.
5020
cd394be1 50212011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5022
4b0d61e3 5023 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5024 Fix incorrect use of default argument in `completing-read'.
5025
e1c2c6f2
MR
50262011-11-08 Martin Rudalics <rudalics@gmx.at>
5027
5028 * window.el (display-buffer-function, special-display-function):
5029 Mention display-buffer-record-window but do not mention
5030 help-setup parameter in doc-strings.
b3f4a882 5031 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5032
105216ed
CY
50332011-11-08 Chong Yidong <cyd@gnu.org>
5034
5035 * window.el (window-total-height, window-total-width): Doc fix.
5036 (window-body-size): Move from C.
5037 (window-body-height, window-body-width): Move to C.
5038
0a9f9ab5
SM
50392011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5040
5041 * window.el: Make special-display like display-buffer-alist (bug#9532).
5042 (display-buffer--special-action): New function, morphed
5043 from display-buffer--special.
5044 (display-buffer): Use it to handle special-display-buffers at higher
5045 priority (just after display-buffer-alist).
5046 (display-buffer-fallback-action, display-buffer--other-frame-action)
5047 (pop-to-buffer-same-window): Remove display-buffer--special.
5048
a769dd15
GM
50492011-11-07 Glenn Morris <rgm@gnu.org>
5050
5051 * calendar/cal-menu.el (cal-menu-set-date-title):
5052 Do nothing if not in a calendar. (Bug#9976)
5053
05a61ee3
SM
50542011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * files.el (find-file): Always use selected-window.
5057
be7f5545
MR
50582011-11-07 Martin Rudalics <rudalics@gmx.at>
5059
5060 * window.el (window-combinations): Make WINDOW argument
5061 mandatory. Rewrite doc-string.
5062 (walk-window-subtree, window-atom-check, window-min-delta)
5063 (window-max-delta, window--resize-this-window)
5064 (window--resize-root-window-vertically, window-tree)
5065 (balance-windows, window-state-put): Rewrite doc-strings as to
5066 not mention the term "subwindow".
5067 (window--resize-subwindows-skip-p): Rename to
5068 window--resize-child-windows-skip-p.
5069 (window--resize-subwindows-normal): Rename to
5070 window--resize-child-windows-normal.
5071 (window--resize-subwindows): Rename to
5072 window--resize-child-windows.
5073 (window-or-subwindow-p): Rename to window--in-subtree-p.
5074
3c6702ef
ML
50752011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5076
5077 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5078 Ensure that mbox format messages end in two newlines (Bug#9974).
5079
49745b39
CY
50802011-11-06 Chong Yidong <cyd@gnu.org>
5081
5082 * window.el (window-combination-p): Function deleted; its
5083 side-effect is not used in any existing code.
5084 (window-combinations, window-combined-p): Call window-*-child
5085 directly.
5086
24300f5f
CY
50872011-11-05 Chong Yidong <cyd@gnu.org>
5088
5089 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5090 (window-size-ignore, window-state-get): Callers changed.
5091 (window-normalize-window): Rename from window-normalize-any-window.
5092 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5093 (window-normalize-live-window): Delete.
447f16b8
CY
5094 (window-combination-p, window-combined-p, window-combinations)
5095 (walk-window-subtree, window-atom-root, window-min-size)
5096 (window-sizable, window-sizable-p, window-size-fixed-p)
5097 (window-min-delta, window-max-delta, window-resizable)
5098 (window-resizable-p, window-full-height-p, window-full-width-p)
5099 (window-current-scroll-bars, window-point-1, set-window-point-1)
5100 (window-at-side-p, window-in-direction, window-resize)
5101 (adjust-window-trailing-edge, maximize-window, minimize-window)
5102 (window-deletable-p, delete-window, delete-other-windows)
5103 (record-window-buffer, unrecord-window-buffer)
5104 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5105 (quit-window, split-window, window-state-put)
5106 (set-window-text-height, fit-window-to-buffer)
5107 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5108
89bd5ee1
EZ
51092011-11-04 Eli Zaretskii <eliz@gnu.org>
5110
53479029
EZ
5111 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5112 rfc2047-decode-string.
5113 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5114 warnings.
5115
89bd5ee1
EZ
5116 * window.el (window-body-height, window-body-width): Mention in
5117 the doc string that the return values are in frame's canonical
5118 units. (Bug#9949)
5119
bd17fdee
AM
51202011-11-03 Alan Mackenzie <acm@muc.de>
5121
5122 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5123 change in cc-engine.el.
5124
acc825c5
SM
51252011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5128
1885e5b8
MR
51292011-11-02 Martin Rudalics <rudalics@gmx.at>
5130
5131 * window.el (quit-window): Call unrecord-window-buffer after
5132 showing another buffer in the window. (Bug#9937)
acc825c5 5133 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5134
ebe06da9
JB
51352011-11-02 Juanma Barranquero <lekktu@gmail.com>
5136
5137 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5138 Accept status with more than 9 shelves. (Bug#9935)
5139 Reported by Colin D Bennett <colin@gibibit.com>.
5140
4ee88440
MR
51412011-11-01 Martin Rudalics <rudalics@gmx.at>
5142
5143 * help.el (with-help-window): Don't reference
5144 temp-buffer-show-specifiers in doc-string.
5145
08e1d82c
AS
51462011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5147
5148 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5149 menu-item.
5150
84bd6e9e
VJL
51512011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5152
5153 * whitespace.el: New version 13.2.2.
5154 (whitespace-newline-mode): Disable properly. Reported by Sarah
5155 <EmacsWiki>.
5156
dba0634a
UJ
51572011-10-30 Ulf Jasper <ulf.jasper@web.de>
5158
5159 * net/newst-treeview.el: Remove "Time-stamp".
5160 (newsticker--group-manage-orphan-feeds): Do not call
5161 newsticker--treeview-tree-update.
db22a3c2
JB
5162 (newsticker-treeview-update, newsticker-treeview):
5163 Call newsticker--treeview-tree-update if necessary.
dba0634a 5164
3d8daefe
MR
51652011-10-30 Martin Rudalics <rudalics@gmx.at>
5166
5167 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5168 (window-iso-combinations): Remove "iso-" infix.
5169 Suggested by Chong Yidong.
3d8daefe
MR
5170 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5171 (window-max-delta-1, window-resize, window--resize-siblings)
5172 (window--resize-this-window, adjust-window-trailing-edge)
5173 (split-window, balance-windows-1)
5174 (shrink-window-if-larger-than-buffer):
5175 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5176 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5177
1bc4c3ae
SM
51782011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5181 in place (bug#9907).
5182 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5183 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5184 (eshell-structure-basic-command, eshell-rewrite-while-command)
5185 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5186 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5187 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5188 (eshell-do-pipelines-synchronously, eshell-eval-command):
5189 Use backquotes and prefer setq to set.
5190 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5191 (eshell-macrop): Use functionp.
c1e2f5fa 5192 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5193
30b65d9c
CY
51942011-10-30 Chong Yidong <cyd@gnu.org>
5195
5196 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5197 instead of set-mark (Bug#9810).
5198
2d197ffb
CY
51992011-10-30 Chong Yidong <cyd@gnu.org>
5200
5201 * window.el (split-window-below, split-window-right): Rename from
5202 split-window-above-each-other and split-window-side-by-side
5203 respectively. All callers changed.
5204 (split-window-sensibly, split-window-sensibly): Use them.
5205 (split-window-keep-point): Doc fix.
5206
5207 * isearch.el: Add isearch-scroll property to split-window-below
5208 and split-window-right.
5209
5210 * follow.el (follow-mode):
5211 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5212 * progmodes/ada-xref.el (ada-gdb-application):
5213 * emulation/vip.el (vip-buffer-in-two-windows):
5214 * image-dired.el (image-dired-dired-with-window-configuration):
5215 * dired-x.el (dired-do-find-marked-files):
5216 * dired.el (dired-pop-to-buffer):
5217 * bs.el (bs--show-with-configuration):
5218 * vc/emerge.el (emerge-setup-windows):
5219 * textmodes/two-column.el (2C-two-columns):
5220 * textmodes/reftex-toc.el (reftex-toc):
5221 * progmodes/gdb-mi.el (gdb-setup-windows):
5222 * progmodes/fortran.el (fortran-window-create):
5223 * net/newst-treeview.el (newsticker--treeview-window-init):
5224 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5225 * emulation/tpu-edt.el (tpu-gold-map):
5226 * emulation/crisp.el (crisp-mode-map):
5227 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5228
38bb2ca8
CY
52292011-10-29 Chong Yidong <cyd@gnu.org>
5230
aa4de341
CY
5231 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5232
e1eb5385
CY
5233 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5234
5d2ece3c
CY
5235 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5236 forged Ispell output (Bug#7904).
5237
38bb2ca8
CY
5238 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5239
d0af9f77
SM
52402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * doc-view.el: Avoid ugly errors about not finding nil.
5243 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5244 (doc-view-dvipdf-program, doc-view-unoconv-program)
5245 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5246 Avoid nil or absolute file name as default value.
5247 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5248
52bedd34
AM
52492011-10-28 Alan Mackenzie <acm@muc.de>
5250
db22a3c2 5251 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5252
7e43cfa5
AM
52532011-10-28 Alan Mackenzie <acm@muc.de>
5254
5255 Amend the handling of c-beginning/end-of-defun in nested declaration
5256 scopes.
5257
52bedd34
AM
5258 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5259 cc-langs.el. Change it to a defcustom.
7e43cfa5 5260
52bedd34
AM
5261 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5262 cc-vars.el.
7e43cfa5 5263
d0af9f77
SM
5264 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5265 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5266
52bedd34 5267 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5268 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5269 (c-widen-to-enclosing-decl-scope): New function.
5270 (c-while-widening-to-decl-block): New macro.
5271 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5272 outward for defun boundaries, and correspondingly change symbol
5273 `respect-enclosure' to `go-outward'.
5274 (c-declaration-limits): Change algorithm to report only the "innermost"
5275 defun's boundaries.
5276
1a2ce9ee
DD
52772011-10-28 Deniz Dogan <deniz@dogan.se>
5278
5279 * net/rcirc.el (rcirc-mode): Use hard newlines.
5280
bc97a826
AM
52812011-10-28 Alan Mackenzie <acm@muc.de>
5282
5283 Amend to indent and fontify macros "which include their own semicolon"
5284 correctly, using the "virtual semicolon" mechanism.
5285
52bedd34 5286 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5287
d0af9f77 5288 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5289 Recode to scan one line at a time rather than having \n and \r
58179cce 5290 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5291 (c-forward-label): Amend for virtual semicolons.
58179cce 5292 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5293
52bedd34
AM
5294 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5295 of the new C macros.
bc97a826 5296
52bedd34 5297 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5298 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5299 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5300 (c-opt-cpp-macro-define): Make into a full language variable.
5301 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5302 AWK Mode (including \n, \r) removed, no longer needed.
5303
d0af9f77
SM
5304 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5305 Invoke c-make-macro-with-semi-re.
bc97a826 5306
52bedd34
AM
5307 * progmodes/cc-vars.el (c-macro-with-semi-re):
5308 (c-macro-names-with-semicolon): New variables.
58179cce 5309 (c-make-macro-with-semi-re): New function.
bc97a826 5310
7a6c0941
SM
53112011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5312
5313 * vc/log-edit.el: Fill empty field rather than adding new one.
5314 (log-edit-add-field): New function.
5315 (log-edit-insert-changelog): Use it.
5316
b0c4cdcf
ML
53172011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5318
5319 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5320
ee1f1da9
SM
53212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5324 (gdb--check-interpreter): New function.
5325 (gdb): Use it.
5326
51bc5f8b
GM
53272011-10-27 Glenn Morris <rgm@gnu.org>
5328
416a2c45
GM
5329 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5330 (least-positive-float, least-negative-float)
5331 (least-positive-normalized-float, least-negative-normalized-float)
5332 (float-epsilon, float-negative-epsilon):
5333 Remove unnecessary declarations.
5334
5335 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5336 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5337 (least-positive-float, least-negative-float)
5338 (least-positive-normalized-float, least-negative-normalized-float)
5339 (float-epsilon, float-negative-epsilon): Add doc-strings,
5340 based on those in cl.texi.
5341
51bc5f8b
GM
5342 * files.el (set-visited-file-name): If the major-mode changed,
5343 reload the local variables. (Bug#9796)
5344
15de15c6
CY
53452011-10-27 Chong Yidong <cyd@gnu.org>
5346
5347 * subr.el (change-major-mode-after-body-hook): New hook.
5348 (run-mode-hooks): Run it.
5349
ee1f1da9
SM
5350 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5351 Use change-major-mode-before-body-hook.
15de15c6
CY
5352
5353 * simple.el (fundamental-mode):
5354 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5355 change introducing fundamental-mode-hook.
5356
5430d399
JB
53572011-10-26 Juanma Barranquero <lekktu@gmail.com>
5358
acc825c5 5359 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5360
ad74a69e
MA
53612011-10-26 Michael Albinus <michael.albinus@gmx.de>
5362
5363 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5364 tramp.el explicitly. (Bug#7583)
ad74a69e 5365
71d4c2a5
SM
53662011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * progmodes/octave-mod.el:
5369 * progmodes/octave-inf.el: Update maintainer.
5370
b1f6fa26
CY
53712011-10-26 Chong Yidong <cyd@gnu.org>
5372
5373 * subr.el (with-wrapper-hook): Rewrite doc.
5374
3f04efd6
MA
53752011-10-25 Michael Albinus <michael.albinus@gmx.de>
5376
5377 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5378 filenames "/method:foo:". (Bug#9793)
3f04efd6 5379
410488d3
SM
53802011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5383 (bug#9865).
5384
c1ebb47e
GM
53852011-10-24 Glenn Morris <rgm@gnu.org>
5386
5387 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5388
7f5c46c7
MA
53892011-10-24 Michael Albinus <michael.albinus@gmx.de>
5390
5391 * notifications.el: Add the requirement of a running D-Bus session
5392 bus to the Commentary.
5393
db2440b6
JL
53942011-10-24 Juri Linkov <juri@jurta.org>
5395
5396 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5397 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5398 (Bug#9364)
5399
feecf435
JL
54002011-10-24 Juri Linkov <juri@jurta.org>
5401
5402 * info.el (Info-following-node-name-re): Add newline to the list
5403 of allowed characters for leading space. (Bug#9824)
5404
a3839de2
SM
54052011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5406
acc825c5
SM
5407 * progmodes/octave-inf.el (inferior-octave-mode-map):
5408 Fix C-c C-h binding.
a3839de2
SM
5409 * progmodes/octave-mod.el (octave-help): Remove.
5410
09388e76
MA
54112011-10-23 Michael Albinus <michael.albinus@gmx.de>
5412
5413 Sync with Tramp 2.2.3.
5414
5415 * net/tramp-cache.el (top): Pacify byte-compiler using
5416 `init-file-user' and `site-run-file'.
5417
5418 * net/trampver.el: Update release number.
5419
86c60681
CY
54202011-10-23 Chong Yidong <cyd@gnu.org>
5421
5422 * files.el (toggle-read-only): Remove obsolete comment about
5423 version control.
5424
5425 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5426 for toggle-read-only. Note that this hasn't called vc-next-action
5427 since 2008-05-02, though it wasn't documented at the time.
5428
a3839de2
SM
5429 * vc/ediff-init.el (ediff-toggle-read-only-function):
5430 Use toggle-read-only.
86c60681 5431
cd5495ff
AM
54322011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5433
5434 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5435 of c-parse-state.
5436
00b77525 5437 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5438 correct faulty logical expression.
cd5495ff
AM
5439 (c-parse-state-state, c-record-parse-state-state):
5440 (c-replay-parse-state-state): New defvar/defuns.
5441 (c-debug-parse-state): Use new functions.
5442
42ee24ed
MR
54432011-10-22 Martin Rudalics <rudalics@gmx.at>
5444
5445 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5446 last fix. Use window-in-direction correctly.
42ee24ed 5447
a7dee7e7
CY
54482011-10-21 Chong Yidong <cyd@gnu.org>
5449
5450 * progmodes/idlwave.el (idlwave-mode):
5451 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5452 require-final-newline; that's done in prog-mode.
5453 Suggested by Stefan Monnier.
a7dee7e7 5454
e07b9a6d
MR
54552011-10-21 Martin Rudalics <rudalics@gmx.at>
5456
5457 * mouse.el (mouse-drag-window-above)
5458 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5459 (mouse-drag-mode-line-1, mouse-drag-header-line)
5460 (mouse-drag-vertical-line-rightward-window): Remove.
5461 (mouse-drag-line): New function.
5462 (mouse-drag-mode-line, mouse-drag-header-line)
5463 (mouse-drag-vertical-line): Call mouse-drag-line.
5464 * window.el (window-at-side-p, windows-at-side): New functions.
5465
7e1361d9
UM
54662011-10-21 Ulrich Mueller <ulm@gentoo.org>
5467
5468 * tar-mode.el (tar-grind-file-mode):
5469 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5470
30fcaf3a
CY
54712011-10-21 Chong Yidong <cyd@gnu.org>
5472
5473 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5474 * progmodes/vera-mode.el (vera-mode):
5475 Use mode-require-final-newline.
30fcaf3a 5476
516eddb0
GM
54772011-10-20 Glenn Morris <rgm@gnu.org>
5478
db22a3c2 5479 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5480
10d5f513
CS
54812011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5482
5483 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5484
ac6c8639
CY
54852011-10-20 Chong Yidong <cyd@gnu.org>
5486
5487 * emulation/cua-base.el (cua-mode):
5488 * mail/footnote.el (footnote-mode):
5489 * mail/mailabbrev.el (mail-abbrevs-mode):
5490 * net/xesam.el (xesam-minor-mode):
5491 * progmodes/bug-reference.el (bug-reference-mode):
5492 * progmodes/cap-words.el (capitalized-words-mode):
5493 * progmodes/compile.el (compilation-minor-mode)
5494 (compilation-shell-minor-mode):
5495 * progmodes/gud.el (gud-tooltip-mode):
5496 * progmodes/hideif.el (hide-ifdef-mode):
5497 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5498 * progmodes/subword.el (subword-mode):
5499 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5500 * progmodes/which-func.el (which-function-mode):
5501 * term/tvi970.el (tvi970-set-keypad-mode):
5502 * term/vt100.el (vt100-wide-mode):
5503 * textmodes/flyspell.el (flyspell-mode):
5504 * textmodes/ispell.el (ispell-minor-mode):
5505 * textmodes/nroff-mode.el (nroff-electric-mode):
5506 * textmodes/paragraphs.el (use-hard-newlines):
5507 * textmodes/refill.el (refill-mode):
5508 * textmodes/reftex.el (reftex-mode):
5509 * textmodes/rst.el (rst-minor-mode):
5510 * textmodes/sgml-mode.el (html-autoview-mode)
5511 (sgml-electric-tag-pair-mode):
5512 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5513 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5514 * emulation/crisp.el (crisp-mode):
5515 * emacs-lisp/eldoc.el (eldoc-mode):
5516 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5517 minor mode behavior.
5518
aa42ab43
JL
55192011-10-19 Juri Linkov <juri@jurta.org>
5520
5521 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5522 the list of hard-coded chars with escape-glyph face.
5523
89400f1d
SM
55242011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5527
305c07f6
MA
55282011-10-19 Michael Albinus <michael.albinus@gmx.de>
5529
5530 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5531 running process.
5532
13754b54
GM
55332011-10-19 Glenn Morris <rgm@gnu.org>
5534
5535 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5536 Ignore ignored files. (Bug#9726)
5537
06e21633
CY
55382011-10-19 Chong Yidong <cyd@gnu.org>
5539
5540 Doc fix for minor modes, stating that an omitted argument enables
5541 the mode unconditionally when called from Lisp.
5542
5543 * abbrev.el (abbrev-mode):
5544 * allout.el (allout-mode):
5545 * autoinsert.el (auto-insert-mode):
5546 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5547 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5548 (global-auto-revert-mode):
5549 * battery.el (display-battery-mode):
5550 * composite.el (global-auto-composition-mode)
5551 (auto-composition-mode):
5552 * delsel.el (delete-selection-mode):
5553 * desktop.el (desktop-save-mode):
5554 * dired-x.el (dired-omit-mode):
5555 * dirtrack.el (dirtrack-mode):
5556 * doc-view.el (doc-view-minor-mode):
5557 * double.el (double-mode):
5558 * electric.el (electric-indent-mode, electric-pair-mode):
5559 * emacs-lock.el (emacs-lock-mode):
5560 * epa-hook.el (auto-encryption-mode):
5561 * follow.el (follow-mode):
5562 * font-core.el (font-lock-mode):
5563 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5564 * help.el (temp-buffer-resize-mode):
5565 * hilit-chg.el (highlight-changes-mode)
5566 (highlight-changes-visible-mode):
5567 * hi-lock.el (hi-lock-mode):
5568 * hl-line.el (hl-line-mode, global-hl-line-mode):
5569 * icomplete.el (icomplete-mode):
5570 * ido.el (ido-everywhere):
5571 * image-file.el (auto-image-file-mode):
5572 * image-mode.el (image-minor-mode):
5573 * iswitchb.el (iswitchb-mode):
5574 * jka-cmpr-hook.el (auto-compression-mode):
5575 * linum.el (linum-mode):
5576 * longlines.el (longlines-mode):
5577 * master.el (master-mode):
5578 * mb-depth.el (minibuffer-depth-indicate-mode):
5579 * menu-bar.el (menu-bar-mode):
5580 * minibuf-eldef.el (minibuffer-electric-default-mode):
5581 * mouse-sel.el (mouse-sel-mode):
5582 * msb.el (msb-mode):
5583 * mwheel.el (mouse-wheel-mode):
5584 * outline.el (outline-minor-mode):
5585 * paren.el (show-paren-mode):
5586 * recentf.el (recentf-mode):
5587 * reveal.el (reveal-mode, global-reveal-mode):
5588 * rfn-eshadow.el (file-name-shadow-mode):
5589 * ruler-mode.el (ruler-mode):
5590 * savehist.el (savehist-mode):
5591 * scroll-all.el (scroll-all-mode):
5592 * scroll-bar.el (scroll-bar-mode):
5593 * server.el (server-mode):
5594 * shell.el (shell-dirtrack-mode):
5595 * simple.el (auto-fill-mode, transient-mark-mode)
5596 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5597 (line-number-mode, column-number-mode, size-indication-mode)
5598 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5599 * strokes.el (strokes-mode):
5600 * time.el (display-time-mode):
5601 * t-mouse.el (gpm-mouse-mode):
5602 * tool-bar.el (tool-bar-mode):
5603 * tooltip.el (tooltip-mode):
5604 * type-break.el (type-break-mode-line-message-mode)
5605 (type-break-query-mode):
5606 * view.el (view-mode):
5607 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5608 (global-whitespace-mode, global-whitespace-newline-mode):
5609 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5610
a3839de2
SM
5611 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5612 Fix autogenerated docstring.
06e21633 5613
5214e501
JL
56142011-10-19 Juri Linkov <juri@jurta.org>
5615
5616 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5617 by checking environment variables "DESKTOP_SESSION" and
5618 "XDG_CURRENT_DESKTOP". (Bug#9779)
5619
195f8db9
JL
56202011-10-19 Juri Linkov <juri@jurta.org>
5621
5622 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5623 (browse-url-chromium-program, browse-url-chromium-arguments):
5624 New defcustoms.
5625 (browse-url-default-browser): Check for `browse-url-chromium' and
5626 call `browse-url-chromium-program'.
5627 (browse-url-chromium): New command. (Bug#9779)
5628
343a34ff
JB
56292011-10-18 Juanma Barranquero <lekktu@gmail.com>
5630
5631 * facemenu.el (list-colors-duplicates): On Windows, detect more
5632 duplicates by assuming that only colors matching "^System" are
5633 special "system colors". (Bug#9722)
5634
6978a151
SM
56352011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5638 to distinguish the author from the committer.
5639
6a80b297
MA
56402011-10-18 Michael Albinus <michael.albinus@gmx.de>
5641
5642 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5643
b31a5677
JK
56442011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5645
5646 * international/mule.el (sgml-html-meta-auto-coding-function):
5647 Add support for detecting encoding in HTML5 specified only as
5648 <meta charset="UTF-8">. Implementation just makes http-equiv and
5649 content-type parts from HTML4 encoding string optional. (Bug#9716)
5650
80c6d77f
GM
56512011-10-18 Glenn Morris <rgm@gnu.org>
5652
5653 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5654
08b0fee8
CY
56552011-10-18 Chong Yidong <cyd@gnu.org>
5656
5657 * faces.el (cursor): Doc fix.
5658
67e729a5
CY
56592011-10-17 Chong Yidong <cyd@gnu.org>
5660
5661 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5662
343a34ff 56632011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5664
5665 * dirtrack.el (dirtrack): Support shell buffers with path
5666 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5667
0bc06380
TZ
56682011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5669
5670 * json.el: Bump version to 1.3 and note change in History.
5671 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5672
8b79f3e0
SM
56732011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5a7c536b
SM
5675 * comint.el (comint-insert-input, comint-send-input)
5676 (comint-get-old-input-default, comint-backward-matching-input)
5677 (comint-next-prompt): Use nil instead of `input' for field property of
5678 past user input (bug#114).
5679
96a8a0df
SM
5680 * minibuffer.el (completion--replace): Inherit surrounding properties
5681 (bug#114).
5682 (minibuffer-complete-and-exit): Use it.
5683
8b79f3e0
SM
5684 * comint.el (comint--table-subvert): Quote the all-completions output
5685 (bug#9160).
5686
b8f7ff0d
MR
56872011-10-17 Martin Rudalics <rudalics@gmx.at>
5688
8b79f3e0 5689 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5690
b8f7ff0d 5691 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5692 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5693 entries and separate them from frame entries.
5694
c235b555
GM
56952011-10-15 Glenn Morris <rgm@gnu.org>
5696
5697 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5698 Doc fixes.
5699
6bbfa6e1
CY
57002011-10-15 Chong Yidong <cyd@stupidchicken.com>
5701
8b79f3e0
SM
5702 * net/network-stream.el (network-stream-open-starttls):
5703 Improve detection of failure due to lack of TLS support.
ec5c990d 5704
6bbfa6e1
CY
5705 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5706 putting the input text in front and in bold.
5707
98488977
SM
57082011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5709
3d1337be
SM
5710 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5711
ee0b45e4
SM
5712 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5713 empty buffer.
5714
98488977
SM
5715 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5716 unread-command-events rather than pushing yet-another event.
5717
186f4720
EZ
57182011-10-14 Eli Zaretskii <eliz@gnu.org>
5719
5720 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5721 the explanation of the possible choices. Make the options passed
5722 to completing-read shorter.
5723
8b7a997c
AM
57242011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5725
5726 * textmodes/flyspell.el (flyspell-large-region): Make sure
5727 extended character mode is used if defined (Bug#1339).
5728
12587bbb
EZ
57292011-10-13 Eli Zaretskii <eliz@gnu.org>
5730
5731 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5732 character info for LRE, LRO, RLE, and RLO characters by appending
5733 an invisible PDF.
12587bbb 5734
bad41229
SM
57352011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5736
5737 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5738 even in case of error; add debug spec; simplify data flow.
5739 (with-timeout-handler): Remove.
5740
28dbc92f
MA
57412011-10-12 Michael Albinus <michael.albinus@gmx.de>
5742
5743 Fix Bug#6019, Bug#9315.
5744
5745 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5746 complete `buffer-file-name', the local file name part could look
5747 remotely (for example on VMS).
5748
5749 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5750 `tramp-run-real-handler'.
5751 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5752 already quoted by '"'.
5753
5754 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5755 Let `file-name-handler-alist' be nil, the local file name part
5756 could look remotely (for example on VMS).
5757
e1b0b23a
SM
57582011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5761 from here...
5762 (flyspell-post-command-hook): ...to here.
5763
a120bde9
SM
57642011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5767 if not needed.
5768 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5769 using completion. Protect against "slow" callers.
5770 Remove the "message hack".
5771
7ce7717b
JL
57722011-10-11 Juri Linkov <juri@jurta.org>
5773
5774 * isearch.el (isearch-lazy-highlight-word): New variable.
5775 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5776 Use it. (Bug#9727)
5777
c02ee9d6
GM
57782011-10-11 Glenn Morris <rgm@gnu.org>
5779
5780 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5781 like f90-previous-statement does.
5782
93e616fd 57832011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5784
1f190e73 5785 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5786 only in interactive use, to avoid error.
5787
af7b6078
SM
57882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5789
5790 * minibuffer.el (completion-file-name-table): Fix last change,
5791 i.e. ignore normal errors but not the other ones.
5792
0563dae9
MR
57932011-10-10 Martin Rudalics <rudalics@gmx.at>
5794
5795 * window.el (special-display-buffer-names)
5796 (special-display-regexps): Remove some remnants of earlier
5797 changes from doc-strings.
366ca7f3
MR
5798 (quit-windows-on): New function.
5799
5800 * vc/vc.el (vc-revert, vc-rollback):
5801 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5802 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5803 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5804
49677495
MR
58052011-10-09 Martin Rudalics <rudalics@gmx.at>
5806
5807 * window.el (frame-auto-hide-function): Add version tag.
5808 (Bug#9699)
5809
56f2d1e1
MA
58102011-10-09 Michael Albinus <michael.albinus@gmx.de>
5811
5812 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5813 condition.
5814
112a6592
LL
58152011-10-09 Leo Liu <sdl.web@gmail.com>
5816
5817 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5818 (Bug#9701)
5819
0812589b
GM
58202011-10-08 Glenn Morris <rgm@gnu.org>
5821
5822 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5823 before the first code statement zero indent. (Bug#9690)
5824
b2b0776e
CY
58252011-10-08 Chong Yidong <cyd@stupidchicken.com>
5826
5827 * simple.el (count-words-region): Always count in the region.
5828 Report the number of lines and characters too.
5829 (count-words): New command, which counts in the buffer if the
5830 region is inactive, as count-words-region used to.
5831 (count-words--message): New function. Handle plurals.
5832 (count-lines-region): Make it an alias for count-words-region.
5833
5834 * bindings.el (esc-map): Replace count-lines-region with
5835 count-words-region.
5836
c557cd6b
MR
58372011-10-08 Martin Rudalics <rudalics@gmx.at>
5838
5839 * window.el (window--delete): Delete dedicated frame
5840 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5841 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5842
61a57ef4 58432011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5844
3a7d293b 5845 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5846
c3833279
CY
58472011-10-07 Chong Yidong <cyd@stupidchicken.com>
5848
5849 * bindings.el ([M-left],[M-right]): Bind to left-word and
5850 right-word respectively.
5851
21ce8245
GM
58522011-10-07 Glenn Morris <rgm@gnu.org>
5853
5854 * cus-start.el (debug-on-quit): Fix custom type.
5855
6d823bb2
LMI
58562011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5857
0181e193
LMI
5858 * subr.el (define-key-after): Clarify that the function is not
5859 useful for non-menu keymaps.
5860
6d823bb2
LMI
5861 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5862
8e3459ce 58632011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5864
21ce8245 5865 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5866 in current minibuffer (Fix bug with recursive minibuffers).
5867
a1c2d21e
CY
58682011-10-06 Chong Yidong <cyd@stupidchicken.com>
5869
5870 * progmodes/gdb-mi.el (gdb): Doc fix.
5871
5a4cf282
MR
58722011-10-05 Martin Rudalics <rudalics@gmx.at>
5873
5874 * window.el (frame-auto-hide-function): New option replacing
5875 frame-auto-delete. Suggested by Stefan Monnier.
5876 (window--delete): Call frame-auto-hide-function instead of
5877 investigating frame-auto-delete.
c96111ea
MR
5878 (window-point-1, set-window-point-1): New functions.
5879 (window-in-direction, record-window-buffer, window-state-get-1)
5880 (display-buffer-record-window): Use window-point-1 instead of
5881 window-point.
5882 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5883
9854542e
SM
58842011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5885
5886 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5887
8943cfb0
GM
58882011-10-05 Glenn Morris <rgm@gnu.org>
5889
5890 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5891 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5892
647ab967
LL
58932011-10-05 Leo Liu <sdl.web@gmail.com>
5894
5895 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5896 works with buffer object.
5897
3ddfbced
SM
58982011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * mpc.el (mpc-tool-bar-map): Add labels.
5901
bdfa5dd2
GM
59022011-10-04 Glenn Morris <rgm@gnu.org>
5903
5904 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5905
0e2070b5
MR
59062011-10-04 Martin Rudalics <rudalics@gmx.at>
5907
5908 * window.el (window--delete): New function.
5909 (frame-auto-delete): Resuscitate option.
5910 (bury-buffer, replace-buffer-in-windows)
5911 (quit-window): Rewrite using window--delete.
5912 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5913 Pass display-buffer-mark-dedicated to window--display-buffer-2
5914 (Bug#9639).
5915
3dc61a09
SM
59162011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5917
915a9b64
SM
5918 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5919 returns a list (bug#9554). Add remote file name completion.
5920 * comint.el (comint--table-subvert): Curry and get quote&unquote
5921 functions as arguments.
5922 (comint--complete-file-name-data): Adjust call accordingly.
5923 * pcomplete.el (pcomplete--table-subvert): Remove.
5924 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5925
3dc61a09
SM
5926 * minibuffer.el (completion-table-case-fold): Use currying.
5927 (completion--styles-type, completion--cycling-threshold-type):
5928 New constants.
5929 (completion-styles, completion-category-overrides)
5930 (completion-cycle-threshold): Use them.
5931 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5932 completion-table-case-fold.
5933
8ea0a993
SB
59342011-10-03 Stephen Berman <stephen.berman@gmx.net>
5935
5936 * minibuffer.el (completion-category-overrides): Fix type of styles
5937 and add more user friendly tags (bug#9660).
5938
8c24b7f6
SM
59392011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5942 (mule-input-method-string): New widget.
5943 (default-input-method, language-info-custom-alist): Use it.
5944
428fe61a
SM
59452011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5946
32c1fffd
SM
5947 * pcomplete.el: Require comint.
5948 (pcomplete--common-suffix): Remove.
5949 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5950 (pcomplete--table-subvert): Sync with comint--table-subvert.
5951 (pcomplete--entries): Use comint-completion-file-name-table.
5952 * comint.el (comint-unquote-filename): Simplify.
5953 (comint-completion-file-name-table): New function (bug#9616).
5954 (comint--complete-file-name-data): Use it.
5955
428fe61a
SM
5956 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5957 (pcmpl-gnu-tar-buffer): Remove.
5958 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5959 around. Make sure pcomplete-suffix-list is only changed temporarily.
5960 Don't look inside the tar's file if it's too large.
428fe61a 5961
04c52e2f
CY
59622011-10-01 Chong Yidong <cyd@stupidchicken.com>
5963
ce3cefcc
CY
5964 * cus-edit.el (custom-mode-map):
5965 * epa.el (epa-key-list-mode-map):
5966 * man.el (Man-mode-map):
5967 * startup.el (splash-screen-keymap):
5968 * simple.el (special-mode-map): Use scroll-up-command and
5969 scroll-down-command.
5970
5971 * progmodes/idlw-help.el (idlwave-help-mode-map):
5972 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5973 * net/newst-plainview.el (newsticker-mode-map):
5974 * emulation/ws-mode.el (wordstar-mode-map):
5975 * emulation/vi.el (vi-com-map):
5976 * calc/calc-graph.el (calc-graph-show-dumb):
5977 * term/sun.el (terminal-init-sun):
5978 * term/ns-win.el (global-map):
5979 * progmodes/grep.el (grep-mode-map):
5980 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5981 * mail/rmail.el (rmail-mode-map):
5982 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5983
04c52e2f
CY
5984 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5985 custom-safe-themes as special.
5986
79adf8c8
JD
59872011-10-01 Julien Danjou <julien@danjou.info>
5988
5989 * notifications.el (notifications-notify): Fix docstring.
5990
63bd50d3
PS
59912011-10-01 Per Starbäck <per@starback.se>
5992
5993 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5994
199e4c7e
MR
59952011-09-30 Martin Rudalics <rudalics@gmx.at>
5996
5997 * startup.el (command-line-1): Fix last fix by inserting
5998 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5999 (Bug#9605) and (Bug#9636)
199e4c7e 6000
fe5f08dd
EZ
60012011-09-29 Eli Zaretskii <eliz@gnu.org>
6002
6003 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6004 window is hscrolled, move by logical lines. (Bug#9607)
6005 (line-move-visual): Update the doc string to the above effect.
6006
b5516bbd
MR
60072011-09-29 Martin Rudalics <rudalics@gmx.at>
6008
ccee00c0
MR
6009 * window.el (display-buffer-record-window): When WINDOW is the
6010 selected window use `point' instead of `window-point'. (Bug#9626)
6011
b5516bbd
MR
6012 * startup.el (command-line-1): Use insert-before-markers when
6013 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6014
b5516bbd
MR
6015 * help.el (help-window): Remove variable.
6016
52aa0014
GM
60172011-09-29 Glenn Morris <rgm@gnu.org>
6018
6019 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6020
df9a7357
JB
60212011-09-29 Juanma Barranquero <lekktu@gmail.com>
6022
6023 * descr-text.el (describe-char-categories): Accept category
6024 descriptions more than one line long.
6025
a8406c20
SM
60262011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6027
88d9610c
SM
6028 * simple.el (delete-trailing-whitespace): Fix last change.
6029
a5daf810
SM
6030 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6031 Don't confuse "y => 3" as the beginning of a `y' operation.
6032
a8406c20
SM
6033 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6034 object has more than 4 slots (bug#9613).
6035
a239d4e9
JB
60362011-09-28 Juanma Barranquero <lekktu@gmail.com>
6037
6038 * subr.el (with-output-to-temp-buffer):
6039 * net/quickurl.el (quickurl, quickurl-browse-url):
6040 Fix typos in docstrings.
6041
693fbdb6
EZ
60422011-09-27 Eli Zaretskii <eliz@gnu.org>
6043
6044 * minibuffer.el (completion-styles)
6045 (completion-category-overrides): Cross reference each other in doc
6046 strings.
6047
8b457e28
GM
60482011-09-27 Glenn Morris <rgm@gnu.org>
6049
6050 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6051 to split-string. (Bug#9606)
6052
85a16208
LMI
60532011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6054
6055 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6056 (bug#9615).
6057
502f9ebd
CY
60582011-09-27 Chong Yidong <cyd@stupidchicken.com>
6059
6060 * emacs-lisp/package.el (list-packages): Fix echo area message.
6061
7690bdea
LL
60622011-09-27 Leo Liu <sdl.web@gmail.com>
6063
6064 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6065
e2ee6f30
MA
60662011-09-25 Michael Albinus <michael.albinus@gmx.de>
6067
6068 * net/dbus.el (dbus-unregister-object): Don't release services for
6069 registered signals. (Bug#9581)
6070
f3f98342
TZ
60712011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6072
6073 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6074 function that picks between cfengine 2 and 3 support
6075 automatically. Update docs accordingly.
6076
dd7aa8dd
KH
60772011-09-22 Kenichi Handa <handa@m17n.org>
6078
6079 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6080 ZERO.
6081 (indian-itrans-v5-table-for-tamil): New variable.
6082 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6083
3f2b07f8
KM
60842011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6085
6086 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6087 that's true if the current command involved collapsing of text.
6088 It's reset to false at the beginning of the next command.
6089 (allout-post-command-business): Move the cursor to the beginning
6090 of entry if the cursor is hidden and collapsing activity just
6091 happened.
6092
371d6a61
CY
60932011-09-24 Chong Yidong <cyd@stupidchicken.com>
6094
6095 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6096 tracking (Bug#9541).
6097
2ac2721a
UJ
60982011-09-24 Ulf Jasper <ulf.jasper@web.de>
6099
6100 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6101 (newsticker-show-news): Automatically load html rendering package
6102 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6103 because w3m-fill-column is let-bound" and the error "Symbol's value
6104 as variable is void: w3m-fill-column".
2ac2721a 6105
fac7ae53
MA
61062011-09-24 Michael Albinus <michael.albinus@gmx.de>
6107
6108 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6109 Release services only if they are defined. (Bug#9581)
6110
e08b633b
RS
61112011-09-23 Richard Stallman <rms@gnu.org>
6112
e488d29c
RS
6113 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6114 distinguish start of paragraph from start of its text.
6115
19c38752
RS
6116 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6117
e08b633b
RS
6118 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6119 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6120 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6121
0a39f27e
AS
61222011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6123
6124 * international/mule-diag.el (mule-diag): Insert a newline after
6125 each fontset description.
6126
db4e950d
SM
61272011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6128
6129 * simple.el (delete-trailing-whitespace):
6130 Document last change; simplify.
6131
eca3f3ea
PW
61322011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6133
d68e189a
PW
6134 * simple.el (delete-trailing-whitespace): Also delete
6135 extra newlines at the end of the buffer.
6136
eca3f3ea
PW
6137 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6138 (picture-newline): Use forward-line so as to ignore fields.
6139
01c157cc
SM
61402011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 * subr.el (with-wrapper-hook): Fix edebug spec.
6143
022de23e
LMI
61442011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6145
6146 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6147 (bug#4538).
6148
91683089
MA
61492011-09-23 Michael Albinus <michael.albinus@gmx.de>
6150
eca3f3ea
PW
6151 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6152 Fix nasty bug using wrong cached values.
91683089 6153
5bdd6fa4
AM
61542011-09-23 Alan Mackenzie <acm@muc.de>
6155
6156 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6157
97adfb97
CY
61582011-09-23 Chong Yidong <cyd@stupidchicken.com>
6159
6160 * window.el (pop-to-buffer): Ensure right window is selected if we
6161 chose another frame.
6162
d4ef2b50
EZ
61632011-09-22 Eli Zaretskii <eliz@gnu.org>
6164
6165 * simple.el (what-cursor-position): Use get-char-property-change
6166 and next-single-char-property-change, to be able to show display
6167 properties that come from overlays as well as text properties.
6168
72258fe5
CY
61692011-09-22 Chong Yidong <cyd@stupidchicken.com>
6170
6171 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6172
6173 * cmuscheme.el (run-scheme, switch-to-scheme):
6174 * cus-edit.el (customize-group, custom-buffer-create)
6175 (customize-browse):
6176 * info.el (info):
6177 * shell.el (shell):
6178 * mail/sendmail.el (mail):
6179 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6180
8f098516
RS
61812011-09-22 Richard Stallman <rms@gnu.org>
6182
6183 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6184 move back only to line beg, don't move back over blank lines.
6185
e74f1bb6
MA
61862011-09-22 Michael Albinus <michael.albinus@gmx.de>
6187
6188 * files.el (copy-directory): Set directory attributes only in case
6189 they could be retrieved from the source directory. (Bug#9565)
6190
bfeef8b6
DK
61912011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6192
6193 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6194 (hs-find-block-beginning, hs-hide-level-recursive):
6195 Ignore strings as well as comments. (Bug#9502)
6196
7e423bb8
AS
61972011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6198
6199 * progmodes/sql.el (sql-comint-postgres):
6200 Convert port number to a string. (Bug#9566)
6201
b4d72fcf
MR
62022011-09-22 Martin Rudalics <rudalics@gmx.at>
6203
6204 * window.el (quit-window): Undedicate window when switching to
6205 previous buffer. Reported by Thierry Volpiatto
6206 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6207 (special-display-popup-frame): When popping up a new frame reset
6208 its previous buffers to nil. Simplify code.
b4d72fcf 6209
a7b88dc6
MA
62102011-09-21 Michael Albinus <michael.albinus@gmx.de>
6211
6212 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6213 and process filter, as done also in `shell-command'.
6214
cf4eacfd
MR
62152011-09-21 Martin Rudalics <rudalics@gmx.at>
6216
eca3f3ea 6217 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6218 Call set-window-start with NOFORCE argument t.
6219 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6220 (quit-window): Reword doc-string. Handle new format of
6221 quit-restore parameter. Don't delete window if it has a
6222 previous buffer we can show instead of the present one.
6223 (display-buffer-record-window): Rewrite using a new format for
6224 the quit-restore window parameter
6225 (special-display-popup-frame, display-buffer-same-window)
6226 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6227 (display-buffer-pop-up-window, display-buffer-use-some-window):
6228 Adapt symbol passed to display-buffer-record-window.
6229 * help.el (help-window-setup): Handle new format of quit-restore
6230 parameter.
6231
8d28cb95
SM
62322011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6233
94ab793f
SM
6234 * faces.el (face-list): Fix docstring (bug#9564).
6235
8d28cb95
SM
6236 * window.el (display-buffer--action-function-custom-type):
6237 Don't include internal functions in the Custom interface.
6238
3820edeb
JL
62392011-09-20 Juri Linkov <juri@jurta.org>
6240
6241 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6242 (Info-forward-node, Info-backward-node, Info-next-preorder)
6243 (Info-last-preorder): Use it. (Bug#9528)
6244
5147931d
JL
62452011-09-20 Juri Linkov <juri@jurta.org>
6246
6247 * info.el (Info-last-preorder): Visit last menu item only when
6248 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6249
cf499a1a
JD
62502011-09-20 Julien Danjou <julien@danjou.info>
6251
6252 * password-cache.el (password-cache-remove): Remove entries even if the
6253 value is nil, so that password with a nil value (negative caching) is
6254 possible to invalidate.
6255
f84e2fe2
LM
62562011-09-20 Lawrence Mitchell <wence@gmx.li>
6257
6258 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6259 all whitespace around breakpoint. (Bug#9553)
6260 (f90-find-breakpoint): Only break at whitespace inside a comment.
6261
78054a46
SM
62622011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * minibuffer.el (completion-file-name-table): Keep track of errors.
6265 (completion-table-with-predicate): Handle the case where pred1 is nil.
6266 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6267
345083b2
SM
62682011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6269
e24e27be
SM
6270 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6271 (debugger-return-value): Signal an error if the debugging context does
6272 not await any return value.
6273
345083b2
SM
6274 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6275 * image-mode.el (image-toggle-display-text)
6276 (image-toggle-display-image): Stay away from evil `intangible'.
6277
08d355e3
LL
62782011-09-19 Leo Liu <sdl.web@gmail.com>
6279
6280 * replace.el (occur-revert-arguments): Make it permanent-local.
6281 (occur-mode): Don't call font-lock-defontify.
6282
f01da43f
CY
62832011-09-19 Chong Yidong <cyd@stupidchicken.com>
6284
6285 * net/ldap.el (ldap-search-internal): Don't push empty search
6286 result (Bug#9508).
6287
b6072fa6
SM
62882011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6291
443d6696
MA
62922011-09-19 Michael Albinus <michael.albinus@gmx.de>
6293
6294 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6295 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6296
7cc6e154
JL
62972011-09-18 Juri Linkov <juri@jurta.org>
6298
6299 * buff-menu.el (Buffer-menu-mode-map):
6300 * dired.el (dired-mode-map):
6301 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6302 (lisp-interaction-mode-map):
6303 * emacs-lisp/package.el (package-menu-mode-map):
6304 * epa.el (epa-key-list-mode-map):
6305 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6306 (menu-bar-options-menu):
6307 * outline.el (outline-mode-menu-bar-map):
6308 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6309 * vc/vc-dir.el (vc-dir-menu-map):
6310 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6311 Capitalize non-function content words in menu item strings.
6312
6313 * dired.el (dired-mode-map): Add menu item for
6314 `image-dired-dired-toggle-marked-thumbs'.
6315
80302a81
JL
63162011-09-18 Juri Linkov <juri@jurta.org>
6317
6318 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6319 to `isearch-case-fold-search' and restore its original value
6320 after the `isearch-mode' call.
6321
46c5cf66
JL
63222011-09-18 Juri Linkov <juri@jurta.org>
6323
6324 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6325 because `zgrep' returns 1 for successful matches (bug#9226).
6326
d18b513b
JL
63272011-09-18 Juri Linkov <juri@jurta.org>
6328
6329 * info.el (Info-extract-menu-node-name): Check the second match
6330 for empty string (second test-case of bug#9528).
6331 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6332 intermediate nodes to the history (first test-case of bug#9528).
6333
72753f87
JL
63342011-09-18 Juri Linkov <juri@jurta.org>
6335
6336 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6337 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6338
c9384295
JL
63392011-09-18 Juri Linkov <juri@jurta.org>
6340
1154d12e
JB
6341 * info.el (Info-file-supports-index-cookies):
6342 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6343 outputs one more line for long file names (bug#4142).
c9384295 6344
d473dce8
CY
63452011-09-18 Chong Yidong <cyd@stupidchicken.com>
6346
6347 * newcomment.el (comment-normalize-vars): If prompting for
6348 comment-start, set comment-start-skip too (Bug#8424).
6349
2176854d
JB
63502011-09-18 Johan Bockgård <bojohan@gnu.org>
6351
6352 * icomplete.el: Fix previous fix of Bug#5849.
6353 (icomplete-mode): Don't set completion-show-inline-help.
6354 (icomplete-minibuffer-setup): Set completion-show-inline-help
6355 locally during icompletion.
6356
3aace4e4
CY
63572011-09-18 Chong Yidong <cyd@stupidchicken.com>
6358
c940224f
CY
6359 * woman.el (woman2-process-escapes): Don't delete unrecognized
6360 escapes (Bug#7843).
6361
3aace4e4
CY
6362 * files.el (inhibit-first-line-modes-regexps): Add image files.
6363 (hack-local-variables-prop-line): Return nil for malformed
6364 prop-lines (Bug#9044).
6365
710dec63
MA
63662011-09-18 Michael Albinus <michael.albinus@gmx.de>
6367
6368 * net/tramp.el (top): Don't require 'shell.
6369 (tramp-methods): Fix docstring.
6370 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6371 Return complete remote file name. Handle "smb" case.
6372 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6373 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6374
6375 * net/tramp-compat.el (top): Require 'shell.
6376
6377 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6378 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6379 `tramp-current-host'.
6380 (tramp-get-remote-tmpdir): Remove.
6381
6382 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6383 `tramp-tmpdir' entries.
6384 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6385 (tramp-smb-handle-file-attributes): Ignore errors.
6386 (tramp-smb-wait-for-output): Check also for process end.
6387
5d5ac8ec
LMI
63882011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6389
6390 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6391 when sending QUIT (bug#9312).
6392
8c0f49f0
CY
63932011-09-17 Chong Yidong <cyd@stupidchicken.com>
6394
6395 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6396 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6397 occur-mode-display-occurrence.
6398 (occur-edit-mode): Add usage message.
6399 (occur-cease-edit): New command.
6400 (occur-after-change-function): Use text properties to find the
6401 position of the prefix text.
6402 (occur-engine): Set stickiness of prefix text properties.
6403
8f1383f7
GM
64042011-09-17 Glenn Morris <rgm@gnu.org>
6405
6406 * progmodes/etags.el (complete-tag):
6407 Fix call to completion-in-region. (Bug#9526)
6408
744ba0e3
JL
64092011-09-17 Juri Linkov <juri@jurta.org>
6410
6411 * textmodes/ispell.el (ispell-word): Add to the error message
6412 the word, ispell program name and current dictionary (bug#9121).
6413 (ispell-tex-arg-end): Capitalize "error" in the error message.
6414
d9bbf400
AS
64152011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6416
6417 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6418 check. (Bug#4251)
6419
8da11505
JL
64202011-09-17 Juri Linkov <juri@jurta.org>
6421
6422 * window.el (window-safe-min-height, window-safe-min-width):
6423 Fix typos (followup to bug#9522).
6424
a91adc7e
SJ
64252011-09-17 Sven Joachim <svenjoac@gmx.de>
6426
6427 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6428
064f328a
EZ
64292011-09-16 Eli Zaretskii <eliz@gnu.org>
6430
6431 * simple.el (line-move): If goal-column is set, move by logical
6432 lines, not by display lines. (Bug#971)
6433 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6434 to reflect the above change.
6435
e69df516
SM
64362011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * image.el (imagemagick-register-types): Use regexp-opt.
6439
cbb0f9ab
CY
64402011-09-15 Chong Yidong <cyd@stupidchicken.com>
6441
6442 * window.el (display-buffer-base-action): Rename from
6443 display-buffer-default-action. Make default value empty.
6444 (display-buffer-overriding-action): Convert to defvar.
6445 (display-buffer-fallback-action): New var.
6446
25322144
CY
64472011-09-15 Chong Yidong <cyd@stupidchicken.com>
6448
6449 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6450 declaration.
6451 (package--add-to-archive-contents): If there is a duplicate entry
6452 with an older version, remove it.
6453 (package-menu-mark-delete, package-menu-mark-install)
6454 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6455 (package-menu-mark-obsolete-for-deletion):
6456 Use package-menu-get-status instead of a regexp search.
25322144
CY
6457 (package-menu-get-status): Use tabulated-list-entry.
6458 (package-menu-mark-upgrades): New command.
d770725a 6459 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6460 (package-menu-execute): Do installation before deletion.
6461 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6462 instead of checking major-mode.
6463 (package-menu--find-upgrades): New function.
6464
7520339c
LMI
64652011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6466
6467 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6468 passwords in the log buffer.
65a046c4
LMI
6469 (smtpmail-process-filter): Update the process marker so that the
6470 "broken by peer" status message is inserted in the right place.
7520339c 6471
d3c30954
SM
64722011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6473
3fe48822
SM
6474 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6475 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6476 bibtex-completion-at-point-function.
6477 (bibtex-completion-at-point-function): Use them.
6478
1b8b3954
SM
6479 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6480
d3c30954
SM
6481 * mpc.el (mpc-constraints-tag-lookup): New function.
6482 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6483 also to browser "album|playlist".
6484
72779976
JL
64852011-09-14 Juri Linkov <juri@jurta.org>
6486
6487 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6488 (isearch-edit-string): Use length of `isearch-string' when
6489 `isearch-fail-pos' returns nil.
6490 (isearch-message): Remove duplicate code and call
6491 `isearch-fail-pos' with arg `t'.
6492
a0bf2bcd
CY
64932011-09-14 Chong Yidong <cyd@stupidchicken.com>
6494
17bb0a2d
CY
6495 * replace.el (occur-mode-goto-occurrence): Don't force using other
6496 window (Bug#9499).
6497
a0bf2bcd
CY
6498 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6499
f678e0b6
MR
65002011-09-14 Martin Rudalics <rudalics@gmx.at>
6501
6502 * window.el (display-buffer-window): Remove.
6503 (display-buffer-record-window): Use help-setup window parameter
6504 instead of variable display-buffer-window.
6505 (display-buffer-function, special-display-buffer-names)
6506 (special-display-function): Mention help-setup parameter instead
6507 of display-buffer-window in doc-string.
d3c30954
SM
6508 * help.el (help-window-setup): New argument help-window.
6509 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6510 Reword some messages.
6511 (with-help-window): Pass window used for displaying the buffer
6512 to help-window-setup. Don't set display-buffer-window.
6513
8e39b2e8
GM
65142011-09-13 Glenn Morris <rgm@gnu.org>
6515
6516 * emacs-lisp/debug.el (debugger-make-xrefs):
6517 Preserve point. (Bug#9462)
6518
85e9c04b
CY
65192011-09-13 Chong Yidong <cyd@stupidchicken.com>
6520
6521 * window.el (window-deletable-p): Use next-frame.
6522
1b36ed6a
MR
65232011-09-13 Martin Rudalics <rudalics@gmx.at>
6524
6525 * window.el (window-auto-delete): Remove.
6526 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6527 dedication and previous buffers.
1b36ed6a
MR
6528 (switch-to-prev-buffer): Don't delete window.
6529 (delete-windows-on): Delete a window's frame if and only if the
6530 window is dedicated.
6531 (replace-buffer-in-windows): Delete buffer's window or frame if
6532 and only if window is dedicated.
6533 (quit-window): Handle quit-restore as before last change.
4d61f28d 6534 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6535
ef8ef9fb
CY
65362011-09-13 Chong Yidong <cyd@stupidchicken.com>
6537
6538 * window.el (window-deletable-p): Never delete the last frame on a
6539 given terminal.
6540
b2cba41e
GM
65412011-09-13 Glenn Morris <rgm@gnu.org>
6542
6543 * help.el (describe-key-briefly): Copy previous standard-output change.
6544
51553db6 65452011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6546
6547 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6548
b7556719
GM
65492011-09-13 Glenn Morris <rgm@gnu.org>
6550
6551 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6552 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6553
64b51947
CY
65542011-09-12 Chong Yidong <cyd@stupidchicken.com>
6555
6556 * dired-aux.el (dired-mark-read-string): Don't return default
6557 value on empty input (Bug#9361).
6558 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6559 Omit initial minibuffer contents.
6560 (dired-do-chmod): Signal an error on empty input.
6561 (dired-mark-read-string): Don't return default on empty input.
6562
6563 * files.el (file-modes-symbolic-to-number): Doc fix.
6564
393a301e
SM
65652011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * international/mule-cmds.el (ucs-completions): Remove.
6568 (read-char-by-name): Use complete-with-action instead; add metadata.
6569
fa5660f9
CY
65702011-09-11 Chong Yidong <cyd@stupidchicken.com>
6571
6572 * window.el (display-buffer--action-function-custom-type)
6573 (display-buffer--action-custom-type): New vars.
6574 (display-buffer-alist, display-buffer-default-action)
6575 (display-buffer-overriding-action): Add defcustom types.
6576
4a592f66
CY
6577 * frame.el (delete-other-frames): Doc fix (Bug#276).
6578
73d56dbd
LMI
65792011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6580
6581 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6582
37ac18a3
CY
65832011-09-11 Chong Yidong <cyd@stupidchicken.com>
6584
6585 Change modes that used same-window-* vars to use switch-to-buffer.
6586
6587 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6588 Use switch-to-buffer.
6589
6590 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6591 (customize-browse, custom-buffer-create-other-window):
6592 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6593
6594 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6595 (Info-prev, Info-up, Info-speedbar-goto-node)
6596 (info-display-manual): Use switch-to-buffer.
6597 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6598
6599 * mail/sendmail.el (mail): Use switch-to-buffer.
6600 (mail-recover): Use switch-to-buffer-other-window.
6601
6602 * cmuscheme.el (run-scheme, switch-to-scheme):
6603 * ielm.el (ielm):
6604 * shell.el (shell):
6605 * net/rlogin.el (rlogin):
6606 * net/telnet.el (telnet, rsh):
6607 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6608
10195bd6
AS
66092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6610
6611 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6612
b322f63a
LMI
66132011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6614
39d7fed6
LMI
6615 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6616 so don't mention it (bug#9301).
ba5a81f1 6617 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6618
ee0e9f11
LMI
6619 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6620 match `x', `w32' and `ns', like the manual says (bug#9029).
6621
0b1c89c1 6622 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6623 (process-kill-buffer-query-function): Mention the buffer name in
6624 the query.
0b1c89c1 6625
77549ea8
LMI
6626 * image-mode.el (image-next-line): The line parameter is mandatory
6627 (bug#9258).
6628
803ef892
LMI
6629 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6630 which can be useful (bug#9301).
6631
12980837
LMI
6632 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6633
91054f8f
LMI
6634 * subr.el (match-string): Mention that the current buffer should
6635 be the same as the search was done in (bug#9282).
6636
b322f63a
LMI
6637 * facemenu.el: Disable the remove-* commands if the mark isn't
6638 active (bug#9162).
6639
3199b96f
CY
66402011-09-10 Chong Yidong <cyd@stupidchicken.com>
6641
6642 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6643 of display-buffer.
6644 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6645
6646 * replace.el (occur-mode-goto-occurrence)
6647 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6648 and display-buffer.
6649
6650 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6651 display-buffer.
6652
6653 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6654 special-display and same-window variables.
6655 (mail-other-window): Use switch-to-buffer-other-window.
6656 (mail-other-frame): USe switch-to-buffer-other-frame.
6657
393a301e
SM
6658 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6659 Use display-buffer-other-frame.
3199b96f
CY
6660 (gdb-display-gdb-buffer): Use pop-to-buffer.
6661
6662 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6663
6664 * progmodes/python.el: Don't set same-window-buffer-names.
6665
6666 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6667
6668 * window.el (display-buffer-alist): Add *Python*.
6669
8319e0bf
CY
66702011-09-10 Chong Yidong <cyd@stupidchicken.com>
6671
6672 * window.el (display-buffer-alist): Add entry for buffers
6673 previously handled same-window-*.
6674 (display-buffer-alist, display-buffer-default-action)
6675 (display-buffer-overriding-action): Mark as risky.
6676 (display-buffer-alist): Document action function changes.
6677 (display-buffer--same-window-action)
6678 (display-buffer--other-frame-action): New variables.
6679 (switch-to-buffer, display-buffer-other-frame): Use them.
6680 (display-buffer): Rename reuse-frame entry to reusable-frames.
6681 (display-buffer-reuse-selected-window): Function deleted.
6682 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6683 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6684 (display-buffer-special): New function.
6685 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6686 display-buffer-reuse-or-pop-window. Split off special-display
6687 part into display-buffer-special.
6688 (display-buffer-use-some-window): Don't perform any special
6689 pop-up-frames handling.
6690 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6691 (display-buffer--maybe-same-window): Rename from
0d3ff375 6692 display-buffer-maybe-same-window.
8319e0bf 6693
919a69aa
CY
6694 * info.el: Don't set same-window-regexps.
6695 (info-setup): New function.
6696 (info-other-window, info): Call it.
6697
6698 * cus-edit.el: Don't set same-window-regexps.
6699 (customize-group): New argument.
6700 (customize-group-other-window): Use it.
6701 (customize-face, customize-face-other-window): Likewise.
6702 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6703
8319e0bf
CY
6704 * net/rlogin.el:
6705 * net/telnet.el:
6706 * progmodes/gud.el: Don't set same-window-regexps.
6707
6708 * cmuscheme.el:
6709 * ielm.el:
6710 * shell.el:
6711 * mail/sendmail.el:
6712 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6713
25173000
JL
67142011-09-10 Juri Linkov <juri@jurta.org>
6715
6716 * isearch.el (isearch-edit-string): Remove obsolete mention of
6717 `C-w' (`isearch-yank-word-or-char') from docstring.
6718 (isearch-query-replace): Fix typo in docstring (bug#9466).
6719
056e44ef
JL
67202011-09-10 Juri Linkov <juri@jurta.org>
6721
6722 * paren.el (show-paren-function): Don't show escaped parens.
6723 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6724
c3760c17
EZ
67252011-09-10 Eli Zaretskii <eliz@gnu.org>
6726
6727 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6728 (mm-default-file-encoding): Remove autoload forms, they are
6729 replaced with autoload cookies in mml.el and mm-encode.el.
6730 (mail-add-attachment): New command.
6731 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6732 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6733 the doc string.
6734 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6735
fece895e
RT
67362011-09-10 Reuben Thomas <rrt@sc3d.org>
6737
e69df516
SM
6738 * simple.el (count-words-region): Use buffer if there's no region
6739 (bug#9429).
fece895e 6740
5e68ce4a
JL
67412011-09-09 Juri Linkov <juri@jurta.org>
6742
6743 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6744 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6745 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6746
0a6b9622
AM
67472011-09-09 Alan Mackenzie <acm@muc.de>
6748
6749 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6750 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6751
14a29deb
EZ
67522011-09-09 Eli Zaretskii <eliz@gnu.org>
6753
6754 Fix for Savannah bug#9392.
6755 * simple.el (mail-encode-mml): New defvar.
6756
6757 * mail/rmail.el (mail-encode-mml): Add a defvar.
6758 (rmail-enable-mime-composing): Default to t.
6759 (rmail-forward): Use MIME method of forwarding only if both
6760 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6761 Set mail-encode-mml non-nil if the MIME method was used.
6762
6763 * mail/sendmail.el (mml-to-mime): Add autoload form.
6764 (mail-encode-mml): Add a defvar.
6765 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6766 to nil.
6767 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6768 message through mml-to-mime, and reset mail-encode-mml to nil.
6769
28c45130
GM
67702011-09-09 Glenn Morris <rgm@gnu.org>
6771
6772 * woman.el (woman-if-body): When processing an .el block,
6773 do not delete the next .el block as well. (Bug#9447)
69f4b618 6774 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6775
9b1c252e
MR
67762011-09-08 Martin Rudalics <rudalics@gmx.at>
6777
6778 * window.el (window-deletable-p): Make sure window is live before
6779 invoking window-prev-buffers.
6780
567457e3
LL
67812011-09-08 Leo Liu <sdl.web@gmail.com>
6782
6783 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6784
97f05794
JL
67852011-09-08 Juri Linkov <juri@jurta.org>
6786
6787 * progmodes/compile.el (compilation-environment): Make it
6788 a defcustom (bug#8340).
6789
8b0874b5
MR
67902011-09-08 Martin Rudalics <rudalics@gmx.at>
6791
6792 * window.el (frame-auto-delete): Rename to window-auto-delete.
6793 Make it control auto-deletion of windows and/or frames.
6794 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6795 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6796 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6797 Rewrite handling of case when window/frame can be deleted.
6798 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6799 argument t. (Bug#9456)
8b0874b5 6800
4feb6e73
CY
68012011-09-07 Chong Yidong <cyd@stupidchicken.com>
6802
6803 * help-mode.el (help-mode): Restore autoload.
6804
91ab9c13
JL
68052011-09-07 Juri Linkov <juri@jurta.org>
6806
6807 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6808 `compilation-environment'. Set buffer-local
6809 `compilation-environment' to `thisenv' later after (funcall mode).
6810 (Bug#8340)
6811
6812 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6813 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6814 instead of replacing its value. (Bug#8340)
6815
0527e251
JL
68162011-09-07 Juri Linkov <juri@jurta.org>
6817
6818 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6819 based on text properties put by `grep-filter' instead of matching
6820 escape sequences.
6821 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6822 to the value of `grep-error-screen-columns' (bug#9438).
6823
249f792c
JL
68242011-09-07 Juri Linkov <juri@jurta.org>
6825
6826 * simple.el (next-error-highlight, next-error-highlight-no-select):
6827 Doc fix (bug#9432).
6828
ff7271b9
OT
68292011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6830
6831 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6832 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6833
183fc730
LL
68342011-09-07 Leo Liu <sdl.web@gmail.com>
6835
6836 * net/rcirc.el (rcirc-mode): Conditionally initialize
6837 rcirc-input-ring.
6838
77694924
SM
68392011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6840
6841 * emacs-lisp/find-func.el (find-function-C-source): Only set
6842 find-function-C-source-directory after checking that we found a source
6843 file there (bug#9440).
6844
d809b8eb
AM
68452011-09-06 Alan Mackenzie <acm@muc.de>
6846
6847 * isearch.el (isearch-other-meta-char): Wherever a key list is
6848 unread, "unread" the prefix arg, too. This fixes bug #8901.
6849
453de99f
OG
68502011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6851
6852 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6853
90439906
JL
68542011-09-05 Juri Linkov <juri@jurta.org>
6855
6856 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6857
f62bd846
JL
68582011-09-05 Juri Linkov <juri@jurta.org>
6859
6860 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6861 keeping point where processing of grep matches begins, and
6862 continue to delete remaining escape sequences from the same point.
6863 (grep-filter): Make leading zero optional in "0?1;31m" because
6864 git-grep emits "\033[1;31m" escape sequences unlike expected
6865 "\033[01;31m" as GNU Grep does (bug#9408).
6866 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6867
045820ec
JL
68682011-09-05 Juri Linkov <juri@jurta.org>
6869
6870 * subr.el (y-or-n-p): Capitalize "yes".
6871
f5e29b9b
MA
68722011-09-04 Michael Albinus <michael.albinus@gmx.de>
6873
6874 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6875 `tramp-cache-unload-hook' where appropriate.
6876 (tramp-methods): Rename `tramp-remote-sh' to
6877 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6878 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6879
6880 * net/tramp-sh.el (top): Don't require 'shell.
6881 (tramp-methods): Add `tramp-remote-shell' and
6882 `tramp-remote-shell-args' entries.
6883 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6884 (tramp-sh-handle-shell-command): Remove.
6885 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6886 Use `tramp-remote-shell'.
6887
2784c434
CY
68882011-09-03 Chong Yidong <cyd@stupidchicken.com>
6889
393a301e 6890 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6891 (sendmail-query-once): Save directly to send-mail-function.
6892 Update message-send-mail-function too.
6893
6894 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6895
464cdf56
CS
68962011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6897
6898 * progmodes/python.el (python-mode-map): Use correct function to
6899 start python interpreter from menu-bar (as reported by Geert
6900 Kloosterman).
6901 (inferior-python-mode-map): Fix typo.
393a301e 6902 (python-shell-map): Remove.
464cdf56 6903
d37e5c87
DD
69042011-09-03 Deniz Dogan <deniz@dogan.se>
6905
6906 * net/rcirc.el (rcirc-print): Simplify code for
6907 rcirc-scroll-show-maximum-output. There is no need to walk
6908 through all windows to find the right one.
6909
f3ada0ee
CS
69102011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6911
6912 * help.el (help-return-method): Doc fix.
6913
1f3c99ca
MR
69142011-09-03 Martin Rudalics <rudalics@gmx.at>
6915
6916 * window.el (window-deletable-p): Don't return a non-nil value
6917 when there's a buffer that was shown in the window before.
6918 (Bug#9419)
393a301e
SM
6919 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6920 Set window's previous buffers to nil.
1f3c99ca 6921
a3cf097f
EZ
69222011-09-03 Eli Zaretskii <eliz@gnu.org>
6923
6924 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6925 newline before and after the tag line, so it doesn't interfere
6926 with determining the paragraph direction of bidirectional text.
6927
3d03de90
LL
69282011-09-03 Leo Liu <sdl.web@gmail.com>
6929
6930 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6931
c3313451
CY
69322011-09-02 Chong Yidong <cyd@stupidchicken.com>
6933
393a301e 6934 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6935 (pop-to-buffer): Change interactive spec. Pass second argument
6936 directly to display-buffer.
6937 (display-buffer): Fix interactive spec. Use functionp to
6938 distinguish between a function and a list of functions.
6939
6940 * abbrev.el (edit-abbrevs):
6941 * arc-mode.el (archive-extract):
6942 * autoinsert.el (auto-insert):
6943 * bookmark.el (bookmark-bmenu-list):
6944 * files.el (find-file):
6945 * view.el (view-buffer):
6946 * progmodes/compile.el (compilation-goto-locus):
6947 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6948
89894cd8
CY
69492011-09-02 Chong Yidong <cyd@stupidchicken.com>
6950
6951 * window.el (display-buffer-alist): Doc fix.
6952 (display-buffer): Add docstring. Don't treat
6953 display-buffer-default specially.
6954 (display-buffer-reuse-selected-window)
6955 (display-buffer-same-window, display-buffer-maybe-same-window)
6956 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6957 (display-buffer-pop-up-window)
6958 (display-buffer-reuse-or-pop-window)
6959 (display-buffer-use-some-window): New functions.
6960 (display-buffer-default-action): Use them.
393a301e 6961 (display-buffer-default): Delete.
89894cd8
CY
6962 (pop-to-buffer-1): Fix choice of actions.
6963
ae0bc9fb
SM
69642011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * minibuffer.el (completion--insert-strings): Don't get confused by
6967 completion entries that end with an LF char.
6968
e9d90883
EZ
69692011-09-01 Eli Zaretskii <eliz@gnu.org>
6970
6971 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6972
437014c8
CY
69732011-09-01 Chong Yidong <cyd@stupidchicken.com>
6974
6975 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6976 (display-buffer-same-window, display-buffer-other-window):
6977 New functions.
437014c8
CY
6978 (pop-to-buffer-1): New function. Use the above.
6979 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6980 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6981
6982 * view.el (view-buffer-other-window, view-buffer-other-frame):
6983 Just use pop-to-buffer.
6984
a5e063d5
TV
69852011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6986
6987 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6988
793d32bb
WH
69892011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6990
6991 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6992
d65e4c15
RS
69932011-08-31 Richard Stallman <rms@gnu.org>
6994
6995 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6996 of the separation of rmail-view-buffer from rmail-buffer.
6997 If you say no to "replace original", the decrypt is in the
6998 view buffer. If you say yes, the decrypt goes into the
6999 rmail buffer also.
7000
f818cd2a
MR
70012011-08-31 Martin Rudalics <rudalics@gmx.at>
7002
7003 * window.el (display-buffer-window): Rewrite doc-string.
7004 (display-buffer-record-window): New function.
7005 (display-buffer-macro-specifiers)
7006 (display-buffer-even-window-sizes, display-buffer-set-height)
7007 (display-buffer-set-width, display-buffer-in-window)
7008 (display-buffer-reuse-window, display-buffer-split-specifiers)
7009 (display-buffer-side-specifiers, display-buffer-split-window-1)
7010 (display-buffer-split-window, display-buffer-split-atom-window)
7011 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7012 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7013 (display-buffer-other-window-means-other-frame)
7014 (display-buffer-normalize-special)
7015 (display-buffer-normalize-default)
7016 (display-buffer-normalize-argument)
7017 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7018 (display-buffer-normalize-specifiers, display-buffer-frame)
7019 (display-buffer-same-window, display-buffer-same-frame)
7020 (display-buffer-other-window)
7021 (display-buffer-same-frame-other-window)
7022 (display-buffer-other-frame, pop-to-buffer-same-window)
7023 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7024 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7025 (switch-to-buffer-same-frame)
7026 (switch-to-buffer-other-window-same-frame)
7027 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7028 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7029 (display-buffer-alist-set): Remove.
7030 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7031 (special-display-regexps, special-display-function):
7032 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7033 parameter.
7034 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7035 (special-display-frame-alist, special-display-popup-frame)
7036 (same-window-buffer-names, same-window-regexps, same-window-p)
7037 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7038 (split-window-preferred-function, split-height-threshold)
7039 (split-width-threshold, window-splittable-p)
7040 (split-window-sensibly, window--try-to-split-window)
7041 (window--frame-usable-p, even-window-heights)
7042 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7043 (window--display-buffer-2, display-buffer-other-frame):
7044 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7045 (display-buffer-default, display-buffer-assq-regexp): New functions.
7046 (display-buffer-alist): Rewrite doc-string.
7047 (display-buffer-default-action)
7048 (display-buffer-overriding-action): New variables.
7049 (display-buffer, switch-to-buffer): Rewrite.
7050 (pop-to-buffer): Restore Emacs 23 behavior but use
7051 window-normalize-buffer-to-display.
7052 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7053 Restore Emacs 23 behavior but use
7054 window-normalize-buffer-to-switch-to.
7055 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7056 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7057 Rewrite using Emacs 23 options.
f818cd2a 7058
5bc3b51d
MA
70592011-08-31 Michael Albinus <michael.albinus@gmx.de>
7060
7061 * net/tramp.el (tramp-root-regexp): Remove.
7062 (tramp-completion-file-name-regexp-unified)
7063 (tramp-completion-file-name-regexp-separate)
7064 (tramp-completion-file-name-regexp-url): Don't use leading volume
7065 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7066 (tramp-drop-volume-letter): Simplify definition.
7067 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7068
b1a4f8e1
SM
70692011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7072 (bug#9356).
7073
5664fa7b
RT
70742011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7075
b1a4f8e1 7076 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7077
9a45d6c3
JL
70782011-08-29 Juri Linkov <juri@jurta.org>
7079
7080 * isearch.el (isearch-done): Don't display message "Mark saved"
7081 when arg `edit' is non-nil to prevent its flicker in the echo area.
7082
fb87e0fb
CY
70832011-08-28 Chong Yidong <cyd@stupidchicken.com>
7084
7085 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7086 obsolete packages for deletion.
7087
09ac1c2a
CS
70882011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7089
7090 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7091 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7092 view-mode from help-mode.
7093 (help-xref-override-view-map): Remove.
7094 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7095 view-mode is not used anymore.
7096
7a1ff57f
CY
70972011-08-28 Chong Yidong <cyd@stupidchicken.com>
7098
7099 * server.el (server-port): Doc fix.
7100
b9696605
CY
7101 * cus-theme.el (custom-theme-choose-mode): Inherit from
7102 special-mode (Bug#9124).
7103 (custom-theme-choose-mode-map): Add special-mode to parent.
7104
ef8cdf8c
AM
71052011-08-28 Alan Mackenzie <acm@muc.de>
7106
7107 * progmodes/cc-fonts.el
7108 (c-make-font-lock-BO-decl-search-function): New function.
7109 (c-basic-matchers-after - "Fontify the clauses after various
7110 keywords"): Extract the three keyword lists for the 3 erroneous
7111 constructs from the list of four, and use the new function above
7112 in place of an old one.
7113
27de4e20
DD
71142011-08-28 Deniz Dogan <deniz@dogan.se>
7115
7116 * net/rcirc.el (rcirc-insert-prev-input)
7117 (rcirc-insert-next-input): Remove unused argument.
7118
356a3681
SM
71192011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7122
3fc9b218
AM
71232011-08-27 Alan Mackenzie <acm@muc.de>
7124
7125 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7126 handle function pointer parameters properly.
7127
538a061c
MR
71282011-08-27 Martin Rudalics <rudalics@gmx.at>
7129
7130 * window.el (display-buffer-reuse-window): Fix case where
7131 selected window was reused with non-nil OTHER-WINDOW argument.
7132 (Bug#9381)
7133
35b1c40c
DD
71342011-08-27 Deniz Dogan <deniz@dogan.se>
7135
7136 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7137 oftc's NickServ messages.
7138
2f6a3e79
GM
71392011-08-27 Glenn Morris <rgm@gnu.org>
7140
7141 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7142
7254299e
CY
71432011-08-26 Chong Yidong <cyd@stupidchicken.com>
7144
7145 * emacs-lisp/package.el (package-install): Call package-initialize
7146 if called interactively.
7147
f8ccf167
LL
71482011-08-26 Leo Liu <sdl.web@gmail.com>
7149
7150 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7151
3e8cd5ce
JL
71522011-08-25 Juri Linkov <juri@jurta.org>
7153
7154 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7155 `search-whitespace-regexp' (bug#9364).
7156
93eb7113
JL
71572011-08-25 Juri Linkov <juri@jurta.org>
7158
7159 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7160 `regexp-search-ring' to their global values to protect from
7161 updating by `read-from-minibuffer' (bug#9185).
7162
f65d1611
JL
71632011-08-25 Juri Linkov <juri@jurta.org>
7164
7165 * textmodes/ispell.el (ispell-command-loop): Add newline
7166 at the end of the "Use option `i'..." line.
7167
f1cf7a31
JL
71682011-08-25 Juri Linkov <juri@jurta.org>
7169
7170 * battery.el (display-battery-mode): If `battery-status-function'
7171 or `battery-mode-line-format' is nil, display the message and set
7172 `display-battery-mode' to nil (bug#9363).
7173
0c95fcf7
EZ
71742011-08-25 Eli Zaretskii <eliz@gnu.org>
7175
7176 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7177 bidi-string-mark-left-to-right; they are unnecessary now.
7178
a2ebe600
DD
71792011-08-25 Deniz Dogan <deniz@dogan.se>
7180
7181 * net/quickurl.el: Documentation typo fixes.
7182
e4ed06f1
CY
71832011-08-25 Chong Yidong <cyd@stupidchicken.com>
7184
7185 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7186
e5f1c99e
GM
71872011-08-25 Glenn Morris <rgm@gnu.org>
7188
b2948976
GM
7189 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7190
e5f1c99e
GM
7191 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7192 (smtpmail-via-smtp): Handle nil response from smtp.
7193
f22f4808
JL
71942011-08-24 Juri Linkov <juri@jurta.org>
7195
7196 * proced.el (proced-marked): Inherit from `error' instead of
7197 `font-lock-warning-face'.
7198
7199 * ibuffer.el (ibuffer-marked-face): Change default face from
7200 `font-lock-warning-face' to `warning'.
7201 (ibuffer-deletion-face): Change default face from
7202 `font-lock-type-face' to `error'.
7203
7204 * battery.el (battery-update): Use the face `error' instead of
7205 `font-lock-warning-face' (bug#6117).
7206
6a93965e
JL
72072011-08-24 Juri Linkov <juri@jurta.org>
7208
7209 * faces.el (success): Change face color from "Green3" to
7210 "ForestGreen" on light background (bug#9353).
7211
1ed43b09
CY
72122011-08-24 Chong Yidong <cyd@stupidchicken.com>
7213
5664fa7b
RT
7214 * window.el (quit-window): Rename from quit-restore-window.
7215 Use same arglist as old quit-window.
1ed43b09
CY
7216 (frame-auto-delete): Doc fix.
7217
7218 * view.el (view-mode-exit): Use quit-window.
7219
11dcdbb2
JL
72202011-08-24 Juri Linkov <juri@jurta.org>
7221
7222 * isearch.el (isearch-ring-adjust1): Start visiting previous
7223 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7224 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7225 for empty search string (when the last search string is reused
7226 automatically) to adjust the isearch ring to the last element and
7227 prepare the correct index for further M-p commands (bug#9185).
7228
de62b4df
KH
72292011-08-24 Kenichi Handa <handa@m17n.org>
7230
7231 * international/ucs-normalize.el: If decomposition property of
7232 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7233 nil.
7234 (nfd, nfkd): Likewise.
7235
963b492b
SM
72362011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7237
7238 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7239 from process filters aren't reliably transmitted to the surrounding
7240 accept-process-output.
7241 (mpc-proc-check): New function.
7242 (mpc-proc-sync): Use it (bug#8293)
7243
93b6b5e1
SM
72442011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7245
7246 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7247 Add compatibility functions (bug#9313).
7248
bca633fb
EZ
72492011-08-23 Eli Zaretskii <eliz@gnu.org>
7250
b177498a
EZ
7251 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7252
6df6ae42 7253 * international/uni-bidi.el: Regenerate.
bca633fb 7254
0902a04e
KH
72552011-08-23 Kenichi Handa <handa@m17n.org>
7256
7257 * international/charprop.el:
7258 * international/uni-bidi.el:
7259 * international/uni-category.el:
7260 * international/uni-combining.el:
7261 * international/uni-comment.el:
7262 * international/uni-decimal.el:
7263 * international/uni-decomposition.el:
7264 * international/uni-digit.el:
7265 * international/uni-lowercase.el:
7266 * international/uni-mirrored.el:
7267 * international/uni-name.el:
7268 * international/uni-numeric.el:
7269 * international/uni-old-name.el:
7270 * international/uni-titlecase.el:
7271 * international/uni-uppercase.el: Regenerate.
7272
3bbf23bc
MR
72732011-08-23 Martin Rudalics <rudalics@gmx.at>
7274
7275 * help.el (help-window-setup): Fix message displayed when other
7276 window is reused. (Bug#9341)
7277
b3fd59bd
SM
72782011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7279
1802e444
SM
7280 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7281 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7282
b3fd59bd
SM
7283 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7284 Mark obsolete.
7285 * shell.el (shell-parse-pcomplete-arguments): New function.
7286 (shell-completion-vars): Use it instead (bug#9160).
7287
4eb61348
SM
72882011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7289
867cab74
SM
7290 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7291 strings and comments (bug#9333).
7292
4eb61348
SM
7293 * emacs-lisp/debug.el (debug-arglist): New function.
7294 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7295 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7296
262a1439
JL
72972011-08-22 Juri Linkov <juri@jurta.org>
7298
56ee679c
JL
7299 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7300 Revert regexp that highlights output switches to its old
7301 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7302
262a1439
JL
7303 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7304 to check for empty output (bug#9226).
7305
f13f86fb
CY
73062011-08-22 Chong Yidong <cyd@stupidchicken.com>
7307
7308 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7309 symbol-constituent as the default, as that stops font-lock from
7310 working properly (Bug#8843).
7311
c65c9622
LMI
73122011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7313
7314 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7315 `coding-system-for-*' around the process open call to avoid
7316 auth-source side effects.
e7f2c178 7317 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7318 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7319 probe hangs.
c65c9622 7320
23a8a5ab
CY
73212011-08-21 Chong Yidong <cyd@stupidchicken.com>
7322
ff98b2dd
CY
7323 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7324
23a8a5ab
CY
7325 * emacs-lisp/find-func.el (find-function-noselect): New arg
7326 lisp-only.
7327
7328 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7329 signal an error for built-in functions (Bug#6664).
7330
f5e3c598
LMI
73312011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7332
7333 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7334 (smtpmail-try-auth-methods): Use it.
7335
a3f2468a
CY
73362011-08-21 Chong Yidong <cyd@stupidchicken.com>
7337
2c34e8da
CY
7338 * font-lock.el (font-lock-fontify-region)
7339 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7340 (font-lock-default-unfontify-buffer)
7341 (font-lock-default-fontify-region)
7342 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7343
b3fd59bd
SM
7344 * progmodes/compile.el (compilation-error-properties):
7345 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7346 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7347 `ant' regexp.
ee31aabc 7348
a3f2468a
CY
7349 * net/browse-url.el (browse-url-firefox): Don't call
7350 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7351
8e999f70
GM
73522011-08-20 Glenn Morris <rgm@gnu.org>
7353
c21a496a
GM
7354 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7355
59ee0542
GM
7356 * tutorial.el (tutorial--default-keys): Update some default bindings.
7357
8e999f70
GM
7358 * files.el (hack-local-variables): Fully ignore case for "mode:".
7359
e3715033
AM
73602011-08-20 Alan Mackenzie <acm@muc.de>
7361
7362 Resolve invalid use of a regexp in regexp-opt.
7363
4d61f28d
JB
7364 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7365 detection for a java annotation.
e3715033 7366
4d61f28d 7367 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7368 detection for a java annotation.
7369
4d61f28d
JB
7370 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7371 handling for java.
e3715033
AM
7372 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7373
04ed2e9c
CY
73742011-08-20 Chong Yidong <cyd@stupidchicken.com>
7375
7376 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7377 (Bug#9274).
7378
826cee64
AM
73792011-08-20 Alan Mackenzie <acm@muc.de>
7380
58179cce 7381 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7382 such a construct. Mainly for when jit-lock etc. starts a chunk
7383 here.
7384
58179cce 7385 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7386 variable.
58179cce 7387 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7388 c-make-font-lock-search-function.
7389 (c-make-font-lock-search-function): Use the above function.
7390 (c-make-font-lock-context-search-function): New function.
7391 (c-cpp-matchers): Enhance the preprocessor expression case with
7392 the above function
7393 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7394 which takes an expression.
7395
7396 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7397
13009bd8
MR
73982011-08-20 Martin Rudalics <rudalics@gmx.at>
7399
7400 * window.el (display-buffer-reuse-window)
7401 (display-buffer-pop-up-window): Don't reuse or split a side
7402 window.
7403
9234ff7f
GM
74042011-08-19 Glenn Morris <rgm@gnu.org>
7405
7406 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7407 Downcase "Mode:". (Bug#9331)
9234ff7f 7408
f635daa1
CY
74092011-08-18 Chong Yidong <cyd@stupidchicken.com>
7410
7411 * international/characters.el: Add L and R categories.
7412
7413 * subr.el (bidi-string-mark-left-to-right): Rename from
7414 string-mark-left-to-right. Use category search.
7415
7416 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7417
bc987f8b
JL
74182011-08-18 Juri Linkov <juri@jurta.org>
7419
7420 * faces.el (error, warning, success): New faces with definitions
7421 copied from old default values of `font-lock-warning-face',
7422 `compilation-warning', `compilation-info' (bug#6117).
7423
7424 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7425
7426 * progmodes/compile.el (compilation-error): Inherit from `error'.
7427 (compilation-warning): Inherit from `warning'.
7428 (compilation-info): Inherit from `success'.
7429
7430 * dired.el (dired-marked): Inherit from `warning'.
7431 (dired-flagged): Inherit from `error'.
7432
57173b96
LMI
74332011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7434
3e79eb87
LMI
7435 * mail/smtpmail.el (auth-source): Require to avoid problems with
7436 binding variables (bug#9298). Also clean up some unused
7437 autoloads.
7438
b3fd59bd
SM
7439 * net/network-stream.el (network-stream-open-starttls):
7440 Support using starttls.el without using gnutls-cli.
57173b96 7441
02b404de
JL
74422011-08-17 Juri Linkov <juri@jurta.org>
7443
7444 * progmodes/grep.el (rgrep): Handle the case when
7445 `grep-find-command' is a cons cell (bug#9278).
7446
8c9177f2
MR
74472011-08-17 Martin Rudalics <rudalics@gmx.at>
7448
7449 * window.el (display-buffer-pop-up-frame): Run frame creation
7450 function with BUFFER current (as special-display-popup-frame
7451 does). Reported by Drew Adams.
7452
3644a0ab
DU
74532011-08-17 Daiki Ueno <ueno@unixuser.org>
7454
7455 * epa-mail.el: Simplify GnuPG group expansion using
7456 epg-expand-group.
7457 (epa-mail-group-alist, epa-mail-group-modtime)
7458 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7459 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7460 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7461 Remove.
7462
5e617bc2 74632011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7464
7465 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7466
9c4aeabf
AM
74672011-08-16 Alan Mackenzie <acm@muc.de>
7468
7469 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7470 Correct, to avoid the inside of macros.
7471
3a99bf64
RS
74722011-08-16 Richard Stallman <rms@gnu.org>
7473
04963aa8
RS
7474 * epa-mail.el: Handle GnuPG group definitions.
7475 (epa-mail-group-alist, epa-mail-group-modtime)
7476 (epa-mail-gnupg-conf-file): New variables.
7477 (epa-mail-parse-groups, epa-mail-sync-groups)
7478 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7479 (epa-mail-expand-recipients): New functions.
7480 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7481
177549d0
RS
7482 * mail/rmail.el (rmail-epa-decrypt): New command.
7483
fe38beef
RS
7484 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7485 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7486 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7487 (epa-decrypt-armor-in-region): Make error message clearer.
7488
934eacb9
SM
74892011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7492 and "a2b" to "ab" for `prefix'.
7493
d024fb4e
CY
74942011-08-14 Chong Yidong <cyd@stupidchicken.com>
7495
7496 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7497 filter groups.
de148fee
CY
7498 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7499 Fourquet (Bug#8804).
d024fb4e 7500
62f1ca49
JB
75012011-08-12 Juanma Barranquero <lekktu@gmail.com>
7502
7503 * startup.el (argi): Declare as global variable (bug#9275).
7504
9ccaaa4b
CY
75052011-08-12 Chong Yidong <cyd@stupidchicken.com>
7506
7507 * subr.el (string-mark-left-to-right): Search the entire string
7508 for RTL script, not just the terminating character. Doc fix.
7509
a3dae87a
SM
75102011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7511
6cd18349
SM
7512 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7513 New function.
7514 (js--regexp-literal, js-syntax-propertize-function): Remove.
7515 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7516 (js-mode-map): Don't rebind electric keys.
7517 (js-insert-and-indent): Remove.
7518 (js-mode): Setup electric-layout and electric-indent instead.
7519
a3dae87a
SM
7520 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7521
9d5cb631
DU
75222011-08-12 Daiki Ueno <ueno@unixuser.org>
7523
7524 * epa.el (epa-progress-callback-function): Fix the logic of
7525 displaying progress.
7526 * epa-file.el (epa-file-insert-file-contents): Make progress
7527 display more user-friendly.
7528 (epa-file-write-region): Ditto.
7529
3e26a4a2
CY
75302011-08-10 Chong Yidong <cyd@stupidchicken.com>
7531
7532 * subr.el (string-mark-left-to-right): New function.
7533
7534 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7535 Use string-mark-left-to-right.
7536 (list-buffers-noselect): Caller changed.
7537
a3dae87a
SM
7538 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7539 Use string-mark-left-to-right.
3e26a4a2
CY
7540 (tabulated-list-print): Recenter after moving point.
7541
ac8cf6e6
JL
75422011-08-10 Juri Linkov <juri@jurta.org>
7543
7544 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7545 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7546 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7547
8d96c9a4
CY
75482011-08-09 Chong Yidong <cyd@stupidchicken.com>
7549
7550 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7551 (Bug#7554).
7552
7be1c708 75532011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7554
7555 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7556 character. (Bug#6594)
7557
37e11a63
CY
75582011-08-08 Chong Yidong <cyd@stupidchicken.com>
7559
839dde57
CY
7560 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7561 (image-dired--with-db-file): New macro.
7562 (image-dired-write-tags, image-dired-remove-tag)
7563 (image-dired-create-gallery-lists, image-dired-write-comments)
7564 (image-dired-get-comment, image-dired-mark-tagged-files)
7565 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7566 (image-dired-gallery-generate): Use insert-file-contents.
7567
37e11a63
CY
7568 * time.el (display-time-world-list, display-time-world-display):
7569 * time-stamp.el (time-stamp-string):
7570 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7571 set-time-zone-rule (Bug#7337).
7572
0b4946c4
DU
75732011-08-08 Daiki Ueno <ueno@unixuser.org>
7574
7575 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7576 (epg-error-to-string, epg-errors-to-string): New function.
7577 (epg-wait-for-completion): Reverse errors list.
7578 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7579 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7580 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7581 (epg-sign-keys, epg-generate-key-from-file)
7582 (epg-generate-key-from-string): Format errors by using
7583 epg-errors-to-string (bug#9255).
7584 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7585
75bfc667
JL
75862011-08-07 Juri Linkov <juri@jurta.org>
7587
7588 * faces.el (list-faces-display): Remove extra angle bracket
7589 from `help-mode-map'.
7590
7591 * info.el (Info-history-toc-nodes): Doc fix.
7592
7593 * longlines.el (longlines-mode): Doc fix.
7594
673e08bb
SM
75952011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7596
4640dd88
SM
7597 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7598 of statements and in a few more cases (bug#9183).
7599
673e08bb
SM
7600 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7601 New functions.
7602 (cl-transform-lambda): Use them (bug#9239).
7603
89b3f019
MR
76042011-08-05 Martin Rudalics <rudalics@gmx.at>
7605
7606 * window.el (display-buffer-same-window)
7607 (display-buffer-same-frame, display-buffer-other-window)
7608 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7609 (pop-to-buffer-other-window)
7610 (pop-to-buffer-same-frame-other-window)
7611 (pop-to-buffer-other-frame): Make them defuns.
7612 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7613
640c8776
SM
76142011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * subr.el (make-composed-keymap): Move from C. Change calling
7617 convention, and improve docstring to bring attention to a subtle point.
7618 * minibuffer.el (completing-read-default): Adjust accordingly.
7619
63648a95
MA
76202011-08-03 Michael Albinus <michael.albinus@gmx.de>
7621
7622 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7623 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7624
7625 * net/trampver.el: Update release number.
7626
b796c9b7
SM
76272011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7630 "in" (bug#9190).
7631
2239d7d5
LMI
76322011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7633
e07dd7c3
LMI
7634 * mail/sendmail.el (sendmail-query-once): Restore the current
7635 buffer after querying (bug#9074).
7636
0e6a2bd7
LMI
7637 * dired.el (dired-flagged): Use different faces for marked and
7638 flagged files (bug#6117).
7639
ce887515
LMI
7640 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7641 (bug#4433).
7642
92f2affc
LMI
7643 * ido.el (ido-mode): Switch off the message if called
7644 non-interactively.
7645
57d5aff0
LMI
7646 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7647 before 587, since it appears that that's more likely to work for
7648 more people.
7649
98cd6c18 7650 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7651 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7652 exist.
7653
b96dec83
LMI
7654 * info.el: Remove the `Info-beginning-of-buffer' function
7655 (bug#8325).
7656
b796c9b7
SM
7657 * net/network-stream.el (network-stream-open-starttls):
7658 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7659
d90e2ea0
MR
76602011-08-01 Martin Rudalics <rudalics@gmx.at>
7661
7662 * window.el (display-buffer-in-window): Don't set dedicated status
7663 of window here (Bug#9215).
7664 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7665 (display-buffer-pop-up-side-window)
b796c9b7 7666 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7667
cca09170
SM
76682011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7671 before binding generated-autoload-file.
7672
027b979c
DD
76732011-08-01 Deniz Dogan <deniz@dogan.se>
7674
7675 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7676
3c7ee4f3
MA
76772011-07-30 Michael Albinus <michael.albinus@gmx.de>
7678
7679 Sync with Tramp 2.2.2.
7680
7681 * net/trampver.el: Update release number.
7682
2cc8e51a
JL
76832011-07-30 Juri Linkov <juri@jurta.org>
7684
7685 * dired-aux.el (dired-touch-initial): Remove function.
7686 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7687 current time, and `default' to the last modification time of the
7688 current marked file (bug#6887).
7689
a514d856
JM
76902011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7691
7692 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7693 numeric argument to read-number (bug#9163).
a514d856 7694
8a7eddd7
MA
76952011-07-27 Michael Albinus <michael.albinus@gmx.de>
7696
7697 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7698 connection process, it could be nil.
7699
1ddd96f5
LL
77002011-07-27 Leo Liu <sdl.web@gmail.com>
7701
7702 Simplify url handling in rcirc-mode.
7703
7704 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7705 (rcirc-browse-url-at-mouse): Remove.
7706 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7707
b248a85d
AM
77082011-07-26 Alan Mackenzie <acm@muc.de>
7709
7710 Fontify bitfield declarations properly.
7711
7712 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7713 (c-symbol-chars): Now exported as a lang variable.
7714 (c-not-primitive-type-keywords): New lang variable.
7715
7716 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7717 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7718 parsed as a bitfield declaration.
b248a85d 7719
b796c9b7
SM
7720 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7721 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7722 (c-punctuation-in): New function.
7723 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7724 declarations properly.
7725
68575ab0
UJ
77262011-07-26 Ulf Jasper <ulf.jasper@web.de>
7727
7728 * calendar/icalendar.el (icalendar--all-events): Take care of
7729 multiple vcalendars in a single file.
b796c9b7 7730 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7731
0f0a88b9
DD
77322011-07-25 Deniz Dogan <deniz@dogan.se>
7733
7734 * image.el (insert-image): Clarifying docstring.
7735
0b3f36df
MA
77362011-07-24 Michael Albinus <michael.albinus@gmx.de>
7737
7738 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7739 `tramp-send-command-and-check' if there is no error.
7740 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7741
a9901f61
AM
77422011-07-22 Alan Mackenzie <acm@muc.de>
7743
7744 Prevent cc-langs.elc being loaded at run time.
7745
7746 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7747 cc-langs.
7748
4d61f28d 7749 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7750 "(require 'cc-langs)". Quote a form so it will evaluate at
7751 (cc-mode's) compilation time.
7752
11d074b2
MA
77532011-07-22 Michael Albinus <michael.albinus@gmx.de>
7754
7755 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7756 loading. (Bug#9114)
7757
938b94c8
MR
77582011-07-21 Martin Rudalics <rudalics@gmx.at>
7759
7760 * window.el (display-buffer-pop-up-window)
7761 (display-buffer-pop-up-side-window)
7762 (display-buffer-in-side-window): Call display-buffer-set-height
7763 and display-buffer-set-width after setting the new window's
b796c9b7 7764 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7765
bfa4f190
SS
77662011-07-20 Sam Steingold <sds@gnu.org>
7767
7768 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7769 (etags-tags-included-tables): Call `convert-standard-filename' on
7770 the file names contained in TAGS so that windows Emacs can handle
7771 TAGS files created by cygwin ctags.
7772
8ca42262
LMI
77732011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7774
7775 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7776 which apparently didn't work.
7777
5db2afd2 77782011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7779
5db2afd2
RW
7780 * proced.el (proced-send-signal): For *Marked Processes* buffer
7781 put point at beginning of buffer.
7782
92e15d10
SB
77832011-07-19 Stephen Berman <stephen.berman@gmx.net>
7784
7785 * proced.el (proced-format): Make header lines align with the text
7786 (bug#1779).
7787
1bfd59e5
LMI
77882011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7789
7790 * view.el (view-buffer): Allow running in `special' modes if we're
7791 visiting a file (bug#8615).
7792
f5aae37c
MR
77932011-07-19 Martin Rudalics <rudalics@gmx.at>
7794
7795 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7796 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7797 New functions.
f5aae37c
MR
7798 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7799 more accurately.
7800
bf2c1571
AM
78012011-07-18 Alan Mackenzie <acm@muc.de>
7802
7803 Fontify declarators properly when, e.g., a jit-lock chunk begins
7804 inside a declaration.
7805
7806 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7807
b796c9b7
SM
7808 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7809 New function.
bf2c1571
AM
7810 (c-complex-decl-matchers): Insert reference to
7811 c-font-lock-enclosing-decls.
7812
7813 * progmodes/cc-engine.el (c-backward-single-comment):
7814 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7815 to nil around calls to (forward-comment -1).
7816
4e190b80
LMI
78172011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
12dc863d
LMI
7819 * image.el (put-image): Doc typo fix.
7820
a762e966
LMI
7821 * progmodes/etags.el (tags-search): Doc typo fix.
7822
4e190b80
LMI
7823 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7824 password if we get errors 550 to 554.
7825
f019fb21
LMI
78262011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827
b796c9b7 7828 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7829
81746738
LMI
7830 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7831 indentation character (bug#6380).
7832
3ee3a1b5
LMI
7833 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7834
c82f64de
LMI
7835 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7836 to clarify what the problem is (bug#4291).
7837
f019fb21
LMI
7838 * simple.el (current-kill): Clarify what
7839 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7840 (auto-fill-mode): Document `auto-fill-function' in relation to
7841 `auto-fill-mode' (bug#2470).
f019fb21 7842
0794775d
LM
78432011-07-16 Lawrence Mitchell <wence@gmx.li>
7844
7845 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7846 method if slot is read-only (bug#9035).
7847
be39b8cc
MR
78482011-07-16 Martin Rudalics <rudalics@gmx.at>
7849
b796c9b7 7850 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7851 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7852 selected before, see discussion of (Bug#8615), (Bug#6954).
7853 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7854
6ccf7859
GM
78552011-07-15 Glenn Morris <rgm@gnu.org>
7856
7857 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7858 Respect help-form.
6ccf7859 7859
87e86684
LM
78602011-07-09 Lawrence Mitchell <wence@gmx.li>
7861
7862 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7863 (gnutls-negotiate): Use it.
7864
d6066239
LMI
78652011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7866
b796c9b7
SM
7867 * net/gnutls.el (gnutls-negotiate):
7868 Upcase `gnutls-algorithm-priority'.
d6066239 7869
bd23ebc0
GM
78702011-07-15 Glenn Morris <rgm@gnu.org>
7871
c65bca65
GM
7872 * jka-compr.el (jka-compr-verbose): Move from here...
7873 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7874 Add missing :version tag.
7875 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7876
478615cc
LMI
78772011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878
7b41decb
LMI
7879 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7880 (gnutls-negotiate): Use it.
7881
dbc44fcd
LMI
7882 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7883
06789f97
LMI
7884 * info.el (Info-beginning-of-buffer): New command.
7885 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7886 announcing `b' as the key (bug#8325).
ab896c37 7887 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7888
c39da690
LMI
7889 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7890
3aa5f34b
LMI
7891 * international/mule-cmds.el
7892 (describe-specified-language-support): Make the error message
7893 clearer (bug#8905).
7894
4bf0979f
LMI
7895 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7896
478615cc
LMI
7897 * isearch.el (isearch-barrier): Add a doc string, since it's
7898 mentioned in a function doc string (bug#8678).
7899
75c68aa1
MR
79002011-07-15 Martin Rudalics <rudalics@gmx.at>
7901
7902 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7903 buffer argument (Bug#9083) and self-identifying label argument.
7904
a7c33da2
GM
79052011-07-15 Glenn Morris <rgm@gnu.org>
7906
7907 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7908
2f5c6024
LMI
79092011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7910
7911 * man.el (Man-fontify-manpage): Fix message when formatting the
7912 man page (bug#7929).
7913
0bb23927 79142011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7915
7916 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7917 argument LRM; if non-nil, append an invisible LRM character to the
7918 buffer name.
7919 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7920 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7921 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7922 paragraph direction.
cce4b0a7 7923
621ef9ab
LMI
79242011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7925
d1583c48
LMI
7926 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7927 the man page name (bug#7929).
7928
6a57fb5f
LMI
7929 * image.el (put-image): Mention the `put-image' overlay property
7930 (bug#7834).
7931
d7956b14
LMI
7932 * scroll-bar.el (set-scroll-bar-mode): Mention that
7933 `scroll-bar-mode' lists the values (bug#7772).
7934
5b2d4a66
LMI
7935 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7936 command (bug#7729).
7937
7509a874
LMI
7938 * rect.el (apply-on-rectangle): Return the point after the last
7939 operation.
7940 (string-rectangle): Go to the point after the last operation
7941 (bug#7522).
7942
4fe74b19
LMI
7943 * printing.el (pr-toggle-region): Clarify the documentation
7944 slightly (bug#7493).
7945
b796c9b7
SM
7946 * time.el (display-time-update):
7947 Allow `display-time-mail-function' to return nil (bug#7158).
7948 Fix suggested by Detlev Zundel.
ab283561 7949
fc233c9d
LMI
7950 * vc/diff.el (diff): Clarify the order the file names are read
7951 (bug#7111).
7952
43f5740b
LMI
7953 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7954 the doc string (bug#7015).
7955
f2182a76
LMI
7956 * font-lock.el (font-lock-maximum-decoration): Mention what
7957 numeric levels mean (bug#6935).
7958
621ef9ab
LMI
7959 * startup.el (initial-buffer-choice): Don't mention the `none'
7960 selection, which is against policy.
7961
adc47434
MR
79622011-07-14 Martin Rudalics <rudalics@gmx.at>
7963
b796c9b7
SM
7964 * window.el (display-buffer-normalize-special):
7965 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7966
7e5bfb8f
EZ
79672011-07-14 Eli Zaretskii <eliz@gnu.org>
7968
7969 * subr.el (version<, version<=, version=): Mention "-CVS" and
7970 "-12345" alpha version numbers.
7971
27fa387a
CY
79722011-07-14 Chong Yidong <cyd@stupidchicken.com>
7973
7974 * bindings.el: Add advertised binding for set-mark-command
7975 (Bug#5772).
7976
8bdfa064
CY
79772011-07-14 Chong Yidong <cyd@stupidchicken.com>
7978
7979 * bindings.el (mode-line-other-buffer):
7980 * bookmark.el (bookmark-bmenu-2-window):
7981 * bs.el (bs-cycle-next, bs-cycle-previous):
7982 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7983 switch-to-buffer.
7984
7985 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7986 Delete.
8bdfa064 7987
5eba16a3
JB
79882011-07-14 Juanma Barranquero <lekktu@gmail.com>
7989
7990 * follow.el (follow-debug-message, follow-redisplay):
7991 * jka-cmpr-hook.el (with-auto-compression-mode):
7992 Fix typos in docstrings.
7993
15853710
LMI
79942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7995
a28e4607
LMI
7996 * subr.el (with-silent-modifications): Clarify somewhat what the
7997 macro inhibits (bug#6525).
7998
15853710
LMI
7999 * simple.el (eval-expression): Note what it does if called
8000 interactively (bug#6495).
8001
bee0fcef
CY
80022011-07-13 Chong Yidong <cyd@stupidchicken.com>
8003
b796c9b7
SM
8004 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8005 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8006
8007 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8008 Remove switch-to-buffer.
8009
58274504
LMI
80102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8011
bd2fcc8d
LMI
8012 * files.el (make-directory): Clarify that an error will be raised
8013 if there's an error (bug#6397).
8014
0f04b32c
LMI
8015 * startup.el (initial-buffer-choice): Add `none' as a choice
8016 (bug#6234).
8017
465c5fc8
LMI
8018 * subr.el (add-hook): Clarify section about buffer-local hooks
8019 (bug#6218).
8020
58274504
LMI
8021 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8022
bead9a43
JB
80232011-07-13 Juanma Barranquero <lekktu@gmail.com>
8024
8025 * tabify.el (untabify): Preserve the current column so that point
8026 doesn't move (bug#6032).
8027
3af98a7b
LMI
80282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8029
b796c9b7
SM
8030 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8031 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8032
6240145a
GM
80332011-07-13 Glenn Morris <rgm@gnu.org>
8034
8035 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8036 (dired-insert-directory): Give a message the first time
8037 if ls is found not to support --dired.
8038
1d8c2ccc
LMI
80392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8040
8041 * simple.el (toggle-truncate-lines): Clarify what is toggled
8042 (bug#5580). Text by Drew Adams.
8043
5fc4038e
CY
80442011-07-13 Chong Yidong <cyd@stupidchicken.com>
8045
8046 * simple.el (blink-matching-open): Make the error message from the
8047 last change less verbose.
8048
bf6012e5
DN
80492011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8050
8051 * font-lock.el (font-lock-comment-face): Use the high contrast
8052 "yellow" color for font-lock-comment-face on low color terminals
8053 using a dark background color (bug#4221).
8054
343c3b5a
LMI
80552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8056
7e9505c5
LMI
8057 * dired.el (dired-insert-set-properties): Make the doc string
8058 reflect what it does now (bug#5325).
8059
c26fdcf5
LMI
8060 * simple.el (blink-matching-open): Say that we were unable to find
8061 the match within the limit, if we're limited (bug#5122).
8062
bb388cc5
LMI
8063 * international/mule-cmds.el (prefer-coding-system): Add an
8064 example (bug#4869).
8065
343c3b5a
LMI
8066 * progmodes/etags.el (tags-search): Document `file-list-form'
8067 (bug#4731).
8068
2a517d45
LM
80692011-07-13 Lawrence Mitchell <wence@gmx.li>
8070
8071 * net/browse-url.el (browse-url-default-browser)
8072 (browse-url-browser-function): Make the default browser choice a
8073 bit more logical (bug#4300). Also clean up the doc string.
8074
b6c78ef2
JB
80752011-07-13 Juanma Barranquero <lekktu@gmail.com>
8076
8077 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8078 binary endings (bug#4440).
8079
1c4dd947
LMI
80802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8081
a2014063
LMI
8082 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8083 which can be pretty annoying (bug#8971).
8084
9c9c2d88
LMI
8085 * jka-compr.el (jka-compr-verbose): New variable, and use
8086 throughout (bug#8971).
8087
1c4dd947
LMI
8088 * info.el (Info-find-file): Fall back on the installation
8089 directory if we can't find the info node anywhere else.
8090
a1c9f41b
SO
80912011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8092
8093 * vc/vc.el (vc-revert-file):
8094 Don't set file time-stamp in the past. (Bug#5181)
8095
536f3d36
LMI
80962011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8097
7152b011
LMI
8098 * files.el (after-find-file): Give a better error message when
8099 trying to find a symlink that points to a file that doesn't exist
8100 (bug#4398).
8101
536f3d36
LMI
8102 * progmodes/cc-vars.el: Remove (probably) misleading comment
8103 (bug#4396).
8104
460c0fba
JB
81052011-07-12 Johan Bockgård <bojohan@gnu.org>
8106
8107 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8108
7a6bda45
CY
81092011-07-12 Chong Yidong <cyd@stupidchicken.com>
8110
8111 * mouse-sel.el: Hack restoring functionality, while keeping
8112 compatibility with 2010-07-03 changes to mouse selection.
8113 (mouse-sel-primary-overlay): New var.
8114 (mouse-sel-selection-alist): Use it.
8115 (mouse-sel-mode): Doc fix; remove points that are default features
8116 of mouse.el.
8117
c79598ef
JB
81182011-07-12 Johan Bockgård <bojohan@gnu.org>
8119
8120 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8121 Fix previous fix (bug#2490).
8122
ff8be6ef
RW
81232011-07-12 Roland Winkler <winkler@gnu.org>
8124
b796c9b7
SM
8125 * textmodes/bibtex.el (bibtex-initialize):
8126 Use pop-to-buffer-same-window.
ff8be6ef
RW
8127 (bibtex-search-entries): Fix interactive call.
8128
296ba3ee
LMI
81292011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8130
f5242a02 8131 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8132 Fontise bytecomp Error lines more correctly (bug#2490).
8133 Fix suggested by Johan Bockgård.
f5242a02 8134
296ba3ee
LMI
8135 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8136
8137 * dired-x.el (dired-guess-default): Use `delete-dups'.
8138
f69fd0d2
CY
81392011-07-12 Chong Yidong <cyd@stupidchicken.com>
8140
8141 * dired.el (dired-mark-prompt):
8142 * dired-aux.el (dired-read-shell-command): Doc fix.
8143
eab5dc07
LMI
81442011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8145
b796c9b7
SM
8146 * mail/sendmail.el (sendmail-query-once):
8147 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8148 emacs -Q.
8149
8150 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8151
eab5dc07
LMI
8152 * cus-edit.el (custom-file): Take an optional no-error variable.
8153 (customize-save-variable): Set the variable, and give a warning if
8154 running under "emacs -q".
8155
a1e65d42
JB
81562011-07-11 Juanma Barranquero <lekktu@gmail.com>
8157
8158 * loadhist.el (unload-feature-special-hooks):
8159 Add `auto-coding-functions', `fill-nobreak-predicate' and
8160 `find-directory-functions' (bug#5327).
8161
1d52da10
LMI
81622011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8163
be958f1d
LMI
8164 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8165
5bedb26c
LMI
8166 * cus-edit.el (custom-guess-name-alist): -alist variables should
8167 use the `alist' type (bug#3120). Suggested by Drew Adams.
8168
1d52da10
LMI
8169 * printing.el: Add documentation to all the `pr-toggle-' commands.
8170
cd394be1 81712011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8172
8173 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8174 backends where it makes sense (bug#2623).
8175
dcc88d8a
LMI
81762011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8177
c3de9feb
LMI
8178 * dired-x.el (dired-guess-default): Remove duplicate shell command
8179 entries (bug#2028).
8a93078b 8180 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8181 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8182
dcc88d8a
LMI
8183 * subr.el (remove-duplicates): New conveniency function.
8184
505e3645
LMI
81852011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8186
8187 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8188 (bug#1526).
8189
81902011-07-10 Martin Rudalics <rudalics@gmx.at>
8191
8192 * window.el (display-buffer-normalize-default): Don't invert
8193 meaning of even-window-heights. Reported by Eli Zaretskii
8194 <eliz@gnu.org>.
8195
455e4fa1
BR
81962011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8197
8198 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8199
8e0bc3e9
CY
82002011-07-10 Chong Yidong <cyd@stupidchicken.com>
8201
8202 * window.el (display-buffer): Fix arguments to
8203 display-buffer-reuse-window in last change.
8204
fa7c3228
CY
8205 * faces.el (link): Use a less saturated blue on light backgrounds.
8206
8207 * startup.el (fancy-startup-text, fancy-about-text)
8208 (fancy-startup-tail): Use font-lock faces, for background safety.
8209
c0a7f300
BN
82102011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8211
b796c9b7
SM
8212 * emulation/viper-cmd.el (viper-change-state-to-vi):
8213 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8214
4dc2a129
MR
82152011-07-09 Martin Rudalics <rudalics@gmx.at>
8216
8217 * window.el (display-buffer-default-specifiers): Remove.
8218 (display-buffer-macro-specifiers): Remove default specifiers.
8219 (display-buffer-alist): Default to nil.
b796c9b7 8220 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8221 (display-buffer-pop-up-window): Allow splitting internal
8222 windows. Check whether a live window was created.
8223 (display-buffer-other-window-means-other-frame)
8224 (display-buffer-normalize-arguments): Rename to
8225 display-buffer-normalize-argument and rewrite. Set the
8226 other-window specifier.
8227 (display-buffer-normalize-special): New function.
8228 (display-buffer-normalize-options): Rename to
8229 display-buffer-normalize-default and rewrite.
8230 (display-buffer-normalize-options-inhibit): Remove.
8231 (display-buffer-normalize-specifiers): Rewrite.
8232 (display-buffer): Process other-window specifier and call
8233 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8234 more faithfully.
b796c9b7 8235 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8236 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8237 (display-buffer-in-window, display-buffer-alist-set):
8238 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8239 <tassilo@member.fsf.org>.
8240
2d43b8c9
LL
82412011-07-09 Leo Liu <sdl.web@gmail.com>
8242
8243 * register.el (insert-register): Restore accidental change on
8244 2011-06-26. (Bug#9028)
8245
7f9b7c53
GM
82462011-07-09 Glenn Morris <rgm@gnu.org>
8247
8248 * subr.el (remq): Handle the empty list. (Bug#9024)
8249
f042cfd8
AS
82502011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8251
8252 * mail/sendmail.el (send-mail-function): No longer delay custom
8253 initialization.
8254 * custom.el (custom-initialize-delay): Doc fix.
8255
856b2f11
SM
82562011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8259
afae1d68
MA
82602011-07-08 Michael Albinus <michael.albinus@gmx.de>
8261
8262 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8263 human-friendly prompt.
8264
0757af94
SM
82652011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8268 provided by a particular plugin.
8269
d760b731
LMI
82702011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8271
8272 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8273 save customizations (with "emacs -Q"), just set the variable
8274 instead of erroring out.
8275
8276 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8277
cd79ce90
JL
82782011-07-08 Juri Linkov <juri@jurta.org>
8279
8280 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8281 (archive-zip-update-case): Use 7z if found by `executable-find'.
8282 The order of searching the available programs is the same as in
8283 `archive-zip-extract' (bug#8968).
8284
14cc04aa
CY
82852011-07-07 Chong Yidong <cyd@stupidchicken.com>
8286
8287 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8288 (menu-bar-options-menu): Tweak descriptions.
8289
0a1848ec
LMI
82902011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8291
8292 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8293 menu items into verb phrases (bug#1421). Also refill to fit under
8294 80 columns.
8295
f5bd0689
CY
82962011-07-07 Chong Yidong <cyd@stupidchicken.com>
8297
538e85c6
CY
8298 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8299 (Info-read-node-name): Doc fix (Bug#1084).
8300
f5bd0689
CY
8301 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8302 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8303 (end-of-sexp, beginning-of-sexp)
8304 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8305 (forward-symbol, forward-same-syntax, word-at-point)
8306 (sentence-at-point): Doc fix (Bug#1144).
8307
56ec5115
LMI
83082011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8309
f3f8e37f
LMI
8310 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8311 should cover it (bug#1281).
8312
0757af94 8313 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8314
e9fce1ac 8315 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8316 negotiation fails, then possibly try again with a non-encrypted
8317 connection (bug#9017).
8318
56ec5115
LMI
8319 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8320 be used.
8321
c2f9aec8
RS
83222011-07-07 Richard Stallman <rms@gnu.org>
8323
8324 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8325 property, and handle its changed format.
8326 Look for the correct line number.
8327 Use file's line contents (but not past first =) to find
8328 correct line in message.
8329
ef7b981d 83302011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8331
8332 * international/characters.el (build-unicode-category-table):
8333 Delete it.
0757af94 8334 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8335
0757af94 8336 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8337 to src/chartab.c.
8338 (get-char-code-property): Call unicode-property-table-internal to
8339 load a file. Call get-unicode-property-internal where necessary.
8340 (put-char-code-property): Call unicode-property-table-internal to
8341 load a file. Call put-unicode-property-internal where necessary.
8342 put-unicode-property-internal where necessary.
0757af94
SM
8343 (char-code-property-description):
8344 Call unicode-property-table-internal to load a file.
c805dec0
KH
8345
8346 * international/charprop.el:
8347 * international/uni-bidi.el:
8348 * international/uni-category.el:
8349 * international/uni-combining.el:
8350 * international/uni-comment.el:
8351 * international/uni-decimal.el:
8352 * international/uni-decomposition.el:
8353 * international/uni-digit.el:
8354 * international/uni-lowercase.el:
8355 * international/uni-mirrored.el:
8356 * international/uni-name.el:
8357 * international/uni-numeric.el:
8358 * international/uni-old-name.el:
8359 * international/uni-titlecase.el:
8360 * international/uni-uppercase.el: Regenerate.
8361
8362 * loadup.el: Load international/charprop.el before
8363 international/characters.
8364
e14b388a
CY
83652011-07-07 Chong Yidong <cyd@stupidchicken.com>
8366
8367 * window.el (next-buffer, previous-buffer): Signal an error if
8368 called from a minibuffer window.
8369
8370 * bindings.el: Revert 2011-07-04 change.
8371
354cf0ba
RS
83722011-07-06 Richard Stallman <rms@gnu.org>
8373
8374 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8375 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8376 Treat markers like ints.
8377 (rmail-mime-entity): Doc fix.
8378
a48868a7
LMI
83792011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8380
4906cd3d
LMI
8381 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8382 defcustom again for backwards compatibility.
8383
e0457abe
LMI
8384 * simple.el (shell-command-on-region): Fill.
8385
d67f7e1f
LMI
8386 * dired-aux.el (dired-kill-line): Add a doc string.
8387
fe204702
LMI
8388 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8389 to "\\sw\\|\\s_" (bug#358).
8390
a48868a7
LMI
8391 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8392 (dired-unmark-backward): Ditto.
8393 (dired-flag-backup-files): Ditto.
8394
8395 * dired-x.el (dired-mark-sexp): Ditto.
8396
aa8a705c
RS
83972011-07-06 Richard Stallman <rms@gnu.org>
8398
8399 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8400 (rmail-mime-entity): New arg TRUNCATED.
8401 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8402 New functions.
8403 (rmail-mime-save): Warn if entity is truncated.
8404 (rmail-mime-toggle-hidden): Likewise, for showing.
8405 (rmail-mime-process-multipart): Record when an entity is truncated.
8406
a9a936b9
RS
8407 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8408 if ENTITY is a string.
8409
1f2b92cb
LMI
84102011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8411
f4f73198 8412 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8413 of faces when `M-C-x'-ing their definitions (bug#8378).
8414 Also clean up the code slightly.
f4f73198 8415
12b16734 8416 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8417 because that makes the colors go away.
12b16734 8418
f0691d22
LMI
8419 * mail/sendmail.el (send-mail-function): Change the default to
8420 `sendmail-query-once'.
9e87df06 8421 (sendmail-query-once): Add an autoload cookie.
f0691d22 8422
1f2b92cb
LMI
8423 * net/network-stream.el (network-stream-open-starttls): Try using
8424 a plain connection even if the server offered STARTTLS, and we
8425 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8426 capability. This should make smtpmail.el work in slightly more
8427 configurations.
8428
1cdd2a1b
MA
84292011-07-06 Michael Albinus <michael.albinus@gmx.de>
8430
8431 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8432 New defun.
8433 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8434
fbcc67e2
MM
84352011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8436
8437 * progmodes/sql.el: Version 3.0
0757af94 8438 (sql-product-alist): Add product :completion-object,
fbcc67e2 8439 :completion-column, and :statement attributes.
0757af94 8440 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8441 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8442 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8443 ansi keywords.
8444 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8445 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8446 (sql-oracle-show-reserved-words): New function for development.
8447 (sql-product-font-lock): Simplify for source code buffers.
8448 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8449 New functions.
8450 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8451 (sql-mode-map): Add statement movement functions.
8452 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8453 New variable.
fbcc67e2
MM
8454 (sql-statement-regexp, sql-beginning-of-statement)
8455 (sql-end-of-statement, sql-signum): New functions.
0757af94 8456 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8457 (sql-show-sqli-buffer): Bug fix.
8458 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8459 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8460 with sql-interactive-mode.
8461 (sql-save-connection): Save buffer local settings.
0757af94 8462 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8463 (sql-product-interactive): Bug fix.
8464 (sql-preoutput-hold): New variable.
8465 (sql-interactive-remove-continuation-prompt): Bug fixes.
8466 (sql-debug-redirect): New variable.
8467 (sql-str-literal): New function.
8468 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8469 Redesign.
fbcc67e2
MM
8470 (sql-oracle-save-settings, sql-oracle-restore-settings)
8471 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8472 (sql-completion-object, sql-completion-column)
8473 (sql-completion-sqlbuf): New variables.
8474 (sql-build-completions-1, sql-build-completions)
8475 (sql-try-completion): New functions.
8476 (sql-read-table-name): Use them.
8477 (sql-contains-names): New buffer local variable.
8478 (sql-list-all, sql-list-table): Use it.
8479 (sql-oracle-completion-types): New variable.
8480 (sql-oracle-completion-object, sql-sqlite-completion-object)
8481 (sql-postgres-completion-object): New functions.
8482
d4eaeab1
GM
84832011-07-06 Glenn Morris <rgm@gnu.org>
8484
8485 * window.el (pop-to-buffer): Doc fix.
8486
322b7dab 84872011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8488
8489 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8490
322b7dab 84912011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8492
322b7dab 8493 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8494
322b7dab 8495 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8496
605dd5bf
CY
84972011-07-05 Chong Yidong <cyd@stupidchicken.com>
8498
8499 * button.el (button): Inherit from link face. Suggested by Dan
8500 Nicolaescu.
8501
7dbfa719
SM
85022011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8503
3db614b0
SM
8504 * progmodes/gdb-mi.el: Fit in 80 columns.
8505 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8506 switch-to-buffer.
8507
7dbfa719
SM
8508 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8509 if imenu is simply not configured (bug#8941).
8510
919d884a
KM
85112011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8512
8513 * allout.el (allout-post-undo-hook): New allout outline-change
8514 event hook to signal undo activity.
8515 (allout-post-command-business): Run allout-post-undo-hook if an
8516 undo just occurred.
7dbfa719
SM
8517 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8518 * allout-widgets.el (allout-widgets-after-undo-function):
8519 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8520 in the vicinity of an undo.
8521 (allout-widgets-mode): Include allout-widgets-after-undo-function
8522 on the new allout-post-undo-hook.
8523
450a0f09
SM
85242011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8525
8526 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8527 Let define-derived-mode define it.
8528 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8529 cycles of abbrev-table inheritance (bug#8998).
8530
2de69e00
RW
85312011-07-05 Roland Winkler <winkler@gnu.org>
8532
8533 * textmodes/bibtex.el: Add support for biblatex.
8534 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8535 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8536 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8537 (bibtex-entry-alist, bibtex-field-alist): New variables.
8538 (bibtex-entry-field-alist): Obsolete alias for
8539 bibtex-BibTeX-entry-alist.
8540 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8541 (bibtex-set-dialect): New command.
8542 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8543 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8544 Bind via bibtex-set-dialect.
2de69e00
RW
8545 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8546 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8547 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8548 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8549 Define via bibtex-set-dialect.
450a0f09
SM
8550 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8551 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8552 (bibtex-vec-push, bibtex-vec-incr): New functions.
8553 (bibtex-format-entry, bibtex-field-list)
8554 (bibtex-print-help-message, bibtex-validate)
8555 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8556
2dcdbdd9
SM
85572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8558
8559 * progmodes/compile.el (compilation-goto-locus):
8560 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8561 * bs.el (bs-cycle-next, bs-cycle-previous):
8562 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8563 * bindings.el (mode-line-other-buffer):
8564 * autoinsert.el (auto-insert):
8565 * arc-mode.el (archive-extract):
8566 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8567
b27640fe
JB
85682011-07-05 Juanma Barranquero <lekktu@gmail.com>
8569
8570 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8571 Fix check of `emacs-lock-unlockable-modes'.
8572 Coerce true values of `emacs-lock--try-unlocking' to t.
8573
53bbe3ad
JB
85742011-07-05 Juanma Barranquero <lekktu@gmail.com>
8575
8576 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8577 * emacs-lock.el: New file.
8578
1d3cdbc7
JD
85792011-07-05 Julien Danjou <julien@danjou.info>
8580
8581 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8582 than `boundp' to check if face is set.
8583
9173deec
JB
85842011-07-05 Juanma Barranquero <lekktu@gmail.com>
8585
8586 * register.el (registerv-make):
8587 * window.el (window-min-height): Fix typos in docstrings.
8588
869795d6
JD
85892011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8590
9173deec 8591 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8592 Update doc string.
8593
b768cdcd
JB
85942011-07-04 Juanma Barranquero <lekktu@gmail.com>
8595
8596 * server.el (server-execute): Catch quit and call
8597 `server-return-error' to pass the error back to emacsclient and
8598 close the connection (bug#8942).
8599
13aa217b
KM
86002011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8601
8602 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8603 insecure exception for current topic. Also note that auto-saves
8604 are handled differently.
8605
5d3385a0 8606 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8607 State variables for tracking auto-save inhibition situation.
8608
8609 (allout-write-contents-hook-handler): Rename from
8610 'allout-write-file-hook-handler', and describe how it depends on
8611 write-contents-functions sensitivity to non-nil value to prevent
8612 file write.
8613
8614 (allout-auto-save-hook-handler): Remove. auto-save does not check
8615 this in individual buffers, only in the starting buffer, so this
8616 is not the right way for us to inhibit auto-save in a buffer
8617 according to its condition.
8618
8619 (allout-mode): Use new allout-write-contents-hook-handler, and
8620 only with write-contents-functions. Remove auto-save provisions -
8621 they're implemented elsewhere.
8622
8623 (allout-before-change-handler): If undo is in progress, note that
8624 for attention of allout-post-command-business.
8625
8626 (allout-post-command-business): If the command we're following was
8627 an undo, check for change in the status of encrypted items and
8628 adjust auto-save inhibitions accordingly.
8629
8630 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8631 according to whether there are or aren't any plain-text topics
8632 pending encryption.
8633
2dcdbdd9 8634 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8635 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8636 if there are plain-text topics pending encryption.
13aa217b
KM
8637
8638 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8639 buffer-saved-size and some allout state to not inhibit auto-saves
8640 if there are no longer any plain-text topics pending encryption.
8641
0757af94
SM
8642 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8643 No longer provide for exemption of the current topic.
13aa217b 8644
ac89b32c
JL
86452011-07-04 Juri Linkov <juri@jurta.org>
8646
8647 Add 7z operations to delete and save changed members (bug#8968).
8648 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8649 New defcustoms.
8650 (archive-7z-write-file-member): New function.
8651 (archive-7z-summarize): Fix the number of dashes in the
8652 listing output.
8653
8fa39615
SM
86542011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8657 (bug#8958).
8658
2f11b3f1
CY
86592011-07-04 Chong Yidong <cyd@stupidchicken.com>
8660
d66fef2b
CY
8661 * bindings.el: Ignore next-buffer and previous-buffer in
8662 minibuffer-local-map.
8663
2f11b3f1
CY
8664 * font-lock.el (font-lock-builtin-face): Change light background
8665 color to dark slate blue (Bug#6693).
8666
f932a347
WD
86672011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8668
8669 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8670
c8af70e1
SM
86712011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8672
8673 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8674 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8675 Add switch-to-buffer.
8676
f158badc
LMI
86772011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8678
8679 * isearch.el (isearch-search-fun-function): Clarify further the
8680 meaning of the function returned.
8681
6d95bd46
MA
86822011-07-04 Michael Albinus <michael.albinus@gmx.de>
8683
8684 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8685
8686 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8687 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8688 Use it.
8689 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8690 `tramp-default-remote-path' does not exist.
8691 (tramp-send-command-and-read): New optional argument NOERROR.
8692 (tramp-open-connection-setup-interactive-shell)
8693 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8694 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8695 (tramp-process-sentinel): Flush also process' connection property.
8696 (tramp-sh-handle-start-file-process): Do not set process
8697 sentinel. It is done now ...
8698 (tramp-maybe-open-connection): ... here. (Bug#8929)
8699
909e6b67
MK
87002011-07-04 MON KEY <monkey@sandpframing.com>
8701
8702 * play/animate.el (animate-string): Doc fixes and allow changing
8703 the buffer name (bug#5417).
8704
87052011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8706
c8af70e1 8707 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8708
f34755dc
PE
87092011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8710
396cec72
PE
8711 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8712 This is simpler and helps future-proof the code.
8713 (timer-until): Use time-subtract and float-time.
08235028 8714 (timer--time-less-p): Use time-less-p.
f34755dc 8715
56e6cc31
JB
87162011-07-04 Juanma Barranquero <lekktu@gmail.com>
8717
3abb79e5
JB
8718 * type-break.el (timep): Use the value of `float-time' to avoid a
8719 byte-compiler warning.
8720
56e6cc31
JB
8721 * server.el (server-eval-and-print): Return any result, even nil.
8722
7b9430b4
PE
87232011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8724
8725 * type-break.el: Accept time formats that the builtins accept.
8726 (timep, type-break-time-difference): Accept any format that
8727 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8728 This is simpler and helps future-proof the code.
8729 (type-break-time-difference): Round rather than ignoring
8730 subseconds components.
8731
3034e9e7
LMI
87322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8733
8734 * info.el (Info-apropos-matches): Make non-interactive, since it
8735 doesn't seem to do anything useful as a command (bug#8829).
8736
1485f4c0
CY
87372011-07-03 Chong Yidong <cyd@stupidchicken.com>
8738
8739 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8740 Move from faces.el.
1485f4c0
CY
8741 (frame-default-terminal-background): New function.
8742
8743 * custom.el (custom-push-theme): Don't record faces in `changed'
8744 theme; this doesn't work correctly for per-frame face settings.
8745 (disable-theme): Use face-set-after-frame-default to reset faces.
8746 (custom--frame-color-default): New function.
8747
9fa3dd45
LMI
87482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8749
c8af70e1 8750 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8751 (bug#8769).
8752
6cbbc20c
KR
87532011-03-29 Kevin Ryde <user42@zip.com.au>
8754
8755 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8756 `perl-Test2' extend to match possible "fail #N" rep count
8757 (bug#8377).
8758
c7f98048
LMI
87592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8760
65676592
LMI
8761 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8762 `smtpmail-via-smtp' now returns the error instead of nil.
8763
c7f98048
LMI
8764 * isearch.el (isearch-search-fun-function): Clarify the doc string
8765 (bug#8101).
8766
56e6cc31 87672011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8768
8769 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8770 unnecessary spaces (bug#8987).
8771
2b216704
LMI
87722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8773
8774 * net/network-stream.el (open-network-stream): Use the
8775 :end-of-capability command thoughout.
8776
87772011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8778
8779 * net/network-stream.el (open-network-stream): Add the
8780 :end-of-capability command parameter, used by pop3.el.
8781
36adf6ce
LMI
87822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8783
1ca0da0e
LMI
8784 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8785
fc00f69c
LMI
8786 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8787 for list)" (bug#6475).
8788
28fd8759 8789 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8790 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8791 an error (bug#6297).
8792
0dd8b6da
LMI
8793 * man.el (Man-reference-regexp): Allow matching possible
8794 word-wrapped references (bug#6289).
8795
ce1438d6
LMI
8796 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8797 for consistency with the other vc buffers (bug#6197).
8798 (vc-checkin): Ditto.
8799
8800 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8801
36adf6ce
LMI
8802 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8803
e83cc1f7
LMI
88042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8805
8a20ca4c
LMI
8806 * custom.el (defcustom): Clarify that :set is only used in the
8807 Customize user interface (bug#6089).
8808
83319045
LMI
8809 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8810 associated with a file, refuse to run instead of erroring out
8811 (bug#6084).
8812
a8392169
LMI
8813 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8814 the doc string, since it appears that using `fill-column' always
8815 controls the width (bug#7845).
8816
e83cc1f7
LMI
8817 * simple.el (shell-command-on-region): Say where the error output
8818 went if `shell-command-default-error-buffer' is set (bug#6857).
8819
e47ca23b
KM
88202011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8821
8822 * allout.el (allout-yank-processing): Adjust cursor position for
8823 backwards-deleted space.
8824
8825 (allout-rebullet-heading): Register changes with
8826 allout-exposure-changed-hook, so the modified topic is properly
8827 decorated.
8828
5cf56143
LMI
88292011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8830
08549772
LMI
8831 * minibuffer.el (completion-in-region): Document PREDICATE
8832 (bug#7136).
8833
48e96771
LMI
8834 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8835 of keyword/argument pairs (bug#6904).
8836
c8af70e1
SM
8837 * replace.el (multi-occur):
8838 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8839
e17d05e2
LMI
88402011-07-02 Drew Adams <drew.adams@oracle.com>
8841
8842 * dired.el (dired-mark-if): Make the message about whether it's
8843 marking or unmarking clearer (bug#8523).
8844
063b0e45
LMI
88452011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8846
8847 * disp-table.el (display-table-print-array): New function.
8848 (describe-display-table): Use it to print the vectors more pretty
8849 (Bug#8859).
8850
28545e04
MR
88512011-07-02 Martin Rudalics <rudalics@gmx.at>
8852
8853 * window.el (window-state-get-1): Don't assign clone numbers.
8854 Add clone-of item to list of window parameters.
8855 (window-state-put-2): Don't process clone numbers.
8856 (display-buffer-alist): Fix doc-string.
8857
3349e122
SM
88582011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * subr.el (remq): Don't allocate if it's not needed.
8861 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8862 (keymap--merge-bindings): New functions.
8863 (keymap-canonicalize): Use them to refine the canonicalization.
8864 * minibuffer.el (minibuffer-local-completion-map)
8865 (minibuffer-local-must-match-map): Move initialization from C.
8866 (minibuffer-local-filename-completion-map): Move initialization from C;
8867 don't inherit from anything here.
8868 (minibuffer-local-filename-must-match-map): Make obsolete.
8869 (completing-read-default): Use make-composed-keymap to combine
8870 minibuffer-local-filename-completion-map with either
8871 minibuffer-local-must-match-map or
8872 minibuffer-local-filename-completion-map.
8873
d224ac83
GM
88742011-07-01 Glenn Morris <rgm@gnu.org>
8875
3de63bf8
GM
8876 * type-break.el (type-break-time-sum): Use dolist.
8877
d224ac83
GM
8878 * textmodes/flyspell.el (flyspell-word-search-backward):
8879 Replace CL function.
8880
1a1e3f32
SM
88812011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8882
fe3f64d5
SM
8883 * mouse.el (mouse--strip-first-event): New function.
8884 (function-key-map): Use it to map fringe clicks to normal clicks
8885 by default.
8886
eb604e34
SM
8887 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8888 (vc-bzr-revision-completion-table): Add support for annotate and date.
8889
1a1e3f32
SM
8890 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8891 inherit from parent.
8892
5bd35902
LMI
88932011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8894
ace6c69c 8895 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8896 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8897
191e2bed
LMI
8898 * dired.el (dired-mode): Fix up the doc string as suggested by
8899 Drew Adams (bug#8817).
8900
5bd35902
LMI
8901 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8902 cookie, since the manual says that it should be possible to add
8903 this function to `find-file-hook' (bug#8709).
8904
eee8207a
TZ
89052011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8906
8907 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8908 here. Noted Ted Zlatanov as the maintainer.
8909 (cfengine-common-settings, cfengine-common-syntax): New functions
8910 to set up common things between `cfengine-mode' and
8911 `cfengine3-mode'.
8912 (cfengine3-mode): New mode.
8913 (cfengine3-defuns cfengine3-defuns-regex
8914 (cfengine3-class-selector-regex cfengine3-category-regex)
8915 (cfengine3-vartypes cfengine3-font-lock-keywords)
8916 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8917 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8918
36b148cf
MA
89192011-07-01 Michael Albinus <michael.albinus@gmx.de>
8920
8921 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8922
8923 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8924
0bf4ba9a
MR
89252011-07-01 Martin Rudalics <rudalics@gmx.at>
8926
8927 * window.el (same-window-buffer-names, same-window-regexps)
8928 (same-window-p, special-display-frame-alist)
8929 (special-display-popup-frame, special-display-function)
8930 (special-display-buffer-names, special-display-regexps)
8931 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8932 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8933 (split-window-preferred-function, split-height-threshold)
8934 (split-width-threshold, even-window-heights)
8935 (display-buffer-mark-dedicated, window-splittable-p)
8936 (split-window-sensibly, window-safely-shrinkable-p):
8937 Un-obsolete.
8938 (display-buffer): Don't spread args with function specifier
8939 because special-display-popup-frame won't like it.
8940
35837f51
PE
89412011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8942
d0672f86
PE
8943 Time-stamp simplifications and fixes.
8944 These improve accuracy slightly, and future-proof the code
8945 against some potential changes to current-time format.
8946
b9444d97
PE
8947 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8948 by using time-since and float-time.
8949
0ef923dc
PE
8950 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8951 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8952 + NNN microseconds".
8953
2f81380d
PE
8954 * type-break.el (type-break-time-sum): Rewrite using time-add.
8955
845b5c3e
PE
8956 * play/hanoi.el (hanoi-current-time-float): Remove.
8957 All uses replaced by float-time.
8958
ee6f1be0
PE
8959 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8960 This yields a more-accurate answer.
8961 (rng-time-to-float): Remove; no longer needed.
8962
fe955043
PE
8963 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8964
5777162a
PE
8965 * calendar/timeclock.el (timeclock-seconds-to-time):
8966 Defalias to seconds-to-time, since they're the same thing.
8967
3103f8b6 8968 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8969 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8970 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8971
0e61a35f
SM
89722011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * window.el (bury-buffer): Don't iconify the only frame.
8975 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8976 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8977
ddd63a1e
CY
89782011-07-01 Chong Yidong <cyd@stupidchicken.com>
8979
0e61a35f
SM
8980 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8981 Add mouse-yank-primary.
ddd63a1e 8982
055f4923
TZ
89832011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8984
8985 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8986
6a2fb145
SM
89872011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8990 (find-library-name): Use it to find relative load names when provided
8991 absolute file name (bug#8803).
8992
fd4983f2
LMI
89932011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8994
887d14ad
LMI
8995 * textmodes/flyspell.el (flyspell-word): Consider words that
8996 differ only in case as potential doublons (bug#5687).
8997
c53dc7fc
LMI
8998 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8999 Remove two rather uninteresting debugging-like messages to make
9000 debbugs.el more silent.
9001
fd4983f2
LMI
9002 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9003 a password-like phrase.
9004
7a71b18d 90052011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9006
9007 * progmodes/cc-guess.el: New file.
9008
6a2fb145 9009 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9010
9011 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9012 derived from `c-basic-common-init'.
9013
9014 * progmodes/cc-mode.el (top-level): Require cc-guess.
9015 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9016
1fa280a3
LM
90172011-06-30 Lawrence Mitchell <wence@gmx.li>
9018
9019 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9020
e6597158
AM
90212011-06-30 Alan Mackenzie <acm@muc.de>
9022
1fa280a3
LM
9023 * progmodes/cc-engine.el (c-guess-continued-construct):
9024 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9025 lock is disabled. Name this case as "CASE G".
9026
68ba37fb
KM
90272011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9028
9029 * allout.el (allout-yank-processing): Fix injection of extra space
9030 between bullet and non-whitespace character in first topic when
9031 pasting, ensuring that the actual spacing in the pasted topic
9032 following the bullet char is preserved. This extra space was
9033 causing pasted encrypted topics to get a decrypted status even
9034 when the content was actually still encrypted. Now the decryption
9035 status from before the paste is preserved.
9036
9037 (allout-flag-region): Set all allout overlays so they evaporate
9038 when reduced to zero length (evanescent), to prevent overlay
9039 leakage.
9040
887a0b34
GM
90412011-06-30 Glenn Morris <rgm@gnu.org>
9042
94b9acce
GM
9043 * w32-fns.el (w32-charset-info-alist): Declare.
9044
1d9b46d4
GM
9045 * find-dired.el (find-grep-options): Simplify.
9046
cc232200
GM
9047 * term/ns-win.el (ns-set-resource): Declare.
9048
28e77c46
GM
9049 * ses.el (row, col): Declare dynamic variables honestly.
9050
887a0b34
GM
9051 * textmodes/reftex-parse.el (index-tags): Declare.
9052
658d8eb8
CY
90532011-06-30 Chong Yidong <cyd@stupidchicken.com>
9054
9055 * cus-edit.el (customize-push-and-save): New function.
9056
9057 * files.el (hack-local-variables-confirm): Use it.
9058
1fa280a3
LM
9059 * custom.el (load-theme): New arg NO-CONFIRM.
9060 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9061 (custom-enabled-themes): Doc fix.
9062
9063 * cus-theme.el (customize-create-theme)
9064 (custom-theme-merge-theme): Callers to load-theme changed.
9065
bb617717
LMI
90662011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9067
d61bdd5d
LMI
9068 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9069 short URLs have at least one dot in them (bug #7614).
9070
bb617717
LMI
9071 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9072 nil, because using a pty is apparently too slow (bug #895).
9073
2f31f37a
LMI
90742011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9075
9076 * mail/sendmail.el (sendmail-query-once): New function.
9077 (sendmail-query-once-function): New variable.
9078
3076b24e
GM
90792011-06-29 Glenn Morris <rgm@gnu.org>
9080
faf2a174
GM
9081 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9082
3076b24e
GM
9083 * ses.el (top-level): Require cl when compiling.
9084 (ses-set-localvars): Fix error statement.
9085 Call it at compile time to silence a storm of warnings.
9086
5386012d
MR
90872011-06-29 Martin Rudalics <rudalics@gmx.at>
9088
9089 * window.el (normalize-live-buffer): Rename to
9090 window-normalize-buffer.
9091 (normalize-live-frame): Rename to window-normalize-frame.
9092 (normalize-any-window): Rename to window-normalize-any-window.
9093 (normalize-live-window): Rename to window-normalize-live-window.
9094 (make-window-atom): Rename to window-make-atom.
9095 (window-resize-reset): Rename to window--resize-reset.
9096 (window-resize-reset-1): Rename to window--resize-reset-1.
9097 (resize-mini-window): Rename to window--resize-mini-window.
9098 (resize-subwindows-skip-p): Rename to
9099 window--resize-subwindows-skip-p.
9100 (resize-subwindows-normal): Rename to
9101 window--resize-subwindows-normal.
9102 (resize-subwindows): Rename to window--resize-subwindows.
9103 (resize-other-windows): Rename to window--resize-siblings.
9104 (resize-this-window): Rename to window--resize-this-window.
9105 (resize-root-window): Rename to window--resize-root-window.
9106 (resize-root-window-vertically): Rename to
9107 window--resize-root-window-vertically.
9108 (normalize-buffer-to-display): Rename to
9109 window-normalize-buffer-to-display.
9110 (normalize-buffer-to-switch-to): Rename to
9111 window-normalize-buffer-to-switch-to.
9112 Correspondingly update all callers of the functions listed
9113 above.
9114 (display-buffer-alist, display-buffer-normalize-arguments)
9115 (display-buffer-normalize-options, display-buffer)
9116 (display-buffer-alist-set): Use "function" instead of
9117 "fun-with-args".
9118
1176868d
CY
91192011-06-28 Chong Yidong <cyd@stupidchicken.com>
9120
9121 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9122 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9123 debbugs.gnu.org. Mention acknowledgment email.
9124
20a7a65f
LMI
91252011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9126
9127 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9128 buffer multibyteness, since it shouldn't matter.
9129
5f45cca5
MR
91302011-06-28 Martin Rudalics <rudalics@gmx.at>
9131
9132 * window.el (display-buffer-in-side-window): Handle dedicated
9133 windows as in display-buffer-reuse-window.
9134 (display-buffer-normalize-alist): Use value of override
9135 specifier.
9136 (display-buffer-normalize-specifiers): Use value of
9137 other-window-means-other-frame specifier.
9138 (display-buffer-alist): Rewrite some texts in widgets.
9139 (display-buffer): Spread arguments when calling function
9140 specified by fun-with-args.
9141
ad85fe1f
DD
91422011-06-28 Deniz Dogan <deniz@dogan.se>
9143
1fa280a3
LM
9144 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9145 Unnest `let'.
da68c4c8 9146
ad85fe1f
DD
9147 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9148 selectors (Bug#5732).
ec49bd31 9149 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9150
a08cc025
JA
91512011-06-27 Jari Aalto <jari.aalto@cante.net>
9152
9153 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9154 (eshell-ls-date-format): New defcustom.
9155 (eshell-ls-file): Use it.
9156
e2b551c5
SM
91572011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9160
8982b231
KY
91612011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9162
9163 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9164 (ange-ftp-make-tmp-name): New arg.
9165 (ange-ftp-file-local-copy): Use it.
9166
36c9fa27
J
91672011-06-27 Jambunathan K <kjambunathan@gmail.com>
9168
9169 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9170 no-conversion (Bug#8870).
9171
d68443dc
MR
91722011-06-27 Martin Rudalics <rudalics@gmx.at>
9173
9174 * window.el (window-right, window-left, window-child)
9175 (window-child-count, window-last-child)
9176 (window-iso-combination-p, walk-window-tree-1)
9177 (window-atom-check-1, window-tree-1, delete-window)
9178 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9179 new naming conventions - window-vchild, window-hchild,
9180 window-next and window-prev are now called window-top-child,
9181 window-left-child, window-next-sibling and window-prev-sibling
9182 respectively.
d615d6d2
MR
9183 (resize-window-reset): Rename to window-resize-reset.
9184 (resize-window-reset-1): Rename to window-resize-reset-1.
9185 (resize-window): Rename to window-resize.
9186 (window-min-height, window-min-width)
9187 (resize-mini-window, resize-this-window, resize-root-window)
9188 (resize-root-window-vertically, adjust-window-trailing-edge)
9189 (enlarge-window, shrink-window, maximize-window)
9190 (minimize-window, delete-window, quit-restore-window)
9191 (split-window, balance-windows, balance-windows-area-adjust)
9192 (balance-windows-area, window-state-put-2)
9193 (display-buffer-even-window-sizes, display-buffer-set-height)
9194 (display-buffer-set-width, set-window-text-height)
9195 (fit-window-to-buffer): Rename all "resize-window" prefixed
9196 calls to use the "window-resize" prefix convention.
9197 (display-buffer-alist): Fix symbol for label specifier.
9198 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9199 corresponding specifier.
9200 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9201
b6458526
VB
92022011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9203
9204 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9205 convention.
9206 (ses-call-printer): Does not pass an empty string to formatter when the
9207 cell is empty to keep from barking printer Calc math-format-value.
9208
d31fd9ac
RS
92092011-06-27 Richard Stallman <rms@gnu.org>
9210
43d5bf84
RS
9211 * battery.el (battery-mode-line-limit): New variable.
9212 (battery-update): Handle it.
9213
d31fd9ac
RS
9214 * mail/rmailmm.el (rmail-mime-process-multipart):
9215 Handle truncated messages.
9216
819a6054
GM
92172011-06-27 Glenn Morris <rgm@gnu.org>
9218
9219 * progmodes/flymake.el (flymake-err-line-patterns):
9220 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9221
cedc73f2
VB
92222011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9223
819a6054 9224 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9225 (ses--clean-!, ses--clean-_): New functions.
9226 (ses-range): Add configurability of readout order, and conversion
9227 to Calc vector.
9228
5e5d49b6
VB
9229 * ses.el (ses-repair-cell-reference-all): New function.
9230 (ses-cell-symbol): Set macro as safe, so that it can be used in
9231 formulas.
9232
56e6cc31 9233 * ses.el: Update cycle detection algorithm.
90ca8b49 9234 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9235 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9236 (ses-set-localvars): New function.
9237 (ses-make-cell): Add property-list as a cell element.
9238 (ses-cell-property-get-fun, ses-cell-property-get)
9239 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9240 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9241 New functions.
90ca8b49
VB
9242 (ses-cell-property-set, ses-cell-property-pop)
9243 (ses-cell-property-get-handle): New macro.
9244 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9245 New aliases, used for code readability.
9246 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9247 cycle detection.
9248 (ses-self-reference-early-detection): New defcustom.
fac916bf 9249 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9250 (ses-mode): Use ses-set-localvars.
9251 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9252 before lauching the update processing.
9253 (ses-initialize-Dijkstra-attempt): New function.
9254 (ses-recalculate-cell): Update for cycle detection based on
9255 Dijkstra algorithm.
9256
2bb63e81
VB
9257 * ses.el: Fix commenting and indenting convention.
9258
c9d29fb8
SM
92592011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * bs.el (bs-cycle-next): Complete last change.
9262
d8e4b68b
JB
92632011-06-27 Drew Adams <drew.adams@oracle.com>
9264
9265 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9266
40098786
LMI
92672011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9268
c9d29fb8
SM
9269 * net/network-stream.el (network-stream-open-starttls):
9270 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9271 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9272
40098786
LMI
9273 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9274 to binary to possibly avoid line encoding issues on Windows (among
9275 other things).
9276
468d09d4
LMI
92772011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9278
9279 * net/network-stream.el (open-network-stream): Return an :error
9280 saying what the problem was, if possible.
9281
9282 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9283 server.
9284
9285 * net/network-stream.el (network-stream-open-starttls): If we
9286 wanted to use STARTTLS, and the server offered it, but we weren't
9287 able to because we had no STARTTLS support, then close the connection.
9288 (open-network-stream): Return an :error element, if present.
9289
16f07dd7
CY
92902011-06-26 Chong Yidong <cyd@stupidchicken.com>
9291
88821ca0
CY
9292 * hl-line.el (hl-line-sticky-flag): Doc fix.
9293 (global-hl-line-sticky-flag): New option (Bug#8323).
9294 (global-hl-line-highlight): Obey it.
9295
16f07dd7
CY
9296 * vc/vc.el (vc-revert-show-diff): Default to t.
9297
6b5ccddf
KM
92982011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9299
c9d29fb8
SM
9300 * allout-widgets.el (allout-widgets-post-command-business):
9301 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9302 undecorated when an isearch is continued past, and isearch
9303 automatically collapses them. This leads to "widget leaks", where
9304 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9305 hidden widgets can slow down cursor travel, substantially.
9306 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9307 so we're doing without this nicety.
9308
9309 (allout-widgets-tally-string): Don't try to do a hash-table-count
9310 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9311 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9312 *Messages* when allout-widgets-maintain-tally is t.
9313
355f2e07
MR
93142011-06-26 Martin Rudalics <rudalics@gmx.at>
9315
9316 * window.el (display-buffer-normalize-argument): Rename to
9317 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9318 LABEL argument. Respect special-display-function when popping up
9319 a new frame. Fix code searching for a window showing the buffer
9320 on another frame.
c9d29fb8
SM
9321 (display-buffer-normalize-specifiers):
9322 Call display-buffer-normalize-arguments.
355f2e07
MR
9323 (display-buffer-in-window): Don't undedicate the window if its
9324 buffer remains the same.
9325 Reported by Drew Adams <drew.adams@oracle.com>.
9326 (display-buffer-alist): Add choice for same-window macro
9327 specfier.
9328 (display-buffer): Mention special meaning of LABEL argument in
9329 doc-string. Fix quoting. Don't pop up a new frame even as
9330 fallback.
9331
7ca8fc42
JB
93322011-06-26 Juanma Barranquero <lekktu@gmail.com>
9333
9334 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9335 avoid deleting the current window in some cases (bug#8911).
9336
bc312254
AS
93372011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9338
9339 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9340 (Bug#8934)
9341
2db18f3f
LMI
93422011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9343
c9d29fb8
SM
9344 * net/network-stream.el (network-stream-open-starttls):
9345 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9346 (network-stream-open-tls): Ditto.
9347
6302e0d3
LL
93482011-06-26 Leo Liu <sdl.web@gmail.com>
9349
9350 * register.el (registerv): New struct.
9351 (registerv-make): New function.
c9d29fb8
SM
9352 (jump-to-register, describe-register-1, insert-register):
9353 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9354 struct. (Bug#8415)
9355
5fdd4046
CY
93562011-06-26 Chong Yidong <cyd@stupidchicken.com>
9357
2afef60a
CY
9358 * vc/vc.el (vc-revert-show-diff): New defcustom.
9359 (vc-diff-internal): New arg specifying diff buffer.
9360 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9361 reuse an existing *vc-diff* buffer (Bug#8927).
9362
5fdd4046
CY
9363 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9364
e93db24a
GM
93652011-06-26 Glenn Morris <rgm@gnu.org>
9366
9367 * progmodes/f90.el (f90-critical-indent): New option.
9368 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9369 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9370 (f90-mode): Doc fix.
9371 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9372 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9373 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9374 (f90-match-end): Handle block, critical.
9375
eefff499
GM
93762011-06-25 Glenn Morris <rgm@gnu.org>
9377
f6ba4cc9
GM
9378 * calendar/diary-lib.el (diary-included-files): Doc fix.
9379 (diary-include-files): New function, extracted from
9380 diary-include-other-diary-files and diary-mark-included-diary-files.
9381 (diary-include-other-diary-files, diary-mark-included-diary-files):
9382 Just call diary-include-files.
9383 (diary-mark-entries): Reset diary-included-files on first call.
9384
16712304
GM
9385 * calendar/diary-lib.el (diary-mark-entries)
9386 (diary-mark-included-diary-files):
9387 Visit included diary-files in temp buffers.
9388
5d8e0d43
GM
9389 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9390 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9391 (f90-start-block-re, f90-imenu-generic-expression)
9392 (f90-looking-at-program-block-start, f90-no-block-limit):
9393 Add support for submodules.
9394
ccf7a5d5
GM
9395 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9396 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9397
11fdef7d 93982011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9399
9400 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9401 buffer-file-type before setting its value, to avoid disastrous
eefff499 9402 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9403
74f53697
JB
94042011-06-25 Juanma Barranquero <lekktu@gmail.com>
9405
9406 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9407
9408 * ses.el (ses-unload-function):
9409 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9410
9411 * proced.el (proced-unload-function):
9412 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9413
18a4ce5e
AR
94142011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9415
9416 * server.el (server-create-window-system-frame): Add parameters arg.
9417 (server-process-filter): Doc fix. Handle frame-parameters.
9418
519d22cc
JB
94192011-06-25 Juanma Barranquero <lekktu@gmail.com>
9420
9421 Fix bug#8730, bug#8781.
9422
9423 * loadhist.el (unload--set-major-mode): New function.
9424 (unload-feature): Use it.
9425
9426 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9427 (python-unload-function): New function.
9428
c206f5b0
SM
94292011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9432
f9ad64f3
GS
94332011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9434
9435 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9436 the candidates list.
9437
7d0da90e
JB
94382011-06-24 Juanma Barranquero <lekktu@gmail.com>
9439
9440 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9441
14b4e83d
RS
94422011-06-23 Richard Stallman <rms@gnu.org>
9443
9444 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9445 (rmail-variables): Set next-error-move-function.
9446 (rmail-what-message): Take argument POS.
9447 (rmail-next-error-move): New function.
9448
273d2baf
SM
94492011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9452 messages for adjacent non-terminals.
9453
56c2cc9a
RS
94542011-06-23 Richard Stallman <rms@gnu.org>
9455
9456 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9457 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9458 (rmail-start-mail): Don't specify use of rmail-mail-return;
9459 that's done by mail-bury now.
9460 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9461
d59eb518
MA
94622011-06-23 Michael Albinus <michael.albinus@gmx.de>
9463
9464 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9465 SIZE is a number.
9466
02cfc6d6
MR
94672011-06-23 Martin Rudalics <rudalics@gmx.at>
9468
9469 * window.el (get-lru-window, get-mru-window)
9470 (get-largest-window): Never return a minibuffer window.
9471 (display-buffer-pop-up-window): Fix a bug that could lead to
9472 reusing the minibuffer window.
9473 (display-buffer): Pass original specifier argument to
9474 display-buffer-function instead of the normalized one.
9475 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9476
4e323265
LL
94772011-06-22 Leo Liu <sdl.web@gmail.com>
9478
9479 * minibuffer.el (completing-read-function)
9480 (completing-read-default): Move from minibuf.c
9481
7a70468f
RS
94822011-06-22 Richard Stallman <rms@gnu.org>
9483
50718fc2
RS
9484 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9485 to Rmail even if not started by a special Rmail command.
9486
7a70468f
RS
9487 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9488 Copy the buffer currently showing just one message.
9489
297dde5a
RW
94902011-06-22 Roland Winkler <winkler@gnu.org>
9491
9492 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9493 (bibtex-clean-entry): First delete the old key so that a
9494 customized algorithm for generating the new key does not get
9495 confused by the old key.
9496 (bibtex-url): Obey regexp of first step.
9497 (bibtex-search-entries): Do not use add-to-list with local
9498 list-var.
9499
97bb1093
LMI
95002011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9501
9502 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9503 stored a user name, then query for the password first, instead of
9504 waiting for SMTP to give an error message and the trying again.
9505
1c0f1a19
JD
95062011-06-22 Lawrence Mitchell <wence@gmx.li>
9507
9508 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9509 BUFFER in call-process.
9510
396f7c9d
LMI
95112011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9512
9513 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9514 QUIT twice.
ddb7ffee
LMI
9515 (smtpmail-try-auth-methods): Require user name and password from
9516 auth-source.
396f7c9d 9517
8998d1b3
MR
95182011-06-22 Martin Rudalics <rudalics@gmx.at>
9519
9520 * window.el (display-buffer-default-specifiers)
9521 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9522 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9523 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9524
9525 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9526 (special-display-frame-alist, special-display-popup-frame):
9527 Remove duplicate declarations. These are now in window.el.
9528
4ea31e07
LMI
95292011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9530
c9d29fb8
SM
9531 * mail/smtpmail.el (smtpmail-via-smtp):
9532 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9533 server supports it. SMTP servers that support STARTTLS commonly
9534 require it.
9535
9536 * net/network-stream.el (network-stream-open-starttls): Support
9537 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9538 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9539
95f41d9a
LMI
9540 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9541 upgrades with `open-network-stream', and rely solely on
9542 auth-source for all credentials. Big changes throughout the file,
9543 but in particular:
c9d29fb8
SM
9544 (smtpmail-auth-credentials): Remove.
9545 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9546 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9547 MAIL FROM, too.
95f41d9a 9548
c9d29fb8
SM
9549 * net/network-stream.el (network-stream-open-starttls):
9550 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9551 STARTTLS.
9552 (auth-source): Require.
9553 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9554 (network-stream-certificate): Change cert-cert to cert and
9555 cert-key to key.
4ea31e07 9556
065ec2c7
MA
95572011-06-21 Michael Albinus <michael.albinus@gmx.de>
9558
9559 * net/tramp-cache.el (top): Don't load the persistency file when
9560 "emacs -Q" has been called.
9561
cd93b359
DR
95622011-06-21 Tim Harper <timcharper@gmail.com>
9563
d8e4b68b
JB
9564 * term/ns-win.el (ns-initialize-window-system):
9565 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9566 resource to NO as it is not yet supported by the NS port.
9567
ae9c0411
JB
95682011-06-21 Juanma Barranquero <lekktu@gmail.com>
9569
9570 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9571 (list-dynamic-libraries): ...not here.
9572
7f3f739f
LL
95732011-06-21 Leo Liu <sdl.web@gmail.com>
9574
9575 * subr.el (sha1): Implement sha1 using secure-hash.
9576
327c8fb1
MR
95772011-06-21 Martin Rudalics <rudalics@gmx.at>
9578
9579 * window.el (display-buffer-alist): In default value do not
9580 enforce searching a window on any but the selected frame.
9581 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9582 (display-buffer-select-window): Remove function.
9583 (display-buffer-in-window): When a window on another frame gets
9584 reused, do not select it any more but just raise its frame if
9585 necessary (Bug#8851) and (Bug#8856).
9586 (display-buffer-normalize-options): Handle pop-up-frames related
9587 options more faithfully.
9588 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9589 window if it is on another frame.
c9d29fb8
SM
9590 (display-buffer-alist, display-buffer-default-specifiers):
9591 Don't make new frame unsplittable by default.
9e9de014
MR
9592 (display-buffer-normalize-argument): Fix doc-string typo and use
9593 'same-frame-other-window instead of 'other-window when associating
9594 with display-buffer-macro-specifiers.
327c8fb1 9595
7cf3f556
VB
95962011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9597
9598 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9599 New functions.
9600 (5x5-mode-map, 5x5-mode-menu): Bind them.
9601 (5x5-draw-grid): Tweak the solver's rendering.
9602
60a406cf
SM
96032011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9604
9605 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9606 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9607
d8e4b68b 96082011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9609
9610 * menu-bar.el: Use function variable instead of switch-to-buffer.
9611 (menu-bar-select-buffer-function): New variable.
60a406cf 9612 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9613
478d6f95
SM
96142011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9615
9616 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9617 variable's status.
9618
ca530739
JD
96192011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9620
9621 * x-dnd.el (x-dnd-version-from-flags)
9622 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9623 and long as number (Bug#8899).
9624 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9625
bcd70d97
SM
96262011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9627
60a406cf 9628 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9629 (completion-try-completion, completion-all-completions): Compute the
9630 metadata argument if it's missing; make it optional (bug#8795).
9631
60a406cf 9632 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9633 (widget-complete): Use new :completion-function property.
9634 (widget-completions-at-point): New function.
9635 (default): Use :completion-function instead of :complete.
60a406cf
SM
9636 (widget-default-completions): Rename from widget-default-complete;
9637 Rewrite.
bcd70d97
SM
9638 (widget-string-complete, widget-file-complete, widget-color-complete):
9639 Remove functions.
9640 (file, symbol, function, variable, coding-system, color):
9641 * international/mule-cmds.el (default-input-method, charset)
9642 (language-info-custom-alist):
9643 * cus-edit.el (face): Use new property :completions.
9644
9645 * progmodes/pascal.el (pascal-completions-at-point): New function.
9646 (pascal-mode): Use it.
9647 (pascal-mode-map): Use completion-at-point.
9648 (pascal-toggle-completions): Make obsolete.
9649 (pascal-complete-word, pascal-show-completions):
9650 * progmodes/octave-mod.el (octave-complete-symbol):
9651 Redefine as obsolete alias.
9652 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9653 Signal absence of completion info for old Octave,
9654 (inferior-octave-complete): Redefine as obsolete alias.
9655 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9656 (meta-completions-at-point): Rename from meta-complete-symbol and
9657 adapt it for use on completion-at-point-functions.
9658 (meta-common-mode): Use it.
9659 (meta-looking-at-backward, meta-match-buffer): Remove.
9660 (meta-complete-symbol): Redefine as obsolete alias.
9661 (meta-common-mode-map): Use completion-at-point.
9662 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9663 (makefile-mode-map): Use completion-at-point.
9664 (makefile-completions-at-point): Rename from makefile-complete and
9665 adapt it for use on completion-at-point-functions.
9666 (makefile-mode): Use it.
9667 (makefile-complete): Redefine as obsolete alias.
9668
aebf69c8
DD
96692011-06-20 Deniz Dogan <deniz@dogan.se>
9670
9671 * net/rcirc.el: Delete trailing whitespaces once and for all.
9672
bfbbb27d
DC
96732011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9674
9675 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9676
d264a46b
CY
96772011-06-19 Chong Yidong <cyd@stupidchicken.com>
9678
4ca009e5
CY
9679 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9680
d264a46b
CY
9681 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9682
fbf5b3ce
MR
96832011-06-19 Martin Rudalics <rudalics@gmx.at>
9684
9685 * window.el (display-buffer-other-window-means-other-frame):
9686 Call display-buffer-normalize-alist.
9687 (display-buffer-normalize-specifiers-1): Rename to
9688 display-buffer-normalize-argument. New argument other-frame.
9689 Rewrite.
9690 (display-buffer-normalize-specifiers-2): Rename to
9691 display-buffer-normalize-options.
9692 (display-buffer-normalize-alist-1): New function.
9693 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9694 display-buffer-normalize-alist.
9695 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9696 (display-buffer-normalize-options-inhibit): New variable.
9697 (display-buffer-normalize-specifiers): Rewrite calling
9698 display-buffer-normalize-alist,
9699 display-buffer-normalize-argument, and
9700 display-buffer-normalize-options. Don't call the latter if
9701 display-buffer-normalize-options-inhibit is non-nil.
9702 (frame-auto-delete): New option.
9703 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9704 (window-list-no-nils, window-state-ignored-parameters)
9705 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9706 (window-state-put-1, window-state-put-2, window-state-put):
9707 New functions.
9a028c23
MR
9708 (display-buffer-normalize-options): Move special-display-p group
9709 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9710
6d10d800
CY
97112011-06-18 Chong Yidong <cyd@stupidchicken.com>
9712
6420d28b
CY
9713 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9714 groups (Bug#8776).
9715 (rx-submatch-n): New function.
9716 (rx): Document it.
9717
ddb8b596
CY
9718 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9719 (Bug#8768).
9720
9721 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9722
77080289
CY
9723 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9724
61dfb316
CY
9725 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9726 anytime existing face settings are present (Bug#8889).
9727
6d10d800
CY
9728 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9729 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9730 Remove unused argument.
9731
be3fb2b8
MR
97322011-06-18 Martin Rudalics <rudalics@gmx.at>
9733
bcd70d97
SM
9734 * window.el (display-buffer-default-specifiers):
9735 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9736 pop-up-window-min-width, and another reuse-window specifier
9737 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9738 (display-buffer-normalize-specifiers-2):
9739 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9740 pop-up-windows is unset. Add a reuse-window specifier for the
9741 case popping up a new window fails.
9742 (special-display-popup-frame): Remove double quoting.
28dec25a 9743 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9744
1c6d8c76
SM
97452011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9748 according to comint-completion-addsuffix.
9749
9750 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9751 (pcomplete-suffix-list): Mark as obsolete.
9752 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9753 pcomplete-seen in the closure.
9754 (pcomplete-comint-setup): Setup completion-at-point as well.
9755 (pcomplete--entries): New function.
9756 (pcomplete--env-regexp): New var.
9757 (pcomplete-entries): Rewrite to work with partial-completion and
9758 without relying on pcomplete-suffix-list.
9759 (pcomplete-pare-list): Remove, unused.
9760
25aef8b8
MR
97612011-06-17 Martin Rudalics <rudalics@gmx.at>
9762
9763 * window.el (display-buffer-alist): Set pop-up-window-min-height
9764 and pop-up-window-min-width in default value. Reported by
9765 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9766 other-window-means-other-frame.
9767 (display-buffer-macro-specifiers): Comment out entry for
9768 other-window specifier.
9769 (display-buffer-other-window-means-other-frame): New function.
9770 (display-buffer-normalize-specifiers-1): New arguments
9771 buffer-name and label. Treat other-window case specially.
9772 (display-buffer-normalize-specifiers-2): Treat other-window case
9773 specially.
9774 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9775 (display-buffer-normalize-specifiers):
9776 Call display-buffer-normalize-specifiers-3.
25aef8b8 9777
dbad4f69
MR
97782011-06-17 Martin Rudalics <rudalics@gmx.at>
9779
9780 * window.el (same-window-p): Fix two typos introduced when
9781 adding with-no-warnings.
d1067961
MR
9782 (display-buffer-normalize-specifiers-1): Don't check
9783 pop-up-frames for 'unset initialization.
9784 (display-buffer-normalize-specifiers-2): Major rewrite using
9785 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9786 (pop-up-frames, display-buffer-reuse-frames)
9787 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9788 Suggested by David Engster <deng@randomsample.de>.
9789 (even-window-heights): Initialize to 'unset.
9790 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9791 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9792 other window case.
dbad4f69 9793
9b9c9e3a
MR
97942011-06-16 Martin Rudalics <rudalics@gmx.at>
9795
bcd70d97
SM
9796 * window.el (display-buffer-normalize-specifiers-1):
9797 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9798 second argument of display-buffer (Bug#8865).
981d5c09
MR
9799 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9800 (switch-to-buffer-other-window-same-frame)
9801 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9802 Adams (Bug#8875).
9c2755e9
MR
9803 (display-buffer): Don't check noninteractive when calling
9804 display-buffer-pop-up-frame.
9805 (display-buffer-pop-up-frame): Never pop up a frame in
9806 noninteractive mode (Bug#8857).
67222e1d
MR
9807 (enlarge-window, shrink-window): Don't report an error when the
9808 window can't be resized as requested (Bug#8862).
9b9c9e3a 9809
2b75be67
SM
98102011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9ffdd3ba
SM
9812 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9813
cb581a67
SM
9814 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9815
2b75be67
SM
9816 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9817
8c0e3589
AM
98182011-06-15 Alan Mackenzie <acm@muc.de>
9819
cb581a67
SM
9820 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9821 for declarators, disable knr checking to speed up for normal files.
9822 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9823
b96e6cde
LMI
98242011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9825
4bba86e6
LMI
9826 * net/network-stream.el (open-network-stream): Add the keyword
9827 :always-query-capabilities for the case where you want to force a
9828 `plain' network connection, but the protocol still requires the
9829 capabilitiy command (i.e., SMTP and EHLO).
9830
2b75be67 9831 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9832 consistency with other `-live-p' functions.
9833
efdcdbf8
SM
98342011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * window.el (same-window-buffer-names, same-window-regexps)
9837 (special-display-frame-alist, special-display-popup-frame)
9838 (special-display-function, special-display-buffer-names)
9839 (special-display-regexps, pop-up-frame-alist)
9840 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9841 (pop-up-windows, split-window-preferred-function)
9842 (split-height-threshold, split-width-threshold, even-window-heights)
9843 (display-buffer-mark-dedicated): Don't encourage the use of
9844 display-buffer-alist from Elisp code.
9845
c5cde042
DN
98462011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9847
9848 * progmodes/python.el (python-mode): Derive from prog-mode.
9849 * progmodes/ps-mode.el (ps-mode):
9850 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9851 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9852 * progmodes/ld-script.el (ld-script-mode): Likewise.
9853
baa1c9ab
MR
98542011-06-15 Martin Rudalics <rudalics@gmx.at>
9855
9856 * window.el (display-buffer-alist): Trim default value to avoid
9857 popping up a new frame (Bug#8857) or reusing an arbitrary window
9858 on another frame.
9859 (display-buffer): Do not fall back on popping up a new frame in
9860 batch mode (Bug#8857).
9861
c5dd5a51
CY
98622011-06-14 Chong Yidong <cyd@stupidchicken.com>
9863
9864 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9865 (custom-theme-summary): New function.
9866 (customize-themes): Use it.
9867
d647b7c4
GM
98682011-06-13 Glenn Morris <rgm@gnu.org>
9869
9870 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9871
9481c002
MR
98722011-06-13 Martin Rudalics <rudalics@gmx.at>
9873
357f93d2
MR
9874 * help.el (help-window): Remove variable.
9875 (help-window-point-marker, temp-buffer-max-height)
9876 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9877 (help-print-return-message): Don't set help-window.
9878 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9879 (help-window-setup-finish): Remove.
9880 (help-window-display-message, help-window-setup)
9881 (with-help-window): Major rewrite based on new
9882 display-buffer-window variable.
9883
9884 * help-mode.el (help-mode-finish): Remove help-window related
9885 code.
9886
9887 * view.el (view-exits-all-viewing-windows): Remove reference to
9888 view-return-to-alist in doc-string.
9889 (view-return-to-alist): Make obsolete.
9890 (view-buffer): Call pop-to-buffer-same-window and remove
9891 undo-window code.
9892 (view-buffer-other-window): Call pop-to-buffer-other-window and
9893 simplify code. Ignore second argument.
9894 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9895 simplify code. Ignore second argument.
9896 (view-return-to-alist-update): Make obsolete.
9897 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9898 Rewrite using quit-restore window parameters.
2b75be67
SM
9899 (view-mode-exit): Rename second argument to EXIT-ONLY.
9900 Rewrite using quit-restore-window.
357f93d2
MR
9901 (View-exit, View-exit-and-edit, View-leave, View-quit)
9902 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9903 appropriate arguments.
9904 (view-end-message): Use quit-restore window parameter.
9905
9481c002
MR
9906 * window.el (display-buffer-function): Rewrite doc-string.
9907 (display-buffer-window, display-buffer-alist): New variables.
9908 (display-buffer-split-specifiers)
9909 (display-buffer-side-specifiers)
9910 (display-buffer-macro-specifiers): New constants.
9911 (display-buffer-even-window-sizes, display-buffer-set-height)
9912 (display-buffer-set-width, display-buffer-select-window)
9913 (display-buffer-in-window, display-buffer-reuse-window)
9914 (display-buffer-split-window-1, display-buffer-split-window)
9915 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9916 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9917 (display-buffer-in-side-window, normalize-buffer-to-display)
9918 (display-buffer-normalize-specifiers-1)
9919 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9920 (display-buffer-normalize-specifiers, display-buffer-frame):
9921 New functions.
9481c002
MR
9922 (display-buffer): Major rewrite.
9923 (display-buffer-other-window, display-buffer-other-frame)
9924 (pop-to-buffer, switch-to-buffer-other-window)
9925 (switch-to-buffer-other-frame): Rewrite.
9926 (display-buffer-same-window, display-buffer-same-frame)
9927 (display-buffer-same-frame-other-window)
9928 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9929 (pop-to-buffer-other-window)
9930 (pop-to-buffer-same-frame-other-window)
9931 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9932 (switch-to-buffer-other-window-same-frame): New functions.
9933 (same-window-p, special-display-p): Rewrite disabling warnings.
9934 Make obsolete.
9935 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9936 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9937 Make obsolete
9938 (same-window-buffer-names, same-window-regexps)
9939 (special-display-frame-alist, special-display-popup-frame)
9940 (special-display-function, special-display-buffer-names)
9941 (special-display-regexps, pop-up-frame-alist)
9942 (pop-up-frame-function, split-window-preferred-function)
9943 (split-height-threshold, split-width-threshold)
9944 (even-window-heights): Make obsolete.
9945
9db51aca
GM
99462011-06-12 Glenn Morris <rgm@gnu.org>
9947
9948 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9949 Misc simplifications.
9db51aca 9950
39cffb44
MR
99512011-06-12 Martin Rudalics <rudalics@gmx.at>
9952
9953 * window.el (window-safely-shrinkable-p): Restore function which
9954 was inadvertently removed in change from 2011-06-11. Declare as
9955 obsolete.
9956
2b75be67
SM
9957 * calendar/calendar.el (calendar-generate-window):
9958 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9959 window-safely-shrinkable-p.
9960
a8955be7
GM
99612011-06-12 Glenn Morris <rgm@gnu.org>
9962
9963 * progmodes/fortran.el (fortran-mode-syntax-table):
9964 * progmodes/f90.el (f90-mode-syntax-table):
9965 Set % to punctuation. (Bug#8820)
9966 (f90-find-tag-default): Remove, no longer needed.
9967
f0d4059d
DC
99682011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9969
9970 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9971
1100a63c
CY
99722011-06-11 Chong Yidong <cyd@stupidchicken.com>
9973
9974 * image.el (image-animated-p): Return animation delay in seconds.
9975 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9976 (image-animate-timeout): Remove DELAY argument. Don't assume
9977 every subimage has the same delay; get it from image-animated-p.
9978 (image-animate): Caller changed.
9979
def722bf
MA
99802011-06-11 Michael Albinus <michael.albinus@gmx.de>
9981
9982 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9983 to ignored backtrace functions.
9984
0a2bb1a9
GM
99852011-06-11 Glenn Morris <rgm@gnu.org>
9986
9987 * calendar/appt.el (appt-disp-window-function): Doc fix.
9988 (appt-check): Handle overlapping appointments. (Bug#8337)
9989
6198ccd0
MR
99902011-06-11 Martin Rudalics <rudalics@gmx.at>
9991
9992 * window.el (window-tree-1, window-tree): New functions, moving
9993 the latter to window.el.
9994 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9995 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9996 (bw-refresh-edges): Remove.
9997 (balance-windows-1, balance-windows-2): New functions.
9998 (balance-windows): Rewrite in terms of window tree functions,
9999 balance-windows-1 and balance-windows-2.
10000 (bw-adjust-window): Remove.
10001 (balance-windows-area-adjust): New function with functionality of
10002 bw-adjust-window but using resize-window.
2b75be67
SM
10003 (set-window-text-height): Rewrite doc-string.
10004 Use normalize-live-window and resize-window.
10005 (enlarge-window-horizontally, shrink-window-horizontally):
10006 Rename argument to DELTA.
6198ccd0
MR
10007 (window-buffer-height): New function.
10008 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10009 Rewrite using new window resize routines.
2b75be67
SM
10010 (kill-buffer-and-window, mouse-autoselect-window-select):
10011 Use ignore-errors instead of condition-case.
6198ccd0
MR
10012 (quit-window): Call delete-frame instead of delete-windows-on
10013 for the only buffer on frame.
10014
9397e56f
MR
100152011-06-10 Martin Rudalics <rudalics@gmx.at>
10016
10017 * loadup.el (top-level): Load window before files for the sake
10018 of replace-buffer-in-windows.
10019
10020 * files.el (read-buffer-to-switch)
10021 (switch-to-buffer-other-window)
2b75be67
SM
10022 (switch-to-buffer-other-frame, display-buffer-other-frame):
10023 Move to window.el.
9397e56f
MR
10024
10025 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10026 (previous-buffer): Move to window.el.
10027
10028 * bindings.el (unbury-buffer): Move to window.el.
10029
10030 * window.el (delete-other-windows-vertically): Move after
10031 definition of delete-other-windows.
10032 (other-window, delete-windows-on, replace-buffer-in-windows):
10033 Move here from window.c.
10034 (record-window-buffer, unrecord-window-buffer)
10035 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10036 (switch-to-next-buffer): New functions.
10037 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10038 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10039 (previous-buffer): Move here from simple.el.
10040 Call switch-to-prev-buffer.
9397e56f
MR
10041 (bury-buffer): Move here from buffer.c. Switch to previous
10042 buffer when window cannot be deleted.
10043 (unbury-buffer): Move here from bindings.el.
10044 (ctl-x-map): Move binding for other-window from window.c to
10045 here.
10046 (read-buffer-to-switch, switch-to-buffer-other-window)
10047 (switch-to-buffer-other-frame): Move here from files.el.
10048 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10049 (switch-to-buffer): Move here from buffer.c.
10050 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10051
562dd5e9
MR
100522011-06-10 Martin Rudalics <rudalics@gmx.at>
10053
10054 * window.el (window-min-height, window-min-width): Move here
10055 from window.c. Add defcustoms and rewrite doc-strings.
10056 (resize-mini-window, resize-window): New functions.
10057 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10058 Move here from window.c.
10059 (maximize-window, minimize-window): New functions.
10060 (delete-window, delete-other-windows, split-window): Move here
10061 from window.c.
10062 (window-split-min-size): New function.
10063 (split-window-keep-point): Mention split-window-above-each-other
10064 instead of split-window-vertically.
2b75be67 10065 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10066 Rename split-window-vertically to split-window-above-each-other
10067 and provide defalias for old definition.
10068 (split-window-side-by-side, split-window-horizontally):
10069 Rename split-window-horizontally to split-window-side-by-side
10070 and provide defalias for the old definition.
562dd5e9
MR
10071 (ctl-x-map): Move bindings for delete-window,
10072 delete-other-windows and enlarge-window here from window.c.
10073 Replace bindings for split-window-vertically and
10074 split-window-horizontally by bindings for
10075 split-window-above-each-other and split-window-side-by-side.
10076
10077 * cus-start.el (all): Remove entries for window-min-height and
10078 window-min-width. Add entries for window-splits and
10079 window-nest.
10080
f0da764a
GM
100812011-06-09 Glenn Morris <rgm@gnu.org>
10082
80675c21
GM
10083 * calendar/appt.el (appt-mode-line): New function.
10084 (appt-check, appt-disp-window): Use it.
10085
f0da764a
GM
10086 * files.el (hack-one-local-variable-eval-safep):
10087 Allow minor-modes with explicit +/-1 arguments.
10088
59f623b7
TZ
100892011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10090
10091 * term/xterm.el (xterm): Add defgroup.
10092 (xterm-extra-capabilities): Add defcustom to supply known xterm
10093 capabilities, skip querying them, or query them (default).
10094 (terminal-init-xterm): Use it.
10095 (terminal-init-xterm-modify-other-keys): New function to set up
10096 modifyOtherKeys support to simplify `terminal-init-xterm'.
10097
9aab8e0d
MR
100982011-06-09 Martin Rudalics <rudalics@gmx.at>
10099
10100 * window.el (resize-window-reset, resize-window-reset-1)
10101 (resize-subwindows-skip-p, resize-subwindows-normal)
10102 (resize-subwindows, resize-other-windows, resize-this-window)
10103 (resize-root-window, resize-root-window-vertically)
10104 (window-deletable-p, window-or-subwindow-p)
10105 (frame-root-window-p): New functions.
10106
e8b08aee
GM
101072011-06-09 Glenn Morris <rgm@gnu.org>
10108
10109 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10110 (ange-ftp-get-files): Use it.
10111
254c37a5
AK
101122011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10113
10114 * mail/sendmail.el (mail-recover-1, mail-recover):
10115 * files.el (recover-file, recover-session):
10116 Handle dired-listing-switches not being just a single short option.
10117
35d7dbd3
GM
101182011-06-09 Glenn Morris <rgm@gnu.org>
10119
10120 * calendar/appt.el (appt-display-message, appt-disp-window):
10121 Handle lists of appointments.
10122
387522b2
MR
101232011-06-08 Martin Rudalics <rudalics@gmx.at>
10124
2b75be67
SM
10125 * window.el (one-window-p): Move down in code.
10126 Rewrite doc-string.
10127 (window-current-scroll-bars): Rewrite doc-string.
10128 Normalize live window argument.
387522b2
MR
10129 (walk-windows, get-window-with-predicate, count-windows):
10130 Rewrite doc-string. Use window-list-1.
10131 (window-in-direction-2, window-in-direction, get-mru-window):
10132 New functions.
10133
d8e4b68b 101342011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10135
10136 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10137 Doc fix (Bug#8713).
10138
101392011-06-08 Chong Yidong <cyd@stupidchicken.com>
10140
10141 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10142
101432011-06-08 Juanma Barranquero <lekktu@gmail.com>
10144
10145 * loadhist.el (unload-feature-special-hooks):
10146 Add `comint-output-filter-functions'.
10147
0de12c52
IK
101482011-06-08 Ivan Kanis <gnu@kanis.fr>
10149
10150 * calendar/appt.el (appt-check): Move some initializations into the let.
10151
f3d1777e
MR
101522011-06-08 Martin Rudalics <rudalics@gmx.at>
10153
10154 * window.el (window-height): Defalias to window-total-height.
10155 (window-width): Defalias to window-body-width.
10156
18af70d0
CY
101572011-06-07 Chong Yidong <cyd@stupidchicken.com>
10158
10159 * image-mode.el (image-toggle-animation): New command.
10160 (image-mode-map): Bind it to RET.
10161 (image-mode): Update message.
10162 (image-toggle-display-image): Avoid a spurious cache flush.
10163 (image-transform-rotation): Doc fix.
10164 (image-transform-properties): Return quickly in the normal case.
10165 (image-animate-loop): Rename from image-animate-max-time.
10166
2b75be67 10167 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10168 (create-animated-image): Remove unnecessary function.
10169 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10170 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10171 (image-animate-timer): Use car-safe.
10172 (image-animate-timeout): Rename argument.
10173
190b47e6
MR
101742011-06-07 Martin Rudalics <rudalics@gmx.at>
10175
10176 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10177 window.c. Rename first argument to ALL-FRAMES.
10178 Rephrase doc-strings.
10179 (get-buffer-window-list): Rewrite using window-list-1.
10180 Rephrase doc-string.
a1511caf
MR
10181 (window-safe-min-height, window-safe-min-width): New constants.
10182 (window-size-ignore, window-min-size, window-min-size-1)
10183 (window-sizable, window-sizable-p, window-size-fixed-1)
10184 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10185 (window-max-delta-1, window-max-delta, window-resizable)
10186 (window-resizable-p, window-total-height, window-total-width)
10187 (window-body-width): New functions.
10188 (window-full-height-p, window-full-width-p): Rewrite using
10189 window-total-size.
10190 (window-body-height): Rewrite using window-body-size.
190b47e6 10191
85cc1f11
MR
101922011-06-06 Martin Rudalics <rudalics@gmx.at>
10193
10194 * window.el (window-right, window-left, window-child)
10195 (window-child-count, window-last-child, window-any-p)
10196 (normalize-live-buffer, normalize-live-frame)
10197 (normalize-any-window, normalize-live-window)
10198 (window-iso-combination-p, window-iso-combined-p)
10199 (window-iso-combinations)
10200 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10201 (windows-with-parameter, window-with-parameter)
10202 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10203 (window-atom-check, window-side-check, window-check):
10204 New functions.
85cc1f11
MR
10205 (ignore-window-parameters, window-sides, window-sides-vertical)
10206 (window-sides-slots): New variables.
10207 (window-size-fixed): Move down in code. Minor doc-string fix.
10208
e7156492
AS
102092011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10210
10211 * comint.el (comint-dynamic-complete-as-filename)
10212 (comint-dynamic-complete-filename): Correctly call
10213 completion-in-region.
10214
7e821d0d
DD
102152011-06-05 Deniz Dogan <deniz@dogan.se>
10216
10217 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10218 in last change.
10219
ac09b8a1
DD
102202011-06-05 Deniz Dogan <deniz@dogan.se>
10221
10222 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10223 (rcirc): Use it to prompt for encryption.
10224
34699b85
RW
102252011-06-05 Roland Winkler <winkler@gnu.org>
10226
10227 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10228 (bibtex-search-entries): New command bound to C-c C-a.
10229 (bibtex-display-entries): New function.
10230
004dedd3
RW
102312011-06-05 Roland Winkler <winkler@gnu.org>
10232
10233 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10234 (bibtex-insert-kill): After yanking insert newline if necessary.
10235 (bibtex-initialize): Call bibtex-string-files-init only once.
10236 (bibtex-mode): Do not call easy-menu-add.
10237 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10238 (bibtex-yank): Set arg properly if nil.
10239
022fe7ce
RW
102402011-06-05 Roland Winkler <winkler@gnu.org>
10241
2b75be67
SM
10242 * textmodes/bibtex.el (bibtex-search-entry-globally):
10243 New variable.
022fe7ce
RW
10244 (bibtex-search-entry): Use it.
10245
b7c3692a
RW
102462011-06-05 Roland Winkler <winkler@gnu.org>
10247
10248 * textmodes/bibtex.el (bibtex-entry-format): New option
10249 sort-fields.
10250 (bibtex-format-entry, bibtex-reformat): Honor this option.
10251 (bibtex-parse-entry): Return fields in proper order.
10252
8eda563d
JB
102532011-06-05 Juanma Barranquero <lekktu@gmail.com>
10254
10255 * doc-view.el (doc-view-remove-if): Move computation of result out
10256 of `dolist' to silence misleading lexical-binding warning.
10257
7dbe3dbc
CY
102582011-06-04 Chong Yidong <cyd@stupidchicken.com>
10259
10260 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10261 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10262
0c33dd17
MA
102632011-06-04 Michael Albinus <michael.albinus@gmx.de>
10264
10265 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10266 "SunOS 5.10".
10267
f8f91c2b
MA
102682011-06-04 Michael Albinus <michael.albinus@gmx.de>
10269
10270 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10271 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10272 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10273 (tramp-parse-putty):
10274 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10275 (tramp-completion-function-alist-ssh)
10276 (tramp-completion-function-alist-telnet)
10277 (tramp-completion-function-alist-su)
10278 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10279 cookie.
10280
10281 * net/tramp-ftp.el:
10282 * net/tramp-sh.el:
10283 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10284 load "tramp.el" `tramp-set-completion-function'.
10285
e17d9003
SM
102862011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10287
10288 * shell.el: Require and use pcomplete.
10289 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10290 (shell-completion-vars): Set pcomplete-default-completion-function.
10291
6c4cab03
DD
102922011-06-04 Deniz Dogan <deniz@dogan.se>
10293
10294 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10295 `memq' (Bug#8799).
10296
ea9fafe0
SM
102972011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10298
10299 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10300
b3e945d3
JB
103012011-06-02 Juanma Barranquero <lekktu@gmail.com>
10302
10303 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10304 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10305 * vc/log-view.el (log-view-beginning-of-defun):
10306 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10307 (smerge-refine-forward, smerge-refine-chopup-region):
10308 Silence warning for unused `dotimes' counter variables.
10309
7d520089
SM
103102011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10311
10312 * net/tramp.el (tramp-with-progress-reporter): Rename from
10313 with-progress-reporter. Use `declare'.
10314 * net/tramp-smb.el:
10315 * net/tramp-sh.el:
10316 * net/tramp-gvfs.el: Update all uses.
10317
a1c2400f
JB
103182011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10319
10320 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10321 buffer isn't killed before making it current.
10322
2403c841
SM
103232011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 Silence various byte-compiler warnings.
10326 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10327 `access-type' and new obsolescence format.
10328 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10329 new format.
10330 (byte-compile-check-variable): New `access-type' argument.
10331 Only warn if the access-type is obsolete.
10332 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10333 (byte-compile-variable-set): Adjust callers.
10334 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10335 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10336 setting it as obsolete.
10337 * simple.el (minibuffer-completing-symbol):
10338 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10339 access as obsolete.
10340 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10341 obsolete yet.
10342 * international/quail.el (quail-mouse-choose-completion): Remove unused
10343 code referring to obsolete var.
10344 (quail-choose-completion-string): Remove.
10345 * server.el (server-clients-with, server-kill-buffer-query-function)
10346 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10347 * proced.el (proced-send-signal):
10348 * emacs-lisp/lisp.el (lisp-complete-symbol):
10349 Replace completion-annotate-function with completion-extra-properties.
10350
2462470b
SM
103512011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10352
fb5b2591
SM
10353 * simple.el (goto-line): Use read-number.
10354 (overriding-map-is-bound): Remove.
10355 (saved-overriding-map): Change default.
10356 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10357 Take the map as argument.
10358 (universal-argument, negative-argument, digit-argument): Use it.
10359 (restore-overriding-map): Adjust.
10360 (do-auto-fill): Use fill-forward-paragraph.
10361 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10362
fd6fa53f
SM
10363 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10364 (minibuffer-inactive-mode): New major mode.
10365 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10366 the *Messages* buffer" hack.
10367 (mouse-popup-menubar): Don't burp if the event is a normal key.
10368
2462470b
SM
10369 Miscellaneous tweaks.
10370 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10371 lexical scoping as in subr.el's dolist and dotimes.
10372 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10373 Silence compiler warning.
10374 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10375 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10376 * international/ccl.el (ccl-compile): Trivial simplification.
10377 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10378 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10379 `printflag' argument.
10380 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10381 Purecopy the whole obsolescence data.
10382
108bf785
LL
103832011-06-01 Leo Liu <sdl.web@gmail.com>
10384
10385 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10386 improve doc-string as suggested by Marco Pessotto
10387 <melmothx@gmail.com>.
10388 (rcirc-print): Fix last change.
10389
30a23501
SM
103902011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10391
10392 * minibuffer.el (complete-with-action): Return nil for the metadata and
10393 boundaries of non-functional tables.
10394 (completion-table-dynamic): Return nil for the metadata.
10395 (completion-table-with-terminator): Add default case, using
10396 complete-with-action.
10397 (completion--metadata): New function.
10398 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10399 to try and avoid pathological performance problems.
10400 (completion--embedded-envvar-table): Return `category' metadata.
10401
bcd54f83
LMI
104022011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10403
10404 * subr.el (process-alive-p): New tiny convenience function.
10405
e227544d
SM
104062011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10407
10408 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10409 content but also its previous major mode.
10410
e8296fdc
HE
104112011-05-31 Helmut Eller <eller.helmut@gmail.com>
10412
4d61f28d 10413 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10414 *Backtrace* buffer when we exit with C-M-c.
10415
620c53a6
SM
104162011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10417
10418 * minibuffer.el: Add metadata method to completion tables.
10419 (completion-category-overrides): New defcustom.
10420 (completion-metadata, completion--field-metadata)
10421 (completion-metadata-get, completion--styles)
10422 (completion--cycle-threshold): New functions.
10423 (completion-try-completion, completion-all-completions):
10424 Add `metadata' argument to choose completion-styles.
10425 (completion--do-completion): Use metadata to choose cycling.
10426 (completion-all-sorted-completions): Use metadata for sorting.
10427 Remove :completion-cycle-penalty which is not needed any more.
10428 (completion--try-word-completion): Add `metadata' argument.
10429 (minibuffer-completion-help): Check metadata for annotation function
10430 and sorting.
10431 (completion-file-name-table): Return `category' metadata.
10432 (minibuffer-completing-file-name): Make obsolete.
10433 * simple.el (minibuffer-completing-symbol): Make obsolete.
10434 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10435 completion-try-completion.
10436
1257e755
SM
104372011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10440
3767e706
LL
104412011-05-30 Leo Liu <sdl.web@gmail.com>
10442
10443 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10444 (rcirc-print): Decode all incoming messages (bug#8744).
10445 (rcirc-decode-coding-system): Allow value nil for automatic coding
10446 system detection.
3767e706 10447
d1a5d56a
GM
104482011-06-01 Glenn Morris <rgm@gnu.org>
10449
10450 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10451
e8cbec34
CY
104522011-05-29 Chong Yidong <cyd@stupidchicken.com>
10453
10454 * image.el (image-animate-max-time): Allow nil and t values.
10455 Default to nil.
10456 (create-animated-image): Doc fix.
10457 (image-animate-start): Remove second arg; just use
10458 image-animate-max-time.
10459 (image-animate-timeout): Doc fix. Args changed.
10460
10461 * image-mode.el (image-toggle-display-image): Ensure that the
10462 image spec passed to the animate timer is the same object as in
58179cce 10463 the buffer's display property (Bug#6981).
e8cbec34
CY
10464 (image-transform-properties): Doc fix.
10465
10466 * image.el (image-animate-max-time): Default to nil.
10467
159daf87
MR
104682011-05-29 Martin Rudalics <rudalics@gmx.at>
10469
10470 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10471 entire buffer list (Bug#8184).
10472
d66c4c7c
CY
104732011-05-29 Chong Yidong <cyd@stupidchicken.com>
10474
10475 * image.el (imagemagick-types-inhibit)
10476 (imagemagick-register-types): Doc fix.
10477
80aec780
DD
104782011-05-29 Deniz Dogan <deniz@dogan.se>
10479
10480 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10481 default.
10482
1dd3c2d9
CY
104832011-05-29 Chong Yidong <cyd@stupidchicken.com>
10484
10485 * select.el: Don't perform clipboard-manager saving in hooks;
10486 leave the hooks empty.
10487
60e56523
LL
104882011-05-28 Leo Liu <sdl.web@gmail.com>
10489
10490 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10491 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10492 (occur-edit-mode): New major mode (Bug#8463).
10493 (occur-after-change-function): New function.
10494 (occur-engine): Give Occur tags a read-only property.
10495
2b1e1a22
KR
104962011-05-28 Kevin Ryde <user42@zip.com.au>
10497
10498 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10499
5d344e88
CY
105002011-05-28 Chong Yidong <cyd@stupidchicken.com>
10501
8e6ca83d
CY
10502 * bindings.el (help-echo): Make the initial non-indicator dash
10503 empty on graphical terminals (Bug#7295).
10504
5d344e88
CY
10505 * files.el (auto-mode-alist): Move config rule after the
10506 in-stripping one (Bug#8547).
10507
bfbbace7
CY
10508 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10509
fbeba6e2
CY
10510 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10511 setting (Bug#8740).
10512
60ed8c72
AA
105132011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10514
4ac619f0
AA
10515 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10516 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10517 (Bug#8539).
60ed8c72 10518
23db196e
CY
105192011-05-28 Chong Yidong <cyd@stupidchicken.com>
10520
10521 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10522
5012f24c
DK
105232011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10524
10525 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10526 (hs-hide-block-at-point, hs-find-block-beginning)
10527 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10528 (Bug#8279).
10529
6a639b16
GM
105302011-05-28 Glenn Morris <rgm@gnu.org>
10531
10532 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10533
d43eaf2c
CY
105342011-05-28 Chong Yidong <cyd@stupidchicken.com>
10535
5199bde1
CY
10536 * help-fns.el (describe-function-1): If the function is a derived
10537 major mode, print the parent mode.
10538
d43eaf2c
CY
10539 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10540 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10541
423428a8
SM
105422011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10543
0ff8e1ba 10544 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10545 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10546 * progmodes/etags.el (tags-completion-at-point-function):
10547 * info-look.el (info-lookup-completions-at-point): Mark as
10548 non-exclusive.
10549 (info-complete): Adjust accordingly.
10550
423428a8
SM
10551 * info-look.el: Convert to lexical-binding and completion-at-point.
10552 (info-lookup-completions-at-point): New function.
10553 (info-complete): Use it and completion-in-region.
10554
b74aa22b
DA
105552011-05-28 Drew Adams <drew.adams@oracle.com>
10556
10557 * isearch.el: Let M-e start with point at the first mismatched char.
10558 (isearch-fail-pos): New function.
10559 (isearch-edit-string): Use it.
10560
66e2e71d
DK
105612011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10562
10563 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10564
b1890b0f 105652011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10566
10567 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10568 traversal functions for avl-trees.
10569 (avl-tree--stack): New struct.
10570 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10571 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10572 (avl-tree--do-enter): Add optional `updatefun' arg.
10573 Change return value.
eb95d01d 10574 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10575 (avl-tree--do-delete): Add `test' and `nilflag' args.
10576 Change return value.
eb95d01d
TC
10577 (avl-tree-member): Add optional `nilflag'
10578 (avl-tree-member-p): New function.
10579 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10580 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10581 (avl-tree-stack-empty-p): New functions.
10582
3769ddcf
TC
10583 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10584 avl-tree--del-balance1 and make it work both ways.
10585 (avl-tree--del-balance2): Remove.
10586 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10587 make it work both ways.
10588 (avl-tree--enter-balance2): Remove.
10589 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10590 New macros.
10591 (avl-tree--mapc, avl-tree-map): Add direction argument.
10592
eb95d01d 105932011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10594
10595 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10596
a9f737ee
CY
105972011-05-27 Chong Yidong <cyd@stupidchicken.com>
10598
10599 * select.el: Support clipboard managers with built-in function
10600 x-clipboard-manager-save, via delete-frame-functions and
10601 kill-emacs-hook.
10602 (xselect-convert-to-targets): Add MULTIPLE target to list.
10603 (xselect-convert-to-save-targets): New function.
10604
c92a1e54
KH
106052011-05-27 Kenichi Handa <handa@m17n.org>
10606
10607 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10608 let-binding rfc2047-encode-encoded-words to nil.
10609
e145f188
GM
106102011-05-27 Glenn Morris <rgm@gnu.org>
10611
5ec8a862
GM
10612 * mail/emacsbug.el: Don't require url-util.
10613
4b29d9fb
GM
10614 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10615
e145f188
GM
10616 * files.el (set-auto-mode):
10617 Also respect mode: entries at the end of the file. (Bug#8586)
10618
7d15102b
GM
106192011-05-26 Glenn Morris <rgm@gnu.org>
10620
98f593b8
GM
10621 * files.el (hack-local-variables-prop-line, hack-local-variables):
10622 Downcase mode names, as seems to be traditional.
27b48e63 10623 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10624
7d15102b
GM
10625 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10626 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10627
51d5b4ec
JD
106282011-05-25 Julien Danjou <julien@danjou.info>
10629
10630 * textmodes/rst.el (rst-define-level-faces): Do not define face
10631 symbol if it is already defined.
10632
91513f63
VB
106332011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10634
10635 * play/5x5.el (5x5-new-game, 5x5-randomize):
10636 Reset 5x5-solver-output to nil when a new grid is cast.
10637 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10638 these debugging traces, as defmacro breaks the compiled code.
10639
4d90d6d0
DK
106402011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10641
10642 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10643
e1b90ef6
LL
106442011-05-24 Leo Liu <sdl.web@gmail.com>
10645
10646 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10647 (vc-bzr-sha1): Adapt.
10648
d8e4b68b 10649 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10650
10651 * bindings.el: Provide sha1 feature.
10652
db0406bb 106532011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10654
10655 * mail/sendmail.el: Require `rfc2047'.
10656 (mail-insert-from-field): Do not perform RFC2047 encoding.
10657 (mail-encode-header): New function.
10658 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10659 buffer to the return value of select-message-coding-system.
10660 Call mail-encode-header.
b8d747b9
KH
10661
10662 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10663
db0406bb 106642011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10665
4d90d6d0
DK
10666 * mail/supercite.el (sc-default-cite-frame):
10667 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10668
eb8a5e9b
GM
106692011-05-24 Glenn Morris <rgm@gnu.org>
10670
f8630703
GM
10671 * progmodes/python.el (brm-menu): Declare.
10672
8831bbed
GM
10673 * emulation/viper.el (viper-set-hooks): Declare.
10674
eb8a5e9b
GM
10675 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10676 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10677 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10678 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10679 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10680 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10681
a2a25d24
SM
106822011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10683
10684 Add an :exit-function for completion-at-point.
10685
10686 * minibuffer.el (completion--done): New fun.
10687 (completion--do-completion): Use it. New arg `expect-exact'.
10688 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10689 since completion--do-completion does it for us now.
10690 (minibuffer-force-complete): Use completion--done and
10691 completion--replace. Handle sole-completion case with more care.
10692 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10693 (completion-extra-properties): New var.
10694 (completion-annotate-function): Make obsolete.
10695 (minibuffer-completion-help): Adjust accordingly.
10696 Use completion-list-insert-choice-function.
10697 (completion-at-point, completion-help-at-point):
10698 Bind completion-extra-properties.
10699 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10700 * simple.el (completion-list-insert-choice-function): New var.
10701 (completion-setup-function): Preserve it.
10702 (choose-completion): Pay attention to it, shuffle the code a bit.
10703 (choose-completion-string): New arg `insert-function'.
10704
10705 * textmodes/bibtex.el: Convert to lexical binding.
10706 (bibtex-mode-map): Use completion-at-point.
10707 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10708 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10709 (bibtex-complete): Define as obsolete alias.
10710 (bibtex-complete-internal): Remove.
10711 (bibtex-format-entry): Remove unused sub-group in regexp.
10712 * shell.el (shell--command-completion-data)
10713 (shell-environment-variable-completion):
10714 * pcomplete.el (pcomplete-completions-at-point):
10715 * comint.el (comint--complete-file-name-data): Use :exit-function
10716 instead of completion-table-with-terminator so it also works for
10717 choose-completion.
10718
e44e373d
SM
107192011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10720
4f91a816
SM
10721 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10722
782fc819
SM
10723 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10724 (bug#8710).
10725
e44e373d
SM
10726 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10727
381987c3
KM
107282011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10729
10730 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10731 customization variable and implement: If non-nil, auto-fill will
10732 be inhibited while on topic's header line.
10733
b776bc70
VB
107342011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10735
10736 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10737 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10738 always have a solution in grid size = 5 cases.
10739 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10740 (5x5-solver-output, 5x5-log-buffer): New vars.
10741 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10742 Make these variables buffer local to achieve 5x5 multi-session-ness.
10743 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10744 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10745 (5x5-solve-suggest): New funs.
10746 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10747 randomize a grid so that we ensure that there is always a solution.
10748 (5x5-make-random-grid): Allow other movement than flipping.
10749
7de88b6e
KR
107502011-05-23 Kevin Ryde <user42@zip.com.au>
10751
10752 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10753 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10754 advice and passes PREDICATE.
10755
b1ef1257
SM
107562011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10757
bbca48fe
SM
10758 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10759 byte-compile-lambda if it's actually a lambda.
10760
b1ef1257
SM
10761 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10762 Fix function quoting. Use backquote better.
10763
92a9cc65
YS
107642011-05-22 Yuanle Song <sylecn@gmail.com>
10765
10766 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10767 matching (Bug#8516).
10768
f0fb8059
JA
107692011-01-22 Jari Aalto <jari.aalto@cante.net>
10770
10771 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10772 different face (Bug#8178).
10773
d5b44c93
CY
107742011-05-22 Chong Yidong <cyd@stupidchicken.com>
10775
10776 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10777 defface (Bug#8144).
10778
79106a44
SM
107792011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10780
9c848d8a
SM
10781 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10782 funcall as well (bug#8712). Warn when performing those conversions.
10783 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10784
79106a44
SM
10785 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10786
88dfa756
GM
107872011-05-22 Glenn Morris <rgm@gnu.org>
10788
10789 * files.el (hack-local-variables-prop-line): Small simplifications.
10790 (hack-local-variables, hack-local-variables-prop-line):
10791 If MODE-ONLY, return the mode, rather than just `t'.
10792
b7cf2c79
SM
107932011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10796
3f1a8558
GM
107972011-05-21 Glenn Morris <rgm@gnu.org>
10798
7e4ccca3
GM
10799 * files.el (hack-local-variables-prop-line, hack-local-variables):
10800 If only interested in the mode, don't bother doing the other stuff.
10801
637d46ca
GM
10802 * image-mode.el (image-after-revert-hook):
10803 Redraw all frames on which the image is visible. (Bug#8567)
10804
973d955b
GM
10805 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10806
3f1a8558
GM
10807 * wid-edit.el (widget-checklist-match-inline):
10808 Fix 2011-04-19 change. (Bug#8649)
10809
96479927
SM
108102011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10811
1dcf791f
SM
10812 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10813 Also allow singlespace after single-letter capitals followed by a dot.
10814
96479927
SM
10815 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10816 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10817
35fd0881
N
108182011-05-20 Nix <nix@esperi.org.uk>
10819
10820 * files.el (basic-save-buffer-2):
10821 Fix handling of break-hardlink-on-save with non-existent files.
10822
82745640
DD
108232011-05-19 Deniz Dogan <deniz@dogan.se>
10824
10825 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10826 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10827
4a720484
GM
108282011-05-19 Glenn Morris <rgm@gnu.org>
10829
d1f21341
GM
10830 * progmodes/f90.el (f90-type-def-re):
10831 Handle "type, bind(c)". (Bug#8691)
10832
4a720484
GM
10833 * emacs-lisp/autoload.el (batch-update-autoloads):
10834 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10835
2fb0a219
MA
108362011-05-18 Michael Albinus <michael.albinus@gmx.de>
10837
10838 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10839 property for the correct connection in case of multihops.
10840
e565dd37
GM
108412011-05-18 Glenn Morris <rgm@gnu.org>
10842
c2571358 10843 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10844 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10845
e565dd37
GM
10846 Rationalize calendar handling of day and month abbrev-arrays.
10847 * calendar/calendar.el (calendar-customized-p): New function.
10848 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10849 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10850 Add :set function.
10851 (calendar-abbrev-length, calendar-day-abbrev-array)
10852 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10853 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10854 Elements may no longer be nil.
10855 (calendar-day-name, calendar-month-name):
10856 Update for changed nature of abbrev arrays.
10857 * calendar/diary-lib.el (diary-name-pattern):
10858 Update for changed nature of abbrev arrays.
10859 (diary-mark-entries-1): Update calendar-make-alist calls.
10860 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10861 * calendar/cal-html.el (cal-html-day-abbrev-array):
10862 Simply inherit from calendar-day-abbrev-array.
10863
1d99a745
SM
108642011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10865
10866 * progmodes/grep.el (grep-mode): Disable default
10867 compilation-directory-matcher setting (bug#8684).
10868
7c1d9aa0
MA
108692011-05-17 Michael Albinus <michael.albinus@gmx.de>
10870
10871 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10872 instead of "head" and "tail". There were problems with SunOS 5.9,
10873 and it performs better.
10874
3952e9d8
GM
108752011-05-17 Glenn Morris <rgm@gnu.org>
10876
2dd12e7f
GM
10877 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10878
e4157b9c
GM
10879 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10880 Replace obsolete function.
10881
8e249bbd
GM
10882 * shell.el (pcomplete-parse-arguments-function): Declare.
10883
3952e9d8
GM
10884 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10885 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10886 (appt-check): Doc fixes.
10887 (appt-disp-window-function, appt-delete-window-function):
10888 Remove needless special case in custom :type.
10889 (appt-display-count): Default to 0, not nil.
10890 (appt-check): Reset appt-display-count to 0, not nil.
10891
c71a0d48 108922011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10893
c71a0d48
GM
10894 * progmodes/python.el (python-font-lock-keywords):
10895 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10896
31d55be9
SM
108972011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10898
10899 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10900
3bfacb2f
KR
109012011-05-16 Kevin Ryde <user42@zip.com.au>
10902
10903 * info-look.el (makefile-automake-mode): New setups, looking in
10904 automake manual, then makefile-mode.
10905 (makefile-mode): Remove automake manual, have it just in
10906 makefile-automake-mode since there's various things different or
10907 not relevant to plain make.
10908 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10909 believe a hypothetical automake-mode would go to makefile-mode,
10910 not the other way around.
10911
c8e83751
CY
109122011-05-15 Chong Yidong <cyd@stupidchicken.com>
10913
5e9e35cd
CY
10914 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10915 hunk-end tags (Bug#8672).
10916
c8e83751
CY
10917 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10918 vc-annotate-show-diff-revision-at-line (Bug#8671).
10919
50b23e5a
GM
109202011-05-14 Glenn Morris <rgm@gnu.org>
10921
7210a739
GM
10922 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10923 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10924 (change-log-font-lock-keywords): Also handle multiple author lines
10925 with leading tabs. (Bug#8644)
7210a739 10926
4691905a
GM
10927 * calendar/appt.el (appt-check): Rename some local variables.
10928 Some simplification/reordering.
10929
50b23e5a
GM
10930 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10931 (feedmail-sendmail-f-doesnt-sell-me-out)
10932 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10933 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10934 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10935 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10936 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10937 (feedmail-binmail-gnulinuxish-template):
10938 Rename from feedmail-binmail-linuxish-template.
10939 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10940 Use insert-buffer-substring.
10941
215cda7c
BC
109422011-05-14 Bill Carpenter <bill@carpenter.org>
10943
10944 * mail/feedmail.el (feedmail-patch-level): Increase.
10945 (feedmail-debug): New custom group.
10946 (feedmail-confirm-outgoing-timeout)
10947 (feedmail-sendmail-f-doesnt-sell-me-out)
10948 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10949 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10950 (feedmail-sender-line, feedmail-from-line)
10951 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10952 (feedmail-spray-this-address)
215cda7c
BC
10953 (feedmail-spray-address-fiddle-plex-list)
10954 (feedmail-queue-use-send-time-for-date)
10955 (feedmail-queue-use-send-time-for-message-id)
10956 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10957 (feedmail-buffer-eating-function):
10958 Doc fixes.
10959 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10960 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10961 (feedmail-message-action-scroll-down): New functions.
10962 (feedmail-queue-directory, feedmail-queue-draft-directory):
10963 Use expand-file-name.
10964 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10965 Remove C-v help entry.
10966 (feedmail-queue-buffer-file-name): New variable.
10967 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10968 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10969 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10970 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10971 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10972 (feedmail-message-action-toggle-spray)
10973 (feedmail-run-the-queue-no-prompts)
10974 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10975 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10976 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10977 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10978 (feedmail-envelope-deducer, feedmail-fiddle-from)
10979 (feedmail-fiddle-sender, feedmail-default-date-generator)
10980 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10981 (feedmail-fiddle-spray-address)
10982 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10983 (feedmail-fiddle-list-of-fiddle-plexes)
10984 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10985 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10986 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10987 Change default. Doc fix.
10988 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10989 (feedmail-binmail-linuxish-template): New constant.
10990 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10991 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10992 (feedmail-send-it): Add debug call.
10993 Use feedmail-queue-buffer-file-name, and
10994 feedmail-send-it-immediately-wrapper.
10995 (feedmail-message-action-send): Add debug call.
10996 Use feedmail-send-it-immediately-wrapper.
10997 (feedmail-queue-express-to-queue): Add debug call.
10998 Run feedmail-queue-express-hook.
10999 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11000 (feedmail-message-action-help-blat):
11001 Rename from feedmail-queue-send-edit-prompt-help-first.
11002 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11003 Check line-endings. Handle errors better.
11004 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11005 Doc fix. Add debug call.
11006 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11007 Use feedmail-queue-send-edit-prompt-inner.
11008 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11009 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11010 from feedmail-queue-send-edit-prompt.
11011 (feedmail-queue-send-edit-prompt-help)
11012 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11013 (feedmail-tidy-up-slug): Add debug call.
11014 Respect feedmail-queue-slug-suspect-regexp.
11015 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11016 (feedmail-dump-message-to-queue): Add debug call.
11017 Expand queue-directory.
11018 (feedmail-dump-message-to-queue): Change message slightly.
11019 Use feedmail-say-chatter.
11020 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11021 (feedmail-send-it-immediately-wrapper): New function.
11022 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11023 Insert empty string rather than newline. Handle full-frame case.
11024 Use catch/throw. Use feedmail-say-chatter.
11025 (feedmail-fiddle-from): Try mail-host-address.
11026 (feedmail-default-message-id-generator): Doc fix.
11027 Bind system-time-locale. Handle missing end.
11028 (feedmail-fiddle-x-mailer): Add debug call.
11029 Handle feedmail-x-mailer-line being nil.
11030 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11031 Add debug call. Use buffer-substring-no-properties.
11032 (feedmail-say-debug, feedmail-say-chatter): New functions.
11033 (feedmail-find-eoh): Give an explicit error.
11034
42c7e61e
UJ
110352011-05-13 Ulf Jasper <ulf.jasper@web.de>
11036
c2571358 11037 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11038 family from helvetica to sans.
c2571358 11039 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11040 etc/images/newsticker.
11041
c2571358 11042 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11043 family from helvetica to sans.
11044
11045 * net/newst-plainview.el (newsticker-new-item-face)
11046 (newsticker-old-item-face, newsticker-immortal-item-face)
11047 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11048 (newsticker-statistics-face): Change default family from
42c7e61e 11049 helvetica to sans.
c2571358 11050 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11051 etc/images/newsticker.
11052
5d3385a0
JB
11053 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11054 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11055 auto-marking.
11056
8497a297
DV
110572011-05-13 Didier Verna <didier@xemacs.org>
11058
11059 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11060 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11061 TODO entries.
8497a297
DV
11062 (lisp-lambda-list-keyword-parameter-indentation)
11063 (lisp-lambda-list-keyword-parameter-alignment)
11064 (lisp-lambda-list-keyword-alignment): New customizable user options.
11065 (lisp-indent-defun-method): Improve docstring.
11066 (extended-loop-p): Fix comment.
11067 (lisp-indent-lambda-list-keywords-regexp): New variable.
11068 (lisp-indent-lambda-list): New function.
11069 (lisp-indent-259): Use it.
11070 (lisp-indent-defmethod): Support for more than one
11071 method qualifier and properly indent methods lambda-lists.
11072 (defgeneric): Provide a missing common-lisp-indent-function property.
11073
f278f87f
SM
110742011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11075
11076 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11077 bounds for the empty string (bug#8667).
11078
5233edd7
GM
110792011-05-13 Glenn Morris <rgm@gnu.org>
11080
5237a44f
GM
11081 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11082
8340026c 11083 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11084 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11085
5233edd7 11086 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11087 (appt-time-msg-list): Doc fix.
a5464014 11088 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11089
92d10796
AS
110902011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11091
11092 * progmodes/ld-script.el (ld-script-keywords)
11093 (ld-script-builtins): Update keywords list.
11094
914a0ae1
SM
110952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11096
c89be45f
SM
11097 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11098
914a0ae1
SM
11099 * shell.el (shell-completion-vars): New function.
11100 (shell-mode):
11101 * simple.el (read-shell-command): Use it.
11102 (blink-matching-open): No need for " [...]" in minibuffer-message.
11103
98dc3df3
GM
111042011-05-12 Glenn Morris <rgm@gnu.org>
11105
11106 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11107 (appt-check): Simplify.
11108
d2fc7e3d 111092011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11110
4d61f28d 11111 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11112 literal "/dev/null".
11113
d2fc7e3d 111142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11115
11116 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11117 Fix typo.
11118
d2fc7e3d 111192011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11120
3f254caa
SM
11121 * progmodes/which-func.el (which-function):
11122 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11123 which might not be defined (Bug#8260).
11124
d45885f7
GM
111252011-05-12 Glenn Morris <rgm@gnu.org>
11126
11127 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11128 Let byte-compile-initial-macro-environment always take precedence.
11129
488086f4
SM
111302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11131
11132 * net/rcirc.el: Add support for SSL/TLS connections.
11133 (rcirc-server-alist): New field `encryption'.
11134 (rcirc): Check `encryption' settings.
11135 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11136 Merge make-local-variable into `set'.
11137 (rcirc--connection-open-p): New function.
11138 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11139 the process is not a network process (e.g. running gnutls-cli).
11140 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11141 Make rcirc-(en|de)code-coding-system local here.
11142 (rcirc-mode): Merge make-local-variable into `set'.
11143 (rcirc-parent-buffer): Make permanent buffer-local.
11144 (rcirc-multiline-minor-mode): Don't do it here.
11145 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11146 there's no server buffer.
11147
7d3b9d44
GM
111482011-05-11 Glenn Morris <rgm@gnu.org>
11149
f64049c6
GM
11150 * newcomment.el (comment-kill): Prefix "unused" local.
11151
93c9df73
GM
11152 * term/w32console.el (get-screen-color): Declare.
11153
7d3b9d44
GM
11154 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11155 Handle symbol elements of byte-compile-initial-macro-environment.
11156
9e2dd53f
LL
111572011-05-10 Leo Liu <sdl.web@gmail.com>
11158
488086f4
SM
11159 * bookmark.el (bookmark-bmenu-mode-map):
11160 Bind bookmark-bmenu-search to `/'.
8b340240 11161
9e2dd53f 11162 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11163 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11164 (Footnote-unicode): New function.
11165 (footnote-style-alist): Add unicode style to the list.
11166 (footnote-style): Doc fix.
9e2dd53f 11167
79b70037
GM
111682011-05-10 Jim Meyering <meyering@redhat.com>
11169
11170 Fix doubled-word typos.
11171 * international/quail.el (quail-insert-kbd-layout): and and -> and
11172 * kermit.el: and and -> and
11173 * net/ldap.el (ldap-search-internal): to to -> to
11174 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11175 * progmodes/js.el (js-mode): and and -> and
11176 * textmodes/artist.el (artist-move-to-xy): at at -> at
11177 (artist-draw-region-trim-line-endings): if if -> if
11178 And Safetyc -> Safety.
11179 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11180
b8f82dc1 111812011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11182 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11183
11184 * files.el (hack-one-local-variable-eval-safep):
11185 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11186
4f99f44b
GM
111872011-05-10 Glenn Morris <rgm@gnu.org>
11188
11189 * calendar/diary-lib.el (diary-list-entries-hook)
11190 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11191 (diary-nongregorian-marking-hook, diary-list-entries)
11192 (diary-include-other-diary-files, diary-mark-entries)
11193 (diary-mark-included-diary-files): Doc fixes.
11194
84f29e6b
JB
111952011-05-09 Juanma Barranquero <lekktu@gmail.com>
11196
11197 * misc.el: Require tabulated-list.el during compilation.
11198
9bedd73a
CY
111992011-05-09 Chong Yidong <cyd@stupidchicken.com>
11200
488086f4
SM
11201 * progmodes/compile.el (compilation-start):
11202 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11203 (compilation-filter-hook): Doc fix.
11204
797c735c
DD
112052011-05-09 Deniz Dogan <deniz@dogan.se>
11206
11207 * wdired.el: Remove outdated installation comment. Fix usage
11208 comment.
11209
5f4b1dfe
JB
112102011-05-09 Juanma Barranquero <lekktu@gmail.com>
11211
11212 * misc.el: Implement new command `list-dynamic-libraries'.
11213 (list-dynamic-libraries--loaded-only-p): New variable.
11214 (list-dynamic-libraries--refresh): New function.
11215 (list-dynamic-libraries): New command.
11216
4c44026c
CY
112172011-05-09 Chong Yidong <cyd@stupidchicken.com>
11218
488086f4
SM
11219 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11220 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11221 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11222 higher priority to avoid clobbering by gnu.
11223
027f966d
CY
112242011-05-08 Chong Yidong <cyd@stupidchicken.com>
11225
11226 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11227 if the face has existing theme settings (Bug#8454).
11228
085f5d7d
CY
112292011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11230
488086f4
SM
11231 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11232 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11233
2a86a00c
RS
11234 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11235 special file names `.' and `..' (Bug#8259).
11236
d9c54a06
CY
112372011-05-08 Chong Yidong <cyd@stupidchicken.com>
11238
488086f4
SM
11239 * progmodes/grep.el (grep-mode-font-lock-keywords):
11240 Remove buffer-changing entries.
d9c54a06
CY
11241 (grep-filter): New function.
11242 (grep-mode): Add it to compilation-filter-hook.
11243
11244 * progmodes/compile.el (compilation-filter-hook)
11245 (compilation-filter-start): New defvars.
11246 (compilation-filter): Call compilation-filter-hook prior to
11247 updating the process mark.
11248
c4662635
SM
112492011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11252
b0512a1d
EZ
112532011-05-07 Eli Zaretskii <eliz@gnu.org>
11254
605c9376
EZ
11255 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11256 mailclient-send-it even if window-system is nil. (Bug#8595)
11257
c4662635
SM
11258 * term/w32console.el (terminal-init-w32console):
11259 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11260 background-mode. (Bug#8597)
11261
d1dc2cc2
SM
112622011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11265 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11266 New functions.
11267 (defgeneric, eieio--defmethod): Use them.
11268 (eieio-defgeneric): Remove.
11269 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11270
915d1300
GM
112712011-05-07 Glenn Morris <rgm@gnu.org>
11272
a3961c3e
GM
11273 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11274 Use let rather than let*.
11275 (timeclock-find-discrep): Remove unused local.
11276
314347b9
GM
11277 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11278
915d1300
GM
11279 * calendar/appt.el (appt-time-msg-list): Doc fix.
11280
275b59b0
NF
112812011-05-06 Noah Friedman <friedman@splode.com>
11282
11283 * apropos.el (apropos-print-doc): Only use
11284 emacs-lisp-docstring-fill-column when it is bound to an integer,
11285 per that variable's documentation.
11286
6c19f744
SM
112872011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11288
11289 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11290 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11291
60f884b2
GM
112922011-05-06 Glenn Morris <rgm@gnu.org>
11293
5006e634
GM
11294 * calendar/appt.el (appt-message-warning-time): Doc fix.
11295 (appt-warning-time-regexp): New option.
11296 (appt-make-list): Respect appt-message-warning-time.
11297
548d0a63
GM
11298 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11299 New options.
11300 (diary-add-to-list): Strip comments from the displayed string.
11301 (diary-mode): Set comment-start and comment-end.
11302
60f884b2
GM
11303 * vc/diff-mode.el (smerge-refine-subst): Declare.
11304 (diff-refine-hunk): Don't require smerge-mode when compiling.
11305
989681bb
JB
113062011-05-06 Juanma Barranquero <lekktu@gmail.com>
11307
11308 * simple.el (list-processes): Return nil as the docstring says.
11309
a6bc05e1
MA
113102011-05-05 Michael Albinus <michael.albinus@gmx.de>
11311
11312 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11313 to "".
11314 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11315 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11316 determining of binary transfer. (Bug#7383)
11317
23c22e9a
MA
113182011-05-05 Michael Albinus <michael.albinus@gmx.de>
11319
c4662635
SM
11320 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11321 Fix port computation bug. (Bug#8618)
23c22e9a 11322
0bff894f
GM
113232011-05-05 Glenn Morris <rgm@gnu.org>
11324
b8296902
GM
11325 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11326
1f522ce8
GM
11327 * simple.el (shell-dynamic-complete-functions)
11328 (comint-dynamic-complete-functions): Declare.
11329
cf5bee67
GM
11330 * net/network-stream.el (gnutls-negotiate):
11331 * simple.el (tabulated-list-print): Fix declarations.
11332
11333 * progmodes/gud.el (syntax-symbol, syntax-point):
11334 Remove unnecessary and incorrect declarations.
11335
0bff894f
GM
11336 * emacs-lisp/check-declare.el (check-declare-scan):
11337 Handle byte-compile-initial-macro-environment in bytecomp.el
11338
9869b3ae
SM
113392011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 Fix earlier half-done eieio-defmethod change (bug#8338).
11342 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11343 Streamline and change calling convention.
11344 (defmethod): Adjust accordingly and simplify.
11345 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11346 new eieio--defmethod.
11347 (slot-boundp): Minor CSE simplification.
11348
9c1d5ac5
MZ
113492011-05-05 Milan Zamazal <pdm@zamazal.org>
11350
11351 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11352 (glasses-make-readable): Use glasses-separate-capital-groups.
11353
455c834e
JB
113542011-05-05 Juanma Barranquero <lekktu@gmail.com>
11355
11356 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11357 (warning-series): Doc fix.
11358 (display-warning): Don't try to create the buffer if we just found it.
11359
9ed7c8cb
CY
113602011-05-04 Chong Yidong <cyd@stupidchicken.com>
11361
11362 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11363 (autoload-find-generated-file): New function.
11364 (generate-file-autoloads): Bind generated-autoload-file to
11365 buffer-file-name.
9869b3ae
SM
11366 (update-file-autoloads, update-directory-autoloads):
11367 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11368 output file (Bug#7989).
11369 (batch-update-autoloads): Doc fix.
11370
0898ca10
JB
113712011-05-04 Juanma Barranquero <lekktu@gmail.com>
11372
11373 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11374
31dfb76c
GM
113752011-05-04 Glenn Morris <rgm@gnu.org>
11376
f330b642
GM
11377 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11378 function, so it follows changes in calendar-date-style.
11379 (diary-fancy-date-matcher): New function.
11380 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11381 (diary-fancy-font-lock-fontify-region-function):
11382 Use diary-fancy-date-pattern as a function.
11383
31dfb76c
GM
11384 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11385 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11386
48e79d6a
TZ
113872011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11388
11389 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11390 instead of positional arguments. Allow :keylist and :crlfiles
11391 arguments.
11392 (open-gnutls-stream): Call it.
11393
11394 * net/network-stream.el (network-stream-open-starttls): Adjust to
11395 call `gnutls-negotiate' with :process and :hostname arguments.
11396
dd5a5ee0
SM
113972011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11398
ef80fc09
SM
11399 * minibuffer.el (completion--message): New function.
11400 (completion--do-completion, minibuffer-complete)
11401 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11402 (completion--do-completion): Don't ignore completion-auto-help when in
11403 icomplete-mode.
11404
dd5a5ee0
SM
11405 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11406 internal encoding (e.g. tibetan zero is not whitespace).
11407 (global-whitespace-mode): Prefer save-current-buffer.
11408 (whitespace-trailing-regexp): Remove useless save-match-data.
11409 (whitespace-empty-at-bob-regexp): Minor simplification.
11410
b7d22a83
CY
114112011-05-03 Chong Yidong <cyd@stupidchicken.com>
11412
11413 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11414
5192af46
AM
114152011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11416
11417 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11418 Use `concat' to create string for insertion.
5192af46 11419
5767d190
SM
114202011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11421
11422 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11423 Avoid open-line which runs post-self-insert-hook.
11424 (bibtex-fill-entry): Remove unused `end' var.
11425
bf242939
AM
114262011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11427
5767d190
SM
11428 * textmodes/ispell.el (ispell-add-per-file-word-list):
11429 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11430
25666126
LL
114312011-05-03 Leo Liu <sdl.web@gmail.com>
11432
11433 * isearch.el (isearch-yank-pop): New command.
5767d190 11434 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11435 (isearch-forward): Mention it.
11436
52d3c2d0
SM
114372011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11438
1bcace58
SM
11439 * simple.el (minibuffer-complete-shell-command): Remove.
11440 (minibuffer-local-shell-command-map): Use completion-at-point.
11441 (read-shell-command): Setup completion vars here instead.
11442 (read-expression-map): Bind TAB to symbol completion.
11443
52d3c2d0
SM
11444 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11445 error directly rather via storing it into `results'.
11446
35813471
LL
114472011-05-02 Leo Liu <sdl.web@gmail.com>
11448
11449 * vc/diff.el: Fix description.
11450
e793a940
LMI
114512011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11452
11453 * server.el (server-eval-at): New function.
11454
8de66e05
LMI
114552011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11456
11457 * net/network-stream.el (open-network-stream): Take a :nowait
11458 parameter and pass it on to `make-network-process'.
11459 (network-stream-open-plain): Ditto.
11460
dcb79f20
AS
114612011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11462
11463 * faces.el (face-spec-set-match-display): Don't match toolkit
11464 options on terminal frames.
11465
14a7fbd8
SM
114662011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11467
7eabc1be
SM
11468 * progmodes/pascal.el: Use lexical binding.
11469 (pascal-mode-map): Remove author preferences.
11470
14a7fbd8
SM
11471 * pcomplete.el (pcomplete-std-complete): Don't abuse
11472 completion-at-point.
11473
50f84510
JB
114742011-04-28 Juanma Barranquero <lekktu@gmail.com>
11475
6e087a44
JB
11476 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11477 removing code that has been dead since 1991 or so.
11478
50f84510
JB
11479 * startup.el (command-line): When warning about "_emacs", use a
11480 delayed warning to allow the user to filter it out.
11481
0ba690bd
DD
114822011-04-28 Deniz Dogan <deniz@dogan.se>
11483
11484 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11485 user has not joined.
11486
08abfaad
SM
114872011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11490 aren't any completions at point.
11491
638f053a
JB
114922011-04-28 Juanma Barranquero <lekktu@gmail.com>
11493
11494 * subr.el (display-delayed-warnings): New function.
11495 (delayed-warnings-hook): New variable.
11496
8fff8daa
SM
114972011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11498
08abfaad
SM
11499 * minibuffer.el (completion-at-point, completion-help-at-point):
11500 Don't presume that a given completion-at-point-function will always
11501 use the same calling convention.
11502
8fff8daa
SM
11503 * pcomplete.el (pcomplete-completions-at-point):
11504 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11505 pcomplete-seen is non-nil.
11506 (pcomplete-comint-setup): Also recognize the new comint/shell
11507 completion functions.
11508 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11509 pcomplete-seen is non-nil.
11510
841a1577 115112011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11512
841a1577 11513 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11514 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11515 the first character in the entry. This allows for code to add its
211ec907
UJ
11516 own uid to the entry.
11517 (icalendar--convert-float-to-ical): Add export of
11518 `diary-float'-entries save for those with the optional DAY
11519 argument.
11520
2a782793
DC
115212011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11522
11523 * subr.el (shell-quote-argument): Use alternate escaping strategy
11524 when we spot a variable reference in a string.
11525
0438ce91
DC
115262011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11527
11528 * cus-start.el (all): Define customization for debug-on-event.
11529
841a1577 115302011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11531
11532 * subr.el (shell-quote-argument): Escape correctly under Windows.
11533
d090ed6c
SM
115342011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11535
11536 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11537
bfd31217
MA
115382011-04-25 Michael Albinus <michael.albinus@gmx.de>
11539
d090ed6c
SM
11540 * net/tramp.el (tramp-process-actions): Add POS argument.
11541 Delete region between POS and (pos).
bfd31217 11542
d090ed6c
SM
11543 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11544 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11545 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11546
11547 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11548 position in `tramp-process-actions' call.
11549
11550 * net/trampver.el: Update release number.
11551
e92f3bd3
SM
115522011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11553
850256b5
SM
11554 * custom.el (defcustom): Obey lexical-binding.
11555
e92f3bd3
SM
11556 Fix octave-inf completion problems reported by Alexander Klimov.
11557 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11558 Inherit from octave-mode-syntax-table.
11559 (inferior-octave-mode): Set info-lookup-mode.
11560 (inferior-octave-completion-at-point): New function.
11561 (inferior-octave-complete): Use it and completion-in-region.
11562 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11563 comint-filename-completion.
11564 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11565 symbol elements which shouldn't be word elements.
11566 (octave-font-lock-keywords, octave-beginning-of-defun)
11567 (octave-function-header-regexp): Adjust regexps accordingly.
11568 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11569
cd22b309
JB
115702011-04-25 Juanma Barranquero <lekktu@gmail.com>
11571
11572 * net/gnutls.el (gnutls-errorp): Declare before first use.
11573
8b492194
TZ
115742011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11575
11576 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11577 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11578 default trustfile exists before going to use it. Add missing
5a5fa834 11579 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11580 Reported by Claudio Bley <claudio.bley@gmail.com>.
11581 (open-gnutls-stream): Add usage example.
11582
11583 * net/network-stream.el (network-stream-open-starttls): Give host
11584 parameter to `gnutls-negotiate'.
11585 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11586 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11587
841a1577 115882011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11589
cd22b309
JB
11590 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11591 Use correct match group (bug#8438).
05842630 11592
3ba7869c
CY
115932011-04-24 Chong Yidong <cyd@stupidchicken.com>
11594
512e3ae1
CY
11595 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11596 (package-menu--generate): New arg specifying packages to show.
11597 (package-menu-refresh, package-menu-execute, list-packages):
11598 Callers changed.
11599 (package-show-package-list): New function, replacing deleted
11600 package--list-packages (renamed because it is non-internal).
11601
11602 * finder.el (finder-list-matches): Use package-show-package-list
11603 instead of deleted package--list-packages.
11604
e92f3bd3
SM
11605 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11606 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11607 (vc-annotate-mode-map): Bind it to RET.
11608
7031be6d
UR
116092011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11610
11611 * progmodes/etags.el (next-file): Don't use set-buffer to change
11612 buffers (Bug#8478).
11613
4ef177aa
CY
116142011-04-24 Chong Yidong <cyd@stupidchicken.com>
11615
c8d173eb
CY
11616 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11617
4ef177aa
CY
11618 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11619 (apropos-accumulator): Doc fix.
11620 (apropos-function, apropos-macro, apropos-command)
11621 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11622 (apropos-plist): Add face property.
11623 (apropos-symbols-internal): Fix indentation.
11624 (apropos-print): Simplify help, and recognize apropos-multi-type.
11625 (apropos-print-doc): Use button-type-get to extract the button's
11626 face property. Fill docstring (Bug#8352).
11627
4ffd0d6b 116282011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11629
11630 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11631
c6c32125 11632 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11633 (mpuz-mode-map): Use mapc.
c6c32125
JB
11634 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11635 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11636 Fix typos in docstrings.
11637
58d468b4
JB
11638 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11639 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11640
6470c3c6
JB
11641 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11642
4ffd0d6b 116432011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11644
11645 * minibuffer.el (completion--do-completion): Avoid the "Next char
11646 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11647
3ad8bad0
CY
11648 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11649 mouse-2 into unread-command-events, it is interpreted correctly.
11650
71d73c9c 11651 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11652 (image-toggle-display): Doc fix.
71d73c9c 11653
841a1577 116542011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11655
4ffd0d6b
GM
11656 * textmodes/page.el (what-page): Use line-number-at-pos to
11657 calculate line number (Bug#6825).
6e1dbaa9 11658
c2fb1b60
JB
116592011-04-22 Juanma Barranquero <lekktu@gmail.com>
11660
11661 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11662 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11663 Pass argument NO-DEFAULT to `find-tag-interactive'.
11664
e02f48d7
JB
116652011-04-22 Juanma Barranquero <lekktu@gmail.com>
11666
11667 Lexical-binding cleanup.
11668
11669 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11670 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11671 * progmodes/ada-prj.el (ada-prj-initialize-values)
11672 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11673 (ada-prj-show-value):
11674 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11675 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11676 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11677 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11678 * progmodes/bug-reference.el (bug-reference-push-button):
11679 * progmodes/fortran.el (fortran-line-length):
11680 * progmodes/glasses.el (glasses-change):
11681 * progmodes/octave-mod.el (octave-fill-paragraph):
11682 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11683 (python-pdbtrack-grub-for-buffer, python-sentinel):
11684 * progmodes/sql.el (sql-save-connection):
11685 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11686 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11687 Mark unused parameters.
11688
11689 * progmodes/compile.el (compilation--flush-directory-cache)
11690 (compilation--flush-parse, compile-internal): Mark unused parameters.
11691 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11692 (compilation-next-error-function): Remove unused variable `timestamp'.
11693
11694 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11695 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11696
11697 * progmodes/dcl-mode.el (dcl-end-of-command):
11698 Remove unused variable `start'.
11699 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11700 (dcl-option-value-basic, dcl-option-value-offset)
11701 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11702 Mark unused parameters.
11703 (dcl-save-local-variable): Remove unused variable `val'.
11704 (mode): Declare.
11705
11706 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11707 Mark unused parameters.
11708 (delphi-ignore-changes): Move before first use.
11709 (delphi-charset-token-at): Remove unused variable `start'.
11710 (delphi-else-start): Remove unused variable `if-count'.
11711 (delphi-comment-block-start, delphi-comment-block-end):
11712 Remove unused variable `kind'.
11713 (delphi-indent-line): Remove unused variable `new-point'.
11714
11715 * progmodes/ebrowse.el (ebrowse-files-list)
11716 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11717 Mark unused parameters. Don't quote `lambda'.
11718 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11719 Don't quote `lambda'.
11720 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11721 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11722 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11723 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11724 Use `ignore-errors'.
11725 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11726 (ebrowse-view/find-file-and-search-pattern)
11727 (ebrowse-view/find-member-declaration/definition):
11728 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11729 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11730 Rename parameter PREFIX-ARG to PREFIX.
11731 (ebrowse-tags-read-name): Remove unused variables `start' and
11732 `member-info'.
11733 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11734 to `tags-file'.
11735
11736 * progmodes/etags.el (local-find-tag-hook): Declare.
11737 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11738 Mark unused parameters.
11739
11740 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11741 (executable-interpret): Mark unused parameter.
11742
11743 * progmodes/flymake.el (flymake-process-sentinel)
11744 (flymake-after-change-function)
11745 (flymake-create-temp-with-folder-structure)
11746 (flymake-get-include-dirs-dot): Mark unused parameters.
11747 (flymake-safe-delete-directory): Remove unused variable `err'.
11748
11749 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11750 (speedbar-timer-fn, speedbar-line-text)
11751 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11752 (speedbar-center-buffer-smartly): Declare functions.
11753 (gdb-find-watch-expression): Remove unused variable `array'.
11754 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11755 (gdb-starting): Mark unused parameters.
11756 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11757 (gdb-table-string): Remove unused variable `res'.
11758 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11759 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11760 (gdb-display-buffer): Remove unused variable `cur-size'.
11761
11762 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11763 allow lexical-binding compilation.
11764 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11765 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11766 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11767 Mark unused parameters.
11768 (gud-gdb-marker-filter): Remove unused variable `match'.
11769 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11770 lambda expressions and funcall them, instead of using `fset'.
11771
11772 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11773 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11774
11775 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11776 variable `header-beg'; use `let'.
11777
11778 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11779 `restart', `last-sexp' and `at-do'.
11780
11781 * progmodes/js.el (js--debug): Mark unused parameter.
11782 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11783 (js--splice-into-items): Remove unused variable `item'.
11784 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11785
11786 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11787 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11788 (makefile-complete): Remove unused variable `try'.
11789 (makefile-fill-paragraph, makefile-match-function-end):
11790 Mark unused parameters.
11791
11792 * progmodes/octave-inf.el (inferior-octave-complete):
11793 Remove unused variable `proc'.
11794 (inferior-octave-output-digest): Mark unused parameter.
11795
11796 * progmodes/perl-mode.el (perl-calculate-indent):
11797 Remove unused variable `err'.
11798
11799 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11800 (prolog-indent-line): Mark unused parameters.
11801 (prolog-indent-line): Remove unused variable `beg'.
11802
11803 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11804 (reporter-dont-compact-list): Declare.
11805
11806 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11807 Remove unused variable `char'.
11808 (sh-debug): Mark unused parameter.
11809 (sh-get-indent-info): Remove unused variable `start'.
11810 (sh-calculate-indent): Remove unused variable `var'.
11811
11812 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11813 (simula-electric-keyword): Remove unused variable `null'.
11814 (simula-search-backward, simula-search-forward): Remove unused
11815 variables `begin' and `end'.
11816
11817 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11818 Remove unused variable `pos'.
11819 (vera-electric-tab, vera-comment-uncomment-region):
11820 Mark unused parameters.
11821 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11822
7ede3b65
CY
118232011-04-22 Chong Yidong <cyd@stupidchicken.com>
11824
11825 * emacs-lisp/package.el (package--builtins, package-alist)
11826 (package-load-descriptor, package-built-in-p, package-activate)
11827 (define-package, package-installed-p)
11828 (package-compute-transaction, package-buffer-info)
11829 (package--push): Doc fix. Distinguish more clearly between
11830 version strings and version lists.
11831
121656e9
JB
118322011-04-21 Juanma Barranquero <lekktu@gmail.com>
11833
11834 Lexical-binding cleanup.
11835
11836 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11837 (5x5-make-mutate-best):
11838 * play/fortune.el (fortune-in-buffer):
11839 * play/gomoku.el (gomoku-init-display):
11840 * play/solitaire.el (solitaire, solitaire-do-check):
11841 * play/tetris.el (tetris-default-update-speed-function):
11842 Mark unused parameters.
11843
11844 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11845 (bubbles--shift): Remove unused variable `char-org'.
11846 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11847 (bubbles--show-images): Remove unused variable `char'.
11848
11849 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11850 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11851 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11852 (decipher-analyze-buffer): Use ?\s.
11853 (decipher-make-checkpoint): Remove unused variable `mapping'.
11854
11855 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11856
11857 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11858 Remove unused variable `result'; use `let'.
11859
11860 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11861 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11862 (gametree-children-shown-p, gametree-compute-reduced-score):
11863 Use `ignore-errors'.
11864
11865 * play/handwrite.el (ps-lpr-switches): Declare.
11866 (handwrite): Remove unused variables `pmin' and `lastp'.
11867
11868 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11869
11870 * play/landmark.el (landmark-init-display)
11871 (landmark-update-naught-weights): Mark unused parameters.
11872 (landmark-y): Remove unused variable `noise'. Simplify.
11873 (landmark-human-plays): Remove unused variable `score'.
11874
11875 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11876 (mpuz-try-proposal): Remove unused variable `game'.
11877
11878 * play/zone.el (life-patterns): Declare.
11879
80f499c7
JB
118802011-04-20 Juanma Barranquero <lekktu@gmail.com>
11881
11882 * vc/vc.el (ediff-vc-internal): Declare function.
11883
024ff170
SM
118842011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11885
c0a193ea
SM
11886 * shell.el: Use lexical-binding and std completion UI.
11887 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11888 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11889 comint-preoutput-filter-functions rather than on
11890 comint-output-filter-functions.
11891 (shell-command-completion, shell--command-completion-data)
11892 (shell-filename-completion, shell-environment-variable-completion)
11893 (shell-c-a-p-replace-by-expanded-directory): New functions.
11894 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11895 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11896 (shell-dynamic-complete-environment-variable): Use them.
11897 (shell-dynamic-complete-as-environment-variable)
11898 (shell-dynamic-complete-as-command): Remove.
11899 (shell-match-partial-variable): Match past point.
11900 * comint.el: Clean up use of completion-at-point-functions.
11901 (comint-completion-at-point): New function.
11902 (comint-mode): Use it completion-at-point-functions.
11903 (comint-dynamic-complete): Make it obsolete.
11904 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11905 (comint-c-a-p-replace-by-expanded-history): New function.
11906 (comint-dynamic-complete-functions)
11907 (comint-replace-by-expanded-history): Use it.
11908 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11909 termination strings. Try harder to avoid second try-completion.
11910 (completion-in-region-mode-map): Disable bindings that don't work yet.
11911
2dbaa080
SM
11912 * comint.el: Use lexical-binding. Require CL.
11913 (comint-dynamic-complete-functions): Use comint-filename-completion.
11914 (comint-completion-addsuffix): Tweak custom type.
11915 (comint-filename-completion, comint--common-suffix)
11916 (comint--common-quoted-suffix, comint--table-subvert)
11917 (comint--complete-file-name-data): New functions.
11918 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11919 (comint-dynamic-list-filename-completions): Use them.
11920 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11921
2dbaa080
SM
11922 * minibuffer.el (completion-in-region-mode):
11923 Keep completion-in-region-mode--predicate global.
11924 (completion-in-region--postch):
11925 Assume completion-in-region-mode--predicate is not null.
11926
c79a6f38
SM
11927 * progmodes/flymake.el (flymake-start-syntax-check-process):
11928 Obey `dir'. Simplify.
11929
024ff170
SM
11930 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11931 we're in VC after all.
11932
1c6c854e
CS
119332011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11934
11935 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11936 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11937 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11938
bed7f140
SM
119392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11940
332e62ab
SM
11941 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11942 add sanity check.
11943
bed7f140
SM
11944 * obsolete/erc-hecomplete.el: Make obsolete.
11945 * obsolete/: Standardize obsolescence info in the header.
11946
f195c582
GM
119472011-04-20 Glenn Morris <rgm@gnu.org>
11948
11949 * calendar/solar.el (solar-horizontal-coordinates):
11950 Use the longitude argument rather than `calendar-longitude'.
11951 (solar-date-next-longitude): Remove unused locals.
11952
cb79b8c0
VJL
119532011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11954
11955 * whitespace.el: New version 13.2.1.
11956
119572011-04-20 felix <EmacsWiki> (tiny change)
11958
d8e4b68b 11959 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11960 switching between major modes on a file.
11961
602ea69d
SM
119622011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11963
11964 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11965 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11966 multi-line comments as well.
11967
06b60517
JB
119682011-04-19 Juanma Barranquero <lekktu@gmail.com>
11969
11970 Lexical-binding cleanup.
11971
11972 * arc-mode.el (archive-mode-revert):
11973 * cmuscheme.el (scheme-interactively-start-process):
11974 * custom.el (custom-initialize-delay):
11975 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11976 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11977 * emacs-lock.el (emacs-lock-clear-sentinel):
11978 * ezimage.el (defezimage):
11979 * follow.el (follow-avoid-tail-recenter):
11980 * fringe.el (set-fringe-mode-1):
11981 * generic-x.el (bat-generic-mode-compile):
11982 * help-mode.el (help-info-variable, help-do-xref)
11983 (help-mode-revert-buffer):
11984 * help.el (view-emacs-todo):
11985 * iswitchb.el (iswitchb-completion-help):
11986 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11987 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11988 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11989 * locate.el (locate-update):
11990 * longlines.el (longlines-encode-region)
11991 (longlines-after-change-function):
11992 * outline.el (outline-isearch-open-invisible):
11993 * ps-def.el (declare-function, charset-dimension, char-width)
11994 (encode-char):
11995 * ps-mule.el (ps-mule-plot-string):
11996 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11997 (recentf-edit-list-select, recentf-edit-list-validate)
11998 (recentf-open-files-action):
11999 * rect.el (delete-whitespace-rectangle-line)
12000 (rectangle-number-line-callback):
12001 * register.el (window-configuration-to-register)
12002 (frame-configuration-to-register):
12003 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12004 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12005 (xselect-convert-to-targets, xselect-convert-to-delete)
12006 (xselect-convert-to-filename, xselect-convert-to-charpos)
12007 (xselect-convert-to-lineno, xselect-convert-to-colno)
12008 (xselect-convert-to-os, xselect-convert-to-host)
12009 (xselect-convert-to-user, xselect-convert-to-class)
12010 (xselect-convert-to-name, xselect-convert-to-integer)
12011 (xselect-convert-to-atom, xselect-convert-to-identity):
12012 * subr.el (declare, ignore, process-kill-without-query)
12013 (text-clone-maintain):
12014 * terminal.el (te-get-char, te-tic-sentinel):
12015 * tool-bar.el (tool-bar-make-keymap):
12016 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12017 * type-break.el (type-break-mode, type-break-noninteractive-query):
12018 * view.el (View-back-to-mark):
12019 * wid-browse.el (widget-browse-action, widget-browse-widget)
12020 (widget-browse-widgets, widget-browse-sexp):
12021 * widget.el (define-widget-keywords):
12022 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12023 Mark unused parameters.
12024
12025 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12026 (align-areas): Remove unused variable `look'.
12027 (align-region): Remove unused variables `real-end' and `pos-list'.
12028
12029 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12030
12031 * bindings.el (mode-line-modified, mode-line-remote):
12032 Mark unused parameters.
12033 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12034
12035 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12036 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12037
12038 * comint.el (comint-history-isearch-pop-state)
12039 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12040 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12041 (comint-substitute-in-file-name): Doc fix.
12042
12043 * completion.el (cmpl-statistics-block): Mark unused parameter.
12044 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12045 (save-completions-to-file, load-completions-from-file):
12046 Remove unused local variable `e'.
12047
12048 * composite.el (compose-chars): Remove unused variable `len'.
12049 (lgstring-insert-glyph): Remove unused variable `g'.
12050 (compose-glyph-string): Remove unused variables `ascent',
12051 `descent', `lbearing' and `rbearing'.
12052 (compose-glyph-string-relative): Remove unused variables
12053 `lbearing', `rbearing' and `wadjust'.
12054 (compose-gstring-for-graphic): Remove unused variables `header',
12055 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12056 (compose-gstring-for-terminal): Remove unused variables `header'
12057 and `nchars'. Use `let', not `let*'.
12058
12059 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12060 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12061 (Custom-buffer-done, custom-buffer-create-internal)
12062 (custom-browse-visibility-action, custom-browse-group-tag-action)
12063 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12064 (widget-magic-mouse-down-action, custom-toggle-parent)
12065 (custom-add-parent-links, custom-toggle-hide-variable)
12066 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12067 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12068 (custom-face-menu-create, custom-variable-menu-create, get)
12069 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12070 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12071 (customize-apropos): Remove unused variable `tests'.
12072 (custom-group-value-create): Remove unused variable `hidden-p'.
12073 (sort-fold-case): Declare.
12074
12075 * cus-theme.el (custom-reset-standard-faces-list)
12076 (custom-reset-standard-variables-list): Declare.
12077 (customize-create-theme, custom-theme-revert, custom-theme-write)
12078 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12079 Mark unused parameters.
12080
12081 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12082
12083 * delim-col.el (delimit-columns-max): Move defvar before first use.
12084
12085 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12086 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12087
12088 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12089 (auto-insert): Declare.
12090 (desktop-restore-file-buffer): Rename desktop-* parameters;
12091 mark unused ones.
12092 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12093 (desktop-buffer): Rename desktop-* parameters.
12094
12095 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12096 (dframe-reposition-frame-xemacs, dframe-help-echo)
12097 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12098 Mark unused parameters.
12099
12100 * dired-aux.el (backup-extract-version-start, overwrite-query)
12101 (overwrite-backup-query, rename-regexp-query)
12102 (rename-non-directory-query): Declare.
12103 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12104 (dired-add-entry): Remove unused variable `orig-file-name'.
12105 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12106 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12107 `dired-copy-preserve-time' directly.
12108 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12109 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12110
12111 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12112 (dired-virtual-revert, dired-make-relative-symlink):
12113 Mark unused parameters.
12114 (manual-program): Declare.
12115 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12116 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12117 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12118
12119 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12120
12121 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12122
12123 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12124 Declare.
12125
12126 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12127
12128 * electric.el (Electric-command-loop): Rename parameter
12129 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12130
12131 * expand.el (expand-in-literal): Remove unused variable `here'.
12132
12133 * facemenu.el (facemenu-add-new-color):
12134 Remove unused variable `docstring'.
12135
12136 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12137 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12138 (face-attr-construct): Mark unused parameter. Doc fix.
12139 (read-color): Remove unused variable `hex-string'.
12140
12141 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12142 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12143 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12144 (display-buffer-other-frame): Remove unused variable `old-window'.
12145 (kill-buffer-hook): Declare.
12146 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12147 Mark unused parameters.
12148 (after-find-file): Pass 1 to `auto-save-mode', not t.
12149
12150 * files-x.el (auto-insert): Declare.
12151 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12152
12153 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12154 variable `buf'. Mark unused parameter.
06b60517
JB
12155 (find-lisp-insert-directory): Mark unused parameter.
12156
12157 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12158 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12159 (format-common-tail): Remove, unused.
12160 (format-deannotate-region): Remove unused variable `loc'.
12161 (format-annotate-region): Remove unused variable `p'.
12162 (format-annotate-single-property-change): Remove unused variables
12163 `default' and `tail'.
12164
12165 * forms.el (read-file-filter): Declare.
12166 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12167
12168 * frame.el (frame-creation-function-alist): Mark unused parameter.
12169 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12170
12171 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12172 Remove unused parameters.
12173 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12174 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12175
12176 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12177 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12178 (hfy-prepare-tag-map): Mark unused parameters.
12179 (htmlfontify-buffer): Use `called-interactively-p'.
12180
12181 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12182 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12183 (ibuffer-do-occur): Mark unused parameters.
12184 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12185 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12186
12187 * ibuffer.el: Don't quote `lambda'.
12188 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12189 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12190 Mark unused parameters.
12191
12192 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12193 (ido-completing-read): Mark unused parameters.
12194 (ido-copy-current-word): Mark unused parameters;
12195 remove unused variable `name'.
12196 (ido-sort-merged-list): Remove unused parameter `dirs'.
12197
12198 * ielm.el (ielm-input-sender): Mark unused parameter.
12199 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12200 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12201 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12202 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12203 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12204
12205 * image-dired.el (image-dired-display-thumbs): Remove unused
12206 variables `curr-file' and `count'.
12207 (image-dired-remove-tag): Remove unused variable `start'.
12208 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12209 variable `curr-file'
12210 (image-dired-rotate-original): Remove unused variable `temp-file'.
12211 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12212 Remove unused variable `file'.
12213 (image-dired-gallery-generate): Remove unused variable `curr'.
12214 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12215
12216 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12217
12218 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12219
12220 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12221
12222 * isearch.el (minibuffer-history-symbol): Declare.
12223 (isearch-edit-string): Remove unused variable `err'.
12224 (isearch-message-prefix, isearch-message-suffix):
12225 Mark unused parameters.
12226
12227 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12228
12229 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12230
12231 * makesum.el (double-column): Remove unused variable `cnt'.
12232
12233 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12234 (ido-ignore-item-temp-list): Declare.
12235
12236 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12237 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12238 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12239 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12240 `mouse-col-delta'.
12241
12242 * mouse-sel.el (mouse-extend-internal):
12243 Remove unused variable `orig-window-frame'.
12244
12245 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12246 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12247 Move declarations before first use.
12248 (pcomplete-opt): Mark unused parameters; doc fix.
12249
12250 * proced.el (proced-revert): Mark unused parameter.
12251 (proced-send-signal): Remove unused variable `err'.
12252
12253 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12254 Rename parameter PREFIX-ARG to ARG.
12255 (ps-basic-plot-string, ps-basic-plot-whitespace):
12256 Mark unused parameters.
12257
12258 * replace.el (replace-count): Define.
12259 (occur-revert-function): Mark unused parameters.
12260 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12261 (isearch-case-fold-search, isearch-string): Declare.
12262 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12263 bind `case-fold-search'. Remove unused variables `beg' and `end',
12264 and simplify.
12265 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12266 COUNT and bind `replace-count'.
12267 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12268 to COUNT.
12269
12270 * savehist.el (print-readably, print-string-length): Declare.
12271
12272 * shadowfile.el (shadow-expand-cluster-in-file-name):
12273 Remove unused variable `cluster'.
12274 (shadow-copy-file): Remove unused variable `i'.
12275 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12276 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12277 (shadow-define-literal-group, shadow-define-regexp-group)
12278 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12279
12280 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12281 (shell): Use `called-interactively-p'.
12282 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12283
12284 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12285 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12286 (delete-backward-char): Remove unused variable `ocol'.
12287 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12288 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12289 (event-apply-hyper-modifier, event-apply-shift-modifier)
12290 (event-apply-control-modifier, event-apply-meta-modifier):
12291 Mark unused parameters.
12292 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12293 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12294
12295 * speedbar.el (speedbar-ignored-directory-expressions)
12296 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12297 (speedbar-find-file, speedbar-dir-follow)
12298 (speedbar-directory-buttons-follow, speedbar-tag-find)
12299 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12300 (speedbar-buffers-line-directory, speedbar-buffer-click):
12301 Mark unused parameters.
12302 (speedbar-tag-file): Remove unused variable `mode'.
12303 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12304
12305 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12306
12307 * talk.el (talk): Remove unused variable `display'.
12308
12309 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12310 (tar-write-region-annotate): Mark unused parameter.
12311
12312 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12313 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12314 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12315 warning by another.
12316
12317 * time-stamp.el (time-stamp-string-preprocess):
12318 Remove unused variable `require-padding'.
12319
12320 * tree-widget.el (widget-glyph-enable): Declare.
12321 (tree-widget-action): Mark unused parameter.
12322
12323 * w32-fns.el (x-get-selection): Mark unused parameter.
12324 (autoload-make-program, generated-autoload-file): Declare.
12325
12326 * wdired.el (wdired-revert): Mark unused parameters.
12327 (wdired-xcase-word): Remove unused variable `err'.
12328
12329 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12330 (whitespace-help-scroll): Remove unused variable `data-help'.
12331
12332 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12333 (widget-image-insert, widget-after-change, default)
12334 (widget-default-format-handler, widget-default-notify)
12335 (widget-default-prompt-value, widget-info-link-action)
12336 (widget-url-link-action, widget-function-link-action)
12337 (widget-variable-link-action, widget-file-link-action)
12338 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12339 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12340 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12341 (widget-insert-button-action, widget-delete-button-action, visibility)
12342 (widget-documentation-link-action, widget-documentation-string-action)
12343 (widget-const-prompt-value, widget-regexp-match, symbol)
12344 (widget-coding-system-prompt-value)
12345 (widget-key-sequence-value-to-external, sexp)
12346 (widget-sexp-value-to-internal, character, vector, cons)
12347 (widget-choice-prompt-value, widget-boolean-prompt-value)
12348 (widget-color--choose-action): Mark unused parameters.
12349 (widget-item-match-inline, widget-choice-match-inline)
12350 (widget-checklist-match, widget-checklist-match-inline)
12351 (widget-group-match): Rename parameter VALUES to VALS.
12352 (widget-field-value-set): Remove unused variable `size'.
12353 (widget-color-action): Remove unused variables `value' and `start'.
12354
12355 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12356 variable `dir'. Doc fix.
06b60517
JB
12357 (windmove-find-other-window): Don't pass it.
12358
12359 * window.el (count-windows): Mark unused parameter.
12360 (bw-adjust-window): Remove unused variable `err'.
12361
12362 * woman.el (woman-file-name): Remove unused variable `default'.
12363 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12364 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12365 (global-font-lock-mode): Declare.
12366 (woman-decode-region): Mark unused parameter.
12367 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12368
12369 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12370 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12371 (x-dnd-handle-moz-url): Remove unused variable `title'.
12372 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12373
12374 * xml.el (xml-parse-tag, xml-parse-attlist):
12375 Remove unused variable `pos'.
12376
bc4f7f3d
GM
123772011-04-19 Glenn Morris <rgm@gnu.org>
12378
12379 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12380 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12381 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12382 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12383 * calendar/cal-html.el (cal-html-insert-minical):
12384 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12385 (calendar-mark-date-pattern):
12386 Prefix "unused" locals.
12387
12388 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12389 optional argument `style'.
12390
12391 * calendar/appt.el (appt-make-list):
12392 * calendar/cal-china.el (calendar-chinese-date-string):
12393 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12394 (diary-hebrew-yahrzeit):
12395 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12396 * calendar/calendar.el (calendar-generate-window):
12397 * calendar/time-date.el (time-to-days):
12398 Remove unused local variables.
12399
16a43933
CY
124002011-04-18 Chong Yidong <cyd@stupidchicken.com>
12401
12402 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12403 glyphless-char-display table.
12404 (tabulated-list-glyphless-char-display): New var.
12405
7eed1860
SS
124062011-04-18 Sam Steingold <sds@gnu.org>
12407
12408 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12409 to acknowledgments.
12410
4d2d1ccd
GM
124112011-04-17 Glenn Morris <rgm@gnu.org>
12412
12413 * calendar/diary-lib.el (diary-sexp-entry):
12414 * calendar/holidays.el (holiday-sexp):
12415 Set debug-on-error rather than the removed stack-trace-on-error.
12416
239da61d
GM
124172011-04-16 Glenn Morris <rgm@gnu.org>
12418
12419 * progmodes/f90.el: Use lexical-binding.
12420 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12421
8b05752a
SM
124222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12423
daca8ba5
SM
12424 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12425 (mail-mode): Setup mailalias completion here instead.
12426 * mail/mailalias.el: Use lexical-binding.
12427 (pattern, mailalias-done): Declare dynamic.
12428 (mail-completion-at-point-function): New function, from mail-complete.
12429 (mail-complete): Use it.
12430 (mail-completion-expand): New function.
12431 (mail-get-names): Use it.
12432 (mail-directory, mail-directory-process, mail-directory-stream):
12433 Don't use `pattern' for lexically bound arg.
12434
6f542485
SM
12435 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12436
037e7c3f
SM
12437 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12438 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12439 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12440
8b05752a
SM
12441 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12442 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12443 (byte-interactive-p): Define them again, for use when inlining
12444 old code.
12445
49093f60
JB
124462011-04-15 Juanma Barranquero <lekktu@gmail.com>
12447
12448 * loadup.el: Use `string-to-number', not `string-to-int'.
12449
b5b8e7de
SM
124502011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12451
12452 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12453 gud-gdb-complete-command.
12454 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12455 (gud-gdb-completion-at-point): New function.
12456 (gud-gdb-completions): Remove.
12457
f42efeb5
MA
124582011-04-14 Michael Albinus <michael.albinus@gmx.de>
12459
49093f60
JB
12460 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12461 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12462 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12463 whether `executable-find' is bound.
f42efeb5
MA
12464
12465 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12466
e240cc21
SM
124672011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12468
12469 * minibuffer.el (completion-in-region-mode-predicate)
12470 (completion-in-region-mode--predicate): New vars.
12471 (completion-in-region, completion-in-region--postch)
12472 (completion-in-region-mode): Use them.
12473 (completion--capf-wrapper): Also return the hook function.
12474 (completion-at-point, completion-help-at-point):
12475 Adjust and provide a predicate.
c2bd2ab0
SM
12476
12477 Preserve arg names for advice of subr and lexical functions (bug#8457).
12478 * help-fns.el (help-function-arglist): Consolidate the subr and
12479 new-byte-code cases. Add argument `preserve-names' to extract names
12480 from the docstring when needed.
12481 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12482 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12483 (ad-arglist): Use help-function-arglist's new arg.
12484 (ad-definition-type): Use cond.
12485
c183f693
JB
124862011-04-13 Juanma Barranquero <lekktu@gmail.com>
12487
06641a47
JB
12488 * autorevert.el (auto-revert-handler):
12489 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12490 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12491 Don't quote lambda.
12492
c183f693
JB
12493 * image-mode.el (image-transform-set-scale):
12494 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12495
1e3b6001
G
124962011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12497
12498 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12499 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12500 Upgrades via gnutls-cli are too slow to be done opportunistically.
12501
2d6af8dd
JB
125022011-04-12 Juanma Barranquero <lekktu@gmail.com>
12503
12504 * dframe.el (dframe-current-frame): Remove spurious quote.
12505
c0749a51
GM
125062011-04-12 Glenn Morris <rgm@gnu.org>
12507
088d0d61
GM
12508 * calendar/cal-tex.el (cal-tex-end-document):
12509 Try to automatically use latin1 input if needed.
12510
c0749a51
GM
12511 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12512 Don't try to cons a mark onto an empty element.
12513
5c90fde0
LL
125142011-04-11 Leo Liu <sdl.web@gmail.com>
12515
12516 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12517 buffers.
12518 (ido-kill-buffer-at-head): Support killing virtual buffers.
12519
369e974d
CY
125202011-04-10 Chong Yidong <cyd@stupidchicken.com>
12521
12522 * minibuffer.el (completion-show-inline-help): New var.
12523 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12524 (minibuffer-force-complete, minibuffer-complete-word):
12525 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12526
12527 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12528 to avoid interference from inline help (Bug#5849).
12529
37f1c930
LL
125302011-04-10 Leo Liu <sdl.web@gmail.com>
12531
099c39a4
JB
12532 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12533 Fix typo.
37f1c930 12534
a32d4040
CY
125352011-04-09 Chong Yidong <cyd@stupidchicken.com>
12536
12537 * image-mode.el (image-toggle-display-image): Signal an error if
12538 not in Image mode.
12539 (image-transform-mode, image-transform-resize)
12540 (image-transform-set-rotation): Doc fix.
daca8ba5 12541 (image-transform-set-resize): Delete.
a32d4040
CY
12542 (image-transform-set-scale, image-transform-fit-to-height)
12543 (image-transform-fit-to-width): Handle image-toggle-display-image
12544 and image-transform-resize directly.
12545
099c39a4 125462011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12547
12548 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12549 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12550 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12551 (doc-view-mode-map): Add bindings for the new functions.
12552
099c39a4 125532011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12554
4d61f28d 12555 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12556 Fix typo in docstring.
12557
3726838a
EZ
125582011-04-08 Eli Zaretskii <eliz@gnu.org>
12559
04f33f1e
EZ
12560 * files.el (file-size-human-readable): Produce one digit after
12561 decimal, like "ls -lh" does.
12562
12563 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12564 the file size representation.
12565
3726838a
EZ
12566 * simple.el (list-processes): If async subprocesses are not
12567 available, error out with a clear error message.
12568
cbb59342
CY
125692011-04-08 Chong Yidong <cyd@stupidchicken.com>
12570
12571 * help.el (help-form-show): New function, to be called from C.
12572 Put help-form output in a buffer named differently than *Help*.
12573
e3971c44
EZ
125742011-04-08 Eli Zaretskii <eliz@gnu.org>
12575
12576 * files.el (file-size-human-readable): New function.
12577
12578 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12579 computing the representation inline. Don't require `cl'.
12580
12544bbe
GM
125812011-04-08 Glenn Morris <rgm@gnu.org>
12582
a1de6c6a
GM
12583 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12584
3c4671f4
GM
12585 * net/browse-url.el (browse-url-firefox):
12586 Test system-type, not system-configuration.
12587
b605679c
GM
12588 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12589 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12590 Use log-edit-empty-buffer-p. (Bug#7598)
12591
56442f0c
GM
12592 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12593 (rlogin-mode-map): Initialize in the defvar.
12594 (rlogin): Use ignore-errors.
12595
12544bbe
GM
12596 * replace.el (occur-mode-map): Some fixes for menu items.
12597
eb237b0f
AH
125982011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12599
12600 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12601
7d668f2c
CY
126022011-04-06 Chong Yidong <cyd@stupidchicken.com>
12603
e67a13ab
CY
12604 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12605 issuing unused warnings.
12606
12607 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12608 macro directly.
12609
7d668f2c
CY
12610 * simple.el: Lisp reimplement of list-processes. Based on an
12611 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12612 (process-menu-mode): New major mode.
12613 (list-processes--refresh, list-processes):
12614 (process-menu-visit-buffer): New functions.
12615
12616 * files.el (save-buffers-kill-emacs): Don't assume any return
12617 value of list-processes, which is undocumented anyway.
12618
a83ec3c9
CY
126192011-04-06 Chong Yidong <cyd@stupidchicken.com>
12620
12621 * emacs-lisp/tabulated-list.el: New file.
12622
e91a96fe
CY
12623 * emacs-lisp/package.el: Use Tabulated List mode.
12624 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12625 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12626 table format using Tabulated List mode variables.
12627 (package--push): New macro, replacing package-list-maybe-add.
12628 (package-menu--generate): Use package--push. Renamed from
12629 package--generate-package-list.
12630 (package-menu-refresh, list-packages): Use it.
daca8ba5 12631 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12632 Return insertion data instead of inserting it directly.
099c39a4
JB
12633 (package-menu-describe-package, package-menu-execute):
12634 Use tabulated-list-get-id.
e91a96fe
CY
12635 (package-menu-mark-delete, package-menu-mark-install)
12636 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12637 (package-menu-mark-obsolete-for-deletion):
12638 Use tabulated-list-put-tag.
e91a96fe
CY
12639 (package--list-packages, package-menu-revert)
12640 (package-menu-get-package, package-menu-get-version)
12641 (package-menu-sort-by-column): Functions deleted.
12642 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12643 (package-menu--status-predicate, package-menu--version-predicate)
12644 (package-menu--name-predicate)
12645 (package-menu--description-predicate): Handle arguments in the
12646 Tabulated List format.
12647 (package-list-packages-no-fetch): Call list-packages.
12648
3e214b50
JB
126492011-04-06 Juanma Barranquero <lekktu@gmail.com>
12650
12651 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12652 (after-find-file): Don't bind it.
3e214b50
JB
12653 (revert-buffer-in-progress-p): New variable.
12654 (revert-buffer): Bind it.
12655 Pass nil for `after-find-file-from-revert-buffer'.
12656
12657 * saveplace.el (save-place-find-file-hook): Use new variable
12658 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12659
3f0f1700
GM
126602011-04-06 Glenn Morris <rgm@gnu.org>
12661
c0274801
GM
12662 * Makefile.in (AUTOGEN_VCS): New variable.
12663 (autoloads): Use $AUTOGEN_VCS.
12664
3f0f1700
GM
12665 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12666 * calendar/calendar.el (calendar-mode-map):
12667 Check for toolkit scroll bars. (Bug#8305)
12668
41ea9e48
CY
126692011-04-05 Chong Yidong <cyd@stupidchicken.com>
12670
12671 * minibuffer.el (completion-in-region--postch)
12672 (completion-in-region-mode): Remove unnecessary messages.
12673
6194c800
JB
126742011-04-05 Juanma Barranquero <lekktu@gmail.com>
12675
33256f14
JB
12676 * font-lock.el (font-lock-refresh-defaults):
12677 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12678 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12679
6194c800
JB
12680 * info.el (Info-directory-list, Info-read-node-name-2)
12681 (Info-split-parameter-string): Doc fixes.
12682 (Info-virtual-nodes): Reflow docstring.
12683 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12684 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12685 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12686 Fix typos in docstrings.
12687 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12688 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12689 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12690 (Info-restore-desktop-buffer): Mark unused parameters.
12691 (Info-directory-find-file, Info-directory-find-node)
12692 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12693 (Info-virtual-index-find-node, Info-apropos-find-file)
12694 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12695 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12696 (Info-virtual-index): Remove unused local variable `nodename'.
12697
b87a8200 126982011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12699
b87a8200
DD
12700 * net/rcirc.el: Update my e-mail address.
12701 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12702
3b2ff876
CY
127032011-04-05 Chong Yidong <cyd@stupidchicken.com>
12704
12705 * startup.el (command-line): Save the cursor's theme-face
12706 directly, instead of using face-override-spec.
12707
12708 * custom.el (load-theme): Minor optimization in assigning faces.
12709
8d17e7ca
JB
127102011-04-04 Juanma Barranquero <lekktu@gmail.com>
12711
12712 * help-fns.el (describe-variable): Complete all variables having
12713 documentation, including keywords.
12714 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12715
2fbc1934
JB
127162011-04-04 Juanma Barranquero <lekktu@gmail.com>
12717
12718 Convert to lexical-binding.
12719
12720 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12721 (bs--get-marked-string, bs--get-modified-string)
12722 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12723 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12724 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12725
12726 * ehelp.el (electric-help-execute-extended)
12727 (electric-help-ctrl-x-prefix):
12728 * hexl.el (hexl-revert-buffer-function):
12729 * linum.el (linum-after-change, linum-after-scroll):
12730 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12731
12732 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12733
74f50695
DU
127342011-04-04 Daiki Ueno <ueno@unixuser.org>
12735
12736 * epa-dired.el:
12737 * epa-mail.el:
12738 * epa-hook.el:
12739 * epa-file.el:
12740 * epa.el:
12741 * epg.el: Use lexical binding.
12742
c11325f7
CY
127432011-04-03 Chong Yidong <cyd@stupidchicken.com>
12744
0d9e9a12
CY
12745 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12746
c11325f7 12747 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12748 dictionary case for flyspell-mark-duplications-exceptions.
12749 Use regexp matching for languages.
c11325f7
CY
12750 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12751 default dictionary (Bug#7926).
12752
da91b5f2
CY
127532011-04-02 Chong Yidong <cyd@stupidchicken.com>
12754
099c39a4
JB
12755 * emacs-lisp/package.el (package--with-work-buffer):
12756 Recognize https URLs.
da91b5f2 12757
099c39a4
JB
12758 * net/network-stream.el: Move from gnus/proto-stream.el.
12759 Change prefix to network-stream throughout.
da91b5f2
CY
12760 (open-protocol-stream): Merge into open-network-stream, leaving
12761 open-protocol-stream as an alias. Handle nil BUFFER args.
12762
12763 * subr.el (open-network-stream): Move to net/network-stream.el.
12764
afa8e9f6
GM
127652011-04-02 Glenn Morris <rgm@gnu.org>
12766
1d2e369d
GM
12767 * find-dired.el (find-exec-terminator): New option.
12768 (find-ls-option): Test for -ls support.
12769 (find-ls-subdir-switches): Test for -b in find-ls-option.
12770 (find-dired, find-grep-dired): Doc fixes.
12771 (find-dired): Use find-exec-terminator.
12772
8abb7da8 12773 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12774 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12775 (find-name-arg): Remove purecopy.
8abb7da8 12776
f3ca7378
GM
12777 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12778 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12779 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12780 accordingly. Don't add the null-device if not needed.
12781
afa8e9f6
GM
12782 * files.el (save-some-buffers): Doc fix.
12783
35eae264
EZ
127842011-04-02 Eli Zaretskii <eliz@gnu.org>
12785
12786 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12787
26b51db5
JB
127882011-04-01 Juanma Barranquero <lekktu@gmail.com>
12789
12790 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12791 Use `dolist' rather than `mapcar'.
12792
7200d79c
SM
127932011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12794
03408648 12795 Add lexical binding.
7200d79c 12796
03408648
SM
12797 * subr.el (apply-partially): Use new closures rather than CL.
12798 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12799 (dolist, dotimes): Use slightly different expansion for lexical code.
12800 (functionp): Move to C.
12801 (letrec): New macro.
12802 (with-wrapper-hook): Use it and apply-partially instead of CL.
12803 (eval-after-load): Preserve lexical-binding.
12804 (save-window-excursion, with-output-to-temp-buffer): Turn them
12805 into macros.
7200d79c 12806
03408648
SM
12807 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12808
12809 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12810 than the arglist.
12811 (help-add-fundoc-usage): Don't add `Not documented'.
12812 (help-function-arglist): Handle closures, subroutines, and new
12813 byte-code-functions.
12814 (help-make-usage): Remove leading underscores.
12815 (describe-function-1): Handle closures.
12816 (describe-variable): Use special-variable-p for completion.
12817
12818 * files.el (lexical-binding): Declare safe.
f488fb65 12819
03408648
SM
12820 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12821 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12822 (pcase): Add `let' pattern.
12823 Change memoization so it actually works.
12824 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12825 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12826 <let>: New case.
f488fb65 12827
03408648
SM
12828 * emacs-lisp/macroexp.el: Use lexical binding.
12829 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12830 Don't convert ' to #' without checking that it's indeed quoting
12831 a lambda.
12832
12833 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12834 Use eval-sexp-add-defvars.
03408648
SM
12835 (eval-sexp-add-defvars): New fun.
12836
12837 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12838
12839 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12840 Don't autoload.
12841 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12842 than the internal `byte-compile-lambda'.
12843 (defmethod): Don't hide code under quotes.
12844 (eieio-defmethod): New `code' argument.
12845
12846 * emacs-lisp/eieio-comp.el: Remove.
12847
12848 * emacs-lisp/edebug.el (edebug-eval-defun)
12849 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12850 (edebug-toggle): Avoid `eval'.
12851
12852 * emacs-lisp/disass.el (disassemble-internal): Handle new
12853 `closure' objects.
12854 (disassemble-1): Handle new byte codes.
12855
12856 * emacs-lisp/cl.el (pushnew): Silence warning.
12857
12858 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12859 (cl-byte-compile-throw): Remove.
12860 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12861
12862 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12863 closures.
12864
12865 * emacs-lisp/cconv.el: New file.
12866
12867 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12868 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12869 (byte-compile-initial-macro-environment):
12870 Handle declare-function here.
12871 (byte-compile--lexical-environment): New var.
12872 (byte-stack-ref, byte-stack-set, byte-discardN)
12873 (byte-discardN-preserve-tos): New lap codes.
12874 (byte-interactive-p): Don't use any more.
12875 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12876 New macros.
12877 (byte-compile-lapcode): Use them and handle new lap codes.
12878 (byte-compile-obsolete): Remove.
12879 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12880 (byte-compile-arglist-warn): Check late def of inlinable funs.
12881 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12882 since they should have been expanded by now.
12883 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12884 (byte-compile-from-buffer): Remove unused second arg.
12885 (byte-compile-preprocess): New function.
12886 (byte-compile-toplevel-file-form): New function to distinguish
12887 file-form calls from outside from file-form calls from hunk-handlers.
12888 (byte-compile-file-form): Simplify.
12889 (byte-compile-file-form-defsubst): Remove.
12890 (byte-compile-file-form-defmumble): Simplify now that
12891 byte-compile-lambda always returns a byte-code-function.
12892 (byte-compile): Preprocess.
12893 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12894 Remove, not used any more.
12895 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12896 (byte-compile-make-args-desc): New funs.
12897 (byte-compile-lambda): Handle lexical functions. Always return
12898 a byte-code-function.
12899 (byte-compile-reserved-constants): New var, to make up room for
12900 closed-over variables.
12901 (byte-compile-constants-vector): Obey it.
12902 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12903 (byte-compile-macroexpand-declare-function): New function.
12904 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12905 byte-code-functions.
12906 (byte-compile-form): Check obsolescence here.
12907 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12908 (byte-compile-variable-ref): Remove.
12909 (byte-compile-dynamic-variable-op): New fun.
12910 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12911 (byte-compile-variable-set): New funs.
12912 (byte-compile-discard): Add 2 args.
12913 (byte-compile-stack-ref, byte-compile-stack-set)
12914 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12915 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12916 macroexpand-all instead.
12917 (byte-compile-quote-form): Remove.
12918 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12919 (byte-compile-bind, byte-compile-unbind): New funs.
12920 (byte-compile-let): Handle let* and lexical binding.
12921 (byte-compile-let*): Remove.
12922 (byte-compile-catch, byte-compile-unwind-protect)
12923 (byte-compile-track-mouse, byte-compile-condition-case):
12924 Handle a new :fun-body form, used for lexical scoping.
12925 (byte-compile-save-window-excursion)
12926 (byte-compile-with-output-to-temp-buffer): Remove.
12927 (byte-compile-defun): Simplify.
12928 (byte-compile-stack-adjustment): New fun.
12929 (byte-compile-out): Use it.
12930 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12931
12932 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12933 handler any more.
12934
12935 * emacs-lisp/byte-opt.el: Use lexical binding.
12936 (byte-inline-lapcode): Remove (to bytecomp).
12937 (byte-compile-inline-expand): Pay attention to inlining to/from
12938 lexically bound code.
12939 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12940 any more.
12941 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12942 any more and don't call compiler-macros.
12943 (byte-compile-splice-in-already-compiled-code): Remove.
12944 (byte-code): Don't inline any more.
12945 (disassemble-offset): Receive `bytes' as argument rather than via
12946 dynamic scoping.
12947 (byte-compile-tag-number): Declare before first use.
12948 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12949 `return' even if make-spliceable.
12950 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12951 obsolete interactive-p.
12952 (byte-optimize-lapcode): Optimize new lap-codes.
12953 Don't trip up on new form of `byte-constant' lap code.
12954
12955 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12956
12957 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12958
12959 * custom.el (custom-initialize-default, custom-declare-variable):
12960 Use `defvar'.
12961
12962 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12963 New variables.
12964 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12965 (COMPILE_FIRST): Add macroexp and cconv.
12966 * makefile.w32-in: Mirror changes in Makefile.in.
12967
12968 * vc/cvs-status.el:
12969 * vc/diff-mode.el:
12970 * vc/log-edit.el:
12971 * vc/log-view.el:
12972 * vc/smerge-mode.el:
12973 * textmodes/bibtex-style.el:
12974 * textmodes/css.el:
12975 * startup.el:
12976 * uniquify.el:
da91b5f2
CY
12977 * minibuffer.el:
12978 * newcomment.el:
12979 * reveal.el:
12980 * server.el:
12981 * mpc.el:
12982 * emacs-lisp/smie.el:
12983 * doc-view.el:
12984 * dired.el:
03408648
SM
12985 * abbrev.el: Use lexical binding.
12986
0f0c1f27
EZ
129872011-04-01 Eli Zaretskii <eliz@gnu.org>
12988
12989 * info.el (info-display-manual): New function.
12990
c82b2579
SM
129912011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12994
221ddf68
TH
129952011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12996
12997 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12998 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12999
cba6e77e
GM
130002011-03-31 Glenn Morris <rgm@gnu.org>
13001
e040639f
GM
13002 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13003
cba6e77e
GM
13004 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13005
6d0f1c9e
CS
130062011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13007
13008 * progmodes/python.el (python-default-interpreter)
13009 (python-python-command-args, python-jython-command-args)
13010 (python-which-shell, python-which-args, python-which-bufname)
13011 (python-file-queue, python-comint-output-filter-function)
13012 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13013 variables and functions.
13014
3e2d70fd
SM
130152011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13016
13017 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13018 (completion-in-region-mode): New minor mode.
13019 (completion-in-region): Use it.
13020 (completion-in-region--data, completion-in-region-mode-map): New vars.
13021 (completion-in-region--postch): New function.
13022 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13023 New vars.
13024 (completion--capf-wrapper): New function.
13025 (completion-at-point): Use it to track well-behavedness of
13026 hook functions.
13027 (completion-help-at-point): New command.
13028
f3e4086c
JM
130292011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13030
13031 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13032 syntax class to search for whitespace on a single line
13033 (Message-ID: <4D938140.4030905@redhat.com>).
13034
eb7ffc14
LL
130352011-03-30 Leo Liu <sdl.web@gmail.com>
13036
13037 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13038 New commands.
13039 (edit-abbrevs-map): Bind them here.
13040 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13041
d806ab68
KM
130422011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13043
13044 * allout.el (allout-hide-by-annotation, allout-flag-region):
13045 Reduce possibility of overlay leakage by making them volatile.
13046
13047 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13048 hash is not shared between buffers. Mode initialization is
13049 responsible for giving it a useful starting value.
13050 (allout-item-span): Reduce possibility of overlay leakage by
13051 making them volatile.
13052 (allout-widgets-count-buttons-in-region): Add diagnostic function
13053 for tracking down button overlay leaks.
13054
ea622834
LL
130552011-03-29 Leo Liu <sdl.web@gmail.com>
13056
13057 * ido.el (ido-read-internal): Use the default history var
13058 minibuffer-history if no HISTORY is specified.
13059
b62f8267
G
130602011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13061
03408648
SM
13062 * net/imap.el (imap-shell-open, imap-process-connection-type):
13063 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13064 Kerberos, SSL, other subprocesses.
13065
947b6566
LL
130662011-03-28 Leo Liu <sdl.web@gmail.com>
13067
13068 * abbrev.el (abbrev-table-empty-p): New function.
13069 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13070 nonempty ones. (Bug#5937)
13071
5ffb62aa
JD
130722011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13073
13074 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13075
7a097943
LL
130762011-03-27 Leo Liu <sdl.web@gmail.com>
13077
13078 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13079 for foreground and background colors.
13080 (ansi-color-make-color-map): Adapt.
13081
c5b40130
LL
130822011-03-25 Leo Liu <sdl.web@gmail.com>
13083
1f48f7d2
LL
13084 * midnight.el (midnight-time-float): Remove. Note it calculates
13085 the microsecond component incorrectly and seconds-to-time does the
13086 same job.
625897ec 13087 Remove redundant (require 'timer).
1f48f7d2 13088
c5b40130
LL
13089 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13090 (ido-completions): Remove unused arguments. (Bug#8329)
13091
d86d2721
SM
130922011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13093
13094 * minibuffer.el (completion--flush-all-sorted-completions):
13095 Remove itself from hook.
13096 (completion-at-point): Let the functions perform the completion
13097 immediately and return nil or t.
13098 * comint.el (comint-dynamic-complete-functions): Now identical to
13099 completion-at-point-functions.
13100 (comint-dynamic-list-input-ring): Remove unused var `index'.
13101 (comint--match-partial-filename, comint--unquote&expand-filename):
13102 New funs, split from comint-match-partial-filename.
13103 (comint-dynamic-complete): Use completion-at-point.
13104 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13105
e8974c48
DA
131062011-03-24 Drew Adams <drew.adams@oracle.com>
13107
13108 * thingatpt.el: Support `defun'.
13109
def71b5e
LL
131102011-03-23 Leo Liu <sdl.web@gmail.com>
13111
cb5af48e
LL
13112 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13113
def71b5e
LL
13114 * help-mode.el (help-mode-finish): Tweak regexp.
13115
927c53e7
GM
131162011-03-23 Glenn Morris <rgm@gnu.org>
13117
18d05bed
GM
13118 * eshell/esh-opt.el (eshell-eval-using-options):
13119 Do not bind unused local variable `eshell-option-stub'.
13120
927c53e7
GM
13121 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13122
9d0da923
JB
131232011-03-22 Juanma Barranquero <lekktu@gmail.com>
13124
13125 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13126 keymap variable in `with-no-warnings' to avoid a warning when the
13127 keymap has been already `defconst'ed.
13128
4b978a67
LL
131292011-03-22 Leo Liu <sdl.web@gmail.com>
13130
13131 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13132 encode all chars in abbrevs; otherwise use emacs-mule or
13133 utf-8-emacs. (Bug#8308)
13134
5fd62452
JB
131352011-03-22 Juanma Barranquero <lekktu@gmail.com>
13136
0b1596c6
JB
13137 * simple.el (backward-delete-char-untabify):
13138 Avoid warning about using `delete-backward-char'.
13139
5fd62452
JB
13140 * image.el (image-type-file-name-regexps): Make it variable.
13141 `imagemagick-register-types' modifies it, and the user may want
13142 to add new extensions for known image types.
13143 (imagemagick-register-types): Throw error if not using ImageMagick.
13144
0b4e93f1
LL
131452011-03-22 Leo Liu <sdl.web@gmail.com>
13146
13147 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13148 located before rcirc-prompt-end-marker.
13149 (rcirc-complete): Error if point is not after rcirc prompt.
13150 Handle the case when table is nil.
9882e214 13151 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13152
fccee4ab
CY
131532011-03-22 Chong Yidong <cyd@stupidchicken.com>
13154
13155 * custom.el (custom--inhibit-theme-enable): Make it affect only
13156 custom-theme-set-variables and custom-theme-set-faces.
13157 (provide-theme): Ignore custom--inhibit-theme-enable.
13158 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13159 (custom-enabling-themes): Delete variable.
d86d2721
SM
13160 (enable-theme): Accept only loaded themes as arguments.
13161 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13162 (custom-enabled-themes): Forbid themes from setting this.
13163 Eliminate use of custom-enabling-themes.
13164 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13165
af896da6
LL
131662011-03-21 Leo Liu <sdl.web@gmail.com>
13167
13168 * ido.el (ido-read-internal): Add ido-selected to history instead
13169 of user input.
13170
78f64af0
SM
131712011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13172
13173 * subr.el (deferred-action-list, deferred-action-function):
13174 Mark obsolete.
13175
b16ac1ec
LL
131762011-03-21 Leo Liu <sdl.web@gmail.com>
13177
810f7698
LL
13178 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13179 change on 2011-02-13 (bug#8309).
13180
b16ac1ec
LL
13181 * minibuffer.el (read-file-name-function): Change default value.
13182 (read-file-name--defaults): Rename from read-file-name-defaults.
13183 (read-file-name-default): Rename from read-file-name.
13184 (read-file-name): Call read-file-name-function.
13185
4e05e67e
GM
131862011-03-21 Glenn Morris <rgm@gnu.org>
13187
13188 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13189 Doc fixes.
13190
4359915b
CY
131912011-03-21 Chong Yidong <cyd@stupidchicken.com>
13192
13193 * cus-theme.el: Add missing provide statement.
13194 (customize-create-theme): Extract theme value correctly.
13195 (custom-theme-visit-theme): Autoload.
13196 (customize-create-theme): Prompt before inserting default faces.
13197
1fe275ee
JB
131982011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13199
13200 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13201 units and musical notes.
13202
cd394be1 132032011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13204
13205 * ido.el (ido-read-internal): Use completing-read-default.
13206 (ido-completing-read): Fix compatibility with completing-read.
13207
7d476bde
CO
132082011-03-20 Christian Ohler <ohler@gnu.org>
13209
13210 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13211 (ert-delete-all-tests): Use `called-interactively-p' rather than
13212 `interactive-p'.
13213 (ert--make-xrefs-region): Respect END.
13214
fe0fb33e
CY
132152011-03-19 Chong Yidong <cyd@stupidchicken.com>
13216
ff854b0b
CY
13217 * dired-aux.el (dired-create-directory): Signal an error if the
13218 directory already exists (Bug#8246).
13219
fe0fb33e
CY
13220 * facemenu.el (list-colors-display): Call list-faces-display
13221 inside with-help-window.
13222 (list-colors-print): Use display property to align the final
13223 column, instead of checking window-width.
13224
576bce32
EZ
132252011-03-19 Eli Zaretskii <eliz@gnu.org>
13226
4d61f28d 13227 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13228 windows-nt systems.
13229 (emerge-protect-metachars): Quote correctly for ms-dos and
13230 windows-nt systems.
13231
89c41d68 132322011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13233
13234 * info.el (info-initialize): Replace all uses of `:' with
13235 path-separator for compatibility with non-Unix systems.
13236 Cache quoting of path-separator. (Bug#8258)
13237
b14e3e21 132382011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13239
13240 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13241 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13242 (mouse-avoidance-mode): Fix typos in docstrings.
13243
4525ce3e
CY
132442011-03-19 Chong Yidong <cyd@stupidchicken.com>
13245
13246 * startup.el (package-subdirectory-regexp): Move from package.el.
13247 Omit \\` and \\', and let callers add them.
13248
13249 * emacs-lisp/package.el (package-strip-version)
13250 (package-load-all-descriptors): Add \\` and \\' to
13251 package-subdirectory-regexp before using it.
13252 (package-untar-buffer): New arg DIR; ensure that file untars only
13253 into this expected directory. Remove superfluous delete-region.
13254 (package-unpack): Caller changed.
13255 (package-tar-file-info): Use package-subdirectory-regexp.
13256
a904a09a 132572011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13258
a904a09a
SM
13259 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13260 diff-mode-shared-map (bug#8284).
13261 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13262
132632011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13264
13265 * calendar/time-date.el (format-seconds): Use assoc instead of
13266 assoc-string, since assoc-string doesn't exist in XEmacs.
13267
171fc304
JB
132682011-03-17 Juanma Barranquero <lekktu@gmail.com>
13269
13270 * custom.el (custom-known-themes): Reflow docstring.
13271 (custom-theme-load-path): Fix typo in docstring.
13272 (load-theme): Fix typo in error message.
13273 (custom-available-themes, custom-variable-theme-value):
13274 Use `let', not `let*'.
13275
d71990a1
JB
132762011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13277
13278 * calc/README: Mention inclusion of musical notes.
13279
13280 * calc/calc-units.el (calc-lu-quant): Rename from
13281 `calc-logunits-quantity'.
13282 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13283 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13284 (calc-db): Rename from `calc-dblevel'.
13285 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13286 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13287 (calc-np): Rename from `calc-nplevel'.
13288 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13289 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13290 (calc-lu-plus): Rename from `calc-logunits-add'.
13291 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13292 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13293 (calc-lu-minus): Rename from `calc-logunits-sub'.
13294 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13295 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13296 (calc-lu-times): Rename from `calc-logunits-mul'.
13297 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13298 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13299 (calc-lu-divide): Rename from `calc-logunits-div'.
13300 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13301 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13302
13303 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13304 functions being autoloaded.
13305
13306 * calc/calc.el (calc-lu-power-reference): Rename from
13307 `calc-logunits-power-reference'.
13308 (calc-lu-field-reference): Rename from
13309 `calc-logunits-field-reference'.
13310
7a71b18d
GM
13311 * calc/calc-help.el (calc-l-prefix-help):
13312 Mention musical note functions.
d71990a1 13313
40c2934b
SM
133142011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13315
13316 * minibuffer.el (completion-all-sorted-completions):
13317 Use :completion-cycle-penalty text property if present.
13318
b0911414
KM
133192011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13320
13321 * allout.el (allout-yank-processing): Adjust for new rebulleting
13322 regime so bullet being yanked is used without prompting the user
13323 for a choice.
13324
8a05b668
JB
133252011-03-16 Juanma Barranquero <lekktu@gmail.com>
13326
13327 * startup.el (command-line): Warn the user that _emacs is deprecated.
13328
5ba5fb81
JB
133292011-03-16 Juanma Barranquero <lekktu@gmail.com>
13330
13331 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13332 (delphi-verbose, delphi-comment-face, delphi-string-face)
13333 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13334 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13335 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13336 (delphi-new-comment-line, delphi-font-lock-defaults)
13337 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13338 Fix typos in docstrings.
13339
2dab465b
KM
133402011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13341
5ba5fb81 13342 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13343 Invert the roles of character and string values for INSTEAD, so a
13344 string is used for the more common case of a defaulting prompt.
13345
0adf5618
SM
133462011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13347
13348 * progmodes/ruby-mode.el (ruby-backward-sexp):
13349 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13350 * play/gamegrid.el (gamegrid-make-face):
13351 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13352 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13353 * notifications.el (notifications-notify):
13354 * net/xesam.el (xesam-search-engines):
13355 * net/quickurl.el (quickurl-list-insert):
13356 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13357
d72700e5
CY
133582011-03-15 Chong Yidong <cyd@stupidchicken.com>
13359
13360 * startup.el (command-line): Update package subdirectory regexp.
13361
49c5410a
SM
133622011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13363
c6eee9aa
SM
13364 * allout.el (allout-abbreviate-flattened-numbering)
13365 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13366
49c5410a
SM
13367 * subr.el (read-char-choice): Only show the cursor after the prompt,
13368 not after the answer.
13369
047b2bb9
KR
133702011-03-15 Kevin Ryde <user42@zip.com.au>
13371
13372 * help-fns.el (variable-at-point): Skip leading quotes, if any
13373 (bug#8253).
13374
0a57d256
SM
133752011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13376
13377 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13378 warning message.
13379
77c992bc
MA
133802011-03-14 Michael Albinus <michael.albinus@gmx.de>
13381
13382 * shell.el (shell): When called interactively, offer to change the
13383 shell file name on remote hosts.
13384
eebc475d
TZ
133852011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13386
13387 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13388 integration for LDAP parameters. The host, base, user or binddn,
13389 and secret tokens can be specified in a netrc file, for instance.
13390 This is optional because an `auth-source' parameter must be
13391 specified in the search attributes.
13392
9d05d1ba
JB
133932011-03-13 Juanma Barranquero <lekktu@gmail.com>
13394
13395 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13396
09d9db2c
GM
133972011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13398
13399 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13400 into declaration. Remove redundant and harmful binding.
13401
134022011-03-12 Eli Zaretskii <eliz@gnu.org>
13403
13404 * files.el (file-ownership-preserved-p): Pass `integer' as an
13405 explicit 2nd argument to `file-attributes'. If the file's owner
13406 is the Administrators group on Windows, and the current user is
13407 Administrator, consider that a match.
13408
13409 * server.el (server-ensure-safe-dir): Consider server directory
13410 safe on MS-Windows if its owner is the Administrators group while
13411 the current Emacs user is Administrator. Use `=' to compare
13412 numerical UIDs, since they could be integers or floats.
13413
219bd536
JB
134142011-03-12 Juanma Barranquero <lekktu@gmail.com>
13415
13416 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13417
f3afd36b
MA
134182011-03-12 Michael Albinus <michael.albinus@gmx.de>
13419
13420 Sync with Tramp 2.2.1.
13421
13422 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13423
13424 * net/trampver.el: Update release number.
13425
3aaaa6f1
SM
134262011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13427
94642599
SM
13428 * progmodes/compile.el (compilation--previous-directory): Fix up
13429 various nil/dead-marker mismatches (bug#8014).
13430 (compilation-directory-properties, compilation-error-properties):
13431 Don't call it at a position past the one we're about to change.
13432
3aaaa6f1
SM
13433 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13434 Disable obsolescence warnings in the file that declares it.
13435
14239447
KM
134362011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13437
099c39a4
JB
13438 * allout-widgets.el (allout-widgets-tally):
13439 Initialize allout-widgets-tally as a hash table rather than nil to
13440 prevent mode-line redisplay warnings. Also, clarify the module
13441 description and fix a comment typo.
14239447 13442
135e287c
JB
134432011-03-11 Juanma Barranquero <lekktu@gmail.com>
13444
13445 * help-fns.el (describe-variable): Don't complete keywords.
13446 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13447
ffbf300e
CY
134482011-03-10 Chong Yidong <cyd@stupidchicken.com>
13449
ba08b241
CY
13450 * emacs-lisp/package.el (package-version-join): Impose a standard
13451 string representation for pre/alpha/beta version lists.
13452 (package-unpack-single): Standardize the directory name by passing
13453 it through package-version-join.
13454 (package-strip-rcs-id): Accept any version string that does not
13455 signal an error in version-to-list.
ffbf300e 13456
f346fd6b
MA
134572011-03-10 Michael Albinus <michael.albinus@gmx.de>
13458
13459 * simple.el (delete-trailing-whitespace): Return nil for the
13460 benefit of `write-file-functions'.
13461
ccb55d27
GM
134622011-03-10 Glenn Morris <rgm@gnu.org>
13463
5ceaac0c
GM
13464 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13465
02da65ff
GM
13466 * vc/vc-git.el (vc-git-program): New option.
13467 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13468 (vc-git--call): Use it.
13469
b2f603cc
GM
13470 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13471
5772caab
GM
13472 * cus-edit.el (Custom-newline): If no button at point, look
13473 for a subgroup button at start-of-line. (Bug#2298)
13474
ccb55d27
GM
13475 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13476
ec6ecaed
JD
134772011-03-10 Julien Danjou <julien@danjou.info>
13478
13479 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13480 `cursor-type' is nil.
13481
9d5aa01d
JB
134822011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13483
13484 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13485
b6a5875b
KM
134862011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13487
7a71b18d 13488 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13489 preserves the existing header prefix, rebulleting it if necessary,
13490 rather than replacing it. This is necessary for proper operation
13491 of cooperative addons like allout-widgets.
1154d12e
JB
13492 (allout-make-topic-prefix, allout-rebullet-heading):
13493 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13494 value as alternate bullet to be used, instead of prompting the user
13495 for a bullet character.
b6a5875b 13496
ee545c35
MA
134972011-03-09 Michael Albinus <michael.albinus@gmx.de>
13498
d86d2721
SM
13499 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13500 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13501 `tramp-default-port'.
13502
c47971d7
DD
135032011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13504
13505 * net/rcirc.el (rcirc-handler-001): Remove useless
13506 with-rcirc-process-buffer.
13507 (rcirc-check-auth-status): Swap arguments to string-match.
13508
13522cb4
GM
135092011-03-09 Glenn Morris <rgm@gnu.org>
13510
0be6f4f1
GM
13511 * shell.el (shell-mode):
13512 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13513
13522cb4
GM
13514 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13515 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13516
515de2e3
CY
135172011-03-08 Chong Yidong <cyd@stupidchicken.com>
13518
13519 * emacs-lisp/package.el (package-refresh-contents)
13520 (package-menu-execute): Use condition-case-no-debug.
13521
b511b994
MA
135222011-03-08 Michael Albinus <michael.albinus@gmx.de>
13523
13524 * simple.el (shell-command-to-string): Use `process-file'.
13525
13526 * emacs-lisp/package.el (package-tar-file-info): Handle also
13527 remote files.
13528
d86d2721
SM
13529 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13530 Use `equal' for upload base check.
b511b994 13531
25bbfb31
AM
135322011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13533
13534 * textmodes/texinfo.el (texinfo-environments):
13535 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13536
be996521
GM
135372011-03-08 Glenn Morris <rgm@gnu.org>
13538
e9c8529f
GM
13539 * cus-start.el (cursor-in-non-selected-windows):
13540 Fix :set quoting oddness. (Bug#8192)
13541
be996521
GM
13542 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13543 in some setf expressions. (Bug#2159)
13544
2bb5649e
CY
135452011-03-08 Chong Yidong <cyd@stupidchicken.com>
13546
13547 * custom.el (custom-available-themes): Return themes in
13548 alphabetical order.
13549
33383987 13550See ChangeLog.15 for earlier changes.
e3d51b27
MR
13551
13552;; Local Variables:
13553;; coding: utf-8
e3d51b27
MR
13554;; End:
13555
acaf905b 13556 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13557
13558 This file is part of GNU Emacs.
13559
13560 GNU Emacs is free software: you can redistribute it and/or modify
13561 it under the terms of the GNU General Public License as published by
13562 the Free Software Foundation, either version 3 of the License, or
13563 (at your option) any later version.
13564
13565 GNU Emacs is distributed in the hope that it will be useful,
13566 but WITHOUT ANY WARRANTY; without even the implied warranty of
13567 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13568 GNU General Public License for more details.
13569
13570 You should have received a copy of the GNU General Public License
13571 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.