* lisp/minibuffer.el (completion--sifn-requote): Handle sifn's truncation
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
fdb058c2
SM
12012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2
036dfb8b
SM
3 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4 behavior.
5 (completion--string-equal-p): New function.
6 (completion--twq-all): Use it to get better assertion failure data.
7
2473256d
SM
8 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10 (shell--requote-argument): New functions.
11 (shell-completion-vars): Use them.
12 (shell--parse-pcomplete-arguments): Rename from
13 shell-parse-pcomplete-arguments.
14 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
15 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
16 Obey comint-file-name-quote-list.
17
fdb058c2
SM
18 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
19 (smie-indent-keyword): Use it.
20
51fa99f1
SM
212012-05-14 Stefan Merten <smerten@oekonux.de>
22
23 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
24
e18afed7 252012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
26
27 * net/rlogin.el (rlogin-mode-map): Fix last change.
28
e18afed7 292012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
30
31 * mail/smtpmail.el (smtpmail-send-command): Send the command and
32 the following \r\n using a single `process-send-string', since the
33 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 34 with two `process-send-string's (Bug#11444).
8633b1f4 35
e18afed7 362012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 37
fdb058c2
SM
38 * shell.el (shell-parse-pcomplete-arguments):
39 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 40
2d21d7f6
WJ
412012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
42
e18afed7 43 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
44 (image-transform-scale, image-transform-right-angle-fudge): New vars.
45 (image-transform-width, image-transform-fit-width): New functions.
46 (image-transform-properties): Use them.
47 (image-transform-check-size): New function.
48 (image-toggle-display-image): Use it (for testing).
49 (image-transform-set-rotation): Reduce angle mod 360.
50 Delete obsolete comment.
51
7102e6d0
WJ
522012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
53
54 * image-mode.el: Fix scaling (bug#11399).
55 (image-transform-resize): Doc fix.
56 (image-transform-properties): Default scale is 1 and height should
57 be an integer.
58
06bc5e6e
SM
592012-05-13 Johan Bockgård <bojohan@gnu.org>
60
61 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
62 than hard-coding `car', to fix misbehavior when moving forward.
63
0ae03b6a
CY
642012-05-13 Chong Yidong <cyd@gnu.org>
65
66 * emacs-lisp/tabulated-list.el (tabulated-list-format)
67 (tabulated-list-entries, tabulated-list-padding)
68 (tabulated-list-sort-key): Make permanent-local.
69
70 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
71 (electric-buffer-list): Put electric buffer menu
72 command descriptions in this docstring, instead of the docstring
73 of electric-buffer-menu-mode. Code cleanups.
74 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
75 Electric-buffer-menu-mode.
76 (electric-buffer-update-highlight): Minor code cleanup.
77
205a7391
MA
782012-05-13 Michael Albinus <michael.albinus@gmx.de>
79
80 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
81 (Bug#11447)
82
e5bd0a28
SM
832012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
84
85 Move define-obsolete-variable-alias before the var's definition.
86 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
87 * tooltip.el (tooltip-hook):
88 * textmodes/reftex-toc.el (reftex-toc-map):
89 * textmodes/reftex-sel.el (reftex-select-label-map)
90 (reftex-select-bib-map):
91 * textmodes/reftex-index.el (reftex-index-map)
92 (reftex-index-phrases-map):
93 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
94 * progmodes/meta-mode.el (meta-mode-map):
95 * novice.el (disabled-command-hook):
96 * loadhist.el (unload-hook-features-list):
97 * frame.el (blink-cursor):
98 * files.el (find-file-not-found-hooks, write-file-hooks)
99 (write-contents-hooks):
100 * emulation/tpu-edt.el (GOLD-map):
101 * emacs-lock.el (emacs-lock-from-exiting):
102 * emacs-lisp/generic.el (generic-font-lock-defaults):
103 * emacs-lisp/chart.el (chart-map):
104 * dos-fns.el (register-name-alist):
105 * dired-x.el (dired-omit-files-p):
106 * desktop.el (desktop-enable):
107 * cus-edit.el (custom-mode-hook):
108 * buff-menu.el (buffer-menu-mode-hook):
109 * bookmark.el (bookmark-read-annotation-text-func)
110 (bookmark-exit-hooks):
111 * allout.el (allout-mode-deactivate-hook)
112 (allout-exposure-change-hook, allout-structure-added-hook)
113 (allout-structure-deleted-hook, allout-structure-shifted-hook):
114 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
115 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
116 comes before the corresponding variable's definition.
117
ac59c2f6
CY
1182012-05-12 Chong Yidong <cyd@gnu.org>
119
120 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
121 (Buffer-menu-mouse-select): Restore function (Bug#11459).
122 (Buffer-menu-mode-map): Bind it.
123 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 124
dee6c9a3
SM
1252012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
126
2171cea5
SM
127 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
128 (prolog-upper-case-string, prolog-lower-case-string)
129 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
130 (prolog-use-smie, prolog-smie-grammar): New vars.
131 (prolog-smie-forward-token, prolog-smie-backward-token)
132 (prolog-smie-rules): New funs.
133 (prolog-comment-indent): Remove.
134 (prolog-mode-variables): Use default comment indentation instead.
135 Setup SMIE.
136 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
137 (prolog-mode): Don't call them any more.
138 (prolog-electric-colon, prolog-electric-dash)
139 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
140
aa0382bd
SM
141 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
142
dbacb4bd
SM
143 * minibuffer.el (completion--twq-all): Again, allow case differences.
144
13bdd94c
SM
145 * term.el: Move keymap initialization code to be more idiomatic.
146 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
147 (term-terminal-menu): Move initialization into declaration.
148 (term-escape-char): Let the user set it in her .emacs.
149
ff46c759
SM
150 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
151 Provide SMIE-based indentation (not enabled by default yet).
152 (sh-mode-map): Don't bind electric keys.
153 Use electric-pair-mode instead of skeleton-pair.
154 (sh-assignment-regexp): Fit within 80 columns.
155 (sh-indent-supported): Specify actual shell name instead of boolean.
156 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
157 (sh-maybe-here-document): Use it. Make obsolete.
158 (sh-electric-here-document-mode) New minor mode.
159 (sh-mode): Use it. Don't set sh-indent-supported-here here.
160 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
161 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
162 (sh-smie-rc-grammar, sh-use-smie): New vars.
163 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
164 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
165 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
166 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
167 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
168 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
169 (sh-set-shell): Use smie-setup if requested.
170
dee6c9a3
SM
171 * term.el (term-set-escape-char): Properly set term-escape-char.
172 See http://stackoverflow.com/questions/10524656.
173
9f9aa044
CY
1742012-05-10 Chong Yidong <cyd@gnu.org>
175
176 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
177 Use url-generic-parse-url, and handle host names and Windows
178 filenames properly.
179 (ffap-url-unwrap-remote): Use url-generic-parse-url.
180 (ffap-url-unwrap-remote): Accept list values, specifying a list of
181 URL schemes to work on.
182 (ffap--toggle-read-only): New function.
183 (ffap-read-only, ffap-read-only-other-window)
184 (ffap-read-only-other-frame): Use it.
185 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
186 necessary for ffap-url-unwrap-remote.
187
836d29b3
DA
1882012-05-10 Dave Abrahams <dave@boostpro.com>
189
190 * cus-start.el (create-lockfiles): Add it.
191
00fd78ed
CY
1922012-05-09 Chong Yidong <cyd@gnu.org>
193
194 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
195 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
196
666b903b 1972012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
198
199 * shell.el (shell-completion-vars): Fix last change (bug#11348).
200
666b903b 2012012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
202
203 * ansi-color.el (ansi-color-process-output): Check for validity of
204 comint-last-output-start before using it. This avoids a bad
205 interaction with gdb-mi's input/output buffer.
206
666b903b 2072012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
208
209 * files.el (dir-locals-read-from-file):
210 Mention dir-locals in any error message.
211
666b903b 2122012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
213
214 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
215 package (Bug#11410).
216
f677562b
CY
217 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
218 variables into description.
219
666b903b 2202012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
221
222 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
223 shell-delimiter-argument-list (bug#11348).
224 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
225
b499d8d0
JB
2262012-05-09 Juanma Barranquero <lekktu@gmail.com>
227
8f6b6da8
JB
228 * textmodes/rst.el: Silence byte-compiler warnings.
229 (rst-re-alist, rst-reset-section-caches): Move around.
230 (rst-re): Use `characterp', not `char-valid-p'.
231 (font-lock-beg, font-lock-end): Declare.
232
4824146a
JB
233 * progmodes/idlw-shell.el (specs): Remove reference to deleted
234 variable `idlwave-shell-activate-alt-keybindings' and simplify.
235
b499d8d0
JB
236 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
237
ad89bb83
GM
2382012-05-08 Glenn Morris <rgm@gnu.org>
239
240 * files.el (auto-mode-alist): Treat ".make" like ".mk".
241
8bba5a75
SM
2422012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
243
49ed9c8e
SM
244 * vc/log-edit.el: Add GNU coding standards highlighting.
245 (log-edit-font-lock-gnu-style)
246 (log-edit-font-lock-gnu-keywords): New vars.
247 (log-edit-font-lock-keywords): New fun.
248 (log-edit-mode): Don't fold case in font-lock.
249 (log-edit-font-lock-keywords): Do not assume case-folding.
250
07d00b56
SM
251 * imenu.el: Misc cleanup. Make docstrings out of comments.
252 Use lexical-binding.
253 (imenu--index-alist, imenu--last-menubar-index-alist)
254 (imenu-menubar-modified-tick): Use defvar-local.
255 (imenu--split-menu): Remove unused var.
256 (imenu--cleanup-seen): Declare as global.
257 (imenu--cleanup): Use dolist.
258
8bba5a75
SM
259 * subr.el (defvar-local): Add debug spec and doc-string position.
260
5075bdb5
GM
2612012-05-08 Glenn Morris <rgm@gnu.org>
262
c052c904
GM
263 * lisp/language/burmese.el, language/cham.el, language/czech.el:
264 * language/english.el, language/georgian.el, language/greek.el:
265 * language/japanese.el, language/khmer.el, language/korean.el:
266 * language/lao.el, language/misc-lang.el, language/romanian.el:
267 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
268 * language/thai.el, language/utf-8-lang.el:
269 Remove no-byte-compile setting.
270
5075bdb5
GM
271 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
272
06f679a7
AH
2732012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
274
275 * progmodes/make-mode.el (makefile-browse):
276 Remove unnecessary interactive. (Bug#11324)
277
03794570
GM
2782012-05-07 Glenn Morris <rgm@gnu.org>
279
af8630f4
GM
280 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
281
03794570
GM
282 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
283
f0809a9d
SM
2842012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
285
28be5ce7
SM
286 * loadup.el: Preload newcomment.el.
287 * newcomment.el: Move autoload-only code to toplevel.
288
f0809a9d
SM
289 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
290 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
291 Handle new :right-align column property.
292 (tabulated-list-print-col): Idem, plus use `display' text-property to
293 try and preserve alignment for variable pitch fonts.
294
1241b724
CY
2952012-05-07 Chong Yidong <cyd@gnu.org>
296
297 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
298 (tabulated-list-use-header-line): New var.
299 (tabulated-list-init-header): Use it.
300 (tabulated-list-print-fake-header): New function.
301 (tabulated-list-print): Use it.
302 (tabulated-list-sort-button-map): Add non-header-line commands.
303 (tabulated-list-init-header): Add column name property to basic
304 labels as well.
305 (tabulated-list-col-sort): Handle non-header-line button case.
306 (tabulated-list--sort-by-column-name): Fix a corner case.
307
f0809a9d
SM
308 * buff-menu.el (list-buffers--refresh):
309 Handle Buffer-menu-use-header-line.
1241b724 310
e5f9458f
CY
3112012-05-06 Chong Yidong <cyd@gnu.org>
312
313 * buff-menu.el: Convert to Tabulated List mode.
314 (Buffer-menu-buffer+size-width): Make obsolete.
315 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
316 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
317 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
318 documentation into docstring of buffer-menu.
319 (Buffer-menu-toggle-files-only): Add an informative message.
320 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
321 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
322 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
323 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
324 (Buffer-menu-execute, Buffer-menu-select)
325 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
326 (Buffer-menu-bury): Use Tabulated List machinery.
327 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
328 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 329 Delete.
e5f9458f
CY
330 (list-buffers--refresh): New function.
331 (list-buffers-noselect): Use it.
332 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
333 (Buffer-menu--pretty-file-name): New helper functions.
334
335 * loadup.el: Preload tabulated-list.
336
337 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
338 tabulated-list-sort-column.
339 (tabulated-list-init-header): Add the initial aligning space even
340 if tabulated-list-padding is zero.
341
e129292c
CS
3422012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
343
344 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
345 whose cdr is not a cons cell correctly (bug#11038).
346
6632d361
CY
3472012-05-06 Chong Yidong <cyd@gnu.org>
348
e129292c
CS
349 * emacs-lisp/tabulated-list.el (tabulated-list-format):
350 Accept additional plist in column descriptors.
6632d361
CY
351 (tabulated-list-init-header): Obey it.
352 (tabulated-list-get-entry): New function.
353 (tabulated-list-put-tag): Use it. Use string-width instead of
354 length.
355 (tabulated-list--column-number): New function.
356 (tabulated-list-print): Use it.
e129292c
CS
357 (tabulated-list-print-col): New function.
358 Set `tabulated-list-column-name' property on each column's text.
6632d361 359 (tabulated-list-print-entry): Use it.
e129292c
CS
360 (tabulated-list-delete-entry, tabulated-list-set-col):
361 New functions.
6632d361
CY
362 (tabulated-list-sort-column): New command (Bug#11337).
363
3cc99f68
CY
364 * buff-menu.el (list-buffers): Move C-x C-b binding from
365 buff-menu.el to bindings.el.
366
367 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
368 :advertised-binding feature.
369
52b61776
TN
3702012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
371
372 * progmodes/compile.el (compilation-internal-error-properties):
373 Calculate start position correctly when end-col is set but
374 end-line is not (Bug#11382).
375
ebfe2597
WJ
3762012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
377
378 * man.el (Man-unindent): Use text-property-default-nonsticky to
379 prevent untabify from inheriting face properties (Bug#11408).
380
a43f98b3
GM
3812012-05-05 Glenn Morris <rgm@gnu.org>
382
48176e8b
GM
383 * calendar/cal-html.el: Optionally include holidays in the output.
384 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
385 (cal-html-holidays): New option.
386 (cal-html-css-default): Add holiday entry.
387 (holiday-in-range): Autoload it.
388 (cal-html-htmlify-entry): Add optional class argument.
389 (cal-html-htmlify-list): Add optional holidays argument.
390 (cal-html-insert-agenda-days): Include holidays in the output.
391 (cal-html-one-month): Maybe include holidays.
392
a43f98b3
GM
393 * calendar/holidays.el (holiday-in-range):
394 Move here from cal-tex-list-holidays.
395 * calendar/cal-tex.el (cal-tex-list-holidays):
396 Make it an obsolete alias for holiday-in-range. Update all callers.
397
fef9d149 3982012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
399
400 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
401 Nextstep.
402
248da2f4
RW
4032012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
404
405 * files.el (file-auto-mode-skip): New var.
406 (set-auto-mode-1): Use it.
407
f95e9344
SM
4082012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
409
df96ab1e
SM
410 * repeat.el: Use lexical-binding.
411 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
412 (repeat-undo-count): Remove.
413 (repeat):
414 * progmodes/octave-mod.el (octave-abbrev-start):
415 * progmodes/f90.el (f90-abbrev-start):
416 * face-remap.el (text-scale-adjust):
417 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
418
5342bb06
SM
419 * emacs-lisp/pcase.el (pcase--let*): New function.
420 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
421 a bit more.
422 (pcase--split-pred): Be more clever about ruling out overlap between
423 a predicate and some constant pattern.
424 (pcase--q1): Use `null' instead of (eq foo nil).
425
f95e9344
SM
426 * subr.el (setq-local, defvar-local): New macros.
427 (kbd): Redefine as an alias.
428 (with-selected-window): Leave unrelated frames alone.
429 (set-temporary-overlay-map): New function.
430
71873e2b
SM
4312012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * subr.el (user-error): New function.
434 * window.el (switch-to-buffer):
435 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
436 (smerge-match-conflict):
437 * simple.el (previous-matching-history-element)
438 (next-matching-history-element, goto-history-element, undo-more)
439 (undo-start):
440 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
441 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
442 (next-file, tags-loop-scan, list-tags, complete-tag):
443 * progmodes/compile.el (compilation-loop):
444 * mouse.el (mouse-minibuffer-check):
445 * man.el (Man-bgproc-sentinel, Man-goto-page):
446 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
447 (Info-history-forward, Info-follow-reference, Info-menu)
448 (Info-extract-menu-item, Info-extract-menu-counting)
449 (Info-forward-node, Info-backward-node, Info-next-menu-item)
450 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
451 (Info-next-reference, Info-prev-reference, Info-index)
452 (Info-index-next, Info-follow-nearest-node)
453 (Info-copy-current-node-name):
454 * imenu.el (imenu--make-index-alist)
455 (imenu-default-create-index-function, imenu-add-to-menubar):
456 * files.el (basic-save-buffer, recover-file):
457 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
458 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
459 (checkdoc-message-text, checkdoc-defun):
460 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
461 * cus-edit.el (customize-changed-options, customize-rogue)
462 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
463 (custom-variable-mark-to-reset-standard)
464 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
465 (custom-file):
466 * completion.el (check-completion-length):
467 * comint.el (comint-search-arg)
468 (comint-previous-matching-input-string-position)
469 (comint-previous-matching-input)
470 (comint-replace-by-expanded-history-before-point, comint-send-input)
471 (comint-copy-old-input, comint-backward-matching-input)
472 (comint-goto-process-mark, comint-set-process-mark):
473 * calendar/calendar.el (calendar-cursor-to-date): Use it.
474 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
475
8a61ee22
SM
4762012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
477
66408d1e
SM
478 * dabbrev.el (dabbrev--ignore-case-p): New function.
479 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
480 Use it.
481
8a61ee22
SM
482 * files.el (automount-dir-prefix): Mark as obsolete.
483
3c74813a
GM
4842012-05-04 Glenn Morris <rgm@gnu.org>
485
486 * patcomp.el, play/bruce.el: Move to obsolete/.
487
0bfcf5c5
PE
4882012-05-04 Paul Eggert <eggert@cs.ucla.edu>
489
490 Fix minor Y10k bugs.
491 * arc-mode.el (archive-unixdate):
492 * autoinsert.el (auto-insert-alist):
493 * calc/calc-forms.el (math-this-year):
494 * emacs-lisp/copyright.el (copyright-current-year)
495 (copyright-update-year, copyright):
496 * tar-mode.el (tar-clip-time-string):
497 * time.el (display-time-update):
498 Don't assume years have 4 digits.
499
78f3273a
CY
5002012-05-04 Chong Yidong <cyd@gnu.org>
501
502 * dos-w32.el (file-name-buffer-file-type-alist)
503 (direct-print-region-use-command-dot-com):
504 * ffap.el (ffap-menu-regexp):
505 * find-file.el (ff-special-constructs):
506 * follow.el (follow-debug):
507 * forms.el (forms--debug):
508 * iswitchb.el (iswitchb-all-frames):
509 * ido.el (ido-all-frames):
510 * emacs-lisp/timer.el (timer-max-repeats):
511 * mail/feedmail.el (feedmail-mail-send-hook)
512 (feedmail-mail-send-hook-queued):
513 * mail/footnote.el (footnote-signature-separator):
514 * mail/mailabbrev.el (mail-alias-separator-string)
515 (mail-abbrev-mode-regexp):
516 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
517 * progmodes/idlwave.el (idlwave-libinfo-file)
518 (idlwave-default-completion-case-is-down)
519 (idlwave-library-routines): Convert defvars to defcustoms.
520
521 * mail/rmail.el (rmail-decode-mime-charset):
522 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
523 (idlwave-shell-fix-inserted-breaks)
524 (idlwave-shell-activate-alt-keybindings)
525 (idlwave-shell-use-breakpoint-glyph):
526 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
527
f7ae6719
SM
5282012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
531
47086495
WS
5322012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
533
534 * progmodes/verilog-mode.el (font-lock-keywords):
535 Fix mis-highligting auto. Reported by Craig Barner.
536 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
537 defines from global name space. Reported by Dan Dever.
538 (verilog-auto-reset, verilog-auto-reset-widths)
539 (verilog-auto-tieoff): Support using unbased numbers for
540 AUTORESET and AUTOTIEOFF.
541 (verilog-submit-bug-report): Update variable list.
542 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
543 parenthesis from not matching. Reported by Michael Rytting.
544 (verilog-auto-template-lint): Fix hash error when linting modules
545 with no used templates.
546 (verilog-warn, verilog-warn-error)
547 (verilog-warn-fatal): When non-interactive report multiple
548 warnings before exiting. Suggested by Brad Dobbie.
549 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
550 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
551 to report unused template errors. Reported by Brad Dobbie.
552 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
553 nets, bug438. Reported by Vns Blore.
554 (verilog-auto-inout-module, verilog-auto-reg)
555 (verilog-read-decls, verilog-read-sub-decls-sig)
556 (verilog-signals-edit-wire-reg, verilog-signals-with):
557 Fix passing of Verilog data types in ANSI input/output ports
558 such as "output logic" into the AUTOs. Special case "wire" and
559 "reg" for backwards compatibility presuming Verilog 2001.
560 (verilog-auto-ascii-enum): Add "auto enum" as alias.
561 (verilog-preprocess): Fix replication of preprocess output.
562 Reported by Brad Dobbie.
563 (verilog-auto-inst-interfaced-ports):
564 Create verilog-auto-inst-interfaced-ports, bug429.
565 Reported by Julian Gorfajn.
566 (verilog-after-save-font-hook)
567 (verilog-before-save-font-hook): New variable.
568 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
569 (verilog-save-font-mods): Wrap disabling fontification, reported
570 by David Rogoff.
571 (verilog-do-indent, verilog-pretty-declarations-auto)
572 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
573 Reported by Pierre-David Pfister.
574 (verilog-set-auto-endcomments): Fix endtask auto comments outside
575 of class declarations, bug292. Reported by Kevin Heilman.
576 (verilog-read-decls): Fix 'parameter type' not appearing in
577 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
578 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
579 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
580 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
581 Reported by David Kravitz.
582
5832012-05-03 Michael McNamara <mac@mail.brushroad.com>
584
585 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
586 assignment with tests in ifs and for loops.
587 (verilog-extended-complete-re, verilog-complete-reg): Change so
588 that DPI inport functions don't look like fuction declarations.
589 (verilog-pretty-expr): Don't line up assignment
590 operations to the test and increment in if and for loops
591 (verilog-extended-complete-re, verilog-complete-reg): Change so
592 that DPI inport functions don't look like fuction declarations
593
2e51d4b5
KH
5942012-05-03 Kenichi Handa <handa@m17n.org>
595
596 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
597 decoding, and show a warning message without signalling an error
598 (Bug#11282).
599
2bd785a2
SM
6002012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * emacs-lisp/bytecomp.el
603 (byte-compile-file-form-custom-declare-variable): Compile all elements,
604 since cconv.el might have introduced :fun-body, internal-make-closure,
605 and friends for bytecomp to handle (bug#11391).
606 * custom.el (defcustom): Avoid ((λ ..) ..).
607
99d27583
SM
6082012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
611
55a71479
JB
6122012-05-02 Juanma Barranquero <lekktu@gmail.com>
613
614 * notifications.el (dbus-debug):
615 * term/linux.el (gpm-mouse-enable):
616 * term/screen.el (xterm-register-default-colors): Declare.
617
7b97c764
CY
6182012-05-02 Chong Yidong <cyd@gnu.org>
619
2bc356d7
CY
620 * cus-start.el (gc-cons-percentage, exec-suffixes)
621 (dos-display-scancodes, dos-hyper-key, dos-super-key)
622 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
623 (make-cursor-line-fully-visible, void-text-area-pointer)
624 (font-list-limit): Add customization data.
625
7b97c764
CY
626 * allout.el (allout-exposure-change-functions)
627 (allout-structure-added-functions)
628 (allout-structure-deleted-functions)
629 (allout-structure-shifted-functions): Rename abnormal hooks from
630 *-hook, and convert to defcustoms.
5d3385a0
JB
631 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
632 Convert to defcustoms.
7b97c764
CY
633 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
634
635 * allout-widgets.el: Hook callers changed.
636
90207a15 6372012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
638
639 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
640 the yanked message in preference to the default value of
641 buffer-file-coding-system.
642
90207a15 6432012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 644
5d3385a0
JB
645 * window.el (display-buffer--action-function-custom-type):
646 Fix entry.
d9558cad 647
90207a15 6482012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
649
650 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
651
d80ac57b
GM
6522012-05-01 Glenn Morris <rgm@gnu.org>
653
976f7668
GM
654 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
655
beb83b5a
GM
656 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
657
d80ac57b
GM
658 * cus-edit.el (custom-variable-documentation): Simplify with format.
659
b593d6a9
AH
6602012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
661 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * simple.el (suggest-key-bindings, execute-extended-command):
664 Move from keyboard.c.
665
782fbf2a
CY
6662012-05-01 Chong Yidong <cyd@gnu.org>
667
668 * follow.el: Eliminate advice.
669 (set-process-filter, process-filter, sit-for): Advice deleted.
670 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
671 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
672 Vars deleted.
782fbf2a
CY
673 (follow-auto): Use a :set function.
674 (follow-mode): Rewritten. Don't advise process filters.
675 (follow-switch-to-current-buffer-all, follow-scroll-up)
676 (follow-scroll-down): Assume follow-mode is bound.
677 (follow-comint-scroll-to-bottom)
678 (follow-align-compilation-windows): New functions.
679 (follow--window-sorter): New function.
680 (follow-all-followers): Use it to explicitly sort windows by their
681 positions; don't make assumptions about next-window order.
682 (follow-windows-start-end, follow-delete-other-windows-and-split)
683 (follow-calc-win-start): Doc fix.
684 (follow-windows-aligned-p, follow-select-if-visible): Don't call
685 vertical-motion unnecessarily.
686 (follow-adjust-window): New function.
687 (follow-post-command-hook): Use it.
688 (follow-call-set-process-filter, follow-call-process-filter)
689 (follow-intercept-process-output, follow-tidy-process-filter-alist)
690 (follow-stop-intercept-process-output, follow-generic-filter):
691 Functions deleted.
692 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
693 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
694 New functions, replacing advice on scroll-bar-* commands.
87233a14 695 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
696
697 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
698 (comint-postoutput-scroll-to-bottom): Use it.
699 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 700
290af740
GM
7012012-05-01 Glenn Morris <rgm@gnu.org>
702
703 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
704 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
705 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
706 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
707 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
708 Remove no-byte-compile setting.
709
6eac8dc9
SM
7102012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * minibuffer.el (completion-table-with-quoting): Fix compatibility
713 all-completions code to not return a number in the last cdr.
714
9cc7819c
LL
7152012-04-30 Leo Liu <sdl.web@gmail.com>
716
717 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
718 read-only error.
719
c93b886f
CY
7202012-04-29 Chong Yidong <cyd@gnu.org>
721
722 * follow.el (follow-calc-win-end): Rewrite to handle partial
723 screen lines correctly (Bug#8390).
724 (follow-avoid-tail-recenter): Minor cleanup.
725
8b6c19f4
SM
7262012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 Avoid the obsolete `assoc' package.
729 * speedbar.el (speedbar-refresh): Avoid adelete.
730 (speedbar-file-lists): Simplify and avoid aput.
731 * man.el (Man--sections, Man--refpages): New vars, replacing
732 Man-sections-alist and Man-refpages-alist.
733 (Man-build-section-alist, Man-build-references-alist):
734 Use them; avoid aput.
735 (Man--last-section, Man--last-refpage): New vars.
736 (Man-follow-manual-reference): Use them.
737 Use the `default' arg of completing-read.
738 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
739
c5bb7569
CY
7402012-04-27 Chong Yidong <cyd@gnu.org>
741
d1d2e2e8
CY
742 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
743
15cd8efd
CY
744 * startup.el (x-apply-session-resources): New function.
745
746 * term/ns-win.el (ns-initialize-window-system):
747 * term/w32-win.el (w32-initialize-window-system):
748 * term/x-win.el (x-initialize-window-system): Use it to properly
749 set menu-bar-mode and other vars from X resources, even if the
750 initial frame is not a window-system frame (Bug#2299).
751
c5bb7569
CY
752 * subr.el (read-key): Avoid running filter function when setting
753 up temporary tool bar entries (Bug#9922).
754
a8e7d6d7 7552012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
756
757 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
758 (Bug#11344)
759
a8e7d6d7 7602012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
761
762 * select.el (xselect--encode-string): New function, split from
763 xselect-convert-to-string.
764 (xselect-convert-to-string): Use it.
765 (xselect-convert-to-filename, xselect-convert-to-os)
766 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
767 returned strings are properly encoded (Bug#11315).
768
a8e7d6d7 7692012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
770
771 * simple.el (delete-active-region): Move to killing custom group.
772
a8e7d6d7 7732012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
774
775 * progmodes/which-func.el (which-func-current): Quote %
776 characters for mode-line processing.
777
578c1d4b 7782012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
779
780 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
781 reaching eob (Bug#11286).
782
a8e7d6d7 7832012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
784
785 * progmodes/gdb-mi.el (gdb-control-level): New variable.
786 (gdb): Make it buffer-local and init to zero.
787 (gdb-control-commands-regexp): New variable.
788 (gdb-send): Don't wrap in "-interpreter-exec console" if
789 gdb-control-level is positive. Increment gdb-control-level
790 whenever the command matches gdb-control-commands-regexp, and
791 decrement it each time the command is "end". (Bug#11279)
792
a8e7d6d7 7932012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
794
795 * window.el (adjust-window-trailing-edge, enlarge-window)
796 (shrink-window, window-resize):
797 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
798 windows (Bug#11276).
799
b3608390
CY
8002012-04-27 Chong Yidong <cyd@gnu.org>
801
802 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 803 fix "missing prefix" warning. All callers changed.
b3608390 804
797e6e88
SM
8052012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
806
807 * emacs-lisp/assoc.el: Move to obsolete/.
808
e95a67dc
SM
8092012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
810
657c21e4 811 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
812
813 * term/ns-win.el (ns-define-service):
814 * progmodes/pascal.el (pascal-goto-defun):
815 * progmodes/js.el (js--read-tab):
816 * progmodes/etags.el (tags-lazy-completion-table):
817 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
818 * emacs-lisp/ewoc.el (ewoc--wrap):
819 * emacs-lisp/assoc.el (aput, adelete, amake):
820 * doc-view.el (doc-view-convert-current-doc):
821 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
822
cb3e7ae0
CY
8232012-04-26 Chong Yidong <cyd@gnu.org>
824
dce04f7f
CY
825 * image.el (image-type-from-buffer): Only return supported image
826 type (Bug#9045).
827
cb3e7ae0
CY
828 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
829 value, for symmetry with diff-end-of-hunk.
830 (diff-split-hunk, diff-find-source-location)
831 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
832 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
833 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
834 compute the relevant hunk or file properly (Bug#6005).
835 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
836
0d42eb3e
SM
8372012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * vc/vc-mtn.el:
840 * vc/vc-hg.el:
841 * vc/vc-git.el:
842 * vc/vc-dir.el:
843 * vc/vc-cvs.el:
844 * vc/vc-bzr.el:
845 * vc/vc-arch.el:
846 * vc/vc.el: Replace lexical-let by lexical-binding.
847 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
848 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
849 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
850
f08ae1c9
CY
8512012-04-26 Chong Yidong <cyd@gnu.org>
852
8b71081d
CY
853 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
854 (diff-mode-shared-map): Bind it to / and [remap undo].
855
f08ae1c9
CY
856 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
857 (ediff-window-setup-function): Use it as the default, to set up
858 windows based on whether the current frame is graphical (Bug#2138).
859 (ediff-choose-window-setup-function-automatically): Make obsolete.
860
861 * vc/ediff-init.el: Always define ediff-pixel-width/height.
862
ef24141c
SM
8632012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
864
cc356a5d
SM
865 * ffap.el: Remove old code for obsolete package.
866 (ffap-complete-as-file-p): Remove.
867
b4ff4f1f
SM
868 Use completion-table-with-quoting for comint and pcomplete.
869 * comint.el (comint--unquote&requote-argument)
870 (comint--unquote-argument, comint--requote-argument): New functions.
871 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
872 (comint-quote-filename): Use regexp-opt-charset.
873 (comint--common-suffix, comint--common-quoted-suffix)
874 (comint--table-subvert): Remove.
875 (comint-unquote-function, comint-requote-function): New vars.
876 (comint--complete-file-name-data): Use them with
877 completion-table-with-quoting.
878 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
879 * pcomplete.el (pcomplete-arg-quote-list)
880 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
881 (pcomplete-unquote-argument-function): Default to non-nil.
882 (pcomplete-unquote-argument): Simplify.
883 (pcomplete--common-quoted-suffix): Remove.
884 (pcomplete-requote-argument-function): New var.
885 (pcomplete--common-suffix): New function.
886 (pcomplete-completions-at-point): Use completion-table-with-quoting
887 and completion-table-subvert.
888
79c4eeb4
SM
889 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
890 (minibuffer--double-dollars): Preserve properties.
891 (completion--sifn-requote): New function.
892 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
893
ef24141c
SM
894 * minibuffer.el: Add support for completion of quoted/escaped data.
895 (completion-table-with-quoting, completion-table-subvert): New funs.
896 (completion--twq-try, completion--twq-all): New functions.
897 (completion--nth-completion): New function.
898 (completion-try-completion, completion-all-completions): Use it.
899
784e7d6e
LL
9002012-04-25 Leo Liu <sdl.web@gmail.com>
901
dd2ac746
SM
902 * progmodes/python.el (python-pdbtrack-get-source-buffer):
903 Use compilation-message if available to find real filename.
784e7d6e 904
07875ee7
CY
9052012-04-25 Chong Yidong <cyd@gnu.org>
906
907 * vc/diff-mode.el (diff-setup-whitespace): New function.
908 (diff-mode): Use it.
909
910 * vc/diff.el (diff-sentinel):
911 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
912 Whitespace mode variables based on diff style (Bug#8612).
913
5055880d
LL
9142012-04-25 Leo Liu <sdl.web@gmail.com>
915
daf75653
LL
916 * progmodes/python.el (python-send-region): Add suffix .py to the
917 temp file.
918
5055880d
LL
919 * files.el (auto-mode-alist): Use javascript-mode instead.
920
db9b177b
AH
9212012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
922
ef24141c 923 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
924
925 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 926 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 927 references, see Bug#9.
ef24141c 928 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 929 when receiving a fault reply.
ef24141c 930 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
931
932 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 933 (soap-inspect-simple-type): New function.
db9b177b 934
ef24141c 935 * soap-client.el (soap-simple-type): New struct.
db9b177b 936 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
937 (soap-decode-basic-type, soap-encode-basic-type):
938 support unsignedInt and double basic types.
db9b177b 939 (soap-resolve-references-for-simple-type)
ef24141c
SM
940 (soap-parse-simple-type, soap-encode-simple-type): New function.
941 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
942
943 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
944 (soap-default-soapenc-types): Add integer, byte and anyURI types.
945 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
946 the local name of "soapenc:Array".
947 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
948 decoding integer, byte and anyURI xsd types.
949
1fc6097b
CY
9502012-04-25 Chong Yidong <cyd@gnu.org>
951
952 * cus-edit.el (custom-buffer-create-internal): Update header text.
953
afc6df87
EZ
9542012-04-25 Eli Zaretskii <eliz@gnu.org>
955
956 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
957 settings on 'system-type', not on 'window-system'. On MS-Windows,
958 set interactive-mode on in GDB.
959
dfbd787f
SM
9602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
961
962 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
963 (ruby-syntax-propertize-regexp): Remove.
964 (ruby-syntax-propertize-function): Split regexp into chunks.
965 Match following code directly.
966
85222d44
DG
9672012-04-24 Dmitry Gutov <dgutov@yandex.ru>
968
51a8ea2a
DG
969 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
970 (ruby-syntax-propertize-regexp): New function.
971 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
972 by a special keyword.
973
85222d44
DG
974 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
975 (ruby-syntax-general-delimiters-goto-beg)
976 (ruby-syntax-propertize-general-delimiters): New functions.
977 (ruby-syntax-propertize-function): Use them to handle GDL.
978 (ruby-font-lock-keywords): Move old handling of GDL...
979 (ruby-font-lock-syntactic-keywords): .. to here.
980 (ruby-calculate-indent): Adjust indentation for GDL.
981
b613912b
MA
9822012-04-24 Michael Albinus <michael.albinus@gmx.de>
983
b5380639
MA
984 * notifications.el (top): Remove unneeded declarations.
985 (notifications-specification-version): Change to "1.2".
e43042fe 986 (notifications-interface, notifications-notify-method)
b613912b
MA
987 (notifications-close-notification-method): Fix docstring.
988 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
989 (notifications-notify): Add :action-items, :resident and
990 :transient hints. Change "image_data" to "image-data" and
991 "image_path" to "image-path".
b613912b
MA
992 (notifications-get-capabilities): New defun.
993
257440aa
LL
9942012-04-24 Leo Liu <sdl.web@gmail.com>
995
996 * progmodes/python.el: Move hideshow setup to the end.
997
b1bac16e
MR
9982012-04-24 Martin Rudalics <rudalics@gmx.at>
999
1000 * window.el (handle-select-window): Clear echo area since this is
1001 no more done by read_char (Bug#11304).
1002
d81bd059
SM
10032012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1006 and `/ M' to filter-derived-mode.
1007 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1008 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1009 (ibuffer-mark-by-mode): Use default rather than initial-input.
1010 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1011
c4cf6d91
IA
10122012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1013
1014 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1015 (ibuffer-filter-by-derived-mode): New filter.
1016 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1017
7511ded8
CY
10182012-04-23 Andreas Politz <politza@fh-trier.de>
1019
1020 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1021
775c916b
CY
10222012-04-23 Chong Yidong <cyd@gnu.org>
1023
1024 * cus-edit.el (customize-apropos, customize-apropos-options):
1025 Disable matching of non-option variables (Bug#11176).
1026 (customize-option, customize-option-other-window)
1027 (customize-changed-options): Doc fix.
1028 (customize-apropos-options, customize-apropos-faces)
1029 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1030
1031 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1032 Fix word list splitting (Bug#11132).
46c71e23
CY
1033 (apropos-symbol, apropos-keybinding, apropos-label)
1034 (apropos-property, apropos-function-button)
1035 (apropos-variable-button, apropos-misc-button): New faces.
1036 (apropos-symbol-face, apropos-keybinding-face)
1037 (apropos-label-face, apropos-property-face, apropos-match-face):
1038 Variables removed (Bug#8396).
1039 (apropos-library-button, apropos-format-plist, apropos-print)
1040 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1041
2df41f9c
MA
10422012-04-23 Michael Albinus <michael.albinus@gmx.de>
1043
1044 * net/xesam.el (xesam-mode-map): Use let-bound map in
1045 initialization. (Bug#11292)
1046
da00640a
AM
10472012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1048
1049 Preserve ispell session localwords when switching back to
1050 original buffer.
1051
1052 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1053 variable to hold buffer session localwords.
1054 (ispell-kill-ispell): add option 'clear to delete session
1055 localwords.
1056 (ispell-command-loop, ispell-change-dictionary)
1057 (ispell-buffer-local-words): Preserve session localwords when
1058 needed.
1059
1060 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1061 Preserve session localwords when needed.
1062
f621ccf5
AM
10632012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1064
1065 * ispell.el (ispell-insert-word) Remove unneeded function using
1066 obsolete `translation-table-for-input'.
ef24141c
SM
1067 (ispell-word, ispell-process-line, ispell-complete-word):
1068 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1069
c2d1019e
CY
10702012-04-22 Chong Yidong <cyd@gnu.org>
1071
1072 * cus-edit.el (custom-variable-menu)
1073 (custom-variable-reset-saved, custom-face-menu)
1074 (custom-face-reset-saved): If there is no saved value, make the
1075 "reset-saved" operation bring back the default (Bug#9509).
1076 (custom-face-state): Properly detect themed faces.
1077
eeddc531
CY
1078 * faces.el (face-spec-set): Stop supporting deprecated form of
1079 third arg.
1080
dcbf5805
MA
10812012-04-22 Michael Albinus <michael.albinus@gmx.de>
1082
1083 Move functions from C to Lisp. Make non-blocking method calls
1084 the default. Implement further D-Bus standard interfaces.
1085
ef24141c
SM
1086 * net/dbus.el (dbus-message-internal): Declare function.
1087 Remove unneeded function declarations.
dcbf5805
MA
1088 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1089 (dbus-message-type-method-return, dbus-message-type-error)
1090 (dbus-message-type-signal): Declare variables. Remove local
1091 definitions.
1092 (dbus-interface-dbus, dbus-interface-peer)
1093 (dbus-interface-introspectable, dbus-interface-properties)
1094 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1095 Adapt docstring.
1096 (dbus-interface-objectmanager): New defconst.
1097 (dbus-call-method, dbus-call-method-asynchronously)
1098 (dbus-send-signal, dbus-method-return-internal)
1099 (dbus-method-error-internal, dbus-register-service)
1100 (dbus-register-signal, dbus-register-method): New defuns, moved
1101 from dbusbind.c
1102 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1103 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1104 New defuns.
dcbf5805
MA
1105 (dbus-call-method-non-blocking): Make it an obsolete function.
1106 (dbus-unregister-object, dbus-unregister-service)
1107 (dbus-handle-event, dbus-register-property)
1108 (dbus-property-handler): Obey the new structure of
1109 `bus-registered-objects'.
1110 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1111 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1112 Use `dbus-call-method'.
1113
cf20dee0
CY
11142012-04-22 Chong Yidong <cyd@gnu.org>
1115
1116 * cus-edit.el (custom-commands, custom-reset-menu)
1117 (Custom-reset-standard): Tweak labels.
1118 (custom-reset-button-menu): Change default to t.
1119 (custom-buffer-create-internal): For the custom-reset-button-menu
1120 case, put the revert button first.
1121 (custom-group-subtitle): New face.
1122 (custom-group-value-create): Align docstring to a specific column.
1123
1124 * wid-edit.el (widget-documentation-link-add): Don't handle
1125 indentation in this function.
1126 (widget-documentation-string-indent-to): New function.
1127 (widget-documentation-string-value-create): Use it.
1128
1129 * autorevert.el (auto-revert):
1130 * epg-config.el (epg):
1131 * ibuffer.el (ibuffer):
1132 * mpc.el (mpc):
1133 * ses.el (ses):
1134 * eshell/eshell.el (eshell):
1135 * net/ange-ftp.el (ange-ftp):
1136 * progmodes/ebnf2ps.el (postscript):
1137 * progmodes/flymake.el (flymake):
1138 * progmodes/prolog.el (prolog):
1139 * progmodes/verilog-mode.el (verilog-mode):
1140 * progmodes/which-func.el (which-func):
1141 * term/xterm.el (xterm):
1142 * textmodes/picture.el (picture):
1143 * textmodes/tildify.el (tildify):
1144 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1145 customization buffers.
1146
583e23bd
AM
11472012-04-22 Alan Mackenzie <acm@muc.de>
1148
1149 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1150 Adding a ) can hide the resulting (..) from searches. Fix it.
1151 Bound the backward search to the position of the existing (.
1152
7dd51bf1
JB
11532012-04-21 Juanma Barranquero <lekktu@gmail.com>
1154
1155 * progmodes/verilog-mode.el (verilog-mode): Check whether
1156 which-func-modes is t before adding verilog-mode.
1157 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1158
d64a438f
LL
11592012-04-21 Leo Liu <sdl.web@gmail.com>
1160
7dd51bf1 1161 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1162
081e8d65
MV
11632012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1164
1165 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1166 filling of the last column of a table (Bug#5635).
1167 (woman-find-next-control-line): New arg, specifying an additional
1168 regexp component for the control line.
1169 (woman2-roff-buffer): Use it.
1170 (woman-break-table): New function.
1171 (woman2-TS): Use it.
1172
11732012-04-21 Chong Yidong <cyd@gnu.org>
1174
1175 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1176 (woman-horizontal-escapes, woman-negative-vertical-space)
1177 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1178 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1179
ed571ccb
SM
11802012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1181
1182 * minibuffer.el (completion-file-name-table): Complete user names.
1183
39773899
LL
11842012-04-20 Leo Liu <sdl.web@gmail.com>
1185
1186 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1187 and pcase-let*.
1188
de6ff46d
CY
11892012-04-20 Chong Yidong <cyd@gnu.org>
1190
1191 * server.el (server-execute): Respect initial-buffer-choice if it
1192 is a string and there are no files to open (Bug#2825).
1193 (server-create-window-system-frame, server-create-tty-frame):
1194 Don't switch buffers here.
2d0e8e61
CY
1195 (server-process-filter): Only try to open a window system frame if
1196 compiled with graphical support (Bug#8314).
de6ff46d 1197
54071013
DN
11982012-04-20 Dan Nicolaescu <dann@gnu.org>
1199
1200 * battery.el (battery-echo-area-format): Display remaining time
1201 for sysfs backend too (Bug#11269).
1202 (battery-linux-sysfs): Fix conditional for the charge.
1203
f30d612a
CY
12042012-04-20 Chong Yidong <cyd@gnu.org>
1205
c07a4c0b 1206 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1207 (gdb-inferior-io--init-proc): New function.
1208 (gdb-init-1): Use it.
1209 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1210 responsible for allocating a new pty and hooking it to gdb when
1211 the old pty gets an EIO due to process exit.
1212 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1213 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1214 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1215
2116e93c
EZ
12162012-04-20 Eli Zaretskii <eliz@gnu.org>
1217
1218 * window.el (window-min-size, window-sizable, window-min-delta)
1219 (window-max-delta, window--resizable, window-resizable)
1220 (window-total-size, window-full-height-p, window-full-width-p)
1221 (window-in-direction, window--resize-mini-window, window-resize)
1222 (window--resize-child-windows-normal)
1223 (window--resize-child-windows, window--resize-siblings)
1224 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1225 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1226
c07a4c0b 12272012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1228
ef24141c
SM
1229 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1230 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1231 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1232 pty process (Bug#11273).
1233 (gdb-update): New arg to suppress talking to the gdb process.
1234 (gdb-done-or-error): Use it.
1235 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1236 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1237 sentinel not being called.
1238
1239 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1240
d02766ab
CY
1241 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1242
c07a4c0b 12432012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1244
1245 * net/network-stream.el (open-network-stream): Doc fix.
1246
c07a4c0b 12472012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1248
1249 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1250
c07a4c0b 12512012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1252
1253 Ensure searching for keywords is case sensitive.
1254
1255 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1256 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1257 (c-defun-name, c-mark-function, c-cpp-define-name)
1258 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1259 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1260
ef24141c
SM
1261 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1262 Bind case-fold-search to nil.
f0f6bc35 1263
c07a4c0b 12642012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1265
1266 * mail/sendmail.el (mail-bury): Call return action with the right
1267 Rmail buffer (Bug#11242).
1268
9a864fa2
CY
1269 * server.el (server-process-filter): Handle corner case where both
1270 tty and nowait options are present (Bug#11102).
1271
539aa513
EZ
12722012-04-20 Eli Zaretskii <eliz@gnu.org>
1273
1274 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1275 (top level): Put into the executable the ident-style '$Id:' tag on
1276 windows-nt as well.
539aa513 1277
cfc7d5da
SM
12782012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * electric.el (electric-indent-post-self-insert-function): Check that
1281 electric-indent-mode is enabled in current buffer.
1282
5b01685c
JB
12832012-04-19 Juanma Barranquero <lekktu@gmail.com>
1284
1285 * imenu.el (imenu-progress-message): Restore; it is "used" in
1286 erc/erc-imenu.el and net/snmp-mode.el.
1287
4d6769e1
JB
12882012-04-19 Juanma Barranquero <lekktu@gmail.com>
1289
1290 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1291 (mouse-avoidance-nudge-mouse): Remove unused binding.
1292
1293 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1294
1295 * descr-text.el (describe-char):
1296 * progmodes/python.el (python-describe-symbol):
1297 Don't call `toggle-read-only', set `buffer-read-only'.
1298
1299 * imenu.el (imenu-default-goto-function): Mark unused args.
1300 (imenu-progress-message): Remove obsolete macro; all callers changed.
1301
1302 * subr.el (keymap-canonicalize): Remove unused binding.
1303 (read-passwd): Mark unused arg.
1304
1305 * tutorial.el (tutorial--display-changes): Remove unused binding.
1306 (tutorial--save-tutorial-to): Remove unused variable.
1307
1308 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1309 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1310 (package-generate-autoloads, package-menu--generate)
1311 (package-menu--find-upgrades): Remove unused bindings.
1312
1313 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1314 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1315 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1316 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1317 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1318 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1319 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1320 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1321 (cua-delete-char-rectangle): Mark unused args.
1322 (cua-align-rectangle): Remove unused binding.
1323
1324 * mail/rmail.el (compilation--message->loc)
1325 (epa--find-coding-system-for-mime-charset): Declare.
1326
1327 * net/dbus.el (dbus-register-service): Declare.
1328 (dbus-name-owner-changed-handler): Remove unused binding.
1329
1330 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1331 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1332 (nxml-scan-backward-within): Mark unused arg.
1333 (nxml-dynamic-markup-word): Remove unused binding.
1334
1335 * mouse.el (mouse-menu-major-mode-map):
1336 * emacs-lisp/authors.el (authors-scan-change-log)
1337 (authors-add-to-author-list):
1338 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1339 * emacs-lisp/smie.el (smie-auto-fill):
1340 * mail/sendmail.el (mail-bury):
1341 * mail/unrmail.el (unrmail):
1342 * net/tls.el (open-tls-stream):
1343 * textmodes/picture.el (picture-mouse-set-point):
1344 Remove unused bindings.
1345
8c8fc5df
MA
13462012-04-19 Michael Albinus <michael.albinus@gmx.de>
1347
1348 * net/tramp.el (tramp-action-password): Let-bind
1349 `enable-recursive-minibuffers' to t.
1350
a77b0ac9
SS
13512012-04-18 Sam Steingold <sds@gnu.org>
1352
1353 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1354 instead of 'string to accommodate values like [f11].
1355 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1356 * progmodes/gdb-mi.el: Likewise.
1357
12a106a9
LL
13582012-04-18 Leo Liu <sdl.web@gmail.com>
1359
1360 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1361 current buffer.
1362 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1363 LOCAL is nil.
1364
bc6494ef
CY
13652012-04-18 Chong Yidong <cyd@gnu.org>
1366
1367 * simple.el (line-move): Use forward-line if in batch mode
1368 (Bug#11053).
1369
c09c46b2
CS
13702012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1371
1372 * files.el (after-find-file): Do not try to add a final newline if
1373 the buffer is read-only (Bug#11156).
1374
5f6530ea
RS
13752012-04-17 Richard Stallman <rms@gnu.org>
1376
1377 * mail/rmail.el (rmail-start-mail):
1378 Pass (rmail-mail-return...) for the return-action.
1379 Pass (rmail-yank-current-message...) for the yank-action.
1380 (rmail-yank-current-message): New function.
1381 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1382 (rmail-reply): Likewise.
1383 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1384
1385 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1386 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1387 buffer, not newbuf.
1388
197b6f3c
JB
13892012-04-17 Juanma Barranquero <lekktu@gmail.com>
1390
1391 * server.el (server-ensure-safe-dir): Simplify.
1392
2311d8e5 13932012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1394
2311d8e5
GM
1395 * emacs-lisp/smie.el: Provide smarter auto-filling.
1396 (smie-auto-fill): New function.
1397 (smie-setup): Use it.
98fb480e 1398
2311d8e5
GM
1399 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1400
14012012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1402
1403 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1404 (comment-indent): Use it.
1405
2311d8e5 14062012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1407
1408 * ses.el: The overall change is to add cell renaming, that is
1409 setting fancy names for cell symbols other than name matching
1410 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1411 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1412 (ses-create-cell-variable): New defun.
2311d8e5 1413 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1414 (ses-relocate-formula): Relocate formulas only for cells the
1415 symbols of which are not renamed, i.e. symbols whose names do not
1416 match regexp "\\`[A-Z]+[0-9]+\\'".
1417 (ses-relocate-all): Relocate values only for cells the symbols of
1418 which are not renamed.
1419 (ses-load): Create cells variables as the (ses-cell ...) are read,
1420 in order to check row col consistency with cell symbol name only
1421 for cells that are not renamed.
1422 (ses-replace-name-in-formula): New defun.
1423 (ses-rename-cell): New defun.
4bdf2ad2 1424
fc72b15c
PO
14252012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1426
1427 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1428 New option (bug#11118).
1429 (perl-calculate-indent): Respect it.
1430
12e10e61
GM
14312012-04-17 Glenn Morris <rgm@gnu.org>
1432
1433 * dired-aux.el (dired-mark-read-string): Doc fix.
1434
30009afd
DA
14352012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1436
1437 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1438 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1439
41f03f4d
GM
14402012-04-17 Glenn Morris <rgm@gnu.org>
1441
1442 * mouse.el (mouse-drag-track):
1443 * speedbar.el (speedbar-frame-mode):
1444 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1445
f45f90f3
LL
14462012-04-16 Leo Liu <sdl.web@gmail.com>
1447
1448 * progmodes/python.el: Trivial cleanup.
1449
94ee8db5
GM
14502012-04-16 Glenn Morris <rgm@gnu.org>
1451
121b8917
GM
1452 * vc/vc.el (vc-string-prefix-p):
1453 * vc/pcvs-util.el (cvs-string-prefix-p):
1454 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1455 * mpc.el (mpc-string-prefix-p):
1456 Make all of these into obsolete aliases for string-prefix-p.
1457 Update callers.
1458 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1459
1197ecfa
GM
1460 * textmodes/two-column.el: Move custom options to the start.
1461 (frame-width): Remove compat definition.
1462 (2C-associate-buffer, 2C-dissociate):
1463 Use with-current-buffer rather than save-excursion.
1464 (2C-dissociate): Force a mode-line update.
1465 (2C-autoscroll): Use ignore-errors.
1466
099e7202
GM
1467 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1468 Autoload trivia.
1469
bf350d6a
GM
1470 * emacs-lisp/cl-extra.el (*random-state*):
1471 Remove unnecessary declaration.
1472
0e829eab
GM
1473 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1474
e3ad7552
GM
1475 * play/cookie1.el (cookie-snarf):
1476 Give an explicit error if input file cannot be read.
1477
68892d27
GM
1478 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1479
20f0c46d
GM
1480 * progmodes/perl-mode.el (c-macro-expand):
1481 Remove unnecessary autoload (it is in loaddefs.el).
1482
5a0978ce
GM
1483 * textmodes/picture.el (picture-desired-column)
1484 (picture-update-desired-column): Convert comments to doc-strings.
1485 (picture-substitute): Remove function.
1486 (picture-mode-map): Initialize in the defvar.
1487
6b955486
GM
1488 * woman.el: Remove eval-after-load for tar-mode.
1489 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1490 (woman-tar-extract-file): Autoload it.
1491
94ee8db5
GM
1492 * frame.el (automatic-hscrolling): Make this alias obsolete.
1493
177eca34
AM
14942012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1495
1496 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1497 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1498 (ispell-dictionary-base-alist): Revert to original XEmacs
1499 friendly version for default. [:alpha:] will be added in
1500 `ispell-set-spellchecker-params' if needed
177eca34 1501
c505aaeb
CY
15022012-04-16 Chong Yidong <cyd@gnu.org>
1503
1504 * image.el (imagemagick--extension-regexp): New variable.
1505 (imagemagick-register-types): Use it.
1506 (imagemagick-types-inhibit): Add :set function. Allow new value
1507 of t to inhibit all types.
1508
1509 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1510 so we can preload it.
1511
1512 * loadup.el (fboundp): Preload regexp-opt, needed by
1513 imagemagick-register-types.
1514
60efac0f
CY
15152012-04-15 Chong Yidong <cyd@gnu.org>
1516
1517 * frame.el (scrolling): Remove nearly unused customization group.
1518
1519 * scroll-all.el (scroll-all-mode): Move to windows group.
1520
5dd1713e
CY
15212012-04-15 Chong Yidong <cyd@gnu.org>
1522
1523 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1524
e6fd457e
CY
15252012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1526
1527 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1528 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1529
e153c136
GM
15302012-04-15 Glenn Morris <rgm@gnu.org>
1531
1532 * simple.el (process-file-side-effects): Doc fix.
1533
e6fd457e 15342012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1535
1536 * international/mule-cmds.el (set-language-environment): Doc fix.
1537
3603c3b1
JB
15382012-04-14 Juanma Barranquero <lekktu@gmail.com>
1539
1540 * server.el (server-auth-key, server-generate-key): Doc fixes.
1541 (server-get-auth-key): Doc fix. Use `string-match-p'.
1542 (server-start): Reflow docstring.
1543
e6de100c
LI
15442012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1545
1546 * server.el (server-generate-key): `called-interactively-p'
1547 requires a parameter.
1548
29734c21
MN
15492012-04-14 Michal Nazarewicz <mina86@mina86.com>
1550
1551 * server.el (server-auth-key): New variable.
75f1671a 1552 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1553 (server-start): Use the new variable and functions to allow
1554 setting a permanent server key (bug#9423).
1555
d65c9521
LL
15562012-04-14 Leo Liu <sdl.web@gmail.com>
1557
1558 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1559
5ae255c7
PE
15602012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1561
1562 Spelling fixes.
1563 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1564 Emacs uses American spelling.
1565
d5e6342e
JB
15662012-04-14 Juanma Barranquero <lekktu@gmail.com>
1567
1568 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1569 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1570 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1571 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1572
ab036cd7
SM
15732012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * progmodes/which-func.el (which-func-modes): Change default.
1576
35dc09a1 15772012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1578
1579 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1580 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1581
35dc09a1 15822012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1583
1584 * custom.el (custom-theme-set-variables): Doc fix.
1585
35dc09a1 15862012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1587
1588 * international/mule.el (set-auto-coding-for-load): Doc fix.
1589
35dc09a1 15902012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1591
35dc09a1
GM
1592 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1593 imenu work again for Objective C Mode. Correct the *-index values,
1594 these having been disturbed by a previous change in 2011-08.
57f845ee 1595
0de3da9f
AM
1596 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1597 Correct two search limits.
1598
35dc09a1 15992012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1600
1601 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1602
35dc09a1 16032012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1604
1605 * international/characters.el: Fix sorting.
1606
35dc09a1 16072012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1608
1609 * international/characters.el: Add more missing Latin case pairs.
1610
35dc09a1 16112012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1612
1613 * files.el (dir-locals-set-class-variables): Doc fix.
1614
35dc09a1 16152012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1616
3f1b5bf8
EZ
1617 * international/characters.el: Add set-case-syntax-pair call for
1618 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1619 counterpart. (Bug#11209)
1620
9f847f41
EZ
1621 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1622
35dc09a1 16232012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1624
1625 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1626
35dc09a1 16272012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1628
35dc09a1
GM
1629 * textmodes/ispell.el (ispell-dictionary-base-alist):
1630 Add data for Hebrew.
e2627d21 1631
35dc09a1 16322012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1633
35dc09a1
GM
1634 * net/rcirc.el (rcirc-cmd-quit):
1635 Revert 2012-03-18 change (Bug#11192).
5c14e333 1636
35dc09a1 16372012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1638
1639 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1640
35dc09a1 16412012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1642
4517fe3a
SM
1643 * minibuffer.el (completion-in-region-mode-map):
1644 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1645
b472a594
VD
16462012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1647
1648 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1649
09b95ce3
MY
16502012-04-13 Masatake YAMATO <yamato@redhat.com>
1651
1652 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1653 to allow `C-M-f' and `C-M-b' to move to the nearest path
1654 separator (bug#9511).
1655
4b63a9ca
LI
16562012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1657
1658 * avoid.el: Require cl when compiling. And also move the
1659 `provide' to the end.
1660
7b55b8bf
TV
16612012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1662
1663 * avoid.el (mouse-avoidance-banish-position): New variable.
1664 (mouse-avoidance-banish-destination): Use it (bug#10165).
1665
adedaa1f
LL
16662012-04-13 Leo Liu <sdl.web@gmail.com>
1667
1668 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1669
70e74021
KB
16702012-04-13 Ken Brown <kbrown@cornell.edu>
1671
1672 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1673 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1674 (browse-url-filename-alist): For the same reason, don't modify
1675 file:// URLs on Cygwin.
1676
e75e89ba
SM
16772012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1680 the region on shift if the binding is already shifted (bug#11221).
1681
82f289a4
GM
16822012-04-12 Glenn Morris <rgm@gnu.org>
1683
1684 * mail/mailpost.el: Move to obsolete/.
1685
d333dc4c
DA
16862012-04-12 Drew Adams <drew.adams@oracle.com>
1687
1688 * imenu.el (imenu--generic-function): Ignore invisible definitions
1689 (bug#10123).
1690
0d15b5ba
VD
16912012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1692
1693 * hexl.el (hexl-bits): New variable.
1694 (hexl-options): Mention the variable in the doc string.
75f1671a 1695 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1696 (hexl-mode): Mention the new variable.
75f1671a
JB
1697 (hexl-mode, hexl-current-address, hexl-current-address):
1698 Use the displen.
0d15b5ba
VD
1699 (hexl-ascii-start-column): New function.
1700 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1701 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1702
64a440db
AM
17032012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1704
1705 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1706 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1707 the encoding, as expected by hunspell.
1708
6decb6c2
SM
17092012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * battery.el (battery--linux-sysfs-regexp): New const.
1712 (battery-status-function): Use it. Remove yeeloong special case.
1713 (battery-yeeloong-sysfs): Remove.
1714 (battery-echo-area-format): Remove yeeloong special case.
1715
088be6fb
SM
17162012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1717
6622e416
SM
1718 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1719 Reported by Noah Friedman.
1720
088be6fb
SM
1721 * subr.el (read-passwd): Use read-string.
1722
b49f886e
LMI
17232012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1724
1725 * vcursor.el (vcursor-move): Increase the priority of the overlay
1726 (bug#9663).
1727
a63067fc
DD
17282012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1729
1730 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1731 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1732
ac3cf14a
WS
17332012-04-11 William Stevenson <yhvh2000@gmail.com>
1734
1735 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1736 define-minor-mode (bug#10760).
1737
c4fc691b 17382012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1739
4d6769e1 1740 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1741 that directories matching `grep-find-ignored-files' won't be
1742 pruned (bug#10351).
1743
af23e2e5
CY
17442012-04-11 Chong Yidong <cyd@gnu.org>
1745
1746 * startup.el (command-line): Remove support for long-obsolete
1747 variable font-lock-face-attributes.
1748
ab7ce8c1
GM
17492012-04-11 Glenn Morris <rgm@gnu.org>
1750
1751 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1752
de8c03dc
SM
17532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * window.el (window--state-get-1): Obey window-point-insertion-type.
1756
050cc68b
LB
17572012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1758
1759 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1760 to previous function when point is on the first character of a
75f1671a 1761 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1762
a38c310c
GM
17632012-04-11 Glenn Morris <rgm@gnu.org>
1764
effed0c2
GM
1765 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1766 not just file-errors.
1767
a38c310c
GM
1768 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1769 (vc-bzr-sha1): Use internal sha1.
1770
0221e323
SM
17712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1774
43956923
SG
17752012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1776
1777 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1778 that start in the middle of the line (bug#10496).
1779
6a8c9eaf
DN
17802012-04-10 Dan Nicolaescu <dann@gnu.org>
1781
1782 * battery.el (battery-linux-proc-acpi): Only one battery is
1783 discharged at a time, but that seems to confuse battery.el when
1784 computing `rate-type' for the battery not being discharged
1785 (bug#10332).
1786
1930bf5d
SM
17872012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1788
2a718f6f
SM
1789 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1790
599430d0
SM
1791 * international/quail.el: Use dolist and simplify.
1792 (quail-define-package, quail-update-keyboard-layout)
1793 (quail-define-rules): Use dolist.
1794 (quail-insert-kbd-layout, quail-get-translation): CSE.
1795
a2754b6c
SM
1796 * tmm.el: Use dolist, remove left over hook.
1797 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1798 Use dolist.
1799 (calendar-load-hook): Don't mess with it.
1800
1930bf5d
SM
1801 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1802 Use derived-mode-p. Run the diff asynchronously.
1803
9f67961c
LMI
18042012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1805
1806 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1807
2a8ce227
JB
18082012-04-10 Juanma Barranquero <lekktu@gmail.com>
1809
1810 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1811 (list-dynamic-libraries--loaded): New function.
1812 (list-dynamic-libraries--refresh): Use it.
1813
8f33b5f8
NW
18142012-04-10 Nathan Weizenbaum <nweiz@google.com>
1815
1930bf5d
SM
1816 * progmodes/python.el (python-fill-paragraph):
1817 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1818 disabled (bug#7018).
1819
b12f0439
L
18202012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1821
1930bf5d 1822 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1823 DOS/MS Windows for the Baltic languages. There are still plenty
1824 of texts written in this encoding/codepage (bug#6519).
b12f0439 1825
57c3bd01
GM
18262012-04-10 Glenn Morris <rgm@gnu.org>
1827
1828 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1829 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1830
6c3eab30
FA
18312012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1832
1930bf5d 1833 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1834 next-line "n" and previous-line "p" in order to make recentf more
1835 consistent with ibuffer, dired or org-mode (bug#9387).
1836
24d78a88
LMI
18372012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1838
bc72b5d9
LMI
1839 * image.el (put-image): Return the overlay created instead of the
1840 optional input string (bug#7834). Note that this may break code
1841 that is (for some reason or other) depending on `put-image'
1842 returning the string.
1843
bd2dba5a
LMI
1844 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1845
74beb59f
LMI
1846 * simple.el (zap-to-char): Allow zapping using input methods
1847 (bug#1580).
1848
24d78a88
LMI
1849 * textmodes/fill.el (fill-region): Leave point and mark where they
1850 were before filling (bug#5399).
1851
263f20cd
GM
18522012-04-09 Glenn Morris <rgm@gnu.org>
1853
1854 * version.el (emacs-bzr-get-version):
1855 Handle lightweight checkouts of local branches.
1856
58d1f797
AS
18572012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1858
263f20cd 1859 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1860
b4d3bc10
CY
18612012-04-09 Chong Yidong <cyd@gnu.org>
1862
1863 * custom.el (custom-variable-p): Return nil for non-symbol
1864 arguments instead of signaling an error.
1865 (user-variable-p): Obsolete alias for custom-variable-p.
1866
1867 * apropos.el (apropos-variable):
1868 * files-x.el (read-file-local-variable):
1869 * simple.el (set-variable):
1870 * woman.el (woman-mini-help):
1871 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1872
fd06db5d
GM
18732012-04-09 Glenn Morris <rgm@gnu.org>
1874
e5fcdb5e
GM
1875 * startup.el (normal-top-level): Don't look for leim-list.el
1876 in places where it will not be found. (Bug#910)
1877
fd06db5d
GM
1878 * international/mule-cmds.el (set-default-coding-systems):
1879 * files.el (normal-mode):
1880 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1881 This function was removed with ucs-tables.el in 2008.
1882
b39bb7e1
EZ
18832012-04-08 Eli Zaretskii <eliz@gnu.org>
1884
1885 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1886 ispell-encoding8-command to "-i", without a trailing space.
1887 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1888 separate command-line arguments, to specify the encoding, since
1889 that's how hunspell expects it.
1890
5c5b8e23
GM
18912012-04-08 Glenn Morris <rgm@gnu.org>
1892
1893 * loadup.el: Load bindings before cus-start.
1894 This reduces somewhat the number of "rogue" settings in emacs -Q.
1895
a1ed8b05
GM
18962012-04-07 Glenn Morris <rgm@gnu.org>
1897
1898 * version.el (emacs-bzr-get-version): New function.
dfae128a 1899 (emacs-bzr-version): New variable.
a1ed8b05
GM
1900 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1901 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1902
b142f158
EZ
19032012-04-07 Eli Zaretskii <eliz@gnu.org>
1904
dfae128a
GM
1905 * international/uni-bidi.el, international/uni-category.el:
1906 * international/uni-combining.el, international/uni-decimal.el:
1907 * international/uni-decomposition.el, international/uni-digit.el:
1908 * international/uni-lowercase.el, international/uni-mirrored.el:
1909 * international/uni-name.el, international/uni-numeric.el:
1910 * international/uni-titlecase.el, international/uni-uppercase.el:
1911 Update for Unicode 6.1.
b142f158 1912
9078ead6
EZ
19132012-04-07 Eli Zaretskii <eliz@gnu.org>
1914
1915 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1916
f23d2c7d
LMI
19172012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1918
1919 * window.el (shrink-window): Mention the `window-min-height'
1920 variable in the doc string.
1921
0a0a3573
BG
19222012-04-05 Bastien Guerry <bzg@altern.org>
1923
1924 * color.el (color-lighten-name): Fix typo.
1925
e5248ac9
SM
19262012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1927
1928 * server.el (server--on-display-p): New function.
1929 (server--on-display-p): Use it.
1930
b4243e22
GV
19312012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1932
1933 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1934 (bug#11145).
1935
305d9f44
SM
19362012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * comint.el (comint--common-quoted-suffix): Check string boundary
1939 before comparing (bug#11158).
1940 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1941
3d439cd1
CY
19422012-04-04 Chong Yidong <cyd@gnu.org>
1943
321cc491
CY
1944 * minibuffer.el (completion-extra-properties): Doc fix.
1945
3d439cd1
CY
1946 * subr.el (delayed-warnings-hook): Doc fix.
1947
2d562c0f
DU
19482012-04-04 Daiki Ueno <ueno@unixuser.org>
1949
1950 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1951 selection (Bug#11159).
1952 (epa-insert-keys): Inform that the default public key will be
1953 exported if no key is selected.
1954
4443f204
RS
19552012-04-04 Richard Stallman <rms@gnu.org>
1956
1957 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1958
529c06b6
CY
19592012-04-03 Chong Yidong <cyd@gnu.org>
1960
1961 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1962 mail-insert-file, not its obsolete alias mail-attach-file.
1963
66b907dc
MA
19642012-04-03 Michael Albinus <michael.albinus@gmx.de>
1965
1966 * notifications.el (notifications-notify): Fix docstring.
1967
c0ea195d
GM
19682012-04-02 Glenn Morris <rgm@gnu.org>
1969
1970 * emacs-lisp/authors.el (authors-aliases): Another addition.
1971
5ca64e00
MA
19722012-04-02 Michael Albinus <michael.albinus@gmx.de>
1973
1974 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1975 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1976 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1977
42ee526b
CY
19782012-04-01 Chong Yidong <cyd@gnu.org>
1979
1980 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1981 Handle root directory properly.
1982 (copy-directory): Caller changed.
1983
1984 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1985 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1986
0b021094
GM
19872012-03-31 Glenn Morris <rgm@gnu.org>
1988
40f86458
GM
1989 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1990
7019c177
GM
1991 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1992
a1daddd6
GM
1993 * calendar/calendar.el (calendar-window-list)
1994 (calendar-hide-window): Restore. (Bug#11140)
1995 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1996
0b021094
GM
1997 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1998
40311efc
TV
19992012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2000
2001 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2002 Check if file is a symlink (Bug#10489).
2003
2004 * files.el (copy-directory): Likewise.
2005
5319014e
CY
20062012-03-30 Chong Yidong <cyd@gnu.org>
2007
2008 * image.el (imagemagick-types-inhibit)
2009 (imagemagick-register-types): Doc fix.
2010
935d1290
AM
20112012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2012
ef24141c
SM
2013 * ispell.el (ispell-get-extended-character-mode):
2014 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2015 and treats ~word as ordinary words in pipe mode.
935d1290 2016
61c6e8fd
GM
20172012-03-30 Glenn Morris <rgm@gnu.org>
2018
2019 * tutorial.el (help-with-tutorial): Ensure local variables don't
2020 happen to make the buffer read-only. (Bug#11127)
2021
81fdff00
SM
20222012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2025 (perl-calculate-indent): Return `noindent' in strings.
2026
6e7a6ec0
SS
20272012-03-28 Sam Steingold <sds@gnu.org>
2028
2029 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2030 instead of the broken adhockery which does not prevent calendar
2031 buffers from being displayed at random after exit.
2032 (calendar-window-list, calendar-hide-window): Remove the broken
2033 adhockery.
2034
fee88ca0
GM
20352012-03-28 Glenn Morris <rgm@gnu.org>
2036
2037 * replace.el (query-replace-map): Doc fix.
2038
38de3354
AS
20392012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2040
2041 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2042 contents. (Bug#11109)
2043
b973155e
SM
20442012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2047 (bug#11077).
2048 (avl-tree--check, avl-tree--check-node): New funs.
2049
dcb6e7b3
MR
20502012-03-27 Martin Rudalics <rudalics@gmx.at>
2051
2052 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2053 (switch-to-prev-buffer, switch-to-next-buffer):
2054 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2055 showing a buffer already is done on the same frame.
2056
b4fa35fa
GM
20572012-03-27 Glenn Morris <rgm@gnu.org>
2058
2059 * startup.el (mail-host-address): Doc fix.
2060
f9210e18
SM
20612012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2064 than 197 variables.
2065
c0bf7753
AF
20662012-03-26 Ami Fischman <ami@fischman.org>
2067
2068 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2069
33da7b16
GM
20702012-03-26 Glenn Morris <rgm@gnu.org>
2071
02243d9d
GM
2072 * files.el (save-buffers-kill-emacs): Doc fix.
2073
33da7b16
GM
2074 * startup.el (normal-top-level, command-line, command-line-1):
2075 Give them doc strings.
2076
e5a69fd0
EZ
20772012-03-25 Eli Zaretskii <eliz@gnu.org>
2078
2079 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2080 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2081
9a69676a
CY
20822012-03-25 Chong Yidong <cyd@gnu.org>
2083
4125cb8b
CY
2084 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2085 theme if it was previously enabled before (Bug#11031).
2086
dd470960
CY
2087 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2088 spec with custom-face-get-current-spec if its :shown-value is not
2089 determined yet (Bug#9337).
4125cb8b 2090 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2091
9a69676a
CY
2092 * button.el (button-at): Minor addition to docstring.
2093
6e7e90fa
SL
20942012-03-24 Simon Leinen <simon.leinen@gmail.com>
2095
2096 * vc/vc.el (vc-merge): Fix a prompt.
2097
f06e2758
CY
20982012-03-24 Chong Yidong <cyd@gnu.org>
2099
2100 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2101 point (Bug#9623).
2102
6e7e90fa
SL
2103 * button.el (button-at): Minor addition to docstring.
2104
b9d0879b
SM
21052012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2106
2107 * newcomment.el (comment-choose-indent): No space after BOL.
2108
e71cebb3
SS
21092012-03-22 Sam Steingold <sds@gnu.org>
2110
2111 * window.el (switch-to-prev-buffer): Revert last patch because the
2112 bug turned out to be an advertised feature (Elisp manual 28.14).
2113
335aff35
GM
21142012-03-22 Glenn Morris <rgm@gnu.org>
2115
2116 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2117 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2118
c676576a
LMI
21192012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2120
2121 * net/network-stream.el (network-stream-open-starttls): Make error
2122 message under Windows be less misleading.
2123
126f3d39
LW
21242012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2125
2126 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2127 understands (bug#9942).
2128
64fee311
CY
21292012-03-22 Chong Yidong <cyd@gnu.org>
2130
2131 * simple.el (end-of-visible-line): Handle return value of
2132 next-single-property-change properly (Bug#9371).
2133
a640d29a
KH
21342012-03-22 Kenichi Handa <handa@m17n.org>
2135
2136 * international/quail.el (quail-insert-kbd-layout): Fix previous
2137 change. To avoid unwanted bidi reordering, use
2138 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2139
39675016
DG
21402012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2141
2142 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2143 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2144 (ruby-beginning-of-indent): Be more careful with the difference
2145 between word-boundary and symbol boundary.
2146 (ruby-mode-syntax-table): Make : a symbol constituent.
2147
0a6934fc 21482012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2149
3d008e4f
SM
2150 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2151
0a6934fc
SM
21522012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2153
af67c9d7
SM
2154 * progmodes/etags.el (tags-completion-at-point-function):
2155 Improve last fix.
2156
1acad97c
SM
2157 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2158
e298b5da
SS
21592012-03-21 Sam Steingold <sds@gnu.org>
2160
2161 * progmodes/etags.el (tags-completion-at-point-function):
2162 Avoid the error when point is inside the pattern.
2163
91d82a70
JY
21642012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2165
2166 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2167 line (Bug#10855).
2168
69188b79
CY
21692012-03-21 Drew Adams <drew.adams@oracle.com>
2170
2171 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2172
99fc91fe
AK
21732012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2174
2175 * ido.el (ido-set-current-directory, ido-read-internal)
2176 (ido-choose-completion-string, ido-completion-help): Handle nil
2177 value of ido-completion-buffer (Bug#11008).
2178
087bbb4c
SS
21792012-03-21 Sam Steingold <sds@gnu.org>
2180
2181 * window.el (switch-to-prev-buffer): Do not switch to a visible
2182 window previous buffer, just like with the frame previous buffers.
2183
fb5b8aca
CY
21842012-03-21 Chong Yidong <cyd@gnu.org>
2185
2186 * faces.el (make-face, make-empty-face, copy-face):
2187 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2188 Doc fixes.
2189
dc9924b8
SM
21902012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2193 (widget-complete): Remove broken use of it.
2194
f0bcceb9
CY
21952012-03-20 Chong Yidong <cyd@gnu.org>
2196
dc9924b8
SM
2197 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2198 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2199 characters.
2200
ee52ebf3
TH
22012012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2202
2203 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2204 to draw rectangles, not squares. (Regression introduced by revno
2205 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2206
4c5779ab
CY
22072012-03-18 Chong Yidong <cyd@gnu.org>
2208
2209 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2210 it is not yet defined (for temacs).
2211
15360934
LL
22122012-03-18 Leo Liu <sdl.web@gmail.com>
2213
dc9924b8 2214 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2215
d9a8eb66
EZ
22162012-03-17 Eli Zaretskii <eliz@gnu.org>
2217
2218 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2219 (ispell-choices-win-default-height, ispell-silently-savep)
2220 (ispell-dictionary-alist, ispell-encoding8-command)
2221 (ispell-check-version, ispell-aspell-find-dictionary)
2222 (ispell-valid-dictionary-list, ispell-words-keyword)
2223 (ispell-get-word, ispell-internal-change-dictionary)
2224 (ispell-region, ispell-skip-region-list)
2225 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2226 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2227 (ispell-message-text-end, ispell-message)
2228 (ispell-buffer-local-parsing): Doc fix.
2229
f02ff80d
J
22302012-03-13 Jambunathan K <kjambunathan@gmail.com>
2231
2232 * htmlfontify.el: Add support for code block fontification for ODT
2233 export (Bug #9914).
2234 (hfy-optimisations): Define new option
2235 `body-text-only'
2236 (hfy-fontify-buffer): Honor above setting.
2237 (hfy-begin-span, hfy-end-span): New routines factored out form
2238 `hfy-fontify-buffer'.
2239 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2240 that permit insertion of custom tags.
2241 (hfy-fontify-buffer): Use above handlers.
2242 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2243 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2244 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2245 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2246 bind a special variable `hfy-user-sheet-assoc'.
2247 (htmlfontify-string): New defun.
2248 (hfy-compile-face-map): Make sure that the last char in the
2249 buffer is correctly fontified.
2250 (hfy-face-resolve-face): Whitespace only change.
2251
9ac7a13f
EZ
22522012-03-17 Eli Zaretskii <eliz@gnu.org>
2253
2254 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2255 message more clear.
2256
e2b5bdd7
LL
22572012-03-16 Leo Liu <sdl.web@gmail.com>
2258
2259 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2260
2e492df3
AM
22612012-03-16 Alan Mackenzie <acm@muc.de>
2262
2263 Further optimise the handling of large macros.
2264
2265 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2266 limit to a call of `c-literal-limits'.
2267 (c-determine-+ve-limit): New function.
dc9924b8
SM
2268 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2269 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2270 In CASE 5B, restrict a search limit to 500.
2271 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2272
2273 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2274 Restrict macro bounds to +-500 from after-change's BEG END.
2275
50e94f0c
LL
22762012-03-16 Leo Liu <sdl.web@gmail.com>
2277
2278 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2279
6f09f6ed
AH
22802012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2281
2282 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2283 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2284
c7e73d51
GM
22852012-03-16 Glenn Morris <rgm@gnu.org>
2286
da986230
GM
2287 * view.el (view-buffer, view-buffer-other-window)
2288 (view-buffer-other-frame): Doc fixes re special mode-class.
2289
0835f01e
GM
2290 * subr.el (eval-after-load): If named feature is provided not from
2291 a file, run after-load forms. (Bug#10946)
2292
c7e73d51
GM
2293 * calendar/calendar.el (calendar-insert-at-column):
2294 Handle non-unit-width characters a bit better. (Bug#10978)
2295
3f2eafd1
CY
22962012-03-15 Chong Yidong <cyd@gnu.org>
2297
2298 * emacs-lisp/ring.el (ring-extend): New function.
2299 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2300
2301 * comint.el (comint-read-input-ring)
2302 (comint-add-to-input-history): Grow comint-input-ring lazily.
2303
103af3fe
SM
23042012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2305
663b1677
SM
2306 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2307 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2308
103af3fe
SM
2309 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2310 (imenu-add-to-menubar): Don't add a redundant index.
2311 (imenu-update-menubar): Handle a dynamically composed keymap.
2312
899cb7cb
KY
23132012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2314
2315 * mail/sendmail.el (mail-encode-header):
2316 Bind rfc2047-encode-encoded-words to nil.
2317
3809f91d
GM
23182012-03-13 Glenn Morris <rgm@gnu.org>
2319
2320 * calendar/calendar.el (calendar-string-spread):
2321 Handle non-unit-width characters a bit better. (Bug#10978)
2322
9e345a01
LL
23232012-03-13 Leo Liu <sdl.web@gmail.com>
2324
2325 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2326 directory and file as argument (Bug#10822).
2327
4a07df36
KS
23282012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2329
2330 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2331 For dynamically generated code, follow $PC.
2332 (gdb-disassembly-handler-custom): Handle no function name case.
2333
4aaa9356
TL
23342012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2335
2336 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2337 * emulation/ws-mode.el (ws-query-replace):
2338 * sort.el (sort-regexp-fields):
2339 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2340
225979da
SM
23412012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2342
2343 * dabbrev.el: Fix cycle completion order (bug#10963).
2344 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2345 (dabbrev-completion): Don't use an obarray; provide
2346 a cycle-sort-function.
2347
e2f1fdab
LL
23482012-03-12 Leo Liu <sdl.web@gmail.com>
2349
dc9924b8 2350 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2351 (kill-do-not-save-duplicates): Doc fix.
2352
b19490ed
SM
23532012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * dabbrev.el: Fix cycle completion (bug#10963).
2356 Use lexical binding and wrap to 80 columns.
2357 (dabbrev-completion): Delay computing the list of completions.
2358
4b05d722
KH
23592012-03-12 Kenichi Handa <handa@m17n.org>
2360
2361 * international/quail.el (quail-insert-kbd-layout): Surround each
2362 row by LRO and PDF instead of inserting many LRMs. Pad the left
2363 and right of each non-spacing marks. Insert invisible space
2364 between lower and upper characters to prevent composition.
2365
dbbc2e69
SM
23662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2367
2368 * minibuffer.el (minibuffer-complete): Don't get confused when the
2369 function is run twice via different commands (bug#10958).
2370 (complete-with-action): Fix docstring.
2371
292112ed
CY
23722012-03-12 Chong Yidong <cyd@gnu.org>
2373
5d1ac394
CY
2374 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2375 (nxml-completion-at-point-function): New function.
2376 (nxml-mode): Use it.
2377 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2378
292112ed
CY
2379 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2380 Load generated autoloads file before byte compiling (Bug#10970).
2381 (package--make-autoloads-and-compile): New helper fun.
2382
4098f8f7
CS
23832012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2384
2385 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2386
8f754691
MA
23872012-03-11 Michael Albinus <michael.albinus@gmx.de>
2388
2389 * autorevert.el (auto-revert-handler): Ensure, that
2390 file-readable-p is applied only for local files or in
2391 auto-revert-tail-mode.
2392
e29ab36b
AS
23932012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2394
dbbc2e69
SM
2395 * server.el (server-eval-at): Handle non-tcp connections.
2396 Decode result string.
ad0bf5b6 2397
e29ab36b
AS
2398 * server.el (server-msg-size): New constant.
2399 (server-reply-print): New function.
2400 (server-eval-and-print): Use it.
2401 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2402 Handle -print-nonl.
2403
de5939ba
CS
24042012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2405
2406 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2407 (Bug#10987).
2408
0c93eabf
CY
24092012-03-11 Chong Yidong <cyd@gnu.org>
2410
397a688f
CY
2411 * simple.el (goto-line): Doc fix (Bug#9938).
2412
2cc775f9
CY
2413 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2414
0c93eabf
CY
2415 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2416 when finished (Bug#10963).
2417
c491fa41
MR
24182012-03-11 Martin Rudalics <rudalics@gmx.at>
2419
2420 * window.el (split-window-below): Fix bug in case where
2421 split-window-keep-point is nil (Bug#10971).
2422
300e8fa5
JL
24232012-03-11 Juri Linkov <juri@jurta.org>
2424
2425 * replace.el (replace-highlight): Set isearch-word to nil
2426 unconditionally. (Bug#10887)
2427
dbf6c5a1
EZ
24282012-03-10 Eli Zaretskii <eliz@gnu.org>
2429
2430 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2431 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2432 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2433 (mairix-widget-create-query): Add usage information about mairix
2434 search forms: negating words, searching for substrings, etc.
2435
b9e501de
JP
24362012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2437
2438 * international/fontset.el (font-encoding-alist): Add an entry for
2439 ksx1001 (Bug#5667).
2440
92795c91
RS
24412012-03-10 Richard Stallman <rms@gnu.org>
2442
1694e6c1
RS
2443 * mail/sendmail.el (mail-encode-header):
2444 Set rfc2047-encode-encoded-words.
2445
607e8555
RS
2446 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2447
de3bc99a
RS
2448 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2449 view buffer means not swapped.
2450 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2451 (rmail-write-region-annotate): Error if real text has disappeared.
2452
92795c91
RS
2453 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2454
699bd04e
CY
24552012-03-10 Chong Yidong <cyd@gnu.org>
2456
2457 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2458 * emulation/cua-base.el (cua--init-keymaps):
2459 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2460
570a1714
MR
24612012-03-10 Martin Rudalics <rudalics@gmx.at>
2462
dbbc2e69
SM
2463 * speedbar.el (speedbar-unhighlight-one-tag-line):
2464 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2465
82dcf4e4
CY
24662012-03-10 Chong Yidong <cyd@gnu.org>
2467
7a2c7ca7
CY
2468 * minibuffer.el (completion-in-region, completion-help-at-point):
2469 Give the completion field overlay a high priority (Bug#6830).
2470
82dcf4e4
CY
2471 * dired.el (dired-goto-file): Recognize absolute file name
2472 listings (Bug#7126).
2473 (dired-goto-file-1): New helper function.
2474 (dired-toggle-read-only): Inhibit warnings.
2475
052e28ac
MA
24762012-03-09 Michael Albinus <michael.albinus@gmx.de>
2477
75f1671a 2478 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2479 there are no properties.
2480
95d5e396
LL
24812012-03-09 Leo Liu <sdl.web@gmail.com>
2482
2483 * savehist.el (savehist-printable): Stricter check for string
2484 value (Bug#10937).
2485
3f018d6d
EZ
24862012-03-09 Eli Zaretskii <eliz@gnu.org>
2487
dbbc2e69
SM
2488 * mail/smtpmail.el (smtpmail-send-it):
2489 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2490 valid mbox format.
2491
f7fd3d79
GM
24922012-03-09 Glenn Morris <rgm@gnu.org>
2493
2494 * files.el (dir-locals-find-file):
2495 Don't check result is regular, readable.
2496 (dir-locals-read-from-file): Demote errors.
2497
6ff6e72f
EZ
24982012-03-08 Eli Zaretskii <eliz@gnu.org>
2499
dbbc2e69
SM
2500 * international/quail.el (quail-insert-kbd-layout):
2501 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2502 layout cell, to prevent their reordering by bidi display engine.
2503 For details, see the discussion in
2504 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2505
9cec7834
AM
25062012-03-08 Alan Mackenzie <acm@muc.de>
2507
2508 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2509 the starting position; make it extend the marked region when
2510 invoked repeatedly - all under appropriate circumstances.
2511 Fixes bugs #5525, #10906.
2512
9a40b8d4
GM
25132012-03-08 Glenn Morris <rgm@gnu.org>
2514
2515 * files.el (locate-dominating-file, dir-locals-find-file):
2516 Undo 2012-03-06 change.
2517
7a08ed35
EZ
25182012-03-07 Eli Zaretskii <eliz@gnu.org>
2519
dbbc2e69
SM
2520 * international/quail.el (quail-help):
2521 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2522 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2523 for the reason.
2524
5aca4f71 25252012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2526
2527 Avoid superfluous registering of signals. (Bug#10807)
2528
2529 * notifications.el (notifications-on-action-object)
2530 (notifications-on-close-object): New defvars.
2531 (notifications-on-action-signal, notifications-on-closed-signal):
2532 Unregister the signal if not needed any longer.
2533 (notifications-notify): Register `notifications-action-signal' or
2534 `notifications-closed-signal', if :on-action or :on-close has been
2535 passed as argument.
2536
78e8b10a
CY
25372012-03-07 Chong Yidong <cyd@gnu.org>
2538
2539 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2540 non-X platforms.
2541
69481eb8
GM
25422012-03-06 Glenn Morris <rgm@gnu.org>
2543
2544 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2545 (x-disown-selection-internal, x-get-selection-internal):
2546 Doc fix (add arglist signatures). (Bug#10783)
2547
133b8e11
KS
25482012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2549
2550 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2551 Handle breakpoints with no "type".
2552
99a83064
GM
25532012-03-06 Glenn Morris <rgm@gnu.org>
2554
2555 * files.el (locate-dominating-file): Add optional predicate argument.
2556 (dir-locals-find-file): Make use of above change.
2557
17798e78
TTN
25582012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2559
2560 * info.el (Info-insert-dir): Also try "dir.gz".
2561
eb182446
GM
25622012-03-06 Glenn Morris <rgm@gnu.org>
2563
8f2114ee
GM
2564 * files.el (dir-locals-find-file):
2565 Ignore non-readable or non-regular files. (Bug#10928)
2566
eb182446
GM
2567 * files.el (locate-dominating-file): Doc fix.
2568
24679323
AS
25692012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2570
2571 * calendar/calendar.el (calendar-set-mode-line):
2572 `getenv' returns a string. (Bug#10951)
2573
01d972a9
LL
25742012-03-05 Leo Liu <sdl.web@gmail.com>
2575
109aa8a9
LL
2576 * simple.el (backward-delete-char-untabify): Constrain point to
2577 field (Bug#10939).
2578
01d972a9
LL
2579 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2580
10607bea
CY
25812012-03-05 Chong Yidong <cyd@gnu.org>
2582
2583 * simple.el (count-words): If called from Lisp, return the word
2584 count, for symmetry with `count-lines'. Arglist changed.
2585 (count-words--message): Args changed. Consolidate counting code
2586 from count-words and count-words-region.
2587 (count-words-region): Caller changed.
2588 (count-lines-region): Make it an obsolete alias.
2589
5dd11cfe
TH
25902012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2591
2592 * saveplace.el (save-place-to-alist)
2593 (save-place-ignore-files-regexp): Allow value nil to disable this
2594 feature.
2595
c349f4e6
CY
25962012-03-04 Chong Yidong <cyd@gnu.org>
2597
2598 * faces.el (face-spec-reset-face): For the default face, reset the
2599 attributes to default values (Bug#10748).
2600
e627be4c
LMI
26012012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2602
2603 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2604 previous patch: Check `message-send-mail-function', and not the
2605 default function (bug#10897).
2606
ebeabff4
MA
26072012-03-04 Michael Albinus <michael.albinus@gmx.de>
2608
a41a6cf4
MA
2609 * notifications.el (notifications-on-action-signal)
2610 (notifications-on-closed-signal): Check for unique service name of
2611 incoming event. Fix error in removing entry.
ebeabff4 2612 (top): Register for signals with wildcard service name.
a41a6cf4 2613 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2614
c1ca42b4
CY
26152012-03-04 Chong Yidong <cyd@gnu.org>
2616
dc9924b8 2617 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2618
ea16568d
GM
26192012-03-04 Glenn Morris <rgm@gnu.org>
2620
2621 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2622 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2623 (expand-abbrev, define-abbrev-table): Doc fixes.
2624
fbae4637
LMI
26252012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2626
2627 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2628 `message-default-send-mail-function' and not `send-mail-function'
2629 when doing the prompting for `sendmail-query-once' before sending
2630 in Message buffers (bug#10897).
2631
a1e7225c
LMI
2632 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2633 This is inconsistent with all the other stream functions, which leave
2634 the setting up to the higher levels (if so wanted) (bug#10931).
2635
56d093a9
AM
26362012-03-02 Alan Mackenzie <acm@muc.de>
2637
2638 Depessimize the handling of very large macros.
2639
2640 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2641 (c-macro-cache-syntactic): New variables to implement a one
2642 element macro cache.
2643 (c-invalidate-macro-cache): New function.
2644 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2645 Adapt to use the new cache.
2646 (c-state-safe-place): Use better the cache of safe positions.
2647 (c-state-semi-nonlit-pos-cache)
2648 (c-state-semi-nonlit-pos-cache-limit):
2649 New variables for...
2650 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2651 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2652 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2653 Use c-state-semi-safe-place.
56d093a9 2654
dbbc2e69
SM
2655 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2656 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2657
817e5c3d
MA
26582012-03-02 Michael Albinus <michael.albinus@gmx.de>
2659
dbbc2e69
SM
2660 * jka-compr.el (jka-compr-call-process):
2661 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2662 not remote.
2663
a032a702
MA
26642012-03-01 Michael Albinus <michael.albinus@gmx.de>
2665
2666 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2667 access of FILE2, if FILE1 does not exist.
2668
99a54f21
MA
2669 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2670 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2671
2672 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2673 Add "PAGER=" to `process-environment'.
2674
f6561e1f
MM
26752012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2676
2677 * progmodes/sql.el: Bug fix
2678 (sql-get-login-ext): Save login values in globals.
2679 (sql-get-login): Use new version of `sql-get-login-ext'.
2680 (sql-interactive-mode): Set global `sql-connection' to nil.
2681 (sql-connect): Set global values for connection.
2682 (sql-product-interactive): Save global values as buffer local.
2683
2d44d9cc
LL
26842012-02-29 Leo Liu <sdl.web@gmail.com>
2685
2686 * abbrev.el (define-abbrevs): Reset sys to nil.
2687
96b49301 26882012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2689
bf7f9bc5
JB
2690 * files.el (file-equal-p): Rename from `files-equal-p'.
2691 Return nil when one or both files don't exist.
96b49301 2692 (file-subdir-of-p): Now only top directory must exists,
2693 return nil if it doesn't.
bf7f9bc5
JB
2694 (copy-directory): No need to test with `file-subdir-of-p' after
2695 creating dir.
2696 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2697 to `file-equal-p'.
96b49301 2698
44e97401
GM
26992012-02-28 Glenn Morris <rgm@gnu.org>
2700
2701 * shell.el (shell-mode):
2702 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2703 * play/landmark.el (landmark-font-lock-face-O):
2704 * play/handwrite.el (handwrite):
2705 * play/gomoku.el (gomoku-O):
2706 * net/browse-url.el (browse-url-browser-display):
2707 * international/mule.el (define-charset):
2708 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2709 * filesets.el (filesets-find-file-delay):
2710 * eshell/em-xtra.el (eshell-xtra):
2711 * eshell/em-unix.el (eshell-grep):
2712 * emulation/viper.el (viper-mode):
2713 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2714 * emacs-lisp/easymenu.el (easy-menu-define):
2715 * calendar/timeclock.el (timeclock-use-display-time):
2716 * bs.el (bs-mode):
2717 * bookmark.el (bookmark-save-flag):
2718 Doc fix (standardize possessive apostrophe usage).
2719
c98c6276
CY
27202012-02-27 Chong Yidong <cyd@gnu.org>
2721
bf7f9bc5
JB
2722 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2723 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2724
c98c6276
CY
2725 * font-lock.el (font-lock-specified-p): Rename from
2726 font-lock-spec-present. Callers changed.
2727
9c62cd04 27282012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2729
bf7f9bc5
JB
2730 * emacs-lisp/package.el (package-compute-transaction):
2731 Handle holding a package version to t in package-load-list.
8ac9e529 2732
530739c9
MA
27332012-02-26 Michael Albinus <michael.albinus@gmx.de>
2734
2735 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2736 (tramp-get-inode, tramp-get-device): Use cached values.
2737
487915d7
AM
27382012-02-26 Alan Mackenzie <acm@muc.de>
2739
2740 Check there is a font-lock specification before doing initial
2741 fontification.
2742
2743 * font-core.el (font-lock-mode): Move the conditional from
2744 :after-hook to font-lock-initial-fontify.
2745 (font-lock-default-function): Move the check for a specification
2746 to font-lock-spec-present.
2747
dc9924b8 2748 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2749 (font-lock-spec-present): New function.
2750
4fd96557
JB
27512012-02-26 Jim Blandy <jimb@red-bean.com>
2752
2753 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2754 (gdb-send): Apply it to the operand of the '-interpreter-exec
2755 console' command, so that we can pass arguments with (say) quotes
2756 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2757
9a4888c0
CY
27582012-02-26 Chong Yidong <cyd@gnu.org>
2759
07498861
CY
2760 * help-fns.el (describe-function-1): Clarify description of
2761 remapping (Bug#10844).
2762
9a4888c0
CY
2763 * files.el (files-equal-p): Doc fix.
2764 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2765 and quit the loop once a mismatch is found.
2766
ea8fb88d
JB
27672012-02-25 Juanma Barranquero <lekktu@gmail.com>
2768
2769 * bs.el (bs--show-with-configuration): Don't throw an error
2770 if the window cannot be split; otherwise, subsequent calls to
2771 bs-show fail, restoring a stale window config. (Bug#10882)
2772
525795c1
JD
27732012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2774
2775 * term/ns-win.el (global-map): Bind ns-drag-file to
2776 ns-find-file (Bug#5855, Bug#10050).
2777
f008086f
AS
27782012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2779
2780 * calendar/parse-time.el (parse-time-string): Allow extractor to
2781 return nil.
2782
a3fcfa99
MA
27832012-02-25 Michael Albinus <michael.albinus@gmx.de>
2784
91027d08
JB
2785 * net/tramp.el (tramp-file-name-for-operation):
2786 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2787
2788 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2789 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2790 Add COPY-CONTENTS argument.
a3fcfa99 2791
67b0de11
CY
27922012-02-25 Chong Yidong <cyd@gnu.org>
2793
2794 Add custom groups for VC backends, for consistency with vc-bzr.
2795
2796 * vc/vc-arch.el (vc-arch):
2797 * vc/vc-cvs.el (vc-cvs):
2798 * vc/vc-git.el (vc-git):
2799 * vc/vc-hg.el (vc-hg):
2800 * vc/vc-mtn.el (vc-mtn):
2801 * vc/vc-rcs.el (vc-rcs):
2802 * vc/vc-sccs.el (vc-sccs):
2803 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2804 All relevant defcustoms reassigned.
2805
3c9dfce6
CY
28062012-02-25 Chong Yidong <cyd@gnu.org>
2807
1339bf43
CY
2808 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2809
3c9dfce6
CY
2810 * term/x-win.el (x-initialize-window-system): Reduce default for
2811 x-selection-timeout to 5 seconds (Bug#8869).
2812
25b2e303 28132012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2814
ec70a47d
GM
2815 * files.el (files-equal-p, file-subdir-of-p): New functions.
2816 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2817 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2818 * dired-aux.el (dired-copy-file-recursive): Same.
2819 (dired-create-files): Modify destination when source is equal to
2820 dest when copying files.
53a46cd0 2821 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2822
914260cd
MA
28232012-02-24 Michael Albinus <michael.albinus@gmx.de>
2824
2825 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2826 (Bug#10874)
2827
2cb228f7
AM
28282012-02-23 Alan Mackenzie <acm@muc.de>
2829
2830 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2831 parameter "after-hook:" to allow the expansion to run code after
2832 the execution of the mode hooks.
2833
2834 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2835 from font-lock-mode-internal.
2cb228f7 2836
91027d08 2837 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2838 :after-hook.
2839
8f0fde21
SM
28402012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2841
3e88618b
SM
2842 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2843 (completion--cache-all-sorted-completions): New function.
2844 (completion-all-sorted-completions): Use it.
2845 (completion--do-completion, minibuffer-force-complete):
2846 Use it to re-instate the flush hook.
2847
8f0fde21
SM
2848 * icomplete.el (icomplete-completions): Replace last fix with a better
2849 one (bug#10850).
2850
8e911f6f
DG
28512012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2852
2853 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2854 when it might call us back infinitely (bug#10797).
2855
49fe4321
GM
28562012-02-23 Glenn Morris <rgm@gnu.org>
2857
2858 * minibuffer.el (completion-category-overrides): Doc fix.
2859
b291b572
SM
28602012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2863 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2864
31a9ef2e
GM
28652012-02-23 Glenn Morris <rgm@gnu.org>
2866
5e6e6794 2867 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2868 (authors-obsolete-files-regexps, authors-ignored-files)
2869 (authors-ambiguous-files, authors-renamed-files-alist):
2870 Add more entries.
2871
0bd1e074
JL
28722012-02-23 Juri Linkov <juri@jurta.org>
2873
2874 * isearch.el (isearch-occur): Sync interactive spec with occur's
2875 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2876
b617673c
JL
2877 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2878
19e9789e
JL
28792012-02-22 Juri Linkov <juri@jurta.org>
2880
2881 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2882 (ucs-insert): Doc fix. Check for hex digits in the string.
2883 Don't display `nil' in the error message. (Bug#10857)
2884
f41ce09d
AM
28852012-02-22 Alan Mackenzie <acm@muc.de>
2886
7a71b18d 2887 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2888
ac2eceee
GM
28892012-02-22 Glenn Morris <rgm@gnu.org>
2890
2891 * ffap.el (ffap-c-path):
2892 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2893
abd1f678
CY
28942012-02-22 Chong Yidong <cyd@gnu.org>
2895
2896 * custom.el (load-theme): Doc fix.
2897
f25aef2e
GM
28982012-02-22 Glenn Morris <rgm@gnu.org>
2899
2900 * dired-x.el (dired-guess-shell-alist-default):
2901 Remove escape sequences from nroff output. (Bug#172)
2902
5f8dc2ca
GM
29032012-02-21 Glenn Morris <rgm@gnu.org>
2904
6ff86ec4
GM
2905 * vc/emerge.el (emerge-defvar-local):
2906 Set `permanent-local' property rather than unused `preserved'.
2907
be3223a3 2908 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2909 (picture-mode-map): Use it. (Bug#10860)
2910 (picture-mode): Doc fix.
2911
3fe58f4f
JB
29122012-02-21 Juanma Barranquero <lekktu@gmail.com>
2913
2914 * newcomment.el (uncomment-region-default): Remove unused binding.
2915
f9a998c3
GM
29162012-02-21 Glenn Morris <rgm@gnu.org>
2917
2918 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2919 (picture-self-insert, picture-tab-chars): Doc fix.
2920 (picture-mode-map): Fix C-a, C-e.
2921
c6029348
GM
29222012-02-20 Glenn Morris <rgm@gnu.org>
2923
2924 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2925
ab1ce9d7
LL
29262012-02-20 Leo Liu <sdl.web@gmail.com>
2927
2928 * icomplete.el (icomplete-completions): Check FROM arg before
2929 passing to substring (Bug#10850).
2930
0fd40f89
CY
29312012-02-19 Chong Yidong <cyd@gnu.org>
2932
2933 * comint.el: Require ansi-color.
2934 (comint-output-filter-functions): Add ansi-color-process-output.
2935
2936 * ansi-color.el: Don't set comint-output-filter-functions; it is
2937 now in the initial value defined in comint.el.
2938 (ansi-color-apply-face-function): New variable.
2939 (ansi-color-apply-on-region): Use it.
2940 (ansi-color-apply-overlay-face): New function.
2941
2942 * shell.el (shell): No need to require ansi-color.
2943 (shell-mode): Use ansi-color-apply-face-function to highlight
2944 color escapes using font-lock-face property (Bug#10835).
2945
20af2394
CY
29462012-02-19 Chong Yidong <cyd@gnu.org>
2947
2948 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2949 mode-line formats (Bug#10839).
2950
e23a3fbe
GM
29512012-02-18 Glenn Morris <rgm@gnu.org>
2952
b474519e
GM
2953 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2954
2955 * mail/undigest.el (unforward-rmail-message): Doc fix.
2956
e23a3fbe
GM
2957 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2958
57939ff4
EZ
29592012-02-18 Eli Zaretskii <eliz@gnu.org>
2960
2961 * international/characters.el (script-list): Sync with the latest
2962 Unicode Character Database.
2963
0c23686e
AS
29642012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2965
2966 * international/titdic-cnv.el: Remove duplicate coding tag.
2967 * language/cham.el: Likewise.
2968 * language/tai-viet.el: Likewise.
2969
6818b449
GM
29702012-02-18 Glenn Morris <rgm@gnu.org>
2971
2972 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2973 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2974 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2975 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2976 * calendar/holidays.el (holiday-bahai-holidays)
2977 (calendar-holidays, list-holidays):
2978 Use utf-8 Bahá'í in doc-strings, menus, etc.
2979
0311a3fc
TH
29802012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2981
2982 * saveplace.el (save-place-ignore-files-regexp): New variable
2983 allowing for excluding files from saving their location of point.
2984 The default value matches the temporary commit message editing
2985 files from Git, SVN, Bazaar, and Mercurial.
2986 (save-place-to-alist): Use it.
2987
eb864a71
LM
29882012-02-17 Lawrence Mitchell <wence@gmx.li>
2989 Stefan Monnier <monnier@iro.umontreal.ca>
2990
2991 * newcomment.el (uncomment-region-default): Don't leave extra space
2992 when an arg is provided (bug#8150).
2993
ee0ce425
TZ
29942012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2995
eb864a71 2996 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2997
95ddf442
GM
29982012-02-17 Glenn Morris <rgm@gnu.org>
2999
3000 * net/socks.el: Require network-stream. (Bug#10599)
3001
48dd1e39 30022012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3003
3004 * international/charprop.el:
3005 * international/uni-name.el:
3006 * international/uni-old-name.el:
3007 * international/uni-comment.el: Regenerate.
3008
d68cd087
GM
30092012-02-16 Glenn Morris <rgm@gnu.org>
3010
3011 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3012 Interactively in calendar buffer, give an error if not on a date.
3013
13932042
GM
30142012-02-15 Glenn Morris <rgm@gnu.org>
3015
3016 * shell.el (shell-delimiter-argument-list):
3017 Revert 2011-02-17 change. (Bug#8027)
3018
c3a70e2b
CY
30192012-02-15 Chong Yidong <cyd@gnu.org>
3020
60236b0d
CY
3021 * minibuffer.el (completion-at-point-functions): Doc fix.
3022
c3a70e2b
CY
3023 * custom.el (defcustom): Doc fix; note use of defvar.
3024
9f26dc24
GM
30252012-02-15 Glenn Morris <rgm@gnu.org>
3026
3027 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3028 Doc fixes.
3029
6546b134
GM
30302012-02-14 Glenn Morris <rgm@gnu.org>
3031
3032 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3033
d29b2b4c
LI
30342012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3035
3036 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3037 way the ports list is computed.
835bdcba
LI
3038 (smtpmail-query-smtp-server): Prompt the user for a port number if
3039 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3040
08dcdbc9
TZ
30412012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3042
3043 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3044
2605051a
GM
30452012-02-13 Glenn Morris <rgm@gnu.org>
3046
3047 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3048
7ee99f32
TZ
30492012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3050
3051 * net/gnutls.el (gnutls-trustfiles): New variable.
3052 (gnutls-negotiate): Use it.
3053
5f0af64f
LI
30542012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3055
3056 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3057 does its stuff if Gnus is running.
3058
c14fcc95
AM
30592012-02-13 Alan Mackenzie <acm@muc.de>
3060
3061 Fix a loop in c-set-fl-decl-start.
3062
7a71b18d 3063 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3064 c-backward-syntactic-ws actually moves backwards.
3065
142b4d90
LL
30662012-02-13 Leo Liu <sdl.web@gmail.com>
3067
3068 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3069 beginning so that all \C-o chars are removed.
3070
fa9958a6
TZ
30712012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3072
dc9924b8 3073 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3074
0bc5886a
AM
30752012-02-12 Alan Mackenzie <acm@muc.de>
3076
3077 Fix infinite loop with long macros.
4d6769e1 3078 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3079
d4bd55e7
CY
30802012-02-12 Chong Yidong <cyd@gnu.org>
3081
3082 * window.el (display-buffer): Doc fix (Bug#10785).
3083
66f3fe22
GM
30842012-02-12 Glenn Morris <rgm@gnu.org>
3085
bd7da63e
GM
3086 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3087 (x-disown-selection-internal, x-get-selection-internal):
3088 Sync docs with the xselect.c versions.
3089
66f3fe22
GM
3090 * allout-widgets.el: Add missing license notice.
3091
3e0d2fa7
GM
30922012-02-11 Glenn Morris <rgm@gnu.org>
3093
cfecdf09
GM
3094 * select.el (x-get-selection-internal, x-own-selection-internal)
3095 (x-disown-selection-internal):
3096 * x-dnd.el (x-get-selection-internal): Update declarations.
3097
6d216d7f
GM
3098 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3099
2bed3f04
GM
3100 * window.el (window-sides-slots):
3101 * tool-bar.el (tool-bar-position):
3102 * term/xterm.el (xterm-extra-capabilities):
3103 * ses.el (ses-self-reference-early-detection):
3104 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3105 (verilog-auto-wire-type)
3106 (verilog-auto-delete-trailing-whitespace)
3107 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3108 (verilog-auto-tieoff-declaration):
3109 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3110 (sql-oracle-statement-starters, sql-oracle-scan-on):
3111 * progmodes/prolog.el (prolog-align-comments-flag)
3112 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3113 (prolog-left-indent-regexp, prolog-paren-indent-p)
3114 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3115 (prolog-types, prolog-mode-specificators)
3116 (prolog-determinism-specificators, prolog-directives)
3117 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3118 (prolog-electric-dot-flag)
3119 (prolog-electric-dot-full-predicate-template)
3120 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3121 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3122 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3123 (prolog-program-switches, prolog-prompt-regexp)
3124 (prolog-debug-on-string, prolog-debug-off-string)
3125 (prolog-trace-on-string, prolog-trace-off-string)
3126 (prolog-zip-on-string, prolog-zip-off-string)
3127 (prolog-use-standard-consult-compile-method-flag)
3128 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3129 (prolog-imenu-max-lines, prolog-info-predicate-index)
3130 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3131 (prolog-char-quote-workaround):
3132 * progmodes/cc-vars.el (c-defun-tactic):
3133 * net/tramp.el (tramp-encoding-command-interactive)
3134 (tramp-local-end-of-line):
3135 * net/soap-client.el (soap-client):
3136 * net/netrc.el (netrc-file):
3137 * net/gnutls.el (gnutls):
3138 * minibuffer.el (completion-category-overrides)
3139 (completion-cycle-threshold)
3140 (completion-pcm-complete-word-inserts-delimiters):
3141 * man.el (Man-name-local-regexp):
3142 * mail/feedmail.el (feedmail-display-full-frame):
3143 * international/characters.el (glyphless-char-display-control):
3144 * eshell/em-ls.el (eshell-ls-date-format):
3145 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3146 (lisp-lambda-list-keyword-parameter-indentation)
3147 (lisp-lambda-list-keyword-parameter-alignment):
3148 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3149 * dired-x.el (dired-omit-verbose):
3150 * cus-theme.el (custom-theme-allow-multiple-selections):
3151 * calc/calc.el (calc-highlight-selections-with-faces)
3152 (calc-lu-field-reference, calc-lu-power-reference)
3153 (calc-note-threshold):
3154 * battery.el (battery-mode-line-limit):
3155 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3156 (archive-7z-update):
3157 * allout.el (allout-prefixed-keybindings)
3158 (allout-unprefixed-keybindings)
3159 (allout-inhibit-auto-fill-on-headline)
3160 (allout-flattened-numbering-abbreviation):
3161 * allout-widgets.el (allout-widgets-auto-activation)
3162 (allout-widgets-icons-dark-subdir)
3163 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3164 (allout-widgets-theme-dark-background)
3165 (allout-widgets-theme-light-background)
3166 (allout-widgets-item-image-properties-emacs)
3167 (allout-widgets-item-image-properties-xemacs)
3168 (allout-widgets-run-unit-tests-on-load)
3169 (allout-widgets-time-decoration-activity)
3170 (allout-widgets-hook-error-post-time)
3171 (allout-widgets-track-decoration):
3172 Add missing :version tags to new defcustoms and defgroups.
3173
5fec1b8e
GM
3174 * progmodes/sql.el (sql-ansi-statement-starters)
3175 (sql-oracle-statement-starters): Add custom type.
3176
3e0d2fa7
GM
3177 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3178 (prolog-system-version): Give it a type.
3179
90b671e2
EZ
31802012-02-11 Eli Zaretskii <eliz@gnu.org>
3181
3182 * term/pc-win.el (x-select-text, x-selection-owner-p)
3183 (x-own-selection-internal, x-disown-selection-internal)
3184 (x-get-selection-internal): Sync doc strings and argument lists
3185 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3186
5eac0c02
LL
31872012-02-11 Leo Liu <sdl.web@gmail.com>
3188
3189 * progmodes/python.el (python-end-of-statement): Fix infinite
3190 loop. (Bug#10788)
3191
f82cb659
GM
31922012-02-10 Glenn Morris <rgm@gnu.org>
3193
3194 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3195 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3196
cc26d239
LI
31972012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3198
3199 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3200 about SMTP before checking the From header.
3201
91027d08 3202 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3203 into own function for reuse by emacsbug.el.
3204
1be3ca5a
LL
32052012-02-10 Leo Liu <sdl.web@gmail.com>
3206
3207 * subr.el (condition-case-unless-debug): Rename from
3208 condition-case-no-debug. All callers changed.
3209 (with-demoted-errors): Fix caller.
3210
3211 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3212 * nxml/rng-valid.el (rng-do-some-validation):
3213 * emacs-lisp/package.el (package-refresh-contents)
3214 (package-menu-execute):
3215 * desktop.el (desktop-create-buffer):
91027d08 3216 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3217
b011fbfe
GM
32182012-02-10 Glenn Morris <rgm@gnu.org>
3219
b2096d72
GM
3220 * textmodes/bibtex.el:
3221 Add missing :version tags for new/changed defcustoms.
3222
b011fbfe
GM
3223 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3224
4c7e65bf
LI
32252012-02-09 Lars Ingebrigtsen <larsi@rusty>
3226
3227 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3228 (smtpmail-via-smtp): Use it, or fall back on the From address.
3229 (smtpmail-send-it): Ditto.
3230
f3934f6f
SM
32312012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3234 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3235 (byte-compile-tmp-var): New const.
3236 (byte-compile-defvar): Use it to minimize .elc size.
3237 Just use `defvar' rather than simulate it (bug#10761).
3238
a075a2c5
GM
32392012-02-09 Glenn Morris <rgm@gnu.org>
3240
cf3aa21b
GM
3241 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3242
354998cd
GM
3243 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3244 Add :version tags.
3245
dc9924b8
SM
3246 * progmodes/compile.el (compilation-error-screen-columns)
3247 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3248
dab3703d
GM
3249 * vc/log-view.el (log-view-toggle-entry-display):
3250 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3251
3f88cd72
GM
3252 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3253 (report-emacs-bug-can-use-xdg-email):
3254 (report-emacs-bug-insert-to-mailer): Doc fixes.
3255 (report-emacs-bug): Message fix.
3256
d95b247d
GM
3257 * net/browse-url.el (browse-url-can-use-xdg-open)
3258 (browse-url-xdg-open): Doc fixes.
3259
a075a2c5
GM
3260 * electric.el (electric-indent-mode, electric-pair-mode)
3261 (electric-layout-rules, electric-layout-mode): Doc fixes.
3262 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3263
ffb6157e
MR
32642012-02-08 Martin Rudalics <rudalics@gmx.at>
3265
3266 * server.el (server-unselect-display): Don't inadvertently kill
3267 the current buffer. (Bug#10729)
3268
e1ac4066
GM
32692012-02-08 Glenn Morris <rgm@gnu.org>
3270
34e8a2da
GM
3271 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3272 (sql-list-table): Doc fixes.
3273
b4ac6e8c
GM
3274 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3275 Comment out (does nothing).
3276
e1ac4066
GM
3277 * completion.el (dynamic-completion-mode):
3278 * dirtrack.el (dirtrack-debug-mode):
3279 * electric.el (electric-layout-mode):
3280 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3281 * face-remap.el (text-scale-mode, buffer-face-mode):
3282 * iimage.el (iimage-mode):
3283 * image-mode.el (image-transform-mode):
3284 * minibuffer.el (completion-in-region-mode):
3285 * scroll-lock.el (scroll-lock-mode):
3286 * simple.el (next-error-follow-minor-mode):
3287 * tar-mode.el (tar-subfile-mode):
3288 * tooltip.el (tooltip-mode):
3289 * vcursor.el (vcursor-use-vcursor-map):
3290 * wid-browse.el (widget-minor-mode):
3291 * emulation/tpu-edt.el (tpu-edt-mode):
3292 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3293 * international/iso-ascii.el (iso-ascii-mode):
3294 * language/thai-util.el (thai-word-mode):
3295 * mail/supercite.el (sc-minor-mode):
3296 * net/goto-addr.el (goto-address-mode):
3297 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3298 * progmodes/cwarn.el (cwarn-mode):
3299 * progmodes/flymake.el (flymake-mode):
3300 * progmodes/glasses.el (glasses-mode):
3301 * progmodes/hideshow.el (hs-minor-mode):
3302 * progmodes/pascal.el (pascal-outline-mode):
3303 * textmodes/enriched.el (enriched-mode):
3304 * vc/smerge-mode.el (smerge-mode):
3305 Doc fixes (minor mode argument).
3306
5e0d957f
EZ
33072012-02-07 Eli Zaretskii <eliz@gnu.org>
3308
3309 * ls-lisp.el (ls-lisp-sanitize): New function.
3310 (ls-lisp-insert-directory): Use it to fix or remove any elements
3311 in file-alist with missing attributes. (Bug#4673)
3312
98d7371e
AM
33132012-02-07 Alan Mackenzie <acm@muc.de>
3314
3315 Fix spurious recognition of c-in-knr-argdecl.
3316
3317 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3318 putative K&R region.
3319
667ced3a
AM
33202012-02-07 Alan Mackenzie <acm@muc.de>
3321
eb864a71
LM
3322 * progmodes/cc-engine.el (c-forward-objc-directive):
3323 Prevent looping in "#pragma mark @implementation".
667ced3a 3324
5b77774d
MA
33252012-02-07 Michael Albinus <michael.albinus@gmx.de>
3326
3327 * notifications.el (notifications-on-closed-signal): Make `reason'
3328 optional. (Bug#10744)
3329
af008560
GM
33302012-02-07 Glenn Morris <rgm@gnu.org>
3331
60d47423
GM
3332 * emacs-lisp/easy-mmode.el (define-minor-mode):
3333 Doc fixes for the macro and the mode it defines.
3334
dd605cc4
GM
3335 * image.el (imagemagick-types-inhibit): Doc fix.
3336
af008560
GM
3337 * cus-start.el (imagemagick-render-type): Add it.
3338
5cc59a37
LI
33392012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3340
4d6769e1
JB
3341 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3342 Set the default at load time, too, so that `font-lock-fontify-buffer'
3343 can be called without setting up the entire mode first. This fixes
3344 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3345
9a6dd747
CY
33462012-02-06 Chong Yidong <cyd@gnu.org>
3347
2d16b285
CY
3348 * simple.el (list-processes--refresh): Delete exited processes
3349 (Bug#8094).
3350
171e9b6e
CY
3351 * comint.el (comint-next-prompt): next-single-char-property-change
3352 and prev-single-char-property-change never return nil (Bug#8657).
3353
9a6dd747
CY
3354 * custom.el (defcustom): Doc fix (Bug#9711).
3355
aa4589a7
CY
33562012-02-05 Chong Yidong <cyd@gnu.org>
3357
5c2a252f
CY
3358 * cus-edit.el (custom-variable-reset-backup): Quote the value
3359 before storing it in the customized-value property (Bug#6712).
4aab9006 3360 (custom-display): Add a customization type tag.
983b9602 3361 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3362
aa4589a7
CY
3363 * wid-edit.el (widget-field-value-get): New optional arg to
3364 suppress trailing whitespace truncation.
3365 (character): Use it (Bug#2689).
3366
1ff980ae
AS
33672012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3368
3369 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3370 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3371
03988c98
CY
33722012-02-05 Chong Yidong <cyd@gnu.org>
3373
eeb6cc88
CY
3374 * cus-edit.el (custom-variable-value-create): For mismatched
3375 types, show the current value (Bug#7600).
3376
03988c98
CY
3377 * custom.el (defcustom): Doc fix.
3378
f8cdeef0
GM
33792012-02-05 Glenn Morris <rgm@gnu.org>
3380
3381 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3382
0696d255
JB
33832012-02-05 Juanma Barranquero <lekktu@gmail.com>
3384
3385 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3386 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3387 (pp-last-sexp): Use `looking-at-p'.
3388
34c99998
GM
33892012-02-04 Glenn Morris <rgm@gnu.org>
3390
8f05da42
GM
3391 * files.el (revert-buffer):
3392 Doc fix (mention revert-buffer-in-progress-p).
3393
f160676e
GM
3394 * emacs-lisp/ert-x.el (ert-simulate-command):
3395 Check deferred-action-list (which is obsolete) is bound.
3396
c7291ad9
GM
3397 * subr.el (with-wrapper-hook): Doc fixes.
3398
34c99998
GM
3399 * simple.el (filter-buffer-substring-functions)
3400 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3401
6283a7d3
LL
34022012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3403
3404 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3405 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3406
e96e3013
LL
34072012-02-04 Leo Liu <sdl.web@gmail.com>
3408
3409 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3410
8ded50f2
GM
34112012-02-04 Glenn Morris <rgm@gnu.org>
3412
82ff1d13
GM
3413 * image.el (image-extension-data): Add obsolete alias.
3414
987a0a16
GM
3415 * isearch.el (isearch-update): Doc fix.
3416
ea32ef46
GM
3417 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3418
8ded50f2
GM
3419 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3420
eea14f31
GM
34212012-02-03 Glenn Morris <rgm@gnu.org>
3422
3423 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3424 (image-animate-timeout): Doc fix.
3425
3426 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3427
12f381b7
GM
34282012-02-02 Glenn Morris <rgm@gnu.org>
3429
953cebf5
GM
3430 * server.el (server-auth-dir): Doc fix.
3431 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3432
12f381b7
GM
3433 * subr.el (run-mode-hooks): Doc fix.
3434
953a8c3b
JL
34352012-02-02 Juri Linkov <juri@jurta.org>
3436
3437 * image-mode.el (image-toggle-display-image): Remove tautological
3438 `major-mode' from the `derived-mode-p' test.
3439
c5d3843c
KH
34402012-02-02 Kenichi Handa <handa@m17n.org>
3441
9f6e692e 3442 * composite.el (compose-region): Cancel previous change.
c5d3843c 3443
159462d4 34442012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3445
3446 * composite.el (compose-region, compose-string): Signal error for
3447 a null string component (Bug#6988).
3448
9f562668
CY
34492012-02-01 Chong Yidong <cyd@gnu.org>
3450
e2cef717
CY
3451 * view.el (view-buffer-other-window, view-buffer-other-frame):
3452 Handle special modes like view-buffer (Bug#10650).
3453 (view-buffer): Simplify.
3454
9f562668
CY
3455 * frame.el (set-frame-font): Tweak meaning of third argument.
3456
9f6e692e
JB
3457 * dynamic-setting.el (font-setting-change-default-font):
3458 Use set-frame-font (Bug#9982).
9f562668 3459
781acb9f
GM
34602012-02-01 Glenn Morris <rgm@gnu.org>
3461
6035be52
GM
3462 * progmodes/compile.el (compilation-internal-error-properties):
3463 Respect compilation-first-column in the "*compilation*" buffer.
3464
781acb9f
GM
3465 * emacs-lisp/easy-mmode.el (define-minor-mode):
3466 Relax :variable's test for a named function.
3467
abbceb00
AM
34682012-01-31 Alan Mackenzie <acm@muc.de>
3469
3470 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3471 off by one error.
3472
fce3fdeb
CY
34732012-01-31 Chong Yidong <cyd@gnu.org>
3474
3475 * frame.el (set-frame-font): New arg ALL-FRAMES.
3476
3477 * menu-bar.el (menu-set-font): Use set-frame-font.
3478
3479 * faces.el (face-spec-reset-face): Don't apply unspecified
3480 attribute values to the default face.
3481
47893581
JB
34822012-01-31 Juanma Barranquero <lekktu@gmail.com>
3483
3484 * progmodes/cwarn.el (cwarn): Remove dead link.
3485 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3486 Remove * from defcustom docstrings.
3487 (turn-on-cwarn-mode): Make obsolete.
3488 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3489 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3490
e58e988a
GM
34912012-01-31 Glenn Morris <rgm@gnu.org>
3492
60dc2671 3493 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3494 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3495 Allow named functions to be used as the cdr of :variable.
e58e988a 3496
7a3f511d
GM
34972012-01-30 Glenn Morris <rgm@gnu.org>
3498
3499 * emacs-lisp/authors.el (authors-fixed-entries):
3500 Remove reference to deleted file rnewspost.el.
3501
cb882333
JB
35022012-01-29 Juanma Barranquero <lekktu@gmail.com>
3503
3504 * window.el (window-with-parameter): Remove unused variable `windows'.
3505 (window--side-check): Remove unused variable `code'.
3506 (window--resize-siblings): Remove unused variable `first'.
3507 (adjust-window-trailing-edge): Remove unused variable `failed'.
3508 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3509 Use `let', not `let*'.
3510 (balance-windows-2): Remove unused variable `found'.
3511 (window--state-put-2): Remove unused variable `splits'.
3512 (window-state-put): Remove unused variable `selected'.
3513 (same-window-p): Use `string-match-p'.
3514 (display-buffer-assq-regexp): Remove unused variable `value'.
3515 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3516 Mark argument ALIST as ignored.
3517 (pop-to-buffer): Remove unused variable `old-window'.
3518
907201af
EZ
35192012-01-29 Eli Zaretskii <eliz@gnu.org>
3520
3521 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3522 and .lzma compressed files.
3523
ea162670
CY
35242012-01-29 Chong Yidong <cyd@gnu.org>
3525
5b95ee8a
CY
3526 * frame.el (window-system-default-frame-alist): Doc fix.
3527
ea162670
CY
3528 * dynamic-setting.el (font-setting-change-default-font): Don't
3529 change the default face if SET-FONT argument is non-nil (Bug#9982).
3530
d6e6f4b1
SB
35312012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3532
3533 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3534
0f29fa41 35352012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3536
3537 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3538 breakpoints in files outside current directory (Bug#6098).
3539
db174434
CY
35402012-01-29 Chong Yidong <cyd@gnu.org>
3541
6b25e4e2
SE
3542 * progmodes/python.el: Require ansi-color at top-level.
3543
6df6ae42
JB
3544 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3545 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3546 (lisp-mode-abbrev-table): Add doc.
3547 (lisp-mode-variables): Don't set local-abbrev-table.
3548 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3549
e70ee681
RW
35502012-01-28 Roland Winkler <winkler@gnu.org>
3551
3552 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3553
ace88aa2
RW
35542012-01-28 Roland Winkler <winkler@gnu.org>
3555
3556 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3557 (bibtex-set-dialect): Use it. Either set global values of
3558 dialect-dependent variables or bind these variables buffer-locally
3559 (Bug#10254).
3560 (bibtex-mode): Call bibtex-set-dialect via
3561 hack-local-variables-hook.
eb864a71
LM
3562 (bibtex-dialect): Update docstring.
3563 Add safe-local-variable predicate.
ace88aa2
RW
3564 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3565 bibtex-set-dialect.
3566 (bibtex-mode-map): Define menu for each dialect.
3567 (bibtex-entry): Fix docstring.
3568
93376c5b
CY
35692012-01-28 Chong Yidong <cyd@gnu.org>
3570
3571 * eshell/esh-arg.el (eshell-quote-argument): New function.
3572
3573 * eshell/esh-ext.el (eshell-invoke-batch-file):
3574 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3575 first arg to eshell-parse-command (Bug#10523).
3576
4372494f
DA
35772012-01-28 Drew Adams <drew.adams@oracle.com>
3578
3579 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3580 `default-directory' is non-nil.
3581
4d4ec1f8
EZ
35822012-01-28 Eli Zaretskii <eliz@gnu.org>
3583
3584 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3585 line that displays system-configuration-options. (Bug#9924)
3586
7c188927
DA
35872012-01-28 Drew Adams <drew.adams@oracle.com>
3588
3589 * descr-text.el (describe-char): Show information about POS, in
3590 addition to information about the character at POS. Improve and
3591 update the doc string. Change "code point" to "code point in
3592 charset", to avoid confusion with the character's Unicode code
3593 point shown above that. (Bug#10129)
3594
e0da685a
EZ
35952012-01-28 Eli Zaretskii <eliz@gnu.org>
3596
3597 * descr-text.el (describe-char): Show the raw character, not only
3598 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3599 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3600 for the reasons.
3601
70550acf
PH
36022012-01-28 Phil Hagelberg <phil@hagelb.org>
3603
eb864a71
LM
3604 * emacs-lisp/package.el (package-install):
3605 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3606
0ce8e868
CY
36072012-01-28 Chong Yidong <cyd@gnu.org>
3608
cb882333
JB
3609 * emacs-lisp/package.el (package-maybe-load-descriptor):
3610 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3611 (package-maybe-load-descriptor): Use it.
3612 (package-download-transaction): Fully load required packages
3613 inside the loop, so that `require' calls work (Bug#10593).
3614 (package-install): No need to call package-initialize now.
3615
2e7f3bea
CY
36162012-01-28 Chong Yidong <cyd@gnu.org>
3617
6e9bad14
CY
3618 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3619
f823b8ca
CY
3620 * tooltip.el (tooltip-mode): Doc fix.
3621 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3622
2680c309
CY
3623 * frame.el (set-cursor-color): Doc fix (Bug#352).
3624
d7a9e63b
CY
3625 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3626 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3627
2e7f3bea
CY
3628 * cus-edit.el (custom-buffer-create-internal): Fix search button
3629 action (Bug#10542).
2ae01800 3630 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3631
fc4f7a23
EW
36322012-01-27 Eduard Wiebe <usenet@pusto.de>
3633
3634 * dired.el (dired-mark-files-regexp):
3635 Include any subdirectory components. (Bug#10445)
3636
7dd37071
ML
36372012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3638
3639 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3640 Handle [host]:port syntax. (Bug#10533)
3641
a268160b
AH
36422012-01-27 Alex Harsanyi <harsanyi@mac.com>
3643
3644 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3645
e43273ef
GM
36462012-01-26 Glenn Morris <rgm@gnu.org>
3647
3648 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3649 * term.el (term-raw-escape-map): Use Control-X-prefix.
3650 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3651
1edf595d
MR
36522012-01-25 Martin Rudalics <rudalics@gmx.at>
3653
3654 * window.el (window-state-get, window--state-get-1): Don't deal
3655 with fixed-sizeness of windows. Simplify code.
3656
fa8eafef
JC
36572012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3658
6df6ae42
JB
3659 * window.el (window--state-get-1, window--state-put-2):
3660 Don't save and restore the mark.
fa8eafef 3661
0b21c100
CY
36622012-01-25 Chong Yidong <cyd@gnu.org>
3663
3664 * custom.el (custom-variable-p): Doc fix.
3665
5ae1a6c8
GM
36662012-01-25 Glenn Morris <rgm@gnu.org>
3667
40047858
GM
3668 * dired.el (dired-goto-file): Handle some of the more common
3669 characters that `ls -b' escapes. (Bug#10596)
3670
5ddce96c
GM
3671 * progmodes/compile.el (compilation-next-error-function):
3672 Respect compilation-first-column in the "*compilation*" buffer.
3673 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3674
5ae1a6c8
GM
3675 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3676
b559f1a9
GM
36772012-01-24 Glenn Morris <rgm@gnu.org>
3678
3679 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3680
6725d21a
JD
36812012-01-24 Julien Danjou <julien@danjou.info>
3682
3683 * color.el (color-rgb-to-hsl): Fix value computing.
3684 (color-hue-to-rgb): New function.
3685 (color-hsl-to-rgb): New function.
3686 (color-clamp, color-saturate-hsl, color-saturate-name)
3687 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3688 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3689
70df4bbe
GM
36902012-01-24 Glenn Morris <rgm@gnu.org>
3691
3692 * vc/vc-rcs.el (vc-rcs-create-tag):
3693 * vc/vc-sccs.el (vc-sccs-create-tag):
3694 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3695
802a2ae2
ML
36962012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3697
3698 * eshell/esh-util.el (eshell-read-hosts-file):
3699 Skip comment lines. (Bug#10549)
3700
d7128bb1
ML
3701 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3702
d1a5c3b4
JB
37032012-01-23 Juanma Barranquero <lekktu@gmail.com>
3704
2724d9c7
JB
3705 * subr.el (display-delayed-warnings): Doc fix.
3706 (collapse-delayed-warnings): New function to collapse identical
3707 adjacent warnings.
3708 (delayed-warnings-hook): Add it.
d1a5c3b4 3709
a5509865
MA
37102012-01-22 Michael Albinus <michael.albinus@gmx.de>
3711
3712 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3713
3714 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3715 properties, when "login-as" is set.
3716
3717 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3718 (tramp-default-user-alist): Don't add "pscp".
3719 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3720 property "login-as", if set. (Bug#10530)
3721
cc6d5805
MA
37222012-01-21 Michael Albinus <michael.albinus@gmx.de>
3723
3724 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3725 "plink1" and "psftp". (Bug#10530)
3726
37272012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3728
3729 * international/mule-cmds.el (prefer-coding-system): Show a
3730 warning message if the default value of file-name-coding-system
3731 was not changed.
3732
f0960428
JC
37332012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3734
cb882333
JB
3735 * windmove.el (windmove-reference-loc):
3736 Fix windmove-reference-loc miscalculation.
f0960428 3737
dd6f2a63
JB
37382012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3739
3740 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3741 default unit.
3742
7b447e9b
GM
37432012-01-21 Glenn Morris <rgm@gnu.org>
3744
117a9ea1
GM
3745 * international/mule.el (auto-coding-alist): Add .tbz.
3746
7b447e9b
GM
3747 * files.el (local-enable-local-variables): Doc fix.
3748 (inhibit-local-variables-regexps): Rename from
3749 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3750 Doc fix. Add some extensions from auto-coding-alist.
3751 (inhibit-local-variables-suffixes):
3752 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3753 (inhibit-local-variables-p):
3754 New function, extracted from set-auto-mode-1.
3755 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3756 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3757 (hack-local-variables): Doc fix. Make the mode-only case
3758 respect enable-local-variables and friends.
3759 Respect inhibit-local-variables-regexps for file-locals, but
3760 not for directory-locals.
3761 (set-visited-file-name):
3762 Take account of inhibit-local-variables-regexps.
3763 Whether it applies may change as the file name is changed.
3764 * jka-cmpr-hook.el (jka-compr-install):
3765 * jka-compr.el (jka-compr-uninstall):
3766 Update for inhibit-first-line-modes-suffixes name change.
3767
dd6e3cdd
MR
37682012-01-20 Martin Rudalics <rudalics@gmx.at>
3769
3770 * help-macro.el (make-help-screen): Temporarily restore original
3771 binding for minor-mode-map-alist (Bug#10454).
3772
0d0deb38
JD
37732012-01-19 Julien Danjou <julien@danjou.info>
3774
3775 * color.el (color-name-to-rgb): Use the white color to find the max
3776 color component value and return correctly computed values.
3777 (color-name-to-rgb): Add missing float conversion for max value.
3778
34a02f46
MR
37792012-01-19 Martin Rudalics <rudalics@gmx.at>
3780
3781 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3782 special state value for window-persistent-parameters.
3783 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3784 (window--state-put-2): Reset all window parameters to nil before
3785 assigning values of persistent parameters.
3786
606c44c4
AM
37872012-01-18 Alan Mackenzie <acm@muc.de>
3788
3789 Eliminate sluggishness and hangs in fontification of "semicolon
3790 deserts".
3791
cb882333
JB
3792 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3793 Change value 10000 -> 3000.
606c44c4
AM
3794 (c-state-safe-place): Reformulate so it doesn't stack up an
3795 infinite number of wrong entries in c-state-nonlit-pos-cache.
3796 (c-determine-limit-get-base, c-determine-limit): New functions to
3797 determine backward search limits disregarding literals.
3798 (c-find-decl-spots): Amend commenting.
3799 (c-cheap-inside-bracelist-p): New function which detects "={".
3800
3801 * progmodes/cc-fonts.el
3802 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3803 backward search.
3804 (c-font-lock-declarations): Fix an occurrence of point being
3805 undefined. Check additionally for point being in a bracelist or
3806 near a macro invocation without a semicolon so as to avoid a
3807 fruitless time consuming search for a declarator. Give a more
3808 precise search limit for declarators using the new
3809 c-determine-limit.
3810
f3860cea
GM
38112012-01-18 Glenn Morris <rgm@gnu.org>
3812
3813 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3814 (set-auto-mode): Doc fixes.
3815
1db03b16
GM
38162012-01-17 Glenn Morris <rgm@gnu.org>
3817
0e6038be
GM
3818 * isearch.el (search-nonincremental-instead): Fix doc typo.
3819
1db03b16
GM
3820 * dired.el (dired-insert-directory): Handle newlines in directory name.
3821 (dired-build-subdir-alist): Unescape newlines in directory name.
3822
4cb0aa75
MA
38232012-01-17 Michael Albinus <michael.albinus@gmx.de>
3824
3825 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3826 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3827 (tramp-action-terminal): Use it. (Bug#10530)
3828
1d00653d
SM
38292012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3832
6a6ee00d
MR
38332012-01-16 Martin Rudalics <rudalics@gmx.at>
3834
3835 * window.el (window-state-ignored-parameters): Remove variable.
3836 (window--state-get-1): Rename argument MARKERS to IGNORE.
3837 Handle persistent window parameters. Make copy of clone-of
3838 parameter only if requested. (Bug#10348)
3839 (window--state-put-2): Install a window parameter only if it has
3840 a non-nil value or an existing parameter shall be overwritten.
3841
97912def
MA
38422012-01-15 Michael Albinus <michael.albinus@gmx.de>
3843
3844 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3845
688070a5
EZ
38462012-01-14 Eli Zaretskii <eliz@gnu.org>
3847
3848 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3849 don't pass the (nil) value of `upnode' to string-match.
3850
301afadc
CY
38512012-01-14 Chong Yidong <cyd@gnu.org>
3852
3853 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3854 Fix values recognized by the cursorBlink resource.
301afadc 3855
9e5788aa
PE
38562012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3857
3858 * epg.el (epg--make-temp-file): Avoid permission race condition
3859 when running on old Emacs versions (bug#10403).
3860
3cdb7f5a
GM
38612012-01-14 Glenn Morris <rgm@gnu.org>
3862
3863 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3864
8c82b1b4
AM
38652012-01-13 Alan Mackenzie <acm@muc.de>
3866
3867 Fix filling for when filladapt mode is enabled.
3868
3869 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3870 c-mask-paragraph, pass in `fill-paragraph' rather than
3871 `fill-region-as-paragraph'. (This is a reversion of a previous
3872 change.)
eb864a71
LM
3873 * progmodes/cc-mode.el (c-basic-common-init):
3874 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3875
e517eda4
GM
38762012-01-13 Glenn Morris <rgm@gnu.org>
3877
1498536e
GM
3878 * dired.el (dired-switches-escape-p): New function.
3879 (dired-insert-directory): Use dired-switches-escape-p.
3880 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3881
e517eda4
GM
3882 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3883
328f984d
GM
38842012-01-12 Glenn Morris <rgm@gnu.org>
3885
3886 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3887 changes in adaptive-fill-regexp. (Bug#10276)
3888
2cc769a8
AM
38892012-01-11 Alan Mackenzie <acm@muc.de>
3890
3891 Fix Emacs bug #10463 - put `widen's around the critical spots.
3892
1d00653d 3893 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3894 widen around each invocation of c-state-pp-to-literal. Remove an
3895 unused let variable.
3896
e52c37fa
GM
38972012-01-11 Glenn Morris <rgm@gnu.org>
3898
3899 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3900 Doc fix.
e52c37fa 3901
96f8741e
CY
39022012-01-10 Chong Yidong <cyd@gnu.org>
3903
1d00653d
SM
3904 * net/network-stream.el (network-stream-open-starttls):
3905 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3906 response to the capability command.
3907
b09a806e
GM
39082012-01-10 Glenn Morris <rgm@gnu.org>
3909
3910 * mail/unrmail.el (unrmail): Tweak previous change.
3911
7655cb66
CY
39122012-01-09 Chong Yidong <cyd@gnu.org>
3913
3914 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3915
9d5a8f0b
AM
39162012-01-08 Alan Mackenzie <acm@muc.de>
3917
3918 Optimise font locking in long enum definitions.
3919
3920 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3921 arm to a cond form to handle enums.
3922 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3923 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3924
9a0115ab 39252012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3926
3927 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3928 (Bug#10401)
6bb72cbd 3929
f186bb95
LMI
39302012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3931
29232a68
LMI
3932 * faces.el (set-face-attribute): Clarify the meaning of the nil
3933 frame (bug#10294).
3934
4e5d086d
LMI
3935 * subr.el (with-selected-frame): Mention that the selected frame
3936 is restored (bug#9980).
3937
8e66aebe
LMI
3938 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3939 (bug#9759).
3940
cd394be1 3941 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3942 (password-read): Don't autoload unused function.
3943
adf4e762
JB
39442012-01-07 Juanma Barranquero <lekktu@gmail.com>
3945
3946 * progmodes/which-func.el (which-func-mode): Turn into a
3947 non-interactive function and mark as obsolete (bug#10428).
3948
89bd9ccd
CY
39492012-01-06 Chong Yidong <cyd@gnu.org>
3950
3951 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3952 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3953 functions, along with 1 and -1.
3954
4afee9d5
EZ
39552012-01-06 Eli Zaretskii <eliz@gnu.org>
3956
3957 * time.el (display-time-load-average)
3958 (display-time-default-load-average): Doc fixes. See the thread
3959 starting at
3960 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3961 for the details.
3962
536aea70
GM
39632012-01-06 Glenn Morris <rgm@gnu.org>
3964
665ae865
GM
3965 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3966 has no messages. (Bug#10377)
3967
c869783d
GM
3968 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3969 than Info-edit. (Bug#10385)
3970
2bb4227e
GM
3971 * time.el (display-time-load-average, display-time-next-load-average):
3972 Doc fixes.
3973
7d5944b9
GM
3974 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3975 local setting of buffer-read-only to the input buffer. (Bug#10419)
3976
536aea70
GM
3977 * calendar/calendar.el (calendar-mode):
3978 Locally set scroll-margin to 0. (Bug#10379)
3979
7dccca16
UM
39802012-01-06 Ulrich Mueller <ulm@gentoo.org>
3981
3982 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3983
afbb7930
GM
39842012-01-05 Glenn Morris <rgm@gnu.org>
3985
3986 * eshell/em-unix.el (diff-no-select): Autoload it.
3987 (eshell/diff): Use diff-no-select. (Bug#10420)
3988
04482335
CY
39892012-01-05 Chong Yidong <cyd@gnu.org>
3990
7baca3bc
CY
3991 * shell.el (shell-dynamic-complete-functions): Revert last change.
3992 (shell-command-completion-function): New function.
3993 (shell-completion-vars): Use it to implement
3994 shell-completion-execonly (Bug#10417).
3995
04482335
CY
3996 * custom.el (enable-theme): Don't set custom-safe-themes.
3997
1d00653d
SM
3998 * cus-theme.el (custom-theme-merge-theme):
3999 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4000
bb5aa5d6
MM
40012012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4002
4003 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4004 first prompt in `sql-interacive-mode'.
4005 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4006 keywords.
6df6ae42 4007 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4008 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4009 context of original buffer. Invoke `sql-login-hook'.
4010
a7183d7c
EZ
40112012-01-04 Eli Zaretskii <eliz@gnu.org>
4012
4013 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4014 letters in cite-prefix.
4015
a1eacd1e
LMI
40162012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4017
4018 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4019
787cdb34
CY
40202012-01-03 Chong Yidong <cyd@gnu.org>
4021
1d00653d
SM
4022 * shell.el (shell-dynamic-complete-functions):
4023 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4024 comint-filename-completion first (Bug#10417).
4025
30710442
RS
40262012-01-02 Richard Stallman <rms@gnu.org>
4027
4028 * battery.el (battery-status-function):
4029 Detect when to use battery-yeeloong-sysfs.
4030 (battery-echo-area-format): Add string for Yeeloong.
4031 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4032 (battery-yeeloong-sysfs): New function.
4033
f75bfc33
CY
40342012-01-02 Chong Yidong <cyd@gnu.org>
4035
4036 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4037 (dirtrack): Merge code for handling relative filenames in prompt
4038 from shell-dir-cookie-watcher.
4039 (dirtrack-debug-message): New arg to avoid excess format calls.
4040
4041 * shell.el (shell-dir-cookie-re): Variable deleted.
4042 (shell-dir-cookie-watcher): Function deleted.
4043 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4044 with dirtrack-mode.
4045
651e947e
EZ
40462012-01-01 Eli Zaretskii <eliz@gnu.org>
4047
1d00653d
SM
4048 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4049 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4050 libgnutls-26.dll.
4051
94d4c7dc
AS
40522011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4053
4054 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4055
8d43f3cd
EZ
40562011-12-31 Eli Zaretskii <eliz@gnu.org>
4057
4058 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4059 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4060
98c8795a
MA
40612011-12-29 Michael Albinus <michael.albinus@gmx.de>
4062
4063 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4064 also for alternative shells.
4065 (tramp-open-connection-setup-interactive-shell): Check, whether
4066 the shell is a busybox.
4067 (tramp-send-command): Don't suppress multiple prompts for
4068 busyboxes, it hurts.
4069
51281b32
CY
40702011-12-28 Chong Yidong <cyd@gnu.org>
4071
4072 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4073 (gdb-get-source-file): Move mode line update to
4074 gdb-get-source-file (Bug#10087).
4075
2170cb53
CY
40762011-12-25 Chong Yidong <cyd@gnu.org>
4077
4078 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4079 gud-gdb-marker-filter without taking it as an argument.
4080 (gud-gdb-run-command-fetch-lines): Caller changed.
4081 (gud-gdb-completion-function): New variable.
4082 (gud-gdb-completion-at-point): Use it.
4083 (gud-gdb-completions-1): Split from gud-gdb-completions.
4084
4085 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4086 function as separate arguments.
4087 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4088 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4089 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4090 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4091 (gdb-stopped, def-gdb-auto-update-trigger)
4092 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4093 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4094 Callers changed.
2170cb53
CY
4095 (gud-gdbmi-completions): New function.
4096 (gdb): Use it for generating the completion table.
4097
be8b11bb
AM
40982011-12-24 Alan Mackenzie <acm@muc.de>
4099
4100 Introduce a mechanism to widen the region used in context font
1d00653d 4101 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4102
1d00653d
SM
4103 * progmodes/cc-langs.el (c-before-font-lock-functions):
4104 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4105 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4106 functions to be run just before context (etc.) font locking.
4107
4108 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4109 New, functionality extracted from
be8b11bb 4110 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4111 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4112 (c-after-change): Set c-in-after-change-fontification.
4113 (c-set-fl-decl-start): Rejig its interface, so it can be called
4114 from both after-change and context fontifying.
b81d40f0
JB
4115 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4116 New functions.
4117 (c-standard-font-lock-fontify-region-function): New variable.
4118 (c-font-lock-fontify-region): New function.
be8b11bb 4119
341cf6ac
JL
41202011-12-24 Juri Linkov <juri@jurta.org>
4121
4122 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4123 (Bug#10348)
4124
bffcee0a
MA
41252011-12-23 Michael Albinus <michael.albinus@gmx.de>
4126
4127 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4128 existence of source file. (Bug#10325)
4129
cb5e207c
AM
41302011-12-23 Alan Mackenzie <acm@muc.de>
4131
4132 Fix unstable fontification inside templates.
4133
b81d40f0
JB
4134 * progmodes/cc-langs.el (c-before-font-lock-functions):
4135 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4136 additionally has c-set-fl-decl-start. The other languages (apart
4137 from AWK) have that as a single entry.
4138
b81d40f0
JB
4139 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4140 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4141 c-set-fl-decl-start.
4142
b81d40f0
JB
4143 * progmodes/cc-mode.el (c-common-init, c-after-change):
4144 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4145 (c-set-fl-decl-start): New function, extracted from
4146 c-font-lock-enclosing-decls and enhanced.
4147
60ff536c
JB
41482011-12-23 Juanma Barranquero <lekktu@gmail.com>
4149
4150 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4151
1c4757d6
JL
41522011-12-22 Juri Linkov <juri@jurta.org>
4153
4154 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4155
d031f2c7
CY
41562011-12-22 Chong Yidong <cyd@gnu.org>
4157
4158 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4159
bace743a
DA
41602011-12-21 Drew Adams <drew.adams@oracle.com>
4161
4162 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4163
728a1f2b
JC
41642011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4165
4166 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4167
0d373f73
TZ
41682011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4169
fec0aaa4
TZ
4170 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4171 highlighting and support. Fix up comments for capitalization.
4172 (cfengine-mode-debug): New var.
4173 (cfengine3-mode): Change the modeline indicator to "CFE3".
4174 (cfengine3-font-lock-keywords): Improve defun highlighting.
4175 (cfengine2-actions): Rename from `cfengine-actions'.
4176 (cfengine2-font-lock-keywords): Rename from
4177 `cfengine-font-lock-keywords'.
4178 (cfengine2-imenu-expression): Rename from
4179 `cfengine-imenu-expression'.
4180 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4181 (cfengine2-beginning-of-defun): Rename from
4182 `cfengine-beginning-of-defun'.
4183 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4184 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4185 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4186 modeline indicator to "CFE2".
4187 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4188 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4189
bc86f573
CY
41902011-12-21 Chong Yidong <cyd@gnu.org>
4191
4192 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4193 filename argument.
4194
d45ba96b
MR
41952011-12-20 Martin Rudalics <rudalics@gmx.at>
4196
4197 * window.el (window-normalize-buffer-to-display): Remove.
4198 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4199
a6198c90
CY
42002011-12-19 Chong Yidong <cyd@gnu.org>
4201
4202 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4203 Don't signal an error in a predicate function; return non-nil.
4204 (vc-dir-mark-file): Move the error here.
4205 (vc-dir-mark-unmark): If acting on the region, keep going if one
4206 of the entries cannot be marked/unmarked.
4207 (vc-dir-mark-all-files): If current entry is a directory, mark
4208 only child files, as documented.
4209
34c5fb55
VB
42102011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4211
4212 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4213 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4214 addition.
4215
c803b2b7
JD
42162011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4217
4218 * term/ns-win.el (ns-get-selection-internal)
4219 (ns-store-selection-internal): Declare.
1154d12e
JB
4220 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4221 Declare as obsolete.
4222 (ns-get-pasteboard, ns-paste-secondary):
4223 Use ns-get-selection-internal.
4224 (ns-set-pasteboard, ns-copy-including-secondary):
4225 Use ns-store-selection-internal.
c803b2b7 4226
9cff91f8 42272011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4228
4229 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4230 (vc-deduce-fileset): Doc fix.
99a289d9 4231
f16c898a
AS
42322011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4233
4234 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4235
763237c4
SS
42362011-12-13 Sam Steingold <sds@gnu.org>
4237
4238 * man.el (Man-getpage-in-background): When running under a
4239 window-system, ignore $MANWIDTH and $COLUMNS.
4240
5fc1c122
KH
42412011-12-15 Kenichi Handa <handa@m17n.org>
4242
4243 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4244 (setup-ethiopic-environment-internal): Comment out key-binding for
4245 ethio-toggle-punctuation.
4246
13d49cbb
AM
42472011-12-13 Alan Mackenzie <acm@muc.de>
4248
898169a2
AM
4249 Add the switch statement to AWK Mode.
4250
7a71b18d 4251 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4252 "default" to the keywords regexp.
4253
7a71b18d 4254 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4255 expression as the rest.
1d00653d
SM
4256 (c-nonlabel-token-key): Allow string literals for AWK.
4257 Refactor for the other modes.
898169a2 4258
13d49cbb 4259 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4260 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4261 routines. Limit backward searching in c-font-lock-enclosing.decl.
4262
4263 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4264 pp-state and literal type in addition to the limits.
1d00653d 4265 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4266 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4267 (c-slow-in-literal, c-fast-in-literal): Remove.
4268 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4269
4270 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4271 being in a literal. Add a limit for backward searching.
4272
4273 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4274 c-slow-in-literal.
4275
15e0efc7
SM
42762011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4279
454592a6
MR
42802011-12-13 Martin Rudalics <rudalics@gmx.at>
4281
4282 * window.el (delete-other-windows): Use correct frame in call to
4283 window-with-parameter.
4284
87393f26
DP
42852011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4286
4287 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4288 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4289 (makefile-gmake-statements, makefile-makepp-statements):
4290 Use it and add new makepp keywords.
4291 (makefile-makepp-font-lock-keywords): Add new patterns.
4292 (makefile-match-function-end): Match new [...] and [[...]].
4293
11636b22
JB
42942011-12-11 Juanma Barranquero <lekktu@gmail.com>
4295
4296 * ses.el (ses-call-printer-return, ses-cell-property-get)
4297 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4298 (ses-create-cell-variable, ses-reset-header-string)
4299 (ses-cell-set-formula, ses-repair-cell-reference-all)
4300 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4301 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4302 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4303 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4304 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4305 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4306 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4307 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4308 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4309 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4310 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4311 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4312
cf018193
VB
43132011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4314
4315 * ses.el: The overall change is to add cell renaming, that is
4316 setting fancy names for cell symbols other than name matching
4317 "\\`[A-Z]+[0-9]+\\'" regexp .
4318 (ses-create-cell-variable): New defun.
4319 (ses-relocate-formula): Relocate formulas only for cells the
4320 symbols of which are not renamed, i.e. symbols whose names do not
4321 match regexp "\\`[A-Z]+[0-9]+\\'".
4322 (ses-relocate-all): Relocate values only for cells the symbols of
4323 which are not renamed.
4324 (ses-load): Create cells variables as the (ses-cell ...) are read,
4325 in order to check row col consistency with cell symbol name only
4326 for cells that are not renamed.
4327 (ses-replace-name-in-formula): New defun.
4328 (ses-rename-cell): New defun.
4329
ee957461
CY
43302011-12-11 Chong Yidong <cyd@gnu.org>
4331
4332 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4333 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4334
9a9e9ef0
MR
43352011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4336
4337 * window.el (other-window): Fix docstring.
4338
92a8eba5
EZ
43392011-12-10 Eli Zaretskii <eliz@gnu.org>
4340
4341 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4342 `from' or `to' address before taking its substring.
4343 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4344 encoded name is chopped in the middle of the encoded string, and
4345 thus displayed encoded.
4346
e152e577
JB
43472011-12-10 Juanma Barranquero <lekktu@gmail.com>
4348
4349 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4350
e5d84bfe
EZ
43512011-12-10 Eli Zaretskii <eliz@gnu.org>
4352
4353 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4354 to use texinfo-update-node and commands that call it if the
4355 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4356 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4357 (texinfo-all-menus-update, texinfo-master-menu)
4358 (texinfo-update-node, texinfo-every-node-update)
4359 (texinfo-multiple-files-update): Doc fix. Warn against updating
4360 all the @node lines.
4361 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4362 argument is numeric. Explain better in the doc string what the
4363 function really does.
4364 (texinfo-insert-master-menu-list): Improve the error message
4365 displayed if there's no menu in the Top node.
4366 (Bug#2975) See also this thread:
e5d84bfe
EZ
4367 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4368
1d84e9bb
MG
43692011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4370
4371 * speedbar.el (speedbar-supported-extension-expressions):
4372 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4373
382c953b
JB
43742011-12-09 Juanma Barranquero <lekktu@gmail.com>
4375
4376 * printing.el (pr-mode-alist):
4377 * simple.el (filter-buffer-substring-functions)
4378 (completion-list-insert-choice-function):
4379 * window.el (window-with-parameter, window-atom-root)
4380 (window-sides-slots, window-size-fixed, window-min-delta)
4381 (window-max-delta, window--resize-mini-window)
4382 (window--resize-child-windows-normal, window-tree)
4383 (delete-other-windows, quit-window, split-window)
4384 (display-buffer-record-window, special-display-buffer-names)
4385 (special-display-regexps, special-display-popup-frame)
4386 (same-window-p, split-window-sensibly)
4387 (display-buffer-overriding-action, display-buffer-alist)
4388 (display-buffer-base-action, display-buffer, switch-to-buffer)
4389 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4390 (fit-window-to-buffer, recenter-positions)
4391 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4392 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4393 and remove unneeded backslashes in docstrings.
4394
39c9faef
SM
43952011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4396
98449af8
SM
4397 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4398
39c9faef
SM
4399 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4400 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4401 end in ".mk".
4402 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4403 when reading the makefile (bug#10116).
4404
86ed9fdc
SM
44052011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4408 (bug#10116).
4409
5580f89d
GM
44102011-12-06 Glenn Morris <rgm@gnu.org>
4411
4412 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4413
28d3917c
CY
44142011-12-06 Chong Yidong <cyd@gnu.org>
4415
4416 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4417
a98edce9
JB
44182011-12-06 Juanma Barranquero <lekktu@gmail.com>
4419
4420 * textmodes/table.el (table-shorten-cell): Fix typo.
4421
e65adfac
CG
44222011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4423
4424 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4425
71cc0b74
EZ
44262011-12-05 Eli Zaretskii <eliz@gnu.org>
4427
4428 * descr-text.el (describe-char): Fix display of strong
4429 right-to-left characters and directional embeddings and overrides.
4430
4431 * simple.el (what-cursor-position): Fix display of codepoints of
4432 strong right-to-left characters.
4433
315bc30d
CY
44342011-12-05 Chong Yidong <cyd@gnu.org>
4435
4436 * faces.el (read-color): Doc fix.
4437
58a70b94
GM
44382011-12-05 Glenn Morris <rgm@gnu.org>
4439
4440 * align.el (align--set-marker): Add doc-string.
4441 Don't try to move something that is not a marker. (Bug#10216)
4442
5158face
GM
44432011-12-04 Glenn Morris <rgm@gnu.org>
4444
4445 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4446 overly zealous deletion of trailing whitespace.
4447
520fca41
JB
44482011-12-04 Juanma Barranquero <lekktu@gmail.com>
4449
4450 * server.el (server-delete-client): On Windows, do not try to delete
4451 the only terminal.
4452 (server-process-filter): On Windows, treat requests for a tty frame as
4453 if they were for a GUI frame if the running server is in GUI mode.
4454
5e605a2e
GM
44552011-12-03 Glenn Morris <rgm@gnu.org>
4456
4457 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4458
5c3fe83f
SM
44592011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4460
6f5e57e7
SM
4461 * electric.el: Streamline electric-indent's hook.
4462 (electric-indent-chars): Revert to simple list.
4463 (electric-indent-functions): New var.
4464 (electric-indent-post-self-insert-function): Use it.
4465
5c3fe83f
SM
4466 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4467 there's no inferior buffer (bug#10196).
4468 (prolog-consult-compile): Don't use toggle-read-only.
4469
6bdac736
MA
44702011-12-02 Michael Albinus <michael.albinus@gmx.de>
4471
4472 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4473 interrupt. (Bug#10187)
4474
6131ba7f
SM
44752011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4476
99c79fee
SM
4477 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4478 (bug#9160).
4479
6131ba7f
SM
4480 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4481 (bug#10191).
4482
cb0a02ea
JL
44832011-12-02 Juri Linkov <juri@jurta.org>
4484
4485 * info.el (Info-search): Display "end of manual" when Isearch
4486 reaches the end of single-file Info manual. (Bug#9918)
4487
66e0570c
EZ
44882011-12-02 Eli Zaretskii <eliz@gnu.org>
4489
4490 * isearch.el (isearch-message-prefix): Run the input method part
4491 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4492
02b16839
JL
44932011-12-02 Juri Linkov <juri@jurta.org>
4494
4495 * isearch.el (isearch-occur): Use `word-search-regexp' for
4496 `isearch-word'.
4497 (isearch-search-and-update): Add condition for `isearch-word' and
4498 call `word-search-regexp'. (Bug#10145)
4499
0b950688
GM
45002011-12-01 Glenn Morris <rgm@gnu.org>
4501
4502 * eshell/em-hist.el (eshell-hist-initialize):
4503 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4504 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4505
9505c3c7
SM
45062011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4507
4508 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4509
1bbe96b2 45102011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4511
a1beca85
SM
4512 * progmodes/verilog-mode.el (verilog-pretty-expr):
4513 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4514 verilog, such as += *= and the like.
4515 (verilog-assignment-operator-re): Regular expression to find the
4516 assigment operator in a verilog assignment.
4517 (verilog-assignment-operation-re): Regular expression to find an
4518 assignment statement for pretty-expr.
4519 (verilog-in-attribute-p): Query returns true if point is in an
4520 attribute context; used to skip these for expression line up from
4521 pretty-expr.
4522 (verilog-in-parameter-p): Query returns true if point is in an
4523 parameter definition context; used to skip these for expression
4524 line up from pretty-expr.
4525 (verilog-in-parenthesis-p): Query returns true if point is in a
4526 parenthetical expression, specifically ( ) but not [ ] or { };
4527 used by pretty-expr.
4528 (verilog-just-one-space): If there is no space, don't add one.
4529 (verilog-get-lineup-indent-2): Specifically skip just attribute
4530 contexts for expression lineup, rather than skipping all
4531 parenthetical expressions.
4532 (verilog-calculate-indent): Fix comment, and fix indent.
4533 (verilog-do-indent): Indent declarations in lists (suggested by
4534 Joachim Lechner).
4535 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4536 skeleton items.
4537 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4538 by Alain Mellan).
4539
1bbe96b2 45402011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4541
4542 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4543 parameters with embedded comments. Reported by Ray Stevens.
4544 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4545 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4546 Reported by Tim Holt.
4547 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4548 instantiated by upper module causing wrong expansion until AUTOed a
4549 second time. Reported by K C Buckenmaier.
4550 (verilog-diff-auto): Fix showing .* as a difference when
4551 `verilog-auto-star-save' off. Reported by Dan Dever.
4552 (verilog-auto-reset, verilog-read-always-signals)
4553 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4554 temporary signals in reset list if
4555 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4556 style to each signal's assignment type, bug381.
4557 Reported by Thomas Esposito.
6288f0ca
WS
4558 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4559 (verilog-uvm-statement-re): Support UVM indentation and
4560 highlighting, with old OVM keywords only.
a1beca85 4561 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4562 Support AUTOTIEOFF creating non-wire data types.
4563 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4564 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4565 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4566 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4567 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4568 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4569 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4570 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4571 non-numeric vector width. Reported by Alex Reed.
4572 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4573 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4574 (verilog-auto-delete-trailing-whitespace):
4575 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4576 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4577 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4578 Fix verilog-scan-cache corruption when running user AUTO expansion
4579 hooks that call indentation routines.
4580 (verilog-simplify-range-expression): Fix typo ignoring lower case
4581 identifiers.
4582 (verilog-delete-auto): Fix delete-autos to also remove user created
4583 automatics, as long as they start with AUTO.
4584 (verilog-batch-diff-auto, verilog-diff-auto)
4585 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4586 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4587 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4588 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4589 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4590 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4591 is disabled and its cache will get corrupt, causing AUTOS not to
4592 expand. Instead use only -quick functions.
4593 (verilog-scan-region): Fix scanning over escaped quotes.
4594 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4595 (verilog-re-search-backward-quick)
4596 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4597 related functions now ignore strings, to fix misparsing of strings
4598 with magic comments embedded in them.
a1beca85
SM
4599 (verilog-read-auto-template):
4600 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4601 Reported by Brad Dobbie.
4602 (verilog-read-auto-template):
4603 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4604 Reported by Brad Dobbie.
6288f0ca
WS
4605 (verilog-auto-inst, verilog-auto-inst-param)
4606 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4607 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4608 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4609 debugging templates without merge conflicts, bug357.
4610 Reported by Brad Dobbie.
4611 (verilog-read-auto-template):
4612 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4613 Reported by Brad Dobbie.
4614 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4615 abbrevs so user won't be asked to save.
4616 (verilog-read-auto-lisp-present): Fix to start at beginning of
4617 buffer in case called outside of verilog-auto.
4618 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4619 to "X-2". Reported by Matthew Myers.
4620 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4621 all inputs from module templates. Reported by Leith Johnson.
4622 (verilog-module-inside-filename-p): Fix locating programs as with
4623 modules.
4624 (verilog-auto-inst-port): Fix vl-width expressions when using
4625 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4626 (verilog-decls-get-regs, verilog-decls-get-signals,
4627 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4628 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4629 verilog-read-decls): Combine reg and wire structures into one var
4630 structure to represent SystemVerilog concepts.
4631 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4632 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4633 (verilog-auto-wire-type, verilog-insert-definition):
4634 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4635 SystemVerilog "logic" keyword instead of "wire"/"reg".
4636 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4637 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4638 ifdef or generate if so there's not a driver conflict).
4639 Reported by Matthew Myers.
4640 (verilog-auto-declare-nettype, verilog-insert-definition):
4641 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4642 `default_nettype none. Reported by Julian Gorfajn.
4643 (verilog-read-always-signals-recurse, verilog-read-decls)
4644 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4645 malformed end statement, bug325. Reported by Joshua Wise and
4646 Andrew Drake.
4647 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4648 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4649 when expanding .* in interfaces, bug320.
4650 Reported by Pierre-David Pfister.
6288f0ca 4651 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4652 name and open parenthesis, bug317.
4653 Reported by Pierre-David Pfister.
6288f0ca
WS
4654 (verilog-simplify-range-expression): Fix simplification of
4655 multiplications inside AUTOWIRE connections, bug303.
4656 (verilog-auto-inst-port): Support parameter expansion in
4657 multidimensional arrays.
4658 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4659 after "assert property". Reported by Julian Gorfajn.
4660 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4661 with multiplication, bug303.
4662 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4663 Reported by Jan Frode Lonnum.
4664
1bbe96b2
GM
46652011-11-30 Juanma Barranquero <lekktu@gmail.com>
4666
4667 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4668 (hfy-shell-file-name, hfy-shell):
4669 * international/fontset.el (x-decompose-font-name): Fix typos.
4670
46712011-11-29 Ken Brown <kbrown@cornell.edu>
4672
4673 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4674 (gdb-version): Remove defvar.
4675 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4676 (gdb-gud-context-command, gdb-non-stop-handler)
4677 (gdb-current-context-command, gdb-stopped): Use it.
4678 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4679 (gdb-non-stop-handler): Don't enable pretty-printing here.
4680 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4681 non-stop mode. Use the following.
4682 (gdb-check-target-async): New defun.
4683 (gud-watch, gdb-stopped): Fix whitespace.
4684 (gdb-get-source-file): Don't try to display the source file if
4685 `gdb-main-file' is nil.
4686
46872011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * align.el: Try to generate fewer markers (bug#10047).
4690 (align--set-marker): New macro.
4691 (align-region): Use it.
4692
c935221f
SM
46932011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4694
4695 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4696
e70b5064
CY
46972011-11-29 Chong Yidong <cyd@gnu.org>
4698
4699 * indent.el (indent-for-tab-command, indent-according-to-mode):
4700 Doc fix.
4701 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4702
f3af92b7
MA
47032011-11-29 Michael Albinus <michael.albinus@gmx.de>
4704
4705 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4706 aware of remote file names. (Bug#10124)
4707
ed472be9
CY
47082011-11-29 Chong Yidong <cyd@gnu.org>
4709
4710 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4711
24510c22
SM
47122011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * files.el (find-file): Don't use force-same-window (bug#10144).
4715 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4716 use pop-to-buffer if the selected window can't be used.
4717 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4718
c60c3703
EZ
47192011-11-28 Eli Zaretskii <eliz@gnu.org>
4720
4721 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4722 special-mode-map.
4723
e95def75
CY
47242011-11-28 Chong Yidong <cyd@gnu.org>
4725
4726 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4727
c3f1c606
NR
47282011-11-27 Nick Roberts <nickrob@snap.net.nz>
4729
4730 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4731 gdb-get-source-file-list on gdb-create-source-file-list.
4732
00db469c
EZ
47332011-11-26 Eli Zaretskii <eliz@gnu.org>
4734
4735 * whitespace.el (whitespace-newline): Use a different foreground
4736 color for 16-color light-background displays.
4737
4ad3bc2a
CY
47382011-11-24 Chong Yidong <cyd@gnu.org>
4739
4740 * window.el (display-buffer--special-action): Doc fix.
4741
e9fce1ac
JB
47422011-11-25 Juanma Barranquero <lekktu@gmail.com>
4743
4744 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4745 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4746 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4747 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4748 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4749 (avl-tree-stack-first):
4750 * emacs-lisp/cconv.el (cconv--analyse-use):
4751 * net/gnutls.el (gnutls-negotiate): Fix typos.
4752
cb825e5d
GM
47532011-11-24 Glenn Morris <rgm@gnu.org>
4754
3adbe224
GM
4755 * lpr.el (lpr-windows-system, lpr-lp-system):
4756 * mail/binhex.el (binhex-begin-line):
4757 * progmodes/grep.el (grep-history, grep-find-history):
4758 * textmodes/flyspell.el:
4759 * vc/pcvs-defs.el (cvs-global-menu):
4760 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4761 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4762 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4763
321decc8
GM
4764 * net/tls.el: Fix case of "GnuTLS".
4765
420b63ad
GM
4766 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4767
cb825e5d
GM
4768 * version.el (emacs-build-system): Give it a doc-string.
4769
a0649f08
JL
47702011-11-24 Juri Linkov <juri@jurta.org>
4771
4772 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4773
c0bc0fd4
GM
47742011-11-24 Glenn Morris <rgm@gnu.org>
4775
4776 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4777 if called on a non-mime message just toggle the headers. (Bug#8006)
4778
20db1522
JB
47792011-11-24 Juanma Barranquero <lekktu@gmail.com>
4780
4781 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4782 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4783 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4784 (allout-rebullet-heading, allout-open-sibtopic)
4785 (allout-toggle-current-subtree-encryption)
4786 (allout-toggle-subtree-encryption, allout-encrypt-string)
4787 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4788 (allout-distinctive-bullets-string, allout-auto-activation):
4789 * window.el (window-normalize-buffer-to-display):
4790 * progmodes/verilog-mode.el (verilog-batch-indent):
4791 * textmodes/bibtex.el (bibtex-field-braces-opt)
4792 (bibtex-field-strings-opt):
4793 * vc/cvs-status.el (cvs-tree-merge):
4794 Fix typos.
4795
7262a87c
MA
47962011-11-23 Michael Albinus <michael.albinus@gmx.de>
4797
4798 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4799 `non-essential' to t, in order to avoid remote connections.
4800
283430a1
EZ
48012011-11-23 Eli Zaretskii <eliz@gnu.org>
4802
a1beca85
SM
4803 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4804 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4805 case-insensitively.
4806
d2992a38
ML
48072011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4808
4809 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4810
50419064
GM
48112011-11-23 Glenn Morris <rgm@gnu.org>
4812
da94eca1
GM
4813 * paths.el (rmail-file-name): Reformat the doc-string so that it
4814 is picked up.
4815
9aac4de2
GM
4816 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4817 (rmail-auto-file): Ignore case in the "special" field names,
4818 as mail-fetch-field does for all others.
4819
8038d2d2
GM
4820 * mail/rmail.el (rmail-forward):
4821 * mail/rmailkwd.el (rmail-set-label):
4822 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4823 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4824
f3fe222a
GM
4825 * mail/rmail.el (rmail-current-message): Doc fix.
4826
50419064
GM
4827 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4828
28109f49
SM
48292011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4832
394c65f1
GM
48332011-11-22 Glenn Morris <rgm@gnu.org>
4834
4835 * mail/rmailmm.el (test-rmail-mime-handler)
4836 (test-rmail-mime-bulk-handler)
4837 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4838
f2a0aa3a
JL
48392011-11-21 Juri Linkov <juri@jurta.org>
4840
1154d12e
JB
4841 * calc/calc.el (calc-read-key-sequence):
4842 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4843
9c34a344
LMI
48442011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4845
4846 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4847 Tell the caller that the next line needs recomputation, even
4848 though it doesn't start a sexp (bug#10094).
4849
f04a3be9
SM
48502011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4853
7978747f
SM
48542011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4855
f04a3be9
SM
4856 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4857 Use force-same-window.
7978747f 4858
fe7a3057
JB
48592011-11-20 Juanma Barranquero <lekktu@gmail.com>
4860
4861 * descr-text.el (describe-char-unicode-data):
4862 * json.el (json-string-escape):
4863 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4864 (Footnote-unicode, Footnote-style-p):
4865 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4866
24901d61
CY
48672011-11-20 Chong Yidong <cyd@gnu.org>
4868
4869 * window.el (replace-buffer-in-windows): Restore interactive spec.
4870
bac7ff22
SM
48712011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4872
24f3d7b9
SM
4873 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4874
bac7ff22
SM
4875 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4876 (byte-compile-global-not-obsolete-vars): New var.
4877 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4878 Use it.
4879 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4880
cd1181db
JB
48812011-11-20 Juanma Barranquero <lekktu@gmail.com>
4882
4883 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4884 * progmodes/pascal.el (electric-pascal-equal):
4885 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4886 * xml.el (xml-substitute-special): Fix typos.
4887
7fb18e9e
GM
48882011-11-20 Glenn Morris <rgm@gnu.org>
4889
4890 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4891 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4892 Doc fixes.
4893 (rmail-decode-mime-charset): Mark as obsolete.
4894
4895 * mail/rmailsum.el (rmail-message-regexp-p-1):
4896 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4897 Before using mime functions, check they are set. (Bug#10077)
4898
d5a6b3ba
JL
48992011-11-19 Juri Linkov <juri@jurta.org>
4900
4901 * info.el (Info-finder-find-node): Use `package--builtins' instead
4902 of `package-alist'. Use node names formed by the pattern "Keyword "
4903 and the keyword name.
4904
e981b61f
AS
49052011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4906
1d00653d 4907 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4908
3ffbc301
JL
49092011-11-19 Juri Linkov <juri@jurta.org>
4910
4911 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4912 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4913 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4914 `old-history', `old-history-forward'. Add let-binding
4915 `window-selected'. Remove calls to `kill-buffer',
4916 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4917 before calling `Info-find-node', so `Info-find-node-2' will reread
4918 the Info file. Restore window positions only when `window-selected'
4919 is non-nil.
4920
30c62133
JL
49212011-11-19 Juri Linkov <juri@jurta.org>
4922
4923 * isearch.el (isearch-lazy-highlight-new-loop):
4924 Remove condition `(not isearch-error)'. (Bug#9918)
4925
4926 * misearch.el (multi-isearch-search-fun): Add condition
4927 `(not bound)' to ignore lazy-highlighting search.
4928 Add the search-failed message "end of multi" when the end of
4929 multi-sequence is reached. Uncapitalize the search-failed
4930 message "Repeat for next buffer".
4931
4932 * info.el (Info-search): Add the search-failed message
4933 "end of the manual" when the end of the manual is reached
4934 in Isearch mode.
4935
645ca9cf
JL
49362011-11-19 Juri Linkov <juri@jurta.org>
4937
4938 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4939 Use non-destructive `remove' instead of `delete' because
4940 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4941 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4942
df754f66
JL
49432011-11-19 Juri Linkov <juri@jurta.org>
4944
4945 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4946 to nil instead of binding `search-ring' and `regexp-search-ring'.
4947 (Bug#9185)
4948
0e23d96a
EZ
49492011-11-19 Eli Zaretskii <eliz@gnu.org>
4950
4951 * simple.el (line-move): Force movement by logical lines for any
4952 hscrolled window, not only when auto-hscroll-mode is on.
4953 (line-move-visual): Update doc string to that effect. (Bug#10076)
4954
8a6ccb66
AS
49552011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4956
4957 * language/european.el (macintosh): Define as alias for mac-roman.
4958
49ae5b39
EZ
49592011-11-19 Eli Zaretskii <eliz@gnu.org>
4960
4961 * mail/rmailmm.el (rmail-mime-display-header)
4962 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4963 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4964 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4965 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4966 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4967 of a raw aref.
4968 (rmail-mime-entity-segment): To get past the tagline, move forward
4969 2 more lines, to account for the 2 empty lines that precede and
4970 follow the line with the buttons.
4971 (rmail-mime-update-tagline): Move one more line, to get past the
4972 empty line that follows the buttons in the tagline. (Bug#9520)
4973
c56cad4a
MR
49742011-11-19 Martin Rudalics <rudalics@gmx.at>
4975
4976 * window.el (window-max-delta-1, window-min-delta-1)
4977 (window-min-size-1, window-state-get-1, window-state-put-1)
4978 (window-state-put-2): Use "window--" prefix.
4979
cbe71af3
SM
49802011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4981
2ad52c60
SM
4982 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4983 (smie-warning-count): New var.
4984 (smie-set-prec2tab): Use it.
4985 (smie-bnf->prec2): Improve warnings. Add docstring.
4986 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4987 (smie-bnf--set-class): New function.
4988 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4989 corner case.
4990
6944dbc1
SM
4991 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4992 (compilation-error-properties, compilation-move-to-column):
4993 Handle compilation-first-column while in the target buffer.
4994
c400c4d7
SM
4995 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4996 Don't hardcode point-min==1.
4997
6dbe3e96
SM
4998 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4999 (eshell-rewrite-for-command): Remove workaround.
5000 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5001 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5002 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5003
cbe71af3
SM
5004 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5005
a8e1496d
GM
50062011-11-17 Glenn Morris <rgm@gnu.org>
5007
5008 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5009 Ignore buffer-local generated-autoload-file if it is the same
5010 as the global value. (Bug#10049)
5011
df85d315
JB
50122011-11-17 Juanma Barranquero <lekktu@gmail.com>
5013
5014 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5015 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5016 (reftex-toc-previous-heading, reftex-toc-max-level)
5017 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5018 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5019 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5020 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5021 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5022 (reftex-toc-rename-label, reftex-toc-visit-location)
5023 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5024 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5025 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5026 leaving "*toc*" only for references to the buffer.
5027
a0c2d0ae
MR
50282011-11-17 Martin Rudalics <rudalics@gmx.at>
5029
5030 * window.el (window-resize, delete-window, split-window):
5031 Replace window-splits by window-combination-resize.
1d00653d 5032 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5033
35c0bac8
GM
50342011-11-17 Glenn Morris <rgm@gnu.org>
5035
5036 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5037 Make bash entry derive from sh entry, not shell entry.
5038
d0c8fc8a
MA
50392011-11-16 Michael Albinus <michael.albinus@gmx.de>
5040
d0c8fc8a
MA
5041 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5042 properties of linked files. (Bug#9879)
5043
7262a87c
MA
5044 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5045 local file name.
5046
7877f373
JB
50472011-11-16 Juanma Barranquero <lekktu@gmail.com>
5048
5049 * menu-bar.el (menu-bar-file-menu):
5050 * printing.el (pr-ps-utility):
5051 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5052 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5053 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5054 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5055 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5056 (icalendar--convert-cyclic-to-ical)
5057 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5058 (icalendar--convert-ical-to-diary)
5059 (icalendar--convert-recurring-to-diary)
5060 (icalendar--convert-non-recurring-all-day-to-diary)
5061 (icalendar-import-format-sample):
5062 * progmodes/idlw-shell.el (idlwave-shell-mode):
5063 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5064 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5065 (vhdl-ps-print-init): Fix typos.
5066
10649b82
KM
50672011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5068
9d0cfcd6
GM
5069 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5070 FSF and collapse date sequence, obscure author/maintainer email address
5071 better, remove extra version line, track relocation of author's webpage.
10649b82 5072
9d0cfcd6
GM
5073 * progmodes/python.el (python-pdbtrack-input-prompt)
5074 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5075 regular python pdb prompts. Adjustments shamelessly taken exactly as
5076 suggested in EmacsWiki page (tiny change):
5077 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5078
58179cce
JB
50792011-11-16 Juanma Barranquero <lekktu@gmail.com>
5080
5081 * expand.el (expand-pos, expand-index, expand-point):
5082 Remove redundant info from docstring.
5083 (expand-add-abbrevs): Doc fix.
5084 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5085 (expand-sample-perl-mode-expand-list): Fix typos.
5086
5087 * net/dbus.el (dbus-event-member-name):
5088 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5089 * term/pc-win.el (msdos-create-frame-with-faces):
5090 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5091
b6f67890
MR
50922011-11-16 Martin Rudalics <rudalics@gmx.at>
5093
5094 * window.el (split-window, window-state-get-1)
5095 (window-state-put-1, window-state-put-2): Rename occurrences of
5096 window-nest to window-combination-limit.
1d00653d 5097 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5098
ce7ddba0
CY
50992011-11-16 Chong Yidong <cyd@gnu.org>
5100
5101 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5102 regexp (Bug#10033).
5103
3ae704f4
SM
51042011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5105
5106 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5107 `completing-read' will remove *Completions* and will preserve
5108 current-buffer for us.
5109 (tmm-add-prompt): Users of *Completions* will always (re)set its
5110 major mode.
5111 (tmm-old-comp-map): Remove.
5112
6ad1cdde
GM
51132011-11-16 Glenn Morris <rgm@gnu.org>
5114
5115 * mail/rmailedit.el: Require rmailmm when compiling.
5116 (rmail-old-mime-state): New declaration.
5117 (rmail-edit-current-message): If editing a mime message,
5118 edit the "raw" message from the mbox buffer.
5119 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5120
d20faa20
GM
51212011-11-15 Glenn Morris <rgm@gnu.org>
5122
5123 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5124 which wasn't being used. Add optional arg to force given state.
5125 (rmail-mime): Add optional arg to force given state.
5126
c7015153
JB
51272011-11-15 Juanma Barranquero <lekktu@gmail.com>
5128
5129 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5130 * frame.el (display-mm-dimensions-alist):
5131 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5132 (outline-move-subtree-down):
5133 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5134 (newsticker--treeview-do-get-node):
5135 * net/quickurl.el (quickurl-list-buffer-name):
5136 * progmodes/dcl-mode.el (dcl-mode):
5137 * progmodes/gdb-mi.el (gdb-mapcar*):
5138 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5139
45261b50
GM
51402011-11-15 Glenn Morris <rgm@gnu.org>
5141
5142 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5143 in a boolean sense, so just make it a boolean, and fix the doc.
5144 (rmail-show-mime-function, rmail-mime-feature)
5145 (rmail-require-mime-maybe): Doc fixes.
5146 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5147
5148 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5149
0d26e0b6
JB
51502011-11-15 Juanma Barranquero <lekktu@gmail.com>
5151
5152 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5153 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5154 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5155 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5156
447f30f6
GM
51572011-11-15 Glenn Morris <rgm@gnu.org>
5158
672b871d
GM
5159 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5160 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5161 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5162 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5163 (rmail-mime, rmail-show-mime): Doc fixes.
5164
f6aa5bb1
GM
5165 * term/ns-win.el (mode-line-frame-identification):
5166 Leave it alone. (Bug#10051)
5167
947cd66b
GM
5168 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5169
447f30f6
GM
5170 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5171 Handle empty buffers. (Bug#9978)
5172
0b381c7e
JB
51732011-11-14 Juanma Barranquero <lekktu@gmail.com>
5174
5175 * international/mule.el (define-charset):
5176 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5177 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5178 * progmodes/verilog-mode.el (verilog-backward-token):
5179 * textmodes/ispell.el (lookup-words):
5180 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5181
71e027ac
GM
51822011-11-14 Glenn Morris <rgm@gnu.org>
5183
56632ce4
GM
5184 * progmodes/executable.el
5185 (executable-make-buffer-file-executable-if-script-p):
5186 Handle file-modes returning nil.
5187
40500957
GM
5188 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5189 message - not necessary, and causes problems. (Bug#9831)
5190
071c2340
GM
5191 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5192
d3cfca60
GM
5193 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5194
71e027ac
GM
5195 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5196 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5197 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5198
89d61221
MR
51992011-11-12 Martin Rudalics <rudalics@gmx.at>
5200
5201 * window.el (window-resize, delete-window): Use window-splits
5202 variable instead of function.
5203 (window-state-get-1, window-state-put-2, window-state-put):
5204 Don't deal with windows' splits status.
5205
98282f6f
GM
52062011-11-12 Glenn Morris <rgm@gnu.org>
5207
5208 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5209 (apropos-documentation): Doc fixes.
5210
40a8bdf6
JB
52112011-11-11 Juanma Barranquero <lekktu@gmail.com>
5212
5213 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5214 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5215
65bd19ff
SM
52162011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5217
5218 * electric.el (electric-indent-post-self-insert-function): Make it
5219 possible for a char to only indent in some circumstances.
5220 (electric-indent-mode): Simplify.
5221
54f9154c
MR
52222011-11-11 Martin Rudalics <rudalics@gmx.at>
5223
5224 * window.el (windows-with-parameter): Remove unused function.
5225 (windows-at-side): Rename to window-at-side-list.
5226 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5227 (window-side-check, window-size-ignore, window-size-fixed-1)
5228 (window-in-direction-2): Prefix with "window--".
5229 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5230
68cbc58b
GM
52312011-11-11 Glenn Morris <rgm@gnu.org>
5232
5233 * subr.el (eval-after-load): If FILE is already loaded,
5234 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5235
b2621720
GM
52362011-11-10 Glenn Morris <rgm@gnu.org>
5237
9a4de110
GM
5238 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5239 Call svn via vc-svn-command rather than vc-do-command.
5240 (vc-svn-command): Add --non-interactive. (Bug#9993)
5241 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5242
b2621720
GM
5243 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5244 Add toggle-read-only. (Bug#7292)
5245 * files.el (toggle-read-only): Mention that it should only
5246 be used interactively. (Bug#10006)
5247
1dce7193
SM
52482011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5249
d9ac1a1e
SM
5250 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5251 Adjust regexp for OCaml warnings.
5252
0c325082
SM
5253 * electric.el (electric-pair-post-self-insert-function): Let user
5254 turn it off buffer-locally (bug#9932).
5255
90132c14
SM
5256 * progmodes/python.el (python-beginning-of-statement):
5257 Rewrite (bug#2703).
5258
1dce7193
SM
5259 * progmodes/compile.el: Better handle TABs (bug#9749).
5260 (compilation-internal-error-properties)
5261 (compilation-next-error-function): Obey the target buffer's
5262 compilation-error-screen-columns.
5263
c4e7c63a
JB
52642011-11-09 Juanma Barranquero <lekktu@gmail.com>
5265
5266 * progmodes/meta-mode.el: Remove obsolete comments.
5267 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5268 Fix typos in docstrings.
5269
2cffd681
MR
52702011-11-09 Martin Rudalics <rudalics@gmx.at>
5271
5272 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5273 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5274 (window--resizable): New function. Make all callers of
5275 window-resizable call window--resizable instead.
5276 (window-resizable): Rewrite in terms of window--resizable.
5277
0edcba87
GM
52782011-11-08 Glenn Morris <rgm@gnu.org>
5279
5280 * progmodes/delphi.el (delphi-mode-syntax-table):
5281 Let define-derived-mode define a proper syntax table. (Bug#9994)
5282
4b0d61e3
SM
52832011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * window.el: Stay away from defsubst.
5286 (window-list-no-nils): Remove.
5287 (window-state-get-1, window-state-get): Use backquote instead.
5288
cd394be1 52892011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5290
4b0d61e3 5291 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5292 Fix incorrect use of default argument in `completing-read'.
5293
e1c2c6f2
MR
52942011-11-08 Martin Rudalics <rudalics@gmx.at>
5295
5296 * window.el (display-buffer-function, special-display-function):
5297 Mention display-buffer-record-window but do not mention
5298 help-setup parameter in doc-strings.
b3f4a882 5299 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5300
105216ed
CY
53012011-11-08 Chong Yidong <cyd@gnu.org>
5302
5303 * window.el (window-total-height, window-total-width): Doc fix.
5304 (window-body-size): Move from C.
5305 (window-body-height, window-body-width): Move to C.
5306
0a9f9ab5
SM
53072011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * window.el: Make special-display like display-buffer-alist (bug#9532).
5310 (display-buffer--special-action): New function, morphed
5311 from display-buffer--special.
5312 (display-buffer): Use it to handle special-display-buffers at higher
5313 priority (just after display-buffer-alist).
5314 (display-buffer-fallback-action, display-buffer--other-frame-action)
5315 (pop-to-buffer-same-window): Remove display-buffer--special.
5316
a769dd15
GM
53172011-11-07 Glenn Morris <rgm@gnu.org>
5318
5319 * calendar/cal-menu.el (cal-menu-set-date-title):
5320 Do nothing if not in a calendar. (Bug#9976)
5321
05a61ee3
SM
53222011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * files.el (find-file): Always use selected-window.
5325
be7f5545
MR
53262011-11-07 Martin Rudalics <rudalics@gmx.at>
5327
5328 * window.el (window-combinations): Make WINDOW argument
5329 mandatory. Rewrite doc-string.
5330 (walk-window-subtree, window-atom-check, window-min-delta)
5331 (window-max-delta, window--resize-this-window)
5332 (window--resize-root-window-vertically, window-tree)
5333 (balance-windows, window-state-put): Rewrite doc-strings as to
5334 not mention the term "subwindow".
5335 (window--resize-subwindows-skip-p): Rename to
5336 window--resize-child-windows-skip-p.
5337 (window--resize-subwindows-normal): Rename to
5338 window--resize-child-windows-normal.
5339 (window--resize-subwindows): Rename to
5340 window--resize-child-windows.
5341 (window-or-subwindow-p): Rename to window--in-subtree-p.
5342
3c6702ef
ML
53432011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5344
5345 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5346 Ensure that mbox format messages end in two newlines (Bug#9974).
5347
49745b39
CY
53482011-11-06 Chong Yidong <cyd@gnu.org>
5349
5350 * window.el (window-combination-p): Function deleted; its
5351 side-effect is not used in any existing code.
5352 (window-combinations, window-combined-p): Call window-*-child
5353 directly.
5354
24300f5f
CY
53552011-11-05 Chong Yidong <cyd@gnu.org>
5356
5357 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5358 (window-size-ignore, window-state-get): Callers changed.
5359 (window-normalize-window): Rename from window-normalize-any-window.
5360 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5361 (window-normalize-live-window): Delete.
447f16b8
CY
5362 (window-combination-p, window-combined-p, window-combinations)
5363 (walk-window-subtree, window-atom-root, window-min-size)
5364 (window-sizable, window-sizable-p, window-size-fixed-p)
5365 (window-min-delta, window-max-delta, window-resizable)
5366 (window-resizable-p, window-full-height-p, window-full-width-p)
5367 (window-current-scroll-bars, window-point-1, set-window-point-1)
5368 (window-at-side-p, window-in-direction, window-resize)
5369 (adjust-window-trailing-edge, maximize-window, minimize-window)
5370 (window-deletable-p, delete-window, delete-other-windows)
5371 (record-window-buffer, unrecord-window-buffer)
5372 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5373 (quit-window, split-window, window-state-put)
5374 (set-window-text-height, fit-window-to-buffer)
5375 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5376
89bd5ee1
EZ
53772011-11-04 Eli Zaretskii <eliz@gnu.org>
5378
53479029
EZ
5379 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5380 rfc2047-decode-string.
5381 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5382 warnings.
5383
89bd5ee1
EZ
5384 * window.el (window-body-height, window-body-width): Mention in
5385 the doc string that the return values are in frame's canonical
5386 units. (Bug#9949)
5387
bd17fdee
AM
53882011-11-03 Alan Mackenzie <acm@muc.de>
5389
5390 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5391 change in cc-engine.el.
5392
acc825c5
SM
53932011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5394
5395 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5396
1885e5b8
MR
53972011-11-02 Martin Rudalics <rudalics@gmx.at>
5398
5399 * window.el (quit-window): Call unrecord-window-buffer after
5400 showing another buffer in the window. (Bug#9937)
acc825c5 5401 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5402
ebe06da9
JB
54032011-11-02 Juanma Barranquero <lekktu@gmail.com>
5404
5405 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5406 Accept status with more than 9 shelves. (Bug#9935)
5407 Reported by Colin D Bennett <colin@gibibit.com>.
5408
4ee88440
MR
54092011-11-01 Martin Rudalics <rudalics@gmx.at>
5410
5411 * help.el (with-help-window): Don't reference
5412 temp-buffer-show-specifiers in doc-string.
5413
08e1d82c
AS
54142011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5415
5416 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5417 menu-item.
5418
84bd6e9e
VJL
54192011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5420
5421 * whitespace.el: New version 13.2.2.
5422 (whitespace-newline-mode): Disable properly. Reported by Sarah
5423 <EmacsWiki>.
5424
dba0634a
UJ
54252011-10-30 Ulf Jasper <ulf.jasper@web.de>
5426
5427 * net/newst-treeview.el: Remove "Time-stamp".
5428 (newsticker--group-manage-orphan-feeds): Do not call
5429 newsticker--treeview-tree-update.
db22a3c2
JB
5430 (newsticker-treeview-update, newsticker-treeview):
5431 Call newsticker--treeview-tree-update if necessary.
dba0634a 5432
3d8daefe
MR
54332011-10-30 Martin Rudalics <rudalics@gmx.at>
5434
5435 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5436 (window-iso-combinations): Remove "iso-" infix.
5437 Suggested by Chong Yidong.
3d8daefe
MR
5438 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5439 (window-max-delta-1, window-resize, window--resize-siblings)
5440 (window--resize-this-window, adjust-window-trailing-edge)
5441 (split-window, balance-windows-1)
5442 (shrink-window-if-larger-than-buffer):
5443 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5444 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5445
1bc4c3ae
SM
54462011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5449 in place (bug#9907).
5450 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5451 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5452 (eshell-structure-basic-command, eshell-rewrite-while-command)
5453 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5454 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5455 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5456 (eshell-do-pipelines-synchronously, eshell-eval-command):
5457 Use backquotes and prefer setq to set.
5458 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5459 (eshell-macrop): Use functionp.
c1e2f5fa 5460 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5461
30b65d9c
CY
54622011-10-30 Chong Yidong <cyd@gnu.org>
5463
5464 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5465 instead of set-mark (Bug#9810).
5466
2d197ffb
CY
54672011-10-30 Chong Yidong <cyd@gnu.org>
5468
5469 * window.el (split-window-below, split-window-right): Rename from
5470 split-window-above-each-other and split-window-side-by-side
5471 respectively. All callers changed.
5472 (split-window-sensibly, split-window-sensibly): Use them.
5473 (split-window-keep-point): Doc fix.
5474
5475 * isearch.el: Add isearch-scroll property to split-window-below
5476 and split-window-right.
5477
5478 * follow.el (follow-mode):
5479 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5480 * progmodes/ada-xref.el (ada-gdb-application):
5481 * emulation/vip.el (vip-buffer-in-two-windows):
5482 * image-dired.el (image-dired-dired-with-window-configuration):
5483 * dired-x.el (dired-do-find-marked-files):
5484 * dired.el (dired-pop-to-buffer):
5485 * bs.el (bs--show-with-configuration):
5486 * vc/emerge.el (emerge-setup-windows):
5487 * textmodes/two-column.el (2C-two-columns):
5488 * textmodes/reftex-toc.el (reftex-toc):
5489 * progmodes/gdb-mi.el (gdb-setup-windows):
5490 * progmodes/fortran.el (fortran-window-create):
5491 * net/newst-treeview.el (newsticker--treeview-window-init):
5492 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5493 * emulation/tpu-edt.el (tpu-gold-map):
5494 * emulation/crisp.el (crisp-mode-map):
5495 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5496
38bb2ca8
CY
54972011-10-29 Chong Yidong <cyd@gnu.org>
5498
aa4de341
CY
5499 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5500
e1eb5385
CY
5501 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5502
5d2ece3c
CY
5503 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5504 forged Ispell output (Bug#7904).
5505
38bb2ca8
CY
5506 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5507
d0af9f77
SM
55082011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * doc-view.el: Avoid ugly errors about not finding nil.
5511 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5512 (doc-view-dvipdf-program, doc-view-unoconv-program)
5513 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5514 Avoid nil or absolute file name as default value.
5515 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5516
52bedd34
AM
55172011-10-28 Alan Mackenzie <acm@muc.de>
5518
db22a3c2 5519 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5520
7e43cfa5
AM
55212011-10-28 Alan Mackenzie <acm@muc.de>
5522
5523 Amend the handling of c-beginning/end-of-defun in nested declaration
5524 scopes.
5525
52bedd34
AM
5526 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5527 cc-langs.el. Change it to a defcustom.
7e43cfa5 5528
52bedd34
AM
5529 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5530 cc-vars.el.
7e43cfa5 5531
d0af9f77
SM
5532 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5533 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5534
52bedd34 5535 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5536 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5537 (c-widen-to-enclosing-decl-scope): New function.
5538 (c-while-widening-to-decl-block): New macro.
5539 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5540 outward for defun boundaries, and correspondingly change symbol
5541 `respect-enclosure' to `go-outward'.
5542 (c-declaration-limits): Change algorithm to report only the "innermost"
5543 defun's boundaries.
5544
1a2ce9ee
DD
55452011-10-28 Deniz Dogan <deniz@dogan.se>
5546
5547 * net/rcirc.el (rcirc-mode): Use hard newlines.
5548
bc97a826
AM
55492011-10-28 Alan Mackenzie <acm@muc.de>
5550
5551 Amend to indent and fontify macros "which include their own semicolon"
5552 correctly, using the "virtual semicolon" mechanism.
5553
52bedd34 5554 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5555
d0af9f77 5556 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5557 Recode to scan one line at a time rather than having \n and \r
58179cce 5558 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5559 (c-forward-label): Amend for virtual semicolons.
58179cce 5560 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5561
52bedd34
AM
5562 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5563 of the new C macros.
bc97a826 5564
52bedd34 5565 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5566 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5567 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5568 (c-opt-cpp-macro-define): Make into a full language variable.
5569 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5570 AWK Mode (including \n, \r) removed, no longer needed.
5571
d0af9f77
SM
5572 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5573 Invoke c-make-macro-with-semi-re.
bc97a826 5574
52bedd34
AM
5575 * progmodes/cc-vars.el (c-macro-with-semi-re):
5576 (c-macro-names-with-semicolon): New variables.
58179cce 5577 (c-make-macro-with-semi-re): New function.
bc97a826 5578
7a6c0941
SM
55792011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * vc/log-edit.el: Fill empty field rather than adding new one.
5582 (log-edit-add-field): New function.
5583 (log-edit-insert-changelog): Use it.
5584
b0c4cdcf
ML
55852011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5586
5587 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5588
ee1f1da9
SM
55892011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5592 (gdb--check-interpreter): New function.
5593 (gdb): Use it.
5594
51bc5f8b
GM
55952011-10-27 Glenn Morris <rgm@gnu.org>
5596
416a2c45
GM
5597 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5598 (least-positive-float, least-negative-float)
5599 (least-positive-normalized-float, least-negative-normalized-float)
5600 (float-epsilon, float-negative-epsilon):
5601 Remove unnecessary declarations.
5602
5603 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5604 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5605 (least-positive-float, least-negative-float)
5606 (least-positive-normalized-float, least-negative-normalized-float)
5607 (float-epsilon, float-negative-epsilon): Add doc-strings,
5608 based on those in cl.texi.
5609
51bc5f8b
GM
5610 * files.el (set-visited-file-name): If the major-mode changed,
5611 reload the local variables. (Bug#9796)
5612
15de15c6
CY
56132011-10-27 Chong Yidong <cyd@gnu.org>
5614
5615 * subr.el (change-major-mode-after-body-hook): New hook.
5616 (run-mode-hooks): Run it.
5617
ee1f1da9
SM
5618 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5619 Use change-major-mode-before-body-hook.
15de15c6
CY
5620
5621 * simple.el (fundamental-mode):
5622 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5623 change introducing fundamental-mode-hook.
5624
5430d399
JB
56252011-10-26 Juanma Barranquero <lekktu@gmail.com>
5626
acc825c5 5627 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5628
ad74a69e
MA
56292011-10-26 Michael Albinus <michael.albinus@gmx.de>
5630
5631 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5632 tramp.el explicitly. (Bug#7583)
ad74a69e 5633
71d4c2a5
SM
56342011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * progmodes/octave-mod.el:
5637 * progmodes/octave-inf.el: Update maintainer.
5638
b1f6fa26
CY
56392011-10-26 Chong Yidong <cyd@gnu.org>
5640
5641 * subr.el (with-wrapper-hook): Rewrite doc.
5642
3f04efd6
MA
56432011-10-25 Michael Albinus <michael.albinus@gmx.de>
5644
5645 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5646 filenames "/method:foo:". (Bug#9793)
3f04efd6 5647
410488d3
SM
56482011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5649
5650 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5651 (bug#9865).
5652
c1ebb47e
GM
56532011-10-24 Glenn Morris <rgm@gnu.org>
5654
5655 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5656
7f5c46c7
MA
56572011-10-24 Michael Albinus <michael.albinus@gmx.de>
5658
5659 * notifications.el: Add the requirement of a running D-Bus session
5660 bus to the Commentary.
5661
db2440b6
JL
56622011-10-24 Juri Linkov <juri@jurta.org>
5663
5664 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5665 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5666 (Bug#9364)
5667
feecf435
JL
56682011-10-24 Juri Linkov <juri@jurta.org>
5669
5670 * info.el (Info-following-node-name-re): Add newline to the list
5671 of allowed characters for leading space. (Bug#9824)
5672
a3839de2
SM
56732011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5674
acc825c5
SM
5675 * progmodes/octave-inf.el (inferior-octave-mode-map):
5676 Fix C-c C-h binding.
a3839de2
SM
5677 * progmodes/octave-mod.el (octave-help): Remove.
5678
09388e76
MA
56792011-10-23 Michael Albinus <michael.albinus@gmx.de>
5680
5681 Sync with Tramp 2.2.3.
5682
5683 * net/tramp-cache.el (top): Pacify byte-compiler using
5684 `init-file-user' and `site-run-file'.
5685
5686 * net/trampver.el: Update release number.
5687
86c60681
CY
56882011-10-23 Chong Yidong <cyd@gnu.org>
5689
5690 * files.el (toggle-read-only): Remove obsolete comment about
5691 version control.
5692
5693 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5694 for toggle-read-only. Note that this hasn't called vc-next-action
5695 since 2008-05-02, though it wasn't documented at the time.
5696
a3839de2
SM
5697 * vc/ediff-init.el (ediff-toggle-read-only-function):
5698 Use toggle-read-only.
86c60681 5699
cd5495ff
AM
57002011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5701
5702 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5703 of c-parse-state.
5704
00b77525 5705 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5706 correct faulty logical expression.
cd5495ff
AM
5707 (c-parse-state-state, c-record-parse-state-state):
5708 (c-replay-parse-state-state): New defvar/defuns.
5709 (c-debug-parse-state): Use new functions.
5710
42ee24ed
MR
57112011-10-22 Martin Rudalics <rudalics@gmx.at>
5712
5713 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5714 last fix. Use window-in-direction correctly.
42ee24ed 5715
a7dee7e7
CY
57162011-10-21 Chong Yidong <cyd@gnu.org>
5717
5718 * progmodes/idlwave.el (idlwave-mode):
5719 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5720 require-final-newline; that's done in prog-mode.
5721 Suggested by Stefan Monnier.
a7dee7e7 5722
e07b9a6d
MR
57232011-10-21 Martin Rudalics <rudalics@gmx.at>
5724
5725 * mouse.el (mouse-drag-window-above)
5726 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5727 (mouse-drag-mode-line-1, mouse-drag-header-line)
5728 (mouse-drag-vertical-line-rightward-window): Remove.
5729 (mouse-drag-line): New function.
5730 (mouse-drag-mode-line, mouse-drag-header-line)
5731 (mouse-drag-vertical-line): Call mouse-drag-line.
5732 * window.el (window-at-side-p, windows-at-side): New functions.
5733
7e1361d9
UM
57342011-10-21 Ulrich Mueller <ulm@gentoo.org>
5735
5736 * tar-mode.el (tar-grind-file-mode):
5737 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5738
30fcaf3a
CY
57392011-10-21 Chong Yidong <cyd@gnu.org>
5740
5741 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5742 * progmodes/vera-mode.el (vera-mode):
5743 Use mode-require-final-newline.
30fcaf3a 5744
516eddb0
GM
57452011-10-20 Glenn Morris <rgm@gnu.org>
5746
db22a3c2 5747 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5748
10d5f513
CS
57492011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5750
5751 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5752
ac6c8639
CY
57532011-10-20 Chong Yidong <cyd@gnu.org>
5754
5755 * emulation/cua-base.el (cua-mode):
5756 * mail/footnote.el (footnote-mode):
5757 * mail/mailabbrev.el (mail-abbrevs-mode):
5758 * net/xesam.el (xesam-minor-mode):
5759 * progmodes/bug-reference.el (bug-reference-mode):
5760 * progmodes/cap-words.el (capitalized-words-mode):
5761 * progmodes/compile.el (compilation-minor-mode)
5762 (compilation-shell-minor-mode):
5763 * progmodes/gud.el (gud-tooltip-mode):
5764 * progmodes/hideif.el (hide-ifdef-mode):
5765 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5766 * progmodes/subword.el (subword-mode):
5767 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5768 * progmodes/which-func.el (which-function-mode):
5769 * term/tvi970.el (tvi970-set-keypad-mode):
5770 * term/vt100.el (vt100-wide-mode):
5771 * textmodes/flyspell.el (flyspell-mode):
5772 * textmodes/ispell.el (ispell-minor-mode):
5773 * textmodes/nroff-mode.el (nroff-electric-mode):
5774 * textmodes/paragraphs.el (use-hard-newlines):
5775 * textmodes/refill.el (refill-mode):
5776 * textmodes/reftex.el (reftex-mode):
5777 * textmodes/rst.el (rst-minor-mode):
5778 * textmodes/sgml-mode.el (html-autoview-mode)
5779 (sgml-electric-tag-pair-mode):
5780 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5781 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5782 * emulation/crisp.el (crisp-mode):
5783 * emacs-lisp/eldoc.el (eldoc-mode):
5784 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5785 minor mode behavior.
5786
aa42ab43
JL
57872011-10-19 Juri Linkov <juri@jurta.org>
5788
5789 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5790 the list of hard-coded chars with escape-glyph face.
5791
89400f1d
SM
57922011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5793
5794 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5795
305c07f6
MA
57962011-10-19 Michael Albinus <michael.albinus@gmx.de>
5797
5798 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5799 running process.
5800
13754b54
GM
58012011-10-19 Glenn Morris <rgm@gnu.org>
5802
5803 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5804 Ignore ignored files. (Bug#9726)
5805
06e21633
CY
58062011-10-19 Chong Yidong <cyd@gnu.org>
5807
5808 Doc fix for minor modes, stating that an omitted argument enables
5809 the mode unconditionally when called from Lisp.
5810
5811 * abbrev.el (abbrev-mode):
5812 * allout.el (allout-mode):
5813 * autoinsert.el (auto-insert-mode):
5814 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5815 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5816 (global-auto-revert-mode):
5817 * battery.el (display-battery-mode):
5818 * composite.el (global-auto-composition-mode)
5819 (auto-composition-mode):
5820 * delsel.el (delete-selection-mode):
5821 * desktop.el (desktop-save-mode):
5822 * dired-x.el (dired-omit-mode):
5823 * dirtrack.el (dirtrack-mode):
5824 * doc-view.el (doc-view-minor-mode):
5825 * double.el (double-mode):
5826 * electric.el (electric-indent-mode, electric-pair-mode):
5827 * emacs-lock.el (emacs-lock-mode):
5828 * epa-hook.el (auto-encryption-mode):
5829 * follow.el (follow-mode):
5830 * font-core.el (font-lock-mode):
5831 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5832 * help.el (temp-buffer-resize-mode):
5833 * hilit-chg.el (highlight-changes-mode)
5834 (highlight-changes-visible-mode):
5835 * hi-lock.el (hi-lock-mode):
5836 * hl-line.el (hl-line-mode, global-hl-line-mode):
5837 * icomplete.el (icomplete-mode):
5838 * ido.el (ido-everywhere):
5839 * image-file.el (auto-image-file-mode):
5840 * image-mode.el (image-minor-mode):
5841 * iswitchb.el (iswitchb-mode):
5842 * jka-cmpr-hook.el (auto-compression-mode):
5843 * linum.el (linum-mode):
5844 * longlines.el (longlines-mode):
5845 * master.el (master-mode):
5846 * mb-depth.el (minibuffer-depth-indicate-mode):
5847 * menu-bar.el (menu-bar-mode):
5848 * minibuf-eldef.el (minibuffer-electric-default-mode):
5849 * mouse-sel.el (mouse-sel-mode):
5850 * msb.el (msb-mode):
5851 * mwheel.el (mouse-wheel-mode):
5852 * outline.el (outline-minor-mode):
5853 * paren.el (show-paren-mode):
5854 * recentf.el (recentf-mode):
5855 * reveal.el (reveal-mode, global-reveal-mode):
5856 * rfn-eshadow.el (file-name-shadow-mode):
5857 * ruler-mode.el (ruler-mode):
5858 * savehist.el (savehist-mode):
5859 * scroll-all.el (scroll-all-mode):
5860 * scroll-bar.el (scroll-bar-mode):
5861 * server.el (server-mode):
5862 * shell.el (shell-dirtrack-mode):
5863 * simple.el (auto-fill-mode, transient-mark-mode)
5864 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5865 (line-number-mode, column-number-mode, size-indication-mode)
5866 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5867 * strokes.el (strokes-mode):
5868 * time.el (display-time-mode):
5869 * t-mouse.el (gpm-mouse-mode):
5870 * tool-bar.el (tool-bar-mode):
5871 * tooltip.el (tooltip-mode):
5872 * type-break.el (type-break-mode-line-message-mode)
5873 (type-break-query-mode):
5874 * view.el (view-mode):
5875 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5876 (global-whitespace-mode, global-whitespace-newline-mode):
5877 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5878
a3839de2
SM
5879 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5880 Fix autogenerated docstring.
06e21633 5881
5214e501
JL
58822011-10-19 Juri Linkov <juri@jurta.org>
5883
5884 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5885 by checking environment variables "DESKTOP_SESSION" and
5886 "XDG_CURRENT_DESKTOP". (Bug#9779)
5887
195f8db9
JL
58882011-10-19 Juri Linkov <juri@jurta.org>
5889
5890 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5891 (browse-url-chromium-program, browse-url-chromium-arguments):
5892 New defcustoms.
5893 (browse-url-default-browser): Check for `browse-url-chromium' and
5894 call `browse-url-chromium-program'.
5895 (browse-url-chromium): New command. (Bug#9779)
5896
343a34ff
JB
58972011-10-18 Juanma Barranquero <lekktu@gmail.com>
5898
5899 * facemenu.el (list-colors-duplicates): On Windows, detect more
5900 duplicates by assuming that only colors matching "^System" are
5901 special "system colors". (Bug#9722)
5902
6978a151
SM
59032011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5906 to distinguish the author from the committer.
5907
6a80b297
MA
59082011-10-18 Michael Albinus <michael.albinus@gmx.de>
5909
5910 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5911
b31a5677
JK
59122011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5913
5914 * international/mule.el (sgml-html-meta-auto-coding-function):
5915 Add support for detecting encoding in HTML5 specified only as
5916 <meta charset="UTF-8">. Implementation just makes http-equiv and
5917 content-type parts from HTML4 encoding string optional. (Bug#9716)
5918
80c6d77f
GM
59192011-10-18 Glenn Morris <rgm@gnu.org>
5920
5921 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5922
08b0fee8
CY
59232011-10-18 Chong Yidong <cyd@gnu.org>
5924
5925 * faces.el (cursor): Doc fix.
5926
67e729a5
CY
59272011-10-17 Chong Yidong <cyd@gnu.org>
5928
5929 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5930
343a34ff 59312011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5932
5933 * dirtrack.el (dirtrack): Support shell buffers with path
5934 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5935
0bc06380
TZ
59362011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5937
5938 * json.el: Bump version to 1.3 and note change in History.
5939 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5940
8b79f3e0
SM
59412011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5a7c536b
SM
5943 * comint.el (comint-insert-input, comint-send-input)
5944 (comint-get-old-input-default, comint-backward-matching-input)
5945 (comint-next-prompt): Use nil instead of `input' for field property of
5946 past user input (bug#114).
5947
96a8a0df
SM
5948 * minibuffer.el (completion--replace): Inherit surrounding properties
5949 (bug#114).
5950 (minibuffer-complete-and-exit): Use it.
5951
8b79f3e0
SM
5952 * comint.el (comint--table-subvert): Quote the all-completions output
5953 (bug#9160).
5954
b8f7ff0d
MR
59552011-10-17 Martin Rudalics <rudalics@gmx.at>
5956
8b79f3e0 5957 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5958
b8f7ff0d 5959 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5960 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5961 entries and separate them from frame entries.
5962
c235b555
GM
59632011-10-15 Glenn Morris <rgm@gnu.org>
5964
5965 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5966 Doc fixes.
5967
6bbfa6e1
CY
59682011-10-15 Chong Yidong <cyd@stupidchicken.com>
5969
8b79f3e0
SM
5970 * net/network-stream.el (network-stream-open-starttls):
5971 Improve detection of failure due to lack of TLS support.
ec5c990d 5972
6bbfa6e1
CY
5973 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5974 putting the input text in front and in bold.
5975
98488977
SM
59762011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5977
3d1337be
SM
5978 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5979
ee0b45e4
SM
5980 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5981 empty buffer.
5982
98488977
SM
5983 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5984 unread-command-events rather than pushing yet-another event.
5985
186f4720
EZ
59862011-10-14 Eli Zaretskii <eliz@gnu.org>
5987
5988 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5989 the explanation of the possible choices. Make the options passed
5990 to completing-read shorter.
5991
8b7a997c
AM
59922011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5993
5994 * textmodes/flyspell.el (flyspell-large-region): Make sure
5995 extended character mode is used if defined (Bug#1339).
5996
12587bbb
EZ
59972011-10-13 Eli Zaretskii <eliz@gnu.org>
5998
5999 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6000 character info for LRE, LRO, RLE, and RLO characters by appending
6001 an invisible PDF.
12587bbb 6002
bad41229
SM
60032011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6004
6005 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6006 even in case of error; add debug spec; simplify data flow.
6007 (with-timeout-handler): Remove.
6008
28dbc92f
MA
60092011-10-12 Michael Albinus <michael.albinus@gmx.de>
6010
6011 Fix Bug#6019, Bug#9315.
6012
6013 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6014 complete `buffer-file-name', the local file name part could look
6015 remotely (for example on VMS).
6016
6017 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6018 `tramp-run-real-handler'.
6019 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6020 already quoted by '"'.
6021
6022 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6023 Let `file-name-handler-alist' be nil, the local file name part
6024 could look remotely (for example on VMS).
6025
e1b0b23a
SM
60262011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6029 from here...
6030 (flyspell-post-command-hook): ...to here.
6031
a120bde9
SM
60322011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6033
6034 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6035 if not needed.
6036 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6037 using completion. Protect against "slow" callers.
6038 Remove the "message hack".
6039
7ce7717b
JL
60402011-10-11 Juri Linkov <juri@jurta.org>
6041
6042 * isearch.el (isearch-lazy-highlight-word): New variable.
6043 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6044 Use it. (Bug#9727)
6045
c02ee9d6
GM
60462011-10-11 Glenn Morris <rgm@gnu.org>
6047
6048 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6049 like f90-previous-statement does.
6050
93e616fd 60512011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6052
1f190e73 6053 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6054 only in interactive use, to avoid error.
6055
af7b6078
SM
60562011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6057
6058 * minibuffer.el (completion-file-name-table): Fix last change,
6059 i.e. ignore normal errors but not the other ones.
6060
0563dae9
MR
60612011-10-10 Martin Rudalics <rudalics@gmx.at>
6062
6063 * window.el (special-display-buffer-names)
6064 (special-display-regexps): Remove some remnants of earlier
6065 changes from doc-strings.
366ca7f3
MR
6066 (quit-windows-on): New function.
6067
6068 * vc/vc.el (vc-revert, vc-rollback):
6069 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6070 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6071 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6072
49677495
MR
60732011-10-09 Martin Rudalics <rudalics@gmx.at>
6074
6075 * window.el (frame-auto-hide-function): Add version tag.
6076 (Bug#9699)
6077
56f2d1e1
MA
60782011-10-09 Michael Albinus <michael.albinus@gmx.de>
6079
6080 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6081 condition.
6082
112a6592
LL
60832011-10-09 Leo Liu <sdl.web@gmail.com>
6084
6085 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6086 (Bug#9701)
6087
0812589b
GM
60882011-10-08 Glenn Morris <rgm@gnu.org>
6089
6090 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6091 before the first code statement zero indent. (Bug#9690)
6092
b2b0776e
CY
60932011-10-08 Chong Yidong <cyd@stupidchicken.com>
6094
6095 * simple.el (count-words-region): Always count in the region.
6096 Report the number of lines and characters too.
6097 (count-words): New command, which counts in the buffer if the
6098 region is inactive, as count-words-region used to.
6099 (count-words--message): New function. Handle plurals.
6100 (count-lines-region): Make it an alias for count-words-region.
6101
6102 * bindings.el (esc-map): Replace count-lines-region with
6103 count-words-region.
6104
c557cd6b
MR
61052011-10-08 Martin Rudalics <rudalics@gmx.at>
6106
6107 * window.el (window--delete): Delete dedicated frame
6108 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6109 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6110
61a57ef4 61112011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6112
3a7d293b 6113 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6114
c3833279
CY
61152011-10-07 Chong Yidong <cyd@stupidchicken.com>
6116
6117 * bindings.el ([M-left],[M-right]): Bind to left-word and
6118 right-word respectively.
6119
21ce8245
GM
61202011-10-07 Glenn Morris <rgm@gnu.org>
6121
6122 * cus-start.el (debug-on-quit): Fix custom type.
6123
6d823bb2
LMI
61242011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6125
0181e193
LMI
6126 * subr.el (define-key-after): Clarify that the function is not
6127 useful for non-menu keymaps.
6128
6d823bb2
LMI
6129 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6130
8e3459ce 61312011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6132
21ce8245 6133 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6134 in current minibuffer (Fix bug with recursive minibuffers).
6135
a1c2d21e
CY
61362011-10-06 Chong Yidong <cyd@stupidchicken.com>
6137
6138 * progmodes/gdb-mi.el (gdb): Doc fix.
6139
5a4cf282
MR
61402011-10-05 Martin Rudalics <rudalics@gmx.at>
6141
6142 * window.el (frame-auto-hide-function): New option replacing
6143 frame-auto-delete. Suggested by Stefan Monnier.
6144 (window--delete): Call frame-auto-hide-function instead of
6145 investigating frame-auto-delete.
c96111ea
MR
6146 (window-point-1, set-window-point-1): New functions.
6147 (window-in-direction, record-window-buffer, window-state-get-1)
6148 (display-buffer-record-window): Use window-point-1 instead of
6149 window-point.
6150 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6151
9854542e
SM
61522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6155
8943cfb0
GM
61562011-10-05 Glenn Morris <rgm@gnu.org>
6157
6158 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6159 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6160
647ab967
LL
61612011-10-05 Leo Liu <sdl.web@gmail.com>
6162
6163 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6164 works with buffer object.
6165
3ddfbced
SM
61662011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * mpc.el (mpc-tool-bar-map): Add labels.
6169
bdfa5dd2
GM
61702011-10-04 Glenn Morris <rgm@gnu.org>
6171
6172 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6173
0e2070b5
MR
61742011-10-04 Martin Rudalics <rudalics@gmx.at>
6175
6176 * window.el (window--delete): New function.
6177 (frame-auto-delete): Resuscitate option.
6178 (bury-buffer, replace-buffer-in-windows)
6179 (quit-window): Rewrite using window--delete.
6180 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6181 Pass display-buffer-mark-dedicated to window--display-buffer-2
6182 (Bug#9639).
6183
3dc61a09
SM
61842011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6185
915a9b64
SM
6186 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6187 returns a list (bug#9554). Add remote file name completion.
6188 * comint.el (comint--table-subvert): Curry and get quote&unquote
6189 functions as arguments.
6190 (comint--complete-file-name-data): Adjust call accordingly.
6191 * pcomplete.el (pcomplete--table-subvert): Remove.
6192 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6193
3dc61a09
SM
6194 * minibuffer.el (completion-table-case-fold): Use currying.
6195 (completion--styles-type, completion--cycling-threshold-type):
6196 New constants.
6197 (completion-styles, completion-category-overrides)
6198 (completion-cycle-threshold): Use them.
6199 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6200 completion-table-case-fold.
6201
8ea0a993
SB
62022011-10-03 Stephen Berman <stephen.berman@gmx.net>
6203
6204 * minibuffer.el (completion-category-overrides): Fix type of styles
6205 and add more user friendly tags (bug#9660).
6206
8c24b7f6
SM
62072011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6210 (mule-input-method-string): New widget.
6211 (default-input-method, language-info-custom-alist): Use it.
6212
428fe61a
SM
62132011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6214
32c1fffd
SM
6215 * pcomplete.el: Require comint.
6216 (pcomplete--common-suffix): Remove.
6217 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6218 (pcomplete--table-subvert): Sync with comint--table-subvert.
6219 (pcomplete--entries): Use comint-completion-file-name-table.
6220 * comint.el (comint-unquote-filename): Simplify.
6221 (comint-completion-file-name-table): New function (bug#9616).
6222 (comint--complete-file-name-data): Use it.
6223
428fe61a
SM
6224 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6225 (pcmpl-gnu-tar-buffer): Remove.
6226 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6227 around. Make sure pcomplete-suffix-list is only changed temporarily.
6228 Don't look inside the tar's file if it's too large.
428fe61a 6229
04c52e2f
CY
62302011-10-01 Chong Yidong <cyd@stupidchicken.com>
6231
ce3cefcc
CY
6232 * cus-edit.el (custom-mode-map):
6233 * epa.el (epa-key-list-mode-map):
6234 * man.el (Man-mode-map):
6235 * startup.el (splash-screen-keymap):
6236 * simple.el (special-mode-map): Use scroll-up-command and
6237 scroll-down-command.
6238
6239 * progmodes/idlw-help.el (idlwave-help-mode-map):
6240 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6241 * net/newst-plainview.el (newsticker-mode-map):
6242 * emulation/ws-mode.el (wordstar-mode-map):
6243 * emulation/vi.el (vi-com-map):
6244 * calc/calc-graph.el (calc-graph-show-dumb):
6245 * term/sun.el (terminal-init-sun):
6246 * term/ns-win.el (global-map):
6247 * progmodes/grep.el (grep-mode-map):
6248 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6249 * mail/rmail.el (rmail-mode-map):
6250 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6251
04c52e2f
CY
6252 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6253 custom-safe-themes as special.
6254
79adf8c8
JD
62552011-10-01 Julien Danjou <julien@danjou.info>
6256
6257 * notifications.el (notifications-notify): Fix docstring.
6258
63bd50d3
PS
62592011-10-01 Per Starbäck <per@starback.se>
6260
6261 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6262
199e4c7e
MR
62632011-09-30 Martin Rudalics <rudalics@gmx.at>
6264
6265 * startup.el (command-line-1): Fix last fix by inserting
6266 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6267 (Bug#9605) and (Bug#9636)
199e4c7e 6268
fe5f08dd
EZ
62692011-09-29 Eli Zaretskii <eliz@gnu.org>
6270
6271 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6272 window is hscrolled, move by logical lines. (Bug#9607)
6273 (line-move-visual): Update the doc string to the above effect.
6274
b5516bbd
MR
62752011-09-29 Martin Rudalics <rudalics@gmx.at>
6276
ccee00c0
MR
6277 * window.el (display-buffer-record-window): When WINDOW is the
6278 selected window use `point' instead of `window-point'. (Bug#9626)
6279
b5516bbd
MR
6280 * startup.el (command-line-1): Use insert-before-markers when
6281 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6282
b5516bbd
MR
6283 * help.el (help-window): Remove variable.
6284
52aa0014
GM
62852011-09-29 Glenn Morris <rgm@gnu.org>
6286
6287 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6288
df9a7357
JB
62892011-09-29 Juanma Barranquero <lekktu@gmail.com>
6290
6291 * descr-text.el (describe-char-categories): Accept category
6292 descriptions more than one line long.
6293
a8406c20
SM
62942011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6295
88d9610c
SM
6296 * simple.el (delete-trailing-whitespace): Fix last change.
6297
a5daf810
SM
6298 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6299 Don't confuse "y => 3" as the beginning of a `y' operation.
6300
a8406c20
SM
6301 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6302 object has more than 4 slots (bug#9613).
6303
a239d4e9
JB
63042011-09-28 Juanma Barranquero <lekktu@gmail.com>
6305
6306 * subr.el (with-output-to-temp-buffer):
6307 * net/quickurl.el (quickurl, quickurl-browse-url):
6308 Fix typos in docstrings.
6309
693fbdb6
EZ
63102011-09-27 Eli Zaretskii <eliz@gnu.org>
6311
6312 * minibuffer.el (completion-styles)
6313 (completion-category-overrides): Cross reference each other in doc
6314 strings.
6315
8b457e28
GM
63162011-09-27 Glenn Morris <rgm@gnu.org>
6317
6318 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6319 to split-string. (Bug#9606)
6320
85a16208
LMI
63212011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6322
6323 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6324 (bug#9615).
6325
502f9ebd
CY
63262011-09-27 Chong Yidong <cyd@stupidchicken.com>
6327
6328 * emacs-lisp/package.el (list-packages): Fix echo area message.
6329
7690bdea
LL
63302011-09-27 Leo Liu <sdl.web@gmail.com>
6331
6332 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6333
e2ee6f30
MA
63342011-09-25 Michael Albinus <michael.albinus@gmx.de>
6335
6336 * net/dbus.el (dbus-unregister-object): Don't release services for
6337 registered signals. (Bug#9581)
6338
f3f98342
TZ
63392011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6340
6341 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6342 function that picks between cfengine 2 and 3 support
6343 automatically. Update docs accordingly.
6344
dd7aa8dd
KH
63452011-09-22 Kenichi Handa <handa@m17n.org>
6346
6347 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6348 ZERO.
6349 (indian-itrans-v5-table-for-tamil): New variable.
6350 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6351
3f2b07f8
KM
63522011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6353
6354 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6355 that's true if the current command involved collapsing of text.
6356 It's reset to false at the beginning of the next command.
6357 (allout-post-command-business): Move the cursor to the beginning
6358 of entry if the cursor is hidden and collapsing activity just
6359 happened.
6360
371d6a61
CY
63612011-09-24 Chong Yidong <cyd@stupidchicken.com>
6362
6363 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6364 tracking (Bug#9541).
6365
2ac2721a
UJ
63662011-09-24 Ulf Jasper <ulf.jasper@web.de>
6367
6368 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6369 (newsticker-show-news): Automatically load html rendering package
6370 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6371 because w3m-fill-column is let-bound" and the error "Symbol's value
6372 as variable is void: w3m-fill-column".
2ac2721a 6373
fac7ae53
MA
63742011-09-24 Michael Albinus <michael.albinus@gmx.de>
6375
6376 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6377 Release services only if they are defined. (Bug#9581)
6378
e08b633b
RS
63792011-09-23 Richard Stallman <rms@gnu.org>
6380
e488d29c
RS
6381 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6382 distinguish start of paragraph from start of its text.
6383
19c38752
RS
6384 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6385
e08b633b
RS
6386 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6387 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6388 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6389
0a39f27e
AS
63902011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6391
6392 * international/mule-diag.el (mule-diag): Insert a newline after
6393 each fontset description.
6394
db4e950d
SM
63952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * simple.el (delete-trailing-whitespace):
6398 Document last change; simplify.
6399
eca3f3ea
PW
64002011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6401
d68e189a
PW
6402 * simple.el (delete-trailing-whitespace): Also delete
6403 extra newlines at the end of the buffer.
6404
eca3f3ea
PW
6405 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6406 (picture-newline): Use forward-line so as to ignore fields.
6407
01c157cc
SM
64082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 * subr.el (with-wrapper-hook): Fix edebug spec.
6411
022de23e
LMI
64122011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6413
6414 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6415 (bug#4538).
6416
91683089
MA
64172011-09-23 Michael Albinus <michael.albinus@gmx.de>
6418
eca3f3ea
PW
6419 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6420 Fix nasty bug using wrong cached values.
91683089 6421
5bdd6fa4
AM
64222011-09-23 Alan Mackenzie <acm@muc.de>
6423
6424 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6425
97adfb97
CY
64262011-09-23 Chong Yidong <cyd@stupidchicken.com>
6427
6428 * window.el (pop-to-buffer): Ensure right window is selected if we
6429 chose another frame.
6430
d4ef2b50
EZ
64312011-09-22 Eli Zaretskii <eliz@gnu.org>
6432
6433 * simple.el (what-cursor-position): Use get-char-property-change
6434 and next-single-char-property-change, to be able to show display
6435 properties that come from overlays as well as text properties.
6436
72258fe5
CY
64372011-09-22 Chong Yidong <cyd@stupidchicken.com>
6438
6439 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6440
6441 * cmuscheme.el (run-scheme, switch-to-scheme):
6442 * cus-edit.el (customize-group, custom-buffer-create)
6443 (customize-browse):
6444 * info.el (info):
6445 * shell.el (shell):
6446 * mail/sendmail.el (mail):
6447 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6448
8f098516
RS
64492011-09-22 Richard Stallman <rms@gnu.org>
6450
6451 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6452 move back only to line beg, don't move back over blank lines.
6453
e74f1bb6
MA
64542011-09-22 Michael Albinus <michael.albinus@gmx.de>
6455
6456 * files.el (copy-directory): Set directory attributes only in case
6457 they could be retrieved from the source directory. (Bug#9565)
6458
bfeef8b6
DK
64592011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6460
6461 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6462 (hs-find-block-beginning, hs-hide-level-recursive):
6463 Ignore strings as well as comments. (Bug#9502)
6464
7e423bb8
AS
64652011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6466
6467 * progmodes/sql.el (sql-comint-postgres):
6468 Convert port number to a string. (Bug#9566)
6469
b4d72fcf
MR
64702011-09-22 Martin Rudalics <rudalics@gmx.at>
6471
6472 * window.el (quit-window): Undedicate window when switching to
6473 previous buffer. Reported by Thierry Volpiatto
6474 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6475 (special-display-popup-frame): When popping up a new frame reset
6476 its previous buffers to nil. Simplify code.
b4d72fcf 6477
a7b88dc6
MA
64782011-09-21 Michael Albinus <michael.albinus@gmx.de>
6479
6480 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6481 and process filter, as done also in `shell-command'.
6482
cf4eacfd
MR
64832011-09-21 Martin Rudalics <rudalics@gmx.at>
6484
eca3f3ea 6485 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6486 Call set-window-start with NOFORCE argument t.
6487 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6488 (quit-window): Reword doc-string. Handle new format of
6489 quit-restore parameter. Don't delete window if it has a
6490 previous buffer we can show instead of the present one.
6491 (display-buffer-record-window): Rewrite using a new format for
6492 the quit-restore window parameter
6493 (special-display-popup-frame, display-buffer-same-window)
6494 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6495 (display-buffer-pop-up-window, display-buffer-use-some-window):
6496 Adapt symbol passed to display-buffer-record-window.
6497 * help.el (help-window-setup): Handle new format of quit-restore
6498 parameter.
6499
8d28cb95
SM
65002011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6501
94ab793f
SM
6502 * faces.el (face-list): Fix docstring (bug#9564).
6503
8d28cb95
SM
6504 * window.el (display-buffer--action-function-custom-type):
6505 Don't include internal functions in the Custom interface.
6506
3820edeb
JL
65072011-09-20 Juri Linkov <juri@jurta.org>
6508
6509 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6510 (Info-forward-node, Info-backward-node, Info-next-preorder)
6511 (Info-last-preorder): Use it. (Bug#9528)
6512
5147931d
JL
65132011-09-20 Juri Linkov <juri@jurta.org>
6514
6515 * info.el (Info-last-preorder): Visit last menu item only when
6516 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6517
cf499a1a
JD
65182011-09-20 Julien Danjou <julien@danjou.info>
6519
6520 * password-cache.el (password-cache-remove): Remove entries even if the
6521 value is nil, so that password with a nil value (negative caching) is
6522 possible to invalidate.
6523
f84e2fe2
LM
65242011-09-20 Lawrence Mitchell <wence@gmx.li>
6525
6526 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6527 all whitespace around breakpoint. (Bug#9553)
6528 (f90-find-breakpoint): Only break at whitespace inside a comment.
6529
78054a46
SM
65302011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 * minibuffer.el (completion-file-name-table): Keep track of errors.
6533 (completion-table-with-predicate): Handle the case where pred1 is nil.
6534 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6535
345083b2
SM
65362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6537
e24e27be
SM
6538 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6539 (debugger-return-value): Signal an error if the debugging context does
6540 not await any return value.
6541
345083b2
SM
6542 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6543 * image-mode.el (image-toggle-display-text)
6544 (image-toggle-display-image): Stay away from evil `intangible'.
6545
08d355e3
LL
65462011-09-19 Leo Liu <sdl.web@gmail.com>
6547
6548 * replace.el (occur-revert-arguments): Make it permanent-local.
6549 (occur-mode): Don't call font-lock-defontify.
6550
f01da43f
CY
65512011-09-19 Chong Yidong <cyd@stupidchicken.com>
6552
6553 * net/ldap.el (ldap-search-internal): Don't push empty search
6554 result (Bug#9508).
6555
b6072fa6
SM
65562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6559
443d6696
MA
65602011-09-19 Michael Albinus <michael.albinus@gmx.de>
6561
6562 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6563 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6564
7cc6e154
JL
65652011-09-18 Juri Linkov <juri@jurta.org>
6566
6567 * buff-menu.el (Buffer-menu-mode-map):
6568 * dired.el (dired-mode-map):
6569 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6570 (lisp-interaction-mode-map):
6571 * emacs-lisp/package.el (package-menu-mode-map):
6572 * epa.el (epa-key-list-mode-map):
6573 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6574 (menu-bar-options-menu):
6575 * outline.el (outline-mode-menu-bar-map):
6576 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6577 * vc/vc-dir.el (vc-dir-menu-map):
6578 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6579 Capitalize non-function content words in menu item strings.
6580
6581 * dired.el (dired-mode-map): Add menu item for
6582 `image-dired-dired-toggle-marked-thumbs'.
6583
80302a81
JL
65842011-09-18 Juri Linkov <juri@jurta.org>
6585
6586 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6587 to `isearch-case-fold-search' and restore its original value
6588 after the `isearch-mode' call.
6589
46c5cf66
JL
65902011-09-18 Juri Linkov <juri@jurta.org>
6591
6592 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6593 because `zgrep' returns 1 for successful matches (bug#9226).
6594
d18b513b
JL
65952011-09-18 Juri Linkov <juri@jurta.org>
6596
6597 * info.el (Info-extract-menu-node-name): Check the second match
6598 for empty string (second test-case of bug#9528).
6599 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6600 intermediate nodes to the history (first test-case of bug#9528).
6601
72753f87
JL
66022011-09-18 Juri Linkov <juri@jurta.org>
6603
6604 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6605 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6606
c9384295
JL
66072011-09-18 Juri Linkov <juri@jurta.org>
6608
1154d12e
JB
6609 * info.el (Info-file-supports-index-cookies):
6610 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6611 outputs one more line for long file names (bug#4142).
c9384295 6612
d473dce8
CY
66132011-09-18 Chong Yidong <cyd@stupidchicken.com>
6614
6615 * newcomment.el (comment-normalize-vars): If prompting for
6616 comment-start, set comment-start-skip too (Bug#8424).
6617
2176854d
JB
66182011-09-18 Johan Bockgård <bojohan@gnu.org>
6619
6620 * icomplete.el: Fix previous fix of Bug#5849.
6621 (icomplete-mode): Don't set completion-show-inline-help.
6622 (icomplete-minibuffer-setup): Set completion-show-inline-help
6623 locally during icompletion.
6624
3aace4e4
CY
66252011-09-18 Chong Yidong <cyd@stupidchicken.com>
6626
c940224f
CY
6627 * woman.el (woman2-process-escapes): Don't delete unrecognized
6628 escapes (Bug#7843).
6629
3aace4e4
CY
6630 * files.el (inhibit-first-line-modes-regexps): Add image files.
6631 (hack-local-variables-prop-line): Return nil for malformed
6632 prop-lines (Bug#9044).
6633
710dec63
MA
66342011-09-18 Michael Albinus <michael.albinus@gmx.de>
6635
6636 * net/tramp.el (top): Don't require 'shell.
6637 (tramp-methods): Fix docstring.
6638 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6639 Return complete remote file name. Handle "smb" case.
6640 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6641 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6642
6643 * net/tramp-compat.el (top): Require 'shell.
6644
6645 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6646 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6647 `tramp-current-host'.
6648 (tramp-get-remote-tmpdir): Remove.
6649
6650 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6651 `tramp-tmpdir' entries.
6652 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6653 (tramp-smb-handle-file-attributes): Ignore errors.
6654 (tramp-smb-wait-for-output): Check also for process end.
6655
5d5ac8ec
LMI
66562011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6657
6658 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6659 when sending QUIT (bug#9312).
6660
8c0f49f0
CY
66612011-09-17 Chong Yidong <cyd@stupidchicken.com>
6662
6663 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6664 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6665 occur-mode-display-occurrence.
6666 (occur-edit-mode): Add usage message.
6667 (occur-cease-edit): New command.
6668 (occur-after-change-function): Use text properties to find the
6669 position of the prefix text.
6670 (occur-engine): Set stickiness of prefix text properties.
6671
8f1383f7
GM
66722011-09-17 Glenn Morris <rgm@gnu.org>
6673
6674 * progmodes/etags.el (complete-tag):
6675 Fix call to completion-in-region. (Bug#9526)
6676
744ba0e3
JL
66772011-09-17 Juri Linkov <juri@jurta.org>
6678
6679 * textmodes/ispell.el (ispell-word): Add to the error message
6680 the word, ispell program name and current dictionary (bug#9121).
6681 (ispell-tex-arg-end): Capitalize "error" in the error message.
6682
d9bbf400
AS
66832011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6684
6685 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6686 check. (Bug#4251)
6687
8da11505
JL
66882011-09-17 Juri Linkov <juri@jurta.org>
6689
6690 * window.el (window-safe-min-height, window-safe-min-width):
6691 Fix typos (followup to bug#9522).
6692
a91adc7e
SJ
66932011-09-17 Sven Joachim <svenjoac@gmx.de>
6694
6695 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6696
064f328a
EZ
66972011-09-16 Eli Zaretskii <eliz@gnu.org>
6698
6699 * simple.el (line-move): If goal-column is set, move by logical
6700 lines, not by display lines. (Bug#971)
6701 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6702 to reflect the above change.
6703
e69df516
SM
67042011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6705
6706 * image.el (imagemagick-register-types): Use regexp-opt.
6707
cbb0f9ab
CY
67082011-09-15 Chong Yidong <cyd@stupidchicken.com>
6709
6710 * window.el (display-buffer-base-action): Rename from
6711 display-buffer-default-action. Make default value empty.
6712 (display-buffer-overriding-action): Convert to defvar.
6713 (display-buffer-fallback-action): New var.
6714
25322144
CY
67152011-09-15 Chong Yidong <cyd@stupidchicken.com>
6716
6717 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6718 declaration.
6719 (package--add-to-archive-contents): If there is a duplicate entry
6720 with an older version, remove it.
6721 (package-menu-mark-delete, package-menu-mark-install)
6722 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6723 (package-menu-mark-obsolete-for-deletion):
6724 Use package-menu-get-status instead of a regexp search.
25322144
CY
6725 (package-menu-get-status): Use tabulated-list-entry.
6726 (package-menu-mark-upgrades): New command.
d770725a 6727 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6728 (package-menu-execute): Do installation before deletion.
6729 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6730 instead of checking major-mode.
6731 (package-menu--find-upgrades): New function.
6732
7520339c
LMI
67332011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6734
6735 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6736 passwords in the log buffer.
65a046c4
LMI
6737 (smtpmail-process-filter): Update the process marker so that the
6738 "broken by peer" status message is inserted in the right place.
7520339c 6739
d3c30954
SM
67402011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6741
3fe48822
SM
6742 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6743 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6744 bibtex-completion-at-point-function.
6745 (bibtex-completion-at-point-function): Use them.
6746
1b8b3954
SM
6747 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6748
d3c30954
SM
6749 * mpc.el (mpc-constraints-tag-lookup): New function.
6750 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6751 also to browser "album|playlist".
6752
72779976
JL
67532011-09-14 Juri Linkov <juri@jurta.org>
6754
6755 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6756 (isearch-edit-string): Use length of `isearch-string' when
6757 `isearch-fail-pos' returns nil.
6758 (isearch-message): Remove duplicate code and call
6759 `isearch-fail-pos' with arg `t'.
6760
a0bf2bcd
CY
67612011-09-14 Chong Yidong <cyd@stupidchicken.com>
6762
17bb0a2d
CY
6763 * replace.el (occur-mode-goto-occurrence): Don't force using other
6764 window (Bug#9499).
6765
a0bf2bcd
CY
6766 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6767
f678e0b6
MR
67682011-09-14 Martin Rudalics <rudalics@gmx.at>
6769
6770 * window.el (display-buffer-window): Remove.
6771 (display-buffer-record-window): Use help-setup window parameter
6772 instead of variable display-buffer-window.
6773 (display-buffer-function, special-display-buffer-names)
6774 (special-display-function): Mention help-setup parameter instead
6775 of display-buffer-window in doc-string.
d3c30954
SM
6776 * help.el (help-window-setup): New argument help-window.
6777 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6778 Reword some messages.
6779 (with-help-window): Pass window used for displaying the buffer
6780 to help-window-setup. Don't set display-buffer-window.
6781
8e39b2e8
GM
67822011-09-13 Glenn Morris <rgm@gnu.org>
6783
6784 * emacs-lisp/debug.el (debugger-make-xrefs):
6785 Preserve point. (Bug#9462)
6786
85e9c04b
CY
67872011-09-13 Chong Yidong <cyd@stupidchicken.com>
6788
6789 * window.el (window-deletable-p): Use next-frame.
6790
1b36ed6a
MR
67912011-09-13 Martin Rudalics <rudalics@gmx.at>
6792
6793 * window.el (window-auto-delete): Remove.
6794 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6795 dedication and previous buffers.
1b36ed6a
MR
6796 (switch-to-prev-buffer): Don't delete window.
6797 (delete-windows-on): Delete a window's frame if and only if the
6798 window is dedicated.
6799 (replace-buffer-in-windows): Delete buffer's window or frame if
6800 and only if window is dedicated.
6801 (quit-window): Handle quit-restore as before last change.
4d61f28d 6802 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6803
ef8ef9fb
CY
68042011-09-13 Chong Yidong <cyd@stupidchicken.com>
6805
6806 * window.el (window-deletable-p): Never delete the last frame on a
6807 given terminal.
6808
b2cba41e
GM
68092011-09-13 Glenn Morris <rgm@gnu.org>
6810
6811 * help.el (describe-key-briefly): Copy previous standard-output change.
6812
51553db6 68132011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6814
6815 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6816
b7556719
GM
68172011-09-13 Glenn Morris <rgm@gnu.org>
6818
6819 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6820 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6821
64b51947
CY
68222011-09-12 Chong Yidong <cyd@stupidchicken.com>
6823
6824 * dired-aux.el (dired-mark-read-string): Don't return default
6825 value on empty input (Bug#9361).
6826 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6827 Omit initial minibuffer contents.
6828 (dired-do-chmod): Signal an error on empty input.
6829 (dired-mark-read-string): Don't return default on empty input.
6830
6831 * files.el (file-modes-symbolic-to-number): Doc fix.
6832
393a301e
SM
68332011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6834
6835 * international/mule-cmds.el (ucs-completions): Remove.
6836 (read-char-by-name): Use complete-with-action instead; add metadata.
6837
fa5660f9
CY
68382011-09-11 Chong Yidong <cyd@stupidchicken.com>
6839
6840 * window.el (display-buffer--action-function-custom-type)
6841 (display-buffer--action-custom-type): New vars.
6842 (display-buffer-alist, display-buffer-default-action)
6843 (display-buffer-overriding-action): Add defcustom types.
6844
4a592f66
CY
6845 * frame.el (delete-other-frames): Doc fix (Bug#276).
6846
73d56dbd
LMI
68472011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6848
6849 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6850
37ac18a3
CY
68512011-09-11 Chong Yidong <cyd@stupidchicken.com>
6852
6853 Change modes that used same-window-* vars to use switch-to-buffer.
6854
6855 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6856 Use switch-to-buffer.
6857
6858 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6859 (customize-browse, custom-buffer-create-other-window):
6860 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6861
6862 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6863 (Info-prev, Info-up, Info-speedbar-goto-node)
6864 (info-display-manual): Use switch-to-buffer.
6865 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6866
6867 * mail/sendmail.el (mail): Use switch-to-buffer.
6868 (mail-recover): Use switch-to-buffer-other-window.
6869
6870 * cmuscheme.el (run-scheme, switch-to-scheme):
6871 * ielm.el (ielm):
6872 * shell.el (shell):
6873 * net/rlogin.el (rlogin):
6874 * net/telnet.el (telnet, rsh):
6875 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6876
10195bd6
AS
68772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6878
6879 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6880
b322f63a
LMI
68812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6882
39d7fed6
LMI
6883 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6884 so don't mention it (bug#9301).
ba5a81f1 6885 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6886
ee0e9f11
LMI
6887 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6888 match `x', `w32' and `ns', like the manual says (bug#9029).
6889
0b1c89c1 6890 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6891 (process-kill-buffer-query-function): Mention the buffer name in
6892 the query.
0b1c89c1 6893
77549ea8
LMI
6894 * image-mode.el (image-next-line): The line parameter is mandatory
6895 (bug#9258).
6896
803ef892
LMI
6897 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6898 which can be useful (bug#9301).
6899
12980837
LMI
6900 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6901
91054f8f
LMI
6902 * subr.el (match-string): Mention that the current buffer should
6903 be the same as the search was done in (bug#9282).
6904
b322f63a
LMI
6905 * facemenu.el: Disable the remove-* commands if the mark isn't
6906 active (bug#9162).
6907
3199b96f
CY
69082011-09-10 Chong Yidong <cyd@stupidchicken.com>
6909
6910 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6911 of display-buffer.
6912 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6913
6914 * replace.el (occur-mode-goto-occurrence)
6915 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6916 and display-buffer.
6917
6918 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6919 display-buffer.
6920
6921 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6922 special-display and same-window variables.
6923 (mail-other-window): Use switch-to-buffer-other-window.
6924 (mail-other-frame): USe switch-to-buffer-other-frame.
6925
393a301e
SM
6926 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6927 Use display-buffer-other-frame.
3199b96f
CY
6928 (gdb-display-gdb-buffer): Use pop-to-buffer.
6929
6930 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6931
6932 * progmodes/python.el: Don't set same-window-buffer-names.
6933
6934 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6935
6936 * window.el (display-buffer-alist): Add *Python*.
6937
8319e0bf
CY
69382011-09-10 Chong Yidong <cyd@stupidchicken.com>
6939
6940 * window.el (display-buffer-alist): Add entry for buffers
6941 previously handled same-window-*.
6942 (display-buffer-alist, display-buffer-default-action)
6943 (display-buffer-overriding-action): Mark as risky.
6944 (display-buffer-alist): Document action function changes.
6945 (display-buffer--same-window-action)
6946 (display-buffer--other-frame-action): New variables.
6947 (switch-to-buffer, display-buffer-other-frame): Use them.
6948 (display-buffer): Rename reuse-frame entry to reusable-frames.
6949 (display-buffer-reuse-selected-window): Function deleted.
6950 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6951 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6952 (display-buffer-special): New function.
6953 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6954 display-buffer-reuse-or-pop-window. Split off special-display
6955 part into display-buffer-special.
6956 (display-buffer-use-some-window): Don't perform any special
6957 pop-up-frames handling.
6958 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6959 (display-buffer--maybe-same-window): Rename from
0d3ff375 6960 display-buffer-maybe-same-window.
8319e0bf 6961
919a69aa
CY
6962 * info.el: Don't set same-window-regexps.
6963 (info-setup): New function.
6964 (info-other-window, info): Call it.
6965
6966 * cus-edit.el: Don't set same-window-regexps.
6967 (customize-group): New argument.
6968 (customize-group-other-window): Use it.
6969 (customize-face, customize-face-other-window): Likewise.
6970 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6971
8319e0bf
CY
6972 * net/rlogin.el:
6973 * net/telnet.el:
6974 * progmodes/gud.el: Don't set same-window-regexps.
6975
6976 * cmuscheme.el:
6977 * ielm.el:
6978 * shell.el:
6979 * mail/sendmail.el:
6980 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6981
25173000
JL
69822011-09-10 Juri Linkov <juri@jurta.org>
6983
6984 * isearch.el (isearch-edit-string): Remove obsolete mention of
6985 `C-w' (`isearch-yank-word-or-char') from docstring.
6986 (isearch-query-replace): Fix typo in docstring (bug#9466).
6987
056e44ef
JL
69882011-09-10 Juri Linkov <juri@jurta.org>
6989
6990 * paren.el (show-paren-function): Don't show escaped parens.
6991 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6992
c3760c17
EZ
69932011-09-10 Eli Zaretskii <eliz@gnu.org>
6994
6995 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6996 (mm-default-file-encoding): Remove autoload forms, they are
6997 replaced with autoload cookies in mml.el and mm-encode.el.
6998 (mail-add-attachment): New command.
6999 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7000 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7001 the doc string.
7002 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7003
fece895e
RT
70042011-09-10 Reuben Thomas <rrt@sc3d.org>
7005
e69df516
SM
7006 * simple.el (count-words-region): Use buffer if there's no region
7007 (bug#9429).
fece895e 7008
5e68ce4a
JL
70092011-09-09 Juri Linkov <juri@jurta.org>
7010
7011 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7012 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7013 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7014
0a6b9622
AM
70152011-09-09 Alan Mackenzie <acm@muc.de>
7016
7017 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7018 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7019
14a29deb
EZ
70202011-09-09 Eli Zaretskii <eliz@gnu.org>
7021
7022 Fix for Savannah bug#9392.
7023 * simple.el (mail-encode-mml): New defvar.
7024
7025 * mail/rmail.el (mail-encode-mml): Add a defvar.
7026 (rmail-enable-mime-composing): Default to t.
7027 (rmail-forward): Use MIME method of forwarding only if both
7028 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7029 Set mail-encode-mml non-nil if the MIME method was used.
7030
7031 * mail/sendmail.el (mml-to-mime): Add autoload form.
7032 (mail-encode-mml): Add a defvar.
7033 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7034 to nil.
7035 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7036 message through mml-to-mime, and reset mail-encode-mml to nil.
7037
28c45130
GM
70382011-09-09 Glenn Morris <rgm@gnu.org>
7039
7040 * woman.el (woman-if-body): When processing an .el block,
7041 do not delete the next .el block as well. (Bug#9447)
69f4b618 7042 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7043
9b1c252e
MR
70442011-09-08 Martin Rudalics <rudalics@gmx.at>
7045
7046 * window.el (window-deletable-p): Make sure window is live before
7047 invoking window-prev-buffers.
7048
567457e3
LL
70492011-09-08 Leo Liu <sdl.web@gmail.com>
7050
7051 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7052
97f05794
JL
70532011-09-08 Juri Linkov <juri@jurta.org>
7054
7055 * progmodes/compile.el (compilation-environment): Make it
7056 a defcustom (bug#8340).
7057
8b0874b5
MR
70582011-09-08 Martin Rudalics <rudalics@gmx.at>
7059
7060 * window.el (frame-auto-delete): Rename to window-auto-delete.
7061 Make it control auto-deletion of windows and/or frames.
7062 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7063 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7064 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7065 Rewrite handling of case when window/frame can be deleted.
7066 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7067 argument t. (Bug#9456)
8b0874b5 7068
4feb6e73
CY
70692011-09-07 Chong Yidong <cyd@stupidchicken.com>
7070
7071 * help-mode.el (help-mode): Restore autoload.
7072
91ab9c13
JL
70732011-09-07 Juri Linkov <juri@jurta.org>
7074
7075 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7076 `compilation-environment'. Set buffer-local
7077 `compilation-environment' to `thisenv' later after (funcall mode).
7078 (Bug#8340)
7079
7080 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7081 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7082 instead of replacing its value. (Bug#8340)
7083
0527e251
JL
70842011-09-07 Juri Linkov <juri@jurta.org>
7085
7086 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7087 based on text properties put by `grep-filter' instead of matching
7088 escape sequences.
7089 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7090 to the value of `grep-error-screen-columns' (bug#9438).
7091
249f792c
JL
70922011-09-07 Juri Linkov <juri@jurta.org>
7093
7094 * simple.el (next-error-highlight, next-error-highlight-no-select):
7095 Doc fix (bug#9432).
7096
ff7271b9
OT
70972011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7098
7099 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7100 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7101
183fc730
LL
71022011-09-07 Leo Liu <sdl.web@gmail.com>
7103
7104 * net/rcirc.el (rcirc-mode): Conditionally initialize
7105 rcirc-input-ring.
7106
77694924
SM
71072011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7108
7109 * emacs-lisp/find-func.el (find-function-C-source): Only set
7110 find-function-C-source-directory after checking that we found a source
7111 file there (bug#9440).
7112
d809b8eb
AM
71132011-09-06 Alan Mackenzie <acm@muc.de>
7114
7115 * isearch.el (isearch-other-meta-char): Wherever a key list is
7116 unread, "unread" the prefix arg, too. This fixes bug #8901.
7117
453de99f
OG
71182011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7119
7120 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7121
90439906
JL
71222011-09-05 Juri Linkov <juri@jurta.org>
7123
7124 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7125
f62bd846
JL
71262011-09-05 Juri Linkov <juri@jurta.org>
7127
7128 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7129 keeping point where processing of grep matches begins, and
7130 continue to delete remaining escape sequences from the same point.
7131 (grep-filter): Make leading zero optional in "0?1;31m" because
7132 git-grep emits "\033[1;31m" escape sequences unlike expected
7133 "\033[01;31m" as GNU Grep does (bug#9408).
7134 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7135
045820ec
JL
71362011-09-05 Juri Linkov <juri@jurta.org>
7137
7138 * subr.el (y-or-n-p): Capitalize "yes".
7139
f5e29b9b
MA
71402011-09-04 Michael Albinus <michael.albinus@gmx.de>
7141
7142 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7143 `tramp-cache-unload-hook' where appropriate.
7144 (tramp-methods): Rename `tramp-remote-sh' to
7145 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7146 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7147
7148 * net/tramp-sh.el (top): Don't require 'shell.
7149 (tramp-methods): Add `tramp-remote-shell' and
7150 `tramp-remote-shell-args' entries.
7151 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7152 (tramp-sh-handle-shell-command): Remove.
7153 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7154 Use `tramp-remote-shell'.
7155
2784c434
CY
71562011-09-03 Chong Yidong <cyd@stupidchicken.com>
7157
393a301e 7158 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7159 (sendmail-query-once): Save directly to send-mail-function.
7160 Update message-send-mail-function too.
7161
7162 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7163
464cdf56
CS
71642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7165
7166 * progmodes/python.el (python-mode-map): Use correct function to
7167 start python interpreter from menu-bar (as reported by Geert
7168 Kloosterman).
7169 (inferior-python-mode-map): Fix typo.
393a301e 7170 (python-shell-map): Remove.
464cdf56 7171
d37e5c87
DD
71722011-09-03 Deniz Dogan <deniz@dogan.se>
7173
7174 * net/rcirc.el (rcirc-print): Simplify code for
7175 rcirc-scroll-show-maximum-output. There is no need to walk
7176 through all windows to find the right one.
7177
f3ada0ee
CS
71782011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7179
7180 * help.el (help-return-method): Doc fix.
7181
1f3c99ca
MR
71822011-09-03 Martin Rudalics <rudalics@gmx.at>
7183
7184 * window.el (window-deletable-p): Don't return a non-nil value
7185 when there's a buffer that was shown in the window before.
7186 (Bug#9419)
393a301e
SM
7187 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7188 Set window's previous buffers to nil.
1f3c99ca 7189
a3cf097f
EZ
71902011-09-03 Eli Zaretskii <eliz@gnu.org>
7191
7192 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7193 newline before and after the tag line, so it doesn't interfere
7194 with determining the paragraph direction of bidirectional text.
7195
3d03de90
LL
71962011-09-03 Leo Liu <sdl.web@gmail.com>
7197
7198 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7199
c3313451
CY
72002011-09-02 Chong Yidong <cyd@stupidchicken.com>
7201
393a301e 7202 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7203 (pop-to-buffer): Change interactive spec. Pass second argument
7204 directly to display-buffer.
7205 (display-buffer): Fix interactive spec. Use functionp to
7206 distinguish between a function and a list of functions.
7207
7208 * abbrev.el (edit-abbrevs):
7209 * arc-mode.el (archive-extract):
7210 * autoinsert.el (auto-insert):
7211 * bookmark.el (bookmark-bmenu-list):
7212 * files.el (find-file):
7213 * view.el (view-buffer):
7214 * progmodes/compile.el (compilation-goto-locus):
7215 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7216
89894cd8
CY
72172011-09-02 Chong Yidong <cyd@stupidchicken.com>
7218
7219 * window.el (display-buffer-alist): Doc fix.
7220 (display-buffer): Add docstring. Don't treat
7221 display-buffer-default specially.
7222 (display-buffer-reuse-selected-window)
7223 (display-buffer-same-window, display-buffer-maybe-same-window)
7224 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7225 (display-buffer-pop-up-window)
7226 (display-buffer-reuse-or-pop-window)
7227 (display-buffer-use-some-window): New functions.
7228 (display-buffer-default-action): Use them.
393a301e 7229 (display-buffer-default): Delete.
89894cd8
CY
7230 (pop-to-buffer-1): Fix choice of actions.
7231
ae0bc9fb
SM
72322011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7233
7234 * minibuffer.el (completion--insert-strings): Don't get confused by
7235 completion entries that end with an LF char.
7236
e9d90883
EZ
72372011-09-01 Eli Zaretskii <eliz@gnu.org>
7238
7239 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7240
437014c8
CY
72412011-09-01 Chong Yidong <cyd@stupidchicken.com>
7242
7243 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7244 (display-buffer-same-window, display-buffer-other-window):
7245 New functions.
437014c8
CY
7246 (pop-to-buffer-1): New function. Use the above.
7247 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7248 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7249
7250 * view.el (view-buffer-other-window, view-buffer-other-frame):
7251 Just use pop-to-buffer.
7252
a5e063d5
TV
72532011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7254
7255 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7256
793d32bb
WH
72572011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7258
7259 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7260
d65e4c15
RS
72612011-08-31 Richard Stallman <rms@gnu.org>
7262
7263 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7264 of the separation of rmail-view-buffer from rmail-buffer.
7265 If you say no to "replace original", the decrypt is in the
7266 view buffer. If you say yes, the decrypt goes into the
7267 rmail buffer also.
7268
f818cd2a
MR
72692011-08-31 Martin Rudalics <rudalics@gmx.at>
7270
7271 * window.el (display-buffer-window): Rewrite doc-string.
7272 (display-buffer-record-window): New function.
7273 (display-buffer-macro-specifiers)
7274 (display-buffer-even-window-sizes, display-buffer-set-height)
7275 (display-buffer-set-width, display-buffer-in-window)
7276 (display-buffer-reuse-window, display-buffer-split-specifiers)
7277 (display-buffer-side-specifiers, display-buffer-split-window-1)
7278 (display-buffer-split-window, display-buffer-split-atom-window)
7279 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7280 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7281 (display-buffer-other-window-means-other-frame)
7282 (display-buffer-normalize-special)
7283 (display-buffer-normalize-default)
7284 (display-buffer-normalize-argument)
7285 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7286 (display-buffer-normalize-specifiers, display-buffer-frame)
7287 (display-buffer-same-window, display-buffer-same-frame)
7288 (display-buffer-other-window)
7289 (display-buffer-same-frame-other-window)
7290 (display-buffer-other-frame, pop-to-buffer-same-window)
7291 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7292 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7293 (switch-to-buffer-same-frame)
7294 (switch-to-buffer-other-window-same-frame)
7295 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7296 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7297 (display-buffer-alist-set): Remove.
7298 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7299 (special-display-regexps, special-display-function):
7300 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7301 parameter.
7302 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7303 (special-display-frame-alist, special-display-popup-frame)
7304 (same-window-buffer-names, same-window-regexps, same-window-p)
7305 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7306 (split-window-preferred-function, split-height-threshold)
7307 (split-width-threshold, window-splittable-p)
7308 (split-window-sensibly, window--try-to-split-window)
7309 (window--frame-usable-p, even-window-heights)
7310 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7311 (window--display-buffer-2, display-buffer-other-frame):
7312 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7313 (display-buffer-default, display-buffer-assq-regexp): New functions.
7314 (display-buffer-alist): Rewrite doc-string.
7315 (display-buffer-default-action)
7316 (display-buffer-overriding-action): New variables.
7317 (display-buffer, switch-to-buffer): Rewrite.
7318 (pop-to-buffer): Restore Emacs 23 behavior but use
7319 window-normalize-buffer-to-display.
7320 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7321 Restore Emacs 23 behavior but use
7322 window-normalize-buffer-to-switch-to.
7323 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7324 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7325 Rewrite using Emacs 23 options.
f818cd2a 7326
5bc3b51d
MA
73272011-08-31 Michael Albinus <michael.albinus@gmx.de>
7328
7329 * net/tramp.el (tramp-root-regexp): Remove.
7330 (tramp-completion-file-name-regexp-unified)
7331 (tramp-completion-file-name-regexp-separate)
7332 (tramp-completion-file-name-regexp-url): Don't use leading volume
7333 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7334 (tramp-drop-volume-letter): Simplify definition.
7335 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7336
b1a4f8e1
SM
73372011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7338
7339 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7340 (bug#9356).
7341
5664fa7b
RT
73422011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7343
b1a4f8e1 7344 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7345
9a45d6c3
JL
73462011-08-29 Juri Linkov <juri@jurta.org>
7347
7348 * isearch.el (isearch-done): Don't display message "Mark saved"
7349 when arg `edit' is non-nil to prevent its flicker in the echo area.
7350
fb87e0fb
CY
73512011-08-28 Chong Yidong <cyd@stupidchicken.com>
7352
7353 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7354 obsolete packages for deletion.
7355
09ac1c2a
CS
73562011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7357
7358 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7359 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7360 view-mode from help-mode.
7361 (help-xref-override-view-map): Remove.
7362 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7363 view-mode is not used anymore.
7364
7a1ff57f
CY
73652011-08-28 Chong Yidong <cyd@stupidchicken.com>
7366
7367 * server.el (server-port): Doc fix.
7368
b9696605
CY
7369 * cus-theme.el (custom-theme-choose-mode): Inherit from
7370 special-mode (Bug#9124).
7371 (custom-theme-choose-mode-map): Add special-mode to parent.
7372
ef8cdf8c
AM
73732011-08-28 Alan Mackenzie <acm@muc.de>
7374
7375 * progmodes/cc-fonts.el
7376 (c-make-font-lock-BO-decl-search-function): New function.
7377 (c-basic-matchers-after - "Fontify the clauses after various
7378 keywords"): Extract the three keyword lists for the 3 erroneous
7379 constructs from the list of four, and use the new function above
7380 in place of an old one.
7381
27de4e20
DD
73822011-08-28 Deniz Dogan <deniz@dogan.se>
7383
7384 * net/rcirc.el (rcirc-insert-prev-input)
7385 (rcirc-insert-next-input): Remove unused argument.
7386
356a3681
SM
73872011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7390
3fc9b218
AM
73912011-08-27 Alan Mackenzie <acm@muc.de>
7392
7393 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7394 handle function pointer parameters properly.
7395
538a061c
MR
73962011-08-27 Martin Rudalics <rudalics@gmx.at>
7397
7398 * window.el (display-buffer-reuse-window): Fix case where
7399 selected window was reused with non-nil OTHER-WINDOW argument.
7400 (Bug#9381)
7401
35b1c40c
DD
74022011-08-27 Deniz Dogan <deniz@dogan.se>
7403
7404 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7405 oftc's NickServ messages.
7406
2f6a3e79
GM
74072011-08-27 Glenn Morris <rgm@gnu.org>
7408
7409 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7410
7254299e
CY
74112011-08-26 Chong Yidong <cyd@stupidchicken.com>
7412
7413 * emacs-lisp/package.el (package-install): Call package-initialize
7414 if called interactively.
7415
f8ccf167
LL
74162011-08-26 Leo Liu <sdl.web@gmail.com>
7417
7418 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7419
3e8cd5ce
JL
74202011-08-25 Juri Linkov <juri@jurta.org>
7421
7422 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7423 `search-whitespace-regexp' (bug#9364).
7424
93eb7113
JL
74252011-08-25 Juri Linkov <juri@jurta.org>
7426
7427 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7428 `regexp-search-ring' to their global values to protect from
7429 updating by `read-from-minibuffer' (bug#9185).
7430
f65d1611
JL
74312011-08-25 Juri Linkov <juri@jurta.org>
7432
7433 * textmodes/ispell.el (ispell-command-loop): Add newline
7434 at the end of the "Use option `i'..." line.
7435
f1cf7a31
JL
74362011-08-25 Juri Linkov <juri@jurta.org>
7437
7438 * battery.el (display-battery-mode): If `battery-status-function'
7439 or `battery-mode-line-format' is nil, display the message and set
7440 `display-battery-mode' to nil (bug#9363).
7441
0c95fcf7
EZ
74422011-08-25 Eli Zaretskii <eliz@gnu.org>
7443
7444 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7445 bidi-string-mark-left-to-right; they are unnecessary now.
7446
a2ebe600
DD
74472011-08-25 Deniz Dogan <deniz@dogan.se>
7448
7449 * net/quickurl.el: Documentation typo fixes.
7450
e4ed06f1
CY
74512011-08-25 Chong Yidong <cyd@stupidchicken.com>
7452
7453 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7454
e5f1c99e
GM
74552011-08-25 Glenn Morris <rgm@gnu.org>
7456
b2948976
GM
7457 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7458
e5f1c99e
GM
7459 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7460 (smtpmail-via-smtp): Handle nil response from smtp.
7461
f22f4808
JL
74622011-08-24 Juri Linkov <juri@jurta.org>
7463
7464 * proced.el (proced-marked): Inherit from `error' instead of
7465 `font-lock-warning-face'.
7466
7467 * ibuffer.el (ibuffer-marked-face): Change default face from
7468 `font-lock-warning-face' to `warning'.
7469 (ibuffer-deletion-face): Change default face from
7470 `font-lock-type-face' to `error'.
7471
7472 * battery.el (battery-update): Use the face `error' instead of
7473 `font-lock-warning-face' (bug#6117).
7474
6a93965e
JL
74752011-08-24 Juri Linkov <juri@jurta.org>
7476
7477 * faces.el (success): Change face color from "Green3" to
7478 "ForestGreen" on light background (bug#9353).
7479
1ed43b09
CY
74802011-08-24 Chong Yidong <cyd@stupidchicken.com>
7481
5664fa7b
RT
7482 * window.el (quit-window): Rename from quit-restore-window.
7483 Use same arglist as old quit-window.
1ed43b09
CY
7484 (frame-auto-delete): Doc fix.
7485
7486 * view.el (view-mode-exit): Use quit-window.
7487
11dcdbb2
JL
74882011-08-24 Juri Linkov <juri@jurta.org>
7489
7490 * isearch.el (isearch-ring-adjust1): Start visiting previous
7491 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7492 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7493 for empty search string (when the last search string is reused
7494 automatically) to adjust the isearch ring to the last element and
7495 prepare the correct index for further M-p commands (bug#9185).
7496
de62b4df
KH
74972011-08-24 Kenichi Handa <handa@m17n.org>
7498
7499 * international/ucs-normalize.el: If decomposition property of
7500 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7501 nil.
7502 (nfd, nfkd): Likewise.
7503
963b492b
SM
75042011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7505
7506 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7507 from process filters aren't reliably transmitted to the surrounding
7508 accept-process-output.
7509 (mpc-proc-check): New function.
7510 (mpc-proc-sync): Use it (bug#8293)
7511
93b6b5e1
SM
75122011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7515 Add compatibility functions (bug#9313).
7516
bca633fb
EZ
75172011-08-23 Eli Zaretskii <eliz@gnu.org>
7518
b177498a
EZ
7519 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7520
6df6ae42 7521 * international/uni-bidi.el: Regenerate.
bca633fb 7522
0902a04e
KH
75232011-08-23 Kenichi Handa <handa@m17n.org>
7524
7525 * international/charprop.el:
7526 * international/uni-bidi.el:
7527 * international/uni-category.el:
7528 * international/uni-combining.el:
7529 * international/uni-comment.el:
7530 * international/uni-decimal.el:
7531 * international/uni-decomposition.el:
7532 * international/uni-digit.el:
7533 * international/uni-lowercase.el:
7534 * international/uni-mirrored.el:
7535 * international/uni-name.el:
7536 * international/uni-numeric.el:
7537 * international/uni-old-name.el:
7538 * international/uni-titlecase.el:
7539 * international/uni-uppercase.el: Regenerate.
7540
3bbf23bc
MR
75412011-08-23 Martin Rudalics <rudalics@gmx.at>
7542
7543 * help.el (help-window-setup): Fix message displayed when other
7544 window is reused. (Bug#9341)
7545
b3fd59bd
SM
75462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7547
1802e444
SM
7548 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7549 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7550
b3fd59bd
SM
7551 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7552 Mark obsolete.
7553 * shell.el (shell-parse-pcomplete-arguments): New function.
7554 (shell-completion-vars): Use it instead (bug#9160).
7555
4eb61348
SM
75562011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7557
867cab74
SM
7558 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7559 strings and comments (bug#9333).
7560
4eb61348
SM
7561 * emacs-lisp/debug.el (debug-arglist): New function.
7562 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7563 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7564
262a1439
JL
75652011-08-22 Juri Linkov <juri@jurta.org>
7566
56ee679c
JL
7567 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7568 Revert regexp that highlights output switches to its old
7569 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7570
262a1439
JL
7571 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7572 to check for empty output (bug#9226).
7573
f13f86fb
CY
75742011-08-22 Chong Yidong <cyd@stupidchicken.com>
7575
7576 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7577 symbol-constituent as the default, as that stops font-lock from
7578 working properly (Bug#8843).
7579
c65c9622
LMI
75802011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7581
7582 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7583 `coding-system-for-*' around the process open call to avoid
7584 auth-source side effects.
e7f2c178 7585 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7586 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7587 probe hangs.
c65c9622 7588
23a8a5ab
CY
75892011-08-21 Chong Yidong <cyd@stupidchicken.com>
7590
ff98b2dd
CY
7591 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7592
23a8a5ab
CY
7593 * emacs-lisp/find-func.el (find-function-noselect): New arg
7594 lisp-only.
7595
7596 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7597 signal an error for built-in functions (Bug#6664).
7598
f5e3c598
LMI
75992011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7600
7601 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7602 (smtpmail-try-auth-methods): Use it.
7603
a3f2468a
CY
76042011-08-21 Chong Yidong <cyd@stupidchicken.com>
7605
2c34e8da
CY
7606 * font-lock.el (font-lock-fontify-region)
7607 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7608 (font-lock-default-unfontify-buffer)
7609 (font-lock-default-fontify-region)
7610 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7611
b3fd59bd
SM
7612 * progmodes/compile.el (compilation-error-properties):
7613 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7614 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7615 `ant' regexp.
ee31aabc 7616
a3f2468a
CY
7617 * net/browse-url.el (browse-url-firefox): Don't call
7618 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7619
8e999f70
GM
76202011-08-20 Glenn Morris <rgm@gnu.org>
7621
c21a496a
GM
7622 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7623
59ee0542
GM
7624 * tutorial.el (tutorial--default-keys): Update some default bindings.
7625
8e999f70
GM
7626 * files.el (hack-local-variables): Fully ignore case for "mode:".
7627
e3715033
AM
76282011-08-20 Alan Mackenzie <acm@muc.de>
7629
7630 Resolve invalid use of a regexp in regexp-opt.
7631
4d61f28d
JB
7632 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7633 detection for a java annotation.
e3715033 7634
4d61f28d 7635 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7636 detection for a java annotation.
7637
4d61f28d
JB
7638 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7639 handling for java.
e3715033
AM
7640 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7641
04ed2e9c
CY
76422011-08-20 Chong Yidong <cyd@stupidchicken.com>
7643
7644 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7645 (Bug#9274).
7646
826cee64
AM
76472011-08-20 Alan Mackenzie <acm@muc.de>
7648
58179cce 7649 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7650 such a construct. Mainly for when jit-lock etc. starts a chunk
7651 here.
7652
58179cce 7653 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7654 variable.
58179cce 7655 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7656 c-make-font-lock-search-function.
7657 (c-make-font-lock-search-function): Use the above function.
7658 (c-make-font-lock-context-search-function): New function.
7659 (c-cpp-matchers): Enhance the preprocessor expression case with
7660 the above function
7661 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7662 which takes an expression.
7663
7664 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7665
13009bd8
MR
76662011-08-20 Martin Rudalics <rudalics@gmx.at>
7667
7668 * window.el (display-buffer-reuse-window)
7669 (display-buffer-pop-up-window): Don't reuse or split a side
7670 window.
7671
9234ff7f
GM
76722011-08-19 Glenn Morris <rgm@gnu.org>
7673
7674 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7675 Downcase "Mode:". (Bug#9331)
9234ff7f 7676
f635daa1
CY
76772011-08-18 Chong Yidong <cyd@stupidchicken.com>
7678
7679 * international/characters.el: Add L and R categories.
7680
7681 * subr.el (bidi-string-mark-left-to-right): Rename from
7682 string-mark-left-to-right. Use category search.
7683
7684 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7685
bc987f8b
JL
76862011-08-18 Juri Linkov <juri@jurta.org>
7687
7688 * faces.el (error, warning, success): New faces with definitions
7689 copied from old default values of `font-lock-warning-face',
7690 `compilation-warning', `compilation-info' (bug#6117).
7691
7692 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7693
7694 * progmodes/compile.el (compilation-error): Inherit from `error'.
7695 (compilation-warning): Inherit from `warning'.
7696 (compilation-info): Inherit from `success'.
7697
7698 * dired.el (dired-marked): Inherit from `warning'.
7699 (dired-flagged): Inherit from `error'.
7700
57173b96
LMI
77012011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7702
3e79eb87
LMI
7703 * mail/smtpmail.el (auth-source): Require to avoid problems with
7704 binding variables (bug#9298). Also clean up some unused
7705 autoloads.
7706
b3fd59bd
SM
7707 * net/network-stream.el (network-stream-open-starttls):
7708 Support using starttls.el without using gnutls-cli.
57173b96 7709
02b404de
JL
77102011-08-17 Juri Linkov <juri@jurta.org>
7711
7712 * progmodes/grep.el (rgrep): Handle the case when
7713 `grep-find-command' is a cons cell (bug#9278).
7714
8c9177f2
MR
77152011-08-17 Martin Rudalics <rudalics@gmx.at>
7716
7717 * window.el (display-buffer-pop-up-frame): Run frame creation
7718 function with BUFFER current (as special-display-popup-frame
7719 does). Reported by Drew Adams.
7720
3644a0ab
DU
77212011-08-17 Daiki Ueno <ueno@unixuser.org>
7722
7723 * epa-mail.el: Simplify GnuPG group expansion using
7724 epg-expand-group.
7725 (epa-mail-group-alist, epa-mail-group-modtime)
7726 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7727 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7728 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7729 Remove.
7730
5e617bc2 77312011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7732
7733 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7734
9c4aeabf
AM
77352011-08-16 Alan Mackenzie <acm@muc.de>
7736
7737 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7738 Correct, to avoid the inside of macros.
7739
3a99bf64
RS
77402011-08-16 Richard Stallman <rms@gnu.org>
7741
04963aa8
RS
7742 * epa-mail.el: Handle GnuPG group definitions.
7743 (epa-mail-group-alist, epa-mail-group-modtime)
7744 (epa-mail-gnupg-conf-file): New variables.
7745 (epa-mail-parse-groups, epa-mail-sync-groups)
7746 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7747 (epa-mail-expand-recipients): New functions.
7748 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7749
177549d0
RS
7750 * mail/rmail.el (rmail-epa-decrypt): New command.
7751
fe38beef
RS
7752 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7753 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7754 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7755 (epa-decrypt-armor-in-region): Make error message clearer.
7756
934eacb9
SM
77572011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7758
7759 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7760 and "a2b" to "ab" for `prefix'.
7761
d024fb4e
CY
77622011-08-14 Chong Yidong <cyd@stupidchicken.com>
7763
7764 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7765 filter groups.
de148fee
CY
7766 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7767 Fourquet (Bug#8804).
d024fb4e 7768
62f1ca49
JB
77692011-08-12 Juanma Barranquero <lekktu@gmail.com>
7770
7771 * startup.el (argi): Declare as global variable (bug#9275).
7772
9ccaaa4b
CY
77732011-08-12 Chong Yidong <cyd@stupidchicken.com>
7774
7775 * subr.el (string-mark-left-to-right): Search the entire string
7776 for RTL script, not just the terminating character. Doc fix.
7777
a3dae87a
SM
77782011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7779
6cd18349
SM
7780 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7781 New function.
7782 (js--regexp-literal, js-syntax-propertize-function): Remove.
7783 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7784 (js-mode-map): Don't rebind electric keys.
7785 (js-insert-and-indent): Remove.
7786 (js-mode): Setup electric-layout and electric-indent instead.
7787
a3dae87a
SM
7788 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7789
9d5cb631
DU
77902011-08-12 Daiki Ueno <ueno@unixuser.org>
7791
7792 * epa.el (epa-progress-callback-function): Fix the logic of
7793 displaying progress.
7794 * epa-file.el (epa-file-insert-file-contents): Make progress
7795 display more user-friendly.
7796 (epa-file-write-region): Ditto.
7797
3e26a4a2
CY
77982011-08-10 Chong Yidong <cyd@stupidchicken.com>
7799
7800 * subr.el (string-mark-left-to-right): New function.
7801
7802 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7803 Use string-mark-left-to-right.
7804 (list-buffers-noselect): Caller changed.
7805
a3dae87a
SM
7806 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7807 Use string-mark-left-to-right.
3e26a4a2
CY
7808 (tabulated-list-print): Recenter after moving point.
7809
ac8cf6e6
JL
78102011-08-10 Juri Linkov <juri@jurta.org>
7811
7812 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7813 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7814 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7815
8d96c9a4
CY
78162011-08-09 Chong Yidong <cyd@stupidchicken.com>
7817
7818 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7819 (Bug#7554).
7820
7be1c708 78212011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7822
7823 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7824 character. (Bug#6594)
7825
37e11a63
CY
78262011-08-08 Chong Yidong <cyd@stupidchicken.com>
7827
839dde57
CY
7828 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7829 (image-dired--with-db-file): New macro.
7830 (image-dired-write-tags, image-dired-remove-tag)
7831 (image-dired-create-gallery-lists, image-dired-write-comments)
7832 (image-dired-get-comment, image-dired-mark-tagged-files)
7833 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7834 (image-dired-gallery-generate): Use insert-file-contents.
7835
37e11a63
CY
7836 * time.el (display-time-world-list, display-time-world-display):
7837 * time-stamp.el (time-stamp-string):
7838 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7839 set-time-zone-rule (Bug#7337).
7840
0b4946c4
DU
78412011-08-08 Daiki Ueno <ueno@unixuser.org>
7842
7843 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7844 (epg-error-to-string, epg-errors-to-string): New function.
7845 (epg-wait-for-completion): Reverse errors list.
7846 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7847 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7848 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7849 (epg-sign-keys, epg-generate-key-from-file)
7850 (epg-generate-key-from-string): Format errors by using
7851 epg-errors-to-string (bug#9255).
7852 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7853
75bfc667
JL
78542011-08-07 Juri Linkov <juri@jurta.org>
7855
7856 * faces.el (list-faces-display): Remove extra angle bracket
7857 from `help-mode-map'.
7858
7859 * info.el (Info-history-toc-nodes): Doc fix.
7860
7861 * longlines.el (longlines-mode): Doc fix.
7862
673e08bb
SM
78632011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7864
4640dd88
SM
7865 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7866 of statements and in a few more cases (bug#9183).
7867
673e08bb
SM
7868 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7869 New functions.
7870 (cl-transform-lambda): Use them (bug#9239).
7871
89b3f019
MR
78722011-08-05 Martin Rudalics <rudalics@gmx.at>
7873
7874 * window.el (display-buffer-same-window)
7875 (display-buffer-same-frame, display-buffer-other-window)
7876 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7877 (pop-to-buffer-other-window)
7878 (pop-to-buffer-same-frame-other-window)
7879 (pop-to-buffer-other-frame): Make them defuns.
7880 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7881
640c8776
SM
78822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * subr.el (make-composed-keymap): Move from C. Change calling
7885 convention, and improve docstring to bring attention to a subtle point.
7886 * minibuffer.el (completing-read-default): Adjust accordingly.
7887
63648a95
MA
78882011-08-03 Michael Albinus <michael.albinus@gmx.de>
7889
7890 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7891 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7892
7893 * net/trampver.el: Update release number.
7894
b796c9b7
SM
78952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7898 "in" (bug#9190).
7899
2239d7d5
LMI
79002011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7901
e07dd7c3
LMI
7902 * mail/sendmail.el (sendmail-query-once): Restore the current
7903 buffer after querying (bug#9074).
7904
0e6a2bd7
LMI
7905 * dired.el (dired-flagged): Use different faces for marked and
7906 flagged files (bug#6117).
7907
ce887515
LMI
7908 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7909 (bug#4433).
7910
92f2affc
LMI
7911 * ido.el (ido-mode): Switch off the message if called
7912 non-interactively.
7913
57d5aff0
LMI
7914 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7915 before 587, since it appears that that's more likely to work for
7916 more people.
7917
98cd6c18 7918 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7919 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7920 exist.
7921
b96dec83
LMI
7922 * info.el: Remove the `Info-beginning-of-buffer' function
7923 (bug#8325).
7924
b796c9b7
SM
7925 * net/network-stream.el (network-stream-open-starttls):
7926 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7927
d90e2ea0
MR
79282011-08-01 Martin Rudalics <rudalics@gmx.at>
7929
7930 * window.el (display-buffer-in-window): Don't set dedicated status
7931 of window here (Bug#9215).
7932 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7933 (display-buffer-pop-up-side-window)
b796c9b7 7934 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7935
cca09170
SM
79362011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7939 before binding generated-autoload-file.
7940
027b979c
DD
79412011-08-01 Deniz Dogan <deniz@dogan.se>
7942
7943 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7944
3c7ee4f3
MA
79452011-07-30 Michael Albinus <michael.albinus@gmx.de>
7946
7947 Sync with Tramp 2.2.2.
7948
7949 * net/trampver.el: Update release number.
7950
2cc8e51a
JL
79512011-07-30 Juri Linkov <juri@jurta.org>
7952
7953 * dired-aux.el (dired-touch-initial): Remove function.
7954 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7955 current time, and `default' to the last modification time of the
7956 current marked file (bug#6887).
7957
a514d856
JM
79582011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7959
7960 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7961 numeric argument to read-number (bug#9163).
a514d856 7962
8a7eddd7
MA
79632011-07-27 Michael Albinus <michael.albinus@gmx.de>
7964
7965 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7966 connection process, it could be nil.
7967
1ddd96f5
LL
79682011-07-27 Leo Liu <sdl.web@gmail.com>
7969
7970 Simplify url handling in rcirc-mode.
7971
7972 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7973 (rcirc-browse-url-at-mouse): Remove.
7974 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7975
b248a85d
AM
79762011-07-26 Alan Mackenzie <acm@muc.de>
7977
7978 Fontify bitfield declarations properly.
7979
7980 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7981 (c-symbol-chars): Now exported as a lang variable.
7982 (c-not-primitive-type-keywords): New lang variable.
7983
7984 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7985 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7986 parsed as a bitfield declaration.
b248a85d 7987
b796c9b7
SM
7988 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7989 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7990 (c-punctuation-in): New function.
7991 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7992 declarations properly.
7993
68575ab0
UJ
79942011-07-26 Ulf Jasper <ulf.jasper@web.de>
7995
7996 * calendar/icalendar.el (icalendar--all-events): Take care of
7997 multiple vcalendars in a single file.
b796c9b7 7998 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7999
0f0a88b9
DD
80002011-07-25 Deniz Dogan <deniz@dogan.se>
8001
8002 * image.el (insert-image): Clarifying docstring.
8003
0b3f36df
MA
80042011-07-24 Michael Albinus <michael.albinus@gmx.de>
8005
8006 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8007 `tramp-send-command-and-check' if there is no error.
8008 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8009
a9901f61
AM
80102011-07-22 Alan Mackenzie <acm@muc.de>
8011
8012 Prevent cc-langs.elc being loaded at run time.
8013
8014 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8015 cc-langs.
8016
4d61f28d 8017 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8018 "(require 'cc-langs)". Quote a form so it will evaluate at
8019 (cc-mode's) compilation time.
8020
11d074b2
MA
80212011-07-22 Michael Albinus <michael.albinus@gmx.de>
8022
8023 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8024 loading. (Bug#9114)
8025
938b94c8
MR
80262011-07-21 Martin Rudalics <rudalics@gmx.at>
8027
8028 * window.el (display-buffer-pop-up-window)
8029 (display-buffer-pop-up-side-window)
8030 (display-buffer-in-side-window): Call display-buffer-set-height
8031 and display-buffer-set-width after setting the new window's
b796c9b7 8032 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8033
bfa4f190
SS
80342011-07-20 Sam Steingold <sds@gnu.org>
8035
8036 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8037 (etags-tags-included-tables): Call `convert-standard-filename' on
8038 the file names contained in TAGS so that windows Emacs can handle
8039 TAGS files created by cygwin ctags.
8040
8ca42262
LMI
80412011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8042
8043 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8044 which apparently didn't work.
8045
5db2afd2 80462011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8047
5db2afd2
RW
8048 * proced.el (proced-send-signal): For *Marked Processes* buffer
8049 put point at beginning of buffer.
8050
92e15d10
SB
80512011-07-19 Stephen Berman <stephen.berman@gmx.net>
8052
8053 * proced.el (proced-format): Make header lines align with the text
8054 (bug#1779).
8055
1bfd59e5
LMI
80562011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8057
8058 * view.el (view-buffer): Allow running in `special' modes if we're
8059 visiting a file (bug#8615).
8060
f5aae37c
MR
80612011-07-19 Martin Rudalics <rudalics@gmx.at>
8062
8063 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8064 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8065 New functions.
f5aae37c
MR
8066 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8067 more accurately.
8068
bf2c1571
AM
80692011-07-18 Alan Mackenzie <acm@muc.de>
8070
8071 Fontify declarators properly when, e.g., a jit-lock chunk begins
8072 inside a declaration.
8073
8074 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8075
b796c9b7
SM
8076 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8077 New function.
bf2c1571
AM
8078 (c-complex-decl-matchers): Insert reference to
8079 c-font-lock-enclosing-decls.
8080
8081 * progmodes/cc-engine.el (c-backward-single-comment):
8082 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8083 to nil around calls to (forward-comment -1).
8084
4e190b80
LMI
80852011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8086
12dc863d
LMI
8087 * image.el (put-image): Doc typo fix.
8088
a762e966
LMI
8089 * progmodes/etags.el (tags-search): Doc typo fix.
8090
4e190b80
LMI
8091 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8092 password if we get errors 550 to 554.
8093
f019fb21
LMI
80942011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8095
b796c9b7 8096 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8097
81746738
LMI
8098 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8099 indentation character (bug#6380).
8100
3ee3a1b5
LMI
8101 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8102
c82f64de
LMI
8103 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8104 to clarify what the problem is (bug#4291).
8105
f019fb21
LMI
8106 * simple.el (current-kill): Clarify what
8107 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8108 (auto-fill-mode): Document `auto-fill-function' in relation to
8109 `auto-fill-mode' (bug#2470).
f019fb21 8110
0794775d
LM
81112011-07-16 Lawrence Mitchell <wence@gmx.li>
8112
8113 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8114 method if slot is read-only (bug#9035).
8115
be39b8cc
MR
81162011-07-16 Martin Rudalics <rudalics@gmx.at>
8117
b796c9b7 8118 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8119 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8120 selected before, see discussion of (Bug#8615), (Bug#6954).
8121 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8122
6ccf7859
GM
81232011-07-15 Glenn Morris <rgm@gnu.org>
8124
8125 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8126 Respect help-form.
6ccf7859 8127
87e86684
LM
81282011-07-09 Lawrence Mitchell <wence@gmx.li>
8129
8130 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8131 (gnutls-negotiate): Use it.
8132
d6066239
LMI
81332011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8134
b796c9b7
SM
8135 * net/gnutls.el (gnutls-negotiate):
8136 Upcase `gnutls-algorithm-priority'.
d6066239 8137
bd23ebc0
GM
81382011-07-15 Glenn Morris <rgm@gnu.org>
8139
c65bca65
GM
8140 * jka-compr.el (jka-compr-verbose): Move from here...
8141 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8142 Add missing :version tag.
8143 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8144
478615cc
LMI
81452011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8146
7b41decb
LMI
8147 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8148 (gnutls-negotiate): Use it.
8149
dbc44fcd
LMI
8150 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8151
06789f97
LMI
8152 * info.el (Info-beginning-of-buffer): New command.
8153 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8154 announcing `b' as the key (bug#8325).
ab896c37 8155 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8156
c39da690
LMI
8157 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8158
3aa5f34b
LMI
8159 * international/mule-cmds.el
8160 (describe-specified-language-support): Make the error message
8161 clearer (bug#8905).
8162
4bf0979f
LMI
8163 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8164
478615cc
LMI
8165 * isearch.el (isearch-barrier): Add a doc string, since it's
8166 mentioned in a function doc string (bug#8678).
8167
75c68aa1
MR
81682011-07-15 Martin Rudalics <rudalics@gmx.at>
8169
8170 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8171 buffer argument (Bug#9083) and self-identifying label argument.
8172
a7c33da2
GM
81732011-07-15 Glenn Morris <rgm@gnu.org>
8174
8175 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8176
2f5c6024
LMI
81772011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8178
8179 * man.el (Man-fontify-manpage): Fix message when formatting the
8180 man page (bug#7929).
8181
0bb23927 81822011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8183
8184 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8185 argument LRM; if non-nil, append an invisible LRM character to the
8186 buffer name.
8187 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8188 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8189 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8190 paragraph direction.
cce4b0a7 8191
621ef9ab
LMI
81922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8193
d1583c48
LMI
8194 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8195 the man page name (bug#7929).
8196
6a57fb5f
LMI
8197 * image.el (put-image): Mention the `put-image' overlay property
8198 (bug#7834).
8199
d7956b14
LMI
8200 * scroll-bar.el (set-scroll-bar-mode): Mention that
8201 `scroll-bar-mode' lists the values (bug#7772).
8202
5b2d4a66
LMI
8203 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8204 command (bug#7729).
8205
7509a874
LMI
8206 * rect.el (apply-on-rectangle): Return the point after the last
8207 operation.
8208 (string-rectangle): Go to the point after the last operation
8209 (bug#7522).
8210
4fe74b19
LMI
8211 * printing.el (pr-toggle-region): Clarify the documentation
8212 slightly (bug#7493).
8213
b796c9b7
SM
8214 * time.el (display-time-update):
8215 Allow `display-time-mail-function' to return nil (bug#7158).
8216 Fix suggested by Detlev Zundel.
ab283561 8217
fc233c9d
LMI
8218 * vc/diff.el (diff): Clarify the order the file names are read
8219 (bug#7111).
8220
43f5740b
LMI
8221 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8222 the doc string (bug#7015).
8223
f2182a76
LMI
8224 * font-lock.el (font-lock-maximum-decoration): Mention what
8225 numeric levels mean (bug#6935).
8226
621ef9ab
LMI
8227 * startup.el (initial-buffer-choice): Don't mention the `none'
8228 selection, which is against policy.
8229
adc47434
MR
82302011-07-14 Martin Rudalics <rudalics@gmx.at>
8231
b796c9b7
SM
8232 * window.el (display-buffer-normalize-special):
8233 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8234
7e5bfb8f
EZ
82352011-07-14 Eli Zaretskii <eliz@gnu.org>
8236
8237 * subr.el (version<, version<=, version=): Mention "-CVS" and
8238 "-12345" alpha version numbers.
8239
27fa387a
CY
82402011-07-14 Chong Yidong <cyd@stupidchicken.com>
8241
8242 * bindings.el: Add advertised binding for set-mark-command
8243 (Bug#5772).
8244
8bdfa064
CY
82452011-07-14 Chong Yidong <cyd@stupidchicken.com>
8246
8247 * bindings.el (mode-line-other-buffer):
8248 * bookmark.el (bookmark-bmenu-2-window):
8249 * bs.el (bs-cycle-next, bs-cycle-previous):
8250 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8251 switch-to-buffer.
8252
8253 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8254 Delete.
8bdfa064 8255
5eba16a3
JB
82562011-07-14 Juanma Barranquero <lekktu@gmail.com>
8257
8258 * follow.el (follow-debug-message, follow-redisplay):
8259 * jka-cmpr-hook.el (with-auto-compression-mode):
8260 Fix typos in docstrings.
8261
15853710
LMI
82622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8263
a28e4607
LMI
8264 * subr.el (with-silent-modifications): Clarify somewhat what the
8265 macro inhibits (bug#6525).
8266
15853710
LMI
8267 * simple.el (eval-expression): Note what it does if called
8268 interactively (bug#6495).
8269
bee0fcef
CY
82702011-07-13 Chong Yidong <cyd@stupidchicken.com>
8271
b796c9b7
SM
8272 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8273 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8274
8275 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8276 Remove switch-to-buffer.
8277
58274504
LMI
82782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8279
bd2fcc8d
LMI
8280 * files.el (make-directory): Clarify that an error will be raised
8281 if there's an error (bug#6397).
8282
0f04b32c
LMI
8283 * startup.el (initial-buffer-choice): Add `none' as a choice
8284 (bug#6234).
8285
465c5fc8
LMI
8286 * subr.el (add-hook): Clarify section about buffer-local hooks
8287 (bug#6218).
8288
58274504
LMI
8289 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8290
bead9a43
JB
82912011-07-13 Juanma Barranquero <lekktu@gmail.com>
8292
8293 * tabify.el (untabify): Preserve the current column so that point
8294 doesn't move (bug#6032).
8295
3af98a7b
LMI
82962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8297
b796c9b7
SM
8298 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8299 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8300
6240145a
GM
83012011-07-13 Glenn Morris <rgm@gnu.org>
8302
8303 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8304 (dired-insert-directory): Give a message the first time
8305 if ls is found not to support --dired.
8306
1d8c2ccc
LMI
83072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8308
8309 * simple.el (toggle-truncate-lines): Clarify what is toggled
8310 (bug#5580). Text by Drew Adams.
8311
5fc4038e
CY
83122011-07-13 Chong Yidong <cyd@stupidchicken.com>
8313
8314 * simple.el (blink-matching-open): Make the error message from the
8315 last change less verbose.
8316
bf6012e5
DN
83172011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8318
8319 * font-lock.el (font-lock-comment-face): Use the high contrast
8320 "yellow" color for font-lock-comment-face on low color terminals
8321 using a dark background color (bug#4221).
8322
343c3b5a
LMI
83232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8324
7e9505c5
LMI
8325 * dired.el (dired-insert-set-properties): Make the doc string
8326 reflect what it does now (bug#5325).
8327
c26fdcf5
LMI
8328 * simple.el (blink-matching-open): Say that we were unable to find
8329 the match within the limit, if we're limited (bug#5122).
8330
bb388cc5
LMI
8331 * international/mule-cmds.el (prefer-coding-system): Add an
8332 example (bug#4869).
8333
343c3b5a
LMI
8334 * progmodes/etags.el (tags-search): Document `file-list-form'
8335 (bug#4731).
8336
2a517d45
LM
83372011-07-13 Lawrence Mitchell <wence@gmx.li>
8338
8339 * net/browse-url.el (browse-url-default-browser)
8340 (browse-url-browser-function): Make the default browser choice a
8341 bit more logical (bug#4300). Also clean up the doc string.
8342
b6c78ef2
JB
83432011-07-13 Juanma Barranquero <lekktu@gmail.com>
8344
8345 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8346 binary endings (bug#4440).
8347
1c4dd947
LMI
83482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349
a2014063
LMI
8350 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8351 which can be pretty annoying (bug#8971).
8352
9c9c2d88
LMI
8353 * jka-compr.el (jka-compr-verbose): New variable, and use
8354 throughout (bug#8971).
8355
1c4dd947
LMI
8356 * info.el (Info-find-file): Fall back on the installation
8357 directory if we can't find the info node anywhere else.
8358
a1c9f41b
SO
83592011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8360
8361 * vc/vc.el (vc-revert-file):
8362 Don't set file time-stamp in the past. (Bug#5181)
8363
536f3d36
LMI
83642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8365
7152b011
LMI
8366 * files.el (after-find-file): Give a better error message when
8367 trying to find a symlink that points to a file that doesn't exist
8368 (bug#4398).
8369
536f3d36
LMI
8370 * progmodes/cc-vars.el: Remove (probably) misleading comment
8371 (bug#4396).
8372
460c0fba
JB
83732011-07-12 Johan Bockgård <bojohan@gnu.org>
8374
8375 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8376
7a6bda45
CY
83772011-07-12 Chong Yidong <cyd@stupidchicken.com>
8378
8379 * mouse-sel.el: Hack restoring functionality, while keeping
8380 compatibility with 2010-07-03 changes to mouse selection.
8381 (mouse-sel-primary-overlay): New var.
8382 (mouse-sel-selection-alist): Use it.
8383 (mouse-sel-mode): Doc fix; remove points that are default features
8384 of mouse.el.
8385
c79598ef
JB
83862011-07-12 Johan Bockgård <bojohan@gnu.org>
8387
8388 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8389 Fix previous fix (bug#2490).
8390
ff8be6ef
RW
83912011-07-12 Roland Winkler <winkler@gnu.org>
8392
b796c9b7
SM
8393 * textmodes/bibtex.el (bibtex-initialize):
8394 Use pop-to-buffer-same-window.
ff8be6ef
RW
8395 (bibtex-search-entries): Fix interactive call.
8396
296ba3ee
LMI
83972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8398
f5242a02 8399 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8400 Fontise bytecomp Error lines more correctly (bug#2490).
8401 Fix suggested by Johan Bockgård.
f5242a02 8402
296ba3ee
LMI
8403 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8404
8405 * dired-x.el (dired-guess-default): Use `delete-dups'.
8406
f69fd0d2
CY
84072011-07-12 Chong Yidong <cyd@stupidchicken.com>
8408
8409 * dired.el (dired-mark-prompt):
8410 * dired-aux.el (dired-read-shell-command): Doc fix.
8411
eab5dc07
LMI
84122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8413
b796c9b7
SM
8414 * mail/sendmail.el (sendmail-query-once):
8415 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8416 emacs -Q.
8417
8418 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8419
eab5dc07
LMI
8420 * cus-edit.el (custom-file): Take an optional no-error variable.
8421 (customize-save-variable): Set the variable, and give a warning if
8422 running under "emacs -q".
8423
a1e65d42
JB
84242011-07-11 Juanma Barranquero <lekktu@gmail.com>
8425
8426 * loadhist.el (unload-feature-special-hooks):
8427 Add `auto-coding-functions', `fill-nobreak-predicate' and
8428 `find-directory-functions' (bug#5327).
8429
1d52da10
LMI
84302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8431
be958f1d
LMI
8432 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8433
5bedb26c
LMI
8434 * cus-edit.el (custom-guess-name-alist): -alist variables should
8435 use the `alist' type (bug#3120). Suggested by Drew Adams.
8436
1d52da10
LMI
8437 * printing.el: Add documentation to all the `pr-toggle-' commands.
8438
cd394be1 84392011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8440
8441 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8442 backends where it makes sense (bug#2623).
8443
dcc88d8a
LMI
84442011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8445
c3de9feb
LMI
8446 * dired-x.el (dired-guess-default): Remove duplicate shell command
8447 entries (bug#2028).
8a93078b 8448 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8449 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8450
dcc88d8a
LMI
8451 * subr.el (remove-duplicates): New conveniency function.
8452
505e3645
LMI
84532011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8454
8455 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8456 (bug#1526).
8457
84582011-07-10 Martin Rudalics <rudalics@gmx.at>
8459
8460 * window.el (display-buffer-normalize-default): Don't invert
8461 meaning of even-window-heights. Reported by Eli Zaretskii
8462 <eliz@gnu.org>.
8463
455e4fa1
BR
84642011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8465
8466 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8467
8e0bc3e9
CY
84682011-07-10 Chong Yidong <cyd@stupidchicken.com>
8469
8470 * window.el (display-buffer): Fix arguments to
8471 display-buffer-reuse-window in last change.
8472
fa7c3228
CY
8473 * faces.el (link): Use a less saturated blue on light backgrounds.
8474
8475 * startup.el (fancy-startup-text, fancy-about-text)
8476 (fancy-startup-tail): Use font-lock faces, for background safety.
8477
c0a7f300
BN
84782011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8479
b796c9b7
SM
8480 * emulation/viper-cmd.el (viper-change-state-to-vi):
8481 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8482
4dc2a129
MR
84832011-07-09 Martin Rudalics <rudalics@gmx.at>
8484
8485 * window.el (display-buffer-default-specifiers): Remove.
8486 (display-buffer-macro-specifiers): Remove default specifiers.
8487 (display-buffer-alist): Default to nil.
b796c9b7 8488 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8489 (display-buffer-pop-up-window): Allow splitting internal
8490 windows. Check whether a live window was created.
8491 (display-buffer-other-window-means-other-frame)
8492 (display-buffer-normalize-arguments): Rename to
8493 display-buffer-normalize-argument and rewrite. Set the
8494 other-window specifier.
8495 (display-buffer-normalize-special): New function.
8496 (display-buffer-normalize-options): Rename to
8497 display-buffer-normalize-default and rewrite.
8498 (display-buffer-normalize-options-inhibit): Remove.
8499 (display-buffer-normalize-specifiers): Rewrite.
8500 (display-buffer): Process other-window specifier and call
8501 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8502 more faithfully.
b796c9b7 8503 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8504 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8505 (display-buffer-in-window, display-buffer-alist-set):
8506 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8507 <tassilo@member.fsf.org>.
8508
2d43b8c9
LL
85092011-07-09 Leo Liu <sdl.web@gmail.com>
8510
8511 * register.el (insert-register): Restore accidental change on
8512 2011-06-26. (Bug#9028)
8513
7f9b7c53
GM
85142011-07-09 Glenn Morris <rgm@gnu.org>
8515
8516 * subr.el (remq): Handle the empty list. (Bug#9024)
8517
f042cfd8
AS
85182011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8519
8520 * mail/sendmail.el (send-mail-function): No longer delay custom
8521 initialization.
8522 * custom.el (custom-initialize-delay): Doc fix.
8523
856b2f11
SM
85242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8525
8526 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8527
afae1d68
MA
85282011-07-08 Michael Albinus <michael.albinus@gmx.de>
8529
8530 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8531 human-friendly prompt.
8532
0757af94
SM
85332011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8536 provided by a particular plugin.
8537
d760b731
LMI
85382011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8539
8540 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8541 save customizations (with "emacs -Q"), just set the variable
8542 instead of erroring out.
8543
8544 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8545
cd79ce90
JL
85462011-07-08 Juri Linkov <juri@jurta.org>
8547
8548 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8549 (archive-zip-update-case): Use 7z if found by `executable-find'.
8550 The order of searching the available programs is the same as in
8551 `archive-zip-extract' (bug#8968).
8552
14cc04aa
CY
85532011-07-07 Chong Yidong <cyd@stupidchicken.com>
8554
8555 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8556 (menu-bar-options-menu): Tweak descriptions.
8557
0a1848ec
LMI
85582011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8559
8560 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8561 menu items into verb phrases (bug#1421). Also refill to fit under
8562 80 columns.
8563
f5bd0689
CY
85642011-07-07 Chong Yidong <cyd@stupidchicken.com>
8565
538e85c6
CY
8566 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8567 (Info-read-node-name): Doc fix (Bug#1084).
8568
f5bd0689
CY
8569 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8570 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8571 (end-of-sexp, beginning-of-sexp)
8572 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8573 (forward-symbol, forward-same-syntax, word-at-point)
8574 (sentence-at-point): Doc fix (Bug#1144).
8575
56ec5115
LMI
85762011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8577
f3f8e37f
LMI
8578 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8579 should cover it (bug#1281).
8580
0757af94 8581 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8582
e9fce1ac 8583 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8584 negotiation fails, then possibly try again with a non-encrypted
8585 connection (bug#9017).
8586
56ec5115
LMI
8587 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8588 be used.
8589
c2f9aec8
RS
85902011-07-07 Richard Stallman <rms@gnu.org>
8591
8592 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8593 property, and handle its changed format.
8594 Look for the correct line number.
8595 Use file's line contents (but not past first =) to find
8596 correct line in message.
8597
ef7b981d 85982011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8599
8600 * international/characters.el (build-unicode-category-table):
8601 Delete it.
0757af94 8602 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8603
0757af94 8604 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8605 to src/chartab.c.
8606 (get-char-code-property): Call unicode-property-table-internal to
8607 load a file. Call get-unicode-property-internal where necessary.
8608 (put-char-code-property): Call unicode-property-table-internal to
8609 load a file. Call put-unicode-property-internal where necessary.
8610 put-unicode-property-internal where necessary.
0757af94
SM
8611 (char-code-property-description):
8612 Call unicode-property-table-internal to load a file.
c805dec0
KH
8613
8614 * international/charprop.el:
8615 * international/uni-bidi.el:
8616 * international/uni-category.el:
8617 * international/uni-combining.el:
8618 * international/uni-comment.el:
8619 * international/uni-decimal.el:
8620 * international/uni-decomposition.el:
8621 * international/uni-digit.el:
8622 * international/uni-lowercase.el:
8623 * international/uni-mirrored.el:
8624 * international/uni-name.el:
8625 * international/uni-numeric.el:
8626 * international/uni-old-name.el:
8627 * international/uni-titlecase.el:
8628 * international/uni-uppercase.el: Regenerate.
8629
8630 * loadup.el: Load international/charprop.el before
8631 international/characters.
8632
e14b388a
CY
86332011-07-07 Chong Yidong <cyd@stupidchicken.com>
8634
8635 * window.el (next-buffer, previous-buffer): Signal an error if
8636 called from a minibuffer window.
8637
8638 * bindings.el: Revert 2011-07-04 change.
8639
354cf0ba
RS
86402011-07-06 Richard Stallman <rms@gnu.org>
8641
8642 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8643 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8644 Treat markers like ints.
8645 (rmail-mime-entity): Doc fix.
8646
a48868a7
LMI
86472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8648
4906cd3d
LMI
8649 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8650 defcustom again for backwards compatibility.
8651
e0457abe
LMI
8652 * simple.el (shell-command-on-region): Fill.
8653
d67f7e1f
LMI
8654 * dired-aux.el (dired-kill-line): Add a doc string.
8655
fe204702
LMI
8656 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8657 to "\\sw\\|\\s_" (bug#358).
8658
a48868a7
LMI
8659 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8660 (dired-unmark-backward): Ditto.
8661 (dired-flag-backup-files): Ditto.
8662
8663 * dired-x.el (dired-mark-sexp): Ditto.
8664
aa8a705c
RS
86652011-07-06 Richard Stallman <rms@gnu.org>
8666
8667 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8668 (rmail-mime-entity): New arg TRUNCATED.
8669 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8670 New functions.
8671 (rmail-mime-save): Warn if entity is truncated.
8672 (rmail-mime-toggle-hidden): Likewise, for showing.
8673 (rmail-mime-process-multipart): Record when an entity is truncated.
8674
a9a936b9
RS
8675 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8676 if ENTITY is a string.
8677
1f2b92cb
LMI
86782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8679
f4f73198 8680 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8681 of faces when `M-C-x'-ing their definitions (bug#8378).
8682 Also clean up the code slightly.
f4f73198 8683
12b16734 8684 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8685 because that makes the colors go away.
12b16734 8686
f0691d22
LMI
8687 * mail/sendmail.el (send-mail-function): Change the default to
8688 `sendmail-query-once'.
9e87df06 8689 (sendmail-query-once): Add an autoload cookie.
f0691d22 8690
1f2b92cb
LMI
8691 * net/network-stream.el (network-stream-open-starttls): Try using
8692 a plain connection even if the server offered STARTTLS, and we
8693 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8694 capability. This should make smtpmail.el work in slightly more
8695 configurations.
8696
1cdd2a1b
MA
86972011-07-06 Michael Albinus <michael.albinus@gmx.de>
8698
8699 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8700 New defun.
8701 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8702
fbcc67e2
MM
87032011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8704
8705 * progmodes/sql.el: Version 3.0
0757af94 8706 (sql-product-alist): Add product :completion-object,
fbcc67e2 8707 :completion-column, and :statement attributes.
0757af94 8708 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8709 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8710 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8711 ansi keywords.
8712 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8713 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8714 (sql-oracle-show-reserved-words): New function for development.
8715 (sql-product-font-lock): Simplify for source code buffers.
8716 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8717 New functions.
8718 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8719 (sql-mode-map): Add statement movement functions.
8720 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8721 New variable.
fbcc67e2
MM
8722 (sql-statement-regexp, sql-beginning-of-statement)
8723 (sql-end-of-statement, sql-signum): New functions.
0757af94 8724 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8725 (sql-show-sqli-buffer): Bug fix.
8726 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8727 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8728 with sql-interactive-mode.
8729 (sql-save-connection): Save buffer local settings.
0757af94 8730 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8731 (sql-product-interactive): Bug fix.
8732 (sql-preoutput-hold): New variable.
8733 (sql-interactive-remove-continuation-prompt): Bug fixes.
8734 (sql-debug-redirect): New variable.
8735 (sql-str-literal): New function.
8736 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8737 Redesign.
fbcc67e2
MM
8738 (sql-oracle-save-settings, sql-oracle-restore-settings)
8739 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8740 (sql-completion-object, sql-completion-column)
8741 (sql-completion-sqlbuf): New variables.
8742 (sql-build-completions-1, sql-build-completions)
8743 (sql-try-completion): New functions.
8744 (sql-read-table-name): Use them.
8745 (sql-contains-names): New buffer local variable.
8746 (sql-list-all, sql-list-table): Use it.
8747 (sql-oracle-completion-types): New variable.
8748 (sql-oracle-completion-object, sql-sqlite-completion-object)
8749 (sql-postgres-completion-object): New functions.
8750
d4eaeab1
GM
87512011-07-06 Glenn Morris <rgm@gnu.org>
8752
8753 * window.el (pop-to-buffer): Doc fix.
8754
322b7dab 87552011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8756
8757 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8758
322b7dab 87592011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8760
322b7dab 8761 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8762
322b7dab 8763 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8764
605dd5bf
CY
87652011-07-05 Chong Yidong <cyd@stupidchicken.com>
8766
8767 * button.el (button): Inherit from link face. Suggested by Dan
8768 Nicolaescu.
8769
7dbfa719
SM
87702011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8771
3db614b0
SM
8772 * progmodes/gdb-mi.el: Fit in 80 columns.
8773 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8774 switch-to-buffer.
8775
7dbfa719
SM
8776 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8777 if imenu is simply not configured (bug#8941).
8778
919d884a
KM
87792011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8780
8781 * allout.el (allout-post-undo-hook): New allout outline-change
8782 event hook to signal undo activity.
8783 (allout-post-command-business): Run allout-post-undo-hook if an
8784 undo just occurred.
7dbfa719
SM
8785 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8786 * allout-widgets.el (allout-widgets-after-undo-function):
8787 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8788 in the vicinity of an undo.
8789 (allout-widgets-mode): Include allout-widgets-after-undo-function
8790 on the new allout-post-undo-hook.
8791
450a0f09
SM
87922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8795 Let define-derived-mode define it.
8796 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8797 cycles of abbrev-table inheritance (bug#8998).
8798
2de69e00
RW
87992011-07-05 Roland Winkler <winkler@gnu.org>
8800
8801 * textmodes/bibtex.el: Add support for biblatex.
8802 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8803 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8804 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8805 (bibtex-entry-alist, bibtex-field-alist): New variables.
8806 (bibtex-entry-field-alist): Obsolete alias for
8807 bibtex-BibTeX-entry-alist.
8808 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8809 (bibtex-set-dialect): New command.
8810 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8811 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8812 Bind via bibtex-set-dialect.
2de69e00
RW
8813 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8814 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8815 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8816 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8817 Define via bibtex-set-dialect.
450a0f09
SM
8818 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8819 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8820 (bibtex-vec-push, bibtex-vec-incr): New functions.
8821 (bibtex-format-entry, bibtex-field-list)
8822 (bibtex-print-help-message, bibtex-validate)
8823 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8824
2dcdbdd9
SM
88252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * progmodes/compile.el (compilation-goto-locus):
8828 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8829 * bs.el (bs-cycle-next, bs-cycle-previous):
8830 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8831 * bindings.el (mode-line-other-buffer):
8832 * autoinsert.el (auto-insert):
8833 * arc-mode.el (archive-extract):
8834 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8835
b27640fe
JB
88362011-07-05 Juanma Barranquero <lekktu@gmail.com>
8837
8838 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8839 Fix check of `emacs-lock-unlockable-modes'.
8840 Coerce true values of `emacs-lock--try-unlocking' to t.
8841
53bbe3ad
JB
88422011-07-05 Juanma Barranquero <lekktu@gmail.com>
8843
8844 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8845 * emacs-lock.el: New file.
8846
1d3cdbc7
JD
88472011-07-05 Julien Danjou <julien@danjou.info>
8848
8849 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8850 than `boundp' to check if face is set.
8851
9173deec
JB
88522011-07-05 Juanma Barranquero <lekktu@gmail.com>
8853
8854 * register.el (registerv-make):
8855 * window.el (window-min-height): Fix typos in docstrings.
8856
869795d6
JD
88572011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8858
9173deec 8859 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8860 Update doc string.
8861
b768cdcd
JB
88622011-07-04 Juanma Barranquero <lekktu@gmail.com>
8863
8864 * server.el (server-execute): Catch quit and call
8865 `server-return-error' to pass the error back to emacsclient and
8866 close the connection (bug#8942).
8867
13aa217b
KM
88682011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8869
8870 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8871 insecure exception for current topic. Also note that auto-saves
8872 are handled differently.
8873
5d3385a0 8874 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8875 State variables for tracking auto-save inhibition situation.
8876
8877 (allout-write-contents-hook-handler): Rename from
8878 'allout-write-file-hook-handler', and describe how it depends on
8879 write-contents-functions sensitivity to non-nil value to prevent
8880 file write.
8881
8882 (allout-auto-save-hook-handler): Remove. auto-save does not check
8883 this in individual buffers, only in the starting buffer, so this
8884 is not the right way for us to inhibit auto-save in a buffer
8885 according to its condition.
8886
8887 (allout-mode): Use new allout-write-contents-hook-handler, and
8888 only with write-contents-functions. Remove auto-save provisions -
8889 they're implemented elsewhere.
8890
8891 (allout-before-change-handler): If undo is in progress, note that
8892 for attention of allout-post-command-business.
8893
8894 (allout-post-command-business): If the command we're following was
8895 an undo, check for change in the status of encrypted items and
8896 adjust auto-save inhibitions accordingly.
8897
8898 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8899 according to whether there are or aren't any plain-text topics
8900 pending encryption.
8901
2dcdbdd9 8902 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8903 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8904 if there are plain-text topics pending encryption.
13aa217b
KM
8905
8906 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8907 buffer-saved-size and some allout state to not inhibit auto-saves
8908 if there are no longer any plain-text topics pending encryption.
8909
0757af94
SM
8910 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8911 No longer provide for exemption of the current topic.
13aa217b 8912
ac89b32c
JL
89132011-07-04 Juri Linkov <juri@jurta.org>
8914
8915 Add 7z operations to delete and save changed members (bug#8968).
8916 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8917 New defcustoms.
8918 (archive-7z-write-file-member): New function.
8919 (archive-7z-summarize): Fix the number of dashes in the
8920 listing output.
8921
8fa39615
SM
89222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8925 (bug#8958).
8926
2f11b3f1
CY
89272011-07-04 Chong Yidong <cyd@stupidchicken.com>
8928
d66fef2b
CY
8929 * bindings.el: Ignore next-buffer and previous-buffer in
8930 minibuffer-local-map.
8931
2f11b3f1
CY
8932 * font-lock.el (font-lock-builtin-face): Change light background
8933 color to dark slate blue (Bug#6693).
8934
f932a347
WD
89352011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8936
8937 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8938
c8af70e1
SM
89392011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8940
8941 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8942 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8943 Add switch-to-buffer.
8944
f158badc
LMI
89452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8946
8947 * isearch.el (isearch-search-fun-function): Clarify further the
8948 meaning of the function returned.
8949
6d95bd46
MA
89502011-07-04 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8953
8954 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8955 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8956 Use it.
8957 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8958 `tramp-default-remote-path' does not exist.
8959 (tramp-send-command-and-read): New optional argument NOERROR.
8960 (tramp-open-connection-setup-interactive-shell)
8961 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8962 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8963 (tramp-process-sentinel): Flush also process' connection property.
8964 (tramp-sh-handle-start-file-process): Do not set process
8965 sentinel. It is done now ...
8966 (tramp-maybe-open-connection): ... here. (Bug#8929)
8967
909e6b67
MK
89682011-07-04 MON KEY <monkey@sandpframing.com>
8969
8970 * play/animate.el (animate-string): Doc fixes and allow changing
8971 the buffer name (bug#5417).
8972
89732011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8974
c8af70e1 8975 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8976
f34755dc
PE
89772011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8978
396cec72
PE
8979 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8980 This is simpler and helps future-proof the code.
8981 (timer-until): Use time-subtract and float-time.
08235028 8982 (timer--time-less-p): Use time-less-p.
f34755dc 8983
56e6cc31
JB
89842011-07-04 Juanma Barranquero <lekktu@gmail.com>
8985
3abb79e5
JB
8986 * type-break.el (timep): Use the value of `float-time' to avoid a
8987 byte-compiler warning.
8988
56e6cc31
JB
8989 * server.el (server-eval-and-print): Return any result, even nil.
8990
7b9430b4
PE
89912011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8992
8993 * type-break.el: Accept time formats that the builtins accept.
8994 (timep, type-break-time-difference): Accept any format that
8995 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8996 This is simpler and helps future-proof the code.
8997 (type-break-time-difference): Round rather than ignoring
8998 subseconds components.
8999
3034e9e7
LMI
90002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9001
9002 * info.el (Info-apropos-matches): Make non-interactive, since it
9003 doesn't seem to do anything useful as a command (bug#8829).
9004
1485f4c0
CY
90052011-07-03 Chong Yidong <cyd@stupidchicken.com>
9006
9007 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9008 Move from faces.el.
1485f4c0
CY
9009 (frame-default-terminal-background): New function.
9010
9011 * custom.el (custom-push-theme): Don't record faces in `changed'
9012 theme; this doesn't work correctly for per-frame face settings.
9013 (disable-theme): Use face-set-after-frame-default to reset faces.
9014 (custom--frame-color-default): New function.
9015
9fa3dd45
LMI
90162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9017
c8af70e1 9018 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9019 (bug#8769).
9020
6cbbc20c
KR
90212011-03-29 Kevin Ryde <user42@zip.com.au>
9022
9023 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9024 `perl-Test2' extend to match possible "fail #N" rep count
9025 (bug#8377).
9026
c7f98048
LMI
90272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9028
65676592
LMI
9029 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9030 `smtpmail-via-smtp' now returns the error instead of nil.
9031
c7f98048
LMI
9032 * isearch.el (isearch-search-fun-function): Clarify the doc string
9033 (bug#8101).
9034
56e6cc31 90352011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9036
9037 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9038 unnecessary spaces (bug#8987).
9039
2b216704
LMI
90402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9041
9042 * net/network-stream.el (open-network-stream): Use the
9043 :end-of-capability command thoughout.
9044
90452011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9046
9047 * net/network-stream.el (open-network-stream): Add the
9048 :end-of-capability command parameter, used by pop3.el.
9049
36adf6ce
LMI
90502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9051
1ca0da0e
LMI
9052 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9053
fc00f69c
LMI
9054 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9055 for list)" (bug#6475).
9056
28fd8759 9057 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9058 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9059 an error (bug#6297).
9060
0dd8b6da
LMI
9061 * man.el (Man-reference-regexp): Allow matching possible
9062 word-wrapped references (bug#6289).
9063
ce1438d6
LMI
9064 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9065 for consistency with the other vc buffers (bug#6197).
9066 (vc-checkin): Ditto.
9067
9068 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9069
36adf6ce
LMI
9070 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9071
e83cc1f7
LMI
90722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9073
8a20ca4c
LMI
9074 * custom.el (defcustom): Clarify that :set is only used in the
9075 Customize user interface (bug#6089).
9076
83319045
LMI
9077 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9078 associated with a file, refuse to run instead of erroring out
9079 (bug#6084).
9080
a8392169
LMI
9081 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9082 the doc string, since it appears that using `fill-column' always
9083 controls the width (bug#7845).
9084
e83cc1f7
LMI
9085 * simple.el (shell-command-on-region): Say where the error output
9086 went if `shell-command-default-error-buffer' is set (bug#6857).
9087
e47ca23b
KM
90882011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9089
9090 * allout.el (allout-yank-processing): Adjust cursor position for
9091 backwards-deleted space.
9092
9093 (allout-rebullet-heading): Register changes with
9094 allout-exposure-changed-hook, so the modified topic is properly
9095 decorated.
9096
5cf56143
LMI
90972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9098
08549772
LMI
9099 * minibuffer.el (completion-in-region): Document PREDICATE
9100 (bug#7136).
9101
48e96771
LMI
9102 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9103 of keyword/argument pairs (bug#6904).
9104
c8af70e1
SM
9105 * replace.el (multi-occur):
9106 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9107
e17d05e2
LMI
91082011-07-02 Drew Adams <drew.adams@oracle.com>
9109
9110 * dired.el (dired-mark-if): Make the message about whether it's
9111 marking or unmarking clearer (bug#8523).
9112
063b0e45
LMI
91132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9114
9115 * disp-table.el (display-table-print-array): New function.
9116 (describe-display-table): Use it to print the vectors more pretty
9117 (Bug#8859).
9118
28545e04
MR
91192011-07-02 Martin Rudalics <rudalics@gmx.at>
9120
9121 * window.el (window-state-get-1): Don't assign clone numbers.
9122 Add clone-of item to list of window parameters.
9123 (window-state-put-2): Don't process clone numbers.
9124 (display-buffer-alist): Fix doc-string.
9125
3349e122
SM
91262011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9127
9128 * subr.el (remq): Don't allocate if it's not needed.
9129 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9130 (keymap--merge-bindings): New functions.
9131 (keymap-canonicalize): Use them to refine the canonicalization.
9132 * minibuffer.el (minibuffer-local-completion-map)
9133 (minibuffer-local-must-match-map): Move initialization from C.
9134 (minibuffer-local-filename-completion-map): Move initialization from C;
9135 don't inherit from anything here.
9136 (minibuffer-local-filename-must-match-map): Make obsolete.
9137 (completing-read-default): Use make-composed-keymap to combine
9138 minibuffer-local-filename-completion-map with either
9139 minibuffer-local-must-match-map or
9140 minibuffer-local-filename-completion-map.
9141
d224ac83
GM
91422011-07-01 Glenn Morris <rgm@gnu.org>
9143
3de63bf8
GM
9144 * type-break.el (type-break-time-sum): Use dolist.
9145
d224ac83
GM
9146 * textmodes/flyspell.el (flyspell-word-search-backward):
9147 Replace CL function.
9148
1a1e3f32
SM
91492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9150
fe3f64d5
SM
9151 * mouse.el (mouse--strip-first-event): New function.
9152 (function-key-map): Use it to map fringe clicks to normal clicks
9153 by default.
9154
eb604e34
SM
9155 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9156 (vc-bzr-revision-completion-table): Add support for annotate and date.
9157
1a1e3f32
SM
9158 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9159 inherit from parent.
9160
5bd35902
LMI
91612011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9162
ace6c69c 9163 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9164 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9165
191e2bed
LMI
9166 * dired.el (dired-mode): Fix up the doc string as suggested by
9167 Drew Adams (bug#8817).
9168
5bd35902
LMI
9169 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9170 cookie, since the manual says that it should be possible to add
9171 this function to `find-file-hook' (bug#8709).
9172
eee8207a
TZ
91732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9174
9175 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9176 here. Noted Ted Zlatanov as the maintainer.
9177 (cfengine-common-settings, cfengine-common-syntax): New functions
9178 to set up common things between `cfengine-mode' and
9179 `cfengine3-mode'.
9180 (cfengine3-mode): New mode.
9181 (cfengine3-defuns cfengine3-defuns-regex
9182 (cfengine3-class-selector-regex cfengine3-category-regex)
9183 (cfengine3-vartypes cfengine3-font-lock-keywords)
9184 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9185 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9186
36b148cf
MA
91872011-07-01 Michael Albinus <michael.albinus@gmx.de>
9188
9189 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9190
9191 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9192
0bf4ba9a
MR
91932011-07-01 Martin Rudalics <rudalics@gmx.at>
9194
9195 * window.el (same-window-buffer-names, same-window-regexps)
9196 (same-window-p, special-display-frame-alist)
9197 (special-display-popup-frame, special-display-function)
9198 (special-display-buffer-names, special-display-regexps)
9199 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9200 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9201 (split-window-preferred-function, split-height-threshold)
9202 (split-width-threshold, even-window-heights)
9203 (display-buffer-mark-dedicated, window-splittable-p)
9204 (split-window-sensibly, window-safely-shrinkable-p):
9205 Un-obsolete.
9206 (display-buffer): Don't spread args with function specifier
9207 because special-display-popup-frame won't like it.
9208
35837f51
PE
92092011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9210
d0672f86
PE
9211 Time-stamp simplifications and fixes.
9212 These improve accuracy slightly, and future-proof the code
9213 against some potential changes to current-time format.
9214
b9444d97
PE
9215 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9216 by using time-since and float-time.
9217
0ef923dc
PE
9218 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9219 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9220 + NNN microseconds".
9221
2f81380d
PE
9222 * type-break.el (type-break-time-sum): Rewrite using time-add.
9223
845b5c3e
PE
9224 * play/hanoi.el (hanoi-current-time-float): Remove.
9225 All uses replaced by float-time.
9226
ee6f1be0
PE
9227 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9228 This yields a more-accurate answer.
9229 (rng-time-to-float): Remove; no longer needed.
9230
fe955043
PE
9231 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9232
5777162a
PE
9233 * calendar/timeclock.el (timeclock-seconds-to-time):
9234 Defalias to seconds-to-time, since they're the same thing.
9235
3103f8b6 9236 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9237 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9238 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9239
0e61a35f
SM
92402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * window.el (bury-buffer): Don't iconify the only frame.
9243 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9244 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9245
ddd63a1e
CY
92462011-07-01 Chong Yidong <cyd@stupidchicken.com>
9247
0e61a35f
SM
9248 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9249 Add mouse-yank-primary.
ddd63a1e 9250
055f4923
TZ
92512011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9252
9253 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9254
6a2fb145
SM
92552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9258 (find-library-name): Use it to find relative load names when provided
9259 absolute file name (bug#8803).
9260
fd4983f2
LMI
92612011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9262
887d14ad
LMI
9263 * textmodes/flyspell.el (flyspell-word): Consider words that
9264 differ only in case as potential doublons (bug#5687).
9265
c53dc7fc
LMI
9266 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9267 Remove two rather uninteresting debugging-like messages to make
9268 debbugs.el more silent.
9269
fd4983f2
LMI
9270 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9271 a password-like phrase.
9272
7a71b18d 92732011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9274
9275 * progmodes/cc-guess.el: New file.
9276
6a2fb145 9277 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9278
9279 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9280 derived from `c-basic-common-init'.
9281
9282 * progmodes/cc-mode.el (top-level): Require cc-guess.
9283 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9284
1fa280a3
LM
92852011-06-30 Lawrence Mitchell <wence@gmx.li>
9286
9287 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9288
e6597158
AM
92892011-06-30 Alan Mackenzie <acm@muc.de>
9290
1fa280a3
LM
9291 * progmodes/cc-engine.el (c-guess-continued-construct):
9292 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9293 lock is disabled. Name this case as "CASE G".
9294
68ba37fb
KM
92952011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9296
9297 * allout.el (allout-yank-processing): Fix injection of extra space
9298 between bullet and non-whitespace character in first topic when
9299 pasting, ensuring that the actual spacing in the pasted topic
9300 following the bullet char is preserved. This extra space was
9301 causing pasted encrypted topics to get a decrypted status even
9302 when the content was actually still encrypted. Now the decryption
9303 status from before the paste is preserved.
9304
9305 (allout-flag-region): Set all allout overlays so they evaporate
9306 when reduced to zero length (evanescent), to prevent overlay
9307 leakage.
9308
887a0b34
GM
93092011-06-30 Glenn Morris <rgm@gnu.org>
9310
94b9acce
GM
9311 * w32-fns.el (w32-charset-info-alist): Declare.
9312
1d9b46d4
GM
9313 * find-dired.el (find-grep-options): Simplify.
9314
cc232200
GM
9315 * term/ns-win.el (ns-set-resource): Declare.
9316
28e77c46
GM
9317 * ses.el (row, col): Declare dynamic variables honestly.
9318
887a0b34
GM
9319 * textmodes/reftex-parse.el (index-tags): Declare.
9320
658d8eb8
CY
93212011-06-30 Chong Yidong <cyd@stupidchicken.com>
9322
9323 * cus-edit.el (customize-push-and-save): New function.
9324
9325 * files.el (hack-local-variables-confirm): Use it.
9326
1fa280a3
LM
9327 * custom.el (load-theme): New arg NO-CONFIRM.
9328 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9329 (custom-enabled-themes): Doc fix.
9330
9331 * cus-theme.el (customize-create-theme)
9332 (custom-theme-merge-theme): Callers to load-theme changed.
9333
bb617717
LMI
93342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9335
d61bdd5d
LMI
9336 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9337 short URLs have at least one dot in them (bug #7614).
9338
bb617717
LMI
9339 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9340 nil, because using a pty is apparently too slow (bug #895).
9341
2f31f37a
LMI
93422011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9343
9344 * mail/sendmail.el (sendmail-query-once): New function.
9345 (sendmail-query-once-function): New variable.
9346
3076b24e
GM
93472011-06-29 Glenn Morris <rgm@gnu.org>
9348
faf2a174
GM
9349 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9350
3076b24e
GM
9351 * ses.el (top-level): Require cl when compiling.
9352 (ses-set-localvars): Fix error statement.
9353 Call it at compile time to silence a storm of warnings.
9354
5386012d
MR
93552011-06-29 Martin Rudalics <rudalics@gmx.at>
9356
9357 * window.el (normalize-live-buffer): Rename to
9358 window-normalize-buffer.
9359 (normalize-live-frame): Rename to window-normalize-frame.
9360 (normalize-any-window): Rename to window-normalize-any-window.
9361 (normalize-live-window): Rename to window-normalize-live-window.
9362 (make-window-atom): Rename to window-make-atom.
9363 (window-resize-reset): Rename to window--resize-reset.
9364 (window-resize-reset-1): Rename to window--resize-reset-1.
9365 (resize-mini-window): Rename to window--resize-mini-window.
9366 (resize-subwindows-skip-p): Rename to
9367 window--resize-subwindows-skip-p.
9368 (resize-subwindows-normal): Rename to
9369 window--resize-subwindows-normal.
9370 (resize-subwindows): Rename to window--resize-subwindows.
9371 (resize-other-windows): Rename to window--resize-siblings.
9372 (resize-this-window): Rename to window--resize-this-window.
9373 (resize-root-window): Rename to window--resize-root-window.
9374 (resize-root-window-vertically): Rename to
9375 window--resize-root-window-vertically.
9376 (normalize-buffer-to-display): Rename to
9377 window-normalize-buffer-to-display.
9378 (normalize-buffer-to-switch-to): Rename to
9379 window-normalize-buffer-to-switch-to.
9380 Correspondingly update all callers of the functions listed
9381 above.
9382 (display-buffer-alist, display-buffer-normalize-arguments)
9383 (display-buffer-normalize-options, display-buffer)
9384 (display-buffer-alist-set): Use "function" instead of
9385 "fun-with-args".
9386
1176868d
CY
93872011-06-28 Chong Yidong <cyd@stupidchicken.com>
9388
9389 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9390 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9391 debbugs.gnu.org. Mention acknowledgment email.
9392
20a7a65f
LMI
93932011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9394
9395 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9396 buffer multibyteness, since it shouldn't matter.
9397
5f45cca5
MR
93982011-06-28 Martin Rudalics <rudalics@gmx.at>
9399
9400 * window.el (display-buffer-in-side-window): Handle dedicated
9401 windows as in display-buffer-reuse-window.
9402 (display-buffer-normalize-alist): Use value of override
9403 specifier.
9404 (display-buffer-normalize-specifiers): Use value of
9405 other-window-means-other-frame specifier.
9406 (display-buffer-alist): Rewrite some texts in widgets.
9407 (display-buffer): Spread arguments when calling function
9408 specified by fun-with-args.
9409
ad85fe1f
DD
94102011-06-28 Deniz Dogan <deniz@dogan.se>
9411
1fa280a3
LM
9412 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9413 Unnest `let'.
da68c4c8 9414
ad85fe1f
DD
9415 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9416 selectors (Bug#5732).
ec49bd31 9417 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9418
a08cc025
JA
94192011-06-27 Jari Aalto <jari.aalto@cante.net>
9420
9421 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9422 (eshell-ls-date-format): New defcustom.
9423 (eshell-ls-file): Use it.
9424
e2b551c5
SM
94252011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9428
8982b231
KY
94292011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9430
9431 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9432 (ange-ftp-make-tmp-name): New arg.
9433 (ange-ftp-file-local-copy): Use it.
9434
36c9fa27
J
94352011-06-27 Jambunathan K <kjambunathan@gmail.com>
9436
9437 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9438 no-conversion (Bug#8870).
9439
d68443dc
MR
94402011-06-27 Martin Rudalics <rudalics@gmx.at>
9441
9442 * window.el (window-right, window-left, window-child)
9443 (window-child-count, window-last-child)
9444 (window-iso-combination-p, walk-window-tree-1)
9445 (window-atom-check-1, window-tree-1, delete-window)
9446 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9447 new naming conventions - window-vchild, window-hchild,
9448 window-next and window-prev are now called window-top-child,
9449 window-left-child, window-next-sibling and window-prev-sibling
9450 respectively.
d615d6d2
MR
9451 (resize-window-reset): Rename to window-resize-reset.
9452 (resize-window-reset-1): Rename to window-resize-reset-1.
9453 (resize-window): Rename to window-resize.
9454 (window-min-height, window-min-width)
9455 (resize-mini-window, resize-this-window, resize-root-window)
9456 (resize-root-window-vertically, adjust-window-trailing-edge)
9457 (enlarge-window, shrink-window, maximize-window)
9458 (minimize-window, delete-window, quit-restore-window)
9459 (split-window, balance-windows, balance-windows-area-adjust)
9460 (balance-windows-area, window-state-put-2)
9461 (display-buffer-even-window-sizes, display-buffer-set-height)
9462 (display-buffer-set-width, set-window-text-height)
9463 (fit-window-to-buffer): Rename all "resize-window" prefixed
9464 calls to use the "window-resize" prefix convention.
9465 (display-buffer-alist): Fix symbol for label specifier.
9466 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9467 corresponding specifier.
9468 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9469
b6458526
VB
94702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9471
9472 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9473 convention.
9474 (ses-call-printer): Does not pass an empty string to formatter when the
9475 cell is empty to keep from barking printer Calc math-format-value.
9476
d31fd9ac
RS
94772011-06-27 Richard Stallman <rms@gnu.org>
9478
43d5bf84
RS
9479 * battery.el (battery-mode-line-limit): New variable.
9480 (battery-update): Handle it.
9481
d31fd9ac
RS
9482 * mail/rmailmm.el (rmail-mime-process-multipart):
9483 Handle truncated messages.
9484
819a6054
GM
94852011-06-27 Glenn Morris <rgm@gnu.org>
9486
9487 * progmodes/flymake.el (flymake-err-line-patterns):
9488 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9489
cedc73f2
VB
94902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9491
819a6054 9492 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9493 (ses--clean-!, ses--clean-_): New functions.
9494 (ses-range): Add configurability of readout order, and conversion
9495 to Calc vector.
9496
5e5d49b6
VB
9497 * ses.el (ses-repair-cell-reference-all): New function.
9498 (ses-cell-symbol): Set macro as safe, so that it can be used in
9499 formulas.
9500
56e6cc31 9501 * ses.el: Update cycle detection algorithm.
90ca8b49 9502 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9503 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9504 (ses-set-localvars): New function.
9505 (ses-make-cell): Add property-list as a cell element.
9506 (ses-cell-property-get-fun, ses-cell-property-get)
9507 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9508 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9509 New functions.
90ca8b49
VB
9510 (ses-cell-property-set, ses-cell-property-pop)
9511 (ses-cell-property-get-handle): New macro.
9512 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9513 New aliases, used for code readability.
9514 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9515 cycle detection.
9516 (ses-self-reference-early-detection): New defcustom.
fac916bf 9517 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9518 (ses-mode): Use ses-set-localvars.
9519 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9520 before lauching the update processing.
9521 (ses-initialize-Dijkstra-attempt): New function.
9522 (ses-recalculate-cell): Update for cycle detection based on
9523 Dijkstra algorithm.
9524
2bb63e81
VB
9525 * ses.el: Fix commenting and indenting convention.
9526
c9d29fb8
SM
95272011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 * bs.el (bs-cycle-next): Complete last change.
9530
d8e4b68b
JB
95312011-06-27 Drew Adams <drew.adams@oracle.com>
9532
9533 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9534
40098786
LMI
95352011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9536
c9d29fb8
SM
9537 * net/network-stream.el (network-stream-open-starttls):
9538 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9539 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9540
40098786
LMI
9541 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9542 to binary to possibly avoid line encoding issues on Windows (among
9543 other things).
9544
468d09d4
LMI
95452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9546
9547 * net/network-stream.el (open-network-stream): Return an :error
9548 saying what the problem was, if possible.
9549
9550 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9551 server.
9552
9553 * net/network-stream.el (network-stream-open-starttls): If we
9554 wanted to use STARTTLS, and the server offered it, but we weren't
9555 able to because we had no STARTTLS support, then close the connection.
9556 (open-network-stream): Return an :error element, if present.
9557
16f07dd7
CY
95582011-06-26 Chong Yidong <cyd@stupidchicken.com>
9559
88821ca0
CY
9560 * hl-line.el (hl-line-sticky-flag): Doc fix.
9561 (global-hl-line-sticky-flag): New option (Bug#8323).
9562 (global-hl-line-highlight): Obey it.
9563
16f07dd7
CY
9564 * vc/vc.el (vc-revert-show-diff): Default to t.
9565
6b5ccddf
KM
95662011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9567
c9d29fb8
SM
9568 * allout-widgets.el (allout-widgets-post-command-business):
9569 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9570 undecorated when an isearch is continued past, and isearch
9571 automatically collapses them. This leads to "widget leaks", where
9572 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9573 hidden widgets can slow down cursor travel, substantially.
9574 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9575 so we're doing without this nicety.
9576
9577 (allout-widgets-tally-string): Don't try to do a hash-table-count
9578 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9579 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9580 *Messages* when allout-widgets-maintain-tally is t.
9581
355f2e07
MR
95822011-06-26 Martin Rudalics <rudalics@gmx.at>
9583
9584 * window.el (display-buffer-normalize-argument): Rename to
9585 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9586 LABEL argument. Respect special-display-function when popping up
9587 a new frame. Fix code searching for a window showing the buffer
9588 on another frame.
c9d29fb8
SM
9589 (display-buffer-normalize-specifiers):
9590 Call display-buffer-normalize-arguments.
355f2e07
MR
9591 (display-buffer-in-window): Don't undedicate the window if its
9592 buffer remains the same.
9593 Reported by Drew Adams <drew.adams@oracle.com>.
9594 (display-buffer-alist): Add choice for same-window macro
9595 specfier.
9596 (display-buffer): Mention special meaning of LABEL argument in
9597 doc-string. Fix quoting. Don't pop up a new frame even as
9598 fallback.
9599
7ca8fc42
JB
96002011-06-26 Juanma Barranquero <lekktu@gmail.com>
9601
9602 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9603 avoid deleting the current window in some cases (bug#8911).
9604
bc312254
AS
96052011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9606
9607 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9608 (Bug#8934)
9609
2db18f3f
LMI
96102011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9611
c9d29fb8
SM
9612 * net/network-stream.el (network-stream-open-starttls):
9613 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9614 (network-stream-open-tls): Ditto.
9615
6302e0d3
LL
96162011-06-26 Leo Liu <sdl.web@gmail.com>
9617
9618 * register.el (registerv): New struct.
9619 (registerv-make): New function.
c9d29fb8
SM
9620 (jump-to-register, describe-register-1, insert-register):
9621 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9622 struct. (Bug#8415)
9623
5fdd4046
CY
96242011-06-26 Chong Yidong <cyd@stupidchicken.com>
9625
2afef60a
CY
9626 * vc/vc.el (vc-revert-show-diff): New defcustom.
9627 (vc-diff-internal): New arg specifying diff buffer.
9628 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9629 reuse an existing *vc-diff* buffer (Bug#8927).
9630
5fdd4046
CY
9631 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9632
e93db24a
GM
96332011-06-26 Glenn Morris <rgm@gnu.org>
9634
9635 * progmodes/f90.el (f90-critical-indent): New option.
9636 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9637 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9638 (f90-mode): Doc fix.
9639 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9640 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9641 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9642 (f90-match-end): Handle block, critical.
9643
eefff499
GM
96442011-06-25 Glenn Morris <rgm@gnu.org>
9645
f6ba4cc9
GM
9646 * calendar/diary-lib.el (diary-included-files): Doc fix.
9647 (diary-include-files): New function, extracted from
9648 diary-include-other-diary-files and diary-mark-included-diary-files.
9649 (diary-include-other-diary-files, diary-mark-included-diary-files):
9650 Just call diary-include-files.
9651 (diary-mark-entries): Reset diary-included-files on first call.
9652
16712304
GM
9653 * calendar/diary-lib.el (diary-mark-entries)
9654 (diary-mark-included-diary-files):
9655 Visit included diary-files in temp buffers.
9656
5d8e0d43
GM
9657 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9658 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9659 (f90-start-block-re, f90-imenu-generic-expression)
9660 (f90-looking-at-program-block-start, f90-no-block-limit):
9661 Add support for submodules.
9662
ccf7a5d5
GM
9663 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9664 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9665
11fdef7d 96662011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9667
9668 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9669 buffer-file-type before setting its value, to avoid disastrous
eefff499 9670 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9671
74f53697
JB
96722011-06-25 Juanma Barranquero <lekktu@gmail.com>
9673
9674 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9675
9676 * ses.el (ses-unload-function):
9677 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9678
9679 * proced.el (proced-unload-function):
9680 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9681
18a4ce5e
AR
96822011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9683
9684 * server.el (server-create-window-system-frame): Add parameters arg.
9685 (server-process-filter): Doc fix. Handle frame-parameters.
9686
519d22cc
JB
96872011-06-25 Juanma Barranquero <lekktu@gmail.com>
9688
9689 Fix bug#8730, bug#8781.
9690
9691 * loadhist.el (unload--set-major-mode): New function.
9692 (unload-feature): Use it.
9693
9694 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9695 (python-unload-function): New function.
9696
c206f5b0
SM
96972011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9700
f9ad64f3
GS
97012011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9702
9703 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9704 the candidates list.
9705
7d0da90e
JB
97062011-06-24 Juanma Barranquero <lekktu@gmail.com>
9707
9708 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9709
14b4e83d
RS
97102011-06-23 Richard Stallman <rms@gnu.org>
9711
9712 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9713 (rmail-variables): Set next-error-move-function.
9714 (rmail-what-message): Take argument POS.
9715 (rmail-next-error-move): New function.
9716
273d2baf
SM
97172011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9720 messages for adjacent non-terminals.
9721
56c2cc9a
RS
97222011-06-23 Richard Stallman <rms@gnu.org>
9723
9724 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9725 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9726 (rmail-start-mail): Don't specify use of rmail-mail-return;
9727 that's done by mail-bury now.
9728 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9729
d59eb518
MA
97302011-06-23 Michael Albinus <michael.albinus@gmx.de>
9731
9732 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9733 SIZE is a number.
9734
02cfc6d6
MR
97352011-06-23 Martin Rudalics <rudalics@gmx.at>
9736
9737 * window.el (get-lru-window, get-mru-window)
9738 (get-largest-window): Never return a minibuffer window.
9739 (display-buffer-pop-up-window): Fix a bug that could lead to
9740 reusing the minibuffer window.
9741 (display-buffer): Pass original specifier argument to
9742 display-buffer-function instead of the normalized one.
9743 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9744
4e323265
LL
97452011-06-22 Leo Liu <sdl.web@gmail.com>
9746
9747 * minibuffer.el (completing-read-function)
9748 (completing-read-default): Move from minibuf.c
9749
7a70468f
RS
97502011-06-22 Richard Stallman <rms@gnu.org>
9751
50718fc2
RS
9752 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9753 to Rmail even if not started by a special Rmail command.
9754
7a70468f
RS
9755 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9756 Copy the buffer currently showing just one message.
9757
297dde5a
RW
97582011-06-22 Roland Winkler <winkler@gnu.org>
9759
9760 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9761 (bibtex-clean-entry): First delete the old key so that a
9762 customized algorithm for generating the new key does not get
9763 confused by the old key.
9764 (bibtex-url): Obey regexp of first step.
9765 (bibtex-search-entries): Do not use add-to-list with local
9766 list-var.
9767
97bb1093
LMI
97682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9769
9770 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9771 stored a user name, then query for the password first, instead of
9772 waiting for SMTP to give an error message and the trying again.
9773
1c0f1a19
JD
97742011-06-22 Lawrence Mitchell <wence@gmx.li>
9775
9776 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9777 BUFFER in call-process.
9778
396f7c9d
LMI
97792011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9780
9781 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9782 QUIT twice.
ddb7ffee
LMI
9783 (smtpmail-try-auth-methods): Require user name and password from
9784 auth-source.
396f7c9d 9785
8998d1b3
MR
97862011-06-22 Martin Rudalics <rudalics@gmx.at>
9787
9788 * window.el (display-buffer-default-specifiers)
9789 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9790 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9791 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9792
9793 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9794 (special-display-frame-alist, special-display-popup-frame):
9795 Remove duplicate declarations. These are now in window.el.
9796
4ea31e07
LMI
97972011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9798
c9d29fb8
SM
9799 * mail/smtpmail.el (smtpmail-via-smtp):
9800 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9801 server supports it. SMTP servers that support STARTTLS commonly
9802 require it.
9803
9804 * net/network-stream.el (network-stream-open-starttls): Support
9805 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9806 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9807
95f41d9a
LMI
9808 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9809 upgrades with `open-network-stream', and rely solely on
9810 auth-source for all credentials. Big changes throughout the file,
9811 but in particular:
c9d29fb8
SM
9812 (smtpmail-auth-credentials): Remove.
9813 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9814 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9815 MAIL FROM, too.
95f41d9a 9816
c9d29fb8
SM
9817 * net/network-stream.el (network-stream-open-starttls):
9818 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9819 STARTTLS.
9820 (auth-source): Require.
9821 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9822 (network-stream-certificate): Change cert-cert to cert and
9823 cert-key to key.
4ea31e07 9824
065ec2c7
MA
98252011-06-21 Michael Albinus <michael.albinus@gmx.de>
9826
9827 * net/tramp-cache.el (top): Don't load the persistency file when
9828 "emacs -Q" has been called.
9829
cd93b359
DR
98302011-06-21 Tim Harper <timcharper@gmail.com>
9831
d8e4b68b
JB
9832 * term/ns-win.el (ns-initialize-window-system):
9833 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9834 resource to NO as it is not yet supported by the NS port.
9835
ae9c0411
JB
98362011-06-21 Juanma Barranquero <lekktu@gmail.com>
9837
9838 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9839 (list-dynamic-libraries): ...not here.
9840
7f3f739f
LL
98412011-06-21 Leo Liu <sdl.web@gmail.com>
9842
9843 * subr.el (sha1): Implement sha1 using secure-hash.
9844
327c8fb1
MR
98452011-06-21 Martin Rudalics <rudalics@gmx.at>
9846
9847 * window.el (display-buffer-alist): In default value do not
9848 enforce searching a window on any but the selected frame.
9849 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9850 (display-buffer-select-window): Remove function.
9851 (display-buffer-in-window): When a window on another frame gets
9852 reused, do not select it any more but just raise its frame if
9853 necessary (Bug#8851) and (Bug#8856).
9854 (display-buffer-normalize-options): Handle pop-up-frames related
9855 options more faithfully.
9856 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9857 window if it is on another frame.
c9d29fb8
SM
9858 (display-buffer-alist, display-buffer-default-specifiers):
9859 Don't make new frame unsplittable by default.
9e9de014
MR
9860 (display-buffer-normalize-argument): Fix doc-string typo and use
9861 'same-frame-other-window instead of 'other-window when associating
9862 with display-buffer-macro-specifiers.
327c8fb1 9863
7cf3f556
VB
98642011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9865
9866 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9867 New functions.
9868 (5x5-mode-map, 5x5-mode-menu): Bind them.
9869 (5x5-draw-grid): Tweak the solver's rendering.
9870
60a406cf
SM
98712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9874 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9875
d8e4b68b 98762011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9877
9878 * menu-bar.el: Use function variable instead of switch-to-buffer.
9879 (menu-bar-select-buffer-function): New variable.
60a406cf 9880 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9881
478d6f95
SM
98822011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9883
9884 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9885 variable's status.
9886
ca530739
JD
98872011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9888
9889 * x-dnd.el (x-dnd-version-from-flags)
9890 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9891 and long as number (Bug#8899).
9892 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9893
bcd70d97
SM
98942011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9895
60a406cf 9896 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9897 (completion-try-completion, completion-all-completions): Compute the
9898 metadata argument if it's missing; make it optional (bug#8795).
9899
60a406cf 9900 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9901 (widget-complete): Use new :completion-function property.
9902 (widget-completions-at-point): New function.
9903 (default): Use :completion-function instead of :complete.
60a406cf
SM
9904 (widget-default-completions): Rename from widget-default-complete;
9905 Rewrite.
bcd70d97
SM
9906 (widget-string-complete, widget-file-complete, widget-color-complete):
9907 Remove functions.
9908 (file, symbol, function, variable, coding-system, color):
9909 * international/mule-cmds.el (default-input-method, charset)
9910 (language-info-custom-alist):
9911 * cus-edit.el (face): Use new property :completions.
9912
9913 * progmodes/pascal.el (pascal-completions-at-point): New function.
9914 (pascal-mode): Use it.
9915 (pascal-mode-map): Use completion-at-point.
9916 (pascal-toggle-completions): Make obsolete.
9917 (pascal-complete-word, pascal-show-completions):
9918 * progmodes/octave-mod.el (octave-complete-symbol):
9919 Redefine as obsolete alias.
9920 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9921 Signal absence of completion info for old Octave,
9922 (inferior-octave-complete): Redefine as obsolete alias.
9923 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9924 (meta-completions-at-point): Rename from meta-complete-symbol and
9925 adapt it for use on completion-at-point-functions.
9926 (meta-common-mode): Use it.
9927 (meta-looking-at-backward, meta-match-buffer): Remove.
9928 (meta-complete-symbol): Redefine as obsolete alias.
9929 (meta-common-mode-map): Use completion-at-point.
9930 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9931 (makefile-mode-map): Use completion-at-point.
9932 (makefile-completions-at-point): Rename from makefile-complete and
9933 adapt it for use on completion-at-point-functions.
9934 (makefile-mode): Use it.
9935 (makefile-complete): Redefine as obsolete alias.
9936
aebf69c8
DD
99372011-06-20 Deniz Dogan <deniz@dogan.se>
9938
9939 * net/rcirc.el: Delete trailing whitespaces once and for all.
9940
bfbbb27d
DC
99412011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9942
9943 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9944
d264a46b
CY
99452011-06-19 Chong Yidong <cyd@stupidchicken.com>
9946
4ca009e5
CY
9947 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9948
d264a46b
CY
9949 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9950
fbf5b3ce
MR
99512011-06-19 Martin Rudalics <rudalics@gmx.at>
9952
9953 * window.el (display-buffer-other-window-means-other-frame):
9954 Call display-buffer-normalize-alist.
9955 (display-buffer-normalize-specifiers-1): Rename to
9956 display-buffer-normalize-argument. New argument other-frame.
9957 Rewrite.
9958 (display-buffer-normalize-specifiers-2): Rename to
9959 display-buffer-normalize-options.
9960 (display-buffer-normalize-alist-1): New function.
9961 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9962 display-buffer-normalize-alist.
9963 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9964 (display-buffer-normalize-options-inhibit): New variable.
9965 (display-buffer-normalize-specifiers): Rewrite calling
9966 display-buffer-normalize-alist,
9967 display-buffer-normalize-argument, and
9968 display-buffer-normalize-options. Don't call the latter if
9969 display-buffer-normalize-options-inhibit is non-nil.
9970 (frame-auto-delete): New option.
9971 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9972 (window-list-no-nils, window-state-ignored-parameters)
9973 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9974 (window-state-put-1, window-state-put-2, window-state-put):
9975 New functions.
9a028c23
MR
9976 (display-buffer-normalize-options): Move special-display-p group
9977 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9978
6d10d800
CY
99792011-06-18 Chong Yidong <cyd@stupidchicken.com>
9980
6420d28b
CY
9981 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9982 groups (Bug#8776).
9983 (rx-submatch-n): New function.
9984 (rx): Document it.
9985
ddb8b596
CY
9986 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9987 (Bug#8768).
9988
9989 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9990
77080289
CY
9991 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9992
61dfb316
CY
9993 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9994 anytime existing face settings are present (Bug#8889).
9995
6d10d800
CY
9996 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9997 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9998 Remove unused argument.
9999
be3fb2b8
MR
100002011-06-18 Martin Rudalics <rudalics@gmx.at>
10001
bcd70d97
SM
10002 * window.el (display-buffer-default-specifiers):
10003 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10004 pop-up-window-min-width, and another reuse-window specifier
10005 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10006 (display-buffer-normalize-specifiers-2):
10007 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10008 pop-up-windows is unset. Add a reuse-window specifier for the
10009 case popping up a new window fails.
10010 (special-display-popup-frame): Remove double quoting.
28dec25a 10011 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10012
1c6d8c76
SM
100132011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10016 according to comint-completion-addsuffix.
10017
10018 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10019 (pcomplete-suffix-list): Mark as obsolete.
10020 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10021 pcomplete-seen in the closure.
10022 (pcomplete-comint-setup): Setup completion-at-point as well.
10023 (pcomplete--entries): New function.
10024 (pcomplete--env-regexp): New var.
10025 (pcomplete-entries): Rewrite to work with partial-completion and
10026 without relying on pcomplete-suffix-list.
10027 (pcomplete-pare-list): Remove, unused.
10028
25aef8b8
MR
100292011-06-17 Martin Rudalics <rudalics@gmx.at>
10030
10031 * window.el (display-buffer-alist): Set pop-up-window-min-height
10032 and pop-up-window-min-width in default value. Reported by
10033 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10034 other-window-means-other-frame.
10035 (display-buffer-macro-specifiers): Comment out entry for
10036 other-window specifier.
10037 (display-buffer-other-window-means-other-frame): New function.
10038 (display-buffer-normalize-specifiers-1): New arguments
10039 buffer-name and label. Treat other-window case specially.
10040 (display-buffer-normalize-specifiers-2): Treat other-window case
10041 specially.
10042 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10043 (display-buffer-normalize-specifiers):
10044 Call display-buffer-normalize-specifiers-3.
25aef8b8 10045
dbad4f69
MR
100462011-06-17 Martin Rudalics <rudalics@gmx.at>
10047
10048 * window.el (same-window-p): Fix two typos introduced when
10049 adding with-no-warnings.
d1067961
MR
10050 (display-buffer-normalize-specifiers-1): Don't check
10051 pop-up-frames for 'unset initialization.
10052 (display-buffer-normalize-specifiers-2): Major rewrite using
10053 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10054 (pop-up-frames, display-buffer-reuse-frames)
10055 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10056 Suggested by David Engster <deng@randomsample.de>.
10057 (even-window-heights): Initialize to 'unset.
10058 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10059 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10060 other window case.
dbad4f69 10061
9b9c9e3a
MR
100622011-06-16 Martin Rudalics <rudalics@gmx.at>
10063
bcd70d97
SM
10064 * window.el (display-buffer-normalize-specifiers-1):
10065 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10066 second argument of display-buffer (Bug#8865).
981d5c09
MR
10067 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10068 (switch-to-buffer-other-window-same-frame)
10069 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10070 Adams (Bug#8875).
9c2755e9
MR
10071 (display-buffer): Don't check noninteractive when calling
10072 display-buffer-pop-up-frame.
10073 (display-buffer-pop-up-frame): Never pop up a frame in
10074 noninteractive mode (Bug#8857).
67222e1d
MR
10075 (enlarge-window, shrink-window): Don't report an error when the
10076 window can't be resized as requested (Bug#8862).
9b9c9e3a 10077
2b75be67
SM
100782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10079
9ffdd3ba
SM
10080 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10081
cb581a67
SM
10082 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10083
2b75be67
SM
10084 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10085
8c0e3589
AM
100862011-06-15 Alan Mackenzie <acm@muc.de>
10087
cb581a67
SM
10088 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10089 for declarators, disable knr checking to speed up for normal files.
10090 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10091
b96e6cde
LMI
100922011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10093
4bba86e6
LMI
10094 * net/network-stream.el (open-network-stream): Add the keyword
10095 :always-query-capabilities for the case where you want to force a
10096 `plain' network connection, but the protocol still requires the
10097 capabilitiy command (i.e., SMTP and EHLO).
10098
2b75be67 10099 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10100 consistency with other `-live-p' functions.
10101
efdcdbf8
SM
101022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * window.el (same-window-buffer-names, same-window-regexps)
10105 (special-display-frame-alist, special-display-popup-frame)
10106 (special-display-function, special-display-buffer-names)
10107 (special-display-regexps, pop-up-frame-alist)
10108 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10109 (pop-up-windows, split-window-preferred-function)
10110 (split-height-threshold, split-width-threshold, even-window-heights)
10111 (display-buffer-mark-dedicated): Don't encourage the use of
10112 display-buffer-alist from Elisp code.
10113
c5cde042
DN
101142011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10115
10116 * progmodes/python.el (python-mode): Derive from prog-mode.
10117 * progmodes/ps-mode.el (ps-mode):
10118 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10119 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10120 * progmodes/ld-script.el (ld-script-mode): Likewise.
10121
baa1c9ab
MR
101222011-06-15 Martin Rudalics <rudalics@gmx.at>
10123
10124 * window.el (display-buffer-alist): Trim default value to avoid
10125 popping up a new frame (Bug#8857) or reusing an arbitrary window
10126 on another frame.
10127 (display-buffer): Do not fall back on popping up a new frame in
10128 batch mode (Bug#8857).
10129
c5dd5a51
CY
101302011-06-14 Chong Yidong <cyd@stupidchicken.com>
10131
10132 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10133 (custom-theme-summary): New function.
10134 (customize-themes): Use it.
10135
d647b7c4
GM
101362011-06-13 Glenn Morris <rgm@gnu.org>
10137
10138 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10139
9481c002
MR
101402011-06-13 Martin Rudalics <rudalics@gmx.at>
10141
357f93d2
MR
10142 * help.el (help-window): Remove variable.
10143 (help-window-point-marker, temp-buffer-max-height)
10144 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10145 (help-print-return-message): Don't set help-window.
10146 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10147 (help-window-setup-finish): Remove.
10148 (help-window-display-message, help-window-setup)
10149 (with-help-window): Major rewrite based on new
10150 display-buffer-window variable.
10151
10152 * help-mode.el (help-mode-finish): Remove help-window related
10153 code.
10154
10155 * view.el (view-exits-all-viewing-windows): Remove reference to
10156 view-return-to-alist in doc-string.
10157 (view-return-to-alist): Make obsolete.
10158 (view-buffer): Call pop-to-buffer-same-window and remove
10159 undo-window code.
10160 (view-buffer-other-window): Call pop-to-buffer-other-window and
10161 simplify code. Ignore second argument.
10162 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10163 simplify code. Ignore second argument.
10164 (view-return-to-alist-update): Make obsolete.
10165 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10166 Rewrite using quit-restore window parameters.
2b75be67
SM
10167 (view-mode-exit): Rename second argument to EXIT-ONLY.
10168 Rewrite using quit-restore-window.
357f93d2
MR
10169 (View-exit, View-exit-and-edit, View-leave, View-quit)
10170 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10171 appropriate arguments.
10172 (view-end-message): Use quit-restore window parameter.
10173
9481c002
MR
10174 * window.el (display-buffer-function): Rewrite doc-string.
10175 (display-buffer-window, display-buffer-alist): New variables.
10176 (display-buffer-split-specifiers)
10177 (display-buffer-side-specifiers)
10178 (display-buffer-macro-specifiers): New constants.
10179 (display-buffer-even-window-sizes, display-buffer-set-height)
10180 (display-buffer-set-width, display-buffer-select-window)
10181 (display-buffer-in-window, display-buffer-reuse-window)
10182 (display-buffer-split-window-1, display-buffer-split-window)
10183 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10184 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10185 (display-buffer-in-side-window, normalize-buffer-to-display)
10186 (display-buffer-normalize-specifiers-1)
10187 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10188 (display-buffer-normalize-specifiers, display-buffer-frame):
10189 New functions.
9481c002
MR
10190 (display-buffer): Major rewrite.
10191 (display-buffer-other-window, display-buffer-other-frame)
10192 (pop-to-buffer, switch-to-buffer-other-window)
10193 (switch-to-buffer-other-frame): Rewrite.
10194 (display-buffer-same-window, display-buffer-same-frame)
10195 (display-buffer-same-frame-other-window)
10196 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10197 (pop-to-buffer-other-window)
10198 (pop-to-buffer-same-frame-other-window)
10199 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10200 (switch-to-buffer-other-window-same-frame): New functions.
10201 (same-window-p, special-display-p): Rewrite disabling warnings.
10202 Make obsolete.
10203 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10204 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10205 Make obsolete
10206 (same-window-buffer-names, same-window-regexps)
10207 (special-display-frame-alist, special-display-popup-frame)
10208 (special-display-function, special-display-buffer-names)
10209 (special-display-regexps, pop-up-frame-alist)
10210 (pop-up-frame-function, split-window-preferred-function)
10211 (split-height-threshold, split-width-threshold)
10212 (even-window-heights): Make obsolete.
10213
9db51aca
GM
102142011-06-12 Glenn Morris <rgm@gnu.org>
10215
10216 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10217 Misc simplifications.
9db51aca 10218
39cffb44
MR
102192011-06-12 Martin Rudalics <rudalics@gmx.at>
10220
10221 * window.el (window-safely-shrinkable-p): Restore function which
10222 was inadvertently removed in change from 2011-06-11. Declare as
10223 obsolete.
10224
2b75be67
SM
10225 * calendar/calendar.el (calendar-generate-window):
10226 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10227 window-safely-shrinkable-p.
10228
a8955be7
GM
102292011-06-12 Glenn Morris <rgm@gnu.org>
10230
10231 * progmodes/fortran.el (fortran-mode-syntax-table):
10232 * progmodes/f90.el (f90-mode-syntax-table):
10233 Set % to punctuation. (Bug#8820)
10234 (f90-find-tag-default): Remove, no longer needed.
10235
f0d4059d
DC
102362011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10237
10238 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10239
1100a63c
CY
102402011-06-11 Chong Yidong <cyd@stupidchicken.com>
10241
10242 * image.el (image-animated-p): Return animation delay in seconds.
10243 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10244 (image-animate-timeout): Remove DELAY argument. Don't assume
10245 every subimage has the same delay; get it from image-animated-p.
10246 (image-animate): Caller changed.
10247
def722bf
MA
102482011-06-11 Michael Albinus <michael.albinus@gmx.de>
10249
10250 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10251 to ignored backtrace functions.
10252
0a2bb1a9
GM
102532011-06-11 Glenn Morris <rgm@gnu.org>
10254
10255 * calendar/appt.el (appt-disp-window-function): Doc fix.
10256 (appt-check): Handle overlapping appointments. (Bug#8337)
10257
6198ccd0
MR
102582011-06-11 Martin Rudalics <rudalics@gmx.at>
10259
10260 * window.el (window-tree-1, window-tree): New functions, moving
10261 the latter to window.el.
10262 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10263 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10264 (bw-refresh-edges): Remove.
10265 (balance-windows-1, balance-windows-2): New functions.
10266 (balance-windows): Rewrite in terms of window tree functions,
10267 balance-windows-1 and balance-windows-2.
10268 (bw-adjust-window): Remove.
10269 (balance-windows-area-adjust): New function with functionality of
10270 bw-adjust-window but using resize-window.
2b75be67
SM
10271 (set-window-text-height): Rewrite doc-string.
10272 Use normalize-live-window and resize-window.
10273 (enlarge-window-horizontally, shrink-window-horizontally):
10274 Rename argument to DELTA.
6198ccd0
MR
10275 (window-buffer-height): New function.
10276 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10277 Rewrite using new window resize routines.
2b75be67
SM
10278 (kill-buffer-and-window, mouse-autoselect-window-select):
10279 Use ignore-errors instead of condition-case.
6198ccd0
MR
10280 (quit-window): Call delete-frame instead of delete-windows-on
10281 for the only buffer on frame.
10282
9397e56f
MR
102832011-06-10 Martin Rudalics <rudalics@gmx.at>
10284
10285 * loadup.el (top-level): Load window before files for the sake
10286 of replace-buffer-in-windows.
10287
10288 * files.el (read-buffer-to-switch)
10289 (switch-to-buffer-other-window)
2b75be67
SM
10290 (switch-to-buffer-other-frame, display-buffer-other-frame):
10291 Move to window.el.
9397e56f
MR
10292
10293 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10294 (previous-buffer): Move to window.el.
10295
10296 * bindings.el (unbury-buffer): Move to window.el.
10297
10298 * window.el (delete-other-windows-vertically): Move after
10299 definition of delete-other-windows.
10300 (other-window, delete-windows-on, replace-buffer-in-windows):
10301 Move here from window.c.
10302 (record-window-buffer, unrecord-window-buffer)
10303 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10304 (switch-to-next-buffer): New functions.
10305 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10306 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10307 (previous-buffer): Move here from simple.el.
10308 Call switch-to-prev-buffer.
9397e56f
MR
10309 (bury-buffer): Move here from buffer.c. Switch to previous
10310 buffer when window cannot be deleted.
10311 (unbury-buffer): Move here from bindings.el.
10312 (ctl-x-map): Move binding for other-window from window.c to
10313 here.
10314 (read-buffer-to-switch, switch-to-buffer-other-window)
10315 (switch-to-buffer-other-frame): Move here from files.el.
10316 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10317 (switch-to-buffer): Move here from buffer.c.
10318 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10319
562dd5e9
MR
103202011-06-10 Martin Rudalics <rudalics@gmx.at>
10321
10322 * window.el (window-min-height, window-min-width): Move here
10323 from window.c. Add defcustoms and rewrite doc-strings.
10324 (resize-mini-window, resize-window): New functions.
10325 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10326 Move here from window.c.
10327 (maximize-window, minimize-window): New functions.
10328 (delete-window, delete-other-windows, split-window): Move here
10329 from window.c.
10330 (window-split-min-size): New function.
10331 (split-window-keep-point): Mention split-window-above-each-other
10332 instead of split-window-vertically.
2b75be67 10333 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10334 Rename split-window-vertically to split-window-above-each-other
10335 and provide defalias for old definition.
10336 (split-window-side-by-side, split-window-horizontally):
10337 Rename split-window-horizontally to split-window-side-by-side
10338 and provide defalias for the old definition.
562dd5e9
MR
10339 (ctl-x-map): Move bindings for delete-window,
10340 delete-other-windows and enlarge-window here from window.c.
10341 Replace bindings for split-window-vertically and
10342 split-window-horizontally by bindings for
10343 split-window-above-each-other and split-window-side-by-side.
10344
10345 * cus-start.el (all): Remove entries for window-min-height and
10346 window-min-width. Add entries for window-splits and
10347 window-nest.
10348
f0da764a
GM
103492011-06-09 Glenn Morris <rgm@gnu.org>
10350
80675c21
GM
10351 * calendar/appt.el (appt-mode-line): New function.
10352 (appt-check, appt-disp-window): Use it.
10353
f0da764a
GM
10354 * files.el (hack-one-local-variable-eval-safep):
10355 Allow minor-modes with explicit +/-1 arguments.
10356
59f623b7
TZ
103572011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10358
10359 * term/xterm.el (xterm): Add defgroup.
10360 (xterm-extra-capabilities): Add defcustom to supply known xterm
10361 capabilities, skip querying them, or query them (default).
10362 (terminal-init-xterm): Use it.
10363 (terminal-init-xterm-modify-other-keys): New function to set up
10364 modifyOtherKeys support to simplify `terminal-init-xterm'.
10365
9aab8e0d
MR
103662011-06-09 Martin Rudalics <rudalics@gmx.at>
10367
10368 * window.el (resize-window-reset, resize-window-reset-1)
10369 (resize-subwindows-skip-p, resize-subwindows-normal)
10370 (resize-subwindows, resize-other-windows, resize-this-window)
10371 (resize-root-window, resize-root-window-vertically)
10372 (window-deletable-p, window-or-subwindow-p)
10373 (frame-root-window-p): New functions.
10374
e8b08aee
GM
103752011-06-09 Glenn Morris <rgm@gnu.org>
10376
10377 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10378 (ange-ftp-get-files): Use it.
10379
254c37a5
AK
103802011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10381
10382 * mail/sendmail.el (mail-recover-1, mail-recover):
10383 * files.el (recover-file, recover-session):
10384 Handle dired-listing-switches not being just a single short option.
10385
35d7dbd3
GM
103862011-06-09 Glenn Morris <rgm@gnu.org>
10387
10388 * calendar/appt.el (appt-display-message, appt-disp-window):
10389 Handle lists of appointments.
10390
387522b2
MR
103912011-06-08 Martin Rudalics <rudalics@gmx.at>
10392
2b75be67
SM
10393 * window.el (one-window-p): Move down in code.
10394 Rewrite doc-string.
10395 (window-current-scroll-bars): Rewrite doc-string.
10396 Normalize live window argument.
387522b2
MR
10397 (walk-windows, get-window-with-predicate, count-windows):
10398 Rewrite doc-string. Use window-list-1.
10399 (window-in-direction-2, window-in-direction, get-mru-window):
10400 New functions.
10401
d8e4b68b 104022011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10403
10404 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10405 Doc fix (Bug#8713).
10406
104072011-06-08 Chong Yidong <cyd@stupidchicken.com>
10408
10409 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10410
104112011-06-08 Juanma Barranquero <lekktu@gmail.com>
10412
10413 * loadhist.el (unload-feature-special-hooks):
10414 Add `comint-output-filter-functions'.
10415
0de12c52
IK
104162011-06-08 Ivan Kanis <gnu@kanis.fr>
10417
10418 * calendar/appt.el (appt-check): Move some initializations into the let.
10419
f3d1777e
MR
104202011-06-08 Martin Rudalics <rudalics@gmx.at>
10421
10422 * window.el (window-height): Defalias to window-total-height.
10423 (window-width): Defalias to window-body-width.
10424
18af70d0
CY
104252011-06-07 Chong Yidong <cyd@stupidchicken.com>
10426
10427 * image-mode.el (image-toggle-animation): New command.
10428 (image-mode-map): Bind it to RET.
10429 (image-mode): Update message.
10430 (image-toggle-display-image): Avoid a spurious cache flush.
10431 (image-transform-rotation): Doc fix.
10432 (image-transform-properties): Return quickly in the normal case.
10433 (image-animate-loop): Rename from image-animate-max-time.
10434
2b75be67 10435 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10436 (create-animated-image): Remove unnecessary function.
10437 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10438 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10439 (image-animate-timer): Use car-safe.
10440 (image-animate-timeout): Rename argument.
10441
190b47e6
MR
104422011-06-07 Martin Rudalics <rudalics@gmx.at>
10443
10444 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10445 window.c. Rename first argument to ALL-FRAMES.
10446 Rephrase doc-strings.
10447 (get-buffer-window-list): Rewrite using window-list-1.
10448 Rephrase doc-string.
a1511caf
MR
10449 (window-safe-min-height, window-safe-min-width): New constants.
10450 (window-size-ignore, window-min-size, window-min-size-1)
10451 (window-sizable, window-sizable-p, window-size-fixed-1)
10452 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10453 (window-max-delta-1, window-max-delta, window-resizable)
10454 (window-resizable-p, window-total-height, window-total-width)
10455 (window-body-width): New functions.
10456 (window-full-height-p, window-full-width-p): Rewrite using
10457 window-total-size.
10458 (window-body-height): Rewrite using window-body-size.
190b47e6 10459
85cc1f11
MR
104602011-06-06 Martin Rudalics <rudalics@gmx.at>
10461
10462 * window.el (window-right, window-left, window-child)
10463 (window-child-count, window-last-child, window-any-p)
10464 (normalize-live-buffer, normalize-live-frame)
10465 (normalize-any-window, normalize-live-window)
10466 (window-iso-combination-p, window-iso-combined-p)
10467 (window-iso-combinations)
10468 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10469 (windows-with-parameter, window-with-parameter)
10470 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10471 (window-atom-check, window-side-check, window-check):
10472 New functions.
85cc1f11
MR
10473 (ignore-window-parameters, window-sides, window-sides-vertical)
10474 (window-sides-slots): New variables.
10475 (window-size-fixed): Move down in code. Minor doc-string fix.
10476
e7156492
AS
104772011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10478
10479 * comint.el (comint-dynamic-complete-as-filename)
10480 (comint-dynamic-complete-filename): Correctly call
10481 completion-in-region.
10482
7e821d0d
DD
104832011-06-05 Deniz Dogan <deniz@dogan.se>
10484
10485 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10486 in last change.
10487
ac09b8a1
DD
104882011-06-05 Deniz Dogan <deniz@dogan.se>
10489
10490 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10491 (rcirc): Use it to prompt for encryption.
10492
34699b85
RW
104932011-06-05 Roland Winkler <winkler@gnu.org>
10494
10495 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10496 (bibtex-search-entries): New command bound to C-c C-a.
10497 (bibtex-display-entries): New function.
10498
004dedd3
RW
104992011-06-05 Roland Winkler <winkler@gnu.org>
10500
10501 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10502 (bibtex-insert-kill): After yanking insert newline if necessary.
10503 (bibtex-initialize): Call bibtex-string-files-init only once.
10504 (bibtex-mode): Do not call easy-menu-add.
10505 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10506 (bibtex-yank): Set arg properly if nil.
10507
022fe7ce
RW
105082011-06-05 Roland Winkler <winkler@gnu.org>
10509
2b75be67
SM
10510 * textmodes/bibtex.el (bibtex-search-entry-globally):
10511 New variable.
022fe7ce
RW
10512 (bibtex-search-entry): Use it.
10513
b7c3692a
RW
105142011-06-05 Roland Winkler <winkler@gnu.org>
10515
10516 * textmodes/bibtex.el (bibtex-entry-format): New option
10517 sort-fields.
10518 (bibtex-format-entry, bibtex-reformat): Honor this option.
10519 (bibtex-parse-entry): Return fields in proper order.
10520
8eda563d
JB
105212011-06-05 Juanma Barranquero <lekktu@gmail.com>
10522
10523 * doc-view.el (doc-view-remove-if): Move computation of result out
10524 of `dolist' to silence misleading lexical-binding warning.
10525
7dbe3dbc
CY
105262011-06-04 Chong Yidong <cyd@stupidchicken.com>
10527
10528 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10529 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10530
0c33dd17
MA
105312011-06-04 Michael Albinus <michael.albinus@gmx.de>
10532
10533 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10534 "SunOS 5.10".
10535
f8f91c2b
MA
105362011-06-04 Michael Albinus <michael.albinus@gmx.de>
10537
10538 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10539 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10540 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10541 (tramp-parse-putty):
10542 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10543 (tramp-completion-function-alist-ssh)
10544 (tramp-completion-function-alist-telnet)
10545 (tramp-completion-function-alist-su)
10546 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10547 cookie.
10548
10549 * net/tramp-ftp.el:
10550 * net/tramp-sh.el:
10551 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10552 load "tramp.el" `tramp-set-completion-function'.
10553
e17d9003
SM
105542011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * shell.el: Require and use pcomplete.
10557 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10558 (shell-completion-vars): Set pcomplete-default-completion-function.
10559
6c4cab03
DD
105602011-06-04 Deniz Dogan <deniz@dogan.se>
10561
10562 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10563 `memq' (Bug#8799).
10564
ea9fafe0
SM
105652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10566
10567 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10568
b3e945d3
JB
105692011-06-02 Juanma Barranquero <lekktu@gmail.com>
10570
10571 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10572 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10573 * vc/log-view.el (log-view-beginning-of-defun):
10574 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10575 (smerge-refine-forward, smerge-refine-chopup-region):
10576 Silence warning for unused `dotimes' counter variables.
10577
7d520089
SM
105782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * net/tramp.el (tramp-with-progress-reporter): Rename from
10581 with-progress-reporter. Use `declare'.
10582 * net/tramp-smb.el:
10583 * net/tramp-sh.el:
10584 * net/tramp-gvfs.el: Update all uses.
10585
a1c2400f
JB
105862011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10587
10588 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10589 buffer isn't killed before making it current.
10590
2403c841
SM
105912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10592
10593 Silence various byte-compiler warnings.
10594 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10595 `access-type' and new obsolescence format.
10596 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10597 new format.
10598 (byte-compile-check-variable): New `access-type' argument.
10599 Only warn if the access-type is obsolete.
10600 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10601 (byte-compile-variable-set): Adjust callers.
10602 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10603 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10604 setting it as obsolete.
10605 * simple.el (minibuffer-completing-symbol):
10606 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10607 access as obsolete.
10608 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10609 obsolete yet.
10610 * international/quail.el (quail-mouse-choose-completion): Remove unused
10611 code referring to obsolete var.
10612 (quail-choose-completion-string): Remove.
10613 * server.el (server-clients-with, server-kill-buffer-query-function)
10614 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10615 * proced.el (proced-send-signal):
10616 * emacs-lisp/lisp.el (lisp-complete-symbol):
10617 Replace completion-annotate-function with completion-extra-properties.
10618
2462470b
SM
106192011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10620
fb5b2591
SM
10621 * simple.el (goto-line): Use read-number.
10622 (overriding-map-is-bound): Remove.
10623 (saved-overriding-map): Change default.
10624 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10625 Take the map as argument.
10626 (universal-argument, negative-argument, digit-argument): Use it.
10627 (restore-overriding-map): Adjust.
10628 (do-auto-fill): Use fill-forward-paragraph.
10629 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10630
fd6fa53f
SM
10631 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10632 (minibuffer-inactive-mode): New major mode.
10633 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10634 the *Messages* buffer" hack.
10635 (mouse-popup-menubar): Don't burp if the event is a normal key.
10636
2462470b
SM
10637 Miscellaneous tweaks.
10638 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10639 lexical scoping as in subr.el's dolist and dotimes.
10640 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10641 Silence compiler warning.
10642 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10643 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10644 * international/ccl.el (ccl-compile): Trivial simplification.
10645 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10646 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10647 `printflag' argument.
10648 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10649 Purecopy the whole obsolescence data.
10650
108bf785
LL
106512011-06-01 Leo Liu <sdl.web@gmail.com>
10652
10653 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10654 improve doc-string as suggested by Marco Pessotto
10655 <melmothx@gmail.com>.
10656 (rcirc-print): Fix last change.
10657
30a23501
SM
106582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10659
10660 * minibuffer.el (complete-with-action): Return nil for the metadata and
10661 boundaries of non-functional tables.
10662 (completion-table-dynamic): Return nil for the metadata.
10663 (completion-table-with-terminator): Add default case, using
10664 complete-with-action.
10665 (completion--metadata): New function.
10666 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10667 to try and avoid pathological performance problems.
10668 (completion--embedded-envvar-table): Return `category' metadata.
10669
bcd54f83
LMI
106702011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10671
10672 * subr.el (process-alive-p): New tiny convenience function.
10673
e227544d
SM
106742011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10675
10676 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10677 content but also its previous major mode.
10678
e8296fdc
HE
106792011-05-31 Helmut Eller <eller.helmut@gmail.com>
10680
4d61f28d 10681 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10682 *Backtrace* buffer when we exit with C-M-c.
10683
620c53a6
SM
106842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * minibuffer.el: Add metadata method to completion tables.
10687 (completion-category-overrides): New defcustom.
10688 (completion-metadata, completion--field-metadata)
10689 (completion-metadata-get, completion--styles)
10690 (completion--cycle-threshold): New functions.
10691 (completion-try-completion, completion-all-completions):
10692 Add `metadata' argument to choose completion-styles.
10693 (completion--do-completion): Use metadata to choose cycling.
10694 (completion-all-sorted-completions): Use metadata for sorting.
10695 Remove :completion-cycle-penalty which is not needed any more.
10696 (completion--try-word-completion): Add `metadata' argument.
10697 (minibuffer-completion-help): Check metadata for annotation function
10698 and sorting.
10699 (completion-file-name-table): Return `category' metadata.
10700 (minibuffer-completing-file-name): Make obsolete.
10701 * simple.el (minibuffer-completing-symbol): Make obsolete.
10702 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10703 completion-try-completion.
10704
1257e755
SM
107052011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10706
10707 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10708
3767e706
LL
107092011-05-30 Leo Liu <sdl.web@gmail.com>
10710
10711 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10712 (rcirc-print): Decode all incoming messages (bug#8744).
10713 (rcirc-decode-coding-system): Allow value nil for automatic coding
10714 system detection.
3767e706 10715
d1a5d56a
GM
107162011-06-01 Glenn Morris <rgm@gnu.org>
10717
10718 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10719
e8cbec34
CY
107202011-05-29 Chong Yidong <cyd@stupidchicken.com>
10721
10722 * image.el (image-animate-max-time): Allow nil and t values.
10723 Default to nil.
10724 (create-animated-image): Doc fix.
10725 (image-animate-start): Remove second arg; just use
10726 image-animate-max-time.
10727 (image-animate-timeout): Doc fix. Args changed.
10728
10729 * image-mode.el (image-toggle-display-image): Ensure that the
10730 image spec passed to the animate timer is the same object as in
58179cce 10731 the buffer's display property (Bug#6981).
e8cbec34
CY
10732 (image-transform-properties): Doc fix.
10733
10734 * image.el (image-animate-max-time): Default to nil.
10735
159daf87
MR
107362011-05-29 Martin Rudalics <rudalics@gmx.at>
10737
10738 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10739 entire buffer list (Bug#8184).
10740
d66c4c7c
CY
107412011-05-29 Chong Yidong <cyd@stupidchicken.com>
10742
10743 * image.el (imagemagick-types-inhibit)
10744 (imagemagick-register-types): Doc fix.
10745
80aec780
DD
107462011-05-29 Deniz Dogan <deniz@dogan.se>
10747
10748 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10749 default.
10750
1dd3c2d9
CY
107512011-05-29 Chong Yidong <cyd@stupidchicken.com>
10752
10753 * select.el: Don't perform clipboard-manager saving in hooks;
10754 leave the hooks empty.
10755
60e56523
LL
107562011-05-28 Leo Liu <sdl.web@gmail.com>
10757
10758 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10759 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10760 (occur-edit-mode): New major mode (Bug#8463).
10761 (occur-after-change-function): New function.
10762 (occur-engine): Give Occur tags a read-only property.
10763
2b1e1a22
KR
107642011-05-28 Kevin Ryde <user42@zip.com.au>
10765
10766 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10767
5d344e88
CY
107682011-05-28 Chong Yidong <cyd@stupidchicken.com>
10769
8e6ca83d
CY
10770 * bindings.el (help-echo): Make the initial non-indicator dash
10771 empty on graphical terminals (Bug#7295).
10772
5d344e88
CY
10773 * files.el (auto-mode-alist): Move config rule after the
10774 in-stripping one (Bug#8547).
10775
bfbbace7
CY
10776 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10777
fbeba6e2
CY
10778 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10779 setting (Bug#8740).
10780
60ed8c72
AA
107812011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10782
4ac619f0
AA
10783 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10784 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10785 (Bug#8539).
60ed8c72 10786
23db196e
CY
107872011-05-28 Chong Yidong <cyd@stupidchicken.com>
10788
10789 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10790
5012f24c
DK
107912011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10792
10793 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10794 (hs-hide-block-at-point, hs-find-block-beginning)
10795 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10796 (Bug#8279).
10797
6a639b16
GM
107982011-05-28 Glenn Morris <rgm@gnu.org>
10799
10800 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10801
d43eaf2c
CY
108022011-05-28 Chong Yidong <cyd@stupidchicken.com>
10803
5199bde1
CY
10804 * help-fns.el (describe-function-1): If the function is a derived
10805 major mode, print the parent mode.
10806
d43eaf2c
CY
10807 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10808 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10809
423428a8
SM
108102011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10811
0ff8e1ba 10812 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10813 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10814 * progmodes/etags.el (tags-completion-at-point-function):
10815 * info-look.el (info-lookup-completions-at-point): Mark as
10816 non-exclusive.
10817 (info-complete): Adjust accordingly.
10818
423428a8
SM
10819 * info-look.el: Convert to lexical-binding and completion-at-point.
10820 (info-lookup-completions-at-point): New function.
10821 (info-complete): Use it and completion-in-region.
10822
b74aa22b
DA
108232011-05-28 Drew Adams <drew.adams@oracle.com>
10824
10825 * isearch.el: Let M-e start with point at the first mismatched char.
10826 (isearch-fail-pos): New function.
10827 (isearch-edit-string): Use it.
10828
66e2e71d
DK
108292011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10830
10831 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10832
b1890b0f 108332011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10834
10835 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10836 traversal functions for avl-trees.
10837 (avl-tree--stack): New struct.
10838 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10839 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10840 (avl-tree--do-enter): Add optional `updatefun' arg.
10841 Change return value.
eb95d01d 10842 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10843 (avl-tree--do-delete): Add `test' and `nilflag' args.
10844 Change return value.
eb95d01d
TC
10845 (avl-tree-member): Add optional `nilflag'
10846 (avl-tree-member-p): New function.
10847 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10848 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10849 (avl-tree-stack-empty-p): New functions.
10850
3769ddcf
TC
10851 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10852 avl-tree--del-balance1 and make it work both ways.
10853 (avl-tree--del-balance2): Remove.
10854 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10855 make it work both ways.
10856 (avl-tree--enter-balance2): Remove.
10857 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10858 New macros.
10859 (avl-tree--mapc, avl-tree-map): Add direction argument.
10860
eb95d01d 108612011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10862
10863 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10864
a9f737ee
CY
108652011-05-27 Chong Yidong <cyd@stupidchicken.com>
10866
10867 * select.el: Support clipboard managers with built-in function
10868 x-clipboard-manager-save, via delete-frame-functions and
10869 kill-emacs-hook.
10870 (xselect-convert-to-targets): Add MULTIPLE target to list.
10871 (xselect-convert-to-save-targets): New function.
10872
c92a1e54
KH
108732011-05-27 Kenichi Handa <handa@m17n.org>
10874
10875 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10876 let-binding rfc2047-encode-encoded-words to nil.
10877
e145f188
GM
108782011-05-27 Glenn Morris <rgm@gnu.org>
10879
5ec8a862
GM
10880 * mail/emacsbug.el: Don't require url-util.
10881
4b29d9fb
GM
10882 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10883
e145f188
GM
10884 * files.el (set-auto-mode):
10885 Also respect mode: entries at the end of the file. (Bug#8586)
10886
7d15102b
GM
108872011-05-26 Glenn Morris <rgm@gnu.org>
10888
98f593b8
GM
10889 * files.el (hack-local-variables-prop-line, hack-local-variables):
10890 Downcase mode names, as seems to be traditional.
27b48e63 10891 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10892
7d15102b
GM
10893 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10894 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10895
51d5b4ec
JD
108962011-05-25 Julien Danjou <julien@danjou.info>
10897
10898 * textmodes/rst.el (rst-define-level-faces): Do not define face
10899 symbol if it is already defined.
10900
91513f63
VB
109012011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10902
10903 * play/5x5.el (5x5-new-game, 5x5-randomize):
10904 Reset 5x5-solver-output to nil when a new grid is cast.
10905 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10906 these debugging traces, as defmacro breaks the compiled code.
10907
4d90d6d0
DK
109082011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10909
10910 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10911
e1b90ef6
LL
109122011-05-24 Leo Liu <sdl.web@gmail.com>
10913
10914 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10915 (vc-bzr-sha1): Adapt.
10916
d8e4b68b 10917 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10918
10919 * bindings.el: Provide sha1 feature.
10920
db0406bb 109212011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10922
10923 * mail/sendmail.el: Require `rfc2047'.
10924 (mail-insert-from-field): Do not perform RFC2047 encoding.
10925 (mail-encode-header): New function.
10926 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10927 buffer to the return value of select-message-coding-system.
10928 Call mail-encode-header.
b8d747b9
KH
10929
10930 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10931
db0406bb 109322011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10933
4d90d6d0
DK
10934 * mail/supercite.el (sc-default-cite-frame):
10935 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10936
eb8a5e9b
GM
109372011-05-24 Glenn Morris <rgm@gnu.org>
10938
f8630703
GM
10939 * progmodes/python.el (brm-menu): Declare.
10940
8831bbed
GM
10941 * emulation/viper.el (viper-set-hooks): Declare.
10942
eb8a5e9b
GM
10943 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10944 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10945 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10946 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10947 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10948 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10949
a2a25d24
SM
109502011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10951
10952 Add an :exit-function for completion-at-point.
10953
10954 * minibuffer.el (completion--done): New fun.
10955 (completion--do-completion): Use it. New arg `expect-exact'.
10956 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10957 since completion--do-completion does it for us now.
10958 (minibuffer-force-complete): Use completion--done and
10959 completion--replace. Handle sole-completion case with more care.
10960 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10961 (completion-extra-properties): New var.
10962 (completion-annotate-function): Make obsolete.
10963 (minibuffer-completion-help): Adjust accordingly.
10964 Use completion-list-insert-choice-function.
10965 (completion-at-point, completion-help-at-point):
10966 Bind completion-extra-properties.
10967 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10968 * simple.el (completion-list-insert-choice-function): New var.
10969 (completion-setup-function): Preserve it.
10970 (choose-completion): Pay attention to it, shuffle the code a bit.
10971 (choose-completion-string): New arg `insert-function'.
10972
10973 * textmodes/bibtex.el: Convert to lexical binding.
10974 (bibtex-mode-map): Use completion-at-point.
10975 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10976 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10977 (bibtex-complete): Define as obsolete alias.
10978 (bibtex-complete-internal): Remove.
10979 (bibtex-format-entry): Remove unused sub-group in regexp.
10980 * shell.el (shell--command-completion-data)
10981 (shell-environment-variable-completion):
10982 * pcomplete.el (pcomplete-completions-at-point):
10983 * comint.el (comint--complete-file-name-data): Use :exit-function
10984 instead of completion-table-with-terminator so it also works for
10985 choose-completion.
10986
e44e373d
SM
109872011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10988
4f91a816
SM
10989 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10990
782fc819
SM
10991 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10992 (bug#8710).
10993
e44e373d
SM
10994 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10995
381987c3
KM
109962011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10997
10998 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10999 customization variable and implement: If non-nil, auto-fill will
11000 be inhibited while on topic's header line.
11001
b776bc70
VB
110022011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11003
11004 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11005 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11006 always have a solution in grid size = 5 cases.
11007 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11008 (5x5-solver-output, 5x5-log-buffer): New vars.
11009 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11010 Make these variables buffer local to achieve 5x5 multi-session-ness.
11011 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11012 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11013 (5x5-solve-suggest): New funs.
11014 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11015 randomize a grid so that we ensure that there is always a solution.
11016 (5x5-make-random-grid): Allow other movement than flipping.
11017
7de88b6e
KR
110182011-05-23 Kevin Ryde <user42@zip.com.au>
11019
11020 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11021 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11022 advice and passes PREDICATE.
11023
b1ef1257
SM
110242011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11025
bbca48fe
SM
11026 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11027 byte-compile-lambda if it's actually a lambda.
11028
b1ef1257
SM
11029 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11030 Fix function quoting. Use backquote better.
11031
92a9cc65
YS
110322011-05-22 Yuanle Song <sylecn@gmail.com>
11033
11034 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11035 matching (Bug#8516).
11036
f0fb8059
JA
110372011-01-22 Jari Aalto <jari.aalto@cante.net>
11038
11039 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11040 different face (Bug#8178).
11041
d5b44c93
CY
110422011-05-22 Chong Yidong <cyd@stupidchicken.com>
11043
11044 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11045 defface (Bug#8144).
11046
79106a44
SM
110472011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11048
9c848d8a
SM
11049 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11050 funcall as well (bug#8712). Warn when performing those conversions.
11051 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11052
79106a44
SM
11053 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11054
88dfa756
GM
110552011-05-22 Glenn Morris <rgm@gnu.org>
11056
11057 * files.el (hack-local-variables-prop-line): Small simplifications.
11058 (hack-local-variables, hack-local-variables-prop-line):
11059 If MODE-ONLY, return the mode, rather than just `t'.
11060
b7cf2c79
SM
110612011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11062
11063 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11064
3f1a8558
GM
110652011-05-21 Glenn Morris <rgm@gnu.org>
11066
7e4ccca3
GM
11067 * files.el (hack-local-variables-prop-line, hack-local-variables):
11068 If only interested in the mode, don't bother doing the other stuff.
11069
637d46ca
GM
11070 * image-mode.el (image-after-revert-hook):
11071 Redraw all frames on which the image is visible. (Bug#8567)
11072
973d955b
GM
11073 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11074
3f1a8558
GM
11075 * wid-edit.el (widget-checklist-match-inline):
11076 Fix 2011-04-19 change. (Bug#8649)
11077
96479927
SM
110782011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11079
1dcf791f
SM
11080 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11081 Also allow singlespace after single-letter capitals followed by a dot.
11082
96479927
SM
11083 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11084 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11085
35fd0881
N
110862011-05-20 Nix <nix@esperi.org.uk>
11087
11088 * files.el (basic-save-buffer-2):
11089 Fix handling of break-hardlink-on-save with non-existent files.
11090
82745640
DD
110912011-05-19 Deniz Dogan <deniz@dogan.se>
11092
11093 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11094 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11095
4a720484
GM
110962011-05-19 Glenn Morris <rgm@gnu.org>
11097
d1f21341
GM
11098 * progmodes/f90.el (f90-type-def-re):
11099 Handle "type, bind(c)". (Bug#8691)
11100
4a720484
GM
11101 * emacs-lisp/autoload.el (batch-update-autoloads):
11102 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11103
2fb0a219
MA
111042011-05-18 Michael Albinus <michael.albinus@gmx.de>
11105
11106 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11107 property for the correct connection in case of multihops.
11108
e565dd37
GM
111092011-05-18 Glenn Morris <rgm@gnu.org>
11110
c2571358 11111 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11112 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11113
e565dd37
GM
11114 Rationalize calendar handling of day and month abbrev-arrays.
11115 * calendar/calendar.el (calendar-customized-p): New function.
11116 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11117 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11118 Add :set function.
11119 (calendar-abbrev-length, calendar-day-abbrev-array)
11120 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11121 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11122 Elements may no longer be nil.
11123 (calendar-day-name, calendar-month-name):
11124 Update for changed nature of abbrev arrays.
11125 * calendar/diary-lib.el (diary-name-pattern):
11126 Update for changed nature of abbrev arrays.
11127 (diary-mark-entries-1): Update calendar-make-alist calls.
11128 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11129 * calendar/cal-html.el (cal-html-day-abbrev-array):
11130 Simply inherit from calendar-day-abbrev-array.
11131
1d99a745
SM
111322011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11133
11134 * progmodes/grep.el (grep-mode): Disable default
11135 compilation-directory-matcher setting (bug#8684).
11136
7c1d9aa0
MA
111372011-05-17 Michael Albinus <michael.albinus@gmx.de>
11138
11139 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11140 instead of "head" and "tail". There were problems with SunOS 5.9,
11141 and it performs better.
11142
3952e9d8
GM
111432011-05-17 Glenn Morris <rgm@gnu.org>
11144
2dd12e7f
GM
11145 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11146
e4157b9c
GM
11147 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11148 Replace obsolete function.
11149
8e249bbd
GM
11150 * shell.el (pcomplete-parse-arguments-function): Declare.
11151
3952e9d8
GM
11152 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11153 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11154 (appt-check): Doc fixes.
11155 (appt-disp-window-function, appt-delete-window-function):
11156 Remove needless special case in custom :type.
11157 (appt-display-count): Default to 0, not nil.
11158 (appt-check): Reset appt-display-count to 0, not nil.
11159
c71a0d48 111602011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11161
c71a0d48
GM
11162 * progmodes/python.el (python-font-lock-keywords):
11163 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11164
31d55be9
SM
111652011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11166
11167 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11168
3bfacb2f
KR
111692011-05-16 Kevin Ryde <user42@zip.com.au>
11170
11171 * info-look.el (makefile-automake-mode): New setups, looking in
11172 automake manual, then makefile-mode.
11173 (makefile-mode): Remove automake manual, have it just in
11174 makefile-automake-mode since there's various things different or
11175 not relevant to plain make.
11176 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11177 believe a hypothetical automake-mode would go to makefile-mode,
11178 not the other way around.
11179
c8e83751
CY
111802011-05-15 Chong Yidong <cyd@stupidchicken.com>
11181
5e9e35cd
CY
11182 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11183 hunk-end tags (Bug#8672).
11184
c8e83751
CY
11185 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11186 vc-annotate-show-diff-revision-at-line (Bug#8671).
11187
50b23e5a
GM
111882011-05-14 Glenn Morris <rgm@gnu.org>
11189
7210a739
GM
11190 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11191 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11192 (change-log-font-lock-keywords): Also handle multiple author lines
11193 with leading tabs. (Bug#8644)
7210a739 11194
4691905a
GM
11195 * calendar/appt.el (appt-check): Rename some local variables.
11196 Some simplification/reordering.
11197
50b23e5a
GM
11198 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11199 (feedmail-sendmail-f-doesnt-sell-me-out)
11200 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11201 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11202 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11203 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11204 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11205 (feedmail-binmail-gnulinuxish-template):
11206 Rename from feedmail-binmail-linuxish-template.
11207 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11208 Use insert-buffer-substring.
11209
215cda7c
BC
112102011-05-14 Bill Carpenter <bill@carpenter.org>
11211
11212 * mail/feedmail.el (feedmail-patch-level): Increase.
11213 (feedmail-debug): New custom group.
11214 (feedmail-confirm-outgoing-timeout)
11215 (feedmail-sendmail-f-doesnt-sell-me-out)
11216 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11217 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11218 (feedmail-sender-line, feedmail-from-line)
11219 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11220 (feedmail-spray-this-address)
215cda7c
BC
11221 (feedmail-spray-address-fiddle-plex-list)
11222 (feedmail-queue-use-send-time-for-date)
11223 (feedmail-queue-use-send-time-for-message-id)
11224 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11225 (feedmail-buffer-eating-function):
11226 Doc fixes.
11227 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11228 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11229 (feedmail-message-action-scroll-down): New functions.
11230 (feedmail-queue-directory, feedmail-queue-draft-directory):
11231 Use expand-file-name.
11232 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11233 Remove C-v help entry.
11234 (feedmail-queue-buffer-file-name): New variable.
11235 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11236 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11237 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11238 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11239 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11240 (feedmail-message-action-toggle-spray)
11241 (feedmail-run-the-queue-no-prompts)
11242 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11243 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11244 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11245 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11246 (feedmail-envelope-deducer, feedmail-fiddle-from)
11247 (feedmail-fiddle-sender, feedmail-default-date-generator)
11248 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11249 (feedmail-fiddle-spray-address)
11250 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11251 (feedmail-fiddle-list-of-fiddle-plexes)
11252 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11253 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11254 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11255 Change default. Doc fix.
11256 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11257 (feedmail-binmail-linuxish-template): New constant.
11258 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11259 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11260 (feedmail-send-it): Add debug call.
11261 Use feedmail-queue-buffer-file-name, and
11262 feedmail-send-it-immediately-wrapper.
11263 (feedmail-message-action-send): Add debug call.
11264 Use feedmail-send-it-immediately-wrapper.
11265 (feedmail-queue-express-to-queue): Add debug call.
11266 Run feedmail-queue-express-hook.
11267 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11268 (feedmail-message-action-help-blat):
11269 Rename from feedmail-queue-send-edit-prompt-help-first.
11270 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11271 Check line-endings. Handle errors better.
11272 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11273 Doc fix. Add debug call.
11274 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11275 Use feedmail-queue-send-edit-prompt-inner.
11276 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11277 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11278 from feedmail-queue-send-edit-prompt.
11279 (feedmail-queue-send-edit-prompt-help)
11280 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11281 (feedmail-tidy-up-slug): Add debug call.
11282 Respect feedmail-queue-slug-suspect-regexp.
11283 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11284 (feedmail-dump-message-to-queue): Add debug call.
11285 Expand queue-directory.
11286 (feedmail-dump-message-to-queue): Change message slightly.
11287 Use feedmail-say-chatter.
11288 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11289 (feedmail-send-it-immediately-wrapper): New function.
11290 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11291 Insert empty string rather than newline. Handle full-frame case.
11292 Use catch/throw. Use feedmail-say-chatter.
11293 (feedmail-fiddle-from): Try mail-host-address.
11294 (feedmail-default-message-id-generator): Doc fix.
11295 Bind system-time-locale. Handle missing end.
11296 (feedmail-fiddle-x-mailer): Add debug call.
11297 Handle feedmail-x-mailer-line being nil.
11298 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11299 Add debug call. Use buffer-substring-no-properties.
11300 (feedmail-say-debug, feedmail-say-chatter): New functions.
11301 (feedmail-find-eoh): Give an explicit error.
11302
42c7e61e
UJ
113032011-05-13 Ulf Jasper <ulf.jasper@web.de>
11304
c2571358 11305 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11306 family from helvetica to sans.
c2571358 11307 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11308 etc/images/newsticker.
11309
c2571358 11310 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11311 family from helvetica to sans.
11312
11313 * net/newst-plainview.el (newsticker-new-item-face)
11314 (newsticker-old-item-face, newsticker-immortal-item-face)
11315 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11316 (newsticker-statistics-face): Change default family from
42c7e61e 11317 helvetica to sans.
c2571358 11318 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11319 etc/images/newsticker.
11320
5d3385a0
JB
11321 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11322 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11323 auto-marking.
11324
8497a297
DV
113252011-05-13 Didier Verna <didier@xemacs.org>
11326
11327 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11328 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11329 TODO entries.
8497a297
DV
11330 (lisp-lambda-list-keyword-parameter-indentation)
11331 (lisp-lambda-list-keyword-parameter-alignment)
11332 (lisp-lambda-list-keyword-alignment): New customizable user options.
11333 (lisp-indent-defun-method): Improve docstring.
11334 (extended-loop-p): Fix comment.
11335 (lisp-indent-lambda-list-keywords-regexp): New variable.
11336 (lisp-indent-lambda-list): New function.
11337 (lisp-indent-259): Use it.
11338 (lisp-indent-defmethod): Support for more than one
11339 method qualifier and properly indent methods lambda-lists.
11340 (defgeneric): Provide a missing common-lisp-indent-function property.
11341
f278f87f
SM
113422011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11343
11344 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11345 bounds for the empty string (bug#8667).
11346
5233edd7
GM
113472011-05-13 Glenn Morris <rgm@gnu.org>
11348
5237a44f
GM
11349 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11350
8340026c 11351 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11352 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11353
5233edd7 11354 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11355 (appt-time-msg-list): Doc fix.
a5464014 11356 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11357
92d10796
AS
113582011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11359
11360 * progmodes/ld-script.el (ld-script-keywords)
11361 (ld-script-builtins): Update keywords list.
11362
914a0ae1
SM
113632011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11364
c89be45f
SM
11365 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11366
914a0ae1
SM
11367 * shell.el (shell-completion-vars): New function.
11368 (shell-mode):
11369 * simple.el (read-shell-command): Use it.
11370 (blink-matching-open): No need for " [...]" in minibuffer-message.
11371
98dc3df3
GM
113722011-05-12 Glenn Morris <rgm@gnu.org>
11373
11374 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11375 (appt-check): Simplify.
11376
d2fc7e3d 113772011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11378
4d61f28d 11379 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11380 literal "/dev/null".
11381
d2fc7e3d 113822011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11383
11384 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11385 Fix typo.
11386
d2fc7e3d 113872011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11388
3f254caa
SM
11389 * progmodes/which-func.el (which-function):
11390 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11391 which might not be defined (Bug#8260).
11392
d45885f7
GM
113932011-05-12 Glenn Morris <rgm@gnu.org>
11394
11395 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11396 Let byte-compile-initial-macro-environment always take precedence.
11397
488086f4
SM
113982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * net/rcirc.el: Add support for SSL/TLS connections.
11401 (rcirc-server-alist): New field `encryption'.
11402 (rcirc): Check `encryption' settings.
11403 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11404 Merge make-local-variable into `set'.
11405 (rcirc--connection-open-p): New function.
11406 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11407 the process is not a network process (e.g. running gnutls-cli).
11408 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11409 Make rcirc-(en|de)code-coding-system local here.
11410 (rcirc-mode): Merge make-local-variable into `set'.
11411 (rcirc-parent-buffer): Make permanent buffer-local.
11412 (rcirc-multiline-minor-mode): Don't do it here.
11413 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11414 there's no server buffer.
11415
7d3b9d44
GM
114162011-05-11 Glenn Morris <rgm@gnu.org>
11417
f64049c6
GM
11418 * newcomment.el (comment-kill): Prefix "unused" local.
11419
93c9df73
GM
11420 * term/w32console.el (get-screen-color): Declare.
11421
7d3b9d44
GM
11422 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11423 Handle symbol elements of byte-compile-initial-macro-environment.
11424
9e2dd53f
LL
114252011-05-10 Leo Liu <sdl.web@gmail.com>
11426
488086f4
SM
11427 * bookmark.el (bookmark-bmenu-mode-map):
11428 Bind bookmark-bmenu-search to `/'.
8b340240 11429
9e2dd53f 11430 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11431 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11432 (Footnote-unicode): New function.
11433 (footnote-style-alist): Add unicode style to the list.
11434 (footnote-style): Doc fix.
9e2dd53f 11435
79b70037
GM
114362011-05-10 Jim Meyering <meyering@redhat.com>
11437
11438 Fix doubled-word typos.
11439 * international/quail.el (quail-insert-kbd-layout): and and -> and
11440 * kermit.el: and and -> and
11441 * net/ldap.el (ldap-search-internal): to to -> to
11442 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11443 * progmodes/js.el (js-mode): and and -> and
11444 * textmodes/artist.el (artist-move-to-xy): at at -> at
11445 (artist-draw-region-trim-line-endings): if if -> if
11446 And Safetyc -> Safety.
11447 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11448
b8f82dc1 114492011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11450 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11451
11452 * files.el (hack-one-local-variable-eval-safep):
11453 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11454
4f99f44b
GM
114552011-05-10 Glenn Morris <rgm@gnu.org>
11456
11457 * calendar/diary-lib.el (diary-list-entries-hook)
11458 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11459 (diary-nongregorian-marking-hook, diary-list-entries)
11460 (diary-include-other-diary-files, diary-mark-entries)
11461 (diary-mark-included-diary-files): Doc fixes.
11462
84f29e6b
JB
114632011-05-09 Juanma Barranquero <lekktu@gmail.com>
11464
11465 * misc.el: Require tabulated-list.el during compilation.
11466
9bedd73a
CY
114672011-05-09 Chong Yidong <cyd@stupidchicken.com>
11468
488086f4
SM
11469 * progmodes/compile.el (compilation-start):
11470 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11471 (compilation-filter-hook): Doc fix.
11472
797c735c
DD
114732011-05-09 Deniz Dogan <deniz@dogan.se>
11474
11475 * wdired.el: Remove outdated installation comment. Fix usage
11476 comment.
11477
5f4b1dfe
JB
114782011-05-09 Juanma Barranquero <lekktu@gmail.com>
11479
11480 * misc.el: Implement new command `list-dynamic-libraries'.
11481 (list-dynamic-libraries--loaded-only-p): New variable.
11482 (list-dynamic-libraries--refresh): New function.
11483 (list-dynamic-libraries): New command.
11484
4c44026c
CY
114852011-05-09 Chong Yidong <cyd@stupidchicken.com>
11486
488086f4
SM
11487 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11488 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11489 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11490 higher priority to avoid clobbering by gnu.
11491
027f966d
CY
114922011-05-08 Chong Yidong <cyd@stupidchicken.com>
11493
11494 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11495 if the face has existing theme settings (Bug#8454).
11496
085f5d7d
CY
114972011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11498
488086f4
SM
11499 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11500 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11501
2a86a00c
RS
11502 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11503 special file names `.' and `..' (Bug#8259).
11504
d9c54a06
CY
115052011-05-08 Chong Yidong <cyd@stupidchicken.com>
11506
488086f4
SM
11507 * progmodes/grep.el (grep-mode-font-lock-keywords):
11508 Remove buffer-changing entries.
d9c54a06
CY
11509 (grep-filter): New function.
11510 (grep-mode): Add it to compilation-filter-hook.
11511
11512 * progmodes/compile.el (compilation-filter-hook)
11513 (compilation-filter-start): New defvars.
11514 (compilation-filter): Call compilation-filter-hook prior to
11515 updating the process mark.
11516
c4662635
SM
115172011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11518
11519 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11520
b0512a1d
EZ
115212011-05-07 Eli Zaretskii <eliz@gnu.org>
11522
605c9376
EZ
11523 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11524 mailclient-send-it even if window-system is nil. (Bug#8595)
11525
c4662635
SM
11526 * term/w32console.el (terminal-init-w32console):
11527 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11528 background-mode. (Bug#8597)
11529
d1dc2cc2
SM
115302011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11531
11532 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11533 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11534 New functions.
11535 (defgeneric, eieio--defmethod): Use them.
11536 (eieio-defgeneric): Remove.
11537 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11538
915d1300
GM
115392011-05-07 Glenn Morris <rgm@gnu.org>
11540
a3961c3e
GM
11541 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11542 Use let rather than let*.
11543 (timeclock-find-discrep): Remove unused local.
11544
314347b9
GM
11545 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11546
915d1300
GM
11547 * calendar/appt.el (appt-time-msg-list): Doc fix.
11548
275b59b0
NF
115492011-05-06 Noah Friedman <friedman@splode.com>
11550
11551 * apropos.el (apropos-print-doc): Only use
11552 emacs-lisp-docstring-fill-column when it is bound to an integer,
11553 per that variable's documentation.
11554
6c19f744
SM
115552011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11558 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11559
60f884b2
GM
115602011-05-06 Glenn Morris <rgm@gnu.org>
11561
5006e634
GM
11562 * calendar/appt.el (appt-message-warning-time): Doc fix.
11563 (appt-warning-time-regexp): New option.
11564 (appt-make-list): Respect appt-message-warning-time.
11565
548d0a63
GM
11566 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11567 New options.
11568 (diary-add-to-list): Strip comments from the displayed string.
11569 (diary-mode): Set comment-start and comment-end.
11570
60f884b2
GM
11571 * vc/diff-mode.el (smerge-refine-subst): Declare.
11572 (diff-refine-hunk): Don't require smerge-mode when compiling.
11573
989681bb
JB
115742011-05-06 Juanma Barranquero <lekktu@gmail.com>
11575
11576 * simple.el (list-processes): Return nil as the docstring says.
11577
a6bc05e1
MA
115782011-05-05 Michael Albinus <michael.albinus@gmx.de>
11579
11580 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11581 to "".
11582 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11583 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11584 determining of binary transfer. (Bug#7383)
11585
23c22e9a
MA
115862011-05-05 Michael Albinus <michael.albinus@gmx.de>
11587
c4662635
SM
11588 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11589 Fix port computation bug. (Bug#8618)
23c22e9a 11590
0bff894f
GM
115912011-05-05 Glenn Morris <rgm@gnu.org>
11592
b8296902
GM
11593 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11594
1f522ce8
GM
11595 * simple.el (shell-dynamic-complete-functions)
11596 (comint-dynamic-complete-functions): Declare.
11597
cf5bee67
GM
11598 * net/network-stream.el (gnutls-negotiate):
11599 * simple.el (tabulated-list-print): Fix declarations.
11600
11601 * progmodes/gud.el (syntax-symbol, syntax-point):
11602 Remove unnecessary and incorrect declarations.
11603
0bff894f
GM
11604 * emacs-lisp/check-declare.el (check-declare-scan):
11605 Handle byte-compile-initial-macro-environment in bytecomp.el
11606
9869b3ae
SM
116072011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11608
11609 Fix earlier half-done eieio-defmethod change (bug#8338).
11610 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11611 Streamline and change calling convention.
11612 (defmethod): Adjust accordingly and simplify.
11613 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11614 new eieio--defmethod.
11615 (slot-boundp): Minor CSE simplification.
11616
9c1d5ac5
MZ
116172011-05-05 Milan Zamazal <pdm@zamazal.org>
11618
11619 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11620 (glasses-make-readable): Use glasses-separate-capital-groups.
11621
455c834e
JB
116222011-05-05 Juanma Barranquero <lekktu@gmail.com>
11623
11624 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11625 (warning-series): Doc fix.
11626 (display-warning): Don't try to create the buffer if we just found it.
11627
9ed7c8cb
CY
116282011-05-04 Chong Yidong <cyd@stupidchicken.com>
11629
11630 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11631 (autoload-find-generated-file): New function.
11632 (generate-file-autoloads): Bind generated-autoload-file to
11633 buffer-file-name.
9869b3ae
SM
11634 (update-file-autoloads, update-directory-autoloads):
11635 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11636 output file (Bug#7989).
11637 (batch-update-autoloads): Doc fix.
11638
0898ca10
JB
116392011-05-04 Juanma Barranquero <lekktu@gmail.com>
11640
11641 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11642
31dfb76c
GM
116432011-05-04 Glenn Morris <rgm@gnu.org>
11644
f330b642
GM
11645 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11646 function, so it follows changes in calendar-date-style.
11647 (diary-fancy-date-matcher): New function.
11648 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11649 (diary-fancy-font-lock-fontify-region-function):
11650 Use diary-fancy-date-pattern as a function.
11651
31dfb76c
GM
11652 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11653 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11654
48e79d6a
TZ
116552011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11656
11657 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11658 instead of positional arguments. Allow :keylist and :crlfiles
11659 arguments.
11660 (open-gnutls-stream): Call it.
11661
11662 * net/network-stream.el (network-stream-open-starttls): Adjust to
11663 call `gnutls-negotiate' with :process and :hostname arguments.
11664
dd5a5ee0
SM
116652011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11666
ef80fc09
SM
11667 * minibuffer.el (completion--message): New function.
11668 (completion--do-completion, minibuffer-complete)
11669 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11670 (completion--do-completion): Don't ignore completion-auto-help when in
11671 icomplete-mode.
11672
dd5a5ee0
SM
11673 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11674 internal encoding (e.g. tibetan zero is not whitespace).
11675 (global-whitespace-mode): Prefer save-current-buffer.
11676 (whitespace-trailing-regexp): Remove useless save-match-data.
11677 (whitespace-empty-at-bob-regexp): Minor simplification.
11678
b7d22a83
CY
116792011-05-03 Chong Yidong <cyd@stupidchicken.com>
11680
11681 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11682
5192af46
AM
116832011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11684
11685 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11686 Use `concat' to create string for insertion.
5192af46 11687
5767d190
SM
116882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11689
11690 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11691 Avoid open-line which runs post-self-insert-hook.
11692 (bibtex-fill-entry): Remove unused `end' var.
11693
bf242939
AM
116942011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11695
5767d190
SM
11696 * textmodes/ispell.el (ispell-add-per-file-word-list):
11697 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11698
25666126
LL
116992011-05-03 Leo Liu <sdl.web@gmail.com>
11700
11701 * isearch.el (isearch-yank-pop): New command.
5767d190 11702 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11703 (isearch-forward): Mention it.
11704
52d3c2d0
SM
117052011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11706
1bcace58
SM
11707 * simple.el (minibuffer-complete-shell-command): Remove.
11708 (minibuffer-local-shell-command-map): Use completion-at-point.
11709 (read-shell-command): Setup completion vars here instead.
11710 (read-expression-map): Bind TAB to symbol completion.
11711
52d3c2d0
SM
11712 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11713 error directly rather via storing it into `results'.
11714
35813471
LL
117152011-05-02 Leo Liu <sdl.web@gmail.com>
11716
11717 * vc/diff.el: Fix description.
11718
e793a940
LMI
117192011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11720
11721 * server.el (server-eval-at): New function.
11722
8de66e05
LMI
117232011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11724
11725 * net/network-stream.el (open-network-stream): Take a :nowait
11726 parameter and pass it on to `make-network-process'.
11727 (network-stream-open-plain): Ditto.
11728
dcb79f20
AS
117292011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11730
11731 * faces.el (face-spec-set-match-display): Don't match toolkit
11732 options on terminal frames.
11733
14a7fbd8
SM
117342011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11735
7eabc1be
SM
11736 * progmodes/pascal.el: Use lexical binding.
11737 (pascal-mode-map): Remove author preferences.
11738
14a7fbd8
SM
11739 * pcomplete.el (pcomplete-std-complete): Don't abuse
11740 completion-at-point.
11741
50f84510
JB
117422011-04-28 Juanma Barranquero <lekktu@gmail.com>
11743
6e087a44
JB
11744 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11745 removing code that has been dead since 1991 or so.
11746
50f84510
JB
11747 * startup.el (command-line): When warning about "_emacs", use a
11748 delayed warning to allow the user to filter it out.
11749
0ba690bd
DD
117502011-04-28 Deniz Dogan <deniz@dogan.se>
11751
11752 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11753 user has not joined.
11754
08abfaad
SM
117552011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11758 aren't any completions at point.
11759
638f053a
JB
117602011-04-28 Juanma Barranquero <lekktu@gmail.com>
11761
11762 * subr.el (display-delayed-warnings): New function.
11763 (delayed-warnings-hook): New variable.
11764
8fff8daa
SM
117652011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11766
08abfaad
SM
11767 * minibuffer.el (completion-at-point, completion-help-at-point):
11768 Don't presume that a given completion-at-point-function will always
11769 use the same calling convention.
11770
8fff8daa
SM
11771 * pcomplete.el (pcomplete-completions-at-point):
11772 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11773 pcomplete-seen is non-nil.
11774 (pcomplete-comint-setup): Also recognize the new comint/shell
11775 completion functions.
11776 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11777 pcomplete-seen is non-nil.
11778
841a1577 117792011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11780
841a1577 11781 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11782 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11783 the first character in the entry. This allows for code to add its
211ec907
UJ
11784 own uid to the entry.
11785 (icalendar--convert-float-to-ical): Add export of
11786 `diary-float'-entries save for those with the optional DAY
11787 argument.
11788
2a782793
DC
117892011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11790
11791 * subr.el (shell-quote-argument): Use alternate escaping strategy
11792 when we spot a variable reference in a string.
11793
0438ce91
DC
117942011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11795
11796 * cus-start.el (all): Define customization for debug-on-event.
11797
841a1577 117982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11799
11800 * subr.el (shell-quote-argument): Escape correctly under Windows.
11801
d090ed6c
SM
118022011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11803
11804 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11805
bfd31217
MA
118062011-04-25 Michael Albinus <michael.albinus@gmx.de>
11807
d090ed6c
SM
11808 * net/tramp.el (tramp-process-actions): Add POS argument.
11809 Delete region between POS and (pos).
bfd31217 11810
d090ed6c
SM
11811 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11812 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11813 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11814
11815 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11816 position in `tramp-process-actions' call.
11817
11818 * net/trampver.el: Update release number.
11819
e92f3bd3
SM
118202011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11821
850256b5
SM
11822 * custom.el (defcustom): Obey lexical-binding.
11823
e92f3bd3
SM
11824 Fix octave-inf completion problems reported by Alexander Klimov.
11825 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11826 Inherit from octave-mode-syntax-table.
11827 (inferior-octave-mode): Set info-lookup-mode.
11828 (inferior-octave-completion-at-point): New function.
11829 (inferior-octave-complete): Use it and completion-in-region.
11830 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11831 comint-filename-completion.
11832 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11833 symbol elements which shouldn't be word elements.
11834 (octave-font-lock-keywords, octave-beginning-of-defun)
11835 (octave-function-header-regexp): Adjust regexps accordingly.
11836 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11837
cd22b309
JB
118382011-04-25 Juanma Barranquero <lekktu@gmail.com>
11839
11840 * net/gnutls.el (gnutls-errorp): Declare before first use.
11841
8b492194
TZ
118422011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11843
11844 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11845 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11846 default trustfile exists before going to use it. Add missing
5a5fa834 11847 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11848 Reported by Claudio Bley <claudio.bley@gmail.com>.
11849 (open-gnutls-stream): Add usage example.
11850
11851 * net/network-stream.el (network-stream-open-starttls): Give host
11852 parameter to `gnutls-negotiate'.
11853 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11854 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11855
841a1577 118562011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11857
cd22b309
JB
11858 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11859 Use correct match group (bug#8438).
05842630 11860
3ba7869c
CY
118612011-04-24 Chong Yidong <cyd@stupidchicken.com>
11862
512e3ae1
CY
11863 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11864 (package-menu--generate): New arg specifying packages to show.
11865 (package-menu-refresh, package-menu-execute, list-packages):
11866 Callers changed.
11867 (package-show-package-list): New function, replacing deleted
11868 package--list-packages (renamed because it is non-internal).
11869
11870 * finder.el (finder-list-matches): Use package-show-package-list
11871 instead of deleted package--list-packages.
11872
e92f3bd3
SM
11873 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11874 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11875 (vc-annotate-mode-map): Bind it to RET.
11876
7031be6d
UR
118772011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11878
11879 * progmodes/etags.el (next-file): Don't use set-buffer to change
11880 buffers (Bug#8478).
11881
4ef177aa
CY
118822011-04-24 Chong Yidong <cyd@stupidchicken.com>
11883
c8d173eb
CY
11884 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11885
4ef177aa
CY
11886 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11887 (apropos-accumulator): Doc fix.
11888 (apropos-function, apropos-macro, apropos-command)
11889 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11890 (apropos-plist): Add face property.
11891 (apropos-symbols-internal): Fix indentation.
11892 (apropos-print): Simplify help, and recognize apropos-multi-type.
11893 (apropos-print-doc): Use button-type-get to extract the button's
11894 face property. Fill docstring (Bug#8352).
11895
4ffd0d6b 118962011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11897
11898 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11899
c6c32125 11900 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11901 (mpuz-mode-map): Use mapc.
c6c32125
JB
11902 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11903 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11904 Fix typos in docstrings.
11905
58d468b4
JB
11906 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11907 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11908
6470c3c6
JB
11909 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11910
4ffd0d6b 119112011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11912
11913 * minibuffer.el (completion--do-completion): Avoid the "Next char
11914 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11915
3ad8bad0
CY
11916 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11917 mouse-2 into unread-command-events, it is interpreted correctly.
11918
71d73c9c 11919 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11920 (image-toggle-display): Doc fix.
71d73c9c 11921
841a1577 119222011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11923
4ffd0d6b
GM
11924 * textmodes/page.el (what-page): Use line-number-at-pos to
11925 calculate line number (Bug#6825).
6e1dbaa9 11926
c2fb1b60
JB
119272011-04-22 Juanma Barranquero <lekktu@gmail.com>
11928
11929 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11930 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11931 Pass argument NO-DEFAULT to `find-tag-interactive'.
11932
e02f48d7
JB
119332011-04-22 Juanma Barranquero <lekktu@gmail.com>
11934
11935 Lexical-binding cleanup.
11936
11937 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11938 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11939 * progmodes/ada-prj.el (ada-prj-initialize-values)
11940 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11941 (ada-prj-show-value):
11942 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11943 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11944 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11945 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11946 * progmodes/bug-reference.el (bug-reference-push-button):
11947 * progmodes/fortran.el (fortran-line-length):
11948 * progmodes/glasses.el (glasses-change):
11949 * progmodes/octave-mod.el (octave-fill-paragraph):
11950 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11951 (python-pdbtrack-grub-for-buffer, python-sentinel):
11952 * progmodes/sql.el (sql-save-connection):
11953 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11954 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11955 Mark unused parameters.
11956
11957 * progmodes/compile.el (compilation--flush-directory-cache)
11958 (compilation--flush-parse, compile-internal): Mark unused parameters.
11959 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11960 (compilation-next-error-function): Remove unused variable `timestamp'.
11961
11962 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11963 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11964
11965 * progmodes/dcl-mode.el (dcl-end-of-command):
11966 Remove unused variable `start'.
11967 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11968 (dcl-option-value-basic, dcl-option-value-offset)
11969 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11970 Mark unused parameters.
11971 (dcl-save-local-variable): Remove unused variable `val'.
11972 (mode): Declare.
11973
11974 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11975 Mark unused parameters.
11976 (delphi-ignore-changes): Move before first use.
11977 (delphi-charset-token-at): Remove unused variable `start'.
11978 (delphi-else-start): Remove unused variable `if-count'.
11979 (delphi-comment-block-start, delphi-comment-block-end):
11980 Remove unused variable `kind'.
11981 (delphi-indent-line): Remove unused variable `new-point'.
11982
11983 * progmodes/ebrowse.el (ebrowse-files-list)
11984 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11985 Mark unused parameters. Don't quote `lambda'.
11986 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11987 Don't quote `lambda'.
11988 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11989 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11990 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11991 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11992 Use `ignore-errors'.
11993 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11994 (ebrowse-view/find-file-and-search-pattern)
11995 (ebrowse-view/find-member-declaration/definition):
11996 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11997 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11998 Rename parameter PREFIX-ARG to PREFIX.
11999 (ebrowse-tags-read-name): Remove unused variables `start' and
12000 `member-info'.
12001 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12002 to `tags-file'.
12003
12004 * progmodes/etags.el (local-find-tag-hook): Declare.
12005 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12006 Mark unused parameters.
12007
12008 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12009 (executable-interpret): Mark unused parameter.
12010
12011 * progmodes/flymake.el (flymake-process-sentinel)
12012 (flymake-after-change-function)
12013 (flymake-create-temp-with-folder-structure)
12014 (flymake-get-include-dirs-dot): Mark unused parameters.
12015 (flymake-safe-delete-directory): Remove unused variable `err'.
12016
12017 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12018 (speedbar-timer-fn, speedbar-line-text)
12019 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12020 (speedbar-center-buffer-smartly): Declare functions.
12021 (gdb-find-watch-expression): Remove unused variable `array'.
12022 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12023 (gdb-starting): Mark unused parameters.
12024 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12025 (gdb-table-string): Remove unused variable `res'.
12026 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12027 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12028 (gdb-display-buffer): Remove unused variable `cur-size'.
12029
12030 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12031 allow lexical-binding compilation.
12032 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12033 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12034 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12035 Mark unused parameters.
12036 (gud-gdb-marker-filter): Remove unused variable `match'.
12037 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12038 lambda expressions and funcall them, instead of using `fset'.
12039
12040 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12041 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12042
12043 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12044 variable `header-beg'; use `let'.
12045
12046 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12047 `restart', `last-sexp' and `at-do'.
12048
12049 * progmodes/js.el (js--debug): Mark unused parameter.
12050 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12051 (js--splice-into-items): Remove unused variable `item'.
12052 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12053
12054 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12055 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12056 (makefile-complete): Remove unused variable `try'.
12057 (makefile-fill-paragraph, makefile-match-function-end):
12058 Mark unused parameters.
12059
12060 * progmodes/octave-inf.el (inferior-octave-complete):
12061 Remove unused variable `proc'.
12062 (inferior-octave-output-digest): Mark unused parameter.
12063
12064 * progmodes/perl-mode.el (perl-calculate-indent):
12065 Remove unused variable `err'.
12066
12067 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12068 (prolog-indent-line): Mark unused parameters.
12069 (prolog-indent-line): Remove unused variable `beg'.
12070
12071 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12072 (reporter-dont-compact-list): Declare.
12073
12074 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12075 Remove unused variable `char'.
12076 (sh-debug): Mark unused parameter.
12077 (sh-get-indent-info): Remove unused variable `start'.
12078 (sh-calculate-indent): Remove unused variable `var'.
12079
12080 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12081 (simula-electric-keyword): Remove unused variable `null'.
12082 (simula-search-backward, simula-search-forward): Remove unused
12083 variables `begin' and `end'.
12084
12085 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12086 Remove unused variable `pos'.
12087 (vera-electric-tab, vera-comment-uncomment-region):
12088 Mark unused parameters.
12089 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12090
7ede3b65
CY
120912011-04-22 Chong Yidong <cyd@stupidchicken.com>
12092
12093 * emacs-lisp/package.el (package--builtins, package-alist)
12094 (package-load-descriptor, package-built-in-p, package-activate)
12095 (define-package, package-installed-p)
12096 (package-compute-transaction, package-buffer-info)
12097 (package--push): Doc fix. Distinguish more clearly between
12098 version strings and version lists.
12099
121656e9
JB
121002011-04-21 Juanma Barranquero <lekktu@gmail.com>
12101
12102 Lexical-binding cleanup.
12103
12104 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12105 (5x5-make-mutate-best):
12106 * play/fortune.el (fortune-in-buffer):
12107 * play/gomoku.el (gomoku-init-display):
12108 * play/solitaire.el (solitaire, solitaire-do-check):
12109 * play/tetris.el (tetris-default-update-speed-function):
12110 Mark unused parameters.
12111
12112 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12113 (bubbles--shift): Remove unused variable `char-org'.
12114 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12115 (bubbles--show-images): Remove unused variable `char'.
12116
12117 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12118 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12119 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12120 (decipher-analyze-buffer): Use ?\s.
12121 (decipher-make-checkpoint): Remove unused variable `mapping'.
12122
12123 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12124
12125 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12126 Remove unused variable `result'; use `let'.
12127
12128 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12129 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12130 (gametree-children-shown-p, gametree-compute-reduced-score):
12131 Use `ignore-errors'.
12132
12133 * play/handwrite.el (ps-lpr-switches): Declare.
12134 (handwrite): Remove unused variables `pmin' and `lastp'.
12135
12136 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12137
12138 * play/landmark.el (landmark-init-display)
12139 (landmark-update-naught-weights): Mark unused parameters.
12140 (landmark-y): Remove unused variable `noise'. Simplify.
12141 (landmark-human-plays): Remove unused variable `score'.
12142
12143 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12144 (mpuz-try-proposal): Remove unused variable `game'.
12145
12146 * play/zone.el (life-patterns): Declare.
12147
80f499c7
JB
121482011-04-20 Juanma Barranquero <lekktu@gmail.com>
12149
12150 * vc/vc.el (ediff-vc-internal): Declare function.
12151
024ff170
SM
121522011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12153
c0a193ea
SM
12154 * shell.el: Use lexical-binding and std completion UI.
12155 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12156 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12157 comint-preoutput-filter-functions rather than on
12158 comint-output-filter-functions.
12159 (shell-command-completion, shell--command-completion-data)
12160 (shell-filename-completion, shell-environment-variable-completion)
12161 (shell-c-a-p-replace-by-expanded-directory): New functions.
12162 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12163 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12164 (shell-dynamic-complete-environment-variable): Use them.
12165 (shell-dynamic-complete-as-environment-variable)
12166 (shell-dynamic-complete-as-command): Remove.
12167 (shell-match-partial-variable): Match past point.
12168 * comint.el: Clean up use of completion-at-point-functions.
12169 (comint-completion-at-point): New function.
12170 (comint-mode): Use it completion-at-point-functions.
12171 (comint-dynamic-complete): Make it obsolete.
12172 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12173 (comint-c-a-p-replace-by-expanded-history): New function.
12174 (comint-dynamic-complete-functions)
12175 (comint-replace-by-expanded-history): Use it.
12176 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12177 termination strings. Try harder to avoid second try-completion.
12178 (completion-in-region-mode-map): Disable bindings that don't work yet.
12179
2dbaa080
SM
12180 * comint.el: Use lexical-binding. Require CL.
12181 (comint-dynamic-complete-functions): Use comint-filename-completion.
12182 (comint-completion-addsuffix): Tweak custom type.
12183 (comint-filename-completion, comint--common-suffix)
12184 (comint--common-quoted-suffix, comint--table-subvert)
12185 (comint--complete-file-name-data): New functions.
12186 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12187 (comint-dynamic-list-filename-completions): Use them.
12188 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12189
2dbaa080
SM
12190 * minibuffer.el (completion-in-region-mode):
12191 Keep completion-in-region-mode--predicate global.
12192 (completion-in-region--postch):
12193 Assume completion-in-region-mode--predicate is not null.
12194
c79a6f38
SM
12195 * progmodes/flymake.el (flymake-start-syntax-check-process):
12196 Obey `dir'. Simplify.
12197
024ff170
SM
12198 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12199 we're in VC after all.
12200
1c6c854e
CS
122012011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12202
12203 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12204 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12205 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12206
bed7f140
SM
122072011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12208
332e62ab
SM
12209 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12210 add sanity check.
12211
bed7f140
SM
12212 * obsolete/erc-hecomplete.el: Make obsolete.
12213 * obsolete/: Standardize obsolescence info in the header.
12214
f195c582
GM
122152011-04-20 Glenn Morris <rgm@gnu.org>
12216
12217 * calendar/solar.el (solar-horizontal-coordinates):
12218 Use the longitude argument rather than `calendar-longitude'.
12219 (solar-date-next-longitude): Remove unused locals.
12220
cb79b8c0
VJL
122212011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12222
12223 * whitespace.el: New version 13.2.1.
12224
122252011-04-20 felix <EmacsWiki> (tiny change)
12226
d8e4b68b 12227 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12228 switching between major modes on a file.
12229
602ea69d
SM
122302011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12233 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12234 multi-line comments as well.
12235
06b60517
JB
122362011-04-19 Juanma Barranquero <lekktu@gmail.com>
12237
12238 Lexical-binding cleanup.
12239
12240 * arc-mode.el (archive-mode-revert):
12241 * cmuscheme.el (scheme-interactively-start-process):
12242 * custom.el (custom-initialize-delay):
12243 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12244 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12245 * emacs-lock.el (emacs-lock-clear-sentinel):
12246 * ezimage.el (defezimage):
12247 * follow.el (follow-avoid-tail-recenter):
12248 * fringe.el (set-fringe-mode-1):
12249 * generic-x.el (bat-generic-mode-compile):
12250 * help-mode.el (help-info-variable, help-do-xref)
12251 (help-mode-revert-buffer):
12252 * help.el (view-emacs-todo):
12253 * iswitchb.el (iswitchb-completion-help):
12254 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12255 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12256 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12257 * locate.el (locate-update):
12258 * longlines.el (longlines-encode-region)
12259 (longlines-after-change-function):
12260 * outline.el (outline-isearch-open-invisible):
12261 * ps-def.el (declare-function, charset-dimension, char-width)
12262 (encode-char):
12263 * ps-mule.el (ps-mule-plot-string):
12264 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12265 (recentf-edit-list-select, recentf-edit-list-validate)
12266 (recentf-open-files-action):
12267 * rect.el (delete-whitespace-rectangle-line)
12268 (rectangle-number-line-callback):
12269 * register.el (window-configuration-to-register)
12270 (frame-configuration-to-register):
12271 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12272 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12273 (xselect-convert-to-targets, xselect-convert-to-delete)
12274 (xselect-convert-to-filename, xselect-convert-to-charpos)
12275 (xselect-convert-to-lineno, xselect-convert-to-colno)
12276 (xselect-convert-to-os, xselect-convert-to-host)
12277 (xselect-convert-to-user, xselect-convert-to-class)
12278 (xselect-convert-to-name, xselect-convert-to-integer)
12279 (xselect-convert-to-atom, xselect-convert-to-identity):
12280 * subr.el (declare, ignore, process-kill-without-query)
12281 (text-clone-maintain):
12282 * terminal.el (te-get-char, te-tic-sentinel):
12283 * tool-bar.el (tool-bar-make-keymap):
12284 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12285 * type-break.el (type-break-mode, type-break-noninteractive-query):
12286 * view.el (View-back-to-mark):
12287 * wid-browse.el (widget-browse-action, widget-browse-widget)
12288 (widget-browse-widgets, widget-browse-sexp):
12289 * widget.el (define-widget-keywords):
12290 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12291 Mark unused parameters.
12292
12293 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12294 (align-areas): Remove unused variable `look'.
12295 (align-region): Remove unused variables `real-end' and `pos-list'.
12296
12297 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12298
12299 * bindings.el (mode-line-modified, mode-line-remote):
12300 Mark unused parameters.
12301 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12302
12303 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12304 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12305
12306 * comint.el (comint-history-isearch-pop-state)
12307 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12308 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12309 (comint-substitute-in-file-name): Doc fix.
12310
12311 * completion.el (cmpl-statistics-block): Mark unused parameter.
12312 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12313 (save-completions-to-file, load-completions-from-file):
12314 Remove unused local variable `e'.
12315
12316 * composite.el (compose-chars): Remove unused variable `len'.
12317 (lgstring-insert-glyph): Remove unused variable `g'.
12318 (compose-glyph-string): Remove unused variables `ascent',
12319 `descent', `lbearing' and `rbearing'.
12320 (compose-glyph-string-relative): Remove unused variables
12321 `lbearing', `rbearing' and `wadjust'.
12322 (compose-gstring-for-graphic): Remove unused variables `header',
12323 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12324 (compose-gstring-for-terminal): Remove unused variables `header'
12325 and `nchars'. Use `let', not `let*'.
12326
12327 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12328 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12329 (Custom-buffer-done, custom-buffer-create-internal)
12330 (custom-browse-visibility-action, custom-browse-group-tag-action)
12331 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12332 (widget-magic-mouse-down-action, custom-toggle-parent)
12333 (custom-add-parent-links, custom-toggle-hide-variable)
12334 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12335 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12336 (custom-face-menu-create, custom-variable-menu-create, get)
12337 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12338 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12339 (customize-apropos): Remove unused variable `tests'.
12340 (custom-group-value-create): Remove unused variable `hidden-p'.
12341 (sort-fold-case): Declare.
12342
12343 * cus-theme.el (custom-reset-standard-faces-list)
12344 (custom-reset-standard-variables-list): Declare.
12345 (customize-create-theme, custom-theme-revert, custom-theme-write)
12346 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12347 Mark unused parameters.
12348
12349 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12350
12351 * delim-col.el (delimit-columns-max): Move defvar before first use.
12352
12353 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12354 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12355
12356 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12357 (auto-insert): Declare.
12358 (desktop-restore-file-buffer): Rename desktop-* parameters;
12359 mark unused ones.
12360 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12361 (desktop-buffer): Rename desktop-* parameters.
12362
12363 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12364 (dframe-reposition-frame-xemacs, dframe-help-echo)
12365 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12366 Mark unused parameters.
12367
12368 * dired-aux.el (backup-extract-version-start, overwrite-query)
12369 (overwrite-backup-query, rename-regexp-query)
12370 (rename-non-directory-query): Declare.
12371 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12372 (dired-add-entry): Remove unused variable `orig-file-name'.
12373 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12374 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12375 `dired-copy-preserve-time' directly.
12376 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12377 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12378
12379 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12380 (dired-virtual-revert, dired-make-relative-symlink):
12381 Mark unused parameters.
12382 (manual-program): Declare.
12383 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12384 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12385 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12386
12387 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12388
12389 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12390
12391 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12392 Declare.
12393
12394 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12395
12396 * electric.el (Electric-command-loop): Rename parameter
12397 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12398
12399 * expand.el (expand-in-literal): Remove unused variable `here'.
12400
12401 * facemenu.el (facemenu-add-new-color):
12402 Remove unused variable `docstring'.
12403
12404 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12405 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12406 (face-attr-construct): Mark unused parameter. Doc fix.
12407 (read-color): Remove unused variable `hex-string'.
12408
12409 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12410 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12411 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12412 (display-buffer-other-frame): Remove unused variable `old-window'.
12413 (kill-buffer-hook): Declare.
12414 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12415 Mark unused parameters.
12416 (after-find-file): Pass 1 to `auto-save-mode', not t.
12417
12418 * files-x.el (auto-insert): Declare.
12419 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12420
12421 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12422 variable `buf'. Mark unused parameter.
06b60517
JB
12423 (find-lisp-insert-directory): Mark unused parameter.
12424
12425 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12426 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12427 (format-common-tail): Remove, unused.
12428 (format-deannotate-region): Remove unused variable `loc'.
12429 (format-annotate-region): Remove unused variable `p'.
12430 (format-annotate-single-property-change): Remove unused variables
12431 `default' and `tail'.
12432
12433 * forms.el (read-file-filter): Declare.
12434 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12435
12436 * frame.el (frame-creation-function-alist): Mark unused parameter.
12437 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12438
12439 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12440 Remove unused parameters.
12441 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12442 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12443
12444 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12445 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12446 (hfy-prepare-tag-map): Mark unused parameters.
12447 (htmlfontify-buffer): Use `called-interactively-p'.
12448
12449 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12450 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12451 (ibuffer-do-occur): Mark unused parameters.
12452 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12453 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12454
12455 * ibuffer.el: Don't quote `lambda'.
12456 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12457 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12458 Mark unused parameters.
12459
12460 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12461 (ido-completing-read): Mark unused parameters.
12462 (ido-copy-current-word): Mark unused parameters;
12463 remove unused variable `name'.
12464 (ido-sort-merged-list): Remove unused parameter `dirs'.
12465
12466 * ielm.el (ielm-input-sender): Mark unused parameter.
12467 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12468 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12469 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12470 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12471 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12472
12473 * image-dired.el (image-dired-display-thumbs): Remove unused
12474 variables `curr-file' and `count'.
12475 (image-dired-remove-tag): Remove unused variable `start'.
12476 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12477 variable `curr-file'
12478 (image-dired-rotate-original): Remove unused variable `temp-file'.
12479 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12480 Remove unused variable `file'.
12481 (image-dired-gallery-generate): Remove unused variable `curr'.
12482 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12483
12484 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12485
12486 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12487
12488 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12489
12490 * isearch.el (minibuffer-history-symbol): Declare.
12491 (isearch-edit-string): Remove unused variable `err'.
12492 (isearch-message-prefix, isearch-message-suffix):
12493 Mark unused parameters.
12494
12495 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12496
12497 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12498
12499 * makesum.el (double-column): Remove unused variable `cnt'.
12500
12501 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12502 (ido-ignore-item-temp-list): Declare.
12503
12504 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12505 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12506 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12507 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12508 `mouse-col-delta'.
12509
12510 * mouse-sel.el (mouse-extend-internal):
12511 Remove unused variable `orig-window-frame'.
12512
12513 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12514 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12515 Move declarations before first use.
12516 (pcomplete-opt): Mark unused parameters; doc fix.
12517
12518 * proced.el (proced-revert): Mark unused parameter.
12519 (proced-send-signal): Remove unused variable `err'.
12520
12521 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12522 Rename parameter PREFIX-ARG to ARG.
12523 (ps-basic-plot-string, ps-basic-plot-whitespace):
12524 Mark unused parameters.
12525
12526 * replace.el (replace-count): Define.
12527 (occur-revert-function): Mark unused parameters.
12528 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12529 (isearch-case-fold-search, isearch-string): Declare.
12530 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12531 bind `case-fold-search'. Remove unused variables `beg' and `end',
12532 and simplify.
12533 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12534 COUNT and bind `replace-count'.
12535 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12536 to COUNT.
12537
12538 * savehist.el (print-readably, print-string-length): Declare.
12539
12540 * shadowfile.el (shadow-expand-cluster-in-file-name):
12541 Remove unused variable `cluster'.
12542 (shadow-copy-file): Remove unused variable `i'.
12543 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12544 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12545 (shadow-define-literal-group, shadow-define-regexp-group)
12546 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12547
12548 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12549 (shell): Use `called-interactively-p'.
12550 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12551
12552 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12553 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12554 (delete-backward-char): Remove unused variable `ocol'.
12555 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12556 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12557 (event-apply-hyper-modifier, event-apply-shift-modifier)
12558 (event-apply-control-modifier, event-apply-meta-modifier):
12559 Mark unused parameters.
12560 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12561 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12562
12563 * speedbar.el (speedbar-ignored-directory-expressions)
12564 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12565 (speedbar-find-file, speedbar-dir-follow)
12566 (speedbar-directory-buttons-follow, speedbar-tag-find)
12567 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12568 (speedbar-buffers-line-directory, speedbar-buffer-click):
12569 Mark unused parameters.
12570 (speedbar-tag-file): Remove unused variable `mode'.
12571 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12572
12573 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12574
12575 * talk.el (talk): Remove unused variable `display'.
12576
12577 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12578 (tar-write-region-annotate): Mark unused parameter.
12579
12580 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12581 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12582 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12583 warning by another.
12584
12585 * time-stamp.el (time-stamp-string-preprocess):
12586 Remove unused variable `require-padding'.
12587
12588 * tree-widget.el (widget-glyph-enable): Declare.
12589 (tree-widget-action): Mark unused parameter.
12590
12591 * w32-fns.el (x-get-selection): Mark unused parameter.
12592 (autoload-make-program, generated-autoload-file): Declare.
12593
12594 * wdired.el (wdired-revert): Mark unused parameters.
12595 (wdired-xcase-word): Remove unused variable `err'.
12596
12597 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12598 (whitespace-help-scroll): Remove unused variable `data-help'.
12599
12600 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12601 (widget-image-insert, widget-after-change, default)
12602 (widget-default-format-handler, widget-default-notify)
12603 (widget-default-prompt-value, widget-info-link-action)
12604 (widget-url-link-action, widget-function-link-action)
12605 (widget-variable-link-action, widget-file-link-action)
12606 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12607 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12608 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12609 (widget-insert-button-action, widget-delete-button-action, visibility)
12610 (widget-documentation-link-action, widget-documentation-string-action)
12611 (widget-const-prompt-value, widget-regexp-match, symbol)
12612 (widget-coding-system-prompt-value)
12613 (widget-key-sequence-value-to-external, sexp)
12614 (widget-sexp-value-to-internal, character, vector, cons)
12615 (widget-choice-prompt-value, widget-boolean-prompt-value)
12616 (widget-color--choose-action): Mark unused parameters.
12617 (widget-item-match-inline, widget-choice-match-inline)
12618 (widget-checklist-match, widget-checklist-match-inline)
12619 (widget-group-match): Rename parameter VALUES to VALS.
12620 (widget-field-value-set): Remove unused variable `size'.
12621 (widget-color-action): Remove unused variables `value' and `start'.
12622
12623 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12624 variable `dir'. Doc fix.
06b60517
JB
12625 (windmove-find-other-window): Don't pass it.
12626
12627 * window.el (count-windows): Mark unused parameter.
12628 (bw-adjust-window): Remove unused variable `err'.
12629
12630 * woman.el (woman-file-name): Remove unused variable `default'.
12631 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12632 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12633 (global-font-lock-mode): Declare.
12634 (woman-decode-region): Mark unused parameter.
12635 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12636
12637 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12638 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12639 (x-dnd-handle-moz-url): Remove unused variable `title'.
12640 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12641
12642 * xml.el (xml-parse-tag, xml-parse-attlist):
12643 Remove unused variable `pos'.
12644
bc4f7f3d
GM
126452011-04-19 Glenn Morris <rgm@gnu.org>
12646
12647 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12648 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12649 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12650 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12651 * calendar/cal-html.el (cal-html-insert-minical):
12652 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12653 (calendar-mark-date-pattern):
12654 Prefix "unused" locals.
12655
12656 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12657 optional argument `style'.
12658
12659 * calendar/appt.el (appt-make-list):
12660 * calendar/cal-china.el (calendar-chinese-date-string):
12661 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12662 (diary-hebrew-yahrzeit):
12663 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12664 * calendar/calendar.el (calendar-generate-window):
12665 * calendar/time-date.el (time-to-days):
12666 Remove unused local variables.
12667
16a43933
CY
126682011-04-18 Chong Yidong <cyd@stupidchicken.com>
12669
12670 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12671 glyphless-char-display table.
12672 (tabulated-list-glyphless-char-display): New var.
12673
7eed1860
SS
126742011-04-18 Sam Steingold <sds@gnu.org>
12675
12676 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12677 to acknowledgments.
12678
4d2d1ccd
GM
126792011-04-17 Glenn Morris <rgm@gnu.org>
12680
12681 * calendar/diary-lib.el (diary-sexp-entry):
12682 * calendar/holidays.el (holiday-sexp):
12683 Set debug-on-error rather than the removed stack-trace-on-error.
12684
239da61d
GM
126852011-04-16 Glenn Morris <rgm@gnu.org>
12686
12687 * progmodes/f90.el: Use lexical-binding.
12688 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12689
8b05752a
SM
126902011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12691
daca8ba5
SM
12692 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12693 (mail-mode): Setup mailalias completion here instead.
12694 * mail/mailalias.el: Use lexical-binding.
12695 (pattern, mailalias-done): Declare dynamic.
12696 (mail-completion-at-point-function): New function, from mail-complete.
12697 (mail-complete): Use it.
12698 (mail-completion-expand): New function.
12699 (mail-get-names): Use it.
12700 (mail-directory, mail-directory-process, mail-directory-stream):
12701 Don't use `pattern' for lexically bound arg.
12702
6f542485
SM
12703 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12704
037e7c3f
SM
12705 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12706 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12707 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12708
8b05752a
SM
12709 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12710 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12711 (byte-interactive-p): Define them again, for use when inlining
12712 old code.
12713
49093f60
JB
127142011-04-15 Juanma Barranquero <lekktu@gmail.com>
12715
12716 * loadup.el: Use `string-to-number', not `string-to-int'.
12717
b5b8e7de
SM
127182011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12719
12720 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12721 gud-gdb-complete-command.
12722 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12723 (gud-gdb-completion-at-point): New function.
12724 (gud-gdb-completions): Remove.
12725
f42efeb5
MA
127262011-04-14 Michael Albinus <michael.albinus@gmx.de>
12727
49093f60
JB
12728 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12729 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12730 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12731 whether `executable-find' is bound.
f42efeb5
MA
12732
12733 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12734
e240cc21
SM
127352011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 * minibuffer.el (completion-in-region-mode-predicate)
12738 (completion-in-region-mode--predicate): New vars.
12739 (completion-in-region, completion-in-region--postch)
12740 (completion-in-region-mode): Use them.
12741 (completion--capf-wrapper): Also return the hook function.
12742 (completion-at-point, completion-help-at-point):
12743 Adjust and provide a predicate.
c2bd2ab0
SM
12744
12745 Preserve arg names for advice of subr and lexical functions (bug#8457).
12746 * help-fns.el (help-function-arglist): Consolidate the subr and
12747 new-byte-code cases. Add argument `preserve-names' to extract names
12748 from the docstring when needed.
12749 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12750 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12751 (ad-arglist): Use help-function-arglist's new arg.
12752 (ad-definition-type): Use cond.
12753
c183f693
JB
127542011-04-13 Juanma Barranquero <lekktu@gmail.com>
12755
06641a47
JB
12756 * autorevert.el (auto-revert-handler):
12757 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12758 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12759 Don't quote lambda.
12760
c183f693
JB
12761 * image-mode.el (image-transform-set-scale):
12762 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12763
1e3b6001
G
127642011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12765
12766 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12767 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12768 Upgrades via gnutls-cli are too slow to be done opportunistically.
12769
2d6af8dd
JB
127702011-04-12 Juanma Barranquero <lekktu@gmail.com>
12771
12772 * dframe.el (dframe-current-frame): Remove spurious quote.
12773
c0749a51
GM
127742011-04-12 Glenn Morris <rgm@gnu.org>
12775
088d0d61
GM
12776 * calendar/cal-tex.el (cal-tex-end-document):
12777 Try to automatically use latin1 input if needed.
12778
c0749a51
GM
12779 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12780 Don't try to cons a mark onto an empty element.
12781
5c90fde0
LL
127822011-04-11 Leo Liu <sdl.web@gmail.com>
12783
12784 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12785 buffers.
12786 (ido-kill-buffer-at-head): Support killing virtual buffers.
12787
369e974d
CY
127882011-04-10 Chong Yidong <cyd@stupidchicken.com>
12789
12790 * minibuffer.el (completion-show-inline-help): New var.
12791 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12792 (minibuffer-force-complete, minibuffer-complete-word):
12793 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12794
12795 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12796 to avoid interference from inline help (Bug#5849).
12797
37f1c930
LL
127982011-04-10 Leo Liu <sdl.web@gmail.com>
12799
099c39a4
JB
12800 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12801 Fix typo.
37f1c930 12802
a32d4040
CY
128032011-04-09 Chong Yidong <cyd@stupidchicken.com>
12804
12805 * image-mode.el (image-toggle-display-image): Signal an error if
12806 not in Image mode.
12807 (image-transform-mode, image-transform-resize)
12808 (image-transform-set-rotation): Doc fix.
daca8ba5 12809 (image-transform-set-resize): Delete.
a32d4040
CY
12810 (image-transform-set-scale, image-transform-fit-to-height)
12811 (image-transform-fit-to-width): Handle image-toggle-display-image
12812 and image-transform-resize directly.
12813
099c39a4 128142011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12815
12816 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12817 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12818 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12819 (doc-view-mode-map): Add bindings for the new functions.
12820
099c39a4 128212011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12822
4d61f28d 12823 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12824 Fix typo in docstring.
12825
3726838a
EZ
128262011-04-08 Eli Zaretskii <eliz@gnu.org>
12827
04f33f1e
EZ
12828 * files.el (file-size-human-readable): Produce one digit after
12829 decimal, like "ls -lh" does.
12830
12831 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12832 the file size representation.
12833
3726838a
EZ
12834 * simple.el (list-processes): If async subprocesses are not
12835 available, error out with a clear error message.
12836
cbb59342
CY
128372011-04-08 Chong Yidong <cyd@stupidchicken.com>
12838
12839 * help.el (help-form-show): New function, to be called from C.
12840 Put help-form output in a buffer named differently than *Help*.
12841
e3971c44
EZ
128422011-04-08 Eli Zaretskii <eliz@gnu.org>
12843
12844 * files.el (file-size-human-readable): New function.
12845
12846 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12847 computing the representation inline. Don't require `cl'.
12848
12544bbe
GM
128492011-04-08 Glenn Morris <rgm@gnu.org>
12850
a1de6c6a
GM
12851 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12852
3c4671f4
GM
12853 * net/browse-url.el (browse-url-firefox):
12854 Test system-type, not system-configuration.
12855
b605679c
GM
12856 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12857 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12858 Use log-edit-empty-buffer-p. (Bug#7598)
12859
56442f0c
GM
12860 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12861 (rlogin-mode-map): Initialize in the defvar.
12862 (rlogin): Use ignore-errors.
12863
12544bbe
GM
12864 * replace.el (occur-mode-map): Some fixes for menu items.
12865
eb237b0f
AH
128662011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12867
12868 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12869
7d668f2c
CY
128702011-04-06 Chong Yidong <cyd@stupidchicken.com>
12871
e67a13ab
CY
12872 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12873 issuing unused warnings.
12874
12875 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12876 macro directly.
12877
7d668f2c
CY
12878 * simple.el: Lisp reimplement of list-processes. Based on an
12879 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12880 (process-menu-mode): New major mode.
12881 (list-processes--refresh, list-processes):
12882 (process-menu-visit-buffer): New functions.
12883
12884 * files.el (save-buffers-kill-emacs): Don't assume any return
12885 value of list-processes, which is undocumented anyway.
12886
a83ec3c9
CY
128872011-04-06 Chong Yidong <cyd@stupidchicken.com>
12888
12889 * emacs-lisp/tabulated-list.el: New file.
12890
e91a96fe
CY
12891 * emacs-lisp/package.el: Use Tabulated List mode.
12892 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12893 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12894 table format using Tabulated List mode variables.
12895 (package--push): New macro, replacing package-list-maybe-add.
12896 (package-menu--generate): Use package--push. Renamed from
12897 package--generate-package-list.
12898 (package-menu-refresh, list-packages): Use it.
daca8ba5 12899 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12900 Return insertion data instead of inserting it directly.
099c39a4
JB
12901 (package-menu-describe-package, package-menu-execute):
12902 Use tabulated-list-get-id.
e91a96fe
CY
12903 (package-menu-mark-delete, package-menu-mark-install)
12904 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12905 (package-menu-mark-obsolete-for-deletion):
12906 Use tabulated-list-put-tag.
e91a96fe
CY
12907 (package--list-packages, package-menu-revert)
12908 (package-menu-get-package, package-menu-get-version)
12909 (package-menu-sort-by-column): Functions deleted.
12910 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12911 (package-menu--status-predicate, package-menu--version-predicate)
12912 (package-menu--name-predicate)
12913 (package-menu--description-predicate): Handle arguments in the
12914 Tabulated List format.
12915 (package-list-packages-no-fetch): Call list-packages.
12916
3e214b50
JB
129172011-04-06 Juanma Barranquero <lekktu@gmail.com>
12918
12919 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12920 (after-find-file): Don't bind it.
3e214b50
JB
12921 (revert-buffer-in-progress-p): New variable.
12922 (revert-buffer): Bind it.
12923 Pass nil for `after-find-file-from-revert-buffer'.
12924
12925 * saveplace.el (save-place-find-file-hook): Use new variable
12926 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12927
3f0f1700
GM
129282011-04-06 Glenn Morris <rgm@gnu.org>
12929
c0274801
GM
12930 * Makefile.in (AUTOGEN_VCS): New variable.
12931 (autoloads): Use $AUTOGEN_VCS.
12932
3f0f1700
GM
12933 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12934 * calendar/calendar.el (calendar-mode-map):
12935 Check for toolkit scroll bars. (Bug#8305)
12936
41ea9e48
CY
129372011-04-05 Chong Yidong <cyd@stupidchicken.com>
12938
12939 * minibuffer.el (completion-in-region--postch)
12940 (completion-in-region-mode): Remove unnecessary messages.
12941
6194c800
JB
129422011-04-05 Juanma Barranquero <lekktu@gmail.com>
12943
33256f14
JB
12944 * font-lock.el (font-lock-refresh-defaults):
12945 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12946 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12947
6194c800
JB
12948 * info.el (Info-directory-list, Info-read-node-name-2)
12949 (Info-split-parameter-string): Doc fixes.
12950 (Info-virtual-nodes): Reflow docstring.
12951 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12952 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12953 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12954 Fix typos in docstrings.
12955 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12956 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12957 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12958 (Info-restore-desktop-buffer): Mark unused parameters.
12959 (Info-directory-find-file, Info-directory-find-node)
12960 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12961 (Info-virtual-index-find-node, Info-apropos-find-file)
12962 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12963 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12964 (Info-virtual-index): Remove unused local variable `nodename'.
12965
b87a8200 129662011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12967
b87a8200
DD
12968 * net/rcirc.el: Update my e-mail address.
12969 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12970
3b2ff876
CY
129712011-04-05 Chong Yidong <cyd@stupidchicken.com>
12972
12973 * startup.el (command-line): Save the cursor's theme-face
12974 directly, instead of using face-override-spec.
12975
12976 * custom.el (load-theme): Minor optimization in assigning faces.
12977
8d17e7ca
JB
129782011-04-04 Juanma Barranquero <lekktu@gmail.com>
12979
12980 * help-fns.el (describe-variable): Complete all variables having
12981 documentation, including keywords.
12982 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12983
2fbc1934
JB
129842011-04-04 Juanma Barranquero <lekktu@gmail.com>
12985
12986 Convert to lexical-binding.
12987
12988 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12989 (bs--get-marked-string, bs--get-modified-string)
12990 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12991 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12992 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12993
12994 * ehelp.el (electric-help-execute-extended)
12995 (electric-help-ctrl-x-prefix):
12996 * hexl.el (hexl-revert-buffer-function):
12997 * linum.el (linum-after-change, linum-after-scroll):
12998 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12999
13000 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13001
74f50695
DU
130022011-04-04 Daiki Ueno <ueno@unixuser.org>
13003
13004 * epa-dired.el:
13005 * epa-mail.el:
13006 * epa-hook.el:
13007 * epa-file.el:
13008 * epa.el:
13009 * epg.el: Use lexical binding.
13010
c11325f7
CY
130112011-04-03 Chong Yidong <cyd@stupidchicken.com>
13012
0d9e9a12
CY
13013 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13014
c11325f7 13015 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13016 dictionary case for flyspell-mark-duplications-exceptions.
13017 Use regexp matching for languages.
c11325f7
CY
13018 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13019 default dictionary (Bug#7926).
13020
da91b5f2
CY
130212011-04-02 Chong Yidong <cyd@stupidchicken.com>
13022
099c39a4
JB
13023 * emacs-lisp/package.el (package--with-work-buffer):
13024 Recognize https URLs.
da91b5f2 13025
099c39a4
JB
13026 * net/network-stream.el: Move from gnus/proto-stream.el.
13027 Change prefix to network-stream throughout.
da91b5f2
CY
13028 (open-protocol-stream): Merge into open-network-stream, leaving
13029 open-protocol-stream as an alias. Handle nil BUFFER args.
13030
13031 * subr.el (open-network-stream): Move to net/network-stream.el.
13032
afa8e9f6
GM
130332011-04-02 Glenn Morris <rgm@gnu.org>
13034
1d2e369d
GM
13035 * find-dired.el (find-exec-terminator): New option.
13036 (find-ls-option): Test for -ls support.
13037 (find-ls-subdir-switches): Test for -b in find-ls-option.
13038 (find-dired, find-grep-dired): Doc fixes.
13039 (find-dired): Use find-exec-terminator.
13040
8abb7da8 13041 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13042 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13043 (find-name-arg): Remove purecopy.
8abb7da8 13044
f3ca7378
GM
13045 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13046 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13047 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13048 accordingly. Don't add the null-device if not needed.
13049
afa8e9f6
GM
13050 * files.el (save-some-buffers): Doc fix.
13051
35eae264
EZ
130522011-04-02 Eli Zaretskii <eliz@gnu.org>
13053
13054 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13055
26b51db5
JB
130562011-04-01 Juanma Barranquero <lekktu@gmail.com>
13057
13058 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13059 Use `dolist' rather than `mapcar'.
13060
7200d79c
SM
130612011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13062
03408648 13063 Add lexical binding.
7200d79c 13064
03408648
SM
13065 * subr.el (apply-partially): Use new closures rather than CL.
13066 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13067 (dolist, dotimes): Use slightly different expansion for lexical code.
13068 (functionp): Move to C.
13069 (letrec): New macro.
13070 (with-wrapper-hook): Use it and apply-partially instead of CL.
13071 (eval-after-load): Preserve lexical-binding.
13072 (save-window-excursion, with-output-to-temp-buffer): Turn them
13073 into macros.
7200d79c 13074
03408648
SM
13075 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13076
13077 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13078 than the arglist.
13079 (help-add-fundoc-usage): Don't add `Not documented'.
13080 (help-function-arglist): Handle closures, subroutines, and new
13081 byte-code-functions.
13082 (help-make-usage): Remove leading underscores.
13083 (describe-function-1): Handle closures.
13084 (describe-variable): Use special-variable-p for completion.
13085
13086 * files.el (lexical-binding): Declare safe.
f488fb65 13087
03408648
SM
13088 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13089 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13090 (pcase): Add `let' pattern.
13091 Change memoization so it actually works.
13092 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13093 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13094 <let>: New case.
f488fb65 13095
03408648
SM
13096 * emacs-lisp/macroexp.el: Use lexical binding.
13097 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13098 Don't convert ' to #' without checking that it's indeed quoting
13099 a lambda.
13100
13101 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13102 Use eval-sexp-add-defvars.
03408648
SM
13103 (eval-sexp-add-defvars): New fun.
13104
13105 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13106
13107 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13108 Don't autoload.
13109 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13110 than the internal `byte-compile-lambda'.
13111 (defmethod): Don't hide code under quotes.
13112 (eieio-defmethod): New `code' argument.
13113
13114 * emacs-lisp/eieio-comp.el: Remove.
13115
13116 * emacs-lisp/edebug.el (edebug-eval-defun)
13117 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13118 (edebug-toggle): Avoid `eval'.
13119
13120 * emacs-lisp/disass.el (disassemble-internal): Handle new
13121 `closure' objects.
13122 (disassemble-1): Handle new byte codes.
13123
13124 * emacs-lisp/cl.el (pushnew): Silence warning.
13125
13126 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13127 (cl-byte-compile-throw): Remove.
13128 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13129
13130 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13131 closures.
13132
13133 * emacs-lisp/cconv.el: New file.
13134
13135 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13136 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13137 (byte-compile-initial-macro-environment):
13138 Handle declare-function here.
13139 (byte-compile--lexical-environment): New var.
13140 (byte-stack-ref, byte-stack-set, byte-discardN)
13141 (byte-discardN-preserve-tos): New lap codes.
13142 (byte-interactive-p): Don't use any more.
13143 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13144 New macros.
13145 (byte-compile-lapcode): Use them and handle new lap codes.
13146 (byte-compile-obsolete): Remove.
13147 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13148 (byte-compile-arglist-warn): Check late def of inlinable funs.
13149 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13150 since they should have been expanded by now.
13151 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13152 (byte-compile-from-buffer): Remove unused second arg.
13153 (byte-compile-preprocess): New function.
13154 (byte-compile-toplevel-file-form): New function to distinguish
13155 file-form calls from outside from file-form calls from hunk-handlers.
13156 (byte-compile-file-form): Simplify.
13157 (byte-compile-file-form-defsubst): Remove.
13158 (byte-compile-file-form-defmumble): Simplify now that
13159 byte-compile-lambda always returns a byte-code-function.
13160 (byte-compile): Preprocess.
13161 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13162 Remove, not used any more.
13163 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13164 (byte-compile-make-args-desc): New funs.
13165 (byte-compile-lambda): Handle lexical functions. Always return
13166 a byte-code-function.
13167 (byte-compile-reserved-constants): New var, to make up room for
13168 closed-over variables.
13169 (byte-compile-constants-vector): Obey it.
13170 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13171 (byte-compile-macroexpand-declare-function): New function.
13172 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13173 byte-code-functions.
13174 (byte-compile-form): Check obsolescence here.
13175 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13176 (byte-compile-variable-ref): Remove.
13177 (byte-compile-dynamic-variable-op): New fun.
13178 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13179 (byte-compile-variable-set): New funs.
13180 (byte-compile-discard): Add 2 args.
13181 (byte-compile-stack-ref, byte-compile-stack-set)
13182 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13183 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13184 macroexpand-all instead.
13185 (byte-compile-quote-form): Remove.
13186 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13187 (byte-compile-bind, byte-compile-unbind): New funs.
13188 (byte-compile-let): Handle let* and lexical binding.
13189 (byte-compile-let*): Remove.
13190 (byte-compile-catch, byte-compile-unwind-protect)
13191 (byte-compile-track-mouse, byte-compile-condition-case):
13192 Handle a new :fun-body form, used for lexical scoping.
13193 (byte-compile-save-window-excursion)
13194 (byte-compile-with-output-to-temp-buffer): Remove.
13195 (byte-compile-defun): Simplify.
13196 (byte-compile-stack-adjustment): New fun.
13197 (byte-compile-out): Use it.
13198 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13199
13200 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13201 handler any more.
13202
13203 * emacs-lisp/byte-opt.el: Use lexical binding.
13204 (byte-inline-lapcode): Remove (to bytecomp).
13205 (byte-compile-inline-expand): Pay attention to inlining to/from
13206 lexically bound code.
13207 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13208 any more.
13209 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13210 any more and don't call compiler-macros.
13211 (byte-compile-splice-in-already-compiled-code): Remove.
13212 (byte-code): Don't inline any more.
13213 (disassemble-offset): Receive `bytes' as argument rather than via
13214 dynamic scoping.
13215 (byte-compile-tag-number): Declare before first use.
13216 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13217 `return' even if make-spliceable.
13218 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13219 obsolete interactive-p.
13220 (byte-optimize-lapcode): Optimize new lap-codes.
13221 Don't trip up on new form of `byte-constant' lap code.
13222
13223 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13224
13225 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13226
13227 * custom.el (custom-initialize-default, custom-declare-variable):
13228 Use `defvar'.
13229
13230 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13231 New variables.
13232 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13233 (COMPILE_FIRST): Add macroexp and cconv.
13234 * makefile.w32-in: Mirror changes in Makefile.in.
13235
13236 * vc/cvs-status.el:
13237 * vc/diff-mode.el:
13238 * vc/log-edit.el:
13239 * vc/log-view.el:
13240 * vc/smerge-mode.el:
13241 * textmodes/bibtex-style.el:
13242 * textmodes/css.el:
13243 * startup.el:
13244 * uniquify.el:
da91b5f2
CY
13245 * minibuffer.el:
13246 * newcomment.el:
13247 * reveal.el:
13248 * server.el:
13249 * mpc.el:
13250 * emacs-lisp/smie.el:
13251 * doc-view.el:
13252 * dired.el:
03408648
SM
13253 * abbrev.el: Use lexical binding.
13254
0f0c1f27
EZ
132552011-04-01 Eli Zaretskii <eliz@gnu.org>
13256
13257 * info.el (info-display-manual): New function.
13258
c82b2579
SM
132592011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13262
221ddf68
TH
132632011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13264
13265 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13266 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13267
cba6e77e
GM
132682011-03-31 Glenn Morris <rgm@gnu.org>
13269
e040639f
GM
13270 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13271
cba6e77e
GM
13272 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13273
6d0f1c9e
CS
132742011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13275
13276 * progmodes/python.el (python-default-interpreter)
13277 (python-python-command-args, python-jython-command-args)
13278 (python-which-shell, python-which-args, python-which-bufname)
13279 (python-file-queue, python-comint-output-filter-function)
13280 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13281 variables and functions.
13282
3e2d70fd
SM
132832011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13284
13285 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13286 (completion-in-region-mode): New minor mode.
13287 (completion-in-region): Use it.
13288 (completion-in-region--data, completion-in-region-mode-map): New vars.
13289 (completion-in-region--postch): New function.
13290 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13291 New vars.
13292 (completion--capf-wrapper): New function.
13293 (completion-at-point): Use it to track well-behavedness of
13294 hook functions.
13295 (completion-help-at-point): New command.
13296
f3e4086c
JM
132972011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13298
13299 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13300 syntax class to search for whitespace on a single line
13301 (Message-ID: <4D938140.4030905@redhat.com>).
13302
eb7ffc14
LL
133032011-03-30 Leo Liu <sdl.web@gmail.com>
13304
13305 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13306 New commands.
13307 (edit-abbrevs-map): Bind them here.
13308 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13309
d806ab68
KM
133102011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13311
13312 * allout.el (allout-hide-by-annotation, allout-flag-region):
13313 Reduce possibility of overlay leakage by making them volatile.
13314
13315 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13316 hash is not shared between buffers. Mode initialization is
13317 responsible for giving it a useful starting value.
13318 (allout-item-span): Reduce possibility of overlay leakage by
13319 making them volatile.
13320 (allout-widgets-count-buttons-in-region): Add diagnostic function
13321 for tracking down button overlay leaks.
13322
ea622834
LL
133232011-03-29 Leo Liu <sdl.web@gmail.com>
13324
13325 * ido.el (ido-read-internal): Use the default history var
13326 minibuffer-history if no HISTORY is specified.
13327
b62f8267
G
133282011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13329
03408648
SM
13330 * net/imap.el (imap-shell-open, imap-process-connection-type):
13331 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13332 Kerberos, SSL, other subprocesses.
13333
947b6566
LL
133342011-03-28 Leo Liu <sdl.web@gmail.com>
13335
13336 * abbrev.el (abbrev-table-empty-p): New function.
13337 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13338 nonempty ones. (Bug#5937)
13339
5ffb62aa
JD
133402011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13341
13342 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13343
7a097943
LL
133442011-03-27 Leo Liu <sdl.web@gmail.com>
13345
13346 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13347 for foreground and background colors.
13348 (ansi-color-make-color-map): Adapt.
13349
c5b40130
LL
133502011-03-25 Leo Liu <sdl.web@gmail.com>
13351
1f48f7d2
LL
13352 * midnight.el (midnight-time-float): Remove. Note it calculates
13353 the microsecond component incorrectly and seconds-to-time does the
13354 same job.
625897ec 13355 Remove redundant (require 'timer).
1f48f7d2 13356
c5b40130
LL
13357 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13358 (ido-completions): Remove unused arguments. (Bug#8329)
13359
d86d2721
SM
133602011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13361
13362 * minibuffer.el (completion--flush-all-sorted-completions):
13363 Remove itself from hook.
13364 (completion-at-point): Let the functions perform the completion
13365 immediately and return nil or t.
13366 * comint.el (comint-dynamic-complete-functions): Now identical to
13367 completion-at-point-functions.
13368 (comint-dynamic-list-input-ring): Remove unused var `index'.
13369 (comint--match-partial-filename, comint--unquote&expand-filename):
13370 New funs, split from comint-match-partial-filename.
13371 (comint-dynamic-complete): Use completion-at-point.
13372 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13373
e8974c48
DA
133742011-03-24 Drew Adams <drew.adams@oracle.com>
13375
13376 * thingatpt.el: Support `defun'.
13377
def71b5e
LL
133782011-03-23 Leo Liu <sdl.web@gmail.com>
13379
cb5af48e
LL
13380 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13381
def71b5e
LL
13382 * help-mode.el (help-mode-finish): Tweak regexp.
13383
927c53e7
GM
133842011-03-23 Glenn Morris <rgm@gnu.org>
13385
18d05bed
GM
13386 * eshell/esh-opt.el (eshell-eval-using-options):
13387 Do not bind unused local variable `eshell-option-stub'.
13388
927c53e7
GM
13389 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13390
9d0da923
JB
133912011-03-22 Juanma Barranquero <lekktu@gmail.com>
13392
13393 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13394 keymap variable in `with-no-warnings' to avoid a warning when the
13395 keymap has been already `defconst'ed.
13396
4b978a67
LL
133972011-03-22 Leo Liu <sdl.web@gmail.com>
13398
13399 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13400 encode all chars in abbrevs; otherwise use emacs-mule or
13401 utf-8-emacs. (Bug#8308)
13402
5fd62452
JB
134032011-03-22 Juanma Barranquero <lekktu@gmail.com>
13404
0b1596c6
JB
13405 * simple.el (backward-delete-char-untabify):
13406 Avoid warning about using `delete-backward-char'.
13407
5fd62452
JB
13408 * image.el (image-type-file-name-regexps): Make it variable.
13409 `imagemagick-register-types' modifies it, and the user may want
13410 to add new extensions for known image types.
13411 (imagemagick-register-types): Throw error if not using ImageMagick.
13412
0b4e93f1
LL
134132011-03-22 Leo Liu <sdl.web@gmail.com>
13414
13415 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13416 located before rcirc-prompt-end-marker.
13417 (rcirc-complete): Error if point is not after rcirc prompt.
13418 Handle the case when table is nil.
9882e214 13419 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13420
fccee4ab
CY
134212011-03-22 Chong Yidong <cyd@stupidchicken.com>
13422
13423 * custom.el (custom--inhibit-theme-enable): Make it affect only
13424 custom-theme-set-variables and custom-theme-set-faces.
13425 (provide-theme): Ignore custom--inhibit-theme-enable.
13426 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13427 (custom-enabling-themes): Delete variable.
d86d2721
SM
13428 (enable-theme): Accept only loaded themes as arguments.
13429 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13430 (custom-enabled-themes): Forbid themes from setting this.
13431 Eliminate use of custom-enabling-themes.
13432 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13433
af896da6
LL
134342011-03-21 Leo Liu <sdl.web@gmail.com>
13435
13436 * ido.el (ido-read-internal): Add ido-selected to history instead
13437 of user input.
13438
78f64af0
SM
134392011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13440
13441 * subr.el (deferred-action-list, deferred-action-function):
13442 Mark obsolete.
13443
b16ac1ec
LL
134442011-03-21 Leo Liu <sdl.web@gmail.com>
13445
810f7698
LL
13446 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13447 change on 2011-02-13 (bug#8309).
13448
b16ac1ec
LL
13449 * minibuffer.el (read-file-name-function): Change default value.
13450 (read-file-name--defaults): Rename from read-file-name-defaults.
13451 (read-file-name-default): Rename from read-file-name.
13452 (read-file-name): Call read-file-name-function.
13453
4e05e67e
GM
134542011-03-21 Glenn Morris <rgm@gnu.org>
13455
13456 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13457 Doc fixes.
13458
4359915b
CY
134592011-03-21 Chong Yidong <cyd@stupidchicken.com>
13460
13461 * cus-theme.el: Add missing provide statement.
13462 (customize-create-theme): Extract theme value correctly.
13463 (custom-theme-visit-theme): Autoload.
13464 (customize-create-theme): Prompt before inserting default faces.
13465
1fe275ee
JB
134662011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13467
13468 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13469 units and musical notes.
13470
cd394be1 134712011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13472
13473 * ido.el (ido-read-internal): Use completing-read-default.
13474 (ido-completing-read): Fix compatibility with completing-read.
13475
7d476bde
CO
134762011-03-20 Christian Ohler <ohler@gnu.org>
13477
13478 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13479 (ert-delete-all-tests): Use `called-interactively-p' rather than
13480 `interactive-p'.
13481 (ert--make-xrefs-region): Respect END.
13482
fe0fb33e
CY
134832011-03-19 Chong Yidong <cyd@stupidchicken.com>
13484
ff854b0b
CY
13485 * dired-aux.el (dired-create-directory): Signal an error if the
13486 directory already exists (Bug#8246).
13487
fe0fb33e
CY
13488 * facemenu.el (list-colors-display): Call list-faces-display
13489 inside with-help-window.
13490 (list-colors-print): Use display property to align the final
13491 column, instead of checking window-width.
13492
576bce32
EZ
134932011-03-19 Eli Zaretskii <eliz@gnu.org>
13494
4d61f28d 13495 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13496 windows-nt systems.
13497 (emerge-protect-metachars): Quote correctly for ms-dos and
13498 windows-nt systems.
13499
89c41d68 135002011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13501
13502 * info.el (info-initialize): Replace all uses of `:' with
13503 path-separator for compatibility with non-Unix systems.
13504 Cache quoting of path-separator. (Bug#8258)
13505
b14e3e21 135062011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13507
13508 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13509 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13510 (mouse-avoidance-mode): Fix typos in docstrings.
13511
4525ce3e
CY
135122011-03-19 Chong Yidong <cyd@stupidchicken.com>
13513
13514 * startup.el (package-subdirectory-regexp): Move from package.el.
13515 Omit \\` and \\', and let callers add them.
13516
13517 * emacs-lisp/package.el (package-strip-version)
13518 (package-load-all-descriptors): Add \\` and \\' to
13519 package-subdirectory-regexp before using it.
13520 (package-untar-buffer): New arg DIR; ensure that file untars only
13521 into this expected directory. Remove superfluous delete-region.
13522 (package-unpack): Caller changed.
13523 (package-tar-file-info): Use package-subdirectory-regexp.
13524
a904a09a 135252011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13526
a904a09a
SM
13527 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13528 diff-mode-shared-map (bug#8284).
13529 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13530
135312011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13532
13533 * calendar/time-date.el (format-seconds): Use assoc instead of
13534 assoc-string, since assoc-string doesn't exist in XEmacs.
13535
171fc304
JB
135362011-03-17 Juanma Barranquero <lekktu@gmail.com>
13537
13538 * custom.el (custom-known-themes): Reflow docstring.
13539 (custom-theme-load-path): Fix typo in docstring.
13540 (load-theme): Fix typo in error message.
13541 (custom-available-themes, custom-variable-theme-value):
13542 Use `let', not `let*'.
13543
d71990a1
JB
135442011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13545
13546 * calc/README: Mention inclusion of musical notes.
13547
13548 * calc/calc-units.el (calc-lu-quant): Rename from
13549 `calc-logunits-quantity'.
13550 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13551 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13552 (calc-db): Rename from `calc-dblevel'.
13553 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13554 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13555 (calc-np): Rename from `calc-nplevel'.
13556 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13557 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13558 (calc-lu-plus): Rename from `calc-logunits-add'.
13559 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13560 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13561 (calc-lu-minus): Rename from `calc-logunits-sub'.
13562 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13563 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13564 (calc-lu-times): Rename from `calc-logunits-mul'.
13565 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13566 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13567 (calc-lu-divide): Rename from `calc-logunits-div'.
13568 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13569 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13570
13571 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13572 functions being autoloaded.
13573
13574 * calc/calc.el (calc-lu-power-reference): Rename from
13575 `calc-logunits-power-reference'.
13576 (calc-lu-field-reference): Rename from
13577 `calc-logunits-field-reference'.
13578
7a71b18d
GM
13579 * calc/calc-help.el (calc-l-prefix-help):
13580 Mention musical note functions.
d71990a1 13581
40c2934b
SM
135822011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13583
13584 * minibuffer.el (completion-all-sorted-completions):
13585 Use :completion-cycle-penalty text property if present.
13586
b0911414
KM
135872011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13588
13589 * allout.el (allout-yank-processing): Adjust for new rebulleting
13590 regime so bullet being yanked is used without prompting the user
13591 for a choice.
13592
8a05b668
JB
135932011-03-16 Juanma Barranquero <lekktu@gmail.com>
13594
13595 * startup.el (command-line): Warn the user that _emacs is deprecated.
13596
5ba5fb81
JB
135972011-03-16 Juanma Barranquero <lekktu@gmail.com>
13598
13599 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13600 (delphi-verbose, delphi-comment-face, delphi-string-face)
13601 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13602 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13603 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13604 (delphi-new-comment-line, delphi-font-lock-defaults)
13605 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13606 Fix typos in docstrings.
13607
2dab465b
KM
136082011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13609
5ba5fb81 13610 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13611 Invert the roles of character and string values for INSTEAD, so a
13612 string is used for the more common case of a defaulting prompt.
13613
0adf5618
SM
136142011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13615
13616 * progmodes/ruby-mode.el (ruby-backward-sexp):
13617 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13618 * play/gamegrid.el (gamegrid-make-face):
13619 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13620 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13621 * notifications.el (notifications-notify):
13622 * net/xesam.el (xesam-search-engines):
13623 * net/quickurl.el (quickurl-list-insert):
13624 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13625
d72700e5
CY
136262011-03-15 Chong Yidong <cyd@stupidchicken.com>
13627
13628 * startup.el (command-line): Update package subdirectory regexp.
13629
49c5410a
SM
136302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13631
c6eee9aa
SM
13632 * allout.el (allout-abbreviate-flattened-numbering)
13633 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13634
49c5410a
SM
13635 * subr.el (read-char-choice): Only show the cursor after the prompt,
13636 not after the answer.
13637
047b2bb9
KR
136382011-03-15 Kevin Ryde <user42@zip.com.au>
13639
13640 * help-fns.el (variable-at-point): Skip leading quotes, if any
13641 (bug#8253).
13642
0a57d256
SM
136432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13644
13645 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13646 warning message.
13647
77c992bc
MA
136482011-03-14 Michael Albinus <michael.albinus@gmx.de>
13649
13650 * shell.el (shell): When called interactively, offer to change the
13651 shell file name on remote hosts.
13652
eebc475d
TZ
136532011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13654
13655 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13656 integration for LDAP parameters. The host, base, user or binddn,
13657 and secret tokens can be specified in a netrc file, for instance.
13658 This is optional because an `auth-source' parameter must be
13659 specified in the search attributes.
13660
9d05d1ba
JB
136612011-03-13 Juanma Barranquero <lekktu@gmail.com>
13662
13663 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13664
09d9db2c
GM
136652011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13666
13667 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13668 into declaration. Remove redundant and harmful binding.
13669
136702011-03-12 Eli Zaretskii <eliz@gnu.org>
13671
13672 * files.el (file-ownership-preserved-p): Pass `integer' as an
13673 explicit 2nd argument to `file-attributes'. If the file's owner
13674 is the Administrators group on Windows, and the current user is
13675 Administrator, consider that a match.
13676
13677 * server.el (server-ensure-safe-dir): Consider server directory
13678 safe on MS-Windows if its owner is the Administrators group while
13679 the current Emacs user is Administrator. Use `=' to compare
13680 numerical UIDs, since they could be integers or floats.
13681
219bd536
JB
136822011-03-12 Juanma Barranquero <lekktu@gmail.com>
13683
13684 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13685
f3afd36b
MA
136862011-03-12 Michael Albinus <michael.albinus@gmx.de>
13687
13688 Sync with Tramp 2.2.1.
13689
13690 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13691
13692 * net/trampver.el: Update release number.
13693
3aaaa6f1
SM
136942011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13695
94642599
SM
13696 * progmodes/compile.el (compilation--previous-directory): Fix up
13697 various nil/dead-marker mismatches (bug#8014).
13698 (compilation-directory-properties, compilation-error-properties):
13699 Don't call it at a position past the one we're about to change.
13700
3aaaa6f1
SM
13701 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13702 Disable obsolescence warnings in the file that declares it.
13703
14239447
KM
137042011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13705
099c39a4
JB
13706 * allout-widgets.el (allout-widgets-tally):
13707 Initialize allout-widgets-tally as a hash table rather than nil to
13708 prevent mode-line redisplay warnings. Also, clarify the module
13709 description and fix a comment typo.
14239447 13710
135e287c
JB
137112011-03-11 Juanma Barranquero <lekktu@gmail.com>
13712
13713 * help-fns.el (describe-variable): Don't complete keywords.
13714 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13715
ffbf300e
CY
137162011-03-10 Chong Yidong <cyd@stupidchicken.com>
13717
ba08b241
CY
13718 * emacs-lisp/package.el (package-version-join): Impose a standard
13719 string representation for pre/alpha/beta version lists.
13720 (package-unpack-single): Standardize the directory name by passing
13721 it through package-version-join.
13722 (package-strip-rcs-id): Accept any version string that does not
13723 signal an error in version-to-list.
ffbf300e 13724
f346fd6b
MA
137252011-03-10 Michael Albinus <michael.albinus@gmx.de>
13726
13727 * simple.el (delete-trailing-whitespace): Return nil for the
13728 benefit of `write-file-functions'.
13729
ccb55d27
GM
137302011-03-10 Glenn Morris <rgm@gnu.org>
13731
5ceaac0c
GM
13732 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13733
02da65ff
GM
13734 * vc/vc-git.el (vc-git-program): New option.
13735 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13736 (vc-git--call): Use it.
13737
b2f603cc
GM
13738 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13739
5772caab
GM
13740 * cus-edit.el (Custom-newline): If no button at point, look
13741 for a subgroup button at start-of-line. (Bug#2298)
13742
ccb55d27
GM
13743 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13744
ec6ecaed
JD
137452011-03-10 Julien Danjou <julien@danjou.info>
13746
13747 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13748 `cursor-type' is nil.
13749
9d5aa01d
JB
137502011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13751
13752 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13753
b6a5875b
KM
137542011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13755
7a71b18d 13756 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13757 preserves the existing header prefix, rebulleting it if necessary,
13758 rather than replacing it. This is necessary for proper operation
13759 of cooperative addons like allout-widgets.
1154d12e
JB
13760 (allout-make-topic-prefix, allout-rebullet-heading):
13761 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13762 value as alternate bullet to be used, instead of prompting the user
13763 for a bullet character.
b6a5875b 13764
ee545c35
MA
137652011-03-09 Michael Albinus <michael.albinus@gmx.de>
13766
d86d2721
SM
13767 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13768 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13769 `tramp-default-port'.
13770
c47971d7
DD
137712011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13772
13773 * net/rcirc.el (rcirc-handler-001): Remove useless
13774 with-rcirc-process-buffer.
13775 (rcirc-check-auth-status): Swap arguments to string-match.
13776
13522cb4
GM
137772011-03-09 Glenn Morris <rgm@gnu.org>
13778
0be6f4f1
GM
13779 * shell.el (shell-mode):
13780 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13781
13522cb4
GM
13782 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13783 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13784
515de2e3
CY
137852011-03-08 Chong Yidong <cyd@stupidchicken.com>
13786
13787 * emacs-lisp/package.el (package-refresh-contents)
13788 (package-menu-execute): Use condition-case-no-debug.
13789
b511b994
MA
137902011-03-08 Michael Albinus <michael.albinus@gmx.de>
13791
13792 * simple.el (shell-command-to-string): Use `process-file'.
13793
13794 * emacs-lisp/package.el (package-tar-file-info): Handle also
13795 remote files.
13796
d86d2721
SM
13797 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13798 Use `equal' for upload base check.
b511b994 13799
25bbfb31
AM
138002011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13801
13802 * textmodes/texinfo.el (texinfo-environments):
13803 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13804
be996521
GM
138052011-03-08 Glenn Morris <rgm@gnu.org>
13806
e9c8529f
GM
13807 * cus-start.el (cursor-in-non-selected-windows):
13808 Fix :set quoting oddness. (Bug#8192)
13809
be996521
GM
13810 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13811 in some setf expressions. (Bug#2159)
13812
2bb5649e
CY
138132011-03-08 Chong Yidong <cyd@stupidchicken.com>
13814
13815 * custom.el (custom-available-themes): Return themes in
13816 alphabetical order.
13817
33383987 13818See ChangeLog.15 for earlier changes.
e3d51b27
MR
13819
13820;; Local Variables:
13821;; coding: utf-8
e3d51b27
MR
13822;; End:
13823
acaf905b 13824 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13825
13826 This file is part of GNU Emacs.
13827
13828 GNU Emacs is free software: you can redistribute it and/or modify
13829 it under the terms of the GNU General Public License as published by
13830 the Free Software Foundation, either version 3 of the License, or
13831 (at your option) any later version.
13832
13833 GNU Emacs is distributed in the hope that it will be useful,
13834 but WITHOUT ANY WARRANTY; without even the implied warranty of
13835 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13836 GNU General Public License for more details.
13837
13838 You should have received a copy of the GNU General Public License
13839 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.