* lisp/emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b1198e17
SM
12012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4 * emacs-lisp/cl-macs.el: Idem.
5 * emacs-lisp/cl-specs.el: Remove.
6
4735906a
SM
72012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 Minor renaming of internal CL functions and variables.
10 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11 (cl--position): Rename from cl-position.
12 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14 (cl--random-state): Rename from *random-state*.
15
ac348012
SM
162012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
19 parens around the arg list (bug#11499).
20
a0a79cde
JL
212012-05-17 Juri Linkov <juri@jurta.org>
22
23 * isearch.el (word-search-regexp, word-search-backward)
24 (word-search-forward, word-search-backward-lax)
25 (word-search-forward-lax): Move functions from search.c
26 (bug#10145, bug#11381).
27
65034a51
AM
282012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
29
30 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
31 (flyspell-debug-signal-word-checked): Delay for otherchars as for
32 normal word components.
33
1a72a195
SM
342012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * minibuffer.el (completion--sifn-requote): Fix last change.
37 (minibuffer-local-must-match-filename-map):
38 Move define-obsolete-variable-alias before its var.
39
fdb058c2
SM
402012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
41
c41045e6
SM
42 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
43
036dfb8b
SM
44 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
45 behavior.
46 (completion--string-equal-p): New function.
47 (completion--twq-all): Use it to get better assertion failure data.
48
2473256d
SM
49 Only handle ".." and '..' quoting in shell-mode (bug#11466).
50 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
51 (shell--requote-argument): New functions.
52 (shell-completion-vars): Use them.
53 (shell--parse-pcomplete-arguments): Rename from
54 shell-parse-pcomplete-arguments.
55 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
56 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
57 Obey comint-file-name-quote-list.
58
fdb058c2
SM
59 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
60 (smie-indent-keyword): Use it.
61
51fa99f1
SM
622012-05-14 Stefan Merten <smerten@oekonux.de>
63
64 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
65
e18afed7 662012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
67
68 * net/rlogin.el (rlogin-mode-map): Fix last change.
69
e18afed7 702012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
71
72 * mail/smtpmail.el (smtpmail-send-command): Send the command and
73 the following \r\n using a single `process-send-string', since the
74 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 75 with two `process-send-string's (Bug#11444).
8633b1f4 76
e18afed7 772012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 78
fdb058c2
SM
79 * shell.el (shell-parse-pcomplete-arguments):
80 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 81
2d21d7f6
WJ
822012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
83
e18afed7 84 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
85 (image-transform-scale, image-transform-right-angle-fudge): New vars.
86 (image-transform-width, image-transform-fit-width): New functions.
87 (image-transform-properties): Use them.
88 (image-transform-check-size): New function.
89 (image-toggle-display-image): Use it (for testing).
90 (image-transform-set-rotation): Reduce angle mod 360.
91 Delete obsolete comment.
92
7102e6d0
WJ
932012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
94
95 * image-mode.el: Fix scaling (bug#11399).
96 (image-transform-resize): Doc fix.
97 (image-transform-properties): Default scale is 1 and height should
98 be an integer.
99
06bc5e6e
SM
1002012-05-13 Johan Bockgård <bojohan@gnu.org>
101
102 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
103 than hard-coding `car', to fix misbehavior when moving forward.
104
0ae03b6a
CY
1052012-05-13 Chong Yidong <cyd@gnu.org>
106
107 * emacs-lisp/tabulated-list.el (tabulated-list-format)
108 (tabulated-list-entries, tabulated-list-padding)
109 (tabulated-list-sort-key): Make permanent-local.
110
111 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
112 (electric-buffer-list): Put electric buffer menu
113 command descriptions in this docstring, instead of the docstring
114 of electric-buffer-menu-mode. Code cleanups.
115 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
116 Electric-buffer-menu-mode.
117 (electric-buffer-update-highlight): Minor code cleanup.
118
205a7391
MA
1192012-05-13 Michael Albinus <michael.albinus@gmx.de>
120
121 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
122 (Bug#11447)
123
e5bd0a28
SM
1242012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 Move define-obsolete-variable-alias before the var's definition.
127 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
128 * tooltip.el (tooltip-hook):
129 * textmodes/reftex-toc.el (reftex-toc-map):
130 * textmodes/reftex-sel.el (reftex-select-label-map)
131 (reftex-select-bib-map):
132 * textmodes/reftex-index.el (reftex-index-map)
133 (reftex-index-phrases-map):
134 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
135 * progmodes/meta-mode.el (meta-mode-map):
136 * novice.el (disabled-command-hook):
137 * loadhist.el (unload-hook-features-list):
138 * frame.el (blink-cursor):
139 * files.el (find-file-not-found-hooks, write-file-hooks)
140 (write-contents-hooks):
141 * emulation/tpu-edt.el (GOLD-map):
142 * emacs-lock.el (emacs-lock-from-exiting):
143 * emacs-lisp/generic.el (generic-font-lock-defaults):
144 * emacs-lisp/chart.el (chart-map):
145 * dos-fns.el (register-name-alist):
146 * dired-x.el (dired-omit-files-p):
147 * desktop.el (desktop-enable):
148 * cus-edit.el (custom-mode-hook):
149 * buff-menu.el (buffer-menu-mode-hook):
150 * bookmark.el (bookmark-read-annotation-text-func)
151 (bookmark-exit-hooks):
152 * allout.el (allout-mode-deactivate-hook)
153 (allout-exposure-change-hook, allout-structure-added-hook)
154 (allout-structure-deleted-hook, allout-structure-shifted-hook):
155 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
156 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
157 comes before the corresponding variable's definition.
158
ac59c2f6
CY
1592012-05-12 Chong Yidong <cyd@gnu.org>
160
161 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
162 (Buffer-menu-mouse-select): Restore function (Bug#11459).
163 (Buffer-menu-mode-map): Bind it.
164 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 165
dee6c9a3
SM
1662012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
167
2171cea5
SM
168 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
169 (prolog-upper-case-string, prolog-lower-case-string)
170 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
171 (prolog-use-smie, prolog-smie-grammar): New vars.
172 (prolog-smie-forward-token, prolog-smie-backward-token)
173 (prolog-smie-rules): New funs.
174 (prolog-comment-indent): Remove.
175 (prolog-mode-variables): Use default comment indentation instead.
176 Setup SMIE.
177 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
178 (prolog-mode): Don't call them any more.
179 (prolog-electric-colon, prolog-electric-dash)
180 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
181
aa0382bd
SM
182 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
183
dbacb4bd
SM
184 * minibuffer.el (completion--twq-all): Again, allow case differences.
185
13bdd94c
SM
186 * term.el: Move keymap initialization code to be more idiomatic.
187 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
188 (term-terminal-menu): Move initialization into declaration.
189 (term-escape-char): Let the user set it in her .emacs.
190
ff46c759
SM
191 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
192 Provide SMIE-based indentation (not enabled by default yet).
193 (sh-mode-map): Don't bind electric keys.
194 Use electric-pair-mode instead of skeleton-pair.
195 (sh-assignment-regexp): Fit within 80 columns.
196 (sh-indent-supported): Specify actual shell name instead of boolean.
197 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
198 (sh-maybe-here-document): Use it. Make obsolete.
199 (sh-electric-here-document-mode) New minor mode.
200 (sh-mode): Use it. Don't set sh-indent-supported-here here.
201 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
202 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
203 (sh-smie-rc-grammar, sh-use-smie): New vars.
204 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
205 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
206 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
207 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
208 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
209 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
210 (sh-set-shell): Use smie-setup if requested.
211
dee6c9a3
SM
212 * term.el (term-set-escape-char): Properly set term-escape-char.
213 See http://stackoverflow.com/questions/10524656.
214
9f9aa044
CY
2152012-05-10 Chong Yidong <cyd@gnu.org>
216
217 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
218 Use url-generic-parse-url, and handle host names and Windows
219 filenames properly.
220 (ffap-url-unwrap-remote): Use url-generic-parse-url.
221 (ffap-url-unwrap-remote): Accept list values, specifying a list of
222 URL schemes to work on.
223 (ffap--toggle-read-only): New function.
224 (ffap-read-only, ffap-read-only-other-window)
225 (ffap-read-only-other-frame): Use it.
226 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
227 necessary for ffap-url-unwrap-remote.
228
836d29b3
DA
2292012-05-10 Dave Abrahams <dave@boostpro.com>
230
231 * cus-start.el (create-lockfiles): Add it.
232
00fd78ed
CY
2332012-05-09 Chong Yidong <cyd@gnu.org>
234
235 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
236 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
237
666b903b 2382012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
239
240 * shell.el (shell-completion-vars): Fix last change (bug#11348).
241
666b903b 2422012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
243
244 * ansi-color.el (ansi-color-process-output): Check for validity of
245 comint-last-output-start before using it. This avoids a bad
246 interaction with gdb-mi's input/output buffer.
247
666b903b 2482012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
249
250 * files.el (dir-locals-read-from-file):
251 Mention dir-locals in any error message.
252
666b903b 2532012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
254
255 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
256 package (Bug#11410).
257
f677562b
CY
258 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
259 variables into description.
260
666b903b 2612012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
262
263 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
264 shell-delimiter-argument-list (bug#11348).
265 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
266
b499d8d0
JB
2672012-05-09 Juanma Barranquero <lekktu@gmail.com>
268
8f6b6da8
JB
269 * textmodes/rst.el: Silence byte-compiler warnings.
270 (rst-re-alist, rst-reset-section-caches): Move around.
271 (rst-re): Use `characterp', not `char-valid-p'.
272 (font-lock-beg, font-lock-end): Declare.
273
4824146a
JB
274 * progmodes/idlw-shell.el (specs): Remove reference to deleted
275 variable `idlwave-shell-activate-alt-keybindings' and simplify.
276
b499d8d0
JB
277 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
278
ad89bb83
GM
2792012-05-08 Glenn Morris <rgm@gnu.org>
280
281 * files.el (auto-mode-alist): Treat ".make" like ".mk".
282
8bba5a75
SM
2832012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
284
49ed9c8e
SM
285 * vc/log-edit.el: Add GNU coding standards highlighting.
286 (log-edit-font-lock-gnu-style)
287 (log-edit-font-lock-gnu-keywords): New vars.
288 (log-edit-font-lock-keywords): New fun.
289 (log-edit-mode): Don't fold case in font-lock.
290 (log-edit-font-lock-keywords): Do not assume case-folding.
291
07d00b56
SM
292 * imenu.el: Misc cleanup. Make docstrings out of comments.
293 Use lexical-binding.
294 (imenu--index-alist, imenu--last-menubar-index-alist)
295 (imenu-menubar-modified-tick): Use defvar-local.
296 (imenu--split-menu): Remove unused var.
297 (imenu--cleanup-seen): Declare as global.
298 (imenu--cleanup): Use dolist.
299
8bba5a75
SM
300 * subr.el (defvar-local): Add debug spec and doc-string position.
301
5075bdb5
GM
3022012-05-08 Glenn Morris <rgm@gnu.org>
303
c052c904
GM
304 * lisp/language/burmese.el, language/cham.el, language/czech.el:
305 * language/english.el, language/georgian.el, language/greek.el:
306 * language/japanese.el, language/khmer.el, language/korean.el:
307 * language/lao.el, language/misc-lang.el, language/romanian.el:
308 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
309 * language/thai.el, language/utf-8-lang.el:
310 Remove no-byte-compile setting.
311
5075bdb5
GM
312 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
313
06f679a7
AH
3142012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
315
316 * progmodes/make-mode.el (makefile-browse):
317 Remove unnecessary interactive. (Bug#11324)
318
03794570
GM
3192012-05-07 Glenn Morris <rgm@gnu.org>
320
af8630f4
GM
321 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
322
03794570
GM
323 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
324
f0809a9d
SM
3252012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
326
28be5ce7
SM
327 * loadup.el: Preload newcomment.el.
328 * newcomment.el: Move autoload-only code to toplevel.
329
f0809a9d
SM
330 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
331 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
332 Handle new :right-align column property.
333 (tabulated-list-print-col): Idem, plus use `display' text-property to
334 try and preserve alignment for variable pitch fonts.
335
1241b724
CY
3362012-05-07 Chong Yidong <cyd@gnu.org>
337
338 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
339 (tabulated-list-use-header-line): New var.
340 (tabulated-list-init-header): Use it.
341 (tabulated-list-print-fake-header): New function.
342 (tabulated-list-print): Use it.
343 (tabulated-list-sort-button-map): Add non-header-line commands.
344 (tabulated-list-init-header): Add column name property to basic
345 labels as well.
346 (tabulated-list-col-sort): Handle non-header-line button case.
347 (tabulated-list--sort-by-column-name): Fix a corner case.
348
f0809a9d
SM
349 * buff-menu.el (list-buffers--refresh):
350 Handle Buffer-menu-use-header-line.
1241b724 351
e5f9458f
CY
3522012-05-06 Chong Yidong <cyd@gnu.org>
353
354 * buff-menu.el: Convert to Tabulated List mode.
355 (Buffer-menu-buffer+size-width): Make obsolete.
356 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
357 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
358 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
359 documentation into docstring of buffer-menu.
360 (Buffer-menu-toggle-files-only): Add an informative message.
361 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
362 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
363 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
364 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
365 (Buffer-menu-execute, Buffer-menu-select)
366 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
367 (Buffer-menu-bury): Use Tabulated List machinery.
368 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
369 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 370 Delete.
e5f9458f
CY
371 (list-buffers--refresh): New function.
372 (list-buffers-noselect): Use it.
373 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
374 (Buffer-menu--pretty-file-name): New helper functions.
375
376 * loadup.el: Preload tabulated-list.
377
378 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
379 tabulated-list-sort-column.
380 (tabulated-list-init-header): Add the initial aligning space even
381 if tabulated-list-padding is zero.
382
e129292c
CS
3832012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
384
385 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
386 whose cdr is not a cons cell correctly (bug#11038).
387
6632d361
CY
3882012-05-06 Chong Yidong <cyd@gnu.org>
389
e129292c
CS
390 * emacs-lisp/tabulated-list.el (tabulated-list-format):
391 Accept additional plist in column descriptors.
6632d361
CY
392 (tabulated-list-init-header): Obey it.
393 (tabulated-list-get-entry): New function.
394 (tabulated-list-put-tag): Use it. Use string-width instead of
395 length.
396 (tabulated-list--column-number): New function.
397 (tabulated-list-print): Use it.
e129292c
CS
398 (tabulated-list-print-col): New function.
399 Set `tabulated-list-column-name' property on each column's text.
6632d361 400 (tabulated-list-print-entry): Use it.
e129292c
CS
401 (tabulated-list-delete-entry, tabulated-list-set-col):
402 New functions.
6632d361
CY
403 (tabulated-list-sort-column): New command (Bug#11337).
404
3cc99f68
CY
405 * buff-menu.el (list-buffers): Move C-x C-b binding from
406 buff-menu.el to bindings.el.
407
408 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
409 :advertised-binding feature.
410
52b61776
TN
4112012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
412
413 * progmodes/compile.el (compilation-internal-error-properties):
414 Calculate start position correctly when end-col is set but
415 end-line is not (Bug#11382).
416
ebfe2597
WJ
4172012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
418
419 * man.el (Man-unindent): Use text-property-default-nonsticky to
420 prevent untabify from inheriting face properties (Bug#11408).
421
a43f98b3
GM
4222012-05-05 Glenn Morris <rgm@gnu.org>
423
48176e8b
GM
424 * calendar/cal-html.el: Optionally include holidays in the output.
425 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
426 (cal-html-holidays): New option.
427 (cal-html-css-default): Add holiday entry.
428 (holiday-in-range): Autoload it.
429 (cal-html-htmlify-entry): Add optional class argument.
430 (cal-html-htmlify-list): Add optional holidays argument.
431 (cal-html-insert-agenda-days): Include holidays in the output.
432 (cal-html-one-month): Maybe include holidays.
433
a43f98b3
GM
434 * calendar/holidays.el (holiday-in-range):
435 Move here from cal-tex-list-holidays.
436 * calendar/cal-tex.el (cal-tex-list-holidays):
437 Make it an obsolete alias for holiday-in-range. Update all callers.
438
fef9d149 4392012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
440
441 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
442 Nextstep.
443
248da2f4
RW
4442012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
445
446 * files.el (file-auto-mode-skip): New var.
447 (set-auto-mode-1): Use it.
448
f95e9344
SM
4492012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
450
df96ab1e
SM
451 * repeat.el: Use lexical-binding.
452 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
453 (repeat-undo-count): Remove.
454 (repeat):
455 * progmodes/octave-mod.el (octave-abbrev-start):
456 * progmodes/f90.el (f90-abbrev-start):
457 * face-remap.el (text-scale-adjust):
458 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
459
5342bb06
SM
460 * emacs-lisp/pcase.el (pcase--let*): New function.
461 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
462 a bit more.
463 (pcase--split-pred): Be more clever about ruling out overlap between
464 a predicate and some constant pattern.
465 (pcase--q1): Use `null' instead of (eq foo nil).
466
f95e9344
SM
467 * subr.el (setq-local, defvar-local): New macros.
468 (kbd): Redefine as an alias.
469 (with-selected-window): Leave unrelated frames alone.
470 (set-temporary-overlay-map): New function.
471
71873e2b
SM
4722012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * subr.el (user-error): New function.
475 * window.el (switch-to-buffer):
476 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
477 (smerge-match-conflict):
478 * simple.el (previous-matching-history-element)
479 (next-matching-history-element, goto-history-element, undo-more)
480 (undo-start):
481 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
482 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
483 (next-file, tags-loop-scan, list-tags, complete-tag):
484 * progmodes/compile.el (compilation-loop):
485 * mouse.el (mouse-minibuffer-check):
486 * man.el (Man-bgproc-sentinel, Man-goto-page):
487 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
488 (Info-history-forward, Info-follow-reference, Info-menu)
489 (Info-extract-menu-item, Info-extract-menu-counting)
490 (Info-forward-node, Info-backward-node, Info-next-menu-item)
491 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
492 (Info-next-reference, Info-prev-reference, Info-index)
493 (Info-index-next, Info-follow-nearest-node)
494 (Info-copy-current-node-name):
495 * imenu.el (imenu--make-index-alist)
496 (imenu-default-create-index-function, imenu-add-to-menubar):
497 * files.el (basic-save-buffer, recover-file):
498 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
499 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
500 (checkdoc-message-text, checkdoc-defun):
501 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
502 * cus-edit.el (customize-changed-options, customize-rogue)
503 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
504 (custom-variable-mark-to-reset-standard)
505 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
506 (custom-file):
507 * completion.el (check-completion-length):
508 * comint.el (comint-search-arg)
509 (comint-previous-matching-input-string-position)
510 (comint-previous-matching-input)
511 (comint-replace-by-expanded-history-before-point, comint-send-input)
512 (comint-copy-old-input, comint-backward-matching-input)
513 (comint-goto-process-mark, comint-set-process-mark):
514 * calendar/calendar.el (calendar-cursor-to-date): Use it.
515 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
516
8a61ee22
SM
5172012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
518
66408d1e
SM
519 * dabbrev.el (dabbrev--ignore-case-p): New function.
520 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
521 Use it.
522
8a61ee22
SM
523 * files.el (automount-dir-prefix): Mark as obsolete.
524
3c74813a
GM
5252012-05-04 Glenn Morris <rgm@gnu.org>
526
527 * patcomp.el, play/bruce.el: Move to obsolete/.
528
0bfcf5c5
PE
5292012-05-04 Paul Eggert <eggert@cs.ucla.edu>
530
531 Fix minor Y10k bugs.
532 * arc-mode.el (archive-unixdate):
533 * autoinsert.el (auto-insert-alist):
534 * calc/calc-forms.el (math-this-year):
535 * emacs-lisp/copyright.el (copyright-current-year)
536 (copyright-update-year, copyright):
537 * tar-mode.el (tar-clip-time-string):
538 * time.el (display-time-update):
539 Don't assume years have 4 digits.
540
78f3273a
CY
5412012-05-04 Chong Yidong <cyd@gnu.org>
542
543 * dos-w32.el (file-name-buffer-file-type-alist)
544 (direct-print-region-use-command-dot-com):
545 * ffap.el (ffap-menu-regexp):
546 * find-file.el (ff-special-constructs):
547 * follow.el (follow-debug):
548 * forms.el (forms--debug):
549 * iswitchb.el (iswitchb-all-frames):
550 * ido.el (ido-all-frames):
551 * emacs-lisp/timer.el (timer-max-repeats):
552 * mail/feedmail.el (feedmail-mail-send-hook)
553 (feedmail-mail-send-hook-queued):
554 * mail/footnote.el (footnote-signature-separator):
555 * mail/mailabbrev.el (mail-alias-separator-string)
556 (mail-abbrev-mode-regexp):
557 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
558 * progmodes/idlwave.el (idlwave-libinfo-file)
559 (idlwave-default-completion-case-is-down)
560 (idlwave-library-routines): Convert defvars to defcustoms.
561
562 * mail/rmail.el (rmail-decode-mime-charset):
563 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
564 (idlwave-shell-fix-inserted-breaks)
565 (idlwave-shell-activate-alt-keybindings)
566 (idlwave-shell-use-breakpoint-glyph):
567 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
568
f7ae6719
SM
5692012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
572
47086495
WS
5732012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
574
575 * progmodes/verilog-mode.el (font-lock-keywords):
576 Fix mis-highligting auto. Reported by Craig Barner.
577 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
578 defines from global name space. Reported by Dan Dever.
579 (verilog-auto-reset, verilog-auto-reset-widths)
580 (verilog-auto-tieoff): Support using unbased numbers for
581 AUTORESET and AUTOTIEOFF.
582 (verilog-submit-bug-report): Update variable list.
583 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
584 parenthesis from not matching. Reported by Michael Rytting.
585 (verilog-auto-template-lint): Fix hash error when linting modules
586 with no used templates.
587 (verilog-warn, verilog-warn-error)
588 (verilog-warn-fatal): When non-interactive report multiple
589 warnings before exiting. Suggested by Brad Dobbie.
590 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
591 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
592 to report unused template errors. Reported by Brad Dobbie.
593 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
594 nets, bug438. Reported by Vns Blore.
595 (verilog-auto-inout-module, verilog-auto-reg)
596 (verilog-read-decls, verilog-read-sub-decls-sig)
597 (verilog-signals-edit-wire-reg, verilog-signals-with):
598 Fix passing of Verilog data types in ANSI input/output ports
599 such as "output logic" into the AUTOs. Special case "wire" and
600 "reg" for backwards compatibility presuming Verilog 2001.
601 (verilog-auto-ascii-enum): Add "auto enum" as alias.
602 (verilog-preprocess): Fix replication of preprocess output.
603 Reported by Brad Dobbie.
604 (verilog-auto-inst-interfaced-ports):
605 Create verilog-auto-inst-interfaced-ports, bug429.
606 Reported by Julian Gorfajn.
607 (verilog-after-save-font-hook)
608 (verilog-before-save-font-hook): New variable.
609 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
610 (verilog-save-font-mods): Wrap disabling fontification, reported
611 by David Rogoff.
612 (verilog-do-indent, verilog-pretty-declarations-auto)
613 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
614 Reported by Pierre-David Pfister.
615 (verilog-set-auto-endcomments): Fix endtask auto comments outside
616 of class declarations, bug292. Reported by Kevin Heilman.
617 (verilog-read-decls): Fix 'parameter type' not appearing in
618 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
619 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
620 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
621 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
622 Reported by David Kravitz.
623
6242012-05-03 Michael McNamara <mac@mail.brushroad.com>
625
626 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
627 assignment with tests in ifs and for loops.
628 (verilog-extended-complete-re, verilog-complete-reg): Change so
629 that DPI inport functions don't look like fuction declarations.
630 (verilog-pretty-expr): Don't line up assignment
631 operations to the test and increment in if and for loops
632 (verilog-extended-complete-re, verilog-complete-reg): Change so
633 that DPI inport functions don't look like fuction declarations
634
2e51d4b5
KH
6352012-05-03 Kenichi Handa <handa@m17n.org>
636
637 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
638 decoding, and show a warning message without signalling an error
639 (Bug#11282).
640
2bd785a2
SM
6412012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * emacs-lisp/bytecomp.el
644 (byte-compile-file-form-custom-declare-variable): Compile all elements,
645 since cconv.el might have introduced :fun-body, internal-make-closure,
646 and friends for bytecomp to handle (bug#11391).
647 * custom.el (defcustom): Avoid ((λ ..) ..).
648
99d27583
SM
6492012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
650
651 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
652
55a71479
JB
6532012-05-02 Juanma Barranquero <lekktu@gmail.com>
654
655 * notifications.el (dbus-debug):
656 * term/linux.el (gpm-mouse-enable):
657 * term/screen.el (xterm-register-default-colors): Declare.
658
7b97c764
CY
6592012-05-02 Chong Yidong <cyd@gnu.org>
660
2bc356d7
CY
661 * cus-start.el (gc-cons-percentage, exec-suffixes)
662 (dos-display-scancodes, dos-hyper-key, dos-super-key)
663 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
664 (make-cursor-line-fully-visible, void-text-area-pointer)
665 (font-list-limit): Add customization data.
666
7b97c764
CY
667 * allout.el (allout-exposure-change-functions)
668 (allout-structure-added-functions)
669 (allout-structure-deleted-functions)
670 (allout-structure-shifted-functions): Rename abnormal hooks from
671 *-hook, and convert to defcustoms.
5d3385a0
JB
672 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
673 Convert to defcustoms.
7b97c764
CY
674 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
675
676 * allout-widgets.el: Hook callers changed.
677
90207a15 6782012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
679
680 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
681 the yanked message in preference to the default value of
682 buffer-file-coding-system.
683
90207a15 6842012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 685
5d3385a0
JB
686 * window.el (display-buffer--action-function-custom-type):
687 Fix entry.
d9558cad 688
90207a15 6892012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
690
691 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
692
d80ac57b
GM
6932012-05-01 Glenn Morris <rgm@gnu.org>
694
976f7668
GM
695 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
696
beb83b5a
GM
697 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
698
d80ac57b
GM
699 * cus-edit.el (custom-variable-documentation): Simplify with format.
700
b593d6a9
AH
7012012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
702 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * simple.el (suggest-key-bindings, execute-extended-command):
705 Move from keyboard.c.
706
782fbf2a
CY
7072012-05-01 Chong Yidong <cyd@gnu.org>
708
709 * follow.el: Eliminate advice.
710 (set-process-filter, process-filter, sit-for): Advice deleted.
711 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
712 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
713 Vars deleted.
782fbf2a
CY
714 (follow-auto): Use a :set function.
715 (follow-mode): Rewritten. Don't advise process filters.
716 (follow-switch-to-current-buffer-all, follow-scroll-up)
717 (follow-scroll-down): Assume follow-mode is bound.
718 (follow-comint-scroll-to-bottom)
719 (follow-align-compilation-windows): New functions.
720 (follow--window-sorter): New function.
721 (follow-all-followers): Use it to explicitly sort windows by their
722 positions; don't make assumptions about next-window order.
723 (follow-windows-start-end, follow-delete-other-windows-and-split)
724 (follow-calc-win-start): Doc fix.
725 (follow-windows-aligned-p, follow-select-if-visible): Don't call
726 vertical-motion unnecessarily.
727 (follow-adjust-window): New function.
728 (follow-post-command-hook): Use it.
729 (follow-call-set-process-filter, follow-call-process-filter)
730 (follow-intercept-process-output, follow-tidy-process-filter-alist)
731 (follow-stop-intercept-process-output, follow-generic-filter):
732 Functions deleted.
733 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
734 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
735 New functions, replacing advice on scroll-bar-* commands.
87233a14 736 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
737
738 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
739 (comint-postoutput-scroll-to-bottom): Use it.
740 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 741
290af740
GM
7422012-05-01 Glenn Morris <rgm@gnu.org>
743
744 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
745 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
746 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
747 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
748 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
749 Remove no-byte-compile setting.
750
6eac8dc9
SM
7512012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
752
753 * minibuffer.el (completion-table-with-quoting): Fix compatibility
754 all-completions code to not return a number in the last cdr.
755
9cc7819c
LL
7562012-04-30 Leo Liu <sdl.web@gmail.com>
757
758 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
759 read-only error.
760
c93b886f
CY
7612012-04-29 Chong Yidong <cyd@gnu.org>
762
763 * follow.el (follow-calc-win-end): Rewrite to handle partial
764 screen lines correctly (Bug#8390).
765 (follow-avoid-tail-recenter): Minor cleanup.
766
8b6c19f4
SM
7672012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 Avoid the obsolete `assoc' package.
770 * speedbar.el (speedbar-refresh): Avoid adelete.
771 (speedbar-file-lists): Simplify and avoid aput.
772 * man.el (Man--sections, Man--refpages): New vars, replacing
773 Man-sections-alist and Man-refpages-alist.
774 (Man-build-section-alist, Man-build-references-alist):
775 Use them; avoid aput.
776 (Man--last-section, Man--last-refpage): New vars.
777 (Man-follow-manual-reference): Use them.
778 Use the `default' arg of completing-read.
779 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
780
c5bb7569
CY
7812012-04-27 Chong Yidong <cyd@gnu.org>
782
d1d2e2e8
CY
783 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
784
15cd8efd
CY
785 * startup.el (x-apply-session-resources): New function.
786
787 * term/ns-win.el (ns-initialize-window-system):
788 * term/w32-win.el (w32-initialize-window-system):
789 * term/x-win.el (x-initialize-window-system): Use it to properly
790 set menu-bar-mode and other vars from X resources, even if the
791 initial frame is not a window-system frame (Bug#2299).
792
c5bb7569
CY
793 * subr.el (read-key): Avoid running filter function when setting
794 up temporary tool bar entries (Bug#9922).
795
a8e7d6d7 7962012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
797
798 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
799 (Bug#11344)
800
a8e7d6d7 8012012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
802
803 * select.el (xselect--encode-string): New function, split from
804 xselect-convert-to-string.
805 (xselect-convert-to-string): Use it.
806 (xselect-convert-to-filename, xselect-convert-to-os)
807 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
808 returned strings are properly encoded (Bug#11315).
809
a8e7d6d7 8102012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
811
812 * simple.el (delete-active-region): Move to killing custom group.
813
a8e7d6d7 8142012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
815
816 * progmodes/which-func.el (which-func-current): Quote %
817 characters for mode-line processing.
818
578c1d4b 8192012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
820
821 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
822 reaching eob (Bug#11286).
823
a8e7d6d7 8242012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
825
826 * progmodes/gdb-mi.el (gdb-control-level): New variable.
827 (gdb): Make it buffer-local and init to zero.
828 (gdb-control-commands-regexp): New variable.
829 (gdb-send): Don't wrap in "-interpreter-exec console" if
830 gdb-control-level is positive. Increment gdb-control-level
831 whenever the command matches gdb-control-commands-regexp, and
832 decrement it each time the command is "end". (Bug#11279)
833
a8e7d6d7 8342012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
835
836 * window.el (adjust-window-trailing-edge, enlarge-window)
837 (shrink-window, window-resize):
838 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
839 windows (Bug#11276).
840
b3608390
CY
8412012-04-27 Chong Yidong <cyd@gnu.org>
842
843 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 844 fix "missing prefix" warning. All callers changed.
b3608390 845
797e6e88
SM
8462012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * emacs-lisp/assoc.el: Move to obsolete/.
849
e95a67dc
SM
8502012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
851
657c21e4 852 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
853
854 * term/ns-win.el (ns-define-service):
855 * progmodes/pascal.el (pascal-goto-defun):
856 * progmodes/js.el (js--read-tab):
857 * progmodes/etags.el (tags-lazy-completion-table):
858 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
859 * emacs-lisp/ewoc.el (ewoc--wrap):
860 * emacs-lisp/assoc.el (aput, adelete, amake):
861 * doc-view.el (doc-view-convert-current-doc):
862 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
863
cb3e7ae0
CY
8642012-04-26 Chong Yidong <cyd@gnu.org>
865
dce04f7f
CY
866 * image.el (image-type-from-buffer): Only return supported image
867 type (Bug#9045).
868
cb3e7ae0
CY
869 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
870 value, for symmetry with diff-end-of-hunk.
871 (diff-split-hunk, diff-find-source-location)
872 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
873 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
874 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
875 compute the relevant hunk or file properly (Bug#6005).
876 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
877
0d42eb3e
SM
8782012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
879
880 * vc/vc-mtn.el:
881 * vc/vc-hg.el:
882 * vc/vc-git.el:
883 * vc/vc-dir.el:
884 * vc/vc-cvs.el:
885 * vc/vc-bzr.el:
886 * vc/vc-arch.el:
887 * vc/vc.el: Replace lexical-let by lexical-binding.
888 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
889 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
890 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
891
f08ae1c9
CY
8922012-04-26 Chong Yidong <cyd@gnu.org>
893
8b71081d
CY
894 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
895 (diff-mode-shared-map): Bind it to / and [remap undo].
896
f08ae1c9
CY
897 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
898 (ediff-window-setup-function): Use it as the default, to set up
899 windows based on whether the current frame is graphical (Bug#2138).
900 (ediff-choose-window-setup-function-automatically): Make obsolete.
901
902 * vc/ediff-init.el: Always define ediff-pixel-width/height.
903
ef24141c
SM
9042012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
905
cc356a5d
SM
906 * ffap.el: Remove old code for obsolete package.
907 (ffap-complete-as-file-p): Remove.
908
b4ff4f1f
SM
909 Use completion-table-with-quoting for comint and pcomplete.
910 * comint.el (comint--unquote&requote-argument)
911 (comint--unquote-argument, comint--requote-argument): New functions.
912 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
913 (comint-quote-filename): Use regexp-opt-charset.
914 (comint--common-suffix, comint--common-quoted-suffix)
915 (comint--table-subvert): Remove.
916 (comint-unquote-function, comint-requote-function): New vars.
917 (comint--complete-file-name-data): Use them with
918 completion-table-with-quoting.
919 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
920 * pcomplete.el (pcomplete-arg-quote-list)
921 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
922 (pcomplete-unquote-argument-function): Default to non-nil.
923 (pcomplete-unquote-argument): Simplify.
924 (pcomplete--common-quoted-suffix): Remove.
925 (pcomplete-requote-argument-function): New var.
926 (pcomplete--common-suffix): New function.
927 (pcomplete-completions-at-point): Use completion-table-with-quoting
928 and completion-table-subvert.
929
79c4eeb4
SM
930 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
931 (minibuffer--double-dollars): Preserve properties.
932 (completion--sifn-requote): New function.
933 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
934
ef24141c
SM
935 * minibuffer.el: Add support for completion of quoted/escaped data.
936 (completion-table-with-quoting, completion-table-subvert): New funs.
937 (completion--twq-try, completion--twq-all): New functions.
938 (completion--nth-completion): New function.
939 (completion-try-completion, completion-all-completions): Use it.
940
784e7d6e
LL
9412012-04-25 Leo Liu <sdl.web@gmail.com>
942
dd2ac746
SM
943 * progmodes/python.el (python-pdbtrack-get-source-buffer):
944 Use compilation-message if available to find real filename.
784e7d6e 945
07875ee7
CY
9462012-04-25 Chong Yidong <cyd@gnu.org>
947
948 * vc/diff-mode.el (diff-setup-whitespace): New function.
949 (diff-mode): Use it.
950
951 * vc/diff.el (diff-sentinel):
952 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
953 Whitespace mode variables based on diff style (Bug#8612).
954
5055880d
LL
9552012-04-25 Leo Liu <sdl.web@gmail.com>
956
daf75653
LL
957 * progmodes/python.el (python-send-region): Add suffix .py to the
958 temp file.
959
5055880d
LL
960 * files.el (auto-mode-alist): Use javascript-mode instead.
961
db9b177b
AH
9622012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
963
ef24141c 964 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
965
966 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 967 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 968 references, see Bug#9.
ef24141c 969 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 970 when receiving a fault reply.
ef24141c 971 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
972
973 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 974 (soap-inspect-simple-type): New function.
db9b177b 975
ef24141c 976 * soap-client.el (soap-simple-type): New struct.
db9b177b 977 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
978 (soap-decode-basic-type, soap-encode-basic-type):
979 support unsignedInt and double basic types.
db9b177b 980 (soap-resolve-references-for-simple-type)
ef24141c
SM
981 (soap-parse-simple-type, soap-encode-simple-type): New function.
982 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
983
984 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
985 (soap-default-soapenc-types): Add integer, byte and anyURI types.
986 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
987 the local name of "soapenc:Array".
988 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
989 decoding integer, byte and anyURI xsd types.
990
1fc6097b
CY
9912012-04-25 Chong Yidong <cyd@gnu.org>
992
993 * cus-edit.el (custom-buffer-create-internal): Update header text.
994
afc6df87
EZ
9952012-04-25 Eli Zaretskii <eliz@gnu.org>
996
997 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
998 settings on 'system-type', not on 'window-system'. On MS-Windows,
999 set interactive-mode on in GDB.
1000
dfbd787f
SM
10012012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1004 (ruby-syntax-propertize-regexp): Remove.
1005 (ruby-syntax-propertize-function): Split regexp into chunks.
1006 Match following code directly.
1007
85222d44
DG
10082012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1009
51a8ea2a
DG
1010 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1011 (ruby-syntax-propertize-regexp): New function.
1012 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1013 by a special keyword.
1014
85222d44
DG
1015 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1016 (ruby-syntax-general-delimiters-goto-beg)
1017 (ruby-syntax-propertize-general-delimiters): New functions.
1018 (ruby-syntax-propertize-function): Use them to handle GDL.
1019 (ruby-font-lock-keywords): Move old handling of GDL...
1020 (ruby-font-lock-syntactic-keywords): .. to here.
1021 (ruby-calculate-indent): Adjust indentation for GDL.
1022
b613912b
MA
10232012-04-24 Michael Albinus <michael.albinus@gmx.de>
1024
b5380639
MA
1025 * notifications.el (top): Remove unneeded declarations.
1026 (notifications-specification-version): Change to "1.2".
e43042fe 1027 (notifications-interface, notifications-notify-method)
b613912b
MA
1028 (notifications-close-notification-method): Fix docstring.
1029 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1030 (notifications-notify): Add :action-items, :resident and
1031 :transient hints. Change "image_data" to "image-data" and
1032 "image_path" to "image-path".
b613912b
MA
1033 (notifications-get-capabilities): New defun.
1034
257440aa
LL
10352012-04-24 Leo Liu <sdl.web@gmail.com>
1036
1037 * progmodes/python.el: Move hideshow setup to the end.
1038
b1bac16e
MR
10392012-04-24 Martin Rudalics <rudalics@gmx.at>
1040
1041 * window.el (handle-select-window): Clear echo area since this is
1042 no more done by read_char (Bug#11304).
1043
d81bd059
SM
10442012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1047 and `/ M' to filter-derived-mode.
1048 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1049 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1050 (ibuffer-mark-by-mode): Use default rather than initial-input.
1051 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1052
c4cf6d91
IA
10532012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1054
1055 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1056 (ibuffer-filter-by-derived-mode): New filter.
1057 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1058
7511ded8
CY
10592012-04-23 Andreas Politz <politza@fh-trier.de>
1060
1061 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1062
775c916b
CY
10632012-04-23 Chong Yidong <cyd@gnu.org>
1064
1065 * cus-edit.el (customize-apropos, customize-apropos-options):
1066 Disable matching of non-option variables (Bug#11176).
1067 (customize-option, customize-option-other-window)
1068 (customize-changed-options): Doc fix.
1069 (customize-apropos-options, customize-apropos-faces)
1070 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1071
1072 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1073 Fix word list splitting (Bug#11132).
46c71e23
CY
1074 (apropos-symbol, apropos-keybinding, apropos-label)
1075 (apropos-property, apropos-function-button)
1076 (apropos-variable-button, apropos-misc-button): New faces.
1077 (apropos-symbol-face, apropos-keybinding-face)
1078 (apropos-label-face, apropos-property-face, apropos-match-face):
1079 Variables removed (Bug#8396).
1080 (apropos-library-button, apropos-format-plist, apropos-print)
1081 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1082
2df41f9c
MA
10832012-04-23 Michael Albinus <michael.albinus@gmx.de>
1084
1085 * net/xesam.el (xesam-mode-map): Use let-bound map in
1086 initialization. (Bug#11292)
1087
da00640a
AM
10882012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1089
1090 Preserve ispell session localwords when switching back to
1091 original buffer.
1092
1093 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1094 variable to hold buffer session localwords.
1095 (ispell-kill-ispell): add option 'clear to delete session
1096 localwords.
1097 (ispell-command-loop, ispell-change-dictionary)
1098 (ispell-buffer-local-words): Preserve session localwords when
1099 needed.
1100
1101 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1102 Preserve session localwords when needed.
1103
f621ccf5
AM
11042012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1105
1106 * ispell.el (ispell-insert-word) Remove unneeded function using
1107 obsolete `translation-table-for-input'.
ef24141c
SM
1108 (ispell-word, ispell-process-line, ispell-complete-word):
1109 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1110
c2d1019e
CY
11112012-04-22 Chong Yidong <cyd@gnu.org>
1112
1113 * cus-edit.el (custom-variable-menu)
1114 (custom-variable-reset-saved, custom-face-menu)
1115 (custom-face-reset-saved): If there is no saved value, make the
1116 "reset-saved" operation bring back the default (Bug#9509).
1117 (custom-face-state): Properly detect themed faces.
1118
eeddc531
CY
1119 * faces.el (face-spec-set): Stop supporting deprecated form of
1120 third arg.
1121
dcbf5805
MA
11222012-04-22 Michael Albinus <michael.albinus@gmx.de>
1123
1124 Move functions from C to Lisp. Make non-blocking method calls
1125 the default. Implement further D-Bus standard interfaces.
1126
ef24141c
SM
1127 * net/dbus.el (dbus-message-internal): Declare function.
1128 Remove unneeded function declarations.
dcbf5805
MA
1129 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1130 (dbus-message-type-method-return, dbus-message-type-error)
1131 (dbus-message-type-signal): Declare variables. Remove local
1132 definitions.
1133 (dbus-interface-dbus, dbus-interface-peer)
1134 (dbus-interface-introspectable, dbus-interface-properties)
1135 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1136 Adapt docstring.
1137 (dbus-interface-objectmanager): New defconst.
1138 (dbus-call-method, dbus-call-method-asynchronously)
1139 (dbus-send-signal, dbus-method-return-internal)
1140 (dbus-method-error-internal, dbus-register-service)
1141 (dbus-register-signal, dbus-register-method): New defuns, moved
1142 from dbusbind.c
1143 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1144 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1145 New defuns.
dcbf5805
MA
1146 (dbus-call-method-non-blocking): Make it an obsolete function.
1147 (dbus-unregister-object, dbus-unregister-service)
1148 (dbus-handle-event, dbus-register-property)
1149 (dbus-property-handler): Obey the new structure of
1150 `bus-registered-objects'.
1151 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1152 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1153 Use `dbus-call-method'.
1154
cf20dee0
CY
11552012-04-22 Chong Yidong <cyd@gnu.org>
1156
1157 * cus-edit.el (custom-commands, custom-reset-menu)
1158 (Custom-reset-standard): Tweak labels.
1159 (custom-reset-button-menu): Change default to t.
1160 (custom-buffer-create-internal): For the custom-reset-button-menu
1161 case, put the revert button first.
1162 (custom-group-subtitle): New face.
1163 (custom-group-value-create): Align docstring to a specific column.
1164
1165 * wid-edit.el (widget-documentation-link-add): Don't handle
1166 indentation in this function.
1167 (widget-documentation-string-indent-to): New function.
1168 (widget-documentation-string-value-create): Use it.
1169
1170 * autorevert.el (auto-revert):
1171 * epg-config.el (epg):
1172 * ibuffer.el (ibuffer):
1173 * mpc.el (mpc):
1174 * ses.el (ses):
1175 * eshell/eshell.el (eshell):
1176 * net/ange-ftp.el (ange-ftp):
1177 * progmodes/ebnf2ps.el (postscript):
1178 * progmodes/flymake.el (flymake):
1179 * progmodes/prolog.el (prolog):
1180 * progmodes/verilog-mode.el (verilog-mode):
1181 * progmodes/which-func.el (which-func):
1182 * term/xterm.el (xterm):
1183 * textmodes/picture.el (picture):
1184 * textmodes/tildify.el (tildify):
1185 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1186 customization buffers.
1187
583e23bd
AM
11882012-04-22 Alan Mackenzie <acm@muc.de>
1189
1190 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1191 Adding a ) can hide the resulting (..) from searches. Fix it.
1192 Bound the backward search to the position of the existing (.
1193
7dd51bf1
JB
11942012-04-21 Juanma Barranquero <lekktu@gmail.com>
1195
1196 * progmodes/verilog-mode.el (verilog-mode): Check whether
1197 which-func-modes is t before adding verilog-mode.
1198 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1199
d64a438f
LL
12002012-04-21 Leo Liu <sdl.web@gmail.com>
1201
7dd51bf1 1202 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1203
081e8d65
MV
12042012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1205
1206 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1207 filling of the last column of a table (Bug#5635).
1208 (woman-find-next-control-line): New arg, specifying an additional
1209 regexp component for the control line.
1210 (woman2-roff-buffer): Use it.
1211 (woman-break-table): New function.
1212 (woman2-TS): Use it.
1213
12142012-04-21 Chong Yidong <cyd@gnu.org>
1215
1216 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1217 (woman-horizontal-escapes, woman-negative-vertical-space)
1218 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1219 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1220
ed571ccb
SM
12212012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * minibuffer.el (completion-file-name-table): Complete user names.
1224
39773899
LL
12252012-04-20 Leo Liu <sdl.web@gmail.com>
1226
1227 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1228 and pcase-let*.
1229
de6ff46d
CY
12302012-04-20 Chong Yidong <cyd@gnu.org>
1231
1232 * server.el (server-execute): Respect initial-buffer-choice if it
1233 is a string and there are no files to open (Bug#2825).
1234 (server-create-window-system-frame, server-create-tty-frame):
1235 Don't switch buffers here.
2d0e8e61
CY
1236 (server-process-filter): Only try to open a window system frame if
1237 compiled with graphical support (Bug#8314).
de6ff46d 1238
54071013
DN
12392012-04-20 Dan Nicolaescu <dann@gnu.org>
1240
1241 * battery.el (battery-echo-area-format): Display remaining time
1242 for sysfs backend too (Bug#11269).
1243 (battery-linux-sysfs): Fix conditional for the charge.
1244
f30d612a
CY
12452012-04-20 Chong Yidong <cyd@gnu.org>
1246
c07a4c0b 1247 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1248 (gdb-inferior-io--init-proc): New function.
1249 (gdb-init-1): Use it.
1250 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1251 responsible for allocating a new pty and hooking it to gdb when
1252 the old pty gets an EIO due to process exit.
1253 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1254 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1255 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1256
2116e93c
EZ
12572012-04-20 Eli Zaretskii <eliz@gnu.org>
1258
1259 * window.el (window-min-size, window-sizable, window-min-delta)
1260 (window-max-delta, window--resizable, window-resizable)
1261 (window-total-size, window-full-height-p, window-full-width-p)
1262 (window-in-direction, window--resize-mini-window, window-resize)
1263 (window--resize-child-windows-normal)
1264 (window--resize-child-windows, window--resize-siblings)
1265 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1266 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1267
c07a4c0b 12682012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1269
ef24141c
SM
1270 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1271 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1272 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1273 pty process (Bug#11273).
1274 (gdb-update): New arg to suppress talking to the gdb process.
1275 (gdb-done-or-error): Use it.
1276 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1277 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1278 sentinel not being called.
1279
1280 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1281
d02766ab
CY
1282 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1283
c07a4c0b 12842012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1285
1286 * net/network-stream.el (open-network-stream): Doc fix.
1287
c07a4c0b 12882012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1289
1290 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1291
c07a4c0b 12922012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1293
1294 Ensure searching for keywords is case sensitive.
1295
1296 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1297 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1298 (c-defun-name, c-mark-function, c-cpp-define-name)
1299 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1300 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1301
ef24141c
SM
1302 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1303 Bind case-fold-search to nil.
f0f6bc35 1304
c07a4c0b 13052012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1306
1307 * mail/sendmail.el (mail-bury): Call return action with the right
1308 Rmail buffer (Bug#11242).
1309
9a864fa2
CY
1310 * server.el (server-process-filter): Handle corner case where both
1311 tty and nowait options are present (Bug#11102).
1312
539aa513
EZ
13132012-04-20 Eli Zaretskii <eliz@gnu.org>
1314
1315 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1316 (top level): Put into the executable the ident-style '$Id:' tag on
1317 windows-nt as well.
539aa513 1318
cfc7d5da
SM
13192012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * electric.el (electric-indent-post-self-insert-function): Check that
1322 electric-indent-mode is enabled in current buffer.
1323
5b01685c
JB
13242012-04-19 Juanma Barranquero <lekktu@gmail.com>
1325
1326 * imenu.el (imenu-progress-message): Restore; it is "used" in
1327 erc/erc-imenu.el and net/snmp-mode.el.
1328
4d6769e1
JB
13292012-04-19 Juanma Barranquero <lekktu@gmail.com>
1330
1331 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1332 (mouse-avoidance-nudge-mouse): Remove unused binding.
1333
1334 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1335
1336 * descr-text.el (describe-char):
1337 * progmodes/python.el (python-describe-symbol):
1338 Don't call `toggle-read-only', set `buffer-read-only'.
1339
1340 * imenu.el (imenu-default-goto-function): Mark unused args.
1341 (imenu-progress-message): Remove obsolete macro; all callers changed.
1342
1343 * subr.el (keymap-canonicalize): Remove unused binding.
1344 (read-passwd): Mark unused arg.
1345
1346 * tutorial.el (tutorial--display-changes): Remove unused binding.
1347 (tutorial--save-tutorial-to): Remove unused variable.
1348
1349 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1350 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1351 (package-generate-autoloads, package-menu--generate)
1352 (package-menu--find-upgrades): Remove unused bindings.
1353
1354 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1355 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1356 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1357 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1358 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1359 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1360 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1361 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1362 (cua-delete-char-rectangle): Mark unused args.
1363 (cua-align-rectangle): Remove unused binding.
1364
1365 * mail/rmail.el (compilation--message->loc)
1366 (epa--find-coding-system-for-mime-charset): Declare.
1367
1368 * net/dbus.el (dbus-register-service): Declare.
1369 (dbus-name-owner-changed-handler): Remove unused binding.
1370
1371 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1372 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1373 (nxml-scan-backward-within): Mark unused arg.
1374 (nxml-dynamic-markup-word): Remove unused binding.
1375
1376 * mouse.el (mouse-menu-major-mode-map):
1377 * emacs-lisp/authors.el (authors-scan-change-log)
1378 (authors-add-to-author-list):
1379 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1380 * emacs-lisp/smie.el (smie-auto-fill):
1381 * mail/sendmail.el (mail-bury):
1382 * mail/unrmail.el (unrmail):
1383 * net/tls.el (open-tls-stream):
1384 * textmodes/picture.el (picture-mouse-set-point):
1385 Remove unused bindings.
1386
8c8fc5df
MA
13872012-04-19 Michael Albinus <michael.albinus@gmx.de>
1388
1389 * net/tramp.el (tramp-action-password): Let-bind
1390 `enable-recursive-minibuffers' to t.
1391
a77b0ac9
SS
13922012-04-18 Sam Steingold <sds@gnu.org>
1393
1394 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1395 instead of 'string to accommodate values like [f11].
1396 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1397 * progmodes/gdb-mi.el: Likewise.
1398
12a106a9
LL
13992012-04-18 Leo Liu <sdl.web@gmail.com>
1400
1401 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1402 current buffer.
1403 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1404 LOCAL is nil.
1405
bc6494ef
CY
14062012-04-18 Chong Yidong <cyd@gnu.org>
1407
1408 * simple.el (line-move): Use forward-line if in batch mode
1409 (Bug#11053).
1410
c09c46b2
CS
14112012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1412
1413 * files.el (after-find-file): Do not try to add a final newline if
1414 the buffer is read-only (Bug#11156).
1415
5f6530ea
RS
14162012-04-17 Richard Stallman <rms@gnu.org>
1417
1418 * mail/rmail.el (rmail-start-mail):
1419 Pass (rmail-mail-return...) for the return-action.
1420 Pass (rmail-yank-current-message...) for the yank-action.
1421 (rmail-yank-current-message): New function.
1422 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1423 (rmail-reply): Likewise.
1424 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1425
1426 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1427 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1428 buffer, not newbuf.
1429
197b6f3c
JB
14302012-04-17 Juanma Barranquero <lekktu@gmail.com>
1431
1432 * server.el (server-ensure-safe-dir): Simplify.
1433
2311d8e5 14342012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1435
2311d8e5
GM
1436 * emacs-lisp/smie.el: Provide smarter auto-filling.
1437 (smie-auto-fill): New function.
1438 (smie-setup): Use it.
98fb480e 1439
2311d8e5
GM
1440 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1441
14422012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1443
1444 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1445 (comment-indent): Use it.
1446
2311d8e5 14472012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1448
1449 * ses.el: The overall change is to add cell renaming, that is
1450 setting fancy names for cell symbols other than name matching
1451 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1452 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1453 (ses-create-cell-variable): New defun.
2311d8e5 1454 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1455 (ses-relocate-formula): Relocate formulas only for cells the
1456 symbols of which are not renamed, i.e. symbols whose names do not
1457 match regexp "\\`[A-Z]+[0-9]+\\'".
1458 (ses-relocate-all): Relocate values only for cells the symbols of
1459 which are not renamed.
1460 (ses-load): Create cells variables as the (ses-cell ...) are read,
1461 in order to check row col consistency with cell symbol name only
1462 for cells that are not renamed.
1463 (ses-replace-name-in-formula): New defun.
1464 (ses-rename-cell): New defun.
4bdf2ad2 1465
fc72b15c
PO
14662012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1467
1468 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1469 New option (bug#11118).
1470 (perl-calculate-indent): Respect it.
1471
12e10e61
GM
14722012-04-17 Glenn Morris <rgm@gnu.org>
1473
1474 * dired-aux.el (dired-mark-read-string): Doc fix.
1475
30009afd
DA
14762012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1477
1478 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1479 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1480
41f03f4d
GM
14812012-04-17 Glenn Morris <rgm@gnu.org>
1482
1483 * mouse.el (mouse-drag-track):
1484 * speedbar.el (speedbar-frame-mode):
1485 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1486
f45f90f3
LL
14872012-04-16 Leo Liu <sdl.web@gmail.com>
1488
1489 * progmodes/python.el: Trivial cleanup.
1490
94ee8db5
GM
14912012-04-16 Glenn Morris <rgm@gnu.org>
1492
121b8917
GM
1493 * vc/vc.el (vc-string-prefix-p):
1494 * vc/pcvs-util.el (cvs-string-prefix-p):
1495 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1496 * mpc.el (mpc-string-prefix-p):
1497 Make all of these into obsolete aliases for string-prefix-p.
1498 Update callers.
1499 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1500
1197ecfa
GM
1501 * textmodes/two-column.el: Move custom options to the start.
1502 (frame-width): Remove compat definition.
1503 (2C-associate-buffer, 2C-dissociate):
1504 Use with-current-buffer rather than save-excursion.
1505 (2C-dissociate): Force a mode-line update.
1506 (2C-autoscroll): Use ignore-errors.
1507
099e7202
GM
1508 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1509 Autoload trivia.
1510
bf350d6a
GM
1511 * emacs-lisp/cl-extra.el (*random-state*):
1512 Remove unnecessary declaration.
1513
0e829eab
GM
1514 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1515
e3ad7552
GM
1516 * play/cookie1.el (cookie-snarf):
1517 Give an explicit error if input file cannot be read.
1518
68892d27
GM
1519 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1520
20f0c46d
GM
1521 * progmodes/perl-mode.el (c-macro-expand):
1522 Remove unnecessary autoload (it is in loaddefs.el).
1523
5a0978ce
GM
1524 * textmodes/picture.el (picture-desired-column)
1525 (picture-update-desired-column): Convert comments to doc-strings.
1526 (picture-substitute): Remove function.
1527 (picture-mode-map): Initialize in the defvar.
1528
6b955486
GM
1529 * woman.el: Remove eval-after-load for tar-mode.
1530 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1531 (woman-tar-extract-file): Autoload it.
1532
94ee8db5
GM
1533 * frame.el (automatic-hscrolling): Make this alias obsolete.
1534
177eca34
AM
15352012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1536
1537 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1538 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1539 (ispell-dictionary-base-alist): Revert to original XEmacs
1540 friendly version for default. [:alpha:] will be added in
1541 `ispell-set-spellchecker-params' if needed
177eca34 1542
c505aaeb
CY
15432012-04-16 Chong Yidong <cyd@gnu.org>
1544
1545 * image.el (imagemagick--extension-regexp): New variable.
1546 (imagemagick-register-types): Use it.
1547 (imagemagick-types-inhibit): Add :set function. Allow new value
1548 of t to inhibit all types.
1549
1550 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1551 so we can preload it.
1552
1553 * loadup.el (fboundp): Preload regexp-opt, needed by
1554 imagemagick-register-types.
1555
60efac0f
CY
15562012-04-15 Chong Yidong <cyd@gnu.org>
1557
1558 * frame.el (scrolling): Remove nearly unused customization group.
1559
1560 * scroll-all.el (scroll-all-mode): Move to windows group.
1561
5dd1713e
CY
15622012-04-15 Chong Yidong <cyd@gnu.org>
1563
1564 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1565
e6fd457e
CY
15662012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1567
1568 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1569 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1570
e153c136
GM
15712012-04-15 Glenn Morris <rgm@gnu.org>
1572
1573 * simple.el (process-file-side-effects): Doc fix.
1574
e6fd457e 15752012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1576
1577 * international/mule-cmds.el (set-language-environment): Doc fix.
1578
3603c3b1
JB
15792012-04-14 Juanma Barranquero <lekktu@gmail.com>
1580
1581 * server.el (server-auth-key, server-generate-key): Doc fixes.
1582 (server-get-auth-key): Doc fix. Use `string-match-p'.
1583 (server-start): Reflow docstring.
1584
e6de100c
LI
15852012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1586
1587 * server.el (server-generate-key): `called-interactively-p'
1588 requires a parameter.
1589
29734c21
MN
15902012-04-14 Michal Nazarewicz <mina86@mina86.com>
1591
1592 * server.el (server-auth-key): New variable.
75f1671a 1593 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1594 (server-start): Use the new variable and functions to allow
1595 setting a permanent server key (bug#9423).
1596
d65c9521
LL
15972012-04-14 Leo Liu <sdl.web@gmail.com>
1598
1599 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1600
5ae255c7
PE
16012012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1602
1603 Spelling fixes.
1604 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1605 Emacs uses American spelling.
1606
d5e6342e
JB
16072012-04-14 Juanma Barranquero <lekktu@gmail.com>
1608
1609 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1610 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1611 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1612 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1613
ab036cd7
SM
16142012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1615
1616 * progmodes/which-func.el (which-func-modes): Change default.
1617
35dc09a1 16182012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1619
1620 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1621 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1622
35dc09a1 16232012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1624
1625 * custom.el (custom-theme-set-variables): Doc fix.
1626
35dc09a1 16272012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1628
1629 * international/mule.el (set-auto-coding-for-load): Doc fix.
1630
35dc09a1 16312012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1632
35dc09a1
GM
1633 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1634 imenu work again for Objective C Mode. Correct the *-index values,
1635 these having been disturbed by a previous change in 2011-08.
57f845ee 1636
0de3da9f
AM
1637 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1638 Correct two search limits.
1639
35dc09a1 16402012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1641
1642 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1643
35dc09a1 16442012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1645
1646 * international/characters.el: Fix sorting.
1647
35dc09a1 16482012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1649
1650 * international/characters.el: Add more missing Latin case pairs.
1651
35dc09a1 16522012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1653
1654 * files.el (dir-locals-set-class-variables): Doc fix.
1655
35dc09a1 16562012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1657
3f1b5bf8
EZ
1658 * international/characters.el: Add set-case-syntax-pair call for
1659 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1660 counterpart. (Bug#11209)
1661
9f847f41
EZ
1662 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1663
35dc09a1 16642012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1665
1666 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1667
35dc09a1 16682012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1669
35dc09a1
GM
1670 * textmodes/ispell.el (ispell-dictionary-base-alist):
1671 Add data for Hebrew.
e2627d21 1672
35dc09a1 16732012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1674
35dc09a1
GM
1675 * net/rcirc.el (rcirc-cmd-quit):
1676 Revert 2012-03-18 change (Bug#11192).
5c14e333 1677
35dc09a1 16782012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1679
1680 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1681
35dc09a1 16822012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1683
4517fe3a
SM
1684 * minibuffer.el (completion-in-region-mode-map):
1685 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1686
b472a594
VD
16872012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1688
1689 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1690
09b95ce3
MY
16912012-04-13 Masatake YAMATO <yamato@redhat.com>
1692
1693 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1694 to allow `C-M-f' and `C-M-b' to move to the nearest path
1695 separator (bug#9511).
1696
4b63a9ca
LI
16972012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1698
1699 * avoid.el: Require cl when compiling. And also move the
1700 `provide' to the end.
1701
7b55b8bf
TV
17022012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1703
1704 * avoid.el (mouse-avoidance-banish-position): New variable.
1705 (mouse-avoidance-banish-destination): Use it (bug#10165).
1706
adedaa1f
LL
17072012-04-13 Leo Liu <sdl.web@gmail.com>
1708
1709 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1710
70e74021
KB
17112012-04-13 Ken Brown <kbrown@cornell.edu>
1712
1713 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1714 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1715 (browse-url-filename-alist): For the same reason, don't modify
1716 file:// URLs on Cygwin.
1717
e75e89ba
SM
17182012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1721 the region on shift if the binding is already shifted (bug#11221).
1722
82f289a4
GM
17232012-04-12 Glenn Morris <rgm@gnu.org>
1724
1725 * mail/mailpost.el: Move to obsolete/.
1726
d333dc4c
DA
17272012-04-12 Drew Adams <drew.adams@oracle.com>
1728
1729 * imenu.el (imenu--generic-function): Ignore invisible definitions
1730 (bug#10123).
1731
0d15b5ba
VD
17322012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1733
1734 * hexl.el (hexl-bits): New variable.
1735 (hexl-options): Mention the variable in the doc string.
75f1671a 1736 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1737 (hexl-mode): Mention the new variable.
75f1671a
JB
1738 (hexl-mode, hexl-current-address, hexl-current-address):
1739 Use the displen.
0d15b5ba
VD
1740 (hexl-ascii-start-column): New function.
1741 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1742 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1743
64a440db
AM
17442012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1745
1746 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1747 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1748 the encoding, as expected by hunspell.
1749
6decb6c2
SM
17502012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1751
1752 * battery.el (battery--linux-sysfs-regexp): New const.
1753 (battery-status-function): Use it. Remove yeeloong special case.
1754 (battery-yeeloong-sysfs): Remove.
1755 (battery-echo-area-format): Remove yeeloong special case.
1756
088be6fb
SM
17572012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1758
6622e416
SM
1759 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1760 Reported by Noah Friedman.
1761
088be6fb
SM
1762 * subr.el (read-passwd): Use read-string.
1763
b49f886e
LMI
17642012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1765
1766 * vcursor.el (vcursor-move): Increase the priority of the overlay
1767 (bug#9663).
1768
a63067fc
DD
17692012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1770
1771 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1772 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1773
ac3cf14a
WS
17742012-04-11 William Stevenson <yhvh2000@gmail.com>
1775
1776 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1777 define-minor-mode (bug#10760).
1778
c4fc691b 17792012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1780
4d6769e1 1781 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1782 that directories matching `grep-find-ignored-files' won't be
1783 pruned (bug#10351).
1784
af23e2e5
CY
17852012-04-11 Chong Yidong <cyd@gnu.org>
1786
1787 * startup.el (command-line): Remove support for long-obsolete
1788 variable font-lock-face-attributes.
1789
ab7ce8c1
GM
17902012-04-11 Glenn Morris <rgm@gnu.org>
1791
1792 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1793
de8c03dc
SM
17942012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * window.el (window--state-get-1): Obey window-point-insertion-type.
1797
050cc68b
LB
17982012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1799
1800 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1801 to previous function when point is on the first character of a
75f1671a 1802 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1803
a38c310c
GM
18042012-04-11 Glenn Morris <rgm@gnu.org>
1805
effed0c2
GM
1806 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1807 not just file-errors.
1808
a38c310c
GM
1809 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1810 (vc-bzr-sha1): Use internal sha1.
1811
0221e323
SM
18122012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1815
43956923
SG
18162012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1817
1818 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1819 that start in the middle of the line (bug#10496).
1820
6a8c9eaf
DN
18212012-04-10 Dan Nicolaescu <dann@gnu.org>
1822
1823 * battery.el (battery-linux-proc-acpi): Only one battery is
1824 discharged at a time, but that seems to confuse battery.el when
1825 computing `rate-type' for the battery not being discharged
1826 (bug#10332).
1827
1930bf5d
SM
18282012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1829
2a718f6f
SM
1830 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1831
599430d0
SM
1832 * international/quail.el: Use dolist and simplify.
1833 (quail-define-package, quail-update-keyboard-layout)
1834 (quail-define-rules): Use dolist.
1835 (quail-insert-kbd-layout, quail-get-translation): CSE.
1836
a2754b6c
SM
1837 * tmm.el: Use dolist, remove left over hook.
1838 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1839 Use dolist.
1840 (calendar-load-hook): Don't mess with it.
1841
1930bf5d
SM
1842 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1843 Use derived-mode-p. Run the diff asynchronously.
1844
9f67961c
LMI
18452012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1846
1847 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1848
2a8ce227
JB
18492012-04-10 Juanma Barranquero <lekktu@gmail.com>
1850
1851 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1852 (list-dynamic-libraries--loaded): New function.
1853 (list-dynamic-libraries--refresh): Use it.
1854
8f33b5f8
NW
18552012-04-10 Nathan Weizenbaum <nweiz@google.com>
1856
1930bf5d
SM
1857 * progmodes/python.el (python-fill-paragraph):
1858 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1859 disabled (bug#7018).
1860
b12f0439
L
18612012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1862
1930bf5d 1863 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1864 DOS/MS Windows for the Baltic languages. There are still plenty
1865 of texts written in this encoding/codepage (bug#6519).
b12f0439 1866
57c3bd01
GM
18672012-04-10 Glenn Morris <rgm@gnu.org>
1868
1869 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1870 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1871
6c3eab30
FA
18722012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1873
1930bf5d 1874 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1875 next-line "n" and previous-line "p" in order to make recentf more
1876 consistent with ibuffer, dired or org-mode (bug#9387).
1877
24d78a88
LMI
18782012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1879
bc72b5d9
LMI
1880 * image.el (put-image): Return the overlay created instead of the
1881 optional input string (bug#7834). Note that this may break code
1882 that is (for some reason or other) depending on `put-image'
1883 returning the string.
1884
bd2dba5a
LMI
1885 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1886
74beb59f
LMI
1887 * simple.el (zap-to-char): Allow zapping using input methods
1888 (bug#1580).
1889
24d78a88
LMI
1890 * textmodes/fill.el (fill-region): Leave point and mark where they
1891 were before filling (bug#5399).
1892
263f20cd
GM
18932012-04-09 Glenn Morris <rgm@gnu.org>
1894
1895 * version.el (emacs-bzr-get-version):
1896 Handle lightweight checkouts of local branches.
1897
58d1f797
AS
18982012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1899
263f20cd 1900 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1901
b4d3bc10
CY
19022012-04-09 Chong Yidong <cyd@gnu.org>
1903
1904 * custom.el (custom-variable-p): Return nil for non-symbol
1905 arguments instead of signaling an error.
1906 (user-variable-p): Obsolete alias for custom-variable-p.
1907
1908 * apropos.el (apropos-variable):
1909 * files-x.el (read-file-local-variable):
1910 * simple.el (set-variable):
1911 * woman.el (woman-mini-help):
1912 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1913
fd06db5d
GM
19142012-04-09 Glenn Morris <rgm@gnu.org>
1915
e5fcdb5e
GM
1916 * startup.el (normal-top-level): Don't look for leim-list.el
1917 in places where it will not be found. (Bug#910)
1918
fd06db5d
GM
1919 * international/mule-cmds.el (set-default-coding-systems):
1920 * files.el (normal-mode):
1921 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1922 This function was removed with ucs-tables.el in 2008.
1923
b39bb7e1
EZ
19242012-04-08 Eli Zaretskii <eliz@gnu.org>
1925
1926 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1927 ispell-encoding8-command to "-i", without a trailing space.
1928 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1929 separate command-line arguments, to specify the encoding, since
1930 that's how hunspell expects it.
1931
5c5b8e23
GM
19322012-04-08 Glenn Morris <rgm@gnu.org>
1933
1934 * loadup.el: Load bindings before cus-start.
1935 This reduces somewhat the number of "rogue" settings in emacs -Q.
1936
a1ed8b05
GM
19372012-04-07 Glenn Morris <rgm@gnu.org>
1938
1939 * version.el (emacs-bzr-get-version): New function.
dfae128a 1940 (emacs-bzr-version): New variable.
a1ed8b05
GM
1941 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1942 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1943
b142f158
EZ
19442012-04-07 Eli Zaretskii <eliz@gnu.org>
1945
dfae128a
GM
1946 * international/uni-bidi.el, international/uni-category.el:
1947 * international/uni-combining.el, international/uni-decimal.el:
1948 * international/uni-decomposition.el, international/uni-digit.el:
1949 * international/uni-lowercase.el, international/uni-mirrored.el:
1950 * international/uni-name.el, international/uni-numeric.el:
1951 * international/uni-titlecase.el, international/uni-uppercase.el:
1952 Update for Unicode 6.1.
b142f158 1953
9078ead6
EZ
19542012-04-07 Eli Zaretskii <eliz@gnu.org>
1955
1956 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1957
f23d2c7d
LMI
19582012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1959
1960 * window.el (shrink-window): Mention the `window-min-height'
1961 variable in the doc string.
1962
0a0a3573
BG
19632012-04-05 Bastien Guerry <bzg@altern.org>
1964
1965 * color.el (color-lighten-name): Fix typo.
1966
e5248ac9
SM
19672012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * server.el (server--on-display-p): New function.
1970 (server--on-display-p): Use it.
1971
b4243e22
GV
19722012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1973
1974 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1975 (bug#11145).
1976
305d9f44
SM
19772012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * comint.el (comint--common-quoted-suffix): Check string boundary
1980 before comparing (bug#11158).
1981 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1982
3d439cd1
CY
19832012-04-04 Chong Yidong <cyd@gnu.org>
1984
321cc491
CY
1985 * minibuffer.el (completion-extra-properties): Doc fix.
1986
3d439cd1
CY
1987 * subr.el (delayed-warnings-hook): Doc fix.
1988
2d562c0f
DU
19892012-04-04 Daiki Ueno <ueno@unixuser.org>
1990
1991 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1992 selection (Bug#11159).
1993 (epa-insert-keys): Inform that the default public key will be
1994 exported if no key is selected.
1995
4443f204
RS
19962012-04-04 Richard Stallman <rms@gnu.org>
1997
1998 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1999
529c06b6
CY
20002012-04-03 Chong Yidong <cyd@gnu.org>
2001
2002 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2003 mail-insert-file, not its obsolete alias mail-attach-file.
2004
66b907dc
MA
20052012-04-03 Michael Albinus <michael.albinus@gmx.de>
2006
2007 * notifications.el (notifications-notify): Fix docstring.
2008
c0ea195d
GM
20092012-04-02 Glenn Morris <rgm@gnu.org>
2010
2011 * emacs-lisp/authors.el (authors-aliases): Another addition.
2012
5ca64e00
MA
20132012-04-02 Michael Albinus <michael.albinus@gmx.de>
2014
2015 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2016 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2017 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2018
42ee526b
CY
20192012-04-01 Chong Yidong <cyd@gnu.org>
2020
2021 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2022 Handle root directory properly.
2023 (copy-directory): Caller changed.
2024
2025 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2026 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2027
0b021094
GM
20282012-03-31 Glenn Morris <rgm@gnu.org>
2029
40f86458
GM
2030 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2031
7019c177
GM
2032 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2033
a1daddd6
GM
2034 * calendar/calendar.el (calendar-window-list)
2035 (calendar-hide-window): Restore. (Bug#11140)
2036 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2037
0b021094
GM
2038 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2039
40311efc
TV
20402012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2041
2042 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2043 Check if file is a symlink (Bug#10489).
2044
2045 * files.el (copy-directory): Likewise.
2046
5319014e
CY
20472012-03-30 Chong Yidong <cyd@gnu.org>
2048
2049 * image.el (imagemagick-types-inhibit)
2050 (imagemagick-register-types): Doc fix.
2051
935d1290
AM
20522012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2053
ef24141c
SM
2054 * ispell.el (ispell-get-extended-character-mode):
2055 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2056 and treats ~word as ordinary words in pipe mode.
935d1290 2057
61c6e8fd
GM
20582012-03-30 Glenn Morris <rgm@gnu.org>
2059
2060 * tutorial.el (help-with-tutorial): Ensure local variables don't
2061 happen to make the buffer read-only. (Bug#11127)
2062
81fdff00
SM
20632012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2066 (perl-calculate-indent): Return `noindent' in strings.
2067
6e7a6ec0
SS
20682012-03-28 Sam Steingold <sds@gnu.org>
2069
2070 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2071 instead of the broken adhockery which does not prevent calendar
2072 buffers from being displayed at random after exit.
2073 (calendar-window-list, calendar-hide-window): Remove the broken
2074 adhockery.
2075
fee88ca0
GM
20762012-03-28 Glenn Morris <rgm@gnu.org>
2077
2078 * replace.el (query-replace-map): Doc fix.
2079
38de3354
AS
20802012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2081
2082 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2083 contents. (Bug#11109)
2084
b973155e
SM
20852012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2088 (bug#11077).
2089 (avl-tree--check, avl-tree--check-node): New funs.
2090
dcb6e7b3
MR
20912012-03-27 Martin Rudalics <rudalics@gmx.at>
2092
2093 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2094 (switch-to-prev-buffer, switch-to-next-buffer):
2095 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2096 showing a buffer already is done on the same frame.
2097
b4fa35fa
GM
20982012-03-27 Glenn Morris <rgm@gnu.org>
2099
2100 * startup.el (mail-host-address): Doc fix.
2101
f9210e18
SM
21022012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2103
2104 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2105 than 197 variables.
2106
c0bf7753
AF
21072012-03-26 Ami Fischman <ami@fischman.org>
2108
2109 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2110
33da7b16
GM
21112012-03-26 Glenn Morris <rgm@gnu.org>
2112
02243d9d
GM
2113 * files.el (save-buffers-kill-emacs): Doc fix.
2114
33da7b16
GM
2115 * startup.el (normal-top-level, command-line, command-line-1):
2116 Give them doc strings.
2117
e5a69fd0
EZ
21182012-03-25 Eli Zaretskii <eliz@gnu.org>
2119
2120 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2121 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2122
9a69676a
CY
21232012-03-25 Chong Yidong <cyd@gnu.org>
2124
4125cb8b
CY
2125 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2126 theme if it was previously enabled before (Bug#11031).
2127
dd470960
CY
2128 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2129 spec with custom-face-get-current-spec if its :shown-value is not
2130 determined yet (Bug#9337).
4125cb8b 2131 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2132
9a69676a
CY
2133 * button.el (button-at): Minor addition to docstring.
2134
6e7e90fa
SL
21352012-03-24 Simon Leinen <simon.leinen@gmail.com>
2136
2137 * vc/vc.el (vc-merge): Fix a prompt.
2138
f06e2758
CY
21392012-03-24 Chong Yidong <cyd@gnu.org>
2140
2141 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2142 point (Bug#9623).
2143
6e7e90fa
SL
2144 * button.el (button-at): Minor addition to docstring.
2145
b9d0879b
SM
21462012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2147
2148 * newcomment.el (comment-choose-indent): No space after BOL.
2149
e71cebb3
SS
21502012-03-22 Sam Steingold <sds@gnu.org>
2151
2152 * window.el (switch-to-prev-buffer): Revert last patch because the
2153 bug turned out to be an advertised feature (Elisp manual 28.14).
2154
335aff35
GM
21552012-03-22 Glenn Morris <rgm@gnu.org>
2156
2157 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2158 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2159
c676576a
LMI
21602012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2161
2162 * net/network-stream.el (network-stream-open-starttls): Make error
2163 message under Windows be less misleading.
2164
126f3d39
LW
21652012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2166
2167 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2168 understands (bug#9942).
2169
64fee311
CY
21702012-03-22 Chong Yidong <cyd@gnu.org>
2171
2172 * simple.el (end-of-visible-line): Handle return value of
2173 next-single-property-change properly (Bug#9371).
2174
a640d29a
KH
21752012-03-22 Kenichi Handa <handa@m17n.org>
2176
2177 * international/quail.el (quail-insert-kbd-layout): Fix previous
2178 change. To avoid unwanted bidi reordering, use
2179 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2180
39675016
DG
21812012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2182
2183 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2184 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2185 (ruby-beginning-of-indent): Be more careful with the difference
2186 between word-boundary and symbol boundary.
2187 (ruby-mode-syntax-table): Make : a symbol constituent.
2188
0a6934fc 21892012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2190
3d008e4f
SM
2191 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2192
0a6934fc
SM
21932012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2194
af67c9d7
SM
2195 * progmodes/etags.el (tags-completion-at-point-function):
2196 Improve last fix.
2197
1acad97c
SM
2198 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2199
e298b5da
SS
22002012-03-21 Sam Steingold <sds@gnu.org>
2201
2202 * progmodes/etags.el (tags-completion-at-point-function):
2203 Avoid the error when point is inside the pattern.
2204
91d82a70
JY
22052012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2206
2207 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2208 line (Bug#10855).
2209
69188b79
CY
22102012-03-21 Drew Adams <drew.adams@oracle.com>
2211
2212 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2213
99fc91fe
AK
22142012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2215
2216 * ido.el (ido-set-current-directory, ido-read-internal)
2217 (ido-choose-completion-string, ido-completion-help): Handle nil
2218 value of ido-completion-buffer (Bug#11008).
2219
087bbb4c
SS
22202012-03-21 Sam Steingold <sds@gnu.org>
2221
2222 * window.el (switch-to-prev-buffer): Do not switch to a visible
2223 window previous buffer, just like with the frame previous buffers.
2224
fb5b8aca
CY
22252012-03-21 Chong Yidong <cyd@gnu.org>
2226
2227 * faces.el (make-face, make-empty-face, copy-face):
2228 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2229 Doc fixes.
2230
dc9924b8
SM
22312012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2234 (widget-complete): Remove broken use of it.
2235
f0bcceb9
CY
22362012-03-20 Chong Yidong <cyd@gnu.org>
2237
dc9924b8
SM
2238 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2239 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2240 characters.
2241
ee52ebf3
TH
22422012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2243
2244 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2245 to draw rectangles, not squares. (Regression introduced by revno
2246 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2247
4c5779ab
CY
22482012-03-18 Chong Yidong <cyd@gnu.org>
2249
2250 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2251 it is not yet defined (for temacs).
2252
15360934
LL
22532012-03-18 Leo Liu <sdl.web@gmail.com>
2254
dc9924b8 2255 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2256
d9a8eb66
EZ
22572012-03-17 Eli Zaretskii <eliz@gnu.org>
2258
2259 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2260 (ispell-choices-win-default-height, ispell-silently-savep)
2261 (ispell-dictionary-alist, ispell-encoding8-command)
2262 (ispell-check-version, ispell-aspell-find-dictionary)
2263 (ispell-valid-dictionary-list, ispell-words-keyword)
2264 (ispell-get-word, ispell-internal-change-dictionary)
2265 (ispell-region, ispell-skip-region-list)
2266 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2267 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2268 (ispell-message-text-end, ispell-message)
2269 (ispell-buffer-local-parsing): Doc fix.
2270
f02ff80d
J
22712012-03-13 Jambunathan K <kjambunathan@gmail.com>
2272
2273 * htmlfontify.el: Add support for code block fontification for ODT
2274 export (Bug #9914).
2275 (hfy-optimisations): Define new option
2276 `body-text-only'
2277 (hfy-fontify-buffer): Honor above setting.
2278 (hfy-begin-span, hfy-end-span): New routines factored out form
2279 `hfy-fontify-buffer'.
2280 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2281 that permit insertion of custom tags.
2282 (hfy-fontify-buffer): Use above handlers.
2283 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2284 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2285 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2286 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2287 bind a special variable `hfy-user-sheet-assoc'.
2288 (htmlfontify-string): New defun.
2289 (hfy-compile-face-map): Make sure that the last char in the
2290 buffer is correctly fontified.
2291 (hfy-face-resolve-face): Whitespace only change.
2292
9ac7a13f
EZ
22932012-03-17 Eli Zaretskii <eliz@gnu.org>
2294
2295 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2296 message more clear.
2297
e2b5bdd7
LL
22982012-03-16 Leo Liu <sdl.web@gmail.com>
2299
2300 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2301
2e492df3
AM
23022012-03-16 Alan Mackenzie <acm@muc.de>
2303
2304 Further optimise the handling of large macros.
2305
2306 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2307 limit to a call of `c-literal-limits'.
2308 (c-determine-+ve-limit): New function.
dc9924b8
SM
2309 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2310 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2311 In CASE 5B, restrict a search limit to 500.
2312 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2313
2314 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2315 Restrict macro bounds to +-500 from after-change's BEG END.
2316
50e94f0c
LL
23172012-03-16 Leo Liu <sdl.web@gmail.com>
2318
2319 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2320
6f09f6ed
AH
23212012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2322
2323 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2324 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2325
c7e73d51
GM
23262012-03-16 Glenn Morris <rgm@gnu.org>
2327
da986230
GM
2328 * view.el (view-buffer, view-buffer-other-window)
2329 (view-buffer-other-frame): Doc fixes re special mode-class.
2330
0835f01e
GM
2331 * subr.el (eval-after-load): If named feature is provided not from
2332 a file, run after-load forms. (Bug#10946)
2333
c7e73d51
GM
2334 * calendar/calendar.el (calendar-insert-at-column):
2335 Handle non-unit-width characters a bit better. (Bug#10978)
2336
3f2eafd1
CY
23372012-03-15 Chong Yidong <cyd@gnu.org>
2338
2339 * emacs-lisp/ring.el (ring-extend): New function.
2340 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2341
2342 * comint.el (comint-read-input-ring)
2343 (comint-add-to-input-history): Grow comint-input-ring lazily.
2344
103af3fe
SM
23452012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2346
663b1677
SM
2347 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2348 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2349
103af3fe
SM
2350 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2351 (imenu-add-to-menubar): Don't add a redundant index.
2352 (imenu-update-menubar): Handle a dynamically composed keymap.
2353
899cb7cb
KY
23542012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2355
2356 * mail/sendmail.el (mail-encode-header):
2357 Bind rfc2047-encode-encoded-words to nil.
2358
3809f91d
GM
23592012-03-13 Glenn Morris <rgm@gnu.org>
2360
2361 * calendar/calendar.el (calendar-string-spread):
2362 Handle non-unit-width characters a bit better. (Bug#10978)
2363
9e345a01
LL
23642012-03-13 Leo Liu <sdl.web@gmail.com>
2365
2366 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2367 directory and file as argument (Bug#10822).
2368
4a07df36
KS
23692012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2370
2371 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2372 For dynamically generated code, follow $PC.
2373 (gdb-disassembly-handler-custom): Handle no function name case.
2374
4aaa9356
TL
23752012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2376
2377 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2378 * emulation/ws-mode.el (ws-query-replace):
2379 * sort.el (sort-regexp-fields):
2380 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2381
225979da
SM
23822012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2383
2384 * dabbrev.el: Fix cycle completion order (bug#10963).
2385 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2386 (dabbrev-completion): Don't use an obarray; provide
2387 a cycle-sort-function.
2388
e2f1fdab
LL
23892012-03-12 Leo Liu <sdl.web@gmail.com>
2390
dc9924b8 2391 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2392 (kill-do-not-save-duplicates): Doc fix.
2393
b19490ed
SM
23942012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * dabbrev.el: Fix cycle completion (bug#10963).
2397 Use lexical binding and wrap to 80 columns.
2398 (dabbrev-completion): Delay computing the list of completions.
2399
4b05d722
KH
24002012-03-12 Kenichi Handa <handa@m17n.org>
2401
2402 * international/quail.el (quail-insert-kbd-layout): Surround each
2403 row by LRO and PDF instead of inserting many LRMs. Pad the left
2404 and right of each non-spacing marks. Insert invisible space
2405 between lower and upper characters to prevent composition.
2406
dbbc2e69
SM
24072012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2408
2409 * minibuffer.el (minibuffer-complete): Don't get confused when the
2410 function is run twice via different commands (bug#10958).
2411 (complete-with-action): Fix docstring.
2412
292112ed
CY
24132012-03-12 Chong Yidong <cyd@gnu.org>
2414
5d1ac394
CY
2415 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2416 (nxml-completion-at-point-function): New function.
2417 (nxml-mode): Use it.
2418 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2419
292112ed
CY
2420 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2421 Load generated autoloads file before byte compiling (Bug#10970).
2422 (package--make-autoloads-and-compile): New helper fun.
2423
4098f8f7
CS
24242012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2425
2426 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2427
8f754691
MA
24282012-03-11 Michael Albinus <michael.albinus@gmx.de>
2429
2430 * autorevert.el (auto-revert-handler): Ensure, that
2431 file-readable-p is applied only for local files or in
2432 auto-revert-tail-mode.
2433
e29ab36b
AS
24342012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2435
dbbc2e69
SM
2436 * server.el (server-eval-at): Handle non-tcp connections.
2437 Decode result string.
ad0bf5b6 2438
e29ab36b
AS
2439 * server.el (server-msg-size): New constant.
2440 (server-reply-print): New function.
2441 (server-eval-and-print): Use it.
2442 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2443 Handle -print-nonl.
2444
de5939ba
CS
24452012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2446
2447 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2448 (Bug#10987).
2449
0c93eabf
CY
24502012-03-11 Chong Yidong <cyd@gnu.org>
2451
397a688f
CY
2452 * simple.el (goto-line): Doc fix (Bug#9938).
2453
2cc775f9
CY
2454 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2455
0c93eabf
CY
2456 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2457 when finished (Bug#10963).
2458
c491fa41
MR
24592012-03-11 Martin Rudalics <rudalics@gmx.at>
2460
2461 * window.el (split-window-below): Fix bug in case where
2462 split-window-keep-point is nil (Bug#10971).
2463
300e8fa5
JL
24642012-03-11 Juri Linkov <juri@jurta.org>
2465
2466 * replace.el (replace-highlight): Set isearch-word to nil
2467 unconditionally. (Bug#10887)
2468
dbf6c5a1
EZ
24692012-03-10 Eli Zaretskii <eliz@gnu.org>
2470
2471 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2472 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2473 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2474 (mairix-widget-create-query): Add usage information about mairix
2475 search forms: negating words, searching for substrings, etc.
2476
b9e501de
JP
24772012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2478
2479 * international/fontset.el (font-encoding-alist): Add an entry for
2480 ksx1001 (Bug#5667).
2481
92795c91
RS
24822012-03-10 Richard Stallman <rms@gnu.org>
2483
1694e6c1
RS
2484 * mail/sendmail.el (mail-encode-header):
2485 Set rfc2047-encode-encoded-words.
2486
607e8555
RS
2487 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2488
de3bc99a
RS
2489 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2490 view buffer means not swapped.
2491 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2492 (rmail-write-region-annotate): Error if real text has disappeared.
2493
92795c91
RS
2494 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2495
699bd04e
CY
24962012-03-10 Chong Yidong <cyd@gnu.org>
2497
2498 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2499 * emulation/cua-base.el (cua--init-keymaps):
2500 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2501
570a1714
MR
25022012-03-10 Martin Rudalics <rudalics@gmx.at>
2503
dbbc2e69
SM
2504 * speedbar.el (speedbar-unhighlight-one-tag-line):
2505 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2506
82dcf4e4
CY
25072012-03-10 Chong Yidong <cyd@gnu.org>
2508
7a2c7ca7
CY
2509 * minibuffer.el (completion-in-region, completion-help-at-point):
2510 Give the completion field overlay a high priority (Bug#6830).
2511
82dcf4e4
CY
2512 * dired.el (dired-goto-file): Recognize absolute file name
2513 listings (Bug#7126).
2514 (dired-goto-file-1): New helper function.
2515 (dired-toggle-read-only): Inhibit warnings.
2516
052e28ac
MA
25172012-03-09 Michael Albinus <michael.albinus@gmx.de>
2518
75f1671a 2519 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2520 there are no properties.
2521
95d5e396
LL
25222012-03-09 Leo Liu <sdl.web@gmail.com>
2523
2524 * savehist.el (savehist-printable): Stricter check for string
2525 value (Bug#10937).
2526
3f018d6d
EZ
25272012-03-09 Eli Zaretskii <eliz@gnu.org>
2528
dbbc2e69
SM
2529 * mail/smtpmail.el (smtpmail-send-it):
2530 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2531 valid mbox format.
2532
f7fd3d79
GM
25332012-03-09 Glenn Morris <rgm@gnu.org>
2534
2535 * files.el (dir-locals-find-file):
2536 Don't check result is regular, readable.
2537 (dir-locals-read-from-file): Demote errors.
2538
6ff6e72f
EZ
25392012-03-08 Eli Zaretskii <eliz@gnu.org>
2540
dbbc2e69
SM
2541 * international/quail.el (quail-insert-kbd-layout):
2542 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2543 layout cell, to prevent their reordering by bidi display engine.
2544 For details, see the discussion in
2545 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2546
9cec7834
AM
25472012-03-08 Alan Mackenzie <acm@muc.de>
2548
2549 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2550 the starting position; make it extend the marked region when
2551 invoked repeatedly - all under appropriate circumstances.
2552 Fixes bugs #5525, #10906.
2553
9a40b8d4
GM
25542012-03-08 Glenn Morris <rgm@gnu.org>
2555
2556 * files.el (locate-dominating-file, dir-locals-find-file):
2557 Undo 2012-03-06 change.
2558
7a08ed35
EZ
25592012-03-07 Eli Zaretskii <eliz@gnu.org>
2560
dbbc2e69
SM
2561 * international/quail.el (quail-help):
2562 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2563 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2564 for the reason.
2565
5aca4f71 25662012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2567
2568 Avoid superfluous registering of signals. (Bug#10807)
2569
2570 * notifications.el (notifications-on-action-object)
2571 (notifications-on-close-object): New defvars.
2572 (notifications-on-action-signal, notifications-on-closed-signal):
2573 Unregister the signal if not needed any longer.
2574 (notifications-notify): Register `notifications-action-signal' or
2575 `notifications-closed-signal', if :on-action or :on-close has been
2576 passed as argument.
2577
78e8b10a
CY
25782012-03-07 Chong Yidong <cyd@gnu.org>
2579
2580 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2581 non-X platforms.
2582
69481eb8
GM
25832012-03-06 Glenn Morris <rgm@gnu.org>
2584
2585 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2586 (x-disown-selection-internal, x-get-selection-internal):
2587 Doc fix (add arglist signatures). (Bug#10783)
2588
133b8e11
KS
25892012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2590
2591 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2592 Handle breakpoints with no "type".
2593
99a83064
GM
25942012-03-06 Glenn Morris <rgm@gnu.org>
2595
2596 * files.el (locate-dominating-file): Add optional predicate argument.
2597 (dir-locals-find-file): Make use of above change.
2598
17798e78
TTN
25992012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2600
2601 * info.el (Info-insert-dir): Also try "dir.gz".
2602
eb182446
GM
26032012-03-06 Glenn Morris <rgm@gnu.org>
2604
8f2114ee
GM
2605 * files.el (dir-locals-find-file):
2606 Ignore non-readable or non-regular files. (Bug#10928)
2607
eb182446
GM
2608 * files.el (locate-dominating-file): Doc fix.
2609
24679323
AS
26102012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2611
2612 * calendar/calendar.el (calendar-set-mode-line):
2613 `getenv' returns a string. (Bug#10951)
2614
01d972a9
LL
26152012-03-05 Leo Liu <sdl.web@gmail.com>
2616
109aa8a9
LL
2617 * simple.el (backward-delete-char-untabify): Constrain point to
2618 field (Bug#10939).
2619
01d972a9
LL
2620 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2621
10607bea
CY
26222012-03-05 Chong Yidong <cyd@gnu.org>
2623
2624 * simple.el (count-words): If called from Lisp, return the word
2625 count, for symmetry with `count-lines'. Arglist changed.
2626 (count-words--message): Args changed. Consolidate counting code
2627 from count-words and count-words-region.
2628 (count-words-region): Caller changed.
2629 (count-lines-region): Make it an obsolete alias.
2630
5dd11cfe
TH
26312012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2632
2633 * saveplace.el (save-place-to-alist)
2634 (save-place-ignore-files-regexp): Allow value nil to disable this
2635 feature.
2636
c349f4e6
CY
26372012-03-04 Chong Yidong <cyd@gnu.org>
2638
2639 * faces.el (face-spec-reset-face): For the default face, reset the
2640 attributes to default values (Bug#10748).
2641
e627be4c
LMI
26422012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2643
2644 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2645 previous patch: Check `message-send-mail-function', and not the
2646 default function (bug#10897).
2647
ebeabff4
MA
26482012-03-04 Michael Albinus <michael.albinus@gmx.de>
2649
a41a6cf4
MA
2650 * notifications.el (notifications-on-action-signal)
2651 (notifications-on-closed-signal): Check for unique service name of
2652 incoming event. Fix error in removing entry.
ebeabff4 2653 (top): Register for signals with wildcard service name.
a41a6cf4 2654 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2655
c1ca42b4
CY
26562012-03-04 Chong Yidong <cyd@gnu.org>
2657
dc9924b8 2658 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2659
ea16568d
GM
26602012-03-04 Glenn Morris <rgm@gnu.org>
2661
2662 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2663 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2664 (expand-abbrev, define-abbrev-table): Doc fixes.
2665
fbae4637
LMI
26662012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2667
2668 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2669 `message-default-send-mail-function' and not `send-mail-function'
2670 when doing the prompting for `sendmail-query-once' before sending
2671 in Message buffers (bug#10897).
2672
a1e7225c
LMI
2673 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2674 This is inconsistent with all the other stream functions, which leave
2675 the setting up to the higher levels (if so wanted) (bug#10931).
2676
56d093a9
AM
26772012-03-02 Alan Mackenzie <acm@muc.de>
2678
2679 Depessimize the handling of very large macros.
2680
2681 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2682 (c-macro-cache-syntactic): New variables to implement a one
2683 element macro cache.
2684 (c-invalidate-macro-cache): New function.
2685 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2686 Adapt to use the new cache.
2687 (c-state-safe-place): Use better the cache of safe positions.
2688 (c-state-semi-nonlit-pos-cache)
2689 (c-state-semi-nonlit-pos-cache-limit):
2690 New variables for...
2691 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2692 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2693 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2694 Use c-state-semi-safe-place.
56d093a9 2695
dbbc2e69
SM
2696 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2697 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2698
817e5c3d
MA
26992012-03-02 Michael Albinus <michael.albinus@gmx.de>
2700
dbbc2e69
SM
2701 * jka-compr.el (jka-compr-call-process):
2702 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2703 not remote.
2704
a032a702
MA
27052012-03-01 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2708 access of FILE2, if FILE1 does not exist.
2709
99a54f21
MA
2710 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2711 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2712
2713 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2714 Add "PAGER=" to `process-environment'.
2715
f6561e1f
MM
27162012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2717
2718 * progmodes/sql.el: Bug fix
2719 (sql-get-login-ext): Save login values in globals.
2720 (sql-get-login): Use new version of `sql-get-login-ext'.
2721 (sql-interactive-mode): Set global `sql-connection' to nil.
2722 (sql-connect): Set global values for connection.
2723 (sql-product-interactive): Save global values as buffer local.
2724
2d44d9cc
LL
27252012-02-29 Leo Liu <sdl.web@gmail.com>
2726
2727 * abbrev.el (define-abbrevs): Reset sys to nil.
2728
96b49301 27292012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2730
bf7f9bc5
JB
2731 * files.el (file-equal-p): Rename from `files-equal-p'.
2732 Return nil when one or both files don't exist.
96b49301 2733 (file-subdir-of-p): Now only top directory must exists,
2734 return nil if it doesn't.
bf7f9bc5
JB
2735 (copy-directory): No need to test with `file-subdir-of-p' after
2736 creating dir.
2737 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2738 to `file-equal-p'.
96b49301 2739
44e97401
GM
27402012-02-28 Glenn Morris <rgm@gnu.org>
2741
2742 * shell.el (shell-mode):
2743 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2744 * play/landmark.el (landmark-font-lock-face-O):
2745 * play/handwrite.el (handwrite):
2746 * play/gomoku.el (gomoku-O):
2747 * net/browse-url.el (browse-url-browser-display):
2748 * international/mule.el (define-charset):
2749 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2750 * filesets.el (filesets-find-file-delay):
2751 * eshell/em-xtra.el (eshell-xtra):
2752 * eshell/em-unix.el (eshell-grep):
2753 * emulation/viper.el (viper-mode):
2754 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2755 * emacs-lisp/easymenu.el (easy-menu-define):
2756 * calendar/timeclock.el (timeclock-use-display-time):
2757 * bs.el (bs-mode):
2758 * bookmark.el (bookmark-save-flag):
2759 Doc fix (standardize possessive apostrophe usage).
2760
c98c6276
CY
27612012-02-27 Chong Yidong <cyd@gnu.org>
2762
bf7f9bc5
JB
2763 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2764 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2765
c98c6276
CY
2766 * font-lock.el (font-lock-specified-p): Rename from
2767 font-lock-spec-present. Callers changed.
2768
9c62cd04 27692012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2770
bf7f9bc5
JB
2771 * emacs-lisp/package.el (package-compute-transaction):
2772 Handle holding a package version to t in package-load-list.
8ac9e529 2773
530739c9
MA
27742012-02-26 Michael Albinus <michael.albinus@gmx.de>
2775
2776 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2777 (tramp-get-inode, tramp-get-device): Use cached values.
2778
487915d7
AM
27792012-02-26 Alan Mackenzie <acm@muc.de>
2780
2781 Check there is a font-lock specification before doing initial
2782 fontification.
2783
2784 * font-core.el (font-lock-mode): Move the conditional from
2785 :after-hook to font-lock-initial-fontify.
2786 (font-lock-default-function): Move the check for a specification
2787 to font-lock-spec-present.
2788
dc9924b8 2789 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2790 (font-lock-spec-present): New function.
2791
4fd96557
JB
27922012-02-26 Jim Blandy <jimb@red-bean.com>
2793
2794 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2795 (gdb-send): Apply it to the operand of the '-interpreter-exec
2796 console' command, so that we can pass arguments with (say) quotes
2797 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2798
9a4888c0
CY
27992012-02-26 Chong Yidong <cyd@gnu.org>
2800
07498861
CY
2801 * help-fns.el (describe-function-1): Clarify description of
2802 remapping (Bug#10844).
2803
9a4888c0
CY
2804 * files.el (files-equal-p): Doc fix.
2805 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2806 and quit the loop once a mismatch is found.
2807
ea8fb88d
JB
28082012-02-25 Juanma Barranquero <lekktu@gmail.com>
2809
2810 * bs.el (bs--show-with-configuration): Don't throw an error
2811 if the window cannot be split; otherwise, subsequent calls to
2812 bs-show fail, restoring a stale window config. (Bug#10882)
2813
525795c1
JD
28142012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2815
2816 * term/ns-win.el (global-map): Bind ns-drag-file to
2817 ns-find-file (Bug#5855, Bug#10050).
2818
f008086f
AS
28192012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2820
2821 * calendar/parse-time.el (parse-time-string): Allow extractor to
2822 return nil.
2823
a3fcfa99
MA
28242012-02-25 Michael Albinus <michael.albinus@gmx.de>
2825
91027d08
JB
2826 * net/tramp.el (tramp-file-name-for-operation):
2827 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2828
2829 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2830 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2831 Add COPY-CONTENTS argument.
a3fcfa99 2832
67b0de11
CY
28332012-02-25 Chong Yidong <cyd@gnu.org>
2834
2835 Add custom groups for VC backends, for consistency with vc-bzr.
2836
2837 * vc/vc-arch.el (vc-arch):
2838 * vc/vc-cvs.el (vc-cvs):
2839 * vc/vc-git.el (vc-git):
2840 * vc/vc-hg.el (vc-hg):
2841 * vc/vc-mtn.el (vc-mtn):
2842 * vc/vc-rcs.el (vc-rcs):
2843 * vc/vc-sccs.el (vc-sccs):
2844 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2845 All relevant defcustoms reassigned.
2846
3c9dfce6
CY
28472012-02-25 Chong Yidong <cyd@gnu.org>
2848
1339bf43
CY
2849 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2850
3c9dfce6
CY
2851 * term/x-win.el (x-initialize-window-system): Reduce default for
2852 x-selection-timeout to 5 seconds (Bug#8869).
2853
25b2e303 28542012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2855
ec70a47d
GM
2856 * files.el (files-equal-p, file-subdir-of-p): New functions.
2857 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2858 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2859 * dired-aux.el (dired-copy-file-recursive): Same.
2860 (dired-create-files): Modify destination when source is equal to
2861 dest when copying files.
53a46cd0 2862 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2863
914260cd
MA
28642012-02-24 Michael Albinus <michael.albinus@gmx.de>
2865
2866 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2867 (Bug#10874)
2868
2cb228f7
AM
28692012-02-23 Alan Mackenzie <acm@muc.de>
2870
2871 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2872 parameter "after-hook:" to allow the expansion to run code after
2873 the execution of the mode hooks.
2874
2875 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2876 from font-lock-mode-internal.
2cb228f7 2877
91027d08 2878 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2879 :after-hook.
2880
8f0fde21
SM
28812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2882
3e88618b
SM
2883 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2884 (completion--cache-all-sorted-completions): New function.
2885 (completion-all-sorted-completions): Use it.
2886 (completion--do-completion, minibuffer-force-complete):
2887 Use it to re-instate the flush hook.
2888
8f0fde21
SM
2889 * icomplete.el (icomplete-completions): Replace last fix with a better
2890 one (bug#10850).
2891
8e911f6f
DG
28922012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2893
2894 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2895 when it might call us back infinitely (bug#10797).
2896
49fe4321
GM
28972012-02-23 Glenn Morris <rgm@gnu.org>
2898
2899 * minibuffer.el (completion-category-overrides): Doc fix.
2900
b291b572
SM
29012012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2904 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2905
31a9ef2e
GM
29062012-02-23 Glenn Morris <rgm@gnu.org>
2907
5e6e6794 2908 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2909 (authors-obsolete-files-regexps, authors-ignored-files)
2910 (authors-ambiguous-files, authors-renamed-files-alist):
2911 Add more entries.
2912
0bd1e074
JL
29132012-02-23 Juri Linkov <juri@jurta.org>
2914
2915 * isearch.el (isearch-occur): Sync interactive spec with occur's
2916 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2917
b617673c
JL
2918 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2919
19e9789e
JL
29202012-02-22 Juri Linkov <juri@jurta.org>
2921
2922 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2923 (ucs-insert): Doc fix. Check for hex digits in the string.
2924 Don't display `nil' in the error message. (Bug#10857)
2925
f41ce09d
AM
29262012-02-22 Alan Mackenzie <acm@muc.de>
2927
7a71b18d 2928 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2929
ac2eceee
GM
29302012-02-22 Glenn Morris <rgm@gnu.org>
2931
2932 * ffap.el (ffap-c-path):
2933 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2934
abd1f678
CY
29352012-02-22 Chong Yidong <cyd@gnu.org>
2936
2937 * custom.el (load-theme): Doc fix.
2938
f25aef2e
GM
29392012-02-22 Glenn Morris <rgm@gnu.org>
2940
2941 * dired-x.el (dired-guess-shell-alist-default):
2942 Remove escape sequences from nroff output. (Bug#172)
2943
5f8dc2ca
GM
29442012-02-21 Glenn Morris <rgm@gnu.org>
2945
6ff86ec4
GM
2946 * vc/emerge.el (emerge-defvar-local):
2947 Set `permanent-local' property rather than unused `preserved'.
2948
be3223a3 2949 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2950 (picture-mode-map): Use it. (Bug#10860)
2951 (picture-mode): Doc fix.
2952
3fe58f4f
JB
29532012-02-21 Juanma Barranquero <lekktu@gmail.com>
2954
2955 * newcomment.el (uncomment-region-default): Remove unused binding.
2956
f9a998c3
GM
29572012-02-21 Glenn Morris <rgm@gnu.org>
2958
2959 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2960 (picture-self-insert, picture-tab-chars): Doc fix.
2961 (picture-mode-map): Fix C-a, C-e.
2962
c6029348
GM
29632012-02-20 Glenn Morris <rgm@gnu.org>
2964
2965 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2966
ab1ce9d7
LL
29672012-02-20 Leo Liu <sdl.web@gmail.com>
2968
2969 * icomplete.el (icomplete-completions): Check FROM arg before
2970 passing to substring (Bug#10850).
2971
0fd40f89
CY
29722012-02-19 Chong Yidong <cyd@gnu.org>
2973
2974 * comint.el: Require ansi-color.
2975 (comint-output-filter-functions): Add ansi-color-process-output.
2976
2977 * ansi-color.el: Don't set comint-output-filter-functions; it is
2978 now in the initial value defined in comint.el.
2979 (ansi-color-apply-face-function): New variable.
2980 (ansi-color-apply-on-region): Use it.
2981 (ansi-color-apply-overlay-face): New function.
2982
2983 * shell.el (shell): No need to require ansi-color.
2984 (shell-mode): Use ansi-color-apply-face-function to highlight
2985 color escapes using font-lock-face property (Bug#10835).
2986
20af2394
CY
29872012-02-19 Chong Yidong <cyd@gnu.org>
2988
2989 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2990 mode-line formats (Bug#10839).
2991
e23a3fbe
GM
29922012-02-18 Glenn Morris <rgm@gnu.org>
2993
b474519e
GM
2994 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2995
2996 * mail/undigest.el (unforward-rmail-message): Doc fix.
2997
e23a3fbe
GM
2998 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2999
57939ff4
EZ
30002012-02-18 Eli Zaretskii <eliz@gnu.org>
3001
3002 * international/characters.el (script-list): Sync with the latest
3003 Unicode Character Database.
3004
0c23686e
AS
30052012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3006
3007 * international/titdic-cnv.el: Remove duplicate coding tag.
3008 * language/cham.el: Likewise.
3009 * language/tai-viet.el: Likewise.
3010
6818b449
GM
30112012-02-18 Glenn Morris <rgm@gnu.org>
3012
3013 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3014 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3015 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3016 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3017 * calendar/holidays.el (holiday-bahai-holidays)
3018 (calendar-holidays, list-holidays):
3019 Use utf-8 Bahá'í in doc-strings, menus, etc.
3020
0311a3fc
TH
30212012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3022
3023 * saveplace.el (save-place-ignore-files-regexp): New variable
3024 allowing for excluding files from saving their location of point.
3025 The default value matches the temporary commit message editing
3026 files from Git, SVN, Bazaar, and Mercurial.
3027 (save-place-to-alist): Use it.
3028
eb864a71
LM
30292012-02-17 Lawrence Mitchell <wence@gmx.li>
3030 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * newcomment.el (uncomment-region-default): Don't leave extra space
3033 when an arg is provided (bug#8150).
3034
ee0ce425
TZ
30352012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3036
eb864a71 3037 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3038
95ddf442
GM
30392012-02-17 Glenn Morris <rgm@gnu.org>
3040
3041 * net/socks.el: Require network-stream. (Bug#10599)
3042
48dd1e39 30432012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3044
3045 * international/charprop.el:
3046 * international/uni-name.el:
3047 * international/uni-old-name.el:
3048 * international/uni-comment.el: Regenerate.
3049
d68cd087
GM
30502012-02-16 Glenn Morris <rgm@gnu.org>
3051
3052 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3053 Interactively in calendar buffer, give an error if not on a date.
3054
13932042
GM
30552012-02-15 Glenn Morris <rgm@gnu.org>
3056
3057 * shell.el (shell-delimiter-argument-list):
3058 Revert 2011-02-17 change. (Bug#8027)
3059
c3a70e2b
CY
30602012-02-15 Chong Yidong <cyd@gnu.org>
3061
60236b0d
CY
3062 * minibuffer.el (completion-at-point-functions): Doc fix.
3063
c3a70e2b
CY
3064 * custom.el (defcustom): Doc fix; note use of defvar.
3065
9f26dc24
GM
30662012-02-15 Glenn Morris <rgm@gnu.org>
3067
3068 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3069 Doc fixes.
3070
6546b134
GM
30712012-02-14 Glenn Morris <rgm@gnu.org>
3072
3073 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3074
d29b2b4c
LI
30752012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3076
3077 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3078 way the ports list is computed.
835bdcba
LI
3079 (smtpmail-query-smtp-server): Prompt the user for a port number if
3080 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3081
08dcdbc9
TZ
30822012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3083
3084 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3085
2605051a
GM
30862012-02-13 Glenn Morris <rgm@gnu.org>
3087
3088 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3089
7ee99f32
TZ
30902012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3091
3092 * net/gnutls.el (gnutls-trustfiles): New variable.
3093 (gnutls-negotiate): Use it.
3094
5f0af64f
LI
30952012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3096
3097 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3098 does its stuff if Gnus is running.
3099
c14fcc95
AM
31002012-02-13 Alan Mackenzie <acm@muc.de>
3101
3102 Fix a loop in c-set-fl-decl-start.
3103
7a71b18d 3104 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3105 c-backward-syntactic-ws actually moves backwards.
3106
142b4d90
LL
31072012-02-13 Leo Liu <sdl.web@gmail.com>
3108
3109 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3110 beginning so that all \C-o chars are removed.
3111
fa9958a6
TZ
31122012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3113
dc9924b8 3114 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3115
0bc5886a
AM
31162012-02-12 Alan Mackenzie <acm@muc.de>
3117
3118 Fix infinite loop with long macros.
4d6769e1 3119 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3120
d4bd55e7
CY
31212012-02-12 Chong Yidong <cyd@gnu.org>
3122
3123 * window.el (display-buffer): Doc fix (Bug#10785).
3124
66f3fe22
GM
31252012-02-12 Glenn Morris <rgm@gnu.org>
3126
bd7da63e
GM
3127 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3128 (x-disown-selection-internal, x-get-selection-internal):
3129 Sync docs with the xselect.c versions.
3130
66f3fe22
GM
3131 * allout-widgets.el: Add missing license notice.
3132
3e0d2fa7
GM
31332012-02-11 Glenn Morris <rgm@gnu.org>
3134
cfecdf09
GM
3135 * select.el (x-get-selection-internal, x-own-selection-internal)
3136 (x-disown-selection-internal):
3137 * x-dnd.el (x-get-selection-internal): Update declarations.
3138
6d216d7f
GM
3139 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3140
2bed3f04
GM
3141 * window.el (window-sides-slots):
3142 * tool-bar.el (tool-bar-position):
3143 * term/xterm.el (xterm-extra-capabilities):
3144 * ses.el (ses-self-reference-early-detection):
3145 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3146 (verilog-auto-wire-type)
3147 (verilog-auto-delete-trailing-whitespace)
3148 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3149 (verilog-auto-tieoff-declaration):
3150 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3151 (sql-oracle-statement-starters, sql-oracle-scan-on):
3152 * progmodes/prolog.el (prolog-align-comments-flag)
3153 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3154 (prolog-left-indent-regexp, prolog-paren-indent-p)
3155 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3156 (prolog-types, prolog-mode-specificators)
3157 (prolog-determinism-specificators, prolog-directives)
3158 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3159 (prolog-electric-dot-flag)
3160 (prolog-electric-dot-full-predicate-template)
3161 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3162 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3163 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3164 (prolog-program-switches, prolog-prompt-regexp)
3165 (prolog-debug-on-string, prolog-debug-off-string)
3166 (prolog-trace-on-string, prolog-trace-off-string)
3167 (prolog-zip-on-string, prolog-zip-off-string)
3168 (prolog-use-standard-consult-compile-method-flag)
3169 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3170 (prolog-imenu-max-lines, prolog-info-predicate-index)
3171 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3172 (prolog-char-quote-workaround):
3173 * progmodes/cc-vars.el (c-defun-tactic):
3174 * net/tramp.el (tramp-encoding-command-interactive)
3175 (tramp-local-end-of-line):
3176 * net/soap-client.el (soap-client):
3177 * net/netrc.el (netrc-file):
3178 * net/gnutls.el (gnutls):
3179 * minibuffer.el (completion-category-overrides)
3180 (completion-cycle-threshold)
3181 (completion-pcm-complete-word-inserts-delimiters):
3182 * man.el (Man-name-local-regexp):
3183 * mail/feedmail.el (feedmail-display-full-frame):
3184 * international/characters.el (glyphless-char-display-control):
3185 * eshell/em-ls.el (eshell-ls-date-format):
3186 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3187 (lisp-lambda-list-keyword-parameter-indentation)
3188 (lisp-lambda-list-keyword-parameter-alignment):
3189 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3190 * dired-x.el (dired-omit-verbose):
3191 * cus-theme.el (custom-theme-allow-multiple-selections):
3192 * calc/calc.el (calc-highlight-selections-with-faces)
3193 (calc-lu-field-reference, calc-lu-power-reference)
3194 (calc-note-threshold):
3195 * battery.el (battery-mode-line-limit):
3196 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3197 (archive-7z-update):
3198 * allout.el (allout-prefixed-keybindings)
3199 (allout-unprefixed-keybindings)
3200 (allout-inhibit-auto-fill-on-headline)
3201 (allout-flattened-numbering-abbreviation):
3202 * allout-widgets.el (allout-widgets-auto-activation)
3203 (allout-widgets-icons-dark-subdir)
3204 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3205 (allout-widgets-theme-dark-background)
3206 (allout-widgets-theme-light-background)
3207 (allout-widgets-item-image-properties-emacs)
3208 (allout-widgets-item-image-properties-xemacs)
3209 (allout-widgets-run-unit-tests-on-load)
3210 (allout-widgets-time-decoration-activity)
3211 (allout-widgets-hook-error-post-time)
3212 (allout-widgets-track-decoration):
3213 Add missing :version tags to new defcustoms and defgroups.
3214
5fec1b8e
GM
3215 * progmodes/sql.el (sql-ansi-statement-starters)
3216 (sql-oracle-statement-starters): Add custom type.
3217
3e0d2fa7
GM
3218 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3219 (prolog-system-version): Give it a type.
3220
90b671e2
EZ
32212012-02-11 Eli Zaretskii <eliz@gnu.org>
3222
3223 * term/pc-win.el (x-select-text, x-selection-owner-p)
3224 (x-own-selection-internal, x-disown-selection-internal)
3225 (x-get-selection-internal): Sync doc strings and argument lists
3226 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3227
5eac0c02
LL
32282012-02-11 Leo Liu <sdl.web@gmail.com>
3229
3230 * progmodes/python.el (python-end-of-statement): Fix infinite
3231 loop. (Bug#10788)
3232
f82cb659
GM
32332012-02-10 Glenn Morris <rgm@gnu.org>
3234
3235 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3236 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3237
cc26d239
LI
32382012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3239
3240 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3241 about SMTP before checking the From header.
3242
91027d08 3243 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3244 into own function for reuse by emacsbug.el.
3245
1be3ca5a
LL
32462012-02-10 Leo Liu <sdl.web@gmail.com>
3247
3248 * subr.el (condition-case-unless-debug): Rename from
3249 condition-case-no-debug. All callers changed.
3250 (with-demoted-errors): Fix caller.
3251
3252 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3253 * nxml/rng-valid.el (rng-do-some-validation):
3254 * emacs-lisp/package.el (package-refresh-contents)
3255 (package-menu-execute):
3256 * desktop.el (desktop-create-buffer):
91027d08 3257 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3258
b011fbfe
GM
32592012-02-10 Glenn Morris <rgm@gnu.org>
3260
b2096d72
GM
3261 * textmodes/bibtex.el:
3262 Add missing :version tags for new/changed defcustoms.
3263
b011fbfe
GM
3264 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3265
4c7e65bf
LI
32662012-02-09 Lars Ingebrigtsen <larsi@rusty>
3267
3268 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3269 (smtpmail-via-smtp): Use it, or fall back on the From address.
3270 (smtpmail-send-it): Ditto.
3271
f3934f6f
SM
32722012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3275 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3276 (byte-compile-tmp-var): New const.
3277 (byte-compile-defvar): Use it to minimize .elc size.
3278 Just use `defvar' rather than simulate it (bug#10761).
3279
a075a2c5
GM
32802012-02-09 Glenn Morris <rgm@gnu.org>
3281
cf3aa21b
GM
3282 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3283
354998cd
GM
3284 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3285 Add :version tags.
3286
dc9924b8
SM
3287 * progmodes/compile.el (compilation-error-screen-columns)
3288 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3289
dab3703d
GM
3290 * vc/log-view.el (log-view-toggle-entry-display):
3291 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3292
3f88cd72
GM
3293 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3294 (report-emacs-bug-can-use-xdg-email):
3295 (report-emacs-bug-insert-to-mailer): Doc fixes.
3296 (report-emacs-bug): Message fix.
3297
d95b247d
GM
3298 * net/browse-url.el (browse-url-can-use-xdg-open)
3299 (browse-url-xdg-open): Doc fixes.
3300
a075a2c5
GM
3301 * electric.el (electric-indent-mode, electric-pair-mode)
3302 (electric-layout-rules, electric-layout-mode): Doc fixes.
3303 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3304
ffb6157e
MR
33052012-02-08 Martin Rudalics <rudalics@gmx.at>
3306
3307 * server.el (server-unselect-display): Don't inadvertently kill
3308 the current buffer. (Bug#10729)
3309
e1ac4066
GM
33102012-02-08 Glenn Morris <rgm@gnu.org>
3311
34e8a2da
GM
3312 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3313 (sql-list-table): Doc fixes.
3314
b4ac6e8c
GM
3315 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3316 Comment out (does nothing).
3317
e1ac4066
GM
3318 * completion.el (dynamic-completion-mode):
3319 * dirtrack.el (dirtrack-debug-mode):
3320 * electric.el (electric-layout-mode):
3321 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3322 * face-remap.el (text-scale-mode, buffer-face-mode):
3323 * iimage.el (iimage-mode):
3324 * image-mode.el (image-transform-mode):
3325 * minibuffer.el (completion-in-region-mode):
3326 * scroll-lock.el (scroll-lock-mode):
3327 * simple.el (next-error-follow-minor-mode):
3328 * tar-mode.el (tar-subfile-mode):
3329 * tooltip.el (tooltip-mode):
3330 * vcursor.el (vcursor-use-vcursor-map):
3331 * wid-browse.el (widget-minor-mode):
3332 * emulation/tpu-edt.el (tpu-edt-mode):
3333 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3334 * international/iso-ascii.el (iso-ascii-mode):
3335 * language/thai-util.el (thai-word-mode):
3336 * mail/supercite.el (sc-minor-mode):
3337 * net/goto-addr.el (goto-address-mode):
3338 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3339 * progmodes/cwarn.el (cwarn-mode):
3340 * progmodes/flymake.el (flymake-mode):
3341 * progmodes/glasses.el (glasses-mode):
3342 * progmodes/hideshow.el (hs-minor-mode):
3343 * progmodes/pascal.el (pascal-outline-mode):
3344 * textmodes/enriched.el (enriched-mode):
3345 * vc/smerge-mode.el (smerge-mode):
3346 Doc fixes (minor mode argument).
3347
5e0d957f
EZ
33482012-02-07 Eli Zaretskii <eliz@gnu.org>
3349
3350 * ls-lisp.el (ls-lisp-sanitize): New function.
3351 (ls-lisp-insert-directory): Use it to fix or remove any elements
3352 in file-alist with missing attributes. (Bug#4673)
3353
98d7371e
AM
33542012-02-07 Alan Mackenzie <acm@muc.de>
3355
3356 Fix spurious recognition of c-in-knr-argdecl.
3357
3358 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3359 putative K&R region.
3360
667ced3a
AM
33612012-02-07 Alan Mackenzie <acm@muc.de>
3362
eb864a71
LM
3363 * progmodes/cc-engine.el (c-forward-objc-directive):
3364 Prevent looping in "#pragma mark @implementation".
667ced3a 3365
5b77774d
MA
33662012-02-07 Michael Albinus <michael.albinus@gmx.de>
3367
3368 * notifications.el (notifications-on-closed-signal): Make `reason'
3369 optional. (Bug#10744)
3370
af008560
GM
33712012-02-07 Glenn Morris <rgm@gnu.org>
3372
60d47423
GM
3373 * emacs-lisp/easy-mmode.el (define-minor-mode):
3374 Doc fixes for the macro and the mode it defines.
3375
dd605cc4
GM
3376 * image.el (imagemagick-types-inhibit): Doc fix.
3377
af008560
GM
3378 * cus-start.el (imagemagick-render-type): Add it.
3379
5cc59a37
LI
33802012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3381
4d6769e1
JB
3382 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3383 Set the default at load time, too, so that `font-lock-fontify-buffer'
3384 can be called without setting up the entire mode first. This fixes
3385 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3386
9a6dd747
CY
33872012-02-06 Chong Yidong <cyd@gnu.org>
3388
2d16b285
CY
3389 * simple.el (list-processes--refresh): Delete exited processes
3390 (Bug#8094).
3391
171e9b6e
CY
3392 * comint.el (comint-next-prompt): next-single-char-property-change
3393 and prev-single-char-property-change never return nil (Bug#8657).
3394
9a6dd747
CY
3395 * custom.el (defcustom): Doc fix (Bug#9711).
3396
aa4589a7
CY
33972012-02-05 Chong Yidong <cyd@gnu.org>
3398
5c2a252f
CY
3399 * cus-edit.el (custom-variable-reset-backup): Quote the value
3400 before storing it in the customized-value property (Bug#6712).
4aab9006 3401 (custom-display): Add a customization type tag.
983b9602 3402 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3403
aa4589a7
CY
3404 * wid-edit.el (widget-field-value-get): New optional arg to
3405 suppress trailing whitespace truncation.
3406 (character): Use it (Bug#2689).
3407
1ff980ae
AS
34082012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3409
3410 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3411 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3412
03988c98
CY
34132012-02-05 Chong Yidong <cyd@gnu.org>
3414
eeb6cc88
CY
3415 * cus-edit.el (custom-variable-value-create): For mismatched
3416 types, show the current value (Bug#7600).
3417
03988c98
CY
3418 * custom.el (defcustom): Doc fix.
3419
f8cdeef0
GM
34202012-02-05 Glenn Morris <rgm@gnu.org>
3421
3422 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3423
0696d255
JB
34242012-02-05 Juanma Barranquero <lekktu@gmail.com>
3425
3426 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3427 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3428 (pp-last-sexp): Use `looking-at-p'.
3429
34c99998
GM
34302012-02-04 Glenn Morris <rgm@gnu.org>
3431
8f05da42
GM
3432 * files.el (revert-buffer):
3433 Doc fix (mention revert-buffer-in-progress-p).
3434
f160676e
GM
3435 * emacs-lisp/ert-x.el (ert-simulate-command):
3436 Check deferred-action-list (which is obsolete) is bound.
3437
c7291ad9
GM
3438 * subr.el (with-wrapper-hook): Doc fixes.
3439
34c99998
GM
3440 * simple.el (filter-buffer-substring-functions)
3441 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3442
6283a7d3
LL
34432012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3444
3445 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3446 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3447
e96e3013
LL
34482012-02-04 Leo Liu <sdl.web@gmail.com>
3449
3450 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3451
8ded50f2
GM
34522012-02-04 Glenn Morris <rgm@gnu.org>
3453
82ff1d13
GM
3454 * image.el (image-extension-data): Add obsolete alias.
3455
987a0a16
GM
3456 * isearch.el (isearch-update): Doc fix.
3457
ea32ef46
GM
3458 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3459
8ded50f2
GM
3460 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3461
eea14f31
GM
34622012-02-03 Glenn Morris <rgm@gnu.org>
3463
3464 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3465 (image-animate-timeout): Doc fix.
3466
3467 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3468
12f381b7
GM
34692012-02-02 Glenn Morris <rgm@gnu.org>
3470
953cebf5
GM
3471 * server.el (server-auth-dir): Doc fix.
3472 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3473
12f381b7
GM
3474 * subr.el (run-mode-hooks): Doc fix.
3475
953a8c3b
JL
34762012-02-02 Juri Linkov <juri@jurta.org>
3477
3478 * image-mode.el (image-toggle-display-image): Remove tautological
3479 `major-mode' from the `derived-mode-p' test.
3480
c5d3843c
KH
34812012-02-02 Kenichi Handa <handa@m17n.org>
3482
9f6e692e 3483 * composite.el (compose-region): Cancel previous change.
c5d3843c 3484
159462d4 34852012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3486
3487 * composite.el (compose-region, compose-string): Signal error for
3488 a null string component (Bug#6988).
3489
9f562668
CY
34902012-02-01 Chong Yidong <cyd@gnu.org>
3491
e2cef717
CY
3492 * view.el (view-buffer-other-window, view-buffer-other-frame):
3493 Handle special modes like view-buffer (Bug#10650).
3494 (view-buffer): Simplify.
3495
9f562668
CY
3496 * frame.el (set-frame-font): Tweak meaning of third argument.
3497
9f6e692e
JB
3498 * dynamic-setting.el (font-setting-change-default-font):
3499 Use set-frame-font (Bug#9982).
9f562668 3500
781acb9f
GM
35012012-02-01 Glenn Morris <rgm@gnu.org>
3502
6035be52
GM
3503 * progmodes/compile.el (compilation-internal-error-properties):
3504 Respect compilation-first-column in the "*compilation*" buffer.
3505
781acb9f
GM
3506 * emacs-lisp/easy-mmode.el (define-minor-mode):
3507 Relax :variable's test for a named function.
3508
abbceb00
AM
35092012-01-31 Alan Mackenzie <acm@muc.de>
3510
3511 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3512 off by one error.
3513
fce3fdeb
CY
35142012-01-31 Chong Yidong <cyd@gnu.org>
3515
3516 * frame.el (set-frame-font): New arg ALL-FRAMES.
3517
3518 * menu-bar.el (menu-set-font): Use set-frame-font.
3519
3520 * faces.el (face-spec-reset-face): Don't apply unspecified
3521 attribute values to the default face.
3522
47893581
JB
35232012-01-31 Juanma Barranquero <lekktu@gmail.com>
3524
3525 * progmodes/cwarn.el (cwarn): Remove dead link.
3526 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3527 Remove * from defcustom docstrings.
3528 (turn-on-cwarn-mode): Make obsolete.
3529 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3530 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3531
e58e988a
GM
35322012-01-31 Glenn Morris <rgm@gnu.org>
3533
60dc2671 3534 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3535 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3536 Allow named functions to be used as the cdr of :variable.
e58e988a 3537
7a3f511d
GM
35382012-01-30 Glenn Morris <rgm@gnu.org>
3539
3540 * emacs-lisp/authors.el (authors-fixed-entries):
3541 Remove reference to deleted file rnewspost.el.
3542
cb882333
JB
35432012-01-29 Juanma Barranquero <lekktu@gmail.com>
3544
3545 * window.el (window-with-parameter): Remove unused variable `windows'.
3546 (window--side-check): Remove unused variable `code'.
3547 (window--resize-siblings): Remove unused variable `first'.
3548 (adjust-window-trailing-edge): Remove unused variable `failed'.
3549 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3550 Use `let', not `let*'.
3551 (balance-windows-2): Remove unused variable `found'.
3552 (window--state-put-2): Remove unused variable `splits'.
3553 (window-state-put): Remove unused variable `selected'.
3554 (same-window-p): Use `string-match-p'.
3555 (display-buffer-assq-regexp): Remove unused variable `value'.
3556 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3557 Mark argument ALIST as ignored.
3558 (pop-to-buffer): Remove unused variable `old-window'.
3559
907201af
EZ
35602012-01-29 Eli Zaretskii <eliz@gnu.org>
3561
3562 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3563 and .lzma compressed files.
3564
ea162670
CY
35652012-01-29 Chong Yidong <cyd@gnu.org>
3566
5b95ee8a
CY
3567 * frame.el (window-system-default-frame-alist): Doc fix.
3568
ea162670
CY
3569 * dynamic-setting.el (font-setting-change-default-font): Don't
3570 change the default face if SET-FONT argument is non-nil (Bug#9982).
3571
d6e6f4b1
SB
35722012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3573
3574 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3575
0f29fa41 35762012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3577
3578 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3579 breakpoints in files outside current directory (Bug#6098).
3580
db174434
CY
35812012-01-29 Chong Yidong <cyd@gnu.org>
3582
6b25e4e2
SE
3583 * progmodes/python.el: Require ansi-color at top-level.
3584
6df6ae42
JB
3585 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3586 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3587 (lisp-mode-abbrev-table): Add doc.
3588 (lisp-mode-variables): Don't set local-abbrev-table.
3589 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3590
e70ee681
RW
35912012-01-28 Roland Winkler <winkler@gnu.org>
3592
3593 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3594
ace88aa2
RW
35952012-01-28 Roland Winkler <winkler@gnu.org>
3596
3597 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3598 (bibtex-set-dialect): Use it. Either set global values of
3599 dialect-dependent variables or bind these variables buffer-locally
3600 (Bug#10254).
3601 (bibtex-mode): Call bibtex-set-dialect via
3602 hack-local-variables-hook.
eb864a71
LM
3603 (bibtex-dialect): Update docstring.
3604 Add safe-local-variable predicate.
ace88aa2
RW
3605 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3606 bibtex-set-dialect.
3607 (bibtex-mode-map): Define menu for each dialect.
3608 (bibtex-entry): Fix docstring.
3609
93376c5b
CY
36102012-01-28 Chong Yidong <cyd@gnu.org>
3611
3612 * eshell/esh-arg.el (eshell-quote-argument): New function.
3613
3614 * eshell/esh-ext.el (eshell-invoke-batch-file):
3615 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3616 first arg to eshell-parse-command (Bug#10523).
3617
4372494f
DA
36182012-01-28 Drew Adams <drew.adams@oracle.com>
3619
3620 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3621 `default-directory' is non-nil.
3622
4d4ec1f8
EZ
36232012-01-28 Eli Zaretskii <eliz@gnu.org>
3624
3625 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3626 line that displays system-configuration-options. (Bug#9924)
3627
7c188927
DA
36282012-01-28 Drew Adams <drew.adams@oracle.com>
3629
3630 * descr-text.el (describe-char): Show information about POS, in
3631 addition to information about the character at POS. Improve and
3632 update the doc string. Change "code point" to "code point in
3633 charset", to avoid confusion with the character's Unicode code
3634 point shown above that. (Bug#10129)
3635
e0da685a
EZ
36362012-01-28 Eli Zaretskii <eliz@gnu.org>
3637
3638 * descr-text.el (describe-char): Show the raw character, not only
3639 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3640 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3641 for the reasons.
3642
70550acf
PH
36432012-01-28 Phil Hagelberg <phil@hagelb.org>
3644
eb864a71
LM
3645 * emacs-lisp/package.el (package-install):
3646 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3647
0ce8e868
CY
36482012-01-28 Chong Yidong <cyd@gnu.org>
3649
cb882333
JB
3650 * emacs-lisp/package.el (package-maybe-load-descriptor):
3651 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3652 (package-maybe-load-descriptor): Use it.
3653 (package-download-transaction): Fully load required packages
3654 inside the loop, so that `require' calls work (Bug#10593).
3655 (package-install): No need to call package-initialize now.
3656
2e7f3bea
CY
36572012-01-28 Chong Yidong <cyd@gnu.org>
3658
6e9bad14
CY
3659 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3660
f823b8ca
CY
3661 * tooltip.el (tooltip-mode): Doc fix.
3662 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3663
2680c309
CY
3664 * frame.el (set-cursor-color): Doc fix (Bug#352).
3665
d7a9e63b
CY
3666 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3667 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3668
2e7f3bea
CY
3669 * cus-edit.el (custom-buffer-create-internal): Fix search button
3670 action (Bug#10542).
2ae01800 3671 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3672
fc4f7a23
EW
36732012-01-27 Eduard Wiebe <usenet@pusto.de>
3674
3675 * dired.el (dired-mark-files-regexp):
3676 Include any subdirectory components. (Bug#10445)
3677
7dd37071
ML
36782012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3679
3680 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3681 Handle [host]:port syntax. (Bug#10533)
3682
a268160b
AH
36832012-01-27 Alex Harsanyi <harsanyi@mac.com>
3684
3685 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3686
e43273ef
GM
36872012-01-26 Glenn Morris <rgm@gnu.org>
3688
3689 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3690 * term.el (term-raw-escape-map): Use Control-X-prefix.
3691 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3692
1edf595d
MR
36932012-01-25 Martin Rudalics <rudalics@gmx.at>
3694
3695 * window.el (window-state-get, window--state-get-1): Don't deal
3696 with fixed-sizeness of windows. Simplify code.
3697
fa8eafef
JC
36982012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3699
6df6ae42
JB
3700 * window.el (window--state-get-1, window--state-put-2):
3701 Don't save and restore the mark.
fa8eafef 3702
0b21c100
CY
37032012-01-25 Chong Yidong <cyd@gnu.org>
3704
3705 * custom.el (custom-variable-p): Doc fix.
3706
5ae1a6c8
GM
37072012-01-25 Glenn Morris <rgm@gnu.org>
3708
40047858
GM
3709 * dired.el (dired-goto-file): Handle some of the more common
3710 characters that `ls -b' escapes. (Bug#10596)
3711
5ddce96c
GM
3712 * progmodes/compile.el (compilation-next-error-function):
3713 Respect compilation-first-column in the "*compilation*" buffer.
3714 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3715
5ae1a6c8
GM
3716 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3717
b559f1a9
GM
37182012-01-24 Glenn Morris <rgm@gnu.org>
3719
3720 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3721
6725d21a
JD
37222012-01-24 Julien Danjou <julien@danjou.info>
3723
3724 * color.el (color-rgb-to-hsl): Fix value computing.
3725 (color-hue-to-rgb): New function.
3726 (color-hsl-to-rgb): New function.
3727 (color-clamp, color-saturate-hsl, color-saturate-name)
3728 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3729 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3730
70df4bbe
GM
37312012-01-24 Glenn Morris <rgm@gnu.org>
3732
3733 * vc/vc-rcs.el (vc-rcs-create-tag):
3734 * vc/vc-sccs.el (vc-sccs-create-tag):
3735 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3736
802a2ae2
ML
37372012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3738
3739 * eshell/esh-util.el (eshell-read-hosts-file):
3740 Skip comment lines. (Bug#10549)
3741
d7128bb1
ML
3742 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3743
d1a5c3b4
JB
37442012-01-23 Juanma Barranquero <lekktu@gmail.com>
3745
2724d9c7
JB
3746 * subr.el (display-delayed-warnings): Doc fix.
3747 (collapse-delayed-warnings): New function to collapse identical
3748 adjacent warnings.
3749 (delayed-warnings-hook): Add it.
d1a5c3b4 3750
a5509865
MA
37512012-01-22 Michael Albinus <michael.albinus@gmx.de>
3752
3753 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3754
3755 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3756 properties, when "login-as" is set.
3757
3758 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3759 (tramp-default-user-alist): Don't add "pscp".
3760 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3761 property "login-as", if set. (Bug#10530)
3762
cc6d5805
MA
37632012-01-21 Michael Albinus <michael.albinus@gmx.de>
3764
3765 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3766 "plink1" and "psftp". (Bug#10530)
3767
37682012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3769
3770 * international/mule-cmds.el (prefer-coding-system): Show a
3771 warning message if the default value of file-name-coding-system
3772 was not changed.
3773
f0960428
JC
37742012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3775
cb882333
JB
3776 * windmove.el (windmove-reference-loc):
3777 Fix windmove-reference-loc miscalculation.
f0960428 3778
dd6f2a63
JB
37792012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3780
3781 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3782 default unit.
3783
7b447e9b
GM
37842012-01-21 Glenn Morris <rgm@gnu.org>
3785
117a9ea1
GM
3786 * international/mule.el (auto-coding-alist): Add .tbz.
3787
7b447e9b
GM
3788 * files.el (local-enable-local-variables): Doc fix.
3789 (inhibit-local-variables-regexps): Rename from
3790 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3791 Doc fix. Add some extensions from auto-coding-alist.
3792 (inhibit-local-variables-suffixes):
3793 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3794 (inhibit-local-variables-p):
3795 New function, extracted from set-auto-mode-1.
3796 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3797 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3798 (hack-local-variables): Doc fix. Make the mode-only case
3799 respect enable-local-variables and friends.
3800 Respect inhibit-local-variables-regexps for file-locals, but
3801 not for directory-locals.
3802 (set-visited-file-name):
3803 Take account of inhibit-local-variables-regexps.
3804 Whether it applies may change as the file name is changed.
3805 * jka-cmpr-hook.el (jka-compr-install):
3806 * jka-compr.el (jka-compr-uninstall):
3807 Update for inhibit-first-line-modes-suffixes name change.
3808
dd6e3cdd
MR
38092012-01-20 Martin Rudalics <rudalics@gmx.at>
3810
3811 * help-macro.el (make-help-screen): Temporarily restore original
3812 binding for minor-mode-map-alist (Bug#10454).
3813
0d0deb38
JD
38142012-01-19 Julien Danjou <julien@danjou.info>
3815
3816 * color.el (color-name-to-rgb): Use the white color to find the max
3817 color component value and return correctly computed values.
3818 (color-name-to-rgb): Add missing float conversion for max value.
3819
34a02f46
MR
38202012-01-19 Martin Rudalics <rudalics@gmx.at>
3821
3822 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3823 special state value for window-persistent-parameters.
3824 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3825 (window--state-put-2): Reset all window parameters to nil before
3826 assigning values of persistent parameters.
3827
606c44c4
AM
38282012-01-18 Alan Mackenzie <acm@muc.de>
3829
3830 Eliminate sluggishness and hangs in fontification of "semicolon
3831 deserts".
3832
cb882333
JB
3833 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3834 Change value 10000 -> 3000.
606c44c4
AM
3835 (c-state-safe-place): Reformulate so it doesn't stack up an
3836 infinite number of wrong entries in c-state-nonlit-pos-cache.
3837 (c-determine-limit-get-base, c-determine-limit): New functions to
3838 determine backward search limits disregarding literals.
3839 (c-find-decl-spots): Amend commenting.
3840 (c-cheap-inside-bracelist-p): New function which detects "={".
3841
3842 * progmodes/cc-fonts.el
3843 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3844 backward search.
3845 (c-font-lock-declarations): Fix an occurrence of point being
3846 undefined. Check additionally for point being in a bracelist or
3847 near a macro invocation without a semicolon so as to avoid a
3848 fruitless time consuming search for a declarator. Give a more
3849 precise search limit for declarators using the new
3850 c-determine-limit.
3851
f3860cea
GM
38522012-01-18 Glenn Morris <rgm@gnu.org>
3853
3854 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3855 (set-auto-mode): Doc fixes.
3856
1db03b16
GM
38572012-01-17 Glenn Morris <rgm@gnu.org>
3858
0e6038be
GM
3859 * isearch.el (search-nonincremental-instead): Fix doc typo.
3860
1db03b16
GM
3861 * dired.el (dired-insert-directory): Handle newlines in directory name.
3862 (dired-build-subdir-alist): Unescape newlines in directory name.
3863
4cb0aa75
MA
38642012-01-17 Michael Albinus <michael.albinus@gmx.de>
3865
3866 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3867 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3868 (tramp-action-terminal): Use it. (Bug#10530)
3869
1d00653d
SM
38702012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3873
6a6ee00d
MR
38742012-01-16 Martin Rudalics <rudalics@gmx.at>
3875
3876 * window.el (window-state-ignored-parameters): Remove variable.
3877 (window--state-get-1): Rename argument MARKERS to IGNORE.
3878 Handle persistent window parameters. Make copy of clone-of
3879 parameter only if requested. (Bug#10348)
3880 (window--state-put-2): Install a window parameter only if it has
3881 a non-nil value or an existing parameter shall be overwritten.
3882
97912def
MA
38832012-01-15 Michael Albinus <michael.albinus@gmx.de>
3884
3885 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3886
688070a5
EZ
38872012-01-14 Eli Zaretskii <eliz@gnu.org>
3888
3889 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3890 don't pass the (nil) value of `upnode' to string-match.
3891
301afadc
CY
38922012-01-14 Chong Yidong <cyd@gnu.org>
3893
3894 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3895 Fix values recognized by the cursorBlink resource.
301afadc 3896
9e5788aa
PE
38972012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3898
3899 * epg.el (epg--make-temp-file): Avoid permission race condition
3900 when running on old Emacs versions (bug#10403).
3901
3cdb7f5a
GM
39022012-01-14 Glenn Morris <rgm@gnu.org>
3903
3904 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3905
8c82b1b4
AM
39062012-01-13 Alan Mackenzie <acm@muc.de>
3907
3908 Fix filling for when filladapt mode is enabled.
3909
3910 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3911 c-mask-paragraph, pass in `fill-paragraph' rather than
3912 `fill-region-as-paragraph'. (This is a reversion of a previous
3913 change.)
eb864a71
LM
3914 * progmodes/cc-mode.el (c-basic-common-init):
3915 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3916
e517eda4
GM
39172012-01-13 Glenn Morris <rgm@gnu.org>
3918
1498536e
GM
3919 * dired.el (dired-switches-escape-p): New function.
3920 (dired-insert-directory): Use dired-switches-escape-p.
3921 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3922
e517eda4
GM
3923 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3924
328f984d
GM
39252012-01-12 Glenn Morris <rgm@gnu.org>
3926
3927 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3928 changes in adaptive-fill-regexp. (Bug#10276)
3929
2cc769a8
AM
39302012-01-11 Alan Mackenzie <acm@muc.de>
3931
3932 Fix Emacs bug #10463 - put `widen's around the critical spots.
3933
1d00653d 3934 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3935 widen around each invocation of c-state-pp-to-literal. Remove an
3936 unused let variable.
3937
e52c37fa
GM
39382012-01-11 Glenn Morris <rgm@gnu.org>
3939
3940 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3941 Doc fix.
e52c37fa 3942
96f8741e
CY
39432012-01-10 Chong Yidong <cyd@gnu.org>
3944
1d00653d
SM
3945 * net/network-stream.el (network-stream-open-starttls):
3946 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3947 response to the capability command.
3948
b09a806e
GM
39492012-01-10 Glenn Morris <rgm@gnu.org>
3950
3951 * mail/unrmail.el (unrmail): Tweak previous change.
3952
7655cb66
CY
39532012-01-09 Chong Yidong <cyd@gnu.org>
3954
3955 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3956
9d5a8f0b
AM
39572012-01-08 Alan Mackenzie <acm@muc.de>
3958
3959 Optimise font locking in long enum definitions.
3960
3961 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3962 arm to a cond form to handle enums.
3963 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3964 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3965
9a0115ab 39662012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3967
3968 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3969 (Bug#10401)
6bb72cbd 3970
f186bb95
LMI
39712012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3972
29232a68
LMI
3973 * faces.el (set-face-attribute): Clarify the meaning of the nil
3974 frame (bug#10294).
3975
4e5d086d
LMI
3976 * subr.el (with-selected-frame): Mention that the selected frame
3977 is restored (bug#9980).
3978
8e66aebe
LMI
3979 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3980 (bug#9759).
3981
cd394be1 3982 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3983 (password-read): Don't autoload unused function.
3984
adf4e762
JB
39852012-01-07 Juanma Barranquero <lekktu@gmail.com>
3986
3987 * progmodes/which-func.el (which-func-mode): Turn into a
3988 non-interactive function and mark as obsolete (bug#10428).
3989
89bd9ccd
CY
39902012-01-06 Chong Yidong <cyd@gnu.org>
3991
3992 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3993 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3994 functions, along with 1 and -1.
3995
4afee9d5
EZ
39962012-01-06 Eli Zaretskii <eliz@gnu.org>
3997
3998 * time.el (display-time-load-average)
3999 (display-time-default-load-average): Doc fixes. See the thread
4000 starting at
4001 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4002 for the details.
4003
536aea70
GM
40042012-01-06 Glenn Morris <rgm@gnu.org>
4005
665ae865
GM
4006 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4007 has no messages. (Bug#10377)
4008
c869783d
GM
4009 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4010 than Info-edit. (Bug#10385)
4011
2bb4227e
GM
4012 * time.el (display-time-load-average, display-time-next-load-average):
4013 Doc fixes.
4014
7d5944b9
GM
4015 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4016 local setting of buffer-read-only to the input buffer. (Bug#10419)
4017
536aea70
GM
4018 * calendar/calendar.el (calendar-mode):
4019 Locally set scroll-margin to 0. (Bug#10379)
4020
7dccca16
UM
40212012-01-06 Ulrich Mueller <ulm@gentoo.org>
4022
4023 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4024
afbb7930
GM
40252012-01-05 Glenn Morris <rgm@gnu.org>
4026
4027 * eshell/em-unix.el (diff-no-select): Autoload it.
4028 (eshell/diff): Use diff-no-select. (Bug#10420)
4029
04482335
CY
40302012-01-05 Chong Yidong <cyd@gnu.org>
4031
7baca3bc
CY
4032 * shell.el (shell-dynamic-complete-functions): Revert last change.
4033 (shell-command-completion-function): New function.
4034 (shell-completion-vars): Use it to implement
4035 shell-completion-execonly (Bug#10417).
4036
04482335
CY
4037 * custom.el (enable-theme): Don't set custom-safe-themes.
4038
1d00653d
SM
4039 * cus-theme.el (custom-theme-merge-theme):
4040 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4041
bb5aa5d6
MM
40422012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4043
4044 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4045 first prompt in `sql-interacive-mode'.
4046 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4047 keywords.
6df6ae42 4048 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4049 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4050 context of original buffer. Invoke `sql-login-hook'.
4051
a7183d7c
EZ
40522012-01-04 Eli Zaretskii <eliz@gnu.org>
4053
4054 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4055 letters in cite-prefix.
4056
a1eacd1e
LMI
40572012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4058
4059 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4060
787cdb34
CY
40612012-01-03 Chong Yidong <cyd@gnu.org>
4062
1d00653d
SM
4063 * shell.el (shell-dynamic-complete-functions):
4064 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4065 comint-filename-completion first (Bug#10417).
4066
30710442
RS
40672012-01-02 Richard Stallman <rms@gnu.org>
4068
4069 * battery.el (battery-status-function):
4070 Detect when to use battery-yeeloong-sysfs.
4071 (battery-echo-area-format): Add string for Yeeloong.
4072 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4073 (battery-yeeloong-sysfs): New function.
4074
f75bfc33
CY
40752012-01-02 Chong Yidong <cyd@gnu.org>
4076
4077 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4078 (dirtrack): Merge code for handling relative filenames in prompt
4079 from shell-dir-cookie-watcher.
4080 (dirtrack-debug-message): New arg to avoid excess format calls.
4081
4082 * shell.el (shell-dir-cookie-re): Variable deleted.
4083 (shell-dir-cookie-watcher): Function deleted.
4084 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4085 with dirtrack-mode.
4086
651e947e
EZ
40872012-01-01 Eli Zaretskii <eliz@gnu.org>
4088
1d00653d
SM
4089 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4090 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4091 libgnutls-26.dll.
4092
94d4c7dc
AS
40932011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4094
4095 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4096
8d43f3cd
EZ
40972011-12-31 Eli Zaretskii <eliz@gnu.org>
4098
4099 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4100 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4101
98c8795a
MA
41022011-12-29 Michael Albinus <michael.albinus@gmx.de>
4103
4104 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4105 also for alternative shells.
4106 (tramp-open-connection-setup-interactive-shell): Check, whether
4107 the shell is a busybox.
4108 (tramp-send-command): Don't suppress multiple prompts for
4109 busyboxes, it hurts.
4110
51281b32
CY
41112011-12-28 Chong Yidong <cyd@gnu.org>
4112
4113 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4114 (gdb-get-source-file): Move mode line update to
4115 gdb-get-source-file (Bug#10087).
4116
2170cb53
CY
41172011-12-25 Chong Yidong <cyd@gnu.org>
4118
4119 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4120 gud-gdb-marker-filter without taking it as an argument.
4121 (gud-gdb-run-command-fetch-lines): Caller changed.
4122 (gud-gdb-completion-function): New variable.
4123 (gud-gdb-completion-at-point): Use it.
4124 (gud-gdb-completions-1): Split from gud-gdb-completions.
4125
4126 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4127 function as separate arguments.
4128 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4129 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4130 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4131 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4132 (gdb-stopped, def-gdb-auto-update-trigger)
4133 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4134 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4135 Callers changed.
2170cb53
CY
4136 (gud-gdbmi-completions): New function.
4137 (gdb): Use it for generating the completion table.
4138
be8b11bb
AM
41392011-12-24 Alan Mackenzie <acm@muc.de>
4140
4141 Introduce a mechanism to widen the region used in context font
1d00653d 4142 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4143
1d00653d
SM
4144 * progmodes/cc-langs.el (c-before-font-lock-functions):
4145 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4146 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4147 functions to be run just before context (etc.) font locking.
4148
4149 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4150 New, functionality extracted from
be8b11bb 4151 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4152 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4153 (c-after-change): Set c-in-after-change-fontification.
4154 (c-set-fl-decl-start): Rejig its interface, so it can be called
4155 from both after-change and context fontifying.
b81d40f0
JB
4156 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4157 New functions.
4158 (c-standard-font-lock-fontify-region-function): New variable.
4159 (c-font-lock-fontify-region): New function.
be8b11bb 4160
341cf6ac
JL
41612011-12-24 Juri Linkov <juri@jurta.org>
4162
4163 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4164 (Bug#10348)
4165
bffcee0a
MA
41662011-12-23 Michael Albinus <michael.albinus@gmx.de>
4167
4168 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4169 existence of source file. (Bug#10325)
4170
cb5e207c
AM
41712011-12-23 Alan Mackenzie <acm@muc.de>
4172
4173 Fix unstable fontification inside templates.
4174
b81d40f0
JB
4175 * progmodes/cc-langs.el (c-before-font-lock-functions):
4176 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4177 additionally has c-set-fl-decl-start. The other languages (apart
4178 from AWK) have that as a single entry.
4179
b81d40f0
JB
4180 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4181 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4182 c-set-fl-decl-start.
4183
b81d40f0
JB
4184 * progmodes/cc-mode.el (c-common-init, c-after-change):
4185 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4186 (c-set-fl-decl-start): New function, extracted from
4187 c-font-lock-enclosing-decls and enhanced.
4188
60ff536c
JB
41892011-12-23 Juanma Barranquero <lekktu@gmail.com>
4190
4191 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4192
1c4757d6
JL
41932011-12-22 Juri Linkov <juri@jurta.org>
4194
4195 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4196
d031f2c7
CY
41972011-12-22 Chong Yidong <cyd@gnu.org>
4198
4199 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4200
bace743a
DA
42012011-12-21 Drew Adams <drew.adams@oracle.com>
4202
4203 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4204
728a1f2b
JC
42052011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4206
4207 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4208
0d373f73
TZ
42092011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4210
fec0aaa4
TZ
4211 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4212 highlighting and support. Fix up comments for capitalization.
4213 (cfengine-mode-debug): New var.
4214 (cfengine3-mode): Change the modeline indicator to "CFE3".
4215 (cfengine3-font-lock-keywords): Improve defun highlighting.
4216 (cfengine2-actions): Rename from `cfengine-actions'.
4217 (cfengine2-font-lock-keywords): Rename from
4218 `cfengine-font-lock-keywords'.
4219 (cfengine2-imenu-expression): Rename from
4220 `cfengine-imenu-expression'.
4221 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4222 (cfengine2-beginning-of-defun): Rename from
4223 `cfengine-beginning-of-defun'.
4224 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4225 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4226 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4227 modeline indicator to "CFE2".
4228 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4229 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4230
bc86f573
CY
42312011-12-21 Chong Yidong <cyd@gnu.org>
4232
4233 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4234 filename argument.
4235
d45ba96b
MR
42362011-12-20 Martin Rudalics <rudalics@gmx.at>
4237
4238 * window.el (window-normalize-buffer-to-display): Remove.
4239 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4240
a6198c90
CY
42412011-12-19 Chong Yidong <cyd@gnu.org>
4242
4243 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4244 Don't signal an error in a predicate function; return non-nil.
4245 (vc-dir-mark-file): Move the error here.
4246 (vc-dir-mark-unmark): If acting on the region, keep going if one
4247 of the entries cannot be marked/unmarked.
4248 (vc-dir-mark-all-files): If current entry is a directory, mark
4249 only child files, as documented.
4250
34c5fb55
VB
42512011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4252
4253 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4254 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4255 addition.
4256
c803b2b7
JD
42572011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4258
4259 * term/ns-win.el (ns-get-selection-internal)
4260 (ns-store-selection-internal): Declare.
1154d12e
JB
4261 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4262 Declare as obsolete.
4263 (ns-get-pasteboard, ns-paste-secondary):
4264 Use ns-get-selection-internal.
4265 (ns-set-pasteboard, ns-copy-including-secondary):
4266 Use ns-store-selection-internal.
c803b2b7 4267
9cff91f8 42682011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4269
4270 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4271 (vc-deduce-fileset): Doc fix.
99a289d9 4272
f16c898a
AS
42732011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4274
4275 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4276
763237c4
SS
42772011-12-13 Sam Steingold <sds@gnu.org>
4278
4279 * man.el (Man-getpage-in-background): When running under a
4280 window-system, ignore $MANWIDTH and $COLUMNS.
4281
5fc1c122
KH
42822011-12-15 Kenichi Handa <handa@m17n.org>
4283
4284 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4285 (setup-ethiopic-environment-internal): Comment out key-binding for
4286 ethio-toggle-punctuation.
4287
13d49cbb
AM
42882011-12-13 Alan Mackenzie <acm@muc.de>
4289
898169a2
AM
4290 Add the switch statement to AWK Mode.
4291
7a71b18d 4292 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4293 "default" to the keywords regexp.
4294
7a71b18d 4295 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4296 expression as the rest.
1d00653d
SM
4297 (c-nonlabel-token-key): Allow string literals for AWK.
4298 Refactor for the other modes.
898169a2 4299
13d49cbb 4300 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4301 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4302 routines. Limit backward searching in c-font-lock-enclosing.decl.
4303
4304 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4305 pp-state and literal type in addition to the limits.
1d00653d 4306 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4307 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4308 (c-slow-in-literal, c-fast-in-literal): Remove.
4309 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4310
4311 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4312 being in a literal. Add a limit for backward searching.
4313
4314 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4315 c-slow-in-literal.
4316
15e0efc7
SM
43172011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4318
4319 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4320
454592a6
MR
43212011-12-13 Martin Rudalics <rudalics@gmx.at>
4322
4323 * window.el (delete-other-windows): Use correct frame in call to
4324 window-with-parameter.
4325
87393f26
DP
43262011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4327
4328 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4329 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4330 (makefile-gmake-statements, makefile-makepp-statements):
4331 Use it and add new makepp keywords.
4332 (makefile-makepp-font-lock-keywords): Add new patterns.
4333 (makefile-match-function-end): Match new [...] and [[...]].
4334
11636b22
JB
43352011-12-11 Juanma Barranquero <lekktu@gmail.com>
4336
4337 * ses.el (ses-call-printer-return, ses-cell-property-get)
4338 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4339 (ses-create-cell-variable, ses-reset-header-string)
4340 (ses-cell-set-formula, ses-repair-cell-reference-all)
4341 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4342 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4343 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4344 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4345 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4346 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4347 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4348 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4349 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4350 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4351 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4352 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4353
cf018193
VB
43542011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4355
4356 * ses.el: The overall change is to add cell renaming, that is
4357 setting fancy names for cell symbols other than name matching
4358 "\\`[A-Z]+[0-9]+\\'" regexp .
4359 (ses-create-cell-variable): New defun.
4360 (ses-relocate-formula): Relocate formulas only for cells the
4361 symbols of which are not renamed, i.e. symbols whose names do not
4362 match regexp "\\`[A-Z]+[0-9]+\\'".
4363 (ses-relocate-all): Relocate values only for cells the symbols of
4364 which are not renamed.
4365 (ses-load): Create cells variables as the (ses-cell ...) are read,
4366 in order to check row col consistency with cell symbol name only
4367 for cells that are not renamed.
4368 (ses-replace-name-in-formula): New defun.
4369 (ses-rename-cell): New defun.
4370
ee957461
CY
43712011-12-11 Chong Yidong <cyd@gnu.org>
4372
4373 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4374 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4375
9a9e9ef0
MR
43762011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4377
4378 * window.el (other-window): Fix docstring.
4379
92a8eba5
EZ
43802011-12-10 Eli Zaretskii <eliz@gnu.org>
4381
4382 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4383 `from' or `to' address before taking its substring.
4384 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4385 encoded name is chopped in the middle of the encoded string, and
4386 thus displayed encoded.
4387
e152e577
JB
43882011-12-10 Juanma Barranquero <lekktu@gmail.com>
4389
4390 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4391
e5d84bfe
EZ
43922011-12-10 Eli Zaretskii <eliz@gnu.org>
4393
4394 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4395 to use texinfo-update-node and commands that call it if the
4396 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4397 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4398 (texinfo-all-menus-update, texinfo-master-menu)
4399 (texinfo-update-node, texinfo-every-node-update)
4400 (texinfo-multiple-files-update): Doc fix. Warn against updating
4401 all the @node lines.
4402 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4403 argument is numeric. Explain better in the doc string what the
4404 function really does.
4405 (texinfo-insert-master-menu-list): Improve the error message
4406 displayed if there's no menu in the Top node.
4407 (Bug#2975) See also this thread:
e5d84bfe
EZ
4408 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4409
1d84e9bb
MG
44102011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4411
4412 * speedbar.el (speedbar-supported-extension-expressions):
4413 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4414
382c953b
JB
44152011-12-09 Juanma Barranquero <lekktu@gmail.com>
4416
4417 * printing.el (pr-mode-alist):
4418 * simple.el (filter-buffer-substring-functions)
4419 (completion-list-insert-choice-function):
4420 * window.el (window-with-parameter, window-atom-root)
4421 (window-sides-slots, window-size-fixed, window-min-delta)
4422 (window-max-delta, window--resize-mini-window)
4423 (window--resize-child-windows-normal, window-tree)
4424 (delete-other-windows, quit-window, split-window)
4425 (display-buffer-record-window, special-display-buffer-names)
4426 (special-display-regexps, special-display-popup-frame)
4427 (same-window-p, split-window-sensibly)
4428 (display-buffer-overriding-action, display-buffer-alist)
4429 (display-buffer-base-action, display-buffer, switch-to-buffer)
4430 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4431 (fit-window-to-buffer, recenter-positions)
4432 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4433 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4434 and remove unneeded backslashes in docstrings.
4435
39c9faef
SM
44362011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4437
98449af8
SM
4438 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4439
39c9faef
SM
4440 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4441 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4442 end in ".mk".
4443 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4444 when reading the makefile (bug#10116).
4445
86ed9fdc
SM
44462011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4449 (bug#10116).
4450
5580f89d
GM
44512011-12-06 Glenn Morris <rgm@gnu.org>
4452
4453 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4454
28d3917c
CY
44552011-12-06 Chong Yidong <cyd@gnu.org>
4456
4457 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4458
a98edce9
JB
44592011-12-06 Juanma Barranquero <lekktu@gmail.com>
4460
4461 * textmodes/table.el (table-shorten-cell): Fix typo.
4462
e65adfac
CG
44632011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4464
4465 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4466
71cc0b74
EZ
44672011-12-05 Eli Zaretskii <eliz@gnu.org>
4468
4469 * descr-text.el (describe-char): Fix display of strong
4470 right-to-left characters and directional embeddings and overrides.
4471
4472 * simple.el (what-cursor-position): Fix display of codepoints of
4473 strong right-to-left characters.
4474
315bc30d
CY
44752011-12-05 Chong Yidong <cyd@gnu.org>
4476
4477 * faces.el (read-color): Doc fix.
4478
58a70b94
GM
44792011-12-05 Glenn Morris <rgm@gnu.org>
4480
4481 * align.el (align--set-marker): Add doc-string.
4482 Don't try to move something that is not a marker. (Bug#10216)
4483
5158face
GM
44842011-12-04 Glenn Morris <rgm@gnu.org>
4485
4486 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4487 overly zealous deletion of trailing whitespace.
4488
520fca41
JB
44892011-12-04 Juanma Barranquero <lekktu@gmail.com>
4490
4491 * server.el (server-delete-client): On Windows, do not try to delete
4492 the only terminal.
4493 (server-process-filter): On Windows, treat requests for a tty frame as
4494 if they were for a GUI frame if the running server is in GUI mode.
4495
5e605a2e
GM
44962011-12-03 Glenn Morris <rgm@gnu.org>
4497
4498 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4499
5c3fe83f
SM
45002011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4501
6f5e57e7
SM
4502 * electric.el: Streamline electric-indent's hook.
4503 (electric-indent-chars): Revert to simple list.
4504 (electric-indent-functions): New var.
4505 (electric-indent-post-self-insert-function): Use it.
4506
5c3fe83f
SM
4507 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4508 there's no inferior buffer (bug#10196).
4509 (prolog-consult-compile): Don't use toggle-read-only.
4510
6bdac736
MA
45112011-12-02 Michael Albinus <michael.albinus@gmx.de>
4512
4513 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4514 interrupt. (Bug#10187)
4515
6131ba7f
SM
45162011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4517
99c79fee
SM
4518 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4519 (bug#9160).
4520
6131ba7f
SM
4521 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4522 (bug#10191).
4523
cb0a02ea
JL
45242011-12-02 Juri Linkov <juri@jurta.org>
4525
4526 * info.el (Info-search): Display "end of manual" when Isearch
4527 reaches the end of single-file Info manual. (Bug#9918)
4528
66e0570c
EZ
45292011-12-02 Eli Zaretskii <eliz@gnu.org>
4530
4531 * isearch.el (isearch-message-prefix): Run the input method part
4532 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4533
02b16839
JL
45342011-12-02 Juri Linkov <juri@jurta.org>
4535
4536 * isearch.el (isearch-occur): Use `word-search-regexp' for
4537 `isearch-word'.
4538 (isearch-search-and-update): Add condition for `isearch-word' and
4539 call `word-search-regexp'. (Bug#10145)
4540
0b950688
GM
45412011-12-01 Glenn Morris <rgm@gnu.org>
4542
4543 * eshell/em-hist.el (eshell-hist-initialize):
4544 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4545 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4546
9505c3c7
SM
45472011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4548
4549 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4550
1bbe96b2 45512011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4552
a1beca85
SM
4553 * progmodes/verilog-mode.el (verilog-pretty-expr):
4554 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4555 verilog, such as += *= and the like.
4556 (verilog-assignment-operator-re): Regular expression to find the
4557 assigment operator in a verilog assignment.
4558 (verilog-assignment-operation-re): Regular expression to find an
4559 assignment statement for pretty-expr.
4560 (verilog-in-attribute-p): Query returns true if point is in an
4561 attribute context; used to skip these for expression line up from
4562 pretty-expr.
4563 (verilog-in-parameter-p): Query returns true if point is in an
4564 parameter definition context; used to skip these for expression
4565 line up from pretty-expr.
4566 (verilog-in-parenthesis-p): Query returns true if point is in a
4567 parenthetical expression, specifically ( ) but not [ ] or { };
4568 used by pretty-expr.
4569 (verilog-just-one-space): If there is no space, don't add one.
4570 (verilog-get-lineup-indent-2): Specifically skip just attribute
4571 contexts for expression lineup, rather than skipping all
4572 parenthetical expressions.
4573 (verilog-calculate-indent): Fix comment, and fix indent.
4574 (verilog-do-indent): Indent declarations in lists (suggested by
4575 Joachim Lechner).
4576 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4577 skeleton items.
4578 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4579 by Alain Mellan).
4580
1bbe96b2 45812011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4582
4583 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4584 parameters with embedded comments. Reported by Ray Stevens.
4585 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4586 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4587 Reported by Tim Holt.
4588 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4589 instantiated by upper module causing wrong expansion until AUTOed a
4590 second time. Reported by K C Buckenmaier.
4591 (verilog-diff-auto): Fix showing .* as a difference when
4592 `verilog-auto-star-save' off. Reported by Dan Dever.
4593 (verilog-auto-reset, verilog-read-always-signals)
4594 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4595 temporary signals in reset list if
4596 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4597 style to each signal's assignment type, bug381.
4598 Reported by Thomas Esposito.
6288f0ca
WS
4599 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4600 (verilog-uvm-statement-re): Support UVM indentation and
4601 highlighting, with old OVM keywords only.
a1beca85 4602 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4603 Support AUTOTIEOFF creating non-wire data types.
4604 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4605 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4606 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4607 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4608 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4609 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4610 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4611 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4612 non-numeric vector width. Reported by Alex Reed.
4613 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4614 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4615 (verilog-auto-delete-trailing-whitespace):
4616 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4617 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4618 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4619 Fix verilog-scan-cache corruption when running user AUTO expansion
4620 hooks that call indentation routines.
4621 (verilog-simplify-range-expression): Fix typo ignoring lower case
4622 identifiers.
4623 (verilog-delete-auto): Fix delete-autos to also remove user created
4624 automatics, as long as they start with AUTO.
4625 (verilog-batch-diff-auto, verilog-diff-auto)
4626 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4627 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4628 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4629 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4630 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4631 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4632 is disabled and its cache will get corrupt, causing AUTOS not to
4633 expand. Instead use only -quick functions.
4634 (verilog-scan-region): Fix scanning over escaped quotes.
4635 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4636 (verilog-re-search-backward-quick)
4637 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4638 related functions now ignore strings, to fix misparsing of strings
4639 with magic comments embedded in them.
a1beca85
SM
4640 (verilog-read-auto-template):
4641 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4642 Reported by Brad Dobbie.
4643 (verilog-read-auto-template):
4644 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4645 Reported by Brad Dobbie.
6288f0ca
WS
4646 (verilog-auto-inst, verilog-auto-inst-param)
4647 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4648 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4649 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4650 debugging templates without merge conflicts, bug357.
4651 Reported by Brad Dobbie.
4652 (verilog-read-auto-template):
4653 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4654 Reported by Brad Dobbie.
4655 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4656 abbrevs so user won't be asked to save.
4657 (verilog-read-auto-lisp-present): Fix to start at beginning of
4658 buffer in case called outside of verilog-auto.
4659 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4660 to "X-2". Reported by Matthew Myers.
4661 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4662 all inputs from module templates. Reported by Leith Johnson.
4663 (verilog-module-inside-filename-p): Fix locating programs as with
4664 modules.
4665 (verilog-auto-inst-port): Fix vl-width expressions when using
4666 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4667 (verilog-decls-get-regs, verilog-decls-get-signals,
4668 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4669 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4670 verilog-read-decls): Combine reg and wire structures into one var
4671 structure to represent SystemVerilog concepts.
4672 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4673 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4674 (verilog-auto-wire-type, verilog-insert-definition):
4675 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4676 SystemVerilog "logic" keyword instead of "wire"/"reg".
4677 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4678 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4679 ifdef or generate if so there's not a driver conflict).
4680 Reported by Matthew Myers.
4681 (verilog-auto-declare-nettype, verilog-insert-definition):
4682 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4683 `default_nettype none. Reported by Julian Gorfajn.
4684 (verilog-read-always-signals-recurse, verilog-read-decls)
4685 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4686 malformed end statement, bug325. Reported by Joshua Wise and
4687 Andrew Drake.
4688 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4689 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4690 when expanding .* in interfaces, bug320.
4691 Reported by Pierre-David Pfister.
6288f0ca 4692 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4693 name and open parenthesis, bug317.
4694 Reported by Pierre-David Pfister.
6288f0ca
WS
4695 (verilog-simplify-range-expression): Fix simplification of
4696 multiplications inside AUTOWIRE connections, bug303.
4697 (verilog-auto-inst-port): Support parameter expansion in
4698 multidimensional arrays.
4699 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4700 after "assert property". Reported by Julian Gorfajn.
4701 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4702 with multiplication, bug303.
4703 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4704 Reported by Jan Frode Lonnum.
4705
1bbe96b2
GM
47062011-11-30 Juanma Barranquero <lekktu@gmail.com>
4707
4708 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4709 (hfy-shell-file-name, hfy-shell):
4710 * international/fontset.el (x-decompose-font-name): Fix typos.
4711
47122011-11-29 Ken Brown <kbrown@cornell.edu>
4713
4714 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4715 (gdb-version): Remove defvar.
4716 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4717 (gdb-gud-context-command, gdb-non-stop-handler)
4718 (gdb-current-context-command, gdb-stopped): Use it.
4719 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4720 (gdb-non-stop-handler): Don't enable pretty-printing here.
4721 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4722 non-stop mode. Use the following.
4723 (gdb-check-target-async): New defun.
4724 (gud-watch, gdb-stopped): Fix whitespace.
4725 (gdb-get-source-file): Don't try to display the source file if
4726 `gdb-main-file' is nil.
4727
47282011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * align.el: Try to generate fewer markers (bug#10047).
4731 (align--set-marker): New macro.
4732 (align-region): Use it.
4733
c935221f
SM
47342011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4735
4736 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4737
e70b5064
CY
47382011-11-29 Chong Yidong <cyd@gnu.org>
4739
4740 * indent.el (indent-for-tab-command, indent-according-to-mode):
4741 Doc fix.
4742 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4743
f3af92b7
MA
47442011-11-29 Michael Albinus <michael.albinus@gmx.de>
4745
4746 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4747 aware of remote file names. (Bug#10124)
4748
ed472be9
CY
47492011-11-29 Chong Yidong <cyd@gnu.org>
4750
4751 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4752
24510c22
SM
47532011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4754
4755 * files.el (find-file): Don't use force-same-window (bug#10144).
4756 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4757 use pop-to-buffer if the selected window can't be used.
4758 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4759
c60c3703
EZ
47602011-11-28 Eli Zaretskii <eliz@gnu.org>
4761
4762 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4763 special-mode-map.
4764
e95def75
CY
47652011-11-28 Chong Yidong <cyd@gnu.org>
4766
4767 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4768
c3f1c606
NR
47692011-11-27 Nick Roberts <nickrob@snap.net.nz>
4770
4771 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4772 gdb-get-source-file-list on gdb-create-source-file-list.
4773
00db469c
EZ
47742011-11-26 Eli Zaretskii <eliz@gnu.org>
4775
4776 * whitespace.el (whitespace-newline): Use a different foreground
4777 color for 16-color light-background displays.
4778
4ad3bc2a
CY
47792011-11-24 Chong Yidong <cyd@gnu.org>
4780
4781 * window.el (display-buffer--special-action): Doc fix.
4782
e9fce1ac
JB
47832011-11-25 Juanma Barranquero <lekktu@gmail.com>
4784
4785 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4786 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4787 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4788 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4789 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4790 (avl-tree-stack-first):
4791 * emacs-lisp/cconv.el (cconv--analyse-use):
4792 * net/gnutls.el (gnutls-negotiate): Fix typos.
4793
cb825e5d
GM
47942011-11-24 Glenn Morris <rgm@gnu.org>
4795
3adbe224
GM
4796 * lpr.el (lpr-windows-system, lpr-lp-system):
4797 * mail/binhex.el (binhex-begin-line):
4798 * progmodes/grep.el (grep-history, grep-find-history):
4799 * textmodes/flyspell.el:
4800 * vc/pcvs-defs.el (cvs-global-menu):
4801 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4802 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4803 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4804
321decc8
GM
4805 * net/tls.el: Fix case of "GnuTLS".
4806
420b63ad
GM
4807 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4808
cb825e5d
GM
4809 * version.el (emacs-build-system): Give it a doc-string.
4810
a0649f08
JL
48112011-11-24 Juri Linkov <juri@jurta.org>
4812
4813 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4814
c0bc0fd4
GM
48152011-11-24 Glenn Morris <rgm@gnu.org>
4816
4817 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4818 if called on a non-mime message just toggle the headers. (Bug#8006)
4819
20db1522
JB
48202011-11-24 Juanma Barranquero <lekktu@gmail.com>
4821
4822 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4823 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4824 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4825 (allout-rebullet-heading, allout-open-sibtopic)
4826 (allout-toggle-current-subtree-encryption)
4827 (allout-toggle-subtree-encryption, allout-encrypt-string)
4828 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4829 (allout-distinctive-bullets-string, allout-auto-activation):
4830 * window.el (window-normalize-buffer-to-display):
4831 * progmodes/verilog-mode.el (verilog-batch-indent):
4832 * textmodes/bibtex.el (bibtex-field-braces-opt)
4833 (bibtex-field-strings-opt):
4834 * vc/cvs-status.el (cvs-tree-merge):
4835 Fix typos.
4836
7262a87c
MA
48372011-11-23 Michael Albinus <michael.albinus@gmx.de>
4838
4839 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4840 `non-essential' to t, in order to avoid remote connections.
4841
283430a1
EZ
48422011-11-23 Eli Zaretskii <eliz@gnu.org>
4843
a1beca85
SM
4844 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4845 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4846 case-insensitively.
4847
d2992a38
ML
48482011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4849
4850 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4851
50419064
GM
48522011-11-23 Glenn Morris <rgm@gnu.org>
4853
da94eca1
GM
4854 * paths.el (rmail-file-name): Reformat the doc-string so that it
4855 is picked up.
4856
9aac4de2
GM
4857 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4858 (rmail-auto-file): Ignore case in the "special" field names,
4859 as mail-fetch-field does for all others.
4860
8038d2d2
GM
4861 * mail/rmail.el (rmail-forward):
4862 * mail/rmailkwd.el (rmail-set-label):
4863 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4864 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4865
f3fe222a
GM
4866 * mail/rmail.el (rmail-current-message): Doc fix.
4867
50419064
GM
4868 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4869
28109f49
SM
48702011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4871
4872 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4873
394c65f1
GM
48742011-11-22 Glenn Morris <rgm@gnu.org>
4875
4876 * mail/rmailmm.el (test-rmail-mime-handler)
4877 (test-rmail-mime-bulk-handler)
4878 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4879
f2a0aa3a
JL
48802011-11-21 Juri Linkov <juri@jurta.org>
4881
1154d12e
JB
4882 * calc/calc.el (calc-read-key-sequence):
4883 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4884
9c34a344
LMI
48852011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4886
4887 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4888 Tell the caller that the next line needs recomputation, even
4889 though it doesn't start a sexp (bug#10094).
4890
f04a3be9
SM
48912011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4894
7978747f
SM
48952011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4896
f04a3be9
SM
4897 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4898 Use force-same-window.
7978747f 4899
fe7a3057
JB
49002011-11-20 Juanma Barranquero <lekktu@gmail.com>
4901
4902 * descr-text.el (describe-char-unicode-data):
4903 * json.el (json-string-escape):
4904 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4905 (Footnote-unicode, Footnote-style-p):
4906 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4907
24901d61
CY
49082011-11-20 Chong Yidong <cyd@gnu.org>
4909
4910 * window.el (replace-buffer-in-windows): Restore interactive spec.
4911
bac7ff22
SM
49122011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4913
24f3d7b9
SM
4914 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4915
bac7ff22
SM
4916 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4917 (byte-compile-global-not-obsolete-vars): New var.
4918 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4919 Use it.
4920 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4921
cd1181db
JB
49222011-11-20 Juanma Barranquero <lekktu@gmail.com>
4923
4924 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4925 * progmodes/pascal.el (electric-pascal-equal):
4926 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4927 * xml.el (xml-substitute-special): Fix typos.
4928
7fb18e9e
GM
49292011-11-20 Glenn Morris <rgm@gnu.org>
4930
4931 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4932 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4933 Doc fixes.
4934 (rmail-decode-mime-charset): Mark as obsolete.
4935
4936 * mail/rmailsum.el (rmail-message-regexp-p-1):
4937 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4938 Before using mime functions, check they are set. (Bug#10077)
4939
d5a6b3ba
JL
49402011-11-19 Juri Linkov <juri@jurta.org>
4941
4942 * info.el (Info-finder-find-node): Use `package--builtins' instead
4943 of `package-alist'. Use node names formed by the pattern "Keyword "
4944 and the keyword name.
4945
e981b61f
AS
49462011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4947
1d00653d 4948 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4949
3ffbc301
JL
49502011-11-19 Juri Linkov <juri@jurta.org>
4951
4952 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4953 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4954 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4955 `old-history', `old-history-forward'. Add let-binding
4956 `window-selected'. Remove calls to `kill-buffer',
4957 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4958 before calling `Info-find-node', so `Info-find-node-2' will reread
4959 the Info file. Restore window positions only when `window-selected'
4960 is non-nil.
4961
30c62133
JL
49622011-11-19 Juri Linkov <juri@jurta.org>
4963
4964 * isearch.el (isearch-lazy-highlight-new-loop):
4965 Remove condition `(not isearch-error)'. (Bug#9918)
4966
4967 * misearch.el (multi-isearch-search-fun): Add condition
4968 `(not bound)' to ignore lazy-highlighting search.
4969 Add the search-failed message "end of multi" when the end of
4970 multi-sequence is reached. Uncapitalize the search-failed
4971 message "Repeat for next buffer".
4972
4973 * info.el (Info-search): Add the search-failed message
4974 "end of the manual" when the end of the manual is reached
4975 in Isearch mode.
4976
645ca9cf
JL
49772011-11-19 Juri Linkov <juri@jurta.org>
4978
4979 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4980 Use non-destructive `remove' instead of `delete' because
4981 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4982 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4983
df754f66
JL
49842011-11-19 Juri Linkov <juri@jurta.org>
4985
4986 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4987 to nil instead of binding `search-ring' and `regexp-search-ring'.
4988 (Bug#9185)
4989
0e23d96a
EZ
49902011-11-19 Eli Zaretskii <eliz@gnu.org>
4991
4992 * simple.el (line-move): Force movement by logical lines for any
4993 hscrolled window, not only when auto-hscroll-mode is on.
4994 (line-move-visual): Update doc string to that effect. (Bug#10076)
4995
8a6ccb66
AS
49962011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4997
4998 * language/european.el (macintosh): Define as alias for mac-roman.
4999
49ae5b39
EZ
50002011-11-19 Eli Zaretskii <eliz@gnu.org>
5001
5002 * mail/rmailmm.el (rmail-mime-display-header)
5003 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5004 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5005 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5006 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5007 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5008 of a raw aref.
5009 (rmail-mime-entity-segment): To get past the tagline, move forward
5010 2 more lines, to account for the 2 empty lines that precede and
5011 follow the line with the buttons.
5012 (rmail-mime-update-tagline): Move one more line, to get past the
5013 empty line that follows the buttons in the tagline. (Bug#9520)
5014
c56cad4a
MR
50152011-11-19 Martin Rudalics <rudalics@gmx.at>
5016
5017 * window.el (window-max-delta-1, window-min-delta-1)
5018 (window-min-size-1, window-state-get-1, window-state-put-1)
5019 (window-state-put-2): Use "window--" prefix.
5020
cbe71af3
SM
50212011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5022
2ad52c60
SM
5023 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5024 (smie-warning-count): New var.
5025 (smie-set-prec2tab): Use it.
5026 (smie-bnf->prec2): Improve warnings. Add docstring.
5027 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5028 (smie-bnf--set-class): New function.
5029 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5030 corner case.
5031
6944dbc1
SM
5032 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5033 (compilation-error-properties, compilation-move-to-column):
5034 Handle compilation-first-column while in the target buffer.
5035
c400c4d7
SM
5036 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5037 Don't hardcode point-min==1.
5038
6dbe3e96
SM
5039 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5040 (eshell-rewrite-for-command): Remove workaround.
5041 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5042 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5043 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5044
cbe71af3
SM
5045 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5046
a8e1496d
GM
50472011-11-17 Glenn Morris <rgm@gnu.org>
5048
5049 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5050 Ignore buffer-local generated-autoload-file if it is the same
5051 as the global value. (Bug#10049)
5052
df85d315
JB
50532011-11-17 Juanma Barranquero <lekktu@gmail.com>
5054
5055 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5056 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5057 (reftex-toc-previous-heading, reftex-toc-max-level)
5058 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5059 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5060 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5061 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5062 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5063 (reftex-toc-rename-label, reftex-toc-visit-location)
5064 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5065 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5066 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5067 leaving "*toc*" only for references to the buffer.
5068
a0c2d0ae
MR
50692011-11-17 Martin Rudalics <rudalics@gmx.at>
5070
5071 * window.el (window-resize, delete-window, split-window):
5072 Replace window-splits by window-combination-resize.
1d00653d 5073 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5074
35c0bac8
GM
50752011-11-17 Glenn Morris <rgm@gnu.org>
5076
5077 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5078 Make bash entry derive from sh entry, not shell entry.
5079
d0c8fc8a
MA
50802011-11-16 Michael Albinus <michael.albinus@gmx.de>
5081
d0c8fc8a
MA
5082 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5083 properties of linked files. (Bug#9879)
5084
7262a87c
MA
5085 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5086 local file name.
5087
7877f373
JB
50882011-11-16 Juanma Barranquero <lekktu@gmail.com>
5089
5090 * menu-bar.el (menu-bar-file-menu):
5091 * printing.el (pr-ps-utility):
5092 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5093 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5094 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5095 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5096 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5097 (icalendar--convert-cyclic-to-ical)
5098 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5099 (icalendar--convert-ical-to-diary)
5100 (icalendar--convert-recurring-to-diary)
5101 (icalendar--convert-non-recurring-all-day-to-diary)
5102 (icalendar-import-format-sample):
5103 * progmodes/idlw-shell.el (idlwave-shell-mode):
5104 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5105 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5106 (vhdl-ps-print-init): Fix typos.
5107
10649b82
KM
51082011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5109
9d0cfcd6
GM
5110 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5111 FSF and collapse date sequence, obscure author/maintainer email address
5112 better, remove extra version line, track relocation of author's webpage.
10649b82 5113
9d0cfcd6
GM
5114 * progmodes/python.el (python-pdbtrack-input-prompt)
5115 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5116 regular python pdb prompts. Adjustments shamelessly taken exactly as
5117 suggested in EmacsWiki page (tiny change):
5118 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5119
58179cce
JB
51202011-11-16 Juanma Barranquero <lekktu@gmail.com>
5121
5122 * expand.el (expand-pos, expand-index, expand-point):
5123 Remove redundant info from docstring.
5124 (expand-add-abbrevs): Doc fix.
5125 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5126 (expand-sample-perl-mode-expand-list): Fix typos.
5127
5128 * net/dbus.el (dbus-event-member-name):
5129 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5130 * term/pc-win.el (msdos-create-frame-with-faces):
5131 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5132
b6f67890
MR
51332011-11-16 Martin Rudalics <rudalics@gmx.at>
5134
5135 * window.el (split-window, window-state-get-1)
5136 (window-state-put-1, window-state-put-2): Rename occurrences of
5137 window-nest to window-combination-limit.
1d00653d 5138 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5139
ce7ddba0
CY
51402011-11-16 Chong Yidong <cyd@gnu.org>
5141
5142 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5143 regexp (Bug#10033).
5144
3ae704f4
SM
51452011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5148 `completing-read' will remove *Completions* and will preserve
5149 current-buffer for us.
5150 (tmm-add-prompt): Users of *Completions* will always (re)set its
5151 major mode.
5152 (tmm-old-comp-map): Remove.
5153
6ad1cdde
GM
51542011-11-16 Glenn Morris <rgm@gnu.org>
5155
5156 * mail/rmailedit.el: Require rmailmm when compiling.
5157 (rmail-old-mime-state): New declaration.
5158 (rmail-edit-current-message): If editing a mime message,
5159 edit the "raw" message from the mbox buffer.
5160 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5161
d20faa20
GM
51622011-11-15 Glenn Morris <rgm@gnu.org>
5163
5164 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5165 which wasn't being used. Add optional arg to force given state.
5166 (rmail-mime): Add optional arg to force given state.
5167
c7015153
JB
51682011-11-15 Juanma Barranquero <lekktu@gmail.com>
5169
5170 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5171 * frame.el (display-mm-dimensions-alist):
5172 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5173 (outline-move-subtree-down):
5174 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5175 (newsticker--treeview-do-get-node):
5176 * net/quickurl.el (quickurl-list-buffer-name):
5177 * progmodes/dcl-mode.el (dcl-mode):
5178 * progmodes/gdb-mi.el (gdb-mapcar*):
5179 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5180
45261b50
GM
51812011-11-15 Glenn Morris <rgm@gnu.org>
5182
5183 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5184 in a boolean sense, so just make it a boolean, and fix the doc.
5185 (rmail-show-mime-function, rmail-mime-feature)
5186 (rmail-require-mime-maybe): Doc fixes.
5187 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5188
5189 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5190
0d26e0b6
JB
51912011-11-15 Juanma Barranquero <lekktu@gmail.com>
5192
5193 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5194 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5195 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5196 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5197
447f30f6
GM
51982011-11-15 Glenn Morris <rgm@gnu.org>
5199
672b871d
GM
5200 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5201 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5202 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5203 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5204 (rmail-mime, rmail-show-mime): Doc fixes.
5205
f6aa5bb1
GM
5206 * term/ns-win.el (mode-line-frame-identification):
5207 Leave it alone. (Bug#10051)
5208
947cd66b
GM
5209 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5210
447f30f6
GM
5211 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5212 Handle empty buffers. (Bug#9978)
5213
0b381c7e
JB
52142011-11-14 Juanma Barranquero <lekktu@gmail.com>
5215
5216 * international/mule.el (define-charset):
5217 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5218 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5219 * progmodes/verilog-mode.el (verilog-backward-token):
5220 * textmodes/ispell.el (lookup-words):
5221 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5222
71e027ac
GM
52232011-11-14 Glenn Morris <rgm@gnu.org>
5224
56632ce4
GM
5225 * progmodes/executable.el
5226 (executable-make-buffer-file-executable-if-script-p):
5227 Handle file-modes returning nil.
5228
40500957
GM
5229 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5230 message - not necessary, and causes problems. (Bug#9831)
5231
071c2340
GM
5232 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5233
d3cfca60
GM
5234 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5235
71e027ac
GM
5236 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5237 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5238 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5239
89d61221
MR
52402011-11-12 Martin Rudalics <rudalics@gmx.at>
5241
5242 * window.el (window-resize, delete-window): Use window-splits
5243 variable instead of function.
5244 (window-state-get-1, window-state-put-2, window-state-put):
5245 Don't deal with windows' splits status.
5246
98282f6f
GM
52472011-11-12 Glenn Morris <rgm@gnu.org>
5248
5249 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5250 (apropos-documentation): Doc fixes.
5251
40a8bdf6
JB
52522011-11-11 Juanma Barranquero <lekktu@gmail.com>
5253
5254 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5255 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5256
65bd19ff
SM
52572011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5258
5259 * electric.el (electric-indent-post-self-insert-function): Make it
5260 possible for a char to only indent in some circumstances.
5261 (electric-indent-mode): Simplify.
5262
54f9154c
MR
52632011-11-11 Martin Rudalics <rudalics@gmx.at>
5264
5265 * window.el (windows-with-parameter): Remove unused function.
5266 (windows-at-side): Rename to window-at-side-list.
5267 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5268 (window-side-check, window-size-ignore, window-size-fixed-1)
5269 (window-in-direction-2): Prefix with "window--".
5270 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5271
68cbc58b
GM
52722011-11-11 Glenn Morris <rgm@gnu.org>
5273
5274 * subr.el (eval-after-load): If FILE is already loaded,
5275 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5276
b2621720
GM
52772011-11-10 Glenn Morris <rgm@gnu.org>
5278
9a4de110
GM
5279 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5280 Call svn via vc-svn-command rather than vc-do-command.
5281 (vc-svn-command): Add --non-interactive. (Bug#9993)
5282 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5283
b2621720
GM
5284 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5285 Add toggle-read-only. (Bug#7292)
5286 * files.el (toggle-read-only): Mention that it should only
5287 be used interactively. (Bug#10006)
5288
1dce7193
SM
52892011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5290
d9ac1a1e
SM
5291 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5292 Adjust regexp for OCaml warnings.
5293
0c325082
SM
5294 * electric.el (electric-pair-post-self-insert-function): Let user
5295 turn it off buffer-locally (bug#9932).
5296
90132c14
SM
5297 * progmodes/python.el (python-beginning-of-statement):
5298 Rewrite (bug#2703).
5299
1dce7193
SM
5300 * progmodes/compile.el: Better handle TABs (bug#9749).
5301 (compilation-internal-error-properties)
5302 (compilation-next-error-function): Obey the target buffer's
5303 compilation-error-screen-columns.
5304
c4e7c63a
JB
53052011-11-09 Juanma Barranquero <lekktu@gmail.com>
5306
5307 * progmodes/meta-mode.el: Remove obsolete comments.
5308 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5309 Fix typos in docstrings.
5310
2cffd681
MR
53112011-11-09 Martin Rudalics <rudalics@gmx.at>
5312
5313 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5314 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5315 (window--resizable): New function. Make all callers of
5316 window-resizable call window--resizable instead.
5317 (window-resizable): Rewrite in terms of window--resizable.
5318
0edcba87
GM
53192011-11-08 Glenn Morris <rgm@gnu.org>
5320
5321 * progmodes/delphi.el (delphi-mode-syntax-table):
5322 Let define-derived-mode define a proper syntax table. (Bug#9994)
5323
4b0d61e3
SM
53242011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 * window.el: Stay away from defsubst.
5327 (window-list-no-nils): Remove.
5328 (window-state-get-1, window-state-get): Use backquote instead.
5329
cd394be1 53302011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5331
4b0d61e3 5332 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5333 Fix incorrect use of default argument in `completing-read'.
5334
e1c2c6f2
MR
53352011-11-08 Martin Rudalics <rudalics@gmx.at>
5336
5337 * window.el (display-buffer-function, special-display-function):
5338 Mention display-buffer-record-window but do not mention
5339 help-setup parameter in doc-strings.
b3f4a882 5340 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5341
105216ed
CY
53422011-11-08 Chong Yidong <cyd@gnu.org>
5343
5344 * window.el (window-total-height, window-total-width): Doc fix.
5345 (window-body-size): Move from C.
5346 (window-body-height, window-body-width): Move to C.
5347
0a9f9ab5
SM
53482011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5349
5350 * window.el: Make special-display like display-buffer-alist (bug#9532).
5351 (display-buffer--special-action): New function, morphed
5352 from display-buffer--special.
5353 (display-buffer): Use it to handle special-display-buffers at higher
5354 priority (just after display-buffer-alist).
5355 (display-buffer-fallback-action, display-buffer--other-frame-action)
5356 (pop-to-buffer-same-window): Remove display-buffer--special.
5357
a769dd15
GM
53582011-11-07 Glenn Morris <rgm@gnu.org>
5359
5360 * calendar/cal-menu.el (cal-menu-set-date-title):
5361 Do nothing if not in a calendar. (Bug#9976)
5362
05a61ee3
SM
53632011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * files.el (find-file): Always use selected-window.
5366
be7f5545
MR
53672011-11-07 Martin Rudalics <rudalics@gmx.at>
5368
5369 * window.el (window-combinations): Make WINDOW argument
5370 mandatory. Rewrite doc-string.
5371 (walk-window-subtree, window-atom-check, window-min-delta)
5372 (window-max-delta, window--resize-this-window)
5373 (window--resize-root-window-vertically, window-tree)
5374 (balance-windows, window-state-put): Rewrite doc-strings as to
5375 not mention the term "subwindow".
5376 (window--resize-subwindows-skip-p): Rename to
5377 window--resize-child-windows-skip-p.
5378 (window--resize-subwindows-normal): Rename to
5379 window--resize-child-windows-normal.
5380 (window--resize-subwindows): Rename to
5381 window--resize-child-windows.
5382 (window-or-subwindow-p): Rename to window--in-subtree-p.
5383
3c6702ef
ML
53842011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5385
5386 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5387 Ensure that mbox format messages end in two newlines (Bug#9974).
5388
49745b39
CY
53892011-11-06 Chong Yidong <cyd@gnu.org>
5390
5391 * window.el (window-combination-p): Function deleted; its
5392 side-effect is not used in any existing code.
5393 (window-combinations, window-combined-p): Call window-*-child
5394 directly.
5395
24300f5f
CY
53962011-11-05 Chong Yidong <cyd@gnu.org>
5397
5398 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5399 (window-size-ignore, window-state-get): Callers changed.
5400 (window-normalize-window): Rename from window-normalize-any-window.
5401 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5402 (window-normalize-live-window): Delete.
447f16b8
CY
5403 (window-combination-p, window-combined-p, window-combinations)
5404 (walk-window-subtree, window-atom-root, window-min-size)
5405 (window-sizable, window-sizable-p, window-size-fixed-p)
5406 (window-min-delta, window-max-delta, window-resizable)
5407 (window-resizable-p, window-full-height-p, window-full-width-p)
5408 (window-current-scroll-bars, window-point-1, set-window-point-1)
5409 (window-at-side-p, window-in-direction, window-resize)
5410 (adjust-window-trailing-edge, maximize-window, minimize-window)
5411 (window-deletable-p, delete-window, delete-other-windows)
5412 (record-window-buffer, unrecord-window-buffer)
5413 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5414 (quit-window, split-window, window-state-put)
5415 (set-window-text-height, fit-window-to-buffer)
5416 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5417
89bd5ee1
EZ
54182011-11-04 Eli Zaretskii <eliz@gnu.org>
5419
53479029
EZ
5420 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5421 rfc2047-decode-string.
5422 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5423 warnings.
5424
89bd5ee1
EZ
5425 * window.el (window-body-height, window-body-width): Mention in
5426 the doc string that the return values are in frame's canonical
5427 units. (Bug#9949)
5428
bd17fdee
AM
54292011-11-03 Alan Mackenzie <acm@muc.de>
5430
5431 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5432 change in cc-engine.el.
5433
acc825c5
SM
54342011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5435
5436 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5437
1885e5b8
MR
54382011-11-02 Martin Rudalics <rudalics@gmx.at>
5439
5440 * window.el (quit-window): Call unrecord-window-buffer after
5441 showing another buffer in the window. (Bug#9937)
acc825c5 5442 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5443
ebe06da9
JB
54442011-11-02 Juanma Barranquero <lekktu@gmail.com>
5445
5446 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5447 Accept status with more than 9 shelves. (Bug#9935)
5448 Reported by Colin D Bennett <colin@gibibit.com>.
5449
4ee88440
MR
54502011-11-01 Martin Rudalics <rudalics@gmx.at>
5451
5452 * help.el (with-help-window): Don't reference
5453 temp-buffer-show-specifiers in doc-string.
5454
08e1d82c
AS
54552011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5456
5457 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5458 menu-item.
5459
84bd6e9e
VJL
54602011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5461
5462 * whitespace.el: New version 13.2.2.
5463 (whitespace-newline-mode): Disable properly. Reported by Sarah
5464 <EmacsWiki>.
5465
dba0634a
UJ
54662011-10-30 Ulf Jasper <ulf.jasper@web.de>
5467
5468 * net/newst-treeview.el: Remove "Time-stamp".
5469 (newsticker--group-manage-orphan-feeds): Do not call
5470 newsticker--treeview-tree-update.
db22a3c2
JB
5471 (newsticker-treeview-update, newsticker-treeview):
5472 Call newsticker--treeview-tree-update if necessary.
dba0634a 5473
3d8daefe
MR
54742011-10-30 Martin Rudalics <rudalics@gmx.at>
5475
5476 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5477 (window-iso-combinations): Remove "iso-" infix.
5478 Suggested by Chong Yidong.
3d8daefe
MR
5479 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5480 (window-max-delta-1, window-resize, window--resize-siblings)
5481 (window--resize-this-window, adjust-window-trailing-edge)
5482 (split-window, balance-windows-1)
5483 (shrink-window-if-larger-than-buffer):
5484 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5485 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5486
1bc4c3ae
SM
54872011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5488
5489 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5490 in place (bug#9907).
5491 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5492 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5493 (eshell-structure-basic-command, eshell-rewrite-while-command)
5494 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5495 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5496 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5497 (eshell-do-pipelines-synchronously, eshell-eval-command):
5498 Use backquotes and prefer setq to set.
5499 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5500 (eshell-macrop): Use functionp.
c1e2f5fa 5501 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5502
30b65d9c
CY
55032011-10-30 Chong Yidong <cyd@gnu.org>
5504
5505 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5506 instead of set-mark (Bug#9810).
5507
2d197ffb
CY
55082011-10-30 Chong Yidong <cyd@gnu.org>
5509
5510 * window.el (split-window-below, split-window-right): Rename from
5511 split-window-above-each-other and split-window-side-by-side
5512 respectively. All callers changed.
5513 (split-window-sensibly, split-window-sensibly): Use them.
5514 (split-window-keep-point): Doc fix.
5515
5516 * isearch.el: Add isearch-scroll property to split-window-below
5517 and split-window-right.
5518
5519 * follow.el (follow-mode):
5520 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5521 * progmodes/ada-xref.el (ada-gdb-application):
5522 * emulation/vip.el (vip-buffer-in-two-windows):
5523 * image-dired.el (image-dired-dired-with-window-configuration):
5524 * dired-x.el (dired-do-find-marked-files):
5525 * dired.el (dired-pop-to-buffer):
5526 * bs.el (bs--show-with-configuration):
5527 * vc/emerge.el (emerge-setup-windows):
5528 * textmodes/two-column.el (2C-two-columns):
5529 * textmodes/reftex-toc.el (reftex-toc):
5530 * progmodes/gdb-mi.el (gdb-setup-windows):
5531 * progmodes/fortran.el (fortran-window-create):
5532 * net/newst-treeview.el (newsticker--treeview-window-init):
5533 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5534 * emulation/tpu-edt.el (tpu-gold-map):
5535 * emulation/crisp.el (crisp-mode-map):
5536 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5537
38bb2ca8
CY
55382011-10-29 Chong Yidong <cyd@gnu.org>
5539
aa4de341
CY
5540 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5541
e1eb5385
CY
5542 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5543
5d2ece3c
CY
5544 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5545 forged Ispell output (Bug#7904).
5546
38bb2ca8
CY
5547 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5548
d0af9f77
SM
55492011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * doc-view.el: Avoid ugly errors about not finding nil.
5552 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5553 (doc-view-dvipdf-program, doc-view-unoconv-program)
5554 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5555 Avoid nil or absolute file name as default value.
5556 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5557
52bedd34
AM
55582011-10-28 Alan Mackenzie <acm@muc.de>
5559
db22a3c2 5560 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5561
7e43cfa5
AM
55622011-10-28 Alan Mackenzie <acm@muc.de>
5563
5564 Amend the handling of c-beginning/end-of-defun in nested declaration
5565 scopes.
5566
52bedd34
AM
5567 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5568 cc-langs.el. Change it to a defcustom.
7e43cfa5 5569
52bedd34
AM
5570 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5571 cc-vars.el.
7e43cfa5 5572
d0af9f77
SM
5573 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5574 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5575
52bedd34 5576 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5577 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5578 (c-widen-to-enclosing-decl-scope): New function.
5579 (c-while-widening-to-decl-block): New macro.
5580 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5581 outward for defun boundaries, and correspondingly change symbol
5582 `respect-enclosure' to `go-outward'.
5583 (c-declaration-limits): Change algorithm to report only the "innermost"
5584 defun's boundaries.
5585
1a2ce9ee
DD
55862011-10-28 Deniz Dogan <deniz@dogan.se>
5587
5588 * net/rcirc.el (rcirc-mode): Use hard newlines.
5589
bc97a826
AM
55902011-10-28 Alan Mackenzie <acm@muc.de>
5591
5592 Amend to indent and fontify macros "which include their own semicolon"
5593 correctly, using the "virtual semicolon" mechanism.
5594
52bedd34 5595 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5596
d0af9f77 5597 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5598 Recode to scan one line at a time rather than having \n and \r
58179cce 5599 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5600 (c-forward-label): Amend for virtual semicolons.
58179cce 5601 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5602
52bedd34
AM
5603 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5604 of the new C macros.
bc97a826 5605
52bedd34 5606 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5607 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5608 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5609 (c-opt-cpp-macro-define): Make into a full language variable.
5610 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5611 AWK Mode (including \n, \r) removed, no longer needed.
5612
d0af9f77
SM
5613 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5614 Invoke c-make-macro-with-semi-re.
bc97a826 5615
52bedd34
AM
5616 * progmodes/cc-vars.el (c-macro-with-semi-re):
5617 (c-macro-names-with-semicolon): New variables.
58179cce 5618 (c-make-macro-with-semi-re): New function.
bc97a826 5619
7a6c0941
SM
56202011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * vc/log-edit.el: Fill empty field rather than adding new one.
5623 (log-edit-add-field): New function.
5624 (log-edit-insert-changelog): Use it.
5625
b0c4cdcf
ML
56262011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5627
5628 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5629
ee1f1da9
SM
56302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5633 (gdb--check-interpreter): New function.
5634 (gdb): Use it.
5635
51bc5f8b
GM
56362011-10-27 Glenn Morris <rgm@gnu.org>
5637
416a2c45
GM
5638 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5639 (least-positive-float, least-negative-float)
5640 (least-positive-normalized-float, least-negative-normalized-float)
5641 (float-epsilon, float-negative-epsilon):
5642 Remove unnecessary declarations.
5643
5644 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5645 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5646 (least-positive-float, least-negative-float)
5647 (least-positive-normalized-float, least-negative-normalized-float)
5648 (float-epsilon, float-negative-epsilon): Add doc-strings,
5649 based on those in cl.texi.
5650
51bc5f8b
GM
5651 * files.el (set-visited-file-name): If the major-mode changed,
5652 reload the local variables. (Bug#9796)
5653
15de15c6
CY
56542011-10-27 Chong Yidong <cyd@gnu.org>
5655
5656 * subr.el (change-major-mode-after-body-hook): New hook.
5657 (run-mode-hooks): Run it.
5658
ee1f1da9
SM
5659 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5660 Use change-major-mode-before-body-hook.
15de15c6
CY
5661
5662 * simple.el (fundamental-mode):
5663 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5664 change introducing fundamental-mode-hook.
5665
5430d399
JB
56662011-10-26 Juanma Barranquero <lekktu@gmail.com>
5667
acc825c5 5668 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5669
ad74a69e
MA
56702011-10-26 Michael Albinus <michael.albinus@gmx.de>
5671
5672 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5673 tramp.el explicitly. (Bug#7583)
ad74a69e 5674
71d4c2a5
SM
56752011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 * progmodes/octave-mod.el:
5678 * progmodes/octave-inf.el: Update maintainer.
5679
b1f6fa26
CY
56802011-10-26 Chong Yidong <cyd@gnu.org>
5681
5682 * subr.el (with-wrapper-hook): Rewrite doc.
5683
3f04efd6
MA
56842011-10-25 Michael Albinus <michael.albinus@gmx.de>
5685
5686 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5687 filenames "/method:foo:". (Bug#9793)
3f04efd6 5688
410488d3
SM
56892011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5690
5691 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5692 (bug#9865).
5693
c1ebb47e
GM
56942011-10-24 Glenn Morris <rgm@gnu.org>
5695
5696 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5697
7f5c46c7
MA
56982011-10-24 Michael Albinus <michael.albinus@gmx.de>
5699
5700 * notifications.el: Add the requirement of a running D-Bus session
5701 bus to the Commentary.
5702
db2440b6
JL
57032011-10-24 Juri Linkov <juri@jurta.org>
5704
5705 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5706 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5707 (Bug#9364)
5708
feecf435
JL
57092011-10-24 Juri Linkov <juri@jurta.org>
5710
5711 * info.el (Info-following-node-name-re): Add newline to the list
5712 of allowed characters for leading space. (Bug#9824)
5713
a3839de2
SM
57142011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5715
acc825c5
SM
5716 * progmodes/octave-inf.el (inferior-octave-mode-map):
5717 Fix C-c C-h binding.
a3839de2
SM
5718 * progmodes/octave-mod.el (octave-help): Remove.
5719
09388e76
MA
57202011-10-23 Michael Albinus <michael.albinus@gmx.de>
5721
5722 Sync with Tramp 2.2.3.
5723
5724 * net/tramp-cache.el (top): Pacify byte-compiler using
5725 `init-file-user' and `site-run-file'.
5726
5727 * net/trampver.el: Update release number.
5728
86c60681
CY
57292011-10-23 Chong Yidong <cyd@gnu.org>
5730
5731 * files.el (toggle-read-only): Remove obsolete comment about
5732 version control.
5733
5734 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5735 for toggle-read-only. Note that this hasn't called vc-next-action
5736 since 2008-05-02, though it wasn't documented at the time.
5737
a3839de2
SM
5738 * vc/ediff-init.el (ediff-toggle-read-only-function):
5739 Use toggle-read-only.
86c60681 5740
cd5495ff
AM
57412011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5742
5743 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5744 of c-parse-state.
5745
00b77525 5746 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5747 correct faulty logical expression.
cd5495ff
AM
5748 (c-parse-state-state, c-record-parse-state-state):
5749 (c-replay-parse-state-state): New defvar/defuns.
5750 (c-debug-parse-state): Use new functions.
5751
42ee24ed
MR
57522011-10-22 Martin Rudalics <rudalics@gmx.at>
5753
5754 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5755 last fix. Use window-in-direction correctly.
42ee24ed 5756
a7dee7e7
CY
57572011-10-21 Chong Yidong <cyd@gnu.org>
5758
5759 * progmodes/idlwave.el (idlwave-mode):
5760 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5761 require-final-newline; that's done in prog-mode.
5762 Suggested by Stefan Monnier.
a7dee7e7 5763
e07b9a6d
MR
57642011-10-21 Martin Rudalics <rudalics@gmx.at>
5765
5766 * mouse.el (mouse-drag-window-above)
5767 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5768 (mouse-drag-mode-line-1, mouse-drag-header-line)
5769 (mouse-drag-vertical-line-rightward-window): Remove.
5770 (mouse-drag-line): New function.
5771 (mouse-drag-mode-line, mouse-drag-header-line)
5772 (mouse-drag-vertical-line): Call mouse-drag-line.
5773 * window.el (window-at-side-p, windows-at-side): New functions.
5774
7e1361d9
UM
57752011-10-21 Ulrich Mueller <ulm@gentoo.org>
5776
5777 * tar-mode.el (tar-grind-file-mode):
5778 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5779
30fcaf3a
CY
57802011-10-21 Chong Yidong <cyd@gnu.org>
5781
5782 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5783 * progmodes/vera-mode.el (vera-mode):
5784 Use mode-require-final-newline.
30fcaf3a 5785
516eddb0
GM
57862011-10-20 Glenn Morris <rgm@gnu.org>
5787
db22a3c2 5788 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5789
10d5f513
CS
57902011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5791
5792 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5793
ac6c8639
CY
57942011-10-20 Chong Yidong <cyd@gnu.org>
5795
5796 * emulation/cua-base.el (cua-mode):
5797 * mail/footnote.el (footnote-mode):
5798 * mail/mailabbrev.el (mail-abbrevs-mode):
5799 * net/xesam.el (xesam-minor-mode):
5800 * progmodes/bug-reference.el (bug-reference-mode):
5801 * progmodes/cap-words.el (capitalized-words-mode):
5802 * progmodes/compile.el (compilation-minor-mode)
5803 (compilation-shell-minor-mode):
5804 * progmodes/gud.el (gud-tooltip-mode):
5805 * progmodes/hideif.el (hide-ifdef-mode):
5806 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5807 * progmodes/subword.el (subword-mode):
5808 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5809 * progmodes/which-func.el (which-function-mode):
5810 * term/tvi970.el (tvi970-set-keypad-mode):
5811 * term/vt100.el (vt100-wide-mode):
5812 * textmodes/flyspell.el (flyspell-mode):
5813 * textmodes/ispell.el (ispell-minor-mode):
5814 * textmodes/nroff-mode.el (nroff-electric-mode):
5815 * textmodes/paragraphs.el (use-hard-newlines):
5816 * textmodes/refill.el (refill-mode):
5817 * textmodes/reftex.el (reftex-mode):
5818 * textmodes/rst.el (rst-minor-mode):
5819 * textmodes/sgml-mode.el (html-autoview-mode)
5820 (sgml-electric-tag-pair-mode):
5821 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5822 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5823 * emulation/crisp.el (crisp-mode):
5824 * emacs-lisp/eldoc.el (eldoc-mode):
5825 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5826 minor mode behavior.
5827
aa42ab43
JL
58282011-10-19 Juri Linkov <juri@jurta.org>
5829
5830 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5831 the list of hard-coded chars with escape-glyph face.
5832
89400f1d
SM
58332011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5836
305c07f6
MA
58372011-10-19 Michael Albinus <michael.albinus@gmx.de>
5838
5839 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5840 running process.
5841
13754b54
GM
58422011-10-19 Glenn Morris <rgm@gnu.org>
5843
5844 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5845 Ignore ignored files. (Bug#9726)
5846
06e21633
CY
58472011-10-19 Chong Yidong <cyd@gnu.org>
5848
5849 Doc fix for minor modes, stating that an omitted argument enables
5850 the mode unconditionally when called from Lisp.
5851
5852 * abbrev.el (abbrev-mode):
5853 * allout.el (allout-mode):
5854 * autoinsert.el (auto-insert-mode):
5855 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5856 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5857 (global-auto-revert-mode):
5858 * battery.el (display-battery-mode):
5859 * composite.el (global-auto-composition-mode)
5860 (auto-composition-mode):
5861 * delsel.el (delete-selection-mode):
5862 * desktop.el (desktop-save-mode):
5863 * dired-x.el (dired-omit-mode):
5864 * dirtrack.el (dirtrack-mode):
5865 * doc-view.el (doc-view-minor-mode):
5866 * double.el (double-mode):
5867 * electric.el (electric-indent-mode, electric-pair-mode):
5868 * emacs-lock.el (emacs-lock-mode):
5869 * epa-hook.el (auto-encryption-mode):
5870 * follow.el (follow-mode):
5871 * font-core.el (font-lock-mode):
5872 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5873 * help.el (temp-buffer-resize-mode):
5874 * hilit-chg.el (highlight-changes-mode)
5875 (highlight-changes-visible-mode):
5876 * hi-lock.el (hi-lock-mode):
5877 * hl-line.el (hl-line-mode, global-hl-line-mode):
5878 * icomplete.el (icomplete-mode):
5879 * ido.el (ido-everywhere):
5880 * image-file.el (auto-image-file-mode):
5881 * image-mode.el (image-minor-mode):
5882 * iswitchb.el (iswitchb-mode):
5883 * jka-cmpr-hook.el (auto-compression-mode):
5884 * linum.el (linum-mode):
5885 * longlines.el (longlines-mode):
5886 * master.el (master-mode):
5887 * mb-depth.el (minibuffer-depth-indicate-mode):
5888 * menu-bar.el (menu-bar-mode):
5889 * minibuf-eldef.el (minibuffer-electric-default-mode):
5890 * mouse-sel.el (mouse-sel-mode):
5891 * msb.el (msb-mode):
5892 * mwheel.el (mouse-wheel-mode):
5893 * outline.el (outline-minor-mode):
5894 * paren.el (show-paren-mode):
5895 * recentf.el (recentf-mode):
5896 * reveal.el (reveal-mode, global-reveal-mode):
5897 * rfn-eshadow.el (file-name-shadow-mode):
5898 * ruler-mode.el (ruler-mode):
5899 * savehist.el (savehist-mode):
5900 * scroll-all.el (scroll-all-mode):
5901 * scroll-bar.el (scroll-bar-mode):
5902 * server.el (server-mode):
5903 * shell.el (shell-dirtrack-mode):
5904 * simple.el (auto-fill-mode, transient-mark-mode)
5905 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5906 (line-number-mode, column-number-mode, size-indication-mode)
5907 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5908 * strokes.el (strokes-mode):
5909 * time.el (display-time-mode):
5910 * t-mouse.el (gpm-mouse-mode):
5911 * tool-bar.el (tool-bar-mode):
5912 * tooltip.el (tooltip-mode):
5913 * type-break.el (type-break-mode-line-message-mode)
5914 (type-break-query-mode):
5915 * view.el (view-mode):
5916 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5917 (global-whitespace-mode, global-whitespace-newline-mode):
5918 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5919
a3839de2
SM
5920 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5921 Fix autogenerated docstring.
06e21633 5922
5214e501
JL
59232011-10-19 Juri Linkov <juri@jurta.org>
5924
5925 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5926 by checking environment variables "DESKTOP_SESSION" and
5927 "XDG_CURRENT_DESKTOP". (Bug#9779)
5928
195f8db9
JL
59292011-10-19 Juri Linkov <juri@jurta.org>
5930
5931 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5932 (browse-url-chromium-program, browse-url-chromium-arguments):
5933 New defcustoms.
5934 (browse-url-default-browser): Check for `browse-url-chromium' and
5935 call `browse-url-chromium-program'.
5936 (browse-url-chromium): New command. (Bug#9779)
5937
343a34ff
JB
59382011-10-18 Juanma Barranquero <lekktu@gmail.com>
5939
5940 * facemenu.el (list-colors-duplicates): On Windows, detect more
5941 duplicates by assuming that only colors matching "^System" are
5942 special "system colors". (Bug#9722)
5943
6978a151
SM
59442011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5947 to distinguish the author from the committer.
5948
6a80b297
MA
59492011-10-18 Michael Albinus <michael.albinus@gmx.de>
5950
5951 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5952
b31a5677
JK
59532011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5954
5955 * international/mule.el (sgml-html-meta-auto-coding-function):
5956 Add support for detecting encoding in HTML5 specified only as
5957 <meta charset="UTF-8">. Implementation just makes http-equiv and
5958 content-type parts from HTML4 encoding string optional. (Bug#9716)
5959
80c6d77f
GM
59602011-10-18 Glenn Morris <rgm@gnu.org>
5961
5962 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5963
08b0fee8
CY
59642011-10-18 Chong Yidong <cyd@gnu.org>
5965
5966 * faces.el (cursor): Doc fix.
5967
67e729a5
CY
59682011-10-17 Chong Yidong <cyd@gnu.org>
5969
5970 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5971
343a34ff 59722011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5973
5974 * dirtrack.el (dirtrack): Support shell buffers with path
5975 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5976
0bc06380
TZ
59772011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5978
5979 * json.el: Bump version to 1.3 and note change in History.
5980 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5981
8b79f3e0
SM
59822011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5a7c536b
SM
5984 * comint.el (comint-insert-input, comint-send-input)
5985 (comint-get-old-input-default, comint-backward-matching-input)
5986 (comint-next-prompt): Use nil instead of `input' for field property of
5987 past user input (bug#114).
5988
96a8a0df
SM
5989 * minibuffer.el (completion--replace): Inherit surrounding properties
5990 (bug#114).
5991 (minibuffer-complete-and-exit): Use it.
5992
8b79f3e0
SM
5993 * comint.el (comint--table-subvert): Quote the all-completions output
5994 (bug#9160).
5995
b8f7ff0d
MR
59962011-10-17 Martin Rudalics <rudalics@gmx.at>
5997
8b79f3e0 5998 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5999
b8f7ff0d 6000 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6001 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6002 entries and separate them from frame entries.
6003
c235b555
GM
60042011-10-15 Glenn Morris <rgm@gnu.org>
6005
6006 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6007 Doc fixes.
6008
6bbfa6e1
CY
60092011-10-15 Chong Yidong <cyd@stupidchicken.com>
6010
8b79f3e0
SM
6011 * net/network-stream.el (network-stream-open-starttls):
6012 Improve detection of failure due to lack of TLS support.
ec5c990d 6013
6bbfa6e1
CY
6014 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6015 putting the input text in front and in bold.
6016
98488977
SM
60172011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6018
3d1337be
SM
6019 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6020
ee0b45e4
SM
6021 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6022 empty buffer.
6023
98488977
SM
6024 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6025 unread-command-events rather than pushing yet-another event.
6026
186f4720
EZ
60272011-10-14 Eli Zaretskii <eliz@gnu.org>
6028
6029 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6030 the explanation of the possible choices. Make the options passed
6031 to completing-read shorter.
6032
8b7a997c
AM
60332011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6034
6035 * textmodes/flyspell.el (flyspell-large-region): Make sure
6036 extended character mode is used if defined (Bug#1339).
6037
12587bbb
EZ
60382011-10-13 Eli Zaretskii <eliz@gnu.org>
6039
6040 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6041 character info for LRE, LRO, RLE, and RLO characters by appending
6042 an invisible PDF.
12587bbb 6043
bad41229
SM
60442011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6047 even in case of error; add debug spec; simplify data flow.
6048 (with-timeout-handler): Remove.
6049
28dbc92f
MA
60502011-10-12 Michael Albinus <michael.albinus@gmx.de>
6051
6052 Fix Bug#6019, Bug#9315.
6053
6054 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6055 complete `buffer-file-name', the local file name part could look
6056 remotely (for example on VMS).
6057
6058 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6059 `tramp-run-real-handler'.
6060 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6061 already quoted by '"'.
6062
6063 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6064 Let `file-name-handler-alist' be nil, the local file name part
6065 could look remotely (for example on VMS).
6066
e1b0b23a
SM
60672011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6070 from here...
6071 (flyspell-post-command-hook): ...to here.
6072
a120bde9
SM
60732011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6076 if not needed.
6077 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6078 using completion. Protect against "slow" callers.
6079 Remove the "message hack".
6080
7ce7717b
JL
60812011-10-11 Juri Linkov <juri@jurta.org>
6082
6083 * isearch.el (isearch-lazy-highlight-word): New variable.
6084 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6085 Use it. (Bug#9727)
6086
c02ee9d6
GM
60872011-10-11 Glenn Morris <rgm@gnu.org>
6088
6089 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6090 like f90-previous-statement does.
6091
93e616fd 60922011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6093
1f190e73 6094 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6095 only in interactive use, to avoid error.
6096
af7b6078
SM
60972011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * minibuffer.el (completion-file-name-table): Fix last change,
6100 i.e. ignore normal errors but not the other ones.
6101
0563dae9
MR
61022011-10-10 Martin Rudalics <rudalics@gmx.at>
6103
6104 * window.el (special-display-buffer-names)
6105 (special-display-regexps): Remove some remnants of earlier
6106 changes from doc-strings.
366ca7f3
MR
6107 (quit-windows-on): New function.
6108
6109 * vc/vc.el (vc-revert, vc-rollback):
6110 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6111 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6112 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6113
49677495
MR
61142011-10-09 Martin Rudalics <rudalics@gmx.at>
6115
6116 * window.el (frame-auto-hide-function): Add version tag.
6117 (Bug#9699)
6118
56f2d1e1
MA
61192011-10-09 Michael Albinus <michael.albinus@gmx.de>
6120
6121 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6122 condition.
6123
112a6592
LL
61242011-10-09 Leo Liu <sdl.web@gmail.com>
6125
6126 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6127 (Bug#9701)
6128
0812589b
GM
61292011-10-08 Glenn Morris <rgm@gnu.org>
6130
6131 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6132 before the first code statement zero indent. (Bug#9690)
6133
b2b0776e
CY
61342011-10-08 Chong Yidong <cyd@stupidchicken.com>
6135
6136 * simple.el (count-words-region): Always count in the region.
6137 Report the number of lines and characters too.
6138 (count-words): New command, which counts in the buffer if the
6139 region is inactive, as count-words-region used to.
6140 (count-words--message): New function. Handle plurals.
6141 (count-lines-region): Make it an alias for count-words-region.
6142
6143 * bindings.el (esc-map): Replace count-lines-region with
6144 count-words-region.
6145
c557cd6b
MR
61462011-10-08 Martin Rudalics <rudalics@gmx.at>
6147
6148 * window.el (window--delete): Delete dedicated frame
6149 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6150 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6151
61a57ef4 61522011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6153
3a7d293b 6154 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6155
c3833279
CY
61562011-10-07 Chong Yidong <cyd@stupidchicken.com>
6157
6158 * bindings.el ([M-left],[M-right]): Bind to left-word and
6159 right-word respectively.
6160
21ce8245
GM
61612011-10-07 Glenn Morris <rgm@gnu.org>
6162
6163 * cus-start.el (debug-on-quit): Fix custom type.
6164
6d823bb2
LMI
61652011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6166
0181e193
LMI
6167 * subr.el (define-key-after): Clarify that the function is not
6168 useful for non-menu keymaps.
6169
6d823bb2
LMI
6170 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6171
8e3459ce 61722011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6173
21ce8245 6174 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6175 in current minibuffer (Fix bug with recursive minibuffers).
6176
a1c2d21e
CY
61772011-10-06 Chong Yidong <cyd@stupidchicken.com>
6178
6179 * progmodes/gdb-mi.el (gdb): Doc fix.
6180
5a4cf282
MR
61812011-10-05 Martin Rudalics <rudalics@gmx.at>
6182
6183 * window.el (frame-auto-hide-function): New option replacing
6184 frame-auto-delete. Suggested by Stefan Monnier.
6185 (window--delete): Call frame-auto-hide-function instead of
6186 investigating frame-auto-delete.
c96111ea
MR
6187 (window-point-1, set-window-point-1): New functions.
6188 (window-in-direction, record-window-buffer, window-state-get-1)
6189 (display-buffer-record-window): Use window-point-1 instead of
6190 window-point.
6191 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6192
9854542e
SM
61932011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6196
8943cfb0
GM
61972011-10-05 Glenn Morris <rgm@gnu.org>
6198
6199 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6200 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6201
647ab967
LL
62022011-10-05 Leo Liu <sdl.web@gmail.com>
6203
6204 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6205 works with buffer object.
6206
3ddfbced
SM
62072011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * mpc.el (mpc-tool-bar-map): Add labels.
6210
bdfa5dd2
GM
62112011-10-04 Glenn Morris <rgm@gnu.org>
6212
6213 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6214
0e2070b5
MR
62152011-10-04 Martin Rudalics <rudalics@gmx.at>
6216
6217 * window.el (window--delete): New function.
6218 (frame-auto-delete): Resuscitate option.
6219 (bury-buffer, replace-buffer-in-windows)
6220 (quit-window): Rewrite using window--delete.
6221 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6222 Pass display-buffer-mark-dedicated to window--display-buffer-2
6223 (Bug#9639).
6224
3dc61a09
SM
62252011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6226
915a9b64
SM
6227 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6228 returns a list (bug#9554). Add remote file name completion.
6229 * comint.el (comint--table-subvert): Curry and get quote&unquote
6230 functions as arguments.
6231 (comint--complete-file-name-data): Adjust call accordingly.
6232 * pcomplete.el (pcomplete--table-subvert): Remove.
6233 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6234
3dc61a09
SM
6235 * minibuffer.el (completion-table-case-fold): Use currying.
6236 (completion--styles-type, completion--cycling-threshold-type):
6237 New constants.
6238 (completion-styles, completion-category-overrides)
6239 (completion-cycle-threshold): Use them.
6240 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6241 completion-table-case-fold.
6242
8ea0a993
SB
62432011-10-03 Stephen Berman <stephen.berman@gmx.net>
6244
6245 * minibuffer.el (completion-category-overrides): Fix type of styles
6246 and add more user friendly tags (bug#9660).
6247
8c24b7f6
SM
62482011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6249
6250 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6251 (mule-input-method-string): New widget.
6252 (default-input-method, language-info-custom-alist): Use it.
6253
428fe61a
SM
62542011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6255
32c1fffd
SM
6256 * pcomplete.el: Require comint.
6257 (pcomplete--common-suffix): Remove.
6258 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6259 (pcomplete--table-subvert): Sync with comint--table-subvert.
6260 (pcomplete--entries): Use comint-completion-file-name-table.
6261 * comint.el (comint-unquote-filename): Simplify.
6262 (comint-completion-file-name-table): New function (bug#9616).
6263 (comint--complete-file-name-data): Use it.
6264
428fe61a
SM
6265 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6266 (pcmpl-gnu-tar-buffer): Remove.
6267 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6268 around. Make sure pcomplete-suffix-list is only changed temporarily.
6269 Don't look inside the tar's file if it's too large.
428fe61a 6270
04c52e2f
CY
62712011-10-01 Chong Yidong <cyd@stupidchicken.com>
6272
ce3cefcc
CY
6273 * cus-edit.el (custom-mode-map):
6274 * epa.el (epa-key-list-mode-map):
6275 * man.el (Man-mode-map):
6276 * startup.el (splash-screen-keymap):
6277 * simple.el (special-mode-map): Use scroll-up-command and
6278 scroll-down-command.
6279
6280 * progmodes/idlw-help.el (idlwave-help-mode-map):
6281 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6282 * net/newst-plainview.el (newsticker-mode-map):
6283 * emulation/ws-mode.el (wordstar-mode-map):
6284 * emulation/vi.el (vi-com-map):
6285 * calc/calc-graph.el (calc-graph-show-dumb):
6286 * term/sun.el (terminal-init-sun):
6287 * term/ns-win.el (global-map):
6288 * progmodes/grep.el (grep-mode-map):
6289 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6290 * mail/rmail.el (rmail-mode-map):
6291 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6292
04c52e2f
CY
6293 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6294 custom-safe-themes as special.
6295
79adf8c8
JD
62962011-10-01 Julien Danjou <julien@danjou.info>
6297
6298 * notifications.el (notifications-notify): Fix docstring.
6299
63bd50d3
PS
63002011-10-01 Per Starbäck <per@starback.se>
6301
6302 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6303
199e4c7e
MR
63042011-09-30 Martin Rudalics <rudalics@gmx.at>
6305
6306 * startup.el (command-line-1): Fix last fix by inserting
6307 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6308 (Bug#9605) and (Bug#9636)
199e4c7e 6309
fe5f08dd
EZ
63102011-09-29 Eli Zaretskii <eliz@gnu.org>
6311
6312 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6313 window is hscrolled, move by logical lines. (Bug#9607)
6314 (line-move-visual): Update the doc string to the above effect.
6315
b5516bbd
MR
63162011-09-29 Martin Rudalics <rudalics@gmx.at>
6317
ccee00c0
MR
6318 * window.el (display-buffer-record-window): When WINDOW is the
6319 selected window use `point' instead of `window-point'. (Bug#9626)
6320
b5516bbd
MR
6321 * startup.el (command-line-1): Use insert-before-markers when
6322 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6323
b5516bbd
MR
6324 * help.el (help-window): Remove variable.
6325
52aa0014
GM
63262011-09-29 Glenn Morris <rgm@gnu.org>
6327
6328 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6329
df9a7357
JB
63302011-09-29 Juanma Barranquero <lekktu@gmail.com>
6331
6332 * descr-text.el (describe-char-categories): Accept category
6333 descriptions more than one line long.
6334
a8406c20
SM
63352011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6336
88d9610c
SM
6337 * simple.el (delete-trailing-whitespace): Fix last change.
6338
a5daf810
SM
6339 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6340 Don't confuse "y => 3" as the beginning of a `y' operation.
6341
a8406c20
SM
6342 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6343 object has more than 4 slots (bug#9613).
6344
a239d4e9
JB
63452011-09-28 Juanma Barranquero <lekktu@gmail.com>
6346
6347 * subr.el (with-output-to-temp-buffer):
6348 * net/quickurl.el (quickurl, quickurl-browse-url):
6349 Fix typos in docstrings.
6350
693fbdb6
EZ
63512011-09-27 Eli Zaretskii <eliz@gnu.org>
6352
6353 * minibuffer.el (completion-styles)
6354 (completion-category-overrides): Cross reference each other in doc
6355 strings.
6356
8b457e28
GM
63572011-09-27 Glenn Morris <rgm@gnu.org>
6358
6359 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6360 to split-string. (Bug#9606)
6361
85a16208
LMI
63622011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6363
6364 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6365 (bug#9615).
6366
502f9ebd
CY
63672011-09-27 Chong Yidong <cyd@stupidchicken.com>
6368
6369 * emacs-lisp/package.el (list-packages): Fix echo area message.
6370
7690bdea
LL
63712011-09-27 Leo Liu <sdl.web@gmail.com>
6372
6373 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6374
e2ee6f30
MA
63752011-09-25 Michael Albinus <michael.albinus@gmx.de>
6376
6377 * net/dbus.el (dbus-unregister-object): Don't release services for
6378 registered signals. (Bug#9581)
6379
f3f98342
TZ
63802011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6381
6382 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6383 function that picks between cfengine 2 and 3 support
6384 automatically. Update docs accordingly.
6385
dd7aa8dd
KH
63862011-09-22 Kenichi Handa <handa@m17n.org>
6387
6388 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6389 ZERO.
6390 (indian-itrans-v5-table-for-tamil): New variable.
6391 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6392
3f2b07f8
KM
63932011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6394
6395 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6396 that's true if the current command involved collapsing of text.
6397 It's reset to false at the beginning of the next command.
6398 (allout-post-command-business): Move the cursor to the beginning
6399 of entry if the cursor is hidden and collapsing activity just
6400 happened.
6401
371d6a61
CY
64022011-09-24 Chong Yidong <cyd@stupidchicken.com>
6403
6404 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6405 tracking (Bug#9541).
6406
2ac2721a
UJ
64072011-09-24 Ulf Jasper <ulf.jasper@web.de>
6408
6409 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6410 (newsticker-show-news): Automatically load html rendering package
6411 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6412 because w3m-fill-column is let-bound" and the error "Symbol's value
6413 as variable is void: w3m-fill-column".
2ac2721a 6414
fac7ae53
MA
64152011-09-24 Michael Albinus <michael.albinus@gmx.de>
6416
6417 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6418 Release services only if they are defined. (Bug#9581)
6419
e08b633b
RS
64202011-09-23 Richard Stallman <rms@gnu.org>
6421
e488d29c
RS
6422 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6423 distinguish start of paragraph from start of its text.
6424
19c38752
RS
6425 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6426
e08b633b
RS
6427 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6428 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6429 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6430
0a39f27e
AS
64312011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6432
6433 * international/mule-diag.el (mule-diag): Insert a newline after
6434 each fontset description.
6435
db4e950d
SM
64362011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * simple.el (delete-trailing-whitespace):
6439 Document last change; simplify.
6440
eca3f3ea
PW
64412011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6442
d68e189a
PW
6443 * simple.el (delete-trailing-whitespace): Also delete
6444 extra newlines at the end of the buffer.
6445
eca3f3ea
PW
6446 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6447 (picture-newline): Use forward-line so as to ignore fields.
6448
01c157cc
SM
64492011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * subr.el (with-wrapper-hook): Fix edebug spec.
6452
022de23e
LMI
64532011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6454
6455 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6456 (bug#4538).
6457
91683089
MA
64582011-09-23 Michael Albinus <michael.albinus@gmx.de>
6459
eca3f3ea
PW
6460 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6461 Fix nasty bug using wrong cached values.
91683089 6462
5bdd6fa4
AM
64632011-09-23 Alan Mackenzie <acm@muc.de>
6464
6465 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6466
97adfb97
CY
64672011-09-23 Chong Yidong <cyd@stupidchicken.com>
6468
6469 * window.el (pop-to-buffer): Ensure right window is selected if we
6470 chose another frame.
6471
d4ef2b50
EZ
64722011-09-22 Eli Zaretskii <eliz@gnu.org>
6473
6474 * simple.el (what-cursor-position): Use get-char-property-change
6475 and next-single-char-property-change, to be able to show display
6476 properties that come from overlays as well as text properties.
6477
72258fe5
CY
64782011-09-22 Chong Yidong <cyd@stupidchicken.com>
6479
6480 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6481
6482 * cmuscheme.el (run-scheme, switch-to-scheme):
6483 * cus-edit.el (customize-group, custom-buffer-create)
6484 (customize-browse):
6485 * info.el (info):
6486 * shell.el (shell):
6487 * mail/sendmail.el (mail):
6488 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6489
8f098516
RS
64902011-09-22 Richard Stallman <rms@gnu.org>
6491
6492 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6493 move back only to line beg, don't move back over blank lines.
6494
e74f1bb6
MA
64952011-09-22 Michael Albinus <michael.albinus@gmx.de>
6496
6497 * files.el (copy-directory): Set directory attributes only in case
6498 they could be retrieved from the source directory. (Bug#9565)
6499
bfeef8b6
DK
65002011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6501
6502 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6503 (hs-find-block-beginning, hs-hide-level-recursive):
6504 Ignore strings as well as comments. (Bug#9502)
6505
7e423bb8
AS
65062011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6507
6508 * progmodes/sql.el (sql-comint-postgres):
6509 Convert port number to a string. (Bug#9566)
6510
b4d72fcf
MR
65112011-09-22 Martin Rudalics <rudalics@gmx.at>
6512
6513 * window.el (quit-window): Undedicate window when switching to
6514 previous buffer. Reported by Thierry Volpiatto
6515 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6516 (special-display-popup-frame): When popping up a new frame reset
6517 its previous buffers to nil. Simplify code.
b4d72fcf 6518
a7b88dc6
MA
65192011-09-21 Michael Albinus <michael.albinus@gmx.de>
6520
6521 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6522 and process filter, as done also in `shell-command'.
6523
cf4eacfd
MR
65242011-09-21 Martin Rudalics <rudalics@gmx.at>
6525
eca3f3ea 6526 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6527 Call set-window-start with NOFORCE argument t.
6528 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6529 (quit-window): Reword doc-string. Handle new format of
6530 quit-restore parameter. Don't delete window if it has a
6531 previous buffer we can show instead of the present one.
6532 (display-buffer-record-window): Rewrite using a new format for
6533 the quit-restore window parameter
6534 (special-display-popup-frame, display-buffer-same-window)
6535 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6536 (display-buffer-pop-up-window, display-buffer-use-some-window):
6537 Adapt symbol passed to display-buffer-record-window.
6538 * help.el (help-window-setup): Handle new format of quit-restore
6539 parameter.
6540
8d28cb95
SM
65412011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6542
94ab793f
SM
6543 * faces.el (face-list): Fix docstring (bug#9564).
6544
8d28cb95
SM
6545 * window.el (display-buffer--action-function-custom-type):
6546 Don't include internal functions in the Custom interface.
6547
3820edeb
JL
65482011-09-20 Juri Linkov <juri@jurta.org>
6549
6550 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6551 (Info-forward-node, Info-backward-node, Info-next-preorder)
6552 (Info-last-preorder): Use it. (Bug#9528)
6553
5147931d
JL
65542011-09-20 Juri Linkov <juri@jurta.org>
6555
6556 * info.el (Info-last-preorder): Visit last menu item only when
6557 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6558
cf499a1a
JD
65592011-09-20 Julien Danjou <julien@danjou.info>
6560
6561 * password-cache.el (password-cache-remove): Remove entries even if the
6562 value is nil, so that password with a nil value (negative caching) is
6563 possible to invalidate.
6564
f84e2fe2
LM
65652011-09-20 Lawrence Mitchell <wence@gmx.li>
6566
6567 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6568 all whitespace around breakpoint. (Bug#9553)
6569 (f90-find-breakpoint): Only break at whitespace inside a comment.
6570
78054a46
SM
65712011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * minibuffer.el (completion-file-name-table): Keep track of errors.
6574 (completion-table-with-predicate): Handle the case where pred1 is nil.
6575 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6576
345083b2
SM
65772011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6578
e24e27be
SM
6579 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6580 (debugger-return-value): Signal an error if the debugging context does
6581 not await any return value.
6582
345083b2
SM
6583 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6584 * image-mode.el (image-toggle-display-text)
6585 (image-toggle-display-image): Stay away from evil `intangible'.
6586
08d355e3
LL
65872011-09-19 Leo Liu <sdl.web@gmail.com>
6588
6589 * replace.el (occur-revert-arguments): Make it permanent-local.
6590 (occur-mode): Don't call font-lock-defontify.
6591
f01da43f
CY
65922011-09-19 Chong Yidong <cyd@stupidchicken.com>
6593
6594 * net/ldap.el (ldap-search-internal): Don't push empty search
6595 result (Bug#9508).
6596
b6072fa6
SM
65972011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6600
443d6696
MA
66012011-09-19 Michael Albinus <michael.albinus@gmx.de>
6602
6603 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6604 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6605
7cc6e154
JL
66062011-09-18 Juri Linkov <juri@jurta.org>
6607
6608 * buff-menu.el (Buffer-menu-mode-map):
6609 * dired.el (dired-mode-map):
6610 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6611 (lisp-interaction-mode-map):
6612 * emacs-lisp/package.el (package-menu-mode-map):
6613 * epa.el (epa-key-list-mode-map):
6614 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6615 (menu-bar-options-menu):
6616 * outline.el (outline-mode-menu-bar-map):
6617 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6618 * vc/vc-dir.el (vc-dir-menu-map):
6619 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6620 Capitalize non-function content words in menu item strings.
6621
6622 * dired.el (dired-mode-map): Add menu item for
6623 `image-dired-dired-toggle-marked-thumbs'.
6624
80302a81
JL
66252011-09-18 Juri Linkov <juri@jurta.org>
6626
6627 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6628 to `isearch-case-fold-search' and restore its original value
6629 after the `isearch-mode' call.
6630
46c5cf66
JL
66312011-09-18 Juri Linkov <juri@jurta.org>
6632
6633 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6634 because `zgrep' returns 1 for successful matches (bug#9226).
6635
d18b513b
JL
66362011-09-18 Juri Linkov <juri@jurta.org>
6637
6638 * info.el (Info-extract-menu-node-name): Check the second match
6639 for empty string (second test-case of bug#9528).
6640 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6641 intermediate nodes to the history (first test-case of bug#9528).
6642
72753f87
JL
66432011-09-18 Juri Linkov <juri@jurta.org>
6644
6645 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6646 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6647
c9384295
JL
66482011-09-18 Juri Linkov <juri@jurta.org>
6649
1154d12e
JB
6650 * info.el (Info-file-supports-index-cookies):
6651 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6652 outputs one more line for long file names (bug#4142).
c9384295 6653
d473dce8
CY
66542011-09-18 Chong Yidong <cyd@stupidchicken.com>
6655
6656 * newcomment.el (comment-normalize-vars): If prompting for
6657 comment-start, set comment-start-skip too (Bug#8424).
6658
2176854d
JB
66592011-09-18 Johan Bockgård <bojohan@gnu.org>
6660
6661 * icomplete.el: Fix previous fix of Bug#5849.
6662 (icomplete-mode): Don't set completion-show-inline-help.
6663 (icomplete-minibuffer-setup): Set completion-show-inline-help
6664 locally during icompletion.
6665
3aace4e4
CY
66662011-09-18 Chong Yidong <cyd@stupidchicken.com>
6667
c940224f
CY
6668 * woman.el (woman2-process-escapes): Don't delete unrecognized
6669 escapes (Bug#7843).
6670
3aace4e4
CY
6671 * files.el (inhibit-first-line-modes-regexps): Add image files.
6672 (hack-local-variables-prop-line): Return nil for malformed
6673 prop-lines (Bug#9044).
6674
710dec63
MA
66752011-09-18 Michael Albinus <michael.albinus@gmx.de>
6676
6677 * net/tramp.el (top): Don't require 'shell.
6678 (tramp-methods): Fix docstring.
6679 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6680 Return complete remote file name. Handle "smb" case.
6681 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6682 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6683
6684 * net/tramp-compat.el (top): Require 'shell.
6685
6686 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6687 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6688 `tramp-current-host'.
6689 (tramp-get-remote-tmpdir): Remove.
6690
6691 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6692 `tramp-tmpdir' entries.
6693 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6694 (tramp-smb-handle-file-attributes): Ignore errors.
6695 (tramp-smb-wait-for-output): Check also for process end.
6696
5d5ac8ec
LMI
66972011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6698
6699 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6700 when sending QUIT (bug#9312).
6701
8c0f49f0
CY
67022011-09-17 Chong Yidong <cyd@stupidchicken.com>
6703
6704 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6705 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6706 occur-mode-display-occurrence.
6707 (occur-edit-mode): Add usage message.
6708 (occur-cease-edit): New command.
6709 (occur-after-change-function): Use text properties to find the
6710 position of the prefix text.
6711 (occur-engine): Set stickiness of prefix text properties.
6712
8f1383f7
GM
67132011-09-17 Glenn Morris <rgm@gnu.org>
6714
6715 * progmodes/etags.el (complete-tag):
6716 Fix call to completion-in-region. (Bug#9526)
6717
744ba0e3
JL
67182011-09-17 Juri Linkov <juri@jurta.org>
6719
6720 * textmodes/ispell.el (ispell-word): Add to the error message
6721 the word, ispell program name and current dictionary (bug#9121).
6722 (ispell-tex-arg-end): Capitalize "error" in the error message.
6723
d9bbf400
AS
67242011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6725
6726 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6727 check. (Bug#4251)
6728
8da11505
JL
67292011-09-17 Juri Linkov <juri@jurta.org>
6730
6731 * window.el (window-safe-min-height, window-safe-min-width):
6732 Fix typos (followup to bug#9522).
6733
a91adc7e
SJ
67342011-09-17 Sven Joachim <svenjoac@gmx.de>
6735
6736 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6737
064f328a
EZ
67382011-09-16 Eli Zaretskii <eliz@gnu.org>
6739
6740 * simple.el (line-move): If goal-column is set, move by logical
6741 lines, not by display lines. (Bug#971)
6742 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6743 to reflect the above change.
6744
e69df516
SM
67452011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * image.el (imagemagick-register-types): Use regexp-opt.
6748
cbb0f9ab
CY
67492011-09-15 Chong Yidong <cyd@stupidchicken.com>
6750
6751 * window.el (display-buffer-base-action): Rename from
6752 display-buffer-default-action. Make default value empty.
6753 (display-buffer-overriding-action): Convert to defvar.
6754 (display-buffer-fallback-action): New var.
6755
25322144
CY
67562011-09-15 Chong Yidong <cyd@stupidchicken.com>
6757
6758 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6759 declaration.
6760 (package--add-to-archive-contents): If there is a duplicate entry
6761 with an older version, remove it.
6762 (package-menu-mark-delete, package-menu-mark-install)
6763 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6764 (package-menu-mark-obsolete-for-deletion):
6765 Use package-menu-get-status instead of a regexp search.
25322144
CY
6766 (package-menu-get-status): Use tabulated-list-entry.
6767 (package-menu-mark-upgrades): New command.
d770725a 6768 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6769 (package-menu-execute): Do installation before deletion.
6770 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6771 instead of checking major-mode.
6772 (package-menu--find-upgrades): New function.
6773
7520339c
LMI
67742011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6775
6776 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6777 passwords in the log buffer.
65a046c4
LMI
6778 (smtpmail-process-filter): Update the process marker so that the
6779 "broken by peer" status message is inserted in the right place.
7520339c 6780
d3c30954
SM
67812011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6782
3fe48822
SM
6783 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6784 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6785 bibtex-completion-at-point-function.
6786 (bibtex-completion-at-point-function): Use them.
6787
1b8b3954
SM
6788 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6789
d3c30954
SM
6790 * mpc.el (mpc-constraints-tag-lookup): New function.
6791 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6792 also to browser "album|playlist".
6793
72779976
JL
67942011-09-14 Juri Linkov <juri@jurta.org>
6795
6796 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6797 (isearch-edit-string): Use length of `isearch-string' when
6798 `isearch-fail-pos' returns nil.
6799 (isearch-message): Remove duplicate code and call
6800 `isearch-fail-pos' with arg `t'.
6801
a0bf2bcd
CY
68022011-09-14 Chong Yidong <cyd@stupidchicken.com>
6803
17bb0a2d
CY
6804 * replace.el (occur-mode-goto-occurrence): Don't force using other
6805 window (Bug#9499).
6806
a0bf2bcd
CY
6807 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6808
f678e0b6
MR
68092011-09-14 Martin Rudalics <rudalics@gmx.at>
6810
6811 * window.el (display-buffer-window): Remove.
6812 (display-buffer-record-window): Use help-setup window parameter
6813 instead of variable display-buffer-window.
6814 (display-buffer-function, special-display-buffer-names)
6815 (special-display-function): Mention help-setup parameter instead
6816 of display-buffer-window in doc-string.
d3c30954
SM
6817 * help.el (help-window-setup): New argument help-window.
6818 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6819 Reword some messages.
6820 (with-help-window): Pass window used for displaying the buffer
6821 to help-window-setup. Don't set display-buffer-window.
6822
8e39b2e8
GM
68232011-09-13 Glenn Morris <rgm@gnu.org>
6824
6825 * emacs-lisp/debug.el (debugger-make-xrefs):
6826 Preserve point. (Bug#9462)
6827
85e9c04b
CY
68282011-09-13 Chong Yidong <cyd@stupidchicken.com>
6829
6830 * window.el (window-deletable-p): Use next-frame.
6831
1b36ed6a
MR
68322011-09-13 Martin Rudalics <rudalics@gmx.at>
6833
6834 * window.el (window-auto-delete): Remove.
6835 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6836 dedication and previous buffers.
1b36ed6a
MR
6837 (switch-to-prev-buffer): Don't delete window.
6838 (delete-windows-on): Delete a window's frame if and only if the
6839 window is dedicated.
6840 (replace-buffer-in-windows): Delete buffer's window or frame if
6841 and only if window is dedicated.
6842 (quit-window): Handle quit-restore as before last change.
4d61f28d 6843 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6844
ef8ef9fb
CY
68452011-09-13 Chong Yidong <cyd@stupidchicken.com>
6846
6847 * window.el (window-deletable-p): Never delete the last frame on a
6848 given terminal.
6849
b2cba41e
GM
68502011-09-13 Glenn Morris <rgm@gnu.org>
6851
6852 * help.el (describe-key-briefly): Copy previous standard-output change.
6853
51553db6 68542011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6855
6856 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6857
b7556719
GM
68582011-09-13 Glenn Morris <rgm@gnu.org>
6859
6860 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6861 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6862
64b51947
CY
68632011-09-12 Chong Yidong <cyd@stupidchicken.com>
6864
6865 * dired-aux.el (dired-mark-read-string): Don't return default
6866 value on empty input (Bug#9361).
6867 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6868 Omit initial minibuffer contents.
6869 (dired-do-chmod): Signal an error on empty input.
6870 (dired-mark-read-string): Don't return default on empty input.
6871
6872 * files.el (file-modes-symbolic-to-number): Doc fix.
6873
393a301e
SM
68742011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * international/mule-cmds.el (ucs-completions): Remove.
6877 (read-char-by-name): Use complete-with-action instead; add metadata.
6878
fa5660f9
CY
68792011-09-11 Chong Yidong <cyd@stupidchicken.com>
6880
6881 * window.el (display-buffer--action-function-custom-type)
6882 (display-buffer--action-custom-type): New vars.
6883 (display-buffer-alist, display-buffer-default-action)
6884 (display-buffer-overriding-action): Add defcustom types.
6885
4a592f66
CY
6886 * frame.el (delete-other-frames): Doc fix (Bug#276).
6887
73d56dbd
LMI
68882011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6889
6890 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6891
37ac18a3
CY
68922011-09-11 Chong Yidong <cyd@stupidchicken.com>
6893
6894 Change modes that used same-window-* vars to use switch-to-buffer.
6895
6896 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6897 Use switch-to-buffer.
6898
6899 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6900 (customize-browse, custom-buffer-create-other-window):
6901 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6902
6903 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6904 (Info-prev, Info-up, Info-speedbar-goto-node)
6905 (info-display-manual): Use switch-to-buffer.
6906 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6907
6908 * mail/sendmail.el (mail): Use switch-to-buffer.
6909 (mail-recover): Use switch-to-buffer-other-window.
6910
6911 * cmuscheme.el (run-scheme, switch-to-scheme):
6912 * ielm.el (ielm):
6913 * shell.el (shell):
6914 * net/rlogin.el (rlogin):
6915 * net/telnet.el (telnet, rsh):
6916 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6917
10195bd6
AS
69182011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6919
6920 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6921
b322f63a
LMI
69222011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6923
39d7fed6
LMI
6924 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6925 so don't mention it (bug#9301).
ba5a81f1 6926 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6927
ee0e9f11
LMI
6928 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6929 match `x', `w32' and `ns', like the manual says (bug#9029).
6930
0b1c89c1 6931 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6932 (process-kill-buffer-query-function): Mention the buffer name in
6933 the query.
0b1c89c1 6934
77549ea8
LMI
6935 * image-mode.el (image-next-line): The line parameter is mandatory
6936 (bug#9258).
6937
803ef892
LMI
6938 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6939 which can be useful (bug#9301).
6940
12980837
LMI
6941 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6942
91054f8f
LMI
6943 * subr.el (match-string): Mention that the current buffer should
6944 be the same as the search was done in (bug#9282).
6945
b322f63a
LMI
6946 * facemenu.el: Disable the remove-* commands if the mark isn't
6947 active (bug#9162).
6948
3199b96f
CY
69492011-09-10 Chong Yidong <cyd@stupidchicken.com>
6950
6951 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6952 of display-buffer.
6953 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6954
6955 * replace.el (occur-mode-goto-occurrence)
6956 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6957 and display-buffer.
6958
6959 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6960 display-buffer.
6961
6962 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6963 special-display and same-window variables.
6964 (mail-other-window): Use switch-to-buffer-other-window.
6965 (mail-other-frame): USe switch-to-buffer-other-frame.
6966
393a301e
SM
6967 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6968 Use display-buffer-other-frame.
3199b96f
CY
6969 (gdb-display-gdb-buffer): Use pop-to-buffer.
6970
6971 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6972
6973 * progmodes/python.el: Don't set same-window-buffer-names.
6974
6975 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6976
6977 * window.el (display-buffer-alist): Add *Python*.
6978
8319e0bf
CY
69792011-09-10 Chong Yidong <cyd@stupidchicken.com>
6980
6981 * window.el (display-buffer-alist): Add entry for buffers
6982 previously handled same-window-*.
6983 (display-buffer-alist, display-buffer-default-action)
6984 (display-buffer-overriding-action): Mark as risky.
6985 (display-buffer-alist): Document action function changes.
6986 (display-buffer--same-window-action)
6987 (display-buffer--other-frame-action): New variables.
6988 (switch-to-buffer, display-buffer-other-frame): Use them.
6989 (display-buffer): Rename reuse-frame entry to reusable-frames.
6990 (display-buffer-reuse-selected-window): Function deleted.
6991 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6992 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6993 (display-buffer-special): New function.
6994 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6995 display-buffer-reuse-or-pop-window. Split off special-display
6996 part into display-buffer-special.
6997 (display-buffer-use-some-window): Don't perform any special
6998 pop-up-frames handling.
6999 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7000 (display-buffer--maybe-same-window): Rename from
0d3ff375 7001 display-buffer-maybe-same-window.
8319e0bf 7002
919a69aa
CY
7003 * info.el: Don't set same-window-regexps.
7004 (info-setup): New function.
7005 (info-other-window, info): Call it.
7006
7007 * cus-edit.el: Don't set same-window-regexps.
7008 (customize-group): New argument.
7009 (customize-group-other-window): Use it.
7010 (customize-face, customize-face-other-window): Likewise.
7011 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7012
8319e0bf
CY
7013 * net/rlogin.el:
7014 * net/telnet.el:
7015 * progmodes/gud.el: Don't set same-window-regexps.
7016
7017 * cmuscheme.el:
7018 * ielm.el:
7019 * shell.el:
7020 * mail/sendmail.el:
7021 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7022
25173000
JL
70232011-09-10 Juri Linkov <juri@jurta.org>
7024
7025 * isearch.el (isearch-edit-string): Remove obsolete mention of
7026 `C-w' (`isearch-yank-word-or-char') from docstring.
7027 (isearch-query-replace): Fix typo in docstring (bug#9466).
7028
056e44ef
JL
70292011-09-10 Juri Linkov <juri@jurta.org>
7030
7031 * paren.el (show-paren-function): Don't show escaped parens.
7032 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7033
c3760c17
EZ
70342011-09-10 Eli Zaretskii <eliz@gnu.org>
7035
7036 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7037 (mm-default-file-encoding): Remove autoload forms, they are
7038 replaced with autoload cookies in mml.el and mm-encode.el.
7039 (mail-add-attachment): New command.
7040 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7041 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7042 the doc string.
7043 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7044
fece895e
RT
70452011-09-10 Reuben Thomas <rrt@sc3d.org>
7046
e69df516
SM
7047 * simple.el (count-words-region): Use buffer if there's no region
7048 (bug#9429).
fece895e 7049
5e68ce4a
JL
70502011-09-09 Juri Linkov <juri@jurta.org>
7051
7052 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7053 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7054 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7055
0a6b9622
AM
70562011-09-09 Alan Mackenzie <acm@muc.de>
7057
7058 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7059 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7060
14a29deb
EZ
70612011-09-09 Eli Zaretskii <eliz@gnu.org>
7062
7063 Fix for Savannah bug#9392.
7064 * simple.el (mail-encode-mml): New defvar.
7065
7066 * mail/rmail.el (mail-encode-mml): Add a defvar.
7067 (rmail-enable-mime-composing): Default to t.
7068 (rmail-forward): Use MIME method of forwarding only if both
7069 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7070 Set mail-encode-mml non-nil if the MIME method was used.
7071
7072 * mail/sendmail.el (mml-to-mime): Add autoload form.
7073 (mail-encode-mml): Add a defvar.
7074 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7075 to nil.
7076 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7077 message through mml-to-mime, and reset mail-encode-mml to nil.
7078
28c45130
GM
70792011-09-09 Glenn Morris <rgm@gnu.org>
7080
7081 * woman.el (woman-if-body): When processing an .el block,
7082 do not delete the next .el block as well. (Bug#9447)
69f4b618 7083 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7084
9b1c252e
MR
70852011-09-08 Martin Rudalics <rudalics@gmx.at>
7086
7087 * window.el (window-deletable-p): Make sure window is live before
7088 invoking window-prev-buffers.
7089
567457e3
LL
70902011-09-08 Leo Liu <sdl.web@gmail.com>
7091
7092 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7093
97f05794
JL
70942011-09-08 Juri Linkov <juri@jurta.org>
7095
7096 * progmodes/compile.el (compilation-environment): Make it
7097 a defcustom (bug#8340).
7098
8b0874b5
MR
70992011-09-08 Martin Rudalics <rudalics@gmx.at>
7100
7101 * window.el (frame-auto-delete): Rename to window-auto-delete.
7102 Make it control auto-deletion of windows and/or frames.
7103 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7104 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7105 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7106 Rewrite handling of case when window/frame can be deleted.
7107 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7108 argument t. (Bug#9456)
8b0874b5 7109
4feb6e73
CY
71102011-09-07 Chong Yidong <cyd@stupidchicken.com>
7111
7112 * help-mode.el (help-mode): Restore autoload.
7113
91ab9c13
JL
71142011-09-07 Juri Linkov <juri@jurta.org>
7115
7116 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7117 `compilation-environment'. Set buffer-local
7118 `compilation-environment' to `thisenv' later after (funcall mode).
7119 (Bug#8340)
7120
7121 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7122 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7123 instead of replacing its value. (Bug#8340)
7124
0527e251
JL
71252011-09-07 Juri Linkov <juri@jurta.org>
7126
7127 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7128 based on text properties put by `grep-filter' instead of matching
7129 escape sequences.
7130 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7131 to the value of `grep-error-screen-columns' (bug#9438).
7132
249f792c
JL
71332011-09-07 Juri Linkov <juri@jurta.org>
7134
7135 * simple.el (next-error-highlight, next-error-highlight-no-select):
7136 Doc fix (bug#9432).
7137
ff7271b9
OT
71382011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7139
7140 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7141 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7142
183fc730
LL
71432011-09-07 Leo Liu <sdl.web@gmail.com>
7144
7145 * net/rcirc.el (rcirc-mode): Conditionally initialize
7146 rcirc-input-ring.
7147
77694924
SM
71482011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7149
7150 * emacs-lisp/find-func.el (find-function-C-source): Only set
7151 find-function-C-source-directory after checking that we found a source
7152 file there (bug#9440).
7153
d809b8eb
AM
71542011-09-06 Alan Mackenzie <acm@muc.de>
7155
7156 * isearch.el (isearch-other-meta-char): Wherever a key list is
7157 unread, "unread" the prefix arg, too. This fixes bug #8901.
7158
453de99f
OG
71592011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7160
7161 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7162
90439906
JL
71632011-09-05 Juri Linkov <juri@jurta.org>
7164
7165 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7166
f62bd846
JL
71672011-09-05 Juri Linkov <juri@jurta.org>
7168
7169 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7170 keeping point where processing of grep matches begins, and
7171 continue to delete remaining escape sequences from the same point.
7172 (grep-filter): Make leading zero optional in "0?1;31m" because
7173 git-grep emits "\033[1;31m" escape sequences unlike expected
7174 "\033[01;31m" as GNU Grep does (bug#9408).
7175 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7176
045820ec
JL
71772011-09-05 Juri Linkov <juri@jurta.org>
7178
7179 * subr.el (y-or-n-p): Capitalize "yes".
7180
f5e29b9b
MA
71812011-09-04 Michael Albinus <michael.albinus@gmx.de>
7182
7183 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7184 `tramp-cache-unload-hook' where appropriate.
7185 (tramp-methods): Rename `tramp-remote-sh' to
7186 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7187 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7188
7189 * net/tramp-sh.el (top): Don't require 'shell.
7190 (tramp-methods): Add `tramp-remote-shell' and
7191 `tramp-remote-shell-args' entries.
7192 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7193 (tramp-sh-handle-shell-command): Remove.
7194 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7195 Use `tramp-remote-shell'.
7196
2784c434
CY
71972011-09-03 Chong Yidong <cyd@stupidchicken.com>
7198
393a301e 7199 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7200 (sendmail-query-once): Save directly to send-mail-function.
7201 Update message-send-mail-function too.
7202
7203 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7204
464cdf56
CS
72052011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7206
7207 * progmodes/python.el (python-mode-map): Use correct function to
7208 start python interpreter from menu-bar (as reported by Geert
7209 Kloosterman).
7210 (inferior-python-mode-map): Fix typo.
393a301e 7211 (python-shell-map): Remove.
464cdf56 7212
d37e5c87
DD
72132011-09-03 Deniz Dogan <deniz@dogan.se>
7214
7215 * net/rcirc.el (rcirc-print): Simplify code for
7216 rcirc-scroll-show-maximum-output. There is no need to walk
7217 through all windows to find the right one.
7218
f3ada0ee
CS
72192011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7220
7221 * help.el (help-return-method): Doc fix.
7222
1f3c99ca
MR
72232011-09-03 Martin Rudalics <rudalics@gmx.at>
7224
7225 * window.el (window-deletable-p): Don't return a non-nil value
7226 when there's a buffer that was shown in the window before.
7227 (Bug#9419)
393a301e
SM
7228 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7229 Set window's previous buffers to nil.
1f3c99ca 7230
a3cf097f
EZ
72312011-09-03 Eli Zaretskii <eliz@gnu.org>
7232
7233 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7234 newline before and after the tag line, so it doesn't interfere
7235 with determining the paragraph direction of bidirectional text.
7236
3d03de90
LL
72372011-09-03 Leo Liu <sdl.web@gmail.com>
7238
7239 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7240
c3313451
CY
72412011-09-02 Chong Yidong <cyd@stupidchicken.com>
7242
393a301e 7243 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7244 (pop-to-buffer): Change interactive spec. Pass second argument
7245 directly to display-buffer.
7246 (display-buffer): Fix interactive spec. Use functionp to
7247 distinguish between a function and a list of functions.
7248
7249 * abbrev.el (edit-abbrevs):
7250 * arc-mode.el (archive-extract):
7251 * autoinsert.el (auto-insert):
7252 * bookmark.el (bookmark-bmenu-list):
7253 * files.el (find-file):
7254 * view.el (view-buffer):
7255 * progmodes/compile.el (compilation-goto-locus):
7256 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7257
89894cd8
CY
72582011-09-02 Chong Yidong <cyd@stupidchicken.com>
7259
7260 * window.el (display-buffer-alist): Doc fix.
7261 (display-buffer): Add docstring. Don't treat
7262 display-buffer-default specially.
7263 (display-buffer-reuse-selected-window)
7264 (display-buffer-same-window, display-buffer-maybe-same-window)
7265 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7266 (display-buffer-pop-up-window)
7267 (display-buffer-reuse-or-pop-window)
7268 (display-buffer-use-some-window): New functions.
7269 (display-buffer-default-action): Use them.
393a301e 7270 (display-buffer-default): Delete.
89894cd8
CY
7271 (pop-to-buffer-1): Fix choice of actions.
7272
ae0bc9fb
SM
72732011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7274
7275 * minibuffer.el (completion--insert-strings): Don't get confused by
7276 completion entries that end with an LF char.
7277
e9d90883
EZ
72782011-09-01 Eli Zaretskii <eliz@gnu.org>
7279
7280 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7281
437014c8
CY
72822011-09-01 Chong Yidong <cyd@stupidchicken.com>
7283
7284 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7285 (display-buffer-same-window, display-buffer-other-window):
7286 New functions.
437014c8
CY
7287 (pop-to-buffer-1): New function. Use the above.
7288 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7289 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7290
7291 * view.el (view-buffer-other-window, view-buffer-other-frame):
7292 Just use pop-to-buffer.
7293
a5e063d5
TV
72942011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7295
7296 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7297
793d32bb
WH
72982011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7299
7300 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7301
d65e4c15
RS
73022011-08-31 Richard Stallman <rms@gnu.org>
7303
7304 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7305 of the separation of rmail-view-buffer from rmail-buffer.
7306 If you say no to "replace original", the decrypt is in the
7307 view buffer. If you say yes, the decrypt goes into the
7308 rmail buffer also.
7309
f818cd2a
MR
73102011-08-31 Martin Rudalics <rudalics@gmx.at>
7311
7312 * window.el (display-buffer-window): Rewrite doc-string.
7313 (display-buffer-record-window): New function.
7314 (display-buffer-macro-specifiers)
7315 (display-buffer-even-window-sizes, display-buffer-set-height)
7316 (display-buffer-set-width, display-buffer-in-window)
7317 (display-buffer-reuse-window, display-buffer-split-specifiers)
7318 (display-buffer-side-specifiers, display-buffer-split-window-1)
7319 (display-buffer-split-window, display-buffer-split-atom-window)
7320 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7321 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7322 (display-buffer-other-window-means-other-frame)
7323 (display-buffer-normalize-special)
7324 (display-buffer-normalize-default)
7325 (display-buffer-normalize-argument)
7326 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7327 (display-buffer-normalize-specifiers, display-buffer-frame)
7328 (display-buffer-same-window, display-buffer-same-frame)
7329 (display-buffer-other-window)
7330 (display-buffer-same-frame-other-window)
7331 (display-buffer-other-frame, pop-to-buffer-same-window)
7332 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7333 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7334 (switch-to-buffer-same-frame)
7335 (switch-to-buffer-other-window-same-frame)
7336 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7337 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7338 (display-buffer-alist-set): Remove.
7339 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7340 (special-display-regexps, special-display-function):
7341 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7342 parameter.
7343 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7344 (special-display-frame-alist, special-display-popup-frame)
7345 (same-window-buffer-names, same-window-regexps, same-window-p)
7346 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7347 (split-window-preferred-function, split-height-threshold)
7348 (split-width-threshold, window-splittable-p)
7349 (split-window-sensibly, window--try-to-split-window)
7350 (window--frame-usable-p, even-window-heights)
7351 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7352 (window--display-buffer-2, display-buffer-other-frame):
7353 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7354 (display-buffer-default, display-buffer-assq-regexp): New functions.
7355 (display-buffer-alist): Rewrite doc-string.
7356 (display-buffer-default-action)
7357 (display-buffer-overriding-action): New variables.
7358 (display-buffer, switch-to-buffer): Rewrite.
7359 (pop-to-buffer): Restore Emacs 23 behavior but use
7360 window-normalize-buffer-to-display.
7361 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7362 Restore Emacs 23 behavior but use
7363 window-normalize-buffer-to-switch-to.
7364 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7365 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7366 Rewrite using Emacs 23 options.
f818cd2a 7367
5bc3b51d
MA
73682011-08-31 Michael Albinus <michael.albinus@gmx.de>
7369
7370 * net/tramp.el (tramp-root-regexp): Remove.
7371 (tramp-completion-file-name-regexp-unified)
7372 (tramp-completion-file-name-regexp-separate)
7373 (tramp-completion-file-name-regexp-url): Don't use leading volume
7374 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7375 (tramp-drop-volume-letter): Simplify definition.
7376 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7377
b1a4f8e1
SM
73782011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7381 (bug#9356).
7382
5664fa7b
RT
73832011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7384
b1a4f8e1 7385 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7386
9a45d6c3
JL
73872011-08-29 Juri Linkov <juri@jurta.org>
7388
7389 * isearch.el (isearch-done): Don't display message "Mark saved"
7390 when arg `edit' is non-nil to prevent its flicker in the echo area.
7391
fb87e0fb
CY
73922011-08-28 Chong Yidong <cyd@stupidchicken.com>
7393
7394 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7395 obsolete packages for deletion.
7396
09ac1c2a
CS
73972011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7398
7399 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7400 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7401 view-mode from help-mode.
7402 (help-xref-override-view-map): Remove.
7403 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7404 view-mode is not used anymore.
7405
7a1ff57f
CY
74062011-08-28 Chong Yidong <cyd@stupidchicken.com>
7407
7408 * server.el (server-port): Doc fix.
7409
b9696605
CY
7410 * cus-theme.el (custom-theme-choose-mode): Inherit from
7411 special-mode (Bug#9124).
7412 (custom-theme-choose-mode-map): Add special-mode to parent.
7413
ef8cdf8c
AM
74142011-08-28 Alan Mackenzie <acm@muc.de>
7415
7416 * progmodes/cc-fonts.el
7417 (c-make-font-lock-BO-decl-search-function): New function.
7418 (c-basic-matchers-after - "Fontify the clauses after various
7419 keywords"): Extract the three keyword lists for the 3 erroneous
7420 constructs from the list of four, and use the new function above
7421 in place of an old one.
7422
27de4e20
DD
74232011-08-28 Deniz Dogan <deniz@dogan.se>
7424
7425 * net/rcirc.el (rcirc-insert-prev-input)
7426 (rcirc-insert-next-input): Remove unused argument.
7427
356a3681
SM
74282011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7431
3fc9b218
AM
74322011-08-27 Alan Mackenzie <acm@muc.de>
7433
7434 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7435 handle function pointer parameters properly.
7436
538a061c
MR
74372011-08-27 Martin Rudalics <rudalics@gmx.at>
7438
7439 * window.el (display-buffer-reuse-window): Fix case where
7440 selected window was reused with non-nil OTHER-WINDOW argument.
7441 (Bug#9381)
7442
35b1c40c
DD
74432011-08-27 Deniz Dogan <deniz@dogan.se>
7444
7445 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7446 oftc's NickServ messages.
7447
2f6a3e79
GM
74482011-08-27 Glenn Morris <rgm@gnu.org>
7449
7450 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7451
7254299e
CY
74522011-08-26 Chong Yidong <cyd@stupidchicken.com>
7453
7454 * emacs-lisp/package.el (package-install): Call package-initialize
7455 if called interactively.
7456
f8ccf167
LL
74572011-08-26 Leo Liu <sdl.web@gmail.com>
7458
7459 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7460
3e8cd5ce
JL
74612011-08-25 Juri Linkov <juri@jurta.org>
7462
7463 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7464 `search-whitespace-regexp' (bug#9364).
7465
93eb7113
JL
74662011-08-25 Juri Linkov <juri@jurta.org>
7467
7468 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7469 `regexp-search-ring' to their global values to protect from
7470 updating by `read-from-minibuffer' (bug#9185).
7471
f65d1611
JL
74722011-08-25 Juri Linkov <juri@jurta.org>
7473
7474 * textmodes/ispell.el (ispell-command-loop): Add newline
7475 at the end of the "Use option `i'..." line.
7476
f1cf7a31
JL
74772011-08-25 Juri Linkov <juri@jurta.org>
7478
7479 * battery.el (display-battery-mode): If `battery-status-function'
7480 or `battery-mode-line-format' is nil, display the message and set
7481 `display-battery-mode' to nil (bug#9363).
7482
0c95fcf7
EZ
74832011-08-25 Eli Zaretskii <eliz@gnu.org>
7484
7485 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7486 bidi-string-mark-left-to-right; they are unnecessary now.
7487
a2ebe600
DD
74882011-08-25 Deniz Dogan <deniz@dogan.se>
7489
7490 * net/quickurl.el: Documentation typo fixes.
7491
e4ed06f1
CY
74922011-08-25 Chong Yidong <cyd@stupidchicken.com>
7493
7494 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7495
e5f1c99e
GM
74962011-08-25 Glenn Morris <rgm@gnu.org>
7497
b2948976
GM
7498 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7499
e5f1c99e
GM
7500 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7501 (smtpmail-via-smtp): Handle nil response from smtp.
7502
f22f4808
JL
75032011-08-24 Juri Linkov <juri@jurta.org>
7504
7505 * proced.el (proced-marked): Inherit from `error' instead of
7506 `font-lock-warning-face'.
7507
7508 * ibuffer.el (ibuffer-marked-face): Change default face from
7509 `font-lock-warning-face' to `warning'.
7510 (ibuffer-deletion-face): Change default face from
7511 `font-lock-type-face' to `error'.
7512
7513 * battery.el (battery-update): Use the face `error' instead of
7514 `font-lock-warning-face' (bug#6117).
7515
6a93965e
JL
75162011-08-24 Juri Linkov <juri@jurta.org>
7517
7518 * faces.el (success): Change face color from "Green3" to
7519 "ForestGreen" on light background (bug#9353).
7520
1ed43b09
CY
75212011-08-24 Chong Yidong <cyd@stupidchicken.com>
7522
5664fa7b
RT
7523 * window.el (quit-window): Rename from quit-restore-window.
7524 Use same arglist as old quit-window.
1ed43b09
CY
7525 (frame-auto-delete): Doc fix.
7526
7527 * view.el (view-mode-exit): Use quit-window.
7528
11dcdbb2
JL
75292011-08-24 Juri Linkov <juri@jurta.org>
7530
7531 * isearch.el (isearch-ring-adjust1): Start visiting previous
7532 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7533 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7534 for empty search string (when the last search string is reused
7535 automatically) to adjust the isearch ring to the last element and
7536 prepare the correct index for further M-p commands (bug#9185).
7537
de62b4df
KH
75382011-08-24 Kenichi Handa <handa@m17n.org>
7539
7540 * international/ucs-normalize.el: If decomposition property of
7541 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7542 nil.
7543 (nfd, nfkd): Likewise.
7544
963b492b
SM
75452011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7546
7547 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7548 from process filters aren't reliably transmitted to the surrounding
7549 accept-process-output.
7550 (mpc-proc-check): New function.
7551 (mpc-proc-sync): Use it (bug#8293)
7552
93b6b5e1
SM
75532011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7556 Add compatibility functions (bug#9313).
7557
bca633fb
EZ
75582011-08-23 Eli Zaretskii <eliz@gnu.org>
7559
b177498a
EZ
7560 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7561
6df6ae42 7562 * international/uni-bidi.el: Regenerate.
bca633fb 7563
0902a04e
KH
75642011-08-23 Kenichi Handa <handa@m17n.org>
7565
7566 * international/charprop.el:
7567 * international/uni-bidi.el:
7568 * international/uni-category.el:
7569 * international/uni-combining.el:
7570 * international/uni-comment.el:
7571 * international/uni-decimal.el:
7572 * international/uni-decomposition.el:
7573 * international/uni-digit.el:
7574 * international/uni-lowercase.el:
7575 * international/uni-mirrored.el:
7576 * international/uni-name.el:
7577 * international/uni-numeric.el:
7578 * international/uni-old-name.el:
7579 * international/uni-titlecase.el:
7580 * international/uni-uppercase.el: Regenerate.
7581
3bbf23bc
MR
75822011-08-23 Martin Rudalics <rudalics@gmx.at>
7583
7584 * help.el (help-window-setup): Fix message displayed when other
7585 window is reused. (Bug#9341)
7586
b3fd59bd
SM
75872011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7588
1802e444
SM
7589 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7590 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7591
b3fd59bd
SM
7592 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7593 Mark obsolete.
7594 * shell.el (shell-parse-pcomplete-arguments): New function.
7595 (shell-completion-vars): Use it instead (bug#9160).
7596
4eb61348
SM
75972011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7598
867cab74
SM
7599 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7600 strings and comments (bug#9333).
7601
4eb61348
SM
7602 * emacs-lisp/debug.el (debug-arglist): New function.
7603 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7604 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7605
262a1439
JL
76062011-08-22 Juri Linkov <juri@jurta.org>
7607
56ee679c
JL
7608 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7609 Revert regexp that highlights output switches to its old
7610 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7611
262a1439
JL
7612 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7613 to check for empty output (bug#9226).
7614
f13f86fb
CY
76152011-08-22 Chong Yidong <cyd@stupidchicken.com>
7616
7617 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7618 symbol-constituent as the default, as that stops font-lock from
7619 working properly (Bug#8843).
7620
c65c9622
LMI
76212011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7622
7623 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7624 `coding-system-for-*' around the process open call to avoid
7625 auth-source side effects.
e7f2c178 7626 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7627 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7628 probe hangs.
c65c9622 7629
23a8a5ab
CY
76302011-08-21 Chong Yidong <cyd@stupidchicken.com>
7631
ff98b2dd
CY
7632 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7633
23a8a5ab
CY
7634 * emacs-lisp/find-func.el (find-function-noselect): New arg
7635 lisp-only.
7636
7637 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7638 signal an error for built-in functions (Bug#6664).
7639
f5e3c598
LMI
76402011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7641
7642 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7643 (smtpmail-try-auth-methods): Use it.
7644
a3f2468a
CY
76452011-08-21 Chong Yidong <cyd@stupidchicken.com>
7646
2c34e8da
CY
7647 * font-lock.el (font-lock-fontify-region)
7648 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7649 (font-lock-default-unfontify-buffer)
7650 (font-lock-default-fontify-region)
7651 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7652
b3fd59bd
SM
7653 * progmodes/compile.el (compilation-error-properties):
7654 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7655 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7656 `ant' regexp.
ee31aabc 7657
a3f2468a
CY
7658 * net/browse-url.el (browse-url-firefox): Don't call
7659 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7660
8e999f70
GM
76612011-08-20 Glenn Morris <rgm@gnu.org>
7662
c21a496a
GM
7663 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7664
59ee0542
GM
7665 * tutorial.el (tutorial--default-keys): Update some default bindings.
7666
8e999f70
GM
7667 * files.el (hack-local-variables): Fully ignore case for "mode:".
7668
e3715033
AM
76692011-08-20 Alan Mackenzie <acm@muc.de>
7670
7671 Resolve invalid use of a regexp in regexp-opt.
7672
4d61f28d
JB
7673 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7674 detection for a java annotation.
e3715033 7675
4d61f28d 7676 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7677 detection for a java annotation.
7678
4d61f28d
JB
7679 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7680 handling for java.
e3715033
AM
7681 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7682
04ed2e9c
CY
76832011-08-20 Chong Yidong <cyd@stupidchicken.com>
7684
7685 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7686 (Bug#9274).
7687
826cee64
AM
76882011-08-20 Alan Mackenzie <acm@muc.de>
7689
58179cce 7690 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7691 such a construct. Mainly for when jit-lock etc. starts a chunk
7692 here.
7693
58179cce 7694 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7695 variable.
58179cce 7696 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7697 c-make-font-lock-search-function.
7698 (c-make-font-lock-search-function): Use the above function.
7699 (c-make-font-lock-context-search-function): New function.
7700 (c-cpp-matchers): Enhance the preprocessor expression case with
7701 the above function
7702 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7703 which takes an expression.
7704
7705 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7706
13009bd8
MR
77072011-08-20 Martin Rudalics <rudalics@gmx.at>
7708
7709 * window.el (display-buffer-reuse-window)
7710 (display-buffer-pop-up-window): Don't reuse or split a side
7711 window.
7712
9234ff7f
GM
77132011-08-19 Glenn Morris <rgm@gnu.org>
7714
7715 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7716 Downcase "Mode:". (Bug#9331)
9234ff7f 7717
f635daa1
CY
77182011-08-18 Chong Yidong <cyd@stupidchicken.com>
7719
7720 * international/characters.el: Add L and R categories.
7721
7722 * subr.el (bidi-string-mark-left-to-right): Rename from
7723 string-mark-left-to-right. Use category search.
7724
7725 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7726
bc987f8b
JL
77272011-08-18 Juri Linkov <juri@jurta.org>
7728
7729 * faces.el (error, warning, success): New faces with definitions
7730 copied from old default values of `font-lock-warning-face',
7731 `compilation-warning', `compilation-info' (bug#6117).
7732
7733 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7734
7735 * progmodes/compile.el (compilation-error): Inherit from `error'.
7736 (compilation-warning): Inherit from `warning'.
7737 (compilation-info): Inherit from `success'.
7738
7739 * dired.el (dired-marked): Inherit from `warning'.
7740 (dired-flagged): Inherit from `error'.
7741
57173b96
LMI
77422011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7743
3e79eb87
LMI
7744 * mail/smtpmail.el (auth-source): Require to avoid problems with
7745 binding variables (bug#9298). Also clean up some unused
7746 autoloads.
7747
b3fd59bd
SM
7748 * net/network-stream.el (network-stream-open-starttls):
7749 Support using starttls.el without using gnutls-cli.
57173b96 7750
02b404de
JL
77512011-08-17 Juri Linkov <juri@jurta.org>
7752
7753 * progmodes/grep.el (rgrep): Handle the case when
7754 `grep-find-command' is a cons cell (bug#9278).
7755
8c9177f2
MR
77562011-08-17 Martin Rudalics <rudalics@gmx.at>
7757
7758 * window.el (display-buffer-pop-up-frame): Run frame creation
7759 function with BUFFER current (as special-display-popup-frame
7760 does). Reported by Drew Adams.
7761
3644a0ab
DU
77622011-08-17 Daiki Ueno <ueno@unixuser.org>
7763
7764 * epa-mail.el: Simplify GnuPG group expansion using
7765 epg-expand-group.
7766 (epa-mail-group-alist, epa-mail-group-modtime)
7767 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7768 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7769 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7770 Remove.
7771
5e617bc2 77722011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7773
7774 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7775
9c4aeabf
AM
77762011-08-16 Alan Mackenzie <acm@muc.de>
7777
7778 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7779 Correct, to avoid the inside of macros.
7780
3a99bf64
RS
77812011-08-16 Richard Stallman <rms@gnu.org>
7782
04963aa8
RS
7783 * epa-mail.el: Handle GnuPG group definitions.
7784 (epa-mail-group-alist, epa-mail-group-modtime)
7785 (epa-mail-gnupg-conf-file): New variables.
7786 (epa-mail-parse-groups, epa-mail-sync-groups)
7787 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7788 (epa-mail-expand-recipients): New functions.
7789 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7790
177549d0
RS
7791 * mail/rmail.el (rmail-epa-decrypt): New command.
7792
fe38beef
RS
7793 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7794 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7795 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7796 (epa-decrypt-armor-in-region): Make error message clearer.
7797
934eacb9
SM
77982011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7799
7800 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7801 and "a2b" to "ab" for `prefix'.
7802
d024fb4e
CY
78032011-08-14 Chong Yidong <cyd@stupidchicken.com>
7804
7805 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7806 filter groups.
de148fee
CY
7807 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7808 Fourquet (Bug#8804).
d024fb4e 7809
62f1ca49
JB
78102011-08-12 Juanma Barranquero <lekktu@gmail.com>
7811
7812 * startup.el (argi): Declare as global variable (bug#9275).
7813
9ccaaa4b
CY
78142011-08-12 Chong Yidong <cyd@stupidchicken.com>
7815
7816 * subr.el (string-mark-left-to-right): Search the entire string
7817 for RTL script, not just the terminating character. Doc fix.
7818
a3dae87a
SM
78192011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7820
6cd18349
SM
7821 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7822 New function.
7823 (js--regexp-literal, js-syntax-propertize-function): Remove.
7824 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7825 (js-mode-map): Don't rebind electric keys.
7826 (js-insert-and-indent): Remove.
7827 (js-mode): Setup electric-layout and electric-indent instead.
7828
a3dae87a
SM
7829 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7830
9d5cb631
DU
78312011-08-12 Daiki Ueno <ueno@unixuser.org>
7832
7833 * epa.el (epa-progress-callback-function): Fix the logic of
7834 displaying progress.
7835 * epa-file.el (epa-file-insert-file-contents): Make progress
7836 display more user-friendly.
7837 (epa-file-write-region): Ditto.
7838
3e26a4a2
CY
78392011-08-10 Chong Yidong <cyd@stupidchicken.com>
7840
7841 * subr.el (string-mark-left-to-right): New function.
7842
7843 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7844 Use string-mark-left-to-right.
7845 (list-buffers-noselect): Caller changed.
7846
a3dae87a
SM
7847 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7848 Use string-mark-left-to-right.
3e26a4a2
CY
7849 (tabulated-list-print): Recenter after moving point.
7850
ac8cf6e6
JL
78512011-08-10 Juri Linkov <juri@jurta.org>
7852
7853 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7854 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7855 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7856
8d96c9a4
CY
78572011-08-09 Chong Yidong <cyd@stupidchicken.com>
7858
7859 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7860 (Bug#7554).
7861
7be1c708 78622011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7863
7864 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7865 character. (Bug#6594)
7866
37e11a63
CY
78672011-08-08 Chong Yidong <cyd@stupidchicken.com>
7868
839dde57
CY
7869 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7870 (image-dired--with-db-file): New macro.
7871 (image-dired-write-tags, image-dired-remove-tag)
7872 (image-dired-create-gallery-lists, image-dired-write-comments)
7873 (image-dired-get-comment, image-dired-mark-tagged-files)
7874 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7875 (image-dired-gallery-generate): Use insert-file-contents.
7876
37e11a63
CY
7877 * time.el (display-time-world-list, display-time-world-display):
7878 * time-stamp.el (time-stamp-string):
7879 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7880 set-time-zone-rule (Bug#7337).
7881
0b4946c4
DU
78822011-08-08 Daiki Ueno <ueno@unixuser.org>
7883
7884 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7885 (epg-error-to-string, epg-errors-to-string): New function.
7886 (epg-wait-for-completion): Reverse errors list.
7887 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7888 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7889 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7890 (epg-sign-keys, epg-generate-key-from-file)
7891 (epg-generate-key-from-string): Format errors by using
7892 epg-errors-to-string (bug#9255).
7893 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7894
75bfc667
JL
78952011-08-07 Juri Linkov <juri@jurta.org>
7896
7897 * faces.el (list-faces-display): Remove extra angle bracket
7898 from `help-mode-map'.
7899
7900 * info.el (Info-history-toc-nodes): Doc fix.
7901
7902 * longlines.el (longlines-mode): Doc fix.
7903
673e08bb
SM
79042011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7905
4640dd88
SM
7906 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7907 of statements and in a few more cases (bug#9183).
7908
673e08bb
SM
7909 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7910 New functions.
7911 (cl-transform-lambda): Use them (bug#9239).
7912
89b3f019
MR
79132011-08-05 Martin Rudalics <rudalics@gmx.at>
7914
7915 * window.el (display-buffer-same-window)
7916 (display-buffer-same-frame, display-buffer-other-window)
7917 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7918 (pop-to-buffer-other-window)
7919 (pop-to-buffer-same-frame-other-window)
7920 (pop-to-buffer-other-frame): Make them defuns.
7921 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7922
640c8776
SM
79232011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * subr.el (make-composed-keymap): Move from C. Change calling
7926 convention, and improve docstring to bring attention to a subtle point.
7927 * minibuffer.el (completing-read-default): Adjust accordingly.
7928
63648a95
MA
79292011-08-03 Michael Albinus <michael.albinus@gmx.de>
7930
7931 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7932 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7933
7934 * net/trampver.el: Update release number.
7935
b796c9b7
SM
79362011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7939 "in" (bug#9190).
7940
2239d7d5
LMI
79412011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7942
e07dd7c3
LMI
7943 * mail/sendmail.el (sendmail-query-once): Restore the current
7944 buffer after querying (bug#9074).
7945
0e6a2bd7
LMI
7946 * dired.el (dired-flagged): Use different faces for marked and
7947 flagged files (bug#6117).
7948
ce887515
LMI
7949 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7950 (bug#4433).
7951
92f2affc
LMI
7952 * ido.el (ido-mode): Switch off the message if called
7953 non-interactively.
7954
57d5aff0
LMI
7955 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7956 before 587, since it appears that that's more likely to work for
7957 more people.
7958
98cd6c18 7959 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7960 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7961 exist.
7962
b96dec83
LMI
7963 * info.el: Remove the `Info-beginning-of-buffer' function
7964 (bug#8325).
7965
b796c9b7
SM
7966 * net/network-stream.el (network-stream-open-starttls):
7967 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7968
d90e2ea0
MR
79692011-08-01 Martin Rudalics <rudalics@gmx.at>
7970
7971 * window.el (display-buffer-in-window): Don't set dedicated status
7972 of window here (Bug#9215).
7973 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7974 (display-buffer-pop-up-side-window)
b796c9b7 7975 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7976
cca09170
SM
79772011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7980 before binding generated-autoload-file.
7981
027b979c
DD
79822011-08-01 Deniz Dogan <deniz@dogan.se>
7983
7984 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7985
3c7ee4f3
MA
79862011-07-30 Michael Albinus <michael.albinus@gmx.de>
7987
7988 Sync with Tramp 2.2.2.
7989
7990 * net/trampver.el: Update release number.
7991
2cc8e51a
JL
79922011-07-30 Juri Linkov <juri@jurta.org>
7993
7994 * dired-aux.el (dired-touch-initial): Remove function.
7995 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7996 current time, and `default' to the last modification time of the
7997 current marked file (bug#6887).
7998
a514d856
JM
79992011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8000
8001 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8002 numeric argument to read-number (bug#9163).
a514d856 8003
8a7eddd7
MA
80042011-07-27 Michael Albinus <michael.albinus@gmx.de>
8005
8006 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8007 connection process, it could be nil.
8008
1ddd96f5
LL
80092011-07-27 Leo Liu <sdl.web@gmail.com>
8010
8011 Simplify url handling in rcirc-mode.
8012
8013 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8014 (rcirc-browse-url-at-mouse): Remove.
8015 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8016
b248a85d
AM
80172011-07-26 Alan Mackenzie <acm@muc.de>
8018
8019 Fontify bitfield declarations properly.
8020
8021 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8022 (c-symbol-chars): Now exported as a lang variable.
8023 (c-not-primitive-type-keywords): New lang variable.
8024
8025 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8026 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8027 parsed as a bitfield declaration.
b248a85d 8028
b796c9b7
SM
8029 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8030 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8031 (c-punctuation-in): New function.
8032 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8033 declarations properly.
8034
68575ab0
UJ
80352011-07-26 Ulf Jasper <ulf.jasper@web.de>
8036
8037 * calendar/icalendar.el (icalendar--all-events): Take care of
8038 multiple vcalendars in a single file.
b796c9b7 8039 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8040
0f0a88b9
DD
80412011-07-25 Deniz Dogan <deniz@dogan.se>
8042
8043 * image.el (insert-image): Clarifying docstring.
8044
0b3f36df
MA
80452011-07-24 Michael Albinus <michael.albinus@gmx.de>
8046
8047 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8048 `tramp-send-command-and-check' if there is no error.
8049 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8050
a9901f61
AM
80512011-07-22 Alan Mackenzie <acm@muc.de>
8052
8053 Prevent cc-langs.elc being loaded at run time.
8054
8055 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8056 cc-langs.
8057
4d61f28d 8058 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8059 "(require 'cc-langs)". Quote a form so it will evaluate at
8060 (cc-mode's) compilation time.
8061
11d074b2
MA
80622011-07-22 Michael Albinus <michael.albinus@gmx.de>
8063
8064 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8065 loading. (Bug#9114)
8066
938b94c8
MR
80672011-07-21 Martin Rudalics <rudalics@gmx.at>
8068
8069 * window.el (display-buffer-pop-up-window)
8070 (display-buffer-pop-up-side-window)
8071 (display-buffer-in-side-window): Call display-buffer-set-height
8072 and display-buffer-set-width after setting the new window's
b796c9b7 8073 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8074
bfa4f190
SS
80752011-07-20 Sam Steingold <sds@gnu.org>
8076
8077 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8078 (etags-tags-included-tables): Call `convert-standard-filename' on
8079 the file names contained in TAGS so that windows Emacs can handle
8080 TAGS files created by cygwin ctags.
8081
8ca42262
LMI
80822011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8083
8084 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8085 which apparently didn't work.
8086
5db2afd2 80872011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8088
5db2afd2
RW
8089 * proced.el (proced-send-signal): For *Marked Processes* buffer
8090 put point at beginning of buffer.
8091
92e15d10
SB
80922011-07-19 Stephen Berman <stephen.berman@gmx.net>
8093
8094 * proced.el (proced-format): Make header lines align with the text
8095 (bug#1779).
8096
1bfd59e5
LMI
80972011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8098
8099 * view.el (view-buffer): Allow running in `special' modes if we're
8100 visiting a file (bug#8615).
8101
f5aae37c
MR
81022011-07-19 Martin Rudalics <rudalics@gmx.at>
8103
8104 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8105 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8106 New functions.
f5aae37c
MR
8107 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8108 more accurately.
8109
bf2c1571
AM
81102011-07-18 Alan Mackenzie <acm@muc.de>
8111
8112 Fontify declarators properly when, e.g., a jit-lock chunk begins
8113 inside a declaration.
8114
8115 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8116
b796c9b7
SM
8117 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8118 New function.
bf2c1571
AM
8119 (c-complex-decl-matchers): Insert reference to
8120 c-font-lock-enclosing-decls.
8121
8122 * progmodes/cc-engine.el (c-backward-single-comment):
8123 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8124 to nil around calls to (forward-comment -1).
8125
4e190b80
LMI
81262011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8127
12dc863d
LMI
8128 * image.el (put-image): Doc typo fix.
8129
a762e966
LMI
8130 * progmodes/etags.el (tags-search): Doc typo fix.
8131
4e190b80
LMI
8132 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8133 password if we get errors 550 to 554.
8134
f019fb21
LMI
81352011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8136
b796c9b7 8137 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8138
81746738
LMI
8139 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8140 indentation character (bug#6380).
8141
3ee3a1b5
LMI
8142 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8143
c82f64de
LMI
8144 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8145 to clarify what the problem is (bug#4291).
8146
f019fb21
LMI
8147 * simple.el (current-kill): Clarify what
8148 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8149 (auto-fill-mode): Document `auto-fill-function' in relation to
8150 `auto-fill-mode' (bug#2470).
f019fb21 8151
0794775d
LM
81522011-07-16 Lawrence Mitchell <wence@gmx.li>
8153
8154 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8155 method if slot is read-only (bug#9035).
8156
be39b8cc
MR
81572011-07-16 Martin Rudalics <rudalics@gmx.at>
8158
b796c9b7 8159 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8160 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8161 selected before, see discussion of (Bug#8615), (Bug#6954).
8162 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8163
6ccf7859
GM
81642011-07-15 Glenn Morris <rgm@gnu.org>
8165
8166 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8167 Respect help-form.
6ccf7859 8168
87e86684
LM
81692011-07-09 Lawrence Mitchell <wence@gmx.li>
8170
8171 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8172 (gnutls-negotiate): Use it.
8173
d6066239
LMI
81742011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8175
b796c9b7
SM
8176 * net/gnutls.el (gnutls-negotiate):
8177 Upcase `gnutls-algorithm-priority'.
d6066239 8178
bd23ebc0
GM
81792011-07-15 Glenn Morris <rgm@gnu.org>
8180
c65bca65
GM
8181 * jka-compr.el (jka-compr-verbose): Move from here...
8182 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8183 Add missing :version tag.
8184 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8185
478615cc
LMI
81862011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8187
7b41decb
LMI
8188 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8189 (gnutls-negotiate): Use it.
8190
dbc44fcd
LMI
8191 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8192
06789f97
LMI
8193 * info.el (Info-beginning-of-buffer): New command.
8194 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8195 announcing `b' as the key (bug#8325).
ab896c37 8196 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8197
c39da690
LMI
8198 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8199
3aa5f34b
LMI
8200 * international/mule-cmds.el
8201 (describe-specified-language-support): Make the error message
8202 clearer (bug#8905).
8203
4bf0979f
LMI
8204 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8205
478615cc
LMI
8206 * isearch.el (isearch-barrier): Add a doc string, since it's
8207 mentioned in a function doc string (bug#8678).
8208
75c68aa1
MR
82092011-07-15 Martin Rudalics <rudalics@gmx.at>
8210
8211 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8212 buffer argument (Bug#9083) and self-identifying label argument.
8213
a7c33da2
GM
82142011-07-15 Glenn Morris <rgm@gnu.org>
8215
8216 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8217
2f5c6024
LMI
82182011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8219
8220 * man.el (Man-fontify-manpage): Fix message when formatting the
8221 man page (bug#7929).
8222
0bb23927 82232011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8224
8225 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8226 argument LRM; if non-nil, append an invisible LRM character to the
8227 buffer name.
8228 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8229 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8230 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8231 paragraph direction.
cce4b0a7 8232
621ef9ab
LMI
82332011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8234
d1583c48
LMI
8235 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8236 the man page name (bug#7929).
8237
6a57fb5f
LMI
8238 * image.el (put-image): Mention the `put-image' overlay property
8239 (bug#7834).
8240
d7956b14
LMI
8241 * scroll-bar.el (set-scroll-bar-mode): Mention that
8242 `scroll-bar-mode' lists the values (bug#7772).
8243
5b2d4a66
LMI
8244 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8245 command (bug#7729).
8246
7509a874
LMI
8247 * rect.el (apply-on-rectangle): Return the point after the last
8248 operation.
8249 (string-rectangle): Go to the point after the last operation
8250 (bug#7522).
8251
4fe74b19
LMI
8252 * printing.el (pr-toggle-region): Clarify the documentation
8253 slightly (bug#7493).
8254
b796c9b7
SM
8255 * time.el (display-time-update):
8256 Allow `display-time-mail-function' to return nil (bug#7158).
8257 Fix suggested by Detlev Zundel.
ab283561 8258
fc233c9d
LMI
8259 * vc/diff.el (diff): Clarify the order the file names are read
8260 (bug#7111).
8261
43f5740b
LMI
8262 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8263 the doc string (bug#7015).
8264
f2182a76
LMI
8265 * font-lock.el (font-lock-maximum-decoration): Mention what
8266 numeric levels mean (bug#6935).
8267
621ef9ab
LMI
8268 * startup.el (initial-buffer-choice): Don't mention the `none'
8269 selection, which is against policy.
8270
adc47434
MR
82712011-07-14 Martin Rudalics <rudalics@gmx.at>
8272
b796c9b7
SM
8273 * window.el (display-buffer-normalize-special):
8274 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8275
7e5bfb8f
EZ
82762011-07-14 Eli Zaretskii <eliz@gnu.org>
8277
8278 * subr.el (version<, version<=, version=): Mention "-CVS" and
8279 "-12345" alpha version numbers.
8280
27fa387a
CY
82812011-07-14 Chong Yidong <cyd@stupidchicken.com>
8282
8283 * bindings.el: Add advertised binding for set-mark-command
8284 (Bug#5772).
8285
8bdfa064
CY
82862011-07-14 Chong Yidong <cyd@stupidchicken.com>
8287
8288 * bindings.el (mode-line-other-buffer):
8289 * bookmark.el (bookmark-bmenu-2-window):
8290 * bs.el (bs-cycle-next, bs-cycle-previous):
8291 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8292 switch-to-buffer.
8293
8294 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8295 Delete.
8bdfa064 8296
5eba16a3
JB
82972011-07-14 Juanma Barranquero <lekktu@gmail.com>
8298
8299 * follow.el (follow-debug-message, follow-redisplay):
8300 * jka-cmpr-hook.el (with-auto-compression-mode):
8301 Fix typos in docstrings.
8302
15853710
LMI
83032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8304
a28e4607
LMI
8305 * subr.el (with-silent-modifications): Clarify somewhat what the
8306 macro inhibits (bug#6525).
8307
15853710
LMI
8308 * simple.el (eval-expression): Note what it does if called
8309 interactively (bug#6495).
8310
bee0fcef
CY
83112011-07-13 Chong Yidong <cyd@stupidchicken.com>
8312
b796c9b7
SM
8313 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8314 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8315
8316 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8317 Remove switch-to-buffer.
8318
58274504
LMI
83192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8320
bd2fcc8d
LMI
8321 * files.el (make-directory): Clarify that an error will be raised
8322 if there's an error (bug#6397).
8323
0f04b32c
LMI
8324 * startup.el (initial-buffer-choice): Add `none' as a choice
8325 (bug#6234).
8326
465c5fc8
LMI
8327 * subr.el (add-hook): Clarify section about buffer-local hooks
8328 (bug#6218).
8329
58274504
LMI
8330 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8331
bead9a43
JB
83322011-07-13 Juanma Barranquero <lekktu@gmail.com>
8333
8334 * tabify.el (untabify): Preserve the current column so that point
8335 doesn't move (bug#6032).
8336
3af98a7b
LMI
83372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8338
b796c9b7
SM
8339 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8340 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8341
6240145a
GM
83422011-07-13 Glenn Morris <rgm@gnu.org>
8343
8344 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8345 (dired-insert-directory): Give a message the first time
8346 if ls is found not to support --dired.
8347
1d8c2ccc
LMI
83482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349
8350 * simple.el (toggle-truncate-lines): Clarify what is toggled
8351 (bug#5580). Text by Drew Adams.
8352
5fc4038e
CY
83532011-07-13 Chong Yidong <cyd@stupidchicken.com>
8354
8355 * simple.el (blink-matching-open): Make the error message from the
8356 last change less verbose.
8357
bf6012e5
DN
83582011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8359
8360 * font-lock.el (font-lock-comment-face): Use the high contrast
8361 "yellow" color for font-lock-comment-face on low color terminals
8362 using a dark background color (bug#4221).
8363
343c3b5a
LMI
83642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8365
7e9505c5
LMI
8366 * dired.el (dired-insert-set-properties): Make the doc string
8367 reflect what it does now (bug#5325).
8368
c26fdcf5
LMI
8369 * simple.el (blink-matching-open): Say that we were unable to find
8370 the match within the limit, if we're limited (bug#5122).
8371
bb388cc5
LMI
8372 * international/mule-cmds.el (prefer-coding-system): Add an
8373 example (bug#4869).
8374
343c3b5a
LMI
8375 * progmodes/etags.el (tags-search): Document `file-list-form'
8376 (bug#4731).
8377
2a517d45
LM
83782011-07-13 Lawrence Mitchell <wence@gmx.li>
8379
8380 * net/browse-url.el (browse-url-default-browser)
8381 (browse-url-browser-function): Make the default browser choice a
8382 bit more logical (bug#4300). Also clean up the doc string.
8383
b6c78ef2
JB
83842011-07-13 Juanma Barranquero <lekktu@gmail.com>
8385
8386 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8387 binary endings (bug#4440).
8388
1c4dd947
LMI
83892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8390
a2014063
LMI
8391 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8392 which can be pretty annoying (bug#8971).
8393
9c9c2d88
LMI
8394 * jka-compr.el (jka-compr-verbose): New variable, and use
8395 throughout (bug#8971).
8396
1c4dd947
LMI
8397 * info.el (Info-find-file): Fall back on the installation
8398 directory if we can't find the info node anywhere else.
8399
a1c9f41b
SO
84002011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8401
8402 * vc/vc.el (vc-revert-file):
8403 Don't set file time-stamp in the past. (Bug#5181)
8404
536f3d36
LMI
84052011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8406
7152b011
LMI
8407 * files.el (after-find-file): Give a better error message when
8408 trying to find a symlink that points to a file that doesn't exist
8409 (bug#4398).
8410
536f3d36
LMI
8411 * progmodes/cc-vars.el: Remove (probably) misleading comment
8412 (bug#4396).
8413
460c0fba
JB
84142011-07-12 Johan Bockgård <bojohan@gnu.org>
8415
8416 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8417
7a6bda45
CY
84182011-07-12 Chong Yidong <cyd@stupidchicken.com>
8419
8420 * mouse-sel.el: Hack restoring functionality, while keeping
8421 compatibility with 2010-07-03 changes to mouse selection.
8422 (mouse-sel-primary-overlay): New var.
8423 (mouse-sel-selection-alist): Use it.
8424 (mouse-sel-mode): Doc fix; remove points that are default features
8425 of mouse.el.
8426
c79598ef
JB
84272011-07-12 Johan Bockgård <bojohan@gnu.org>
8428
8429 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8430 Fix previous fix (bug#2490).
8431
ff8be6ef
RW
84322011-07-12 Roland Winkler <winkler@gnu.org>
8433
b796c9b7
SM
8434 * textmodes/bibtex.el (bibtex-initialize):
8435 Use pop-to-buffer-same-window.
ff8be6ef
RW
8436 (bibtex-search-entries): Fix interactive call.
8437
296ba3ee
LMI
84382011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8439
f5242a02 8440 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8441 Fontise bytecomp Error lines more correctly (bug#2490).
8442 Fix suggested by Johan Bockgård.
f5242a02 8443
296ba3ee
LMI
8444 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8445
8446 * dired-x.el (dired-guess-default): Use `delete-dups'.
8447
f69fd0d2
CY
84482011-07-12 Chong Yidong <cyd@stupidchicken.com>
8449
8450 * dired.el (dired-mark-prompt):
8451 * dired-aux.el (dired-read-shell-command): Doc fix.
8452
eab5dc07
LMI
84532011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8454
b796c9b7
SM
8455 * mail/sendmail.el (sendmail-query-once):
8456 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8457 emacs -Q.
8458
8459 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8460
eab5dc07
LMI
8461 * cus-edit.el (custom-file): Take an optional no-error variable.
8462 (customize-save-variable): Set the variable, and give a warning if
8463 running under "emacs -q".
8464
a1e65d42
JB
84652011-07-11 Juanma Barranquero <lekktu@gmail.com>
8466
8467 * loadhist.el (unload-feature-special-hooks):
8468 Add `auto-coding-functions', `fill-nobreak-predicate' and
8469 `find-directory-functions' (bug#5327).
8470
1d52da10
LMI
84712011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8472
be958f1d
LMI
8473 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8474
5bedb26c
LMI
8475 * cus-edit.el (custom-guess-name-alist): -alist variables should
8476 use the `alist' type (bug#3120). Suggested by Drew Adams.
8477
1d52da10
LMI
8478 * printing.el: Add documentation to all the `pr-toggle-' commands.
8479
cd394be1 84802011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8481
8482 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8483 backends where it makes sense (bug#2623).
8484
dcc88d8a
LMI
84852011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8486
c3de9feb
LMI
8487 * dired-x.el (dired-guess-default): Remove duplicate shell command
8488 entries (bug#2028).
8a93078b 8489 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8490 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8491
dcc88d8a
LMI
8492 * subr.el (remove-duplicates): New conveniency function.
8493
505e3645
LMI
84942011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8495
8496 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8497 (bug#1526).
8498
84992011-07-10 Martin Rudalics <rudalics@gmx.at>
8500
8501 * window.el (display-buffer-normalize-default): Don't invert
8502 meaning of even-window-heights. Reported by Eli Zaretskii
8503 <eliz@gnu.org>.
8504
455e4fa1
BR
85052011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8506
8507 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8508
8e0bc3e9
CY
85092011-07-10 Chong Yidong <cyd@stupidchicken.com>
8510
8511 * window.el (display-buffer): Fix arguments to
8512 display-buffer-reuse-window in last change.
8513
fa7c3228
CY
8514 * faces.el (link): Use a less saturated blue on light backgrounds.
8515
8516 * startup.el (fancy-startup-text, fancy-about-text)
8517 (fancy-startup-tail): Use font-lock faces, for background safety.
8518
c0a7f300
BN
85192011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8520
b796c9b7
SM
8521 * emulation/viper-cmd.el (viper-change-state-to-vi):
8522 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8523
4dc2a129
MR
85242011-07-09 Martin Rudalics <rudalics@gmx.at>
8525
8526 * window.el (display-buffer-default-specifiers): Remove.
8527 (display-buffer-macro-specifiers): Remove default specifiers.
8528 (display-buffer-alist): Default to nil.
b796c9b7 8529 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8530 (display-buffer-pop-up-window): Allow splitting internal
8531 windows. Check whether a live window was created.
8532 (display-buffer-other-window-means-other-frame)
8533 (display-buffer-normalize-arguments): Rename to
8534 display-buffer-normalize-argument and rewrite. Set the
8535 other-window specifier.
8536 (display-buffer-normalize-special): New function.
8537 (display-buffer-normalize-options): Rename to
8538 display-buffer-normalize-default and rewrite.
8539 (display-buffer-normalize-options-inhibit): Remove.
8540 (display-buffer-normalize-specifiers): Rewrite.
8541 (display-buffer): Process other-window specifier and call
8542 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8543 more faithfully.
b796c9b7 8544 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8545 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8546 (display-buffer-in-window, display-buffer-alist-set):
8547 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8548 <tassilo@member.fsf.org>.
8549
2d43b8c9
LL
85502011-07-09 Leo Liu <sdl.web@gmail.com>
8551
8552 * register.el (insert-register): Restore accidental change on
8553 2011-06-26. (Bug#9028)
8554
7f9b7c53
GM
85552011-07-09 Glenn Morris <rgm@gnu.org>
8556
8557 * subr.el (remq): Handle the empty list. (Bug#9024)
8558
f042cfd8
AS
85592011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8560
8561 * mail/sendmail.el (send-mail-function): No longer delay custom
8562 initialization.
8563 * custom.el (custom-initialize-delay): Doc fix.
8564
856b2f11
SM
85652011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8568
afae1d68
MA
85692011-07-08 Michael Albinus <michael.albinus@gmx.de>
8570
8571 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8572 human-friendly prompt.
8573
0757af94
SM
85742011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8577 provided by a particular plugin.
8578
d760b731
LMI
85792011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8580
8581 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8582 save customizations (with "emacs -Q"), just set the variable
8583 instead of erroring out.
8584
8585 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8586
cd79ce90
JL
85872011-07-08 Juri Linkov <juri@jurta.org>
8588
8589 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8590 (archive-zip-update-case): Use 7z if found by `executable-find'.
8591 The order of searching the available programs is the same as in
8592 `archive-zip-extract' (bug#8968).
8593
14cc04aa
CY
85942011-07-07 Chong Yidong <cyd@stupidchicken.com>
8595
8596 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8597 (menu-bar-options-menu): Tweak descriptions.
8598
0a1848ec
LMI
85992011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8600
8601 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8602 menu items into verb phrases (bug#1421). Also refill to fit under
8603 80 columns.
8604
f5bd0689
CY
86052011-07-07 Chong Yidong <cyd@stupidchicken.com>
8606
538e85c6
CY
8607 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8608 (Info-read-node-name): Doc fix (Bug#1084).
8609
f5bd0689
CY
8610 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8611 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8612 (end-of-sexp, beginning-of-sexp)
8613 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8614 (forward-symbol, forward-same-syntax, word-at-point)
8615 (sentence-at-point): Doc fix (Bug#1144).
8616
56ec5115
LMI
86172011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8618
f3f8e37f
LMI
8619 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8620 should cover it (bug#1281).
8621
0757af94 8622 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8623
e9fce1ac 8624 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8625 negotiation fails, then possibly try again with a non-encrypted
8626 connection (bug#9017).
8627
56ec5115
LMI
8628 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8629 be used.
8630
c2f9aec8
RS
86312011-07-07 Richard Stallman <rms@gnu.org>
8632
8633 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8634 property, and handle its changed format.
8635 Look for the correct line number.
8636 Use file's line contents (but not past first =) to find
8637 correct line in message.
8638
ef7b981d 86392011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8640
8641 * international/characters.el (build-unicode-category-table):
8642 Delete it.
0757af94 8643 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8644
0757af94 8645 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8646 to src/chartab.c.
8647 (get-char-code-property): Call unicode-property-table-internal to
8648 load a file. Call get-unicode-property-internal where necessary.
8649 (put-char-code-property): Call unicode-property-table-internal to
8650 load a file. Call put-unicode-property-internal where necessary.
8651 put-unicode-property-internal where necessary.
0757af94
SM
8652 (char-code-property-description):
8653 Call unicode-property-table-internal to load a file.
c805dec0
KH
8654
8655 * international/charprop.el:
8656 * international/uni-bidi.el:
8657 * international/uni-category.el:
8658 * international/uni-combining.el:
8659 * international/uni-comment.el:
8660 * international/uni-decimal.el:
8661 * international/uni-decomposition.el:
8662 * international/uni-digit.el:
8663 * international/uni-lowercase.el:
8664 * international/uni-mirrored.el:
8665 * international/uni-name.el:
8666 * international/uni-numeric.el:
8667 * international/uni-old-name.el:
8668 * international/uni-titlecase.el:
8669 * international/uni-uppercase.el: Regenerate.
8670
8671 * loadup.el: Load international/charprop.el before
8672 international/characters.
8673
e14b388a
CY
86742011-07-07 Chong Yidong <cyd@stupidchicken.com>
8675
8676 * window.el (next-buffer, previous-buffer): Signal an error if
8677 called from a minibuffer window.
8678
8679 * bindings.el: Revert 2011-07-04 change.
8680
354cf0ba
RS
86812011-07-06 Richard Stallman <rms@gnu.org>
8682
8683 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8684 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8685 Treat markers like ints.
8686 (rmail-mime-entity): Doc fix.
8687
a48868a7
LMI
86882011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8689
4906cd3d
LMI
8690 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8691 defcustom again for backwards compatibility.
8692
e0457abe
LMI
8693 * simple.el (shell-command-on-region): Fill.
8694
d67f7e1f
LMI
8695 * dired-aux.el (dired-kill-line): Add a doc string.
8696
fe204702
LMI
8697 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8698 to "\\sw\\|\\s_" (bug#358).
8699
a48868a7
LMI
8700 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8701 (dired-unmark-backward): Ditto.
8702 (dired-flag-backup-files): Ditto.
8703
8704 * dired-x.el (dired-mark-sexp): Ditto.
8705
aa8a705c
RS
87062011-07-06 Richard Stallman <rms@gnu.org>
8707
8708 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8709 (rmail-mime-entity): New arg TRUNCATED.
8710 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8711 New functions.
8712 (rmail-mime-save): Warn if entity is truncated.
8713 (rmail-mime-toggle-hidden): Likewise, for showing.
8714 (rmail-mime-process-multipart): Record when an entity is truncated.
8715
a9a936b9
RS
8716 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8717 if ENTITY is a string.
8718
1f2b92cb
LMI
87192011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8720
f4f73198 8721 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8722 of faces when `M-C-x'-ing their definitions (bug#8378).
8723 Also clean up the code slightly.
f4f73198 8724
12b16734 8725 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8726 because that makes the colors go away.
12b16734 8727
f0691d22
LMI
8728 * mail/sendmail.el (send-mail-function): Change the default to
8729 `sendmail-query-once'.
9e87df06 8730 (sendmail-query-once): Add an autoload cookie.
f0691d22 8731
1f2b92cb
LMI
8732 * net/network-stream.el (network-stream-open-starttls): Try using
8733 a plain connection even if the server offered STARTTLS, and we
8734 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8735 capability. This should make smtpmail.el work in slightly more
8736 configurations.
8737
1cdd2a1b
MA
87382011-07-06 Michael Albinus <michael.albinus@gmx.de>
8739
8740 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8741 New defun.
8742 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8743
fbcc67e2
MM
87442011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8745
8746 * progmodes/sql.el: Version 3.0
0757af94 8747 (sql-product-alist): Add product :completion-object,
fbcc67e2 8748 :completion-column, and :statement attributes.
0757af94 8749 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8750 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8751 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8752 ansi keywords.
8753 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8754 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8755 (sql-oracle-show-reserved-words): New function for development.
8756 (sql-product-font-lock): Simplify for source code buffers.
8757 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8758 New functions.
8759 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8760 (sql-mode-map): Add statement movement functions.
8761 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8762 New variable.
fbcc67e2
MM
8763 (sql-statement-regexp, sql-beginning-of-statement)
8764 (sql-end-of-statement, sql-signum): New functions.
0757af94 8765 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8766 (sql-show-sqli-buffer): Bug fix.
8767 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8768 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8769 with sql-interactive-mode.
8770 (sql-save-connection): Save buffer local settings.
0757af94 8771 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8772 (sql-product-interactive): Bug fix.
8773 (sql-preoutput-hold): New variable.
8774 (sql-interactive-remove-continuation-prompt): Bug fixes.
8775 (sql-debug-redirect): New variable.
8776 (sql-str-literal): New function.
8777 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8778 Redesign.
fbcc67e2
MM
8779 (sql-oracle-save-settings, sql-oracle-restore-settings)
8780 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8781 (sql-completion-object, sql-completion-column)
8782 (sql-completion-sqlbuf): New variables.
8783 (sql-build-completions-1, sql-build-completions)
8784 (sql-try-completion): New functions.
8785 (sql-read-table-name): Use them.
8786 (sql-contains-names): New buffer local variable.
8787 (sql-list-all, sql-list-table): Use it.
8788 (sql-oracle-completion-types): New variable.
8789 (sql-oracle-completion-object, sql-sqlite-completion-object)
8790 (sql-postgres-completion-object): New functions.
8791
d4eaeab1
GM
87922011-07-06 Glenn Morris <rgm@gnu.org>
8793
8794 * window.el (pop-to-buffer): Doc fix.
8795
322b7dab 87962011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8797
8798 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8799
322b7dab 88002011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8801
322b7dab 8802 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8803
322b7dab 8804 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8805
605dd5bf
CY
88062011-07-05 Chong Yidong <cyd@stupidchicken.com>
8807
8808 * button.el (button): Inherit from link face. Suggested by Dan
8809 Nicolaescu.
8810
7dbfa719
SM
88112011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8812
3db614b0
SM
8813 * progmodes/gdb-mi.el: Fit in 80 columns.
8814 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8815 switch-to-buffer.
8816
7dbfa719
SM
8817 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8818 if imenu is simply not configured (bug#8941).
8819
919d884a
KM
88202011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8821
8822 * allout.el (allout-post-undo-hook): New allout outline-change
8823 event hook to signal undo activity.
8824 (allout-post-command-business): Run allout-post-undo-hook if an
8825 undo just occurred.
7dbfa719
SM
8826 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8827 * allout-widgets.el (allout-widgets-after-undo-function):
8828 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8829 in the vicinity of an undo.
8830 (allout-widgets-mode): Include allout-widgets-after-undo-function
8831 on the new allout-post-undo-hook.
8832
450a0f09
SM
88332011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8834
8835 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8836 Let define-derived-mode define it.
8837 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8838 cycles of abbrev-table inheritance (bug#8998).
8839
2de69e00
RW
88402011-07-05 Roland Winkler <winkler@gnu.org>
8841
8842 * textmodes/bibtex.el: Add support for biblatex.
8843 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8844 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8845 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8846 (bibtex-entry-alist, bibtex-field-alist): New variables.
8847 (bibtex-entry-field-alist): Obsolete alias for
8848 bibtex-BibTeX-entry-alist.
8849 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8850 (bibtex-set-dialect): New command.
8851 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8852 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8853 Bind via bibtex-set-dialect.
2de69e00
RW
8854 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8855 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8856 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8857 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8858 Define via bibtex-set-dialect.
450a0f09
SM
8859 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8860 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8861 (bibtex-vec-push, bibtex-vec-incr): New functions.
8862 (bibtex-format-entry, bibtex-field-list)
8863 (bibtex-print-help-message, bibtex-validate)
8864 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8865
2dcdbdd9
SM
88662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * progmodes/compile.el (compilation-goto-locus):
8869 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8870 * bs.el (bs-cycle-next, bs-cycle-previous):
8871 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8872 * bindings.el (mode-line-other-buffer):
8873 * autoinsert.el (auto-insert):
8874 * arc-mode.el (archive-extract):
8875 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8876
b27640fe
JB
88772011-07-05 Juanma Barranquero <lekktu@gmail.com>
8878
8879 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8880 Fix check of `emacs-lock-unlockable-modes'.
8881 Coerce true values of `emacs-lock--try-unlocking' to t.
8882
53bbe3ad
JB
88832011-07-05 Juanma Barranquero <lekktu@gmail.com>
8884
8885 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8886 * emacs-lock.el: New file.
8887
1d3cdbc7
JD
88882011-07-05 Julien Danjou <julien@danjou.info>
8889
8890 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8891 than `boundp' to check if face is set.
8892
9173deec
JB
88932011-07-05 Juanma Barranquero <lekktu@gmail.com>
8894
8895 * register.el (registerv-make):
8896 * window.el (window-min-height): Fix typos in docstrings.
8897
869795d6
JD
88982011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8899
9173deec 8900 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8901 Update doc string.
8902
b768cdcd
JB
89032011-07-04 Juanma Barranquero <lekktu@gmail.com>
8904
8905 * server.el (server-execute): Catch quit and call
8906 `server-return-error' to pass the error back to emacsclient and
8907 close the connection (bug#8942).
8908
13aa217b
KM
89092011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8910
8911 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8912 insecure exception for current topic. Also note that auto-saves
8913 are handled differently.
8914
5d3385a0 8915 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8916 State variables for tracking auto-save inhibition situation.
8917
8918 (allout-write-contents-hook-handler): Rename from
8919 'allout-write-file-hook-handler', and describe how it depends on
8920 write-contents-functions sensitivity to non-nil value to prevent
8921 file write.
8922
8923 (allout-auto-save-hook-handler): Remove. auto-save does not check
8924 this in individual buffers, only in the starting buffer, so this
8925 is not the right way for us to inhibit auto-save in a buffer
8926 according to its condition.
8927
8928 (allout-mode): Use new allout-write-contents-hook-handler, and
8929 only with write-contents-functions. Remove auto-save provisions -
8930 they're implemented elsewhere.
8931
8932 (allout-before-change-handler): If undo is in progress, note that
8933 for attention of allout-post-command-business.
8934
8935 (allout-post-command-business): If the command we're following was
8936 an undo, check for change in the status of encrypted items and
8937 adjust auto-save inhibitions accordingly.
8938
8939 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8940 according to whether there are or aren't any plain-text topics
8941 pending encryption.
8942
2dcdbdd9 8943 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8944 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8945 if there are plain-text topics pending encryption.
13aa217b
KM
8946
8947 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8948 buffer-saved-size and some allout state to not inhibit auto-saves
8949 if there are no longer any plain-text topics pending encryption.
8950
0757af94
SM
8951 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8952 No longer provide for exemption of the current topic.
13aa217b 8953
ac89b32c
JL
89542011-07-04 Juri Linkov <juri@jurta.org>
8955
8956 Add 7z operations to delete and save changed members (bug#8968).
8957 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8958 New defcustoms.
8959 (archive-7z-write-file-member): New function.
8960 (archive-7z-summarize): Fix the number of dashes in the
8961 listing output.
8962
8fa39615
SM
89632011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8966 (bug#8958).
8967
2f11b3f1
CY
89682011-07-04 Chong Yidong <cyd@stupidchicken.com>
8969
d66fef2b
CY
8970 * bindings.el: Ignore next-buffer and previous-buffer in
8971 minibuffer-local-map.
8972
2f11b3f1
CY
8973 * font-lock.el (font-lock-builtin-face): Change light background
8974 color to dark slate blue (Bug#6693).
8975
f932a347
WD
89762011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8977
8978 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8979
c8af70e1
SM
89802011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8983 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8984 Add switch-to-buffer.
8985
f158badc
LMI
89862011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8987
8988 * isearch.el (isearch-search-fun-function): Clarify further the
8989 meaning of the function returned.
8990
6d95bd46
MA
89912011-07-04 Michael Albinus <michael.albinus@gmx.de>
8992
8993 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8994
8995 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8996 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8997 Use it.
8998 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8999 `tramp-default-remote-path' does not exist.
9000 (tramp-send-command-and-read): New optional argument NOERROR.
9001 (tramp-open-connection-setup-interactive-shell)
9002 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9003 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9004 (tramp-process-sentinel): Flush also process' connection property.
9005 (tramp-sh-handle-start-file-process): Do not set process
9006 sentinel. It is done now ...
9007 (tramp-maybe-open-connection): ... here. (Bug#8929)
9008
909e6b67
MK
90092011-07-04 MON KEY <monkey@sandpframing.com>
9010
9011 * play/animate.el (animate-string): Doc fixes and allow changing
9012 the buffer name (bug#5417).
9013
90142011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9015
c8af70e1 9016 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9017
f34755dc
PE
90182011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9019
396cec72
PE
9020 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9021 This is simpler and helps future-proof the code.
9022 (timer-until): Use time-subtract and float-time.
08235028 9023 (timer--time-less-p): Use time-less-p.
f34755dc 9024
56e6cc31
JB
90252011-07-04 Juanma Barranquero <lekktu@gmail.com>
9026
3abb79e5
JB
9027 * type-break.el (timep): Use the value of `float-time' to avoid a
9028 byte-compiler warning.
9029
56e6cc31
JB
9030 * server.el (server-eval-and-print): Return any result, even nil.
9031
7b9430b4
PE
90322011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9033
9034 * type-break.el: Accept time formats that the builtins accept.
9035 (timep, type-break-time-difference): Accept any format that
9036 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9037 This is simpler and helps future-proof the code.
9038 (type-break-time-difference): Round rather than ignoring
9039 subseconds components.
9040
3034e9e7
LMI
90412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9042
9043 * info.el (Info-apropos-matches): Make non-interactive, since it
9044 doesn't seem to do anything useful as a command (bug#8829).
9045
1485f4c0
CY
90462011-07-03 Chong Yidong <cyd@stupidchicken.com>
9047
9048 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9049 Move from faces.el.
1485f4c0
CY
9050 (frame-default-terminal-background): New function.
9051
9052 * custom.el (custom-push-theme): Don't record faces in `changed'
9053 theme; this doesn't work correctly for per-frame face settings.
9054 (disable-theme): Use face-set-after-frame-default to reset faces.
9055 (custom--frame-color-default): New function.
9056
9fa3dd45
LMI
90572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9058
c8af70e1 9059 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9060 (bug#8769).
9061
6cbbc20c
KR
90622011-03-29 Kevin Ryde <user42@zip.com.au>
9063
9064 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9065 `perl-Test2' extend to match possible "fail #N" rep count
9066 (bug#8377).
9067
c7f98048
LMI
90682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9069
65676592
LMI
9070 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9071 `smtpmail-via-smtp' now returns the error instead of nil.
9072
c7f98048
LMI
9073 * isearch.el (isearch-search-fun-function): Clarify the doc string
9074 (bug#8101).
9075
56e6cc31 90762011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9077
9078 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9079 unnecessary spaces (bug#8987).
9080
2b216704
LMI
90812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9082
9083 * net/network-stream.el (open-network-stream): Use the
9084 :end-of-capability command thoughout.
9085
90862011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9087
9088 * net/network-stream.el (open-network-stream): Add the
9089 :end-of-capability command parameter, used by pop3.el.
9090
36adf6ce
LMI
90912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9092
1ca0da0e
LMI
9093 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9094
fc00f69c
LMI
9095 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9096 for list)" (bug#6475).
9097
28fd8759 9098 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9099 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9100 an error (bug#6297).
9101
0dd8b6da
LMI
9102 * man.el (Man-reference-regexp): Allow matching possible
9103 word-wrapped references (bug#6289).
9104
ce1438d6
LMI
9105 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9106 for consistency with the other vc buffers (bug#6197).
9107 (vc-checkin): Ditto.
9108
9109 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9110
36adf6ce
LMI
9111 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9112
e83cc1f7
LMI
91132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9114
8a20ca4c
LMI
9115 * custom.el (defcustom): Clarify that :set is only used in the
9116 Customize user interface (bug#6089).
9117
83319045
LMI
9118 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9119 associated with a file, refuse to run instead of erroring out
9120 (bug#6084).
9121
a8392169
LMI
9122 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9123 the doc string, since it appears that using `fill-column' always
9124 controls the width (bug#7845).
9125
e83cc1f7
LMI
9126 * simple.el (shell-command-on-region): Say where the error output
9127 went if `shell-command-default-error-buffer' is set (bug#6857).
9128
e47ca23b
KM
91292011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9130
9131 * allout.el (allout-yank-processing): Adjust cursor position for
9132 backwards-deleted space.
9133
9134 (allout-rebullet-heading): Register changes with
9135 allout-exposure-changed-hook, so the modified topic is properly
9136 decorated.
9137
5cf56143
LMI
91382011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9139
08549772
LMI
9140 * minibuffer.el (completion-in-region): Document PREDICATE
9141 (bug#7136).
9142
48e96771
LMI
9143 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9144 of keyword/argument pairs (bug#6904).
9145
c8af70e1
SM
9146 * replace.el (multi-occur):
9147 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9148
e17d05e2
LMI
91492011-07-02 Drew Adams <drew.adams@oracle.com>
9150
9151 * dired.el (dired-mark-if): Make the message about whether it's
9152 marking or unmarking clearer (bug#8523).
9153
063b0e45
LMI
91542011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9155
9156 * disp-table.el (display-table-print-array): New function.
9157 (describe-display-table): Use it to print the vectors more pretty
9158 (Bug#8859).
9159
28545e04
MR
91602011-07-02 Martin Rudalics <rudalics@gmx.at>
9161
9162 * window.el (window-state-get-1): Don't assign clone numbers.
9163 Add clone-of item to list of window parameters.
9164 (window-state-put-2): Don't process clone numbers.
9165 (display-buffer-alist): Fix doc-string.
9166
3349e122
SM
91672011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * subr.el (remq): Don't allocate if it's not needed.
9170 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9171 (keymap--merge-bindings): New functions.
9172 (keymap-canonicalize): Use them to refine the canonicalization.
9173 * minibuffer.el (minibuffer-local-completion-map)
9174 (minibuffer-local-must-match-map): Move initialization from C.
9175 (minibuffer-local-filename-completion-map): Move initialization from C;
9176 don't inherit from anything here.
9177 (minibuffer-local-filename-must-match-map): Make obsolete.
9178 (completing-read-default): Use make-composed-keymap to combine
9179 minibuffer-local-filename-completion-map with either
9180 minibuffer-local-must-match-map or
9181 minibuffer-local-filename-completion-map.
9182
d224ac83
GM
91832011-07-01 Glenn Morris <rgm@gnu.org>
9184
3de63bf8
GM
9185 * type-break.el (type-break-time-sum): Use dolist.
9186
d224ac83
GM
9187 * textmodes/flyspell.el (flyspell-word-search-backward):
9188 Replace CL function.
9189
1a1e3f32
SM
91902011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9191
fe3f64d5
SM
9192 * mouse.el (mouse--strip-first-event): New function.
9193 (function-key-map): Use it to map fringe clicks to normal clicks
9194 by default.
9195
eb604e34
SM
9196 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9197 (vc-bzr-revision-completion-table): Add support for annotate and date.
9198
1a1e3f32
SM
9199 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9200 inherit from parent.
9201
5bd35902
LMI
92022011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9203
ace6c69c 9204 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9205 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9206
191e2bed
LMI
9207 * dired.el (dired-mode): Fix up the doc string as suggested by
9208 Drew Adams (bug#8817).
9209
5bd35902
LMI
9210 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9211 cookie, since the manual says that it should be possible to add
9212 this function to `find-file-hook' (bug#8709).
9213
eee8207a
TZ
92142011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9215
9216 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9217 here. Noted Ted Zlatanov as the maintainer.
9218 (cfengine-common-settings, cfengine-common-syntax): New functions
9219 to set up common things between `cfengine-mode' and
9220 `cfengine3-mode'.
9221 (cfengine3-mode): New mode.
9222 (cfengine3-defuns cfengine3-defuns-regex
9223 (cfengine3-class-selector-regex cfengine3-category-regex)
9224 (cfengine3-vartypes cfengine3-font-lock-keywords)
9225 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9226 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9227
36b148cf
MA
92282011-07-01 Michael Albinus <michael.albinus@gmx.de>
9229
9230 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9231
9232 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9233
0bf4ba9a
MR
92342011-07-01 Martin Rudalics <rudalics@gmx.at>
9235
9236 * window.el (same-window-buffer-names, same-window-regexps)
9237 (same-window-p, special-display-frame-alist)
9238 (special-display-popup-frame, special-display-function)
9239 (special-display-buffer-names, special-display-regexps)
9240 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9241 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9242 (split-window-preferred-function, split-height-threshold)
9243 (split-width-threshold, even-window-heights)
9244 (display-buffer-mark-dedicated, window-splittable-p)
9245 (split-window-sensibly, window-safely-shrinkable-p):
9246 Un-obsolete.
9247 (display-buffer): Don't spread args with function specifier
9248 because special-display-popup-frame won't like it.
9249
35837f51
PE
92502011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9251
d0672f86
PE
9252 Time-stamp simplifications and fixes.
9253 These improve accuracy slightly, and future-proof the code
9254 against some potential changes to current-time format.
9255
b9444d97
PE
9256 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9257 by using time-since and float-time.
9258
0ef923dc
PE
9259 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9260 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9261 + NNN microseconds".
9262
2f81380d
PE
9263 * type-break.el (type-break-time-sum): Rewrite using time-add.
9264
845b5c3e
PE
9265 * play/hanoi.el (hanoi-current-time-float): Remove.
9266 All uses replaced by float-time.
9267
ee6f1be0
PE
9268 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9269 This yields a more-accurate answer.
9270 (rng-time-to-float): Remove; no longer needed.
9271
fe955043
PE
9272 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9273
5777162a
PE
9274 * calendar/timeclock.el (timeclock-seconds-to-time):
9275 Defalias to seconds-to-time, since they're the same thing.
9276
3103f8b6 9277 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9278 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9279 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9280
0e61a35f
SM
92812011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * window.el (bury-buffer): Don't iconify the only frame.
9284 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9285 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9286
ddd63a1e
CY
92872011-07-01 Chong Yidong <cyd@stupidchicken.com>
9288
0e61a35f
SM
9289 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9290 Add mouse-yank-primary.
ddd63a1e 9291
055f4923
TZ
92922011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9293
9294 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9295
6a2fb145
SM
92962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9299 (find-library-name): Use it to find relative load names when provided
9300 absolute file name (bug#8803).
9301
fd4983f2
LMI
93022011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9303
887d14ad
LMI
9304 * textmodes/flyspell.el (flyspell-word): Consider words that
9305 differ only in case as potential doublons (bug#5687).
9306
c53dc7fc
LMI
9307 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9308 Remove two rather uninteresting debugging-like messages to make
9309 debbugs.el more silent.
9310
fd4983f2
LMI
9311 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9312 a password-like phrase.
9313
7a71b18d 93142011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9315
9316 * progmodes/cc-guess.el: New file.
9317
6a2fb145 9318 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9319
9320 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9321 derived from `c-basic-common-init'.
9322
9323 * progmodes/cc-mode.el (top-level): Require cc-guess.
9324 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9325
1fa280a3
LM
93262011-06-30 Lawrence Mitchell <wence@gmx.li>
9327
9328 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9329
e6597158
AM
93302011-06-30 Alan Mackenzie <acm@muc.de>
9331
1fa280a3
LM
9332 * progmodes/cc-engine.el (c-guess-continued-construct):
9333 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9334 lock is disabled. Name this case as "CASE G".
9335
68ba37fb
KM
93362011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9337
9338 * allout.el (allout-yank-processing): Fix injection of extra space
9339 between bullet and non-whitespace character in first topic when
9340 pasting, ensuring that the actual spacing in the pasted topic
9341 following the bullet char is preserved. This extra space was
9342 causing pasted encrypted topics to get a decrypted status even
9343 when the content was actually still encrypted. Now the decryption
9344 status from before the paste is preserved.
9345
9346 (allout-flag-region): Set all allout overlays so they evaporate
9347 when reduced to zero length (evanescent), to prevent overlay
9348 leakage.
9349
887a0b34
GM
93502011-06-30 Glenn Morris <rgm@gnu.org>
9351
94b9acce
GM
9352 * w32-fns.el (w32-charset-info-alist): Declare.
9353
1d9b46d4
GM
9354 * find-dired.el (find-grep-options): Simplify.
9355
cc232200
GM
9356 * term/ns-win.el (ns-set-resource): Declare.
9357
28e77c46
GM
9358 * ses.el (row, col): Declare dynamic variables honestly.
9359
887a0b34
GM
9360 * textmodes/reftex-parse.el (index-tags): Declare.
9361
658d8eb8
CY
93622011-06-30 Chong Yidong <cyd@stupidchicken.com>
9363
9364 * cus-edit.el (customize-push-and-save): New function.
9365
9366 * files.el (hack-local-variables-confirm): Use it.
9367
1fa280a3
LM
9368 * custom.el (load-theme): New arg NO-CONFIRM.
9369 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9370 (custom-enabled-themes): Doc fix.
9371
9372 * cus-theme.el (customize-create-theme)
9373 (custom-theme-merge-theme): Callers to load-theme changed.
9374
bb617717
LMI
93752011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9376
d61bdd5d
LMI
9377 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9378 short URLs have at least one dot in them (bug #7614).
9379
bb617717
LMI
9380 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9381 nil, because using a pty is apparently too slow (bug #895).
9382
2f31f37a
LMI
93832011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9384
9385 * mail/sendmail.el (sendmail-query-once): New function.
9386 (sendmail-query-once-function): New variable.
9387
3076b24e
GM
93882011-06-29 Glenn Morris <rgm@gnu.org>
9389
faf2a174
GM
9390 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9391
3076b24e
GM
9392 * ses.el (top-level): Require cl when compiling.
9393 (ses-set-localvars): Fix error statement.
9394 Call it at compile time to silence a storm of warnings.
9395
5386012d
MR
93962011-06-29 Martin Rudalics <rudalics@gmx.at>
9397
9398 * window.el (normalize-live-buffer): Rename to
9399 window-normalize-buffer.
9400 (normalize-live-frame): Rename to window-normalize-frame.
9401 (normalize-any-window): Rename to window-normalize-any-window.
9402 (normalize-live-window): Rename to window-normalize-live-window.
9403 (make-window-atom): Rename to window-make-atom.
9404 (window-resize-reset): Rename to window--resize-reset.
9405 (window-resize-reset-1): Rename to window--resize-reset-1.
9406 (resize-mini-window): Rename to window--resize-mini-window.
9407 (resize-subwindows-skip-p): Rename to
9408 window--resize-subwindows-skip-p.
9409 (resize-subwindows-normal): Rename to
9410 window--resize-subwindows-normal.
9411 (resize-subwindows): Rename to window--resize-subwindows.
9412 (resize-other-windows): Rename to window--resize-siblings.
9413 (resize-this-window): Rename to window--resize-this-window.
9414 (resize-root-window): Rename to window--resize-root-window.
9415 (resize-root-window-vertically): Rename to
9416 window--resize-root-window-vertically.
9417 (normalize-buffer-to-display): Rename to
9418 window-normalize-buffer-to-display.
9419 (normalize-buffer-to-switch-to): Rename to
9420 window-normalize-buffer-to-switch-to.
9421 Correspondingly update all callers of the functions listed
9422 above.
9423 (display-buffer-alist, display-buffer-normalize-arguments)
9424 (display-buffer-normalize-options, display-buffer)
9425 (display-buffer-alist-set): Use "function" instead of
9426 "fun-with-args".
9427
1176868d
CY
94282011-06-28 Chong Yidong <cyd@stupidchicken.com>
9429
9430 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9431 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9432 debbugs.gnu.org. Mention acknowledgment email.
9433
20a7a65f
LMI
94342011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9435
9436 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9437 buffer multibyteness, since it shouldn't matter.
9438
5f45cca5
MR
94392011-06-28 Martin Rudalics <rudalics@gmx.at>
9440
9441 * window.el (display-buffer-in-side-window): Handle dedicated
9442 windows as in display-buffer-reuse-window.
9443 (display-buffer-normalize-alist): Use value of override
9444 specifier.
9445 (display-buffer-normalize-specifiers): Use value of
9446 other-window-means-other-frame specifier.
9447 (display-buffer-alist): Rewrite some texts in widgets.
9448 (display-buffer): Spread arguments when calling function
9449 specified by fun-with-args.
9450
ad85fe1f
DD
94512011-06-28 Deniz Dogan <deniz@dogan.se>
9452
1fa280a3
LM
9453 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9454 Unnest `let'.
da68c4c8 9455
ad85fe1f
DD
9456 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9457 selectors (Bug#5732).
ec49bd31 9458 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9459
a08cc025
JA
94602011-06-27 Jari Aalto <jari.aalto@cante.net>
9461
9462 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9463 (eshell-ls-date-format): New defcustom.
9464 (eshell-ls-file): Use it.
9465
e2b551c5
SM
94662011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9469
8982b231
KY
94702011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9471
9472 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9473 (ange-ftp-make-tmp-name): New arg.
9474 (ange-ftp-file-local-copy): Use it.
9475
36c9fa27
J
94762011-06-27 Jambunathan K <kjambunathan@gmail.com>
9477
9478 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9479 no-conversion (Bug#8870).
9480
d68443dc
MR
94812011-06-27 Martin Rudalics <rudalics@gmx.at>
9482
9483 * window.el (window-right, window-left, window-child)
9484 (window-child-count, window-last-child)
9485 (window-iso-combination-p, walk-window-tree-1)
9486 (window-atom-check-1, window-tree-1, delete-window)
9487 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9488 new naming conventions - window-vchild, window-hchild,
9489 window-next and window-prev are now called window-top-child,
9490 window-left-child, window-next-sibling and window-prev-sibling
9491 respectively.
d615d6d2
MR
9492 (resize-window-reset): Rename to window-resize-reset.
9493 (resize-window-reset-1): Rename to window-resize-reset-1.
9494 (resize-window): Rename to window-resize.
9495 (window-min-height, window-min-width)
9496 (resize-mini-window, resize-this-window, resize-root-window)
9497 (resize-root-window-vertically, adjust-window-trailing-edge)
9498 (enlarge-window, shrink-window, maximize-window)
9499 (minimize-window, delete-window, quit-restore-window)
9500 (split-window, balance-windows, balance-windows-area-adjust)
9501 (balance-windows-area, window-state-put-2)
9502 (display-buffer-even-window-sizes, display-buffer-set-height)
9503 (display-buffer-set-width, set-window-text-height)
9504 (fit-window-to-buffer): Rename all "resize-window" prefixed
9505 calls to use the "window-resize" prefix convention.
9506 (display-buffer-alist): Fix symbol for label specifier.
9507 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9508 corresponding specifier.
9509 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9510
b6458526
VB
95112011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9512
9513 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9514 convention.
9515 (ses-call-printer): Does not pass an empty string to formatter when the
9516 cell is empty to keep from barking printer Calc math-format-value.
9517
d31fd9ac
RS
95182011-06-27 Richard Stallman <rms@gnu.org>
9519
43d5bf84
RS
9520 * battery.el (battery-mode-line-limit): New variable.
9521 (battery-update): Handle it.
9522
d31fd9ac
RS
9523 * mail/rmailmm.el (rmail-mime-process-multipart):
9524 Handle truncated messages.
9525
819a6054
GM
95262011-06-27 Glenn Morris <rgm@gnu.org>
9527
9528 * progmodes/flymake.el (flymake-err-line-patterns):
9529 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9530
cedc73f2
VB
95312011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9532
819a6054 9533 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9534 (ses--clean-!, ses--clean-_): New functions.
9535 (ses-range): Add configurability of readout order, and conversion
9536 to Calc vector.
9537
5e5d49b6
VB
9538 * ses.el (ses-repair-cell-reference-all): New function.
9539 (ses-cell-symbol): Set macro as safe, so that it can be used in
9540 formulas.
9541
56e6cc31 9542 * ses.el: Update cycle detection algorithm.
90ca8b49 9543 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9544 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9545 (ses-set-localvars): New function.
9546 (ses-make-cell): Add property-list as a cell element.
9547 (ses-cell-property-get-fun, ses-cell-property-get)
9548 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9549 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9550 New functions.
90ca8b49
VB
9551 (ses-cell-property-set, ses-cell-property-pop)
9552 (ses-cell-property-get-handle): New macro.
9553 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9554 New aliases, used for code readability.
9555 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9556 cycle detection.
9557 (ses-self-reference-early-detection): New defcustom.
fac916bf 9558 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9559 (ses-mode): Use ses-set-localvars.
9560 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9561 before lauching the update processing.
9562 (ses-initialize-Dijkstra-attempt): New function.
9563 (ses-recalculate-cell): Update for cycle detection based on
9564 Dijkstra algorithm.
9565
2bb63e81
VB
9566 * ses.el: Fix commenting and indenting convention.
9567
c9d29fb8
SM
95682011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9569
9570 * bs.el (bs-cycle-next): Complete last change.
9571
d8e4b68b
JB
95722011-06-27 Drew Adams <drew.adams@oracle.com>
9573
9574 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9575
40098786
LMI
95762011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9577
c9d29fb8
SM
9578 * net/network-stream.el (network-stream-open-starttls):
9579 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9580 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9581
40098786
LMI
9582 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9583 to binary to possibly avoid line encoding issues on Windows (among
9584 other things).
9585
468d09d4
LMI
95862011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9587
9588 * net/network-stream.el (open-network-stream): Return an :error
9589 saying what the problem was, if possible.
9590
9591 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9592 server.
9593
9594 * net/network-stream.el (network-stream-open-starttls): If we
9595 wanted to use STARTTLS, and the server offered it, but we weren't
9596 able to because we had no STARTTLS support, then close the connection.
9597 (open-network-stream): Return an :error element, if present.
9598
16f07dd7
CY
95992011-06-26 Chong Yidong <cyd@stupidchicken.com>
9600
88821ca0
CY
9601 * hl-line.el (hl-line-sticky-flag): Doc fix.
9602 (global-hl-line-sticky-flag): New option (Bug#8323).
9603 (global-hl-line-highlight): Obey it.
9604
16f07dd7
CY
9605 * vc/vc.el (vc-revert-show-diff): Default to t.
9606
6b5ccddf
KM
96072011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9608
c9d29fb8
SM
9609 * allout-widgets.el (allout-widgets-post-command-business):
9610 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9611 undecorated when an isearch is continued past, and isearch
9612 automatically collapses them. This leads to "widget leaks", where
9613 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9614 hidden widgets can slow down cursor travel, substantially.
9615 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9616 so we're doing without this nicety.
9617
9618 (allout-widgets-tally-string): Don't try to do a hash-table-count
9619 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9620 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9621 *Messages* when allout-widgets-maintain-tally is t.
9622
355f2e07
MR
96232011-06-26 Martin Rudalics <rudalics@gmx.at>
9624
9625 * window.el (display-buffer-normalize-argument): Rename to
9626 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9627 LABEL argument. Respect special-display-function when popping up
9628 a new frame. Fix code searching for a window showing the buffer
9629 on another frame.
c9d29fb8
SM
9630 (display-buffer-normalize-specifiers):
9631 Call display-buffer-normalize-arguments.
355f2e07
MR
9632 (display-buffer-in-window): Don't undedicate the window if its
9633 buffer remains the same.
9634 Reported by Drew Adams <drew.adams@oracle.com>.
9635 (display-buffer-alist): Add choice for same-window macro
9636 specfier.
9637 (display-buffer): Mention special meaning of LABEL argument in
9638 doc-string. Fix quoting. Don't pop up a new frame even as
9639 fallback.
9640
7ca8fc42
JB
96412011-06-26 Juanma Barranquero <lekktu@gmail.com>
9642
9643 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9644 avoid deleting the current window in some cases (bug#8911).
9645
bc312254
AS
96462011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9647
9648 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9649 (Bug#8934)
9650
2db18f3f
LMI
96512011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9652
c9d29fb8
SM
9653 * net/network-stream.el (network-stream-open-starttls):
9654 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9655 (network-stream-open-tls): Ditto.
9656
6302e0d3
LL
96572011-06-26 Leo Liu <sdl.web@gmail.com>
9658
9659 * register.el (registerv): New struct.
9660 (registerv-make): New function.
c9d29fb8
SM
9661 (jump-to-register, describe-register-1, insert-register):
9662 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9663 struct. (Bug#8415)
9664
5fdd4046
CY
96652011-06-26 Chong Yidong <cyd@stupidchicken.com>
9666
2afef60a
CY
9667 * vc/vc.el (vc-revert-show-diff): New defcustom.
9668 (vc-diff-internal): New arg specifying diff buffer.
9669 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9670 reuse an existing *vc-diff* buffer (Bug#8927).
9671
5fdd4046
CY
9672 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9673
e93db24a
GM
96742011-06-26 Glenn Morris <rgm@gnu.org>
9675
9676 * progmodes/f90.el (f90-critical-indent): New option.
9677 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9678 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9679 (f90-mode): Doc fix.
9680 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9681 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9682 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9683 (f90-match-end): Handle block, critical.
9684
eefff499
GM
96852011-06-25 Glenn Morris <rgm@gnu.org>
9686
f6ba4cc9
GM
9687 * calendar/diary-lib.el (diary-included-files): Doc fix.
9688 (diary-include-files): New function, extracted from
9689 diary-include-other-diary-files and diary-mark-included-diary-files.
9690 (diary-include-other-diary-files, diary-mark-included-diary-files):
9691 Just call diary-include-files.
9692 (diary-mark-entries): Reset diary-included-files on first call.
9693
16712304
GM
9694 * calendar/diary-lib.el (diary-mark-entries)
9695 (diary-mark-included-diary-files):
9696 Visit included diary-files in temp buffers.
9697
5d8e0d43
GM
9698 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9699 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9700 (f90-start-block-re, f90-imenu-generic-expression)
9701 (f90-looking-at-program-block-start, f90-no-block-limit):
9702 Add support for submodules.
9703
ccf7a5d5
GM
9704 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9705 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9706
11fdef7d 97072011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9708
9709 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9710 buffer-file-type before setting its value, to avoid disastrous
eefff499 9711 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9712
74f53697
JB
97132011-06-25 Juanma Barranquero <lekktu@gmail.com>
9714
9715 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9716
9717 * ses.el (ses-unload-function):
9718 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9719
9720 * proced.el (proced-unload-function):
9721 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9722
18a4ce5e
AR
97232011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9724
9725 * server.el (server-create-window-system-frame): Add parameters arg.
9726 (server-process-filter): Doc fix. Handle frame-parameters.
9727
519d22cc
JB
97282011-06-25 Juanma Barranquero <lekktu@gmail.com>
9729
9730 Fix bug#8730, bug#8781.
9731
9732 * loadhist.el (unload--set-major-mode): New function.
9733 (unload-feature): Use it.
9734
9735 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9736 (python-unload-function): New function.
9737
c206f5b0
SM
97382011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9741
f9ad64f3
GS
97422011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9743
9744 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9745 the candidates list.
9746
7d0da90e
JB
97472011-06-24 Juanma Barranquero <lekktu@gmail.com>
9748
9749 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9750
14b4e83d
RS
97512011-06-23 Richard Stallman <rms@gnu.org>
9752
9753 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9754 (rmail-variables): Set next-error-move-function.
9755 (rmail-what-message): Take argument POS.
9756 (rmail-next-error-move): New function.
9757
273d2baf
SM
97582011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9759
9760 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9761 messages for adjacent non-terminals.
9762
56c2cc9a
RS
97632011-06-23 Richard Stallman <rms@gnu.org>
9764
9765 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9766 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9767 (rmail-start-mail): Don't specify use of rmail-mail-return;
9768 that's done by mail-bury now.
9769 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9770
d59eb518
MA
97712011-06-23 Michael Albinus <michael.albinus@gmx.de>
9772
9773 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9774 SIZE is a number.
9775
02cfc6d6
MR
97762011-06-23 Martin Rudalics <rudalics@gmx.at>
9777
9778 * window.el (get-lru-window, get-mru-window)
9779 (get-largest-window): Never return a minibuffer window.
9780 (display-buffer-pop-up-window): Fix a bug that could lead to
9781 reusing the minibuffer window.
9782 (display-buffer): Pass original specifier argument to
9783 display-buffer-function instead of the normalized one.
9784 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9785
4e323265
LL
97862011-06-22 Leo Liu <sdl.web@gmail.com>
9787
9788 * minibuffer.el (completing-read-function)
9789 (completing-read-default): Move from minibuf.c
9790
7a70468f
RS
97912011-06-22 Richard Stallman <rms@gnu.org>
9792
50718fc2
RS
9793 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9794 to Rmail even if not started by a special Rmail command.
9795
7a70468f
RS
9796 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9797 Copy the buffer currently showing just one message.
9798
297dde5a
RW
97992011-06-22 Roland Winkler <winkler@gnu.org>
9800
9801 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9802 (bibtex-clean-entry): First delete the old key so that a
9803 customized algorithm for generating the new key does not get
9804 confused by the old key.
9805 (bibtex-url): Obey regexp of first step.
9806 (bibtex-search-entries): Do not use add-to-list with local
9807 list-var.
9808
97bb1093
LMI
98092011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9810
9811 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9812 stored a user name, then query for the password first, instead of
9813 waiting for SMTP to give an error message and the trying again.
9814
1c0f1a19
JD
98152011-06-22 Lawrence Mitchell <wence@gmx.li>
9816
9817 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9818 BUFFER in call-process.
9819
396f7c9d
LMI
98202011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9821
9822 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9823 QUIT twice.
ddb7ffee
LMI
9824 (smtpmail-try-auth-methods): Require user name and password from
9825 auth-source.
396f7c9d 9826
8998d1b3
MR
98272011-06-22 Martin Rudalics <rudalics@gmx.at>
9828
9829 * window.el (display-buffer-default-specifiers)
9830 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9831 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9832 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9833
9834 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9835 (special-display-frame-alist, special-display-popup-frame):
9836 Remove duplicate declarations. These are now in window.el.
9837
4ea31e07
LMI
98382011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9839
c9d29fb8
SM
9840 * mail/smtpmail.el (smtpmail-via-smtp):
9841 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9842 server supports it. SMTP servers that support STARTTLS commonly
9843 require it.
9844
9845 * net/network-stream.el (network-stream-open-starttls): Support
9846 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9847 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9848
95f41d9a
LMI
9849 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9850 upgrades with `open-network-stream', and rely solely on
9851 auth-source for all credentials. Big changes throughout the file,
9852 but in particular:
c9d29fb8
SM
9853 (smtpmail-auth-credentials): Remove.
9854 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9855 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9856 MAIL FROM, too.
95f41d9a 9857
c9d29fb8
SM
9858 * net/network-stream.el (network-stream-open-starttls):
9859 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9860 STARTTLS.
9861 (auth-source): Require.
9862 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9863 (network-stream-certificate): Change cert-cert to cert and
9864 cert-key to key.
4ea31e07 9865
065ec2c7
MA
98662011-06-21 Michael Albinus <michael.albinus@gmx.de>
9867
9868 * net/tramp-cache.el (top): Don't load the persistency file when
9869 "emacs -Q" has been called.
9870
cd93b359
DR
98712011-06-21 Tim Harper <timcharper@gmail.com>
9872
d8e4b68b
JB
9873 * term/ns-win.el (ns-initialize-window-system):
9874 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9875 resource to NO as it is not yet supported by the NS port.
9876
ae9c0411
JB
98772011-06-21 Juanma Barranquero <lekktu@gmail.com>
9878
9879 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9880 (list-dynamic-libraries): ...not here.
9881
7f3f739f
LL
98822011-06-21 Leo Liu <sdl.web@gmail.com>
9883
9884 * subr.el (sha1): Implement sha1 using secure-hash.
9885
327c8fb1
MR
98862011-06-21 Martin Rudalics <rudalics@gmx.at>
9887
9888 * window.el (display-buffer-alist): In default value do not
9889 enforce searching a window on any but the selected frame.
9890 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9891 (display-buffer-select-window): Remove function.
9892 (display-buffer-in-window): When a window on another frame gets
9893 reused, do not select it any more but just raise its frame if
9894 necessary (Bug#8851) and (Bug#8856).
9895 (display-buffer-normalize-options): Handle pop-up-frames related
9896 options more faithfully.
9897 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9898 window if it is on another frame.
c9d29fb8
SM
9899 (display-buffer-alist, display-buffer-default-specifiers):
9900 Don't make new frame unsplittable by default.
9e9de014
MR
9901 (display-buffer-normalize-argument): Fix doc-string typo and use
9902 'same-frame-other-window instead of 'other-window when associating
9903 with display-buffer-macro-specifiers.
327c8fb1 9904
7cf3f556
VB
99052011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9906
9907 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9908 New functions.
9909 (5x5-mode-map, 5x5-mode-menu): Bind them.
9910 (5x5-draw-grid): Tweak the solver's rendering.
9911
60a406cf
SM
99122011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9915 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9916
d8e4b68b 99172011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9918
9919 * menu-bar.el: Use function variable instead of switch-to-buffer.
9920 (menu-bar-select-buffer-function): New variable.
60a406cf 9921 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9922
478d6f95
SM
99232011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9926 variable's status.
9927
ca530739
JD
99282011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9929
9930 * x-dnd.el (x-dnd-version-from-flags)
9931 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9932 and long as number (Bug#8899).
9933 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9934
bcd70d97
SM
99352011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9936
60a406cf 9937 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9938 (completion-try-completion, completion-all-completions): Compute the
9939 metadata argument if it's missing; make it optional (bug#8795).
9940
60a406cf 9941 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9942 (widget-complete): Use new :completion-function property.
9943 (widget-completions-at-point): New function.
9944 (default): Use :completion-function instead of :complete.
60a406cf
SM
9945 (widget-default-completions): Rename from widget-default-complete;
9946 Rewrite.
bcd70d97
SM
9947 (widget-string-complete, widget-file-complete, widget-color-complete):
9948 Remove functions.
9949 (file, symbol, function, variable, coding-system, color):
9950 * international/mule-cmds.el (default-input-method, charset)
9951 (language-info-custom-alist):
9952 * cus-edit.el (face): Use new property :completions.
9953
9954 * progmodes/pascal.el (pascal-completions-at-point): New function.
9955 (pascal-mode): Use it.
9956 (pascal-mode-map): Use completion-at-point.
9957 (pascal-toggle-completions): Make obsolete.
9958 (pascal-complete-word, pascal-show-completions):
9959 * progmodes/octave-mod.el (octave-complete-symbol):
9960 Redefine as obsolete alias.
9961 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9962 Signal absence of completion info for old Octave,
9963 (inferior-octave-complete): Redefine as obsolete alias.
9964 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9965 (meta-completions-at-point): Rename from meta-complete-symbol and
9966 adapt it for use on completion-at-point-functions.
9967 (meta-common-mode): Use it.
9968 (meta-looking-at-backward, meta-match-buffer): Remove.
9969 (meta-complete-symbol): Redefine as obsolete alias.
9970 (meta-common-mode-map): Use completion-at-point.
9971 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9972 (makefile-mode-map): Use completion-at-point.
9973 (makefile-completions-at-point): Rename from makefile-complete and
9974 adapt it for use on completion-at-point-functions.
9975 (makefile-mode): Use it.
9976 (makefile-complete): Redefine as obsolete alias.
9977
aebf69c8
DD
99782011-06-20 Deniz Dogan <deniz@dogan.se>
9979
9980 * net/rcirc.el: Delete trailing whitespaces once and for all.
9981
bfbbb27d
DC
99822011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9983
9984 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9985
d264a46b
CY
99862011-06-19 Chong Yidong <cyd@stupidchicken.com>
9987
4ca009e5
CY
9988 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9989
d264a46b
CY
9990 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9991
fbf5b3ce
MR
99922011-06-19 Martin Rudalics <rudalics@gmx.at>
9993
9994 * window.el (display-buffer-other-window-means-other-frame):
9995 Call display-buffer-normalize-alist.
9996 (display-buffer-normalize-specifiers-1): Rename to
9997 display-buffer-normalize-argument. New argument other-frame.
9998 Rewrite.
9999 (display-buffer-normalize-specifiers-2): Rename to
10000 display-buffer-normalize-options.
10001 (display-buffer-normalize-alist-1): New function.
10002 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10003 display-buffer-normalize-alist.
10004 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10005 (display-buffer-normalize-options-inhibit): New variable.
10006 (display-buffer-normalize-specifiers): Rewrite calling
10007 display-buffer-normalize-alist,
10008 display-buffer-normalize-argument, and
10009 display-buffer-normalize-options. Don't call the latter if
10010 display-buffer-normalize-options-inhibit is non-nil.
10011 (frame-auto-delete): New option.
10012 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10013 (window-list-no-nils, window-state-ignored-parameters)
10014 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10015 (window-state-put-1, window-state-put-2, window-state-put):
10016 New functions.
9a028c23
MR
10017 (display-buffer-normalize-options): Move special-display-p group
10018 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10019
6d10d800
CY
100202011-06-18 Chong Yidong <cyd@stupidchicken.com>
10021
6420d28b
CY
10022 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10023 groups (Bug#8776).
10024 (rx-submatch-n): New function.
10025 (rx): Document it.
10026
ddb8b596
CY
10027 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10028 (Bug#8768).
10029
10030 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10031
77080289
CY
10032 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10033
61dfb316
CY
10034 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10035 anytime existing face settings are present (Bug#8889).
10036
6d10d800
CY
10037 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10038 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10039 Remove unused argument.
10040
be3fb2b8
MR
100412011-06-18 Martin Rudalics <rudalics@gmx.at>
10042
bcd70d97
SM
10043 * window.el (display-buffer-default-specifiers):
10044 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10045 pop-up-window-min-width, and another reuse-window specifier
10046 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10047 (display-buffer-normalize-specifiers-2):
10048 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10049 pop-up-windows is unset. Add a reuse-window specifier for the
10050 case popping up a new window fails.
10051 (special-display-popup-frame): Remove double quoting.
28dec25a 10052 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10053
1c6d8c76
SM
100542011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10057 according to comint-completion-addsuffix.
10058
10059 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10060 (pcomplete-suffix-list): Mark as obsolete.
10061 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10062 pcomplete-seen in the closure.
10063 (pcomplete-comint-setup): Setup completion-at-point as well.
10064 (pcomplete--entries): New function.
10065 (pcomplete--env-regexp): New var.
10066 (pcomplete-entries): Rewrite to work with partial-completion and
10067 without relying on pcomplete-suffix-list.
10068 (pcomplete-pare-list): Remove, unused.
10069
25aef8b8
MR
100702011-06-17 Martin Rudalics <rudalics@gmx.at>
10071
10072 * window.el (display-buffer-alist): Set pop-up-window-min-height
10073 and pop-up-window-min-width in default value. Reported by
10074 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10075 other-window-means-other-frame.
10076 (display-buffer-macro-specifiers): Comment out entry for
10077 other-window specifier.
10078 (display-buffer-other-window-means-other-frame): New function.
10079 (display-buffer-normalize-specifiers-1): New arguments
10080 buffer-name and label. Treat other-window case specially.
10081 (display-buffer-normalize-specifiers-2): Treat other-window case
10082 specially.
10083 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10084 (display-buffer-normalize-specifiers):
10085 Call display-buffer-normalize-specifiers-3.
25aef8b8 10086
dbad4f69
MR
100872011-06-17 Martin Rudalics <rudalics@gmx.at>
10088
10089 * window.el (same-window-p): Fix two typos introduced when
10090 adding with-no-warnings.
d1067961
MR
10091 (display-buffer-normalize-specifiers-1): Don't check
10092 pop-up-frames for 'unset initialization.
10093 (display-buffer-normalize-specifiers-2): Major rewrite using
10094 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10095 (pop-up-frames, display-buffer-reuse-frames)
10096 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10097 Suggested by David Engster <deng@randomsample.de>.
10098 (even-window-heights): Initialize to 'unset.
10099 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10100 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10101 other window case.
dbad4f69 10102
9b9c9e3a
MR
101032011-06-16 Martin Rudalics <rudalics@gmx.at>
10104
bcd70d97
SM
10105 * window.el (display-buffer-normalize-specifiers-1):
10106 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10107 second argument of display-buffer (Bug#8865).
981d5c09
MR
10108 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10109 (switch-to-buffer-other-window-same-frame)
10110 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10111 Adams (Bug#8875).
9c2755e9
MR
10112 (display-buffer): Don't check noninteractive when calling
10113 display-buffer-pop-up-frame.
10114 (display-buffer-pop-up-frame): Never pop up a frame in
10115 noninteractive mode (Bug#8857).
67222e1d
MR
10116 (enlarge-window, shrink-window): Don't report an error when the
10117 window can't be resized as requested (Bug#8862).
9b9c9e3a 10118
2b75be67
SM
101192011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10120
9ffdd3ba
SM
10121 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10122
cb581a67
SM
10123 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10124
2b75be67
SM
10125 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10126
8c0e3589
AM
101272011-06-15 Alan Mackenzie <acm@muc.de>
10128
cb581a67
SM
10129 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10130 for declarators, disable knr checking to speed up for normal files.
10131 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10132
b96e6cde
LMI
101332011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10134
4bba86e6
LMI
10135 * net/network-stream.el (open-network-stream): Add the keyword
10136 :always-query-capabilities for the case where you want to force a
10137 `plain' network connection, but the protocol still requires the
10138 capabilitiy command (i.e., SMTP and EHLO).
10139
2b75be67 10140 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10141 consistency with other `-live-p' functions.
10142
efdcdbf8
SM
101432011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10144
10145 * window.el (same-window-buffer-names, same-window-regexps)
10146 (special-display-frame-alist, special-display-popup-frame)
10147 (special-display-function, special-display-buffer-names)
10148 (special-display-regexps, pop-up-frame-alist)
10149 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10150 (pop-up-windows, split-window-preferred-function)
10151 (split-height-threshold, split-width-threshold, even-window-heights)
10152 (display-buffer-mark-dedicated): Don't encourage the use of
10153 display-buffer-alist from Elisp code.
10154
c5cde042
DN
101552011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10156
10157 * progmodes/python.el (python-mode): Derive from prog-mode.
10158 * progmodes/ps-mode.el (ps-mode):
10159 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10160 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10161 * progmodes/ld-script.el (ld-script-mode): Likewise.
10162
baa1c9ab
MR
101632011-06-15 Martin Rudalics <rudalics@gmx.at>
10164
10165 * window.el (display-buffer-alist): Trim default value to avoid
10166 popping up a new frame (Bug#8857) or reusing an arbitrary window
10167 on another frame.
10168 (display-buffer): Do not fall back on popping up a new frame in
10169 batch mode (Bug#8857).
10170
c5dd5a51
CY
101712011-06-14 Chong Yidong <cyd@stupidchicken.com>
10172
10173 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10174 (custom-theme-summary): New function.
10175 (customize-themes): Use it.
10176
d647b7c4
GM
101772011-06-13 Glenn Morris <rgm@gnu.org>
10178
10179 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10180
9481c002
MR
101812011-06-13 Martin Rudalics <rudalics@gmx.at>
10182
357f93d2
MR
10183 * help.el (help-window): Remove variable.
10184 (help-window-point-marker, temp-buffer-max-height)
10185 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10186 (help-print-return-message): Don't set help-window.
10187 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10188 (help-window-setup-finish): Remove.
10189 (help-window-display-message, help-window-setup)
10190 (with-help-window): Major rewrite based on new
10191 display-buffer-window variable.
10192
10193 * help-mode.el (help-mode-finish): Remove help-window related
10194 code.
10195
10196 * view.el (view-exits-all-viewing-windows): Remove reference to
10197 view-return-to-alist in doc-string.
10198 (view-return-to-alist): Make obsolete.
10199 (view-buffer): Call pop-to-buffer-same-window and remove
10200 undo-window code.
10201 (view-buffer-other-window): Call pop-to-buffer-other-window and
10202 simplify code. Ignore second argument.
10203 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10204 simplify code. Ignore second argument.
10205 (view-return-to-alist-update): Make obsolete.
10206 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10207 Rewrite using quit-restore window parameters.
2b75be67
SM
10208 (view-mode-exit): Rename second argument to EXIT-ONLY.
10209 Rewrite using quit-restore-window.
357f93d2
MR
10210 (View-exit, View-exit-and-edit, View-leave, View-quit)
10211 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10212 appropriate arguments.
10213 (view-end-message): Use quit-restore window parameter.
10214
9481c002
MR
10215 * window.el (display-buffer-function): Rewrite doc-string.
10216 (display-buffer-window, display-buffer-alist): New variables.
10217 (display-buffer-split-specifiers)
10218 (display-buffer-side-specifiers)
10219 (display-buffer-macro-specifiers): New constants.
10220 (display-buffer-even-window-sizes, display-buffer-set-height)
10221 (display-buffer-set-width, display-buffer-select-window)
10222 (display-buffer-in-window, display-buffer-reuse-window)
10223 (display-buffer-split-window-1, display-buffer-split-window)
10224 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10225 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10226 (display-buffer-in-side-window, normalize-buffer-to-display)
10227 (display-buffer-normalize-specifiers-1)
10228 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10229 (display-buffer-normalize-specifiers, display-buffer-frame):
10230 New functions.
9481c002
MR
10231 (display-buffer): Major rewrite.
10232 (display-buffer-other-window, display-buffer-other-frame)
10233 (pop-to-buffer, switch-to-buffer-other-window)
10234 (switch-to-buffer-other-frame): Rewrite.
10235 (display-buffer-same-window, display-buffer-same-frame)
10236 (display-buffer-same-frame-other-window)
10237 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10238 (pop-to-buffer-other-window)
10239 (pop-to-buffer-same-frame-other-window)
10240 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10241 (switch-to-buffer-other-window-same-frame): New functions.
10242 (same-window-p, special-display-p): Rewrite disabling warnings.
10243 Make obsolete.
10244 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10245 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10246 Make obsolete
10247 (same-window-buffer-names, same-window-regexps)
10248 (special-display-frame-alist, special-display-popup-frame)
10249 (special-display-function, special-display-buffer-names)
10250 (special-display-regexps, pop-up-frame-alist)
10251 (pop-up-frame-function, split-window-preferred-function)
10252 (split-height-threshold, split-width-threshold)
10253 (even-window-heights): Make obsolete.
10254
9db51aca
GM
102552011-06-12 Glenn Morris <rgm@gnu.org>
10256
10257 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10258 Misc simplifications.
9db51aca 10259
39cffb44
MR
102602011-06-12 Martin Rudalics <rudalics@gmx.at>
10261
10262 * window.el (window-safely-shrinkable-p): Restore function which
10263 was inadvertently removed in change from 2011-06-11. Declare as
10264 obsolete.
10265
2b75be67
SM
10266 * calendar/calendar.el (calendar-generate-window):
10267 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10268 window-safely-shrinkable-p.
10269
a8955be7
GM
102702011-06-12 Glenn Morris <rgm@gnu.org>
10271
10272 * progmodes/fortran.el (fortran-mode-syntax-table):
10273 * progmodes/f90.el (f90-mode-syntax-table):
10274 Set % to punctuation. (Bug#8820)
10275 (f90-find-tag-default): Remove, no longer needed.
10276
f0d4059d
DC
102772011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10278
10279 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10280
1100a63c
CY
102812011-06-11 Chong Yidong <cyd@stupidchicken.com>
10282
10283 * image.el (image-animated-p): Return animation delay in seconds.
10284 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10285 (image-animate-timeout): Remove DELAY argument. Don't assume
10286 every subimage has the same delay; get it from image-animated-p.
10287 (image-animate): Caller changed.
10288
def722bf
MA
102892011-06-11 Michael Albinus <michael.albinus@gmx.de>
10290
10291 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10292 to ignored backtrace functions.
10293
0a2bb1a9
GM
102942011-06-11 Glenn Morris <rgm@gnu.org>
10295
10296 * calendar/appt.el (appt-disp-window-function): Doc fix.
10297 (appt-check): Handle overlapping appointments. (Bug#8337)
10298
6198ccd0
MR
102992011-06-11 Martin Rudalics <rudalics@gmx.at>
10300
10301 * window.el (window-tree-1, window-tree): New functions, moving
10302 the latter to window.el.
10303 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10304 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10305 (bw-refresh-edges): Remove.
10306 (balance-windows-1, balance-windows-2): New functions.
10307 (balance-windows): Rewrite in terms of window tree functions,
10308 balance-windows-1 and balance-windows-2.
10309 (bw-adjust-window): Remove.
10310 (balance-windows-area-adjust): New function with functionality of
10311 bw-adjust-window but using resize-window.
2b75be67
SM
10312 (set-window-text-height): Rewrite doc-string.
10313 Use normalize-live-window and resize-window.
10314 (enlarge-window-horizontally, shrink-window-horizontally):
10315 Rename argument to DELTA.
6198ccd0
MR
10316 (window-buffer-height): New function.
10317 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10318 Rewrite using new window resize routines.
2b75be67
SM
10319 (kill-buffer-and-window, mouse-autoselect-window-select):
10320 Use ignore-errors instead of condition-case.
6198ccd0
MR
10321 (quit-window): Call delete-frame instead of delete-windows-on
10322 for the only buffer on frame.
10323
9397e56f
MR
103242011-06-10 Martin Rudalics <rudalics@gmx.at>
10325
10326 * loadup.el (top-level): Load window before files for the sake
10327 of replace-buffer-in-windows.
10328
10329 * files.el (read-buffer-to-switch)
10330 (switch-to-buffer-other-window)
2b75be67
SM
10331 (switch-to-buffer-other-frame, display-buffer-other-frame):
10332 Move to window.el.
9397e56f
MR
10333
10334 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10335 (previous-buffer): Move to window.el.
10336
10337 * bindings.el (unbury-buffer): Move to window.el.
10338
10339 * window.el (delete-other-windows-vertically): Move after
10340 definition of delete-other-windows.
10341 (other-window, delete-windows-on, replace-buffer-in-windows):
10342 Move here from window.c.
10343 (record-window-buffer, unrecord-window-buffer)
10344 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10345 (switch-to-next-buffer): New functions.
10346 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10347 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10348 (previous-buffer): Move here from simple.el.
10349 Call switch-to-prev-buffer.
9397e56f
MR
10350 (bury-buffer): Move here from buffer.c. Switch to previous
10351 buffer when window cannot be deleted.
10352 (unbury-buffer): Move here from bindings.el.
10353 (ctl-x-map): Move binding for other-window from window.c to
10354 here.
10355 (read-buffer-to-switch, switch-to-buffer-other-window)
10356 (switch-to-buffer-other-frame): Move here from files.el.
10357 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10358 (switch-to-buffer): Move here from buffer.c.
10359 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10360
562dd5e9
MR
103612011-06-10 Martin Rudalics <rudalics@gmx.at>
10362
10363 * window.el (window-min-height, window-min-width): Move here
10364 from window.c. Add defcustoms and rewrite doc-strings.
10365 (resize-mini-window, resize-window): New functions.
10366 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10367 Move here from window.c.
10368 (maximize-window, minimize-window): New functions.
10369 (delete-window, delete-other-windows, split-window): Move here
10370 from window.c.
10371 (window-split-min-size): New function.
10372 (split-window-keep-point): Mention split-window-above-each-other
10373 instead of split-window-vertically.
2b75be67 10374 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10375 Rename split-window-vertically to split-window-above-each-other
10376 and provide defalias for old definition.
10377 (split-window-side-by-side, split-window-horizontally):
10378 Rename split-window-horizontally to split-window-side-by-side
10379 and provide defalias for the old definition.
562dd5e9
MR
10380 (ctl-x-map): Move bindings for delete-window,
10381 delete-other-windows and enlarge-window here from window.c.
10382 Replace bindings for split-window-vertically and
10383 split-window-horizontally by bindings for
10384 split-window-above-each-other and split-window-side-by-side.
10385
10386 * cus-start.el (all): Remove entries for window-min-height and
10387 window-min-width. Add entries for window-splits and
10388 window-nest.
10389
f0da764a
GM
103902011-06-09 Glenn Morris <rgm@gnu.org>
10391
80675c21
GM
10392 * calendar/appt.el (appt-mode-line): New function.
10393 (appt-check, appt-disp-window): Use it.
10394
f0da764a
GM
10395 * files.el (hack-one-local-variable-eval-safep):
10396 Allow minor-modes with explicit +/-1 arguments.
10397
59f623b7
TZ
103982011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10399
10400 * term/xterm.el (xterm): Add defgroup.
10401 (xterm-extra-capabilities): Add defcustom to supply known xterm
10402 capabilities, skip querying them, or query them (default).
10403 (terminal-init-xterm): Use it.
10404 (terminal-init-xterm-modify-other-keys): New function to set up
10405 modifyOtherKeys support to simplify `terminal-init-xterm'.
10406
9aab8e0d
MR
104072011-06-09 Martin Rudalics <rudalics@gmx.at>
10408
10409 * window.el (resize-window-reset, resize-window-reset-1)
10410 (resize-subwindows-skip-p, resize-subwindows-normal)
10411 (resize-subwindows, resize-other-windows, resize-this-window)
10412 (resize-root-window, resize-root-window-vertically)
10413 (window-deletable-p, window-or-subwindow-p)
10414 (frame-root-window-p): New functions.
10415
e8b08aee
GM
104162011-06-09 Glenn Morris <rgm@gnu.org>
10417
10418 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10419 (ange-ftp-get-files): Use it.
10420
254c37a5
AK
104212011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10422
10423 * mail/sendmail.el (mail-recover-1, mail-recover):
10424 * files.el (recover-file, recover-session):
10425 Handle dired-listing-switches not being just a single short option.
10426
35d7dbd3
GM
104272011-06-09 Glenn Morris <rgm@gnu.org>
10428
10429 * calendar/appt.el (appt-display-message, appt-disp-window):
10430 Handle lists of appointments.
10431
387522b2
MR
104322011-06-08 Martin Rudalics <rudalics@gmx.at>
10433
2b75be67
SM
10434 * window.el (one-window-p): Move down in code.
10435 Rewrite doc-string.
10436 (window-current-scroll-bars): Rewrite doc-string.
10437 Normalize live window argument.
387522b2
MR
10438 (walk-windows, get-window-with-predicate, count-windows):
10439 Rewrite doc-string. Use window-list-1.
10440 (window-in-direction-2, window-in-direction, get-mru-window):
10441 New functions.
10442
d8e4b68b 104432011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10444
10445 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10446 Doc fix (Bug#8713).
10447
104482011-06-08 Chong Yidong <cyd@stupidchicken.com>
10449
10450 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10451
104522011-06-08 Juanma Barranquero <lekktu@gmail.com>
10453
10454 * loadhist.el (unload-feature-special-hooks):
10455 Add `comint-output-filter-functions'.
10456
0de12c52
IK
104572011-06-08 Ivan Kanis <gnu@kanis.fr>
10458
10459 * calendar/appt.el (appt-check): Move some initializations into the let.
10460
f3d1777e
MR
104612011-06-08 Martin Rudalics <rudalics@gmx.at>
10462
10463 * window.el (window-height): Defalias to window-total-height.
10464 (window-width): Defalias to window-body-width.
10465
18af70d0
CY
104662011-06-07 Chong Yidong <cyd@stupidchicken.com>
10467
10468 * image-mode.el (image-toggle-animation): New command.
10469 (image-mode-map): Bind it to RET.
10470 (image-mode): Update message.
10471 (image-toggle-display-image): Avoid a spurious cache flush.
10472 (image-transform-rotation): Doc fix.
10473 (image-transform-properties): Return quickly in the normal case.
10474 (image-animate-loop): Rename from image-animate-max-time.
10475
2b75be67 10476 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10477 (create-animated-image): Remove unnecessary function.
10478 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10479 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10480 (image-animate-timer): Use car-safe.
10481 (image-animate-timeout): Rename argument.
10482
190b47e6
MR
104832011-06-07 Martin Rudalics <rudalics@gmx.at>
10484
10485 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10486 window.c. Rename first argument to ALL-FRAMES.
10487 Rephrase doc-strings.
10488 (get-buffer-window-list): Rewrite using window-list-1.
10489 Rephrase doc-string.
a1511caf
MR
10490 (window-safe-min-height, window-safe-min-width): New constants.
10491 (window-size-ignore, window-min-size, window-min-size-1)
10492 (window-sizable, window-sizable-p, window-size-fixed-1)
10493 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10494 (window-max-delta-1, window-max-delta, window-resizable)
10495 (window-resizable-p, window-total-height, window-total-width)
10496 (window-body-width): New functions.
10497 (window-full-height-p, window-full-width-p): Rewrite using
10498 window-total-size.
10499 (window-body-height): Rewrite using window-body-size.
190b47e6 10500
85cc1f11
MR
105012011-06-06 Martin Rudalics <rudalics@gmx.at>
10502
10503 * window.el (window-right, window-left, window-child)
10504 (window-child-count, window-last-child, window-any-p)
10505 (normalize-live-buffer, normalize-live-frame)
10506 (normalize-any-window, normalize-live-window)
10507 (window-iso-combination-p, window-iso-combined-p)
10508 (window-iso-combinations)
10509 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10510 (windows-with-parameter, window-with-parameter)
10511 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10512 (window-atom-check, window-side-check, window-check):
10513 New functions.
85cc1f11
MR
10514 (ignore-window-parameters, window-sides, window-sides-vertical)
10515 (window-sides-slots): New variables.
10516 (window-size-fixed): Move down in code. Minor doc-string fix.
10517
e7156492
AS
105182011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10519
10520 * comint.el (comint-dynamic-complete-as-filename)
10521 (comint-dynamic-complete-filename): Correctly call
10522 completion-in-region.
10523
7e821d0d
DD
105242011-06-05 Deniz Dogan <deniz@dogan.se>
10525
10526 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10527 in last change.
10528
ac09b8a1
DD
105292011-06-05 Deniz Dogan <deniz@dogan.se>
10530
10531 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10532 (rcirc): Use it to prompt for encryption.
10533
34699b85
RW
105342011-06-05 Roland Winkler <winkler@gnu.org>
10535
10536 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10537 (bibtex-search-entries): New command bound to C-c C-a.
10538 (bibtex-display-entries): New function.
10539
004dedd3
RW
105402011-06-05 Roland Winkler <winkler@gnu.org>
10541
10542 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10543 (bibtex-insert-kill): After yanking insert newline if necessary.
10544 (bibtex-initialize): Call bibtex-string-files-init only once.
10545 (bibtex-mode): Do not call easy-menu-add.
10546 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10547 (bibtex-yank): Set arg properly if nil.
10548
022fe7ce
RW
105492011-06-05 Roland Winkler <winkler@gnu.org>
10550
2b75be67
SM
10551 * textmodes/bibtex.el (bibtex-search-entry-globally):
10552 New variable.
022fe7ce
RW
10553 (bibtex-search-entry): Use it.
10554
b7c3692a
RW
105552011-06-05 Roland Winkler <winkler@gnu.org>
10556
10557 * textmodes/bibtex.el (bibtex-entry-format): New option
10558 sort-fields.
10559 (bibtex-format-entry, bibtex-reformat): Honor this option.
10560 (bibtex-parse-entry): Return fields in proper order.
10561
8eda563d
JB
105622011-06-05 Juanma Barranquero <lekktu@gmail.com>
10563
10564 * doc-view.el (doc-view-remove-if): Move computation of result out
10565 of `dolist' to silence misleading lexical-binding warning.
10566
7dbe3dbc
CY
105672011-06-04 Chong Yidong <cyd@stupidchicken.com>
10568
10569 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10570 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10571
0c33dd17
MA
105722011-06-04 Michael Albinus <michael.albinus@gmx.de>
10573
10574 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10575 "SunOS 5.10".
10576
f8f91c2b
MA
105772011-06-04 Michael Albinus <michael.albinus@gmx.de>
10578
10579 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10580 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10581 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10582 (tramp-parse-putty):
10583 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10584 (tramp-completion-function-alist-ssh)
10585 (tramp-completion-function-alist-telnet)
10586 (tramp-completion-function-alist-su)
10587 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10588 cookie.
10589
10590 * net/tramp-ftp.el:
10591 * net/tramp-sh.el:
10592 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10593 load "tramp.el" `tramp-set-completion-function'.
10594
e17d9003
SM
105952011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10596
10597 * shell.el: Require and use pcomplete.
10598 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10599 (shell-completion-vars): Set pcomplete-default-completion-function.
10600
6c4cab03
DD
106012011-06-04 Deniz Dogan <deniz@dogan.se>
10602
10603 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10604 `memq' (Bug#8799).
10605
ea9fafe0
SM
106062011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10607
10608 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10609
b3e945d3
JB
106102011-06-02 Juanma Barranquero <lekktu@gmail.com>
10611
10612 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10613 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10614 * vc/log-view.el (log-view-beginning-of-defun):
10615 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10616 (smerge-refine-forward, smerge-refine-chopup-region):
10617 Silence warning for unused `dotimes' counter variables.
10618
7d520089
SM
106192011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10620
10621 * net/tramp.el (tramp-with-progress-reporter): Rename from
10622 with-progress-reporter. Use `declare'.
10623 * net/tramp-smb.el:
10624 * net/tramp-sh.el:
10625 * net/tramp-gvfs.el: Update all uses.
10626
a1c2400f
JB
106272011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10628
10629 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10630 buffer isn't killed before making it current.
10631
2403c841
SM
106322011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 Silence various byte-compiler warnings.
10635 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10636 `access-type' and new obsolescence format.
10637 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10638 new format.
10639 (byte-compile-check-variable): New `access-type' argument.
10640 Only warn if the access-type is obsolete.
10641 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10642 (byte-compile-variable-set): Adjust callers.
10643 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10644 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10645 setting it as obsolete.
10646 * simple.el (minibuffer-completing-symbol):
10647 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10648 access as obsolete.
10649 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10650 obsolete yet.
10651 * international/quail.el (quail-mouse-choose-completion): Remove unused
10652 code referring to obsolete var.
10653 (quail-choose-completion-string): Remove.
10654 * server.el (server-clients-with, server-kill-buffer-query-function)
10655 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10656 * proced.el (proced-send-signal):
10657 * emacs-lisp/lisp.el (lisp-complete-symbol):
10658 Replace completion-annotate-function with completion-extra-properties.
10659
2462470b
SM
106602011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10661
fb5b2591
SM
10662 * simple.el (goto-line): Use read-number.
10663 (overriding-map-is-bound): Remove.
10664 (saved-overriding-map): Change default.
10665 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10666 Take the map as argument.
10667 (universal-argument, negative-argument, digit-argument): Use it.
10668 (restore-overriding-map): Adjust.
10669 (do-auto-fill): Use fill-forward-paragraph.
10670 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10671
fd6fa53f
SM
10672 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10673 (minibuffer-inactive-mode): New major mode.
10674 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10675 the *Messages* buffer" hack.
10676 (mouse-popup-menubar): Don't burp if the event is a normal key.
10677
2462470b
SM
10678 Miscellaneous tweaks.
10679 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10680 lexical scoping as in subr.el's dolist and dotimes.
10681 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10682 Silence compiler warning.
10683 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10684 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10685 * international/ccl.el (ccl-compile): Trivial simplification.
10686 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10687 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10688 `printflag' argument.
10689 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10690 Purecopy the whole obsolescence data.
10691
108bf785
LL
106922011-06-01 Leo Liu <sdl.web@gmail.com>
10693
10694 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10695 improve doc-string as suggested by Marco Pessotto
10696 <melmothx@gmail.com>.
10697 (rcirc-print): Fix last change.
10698
30a23501
SM
106992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10700
10701 * minibuffer.el (complete-with-action): Return nil for the metadata and
10702 boundaries of non-functional tables.
10703 (completion-table-dynamic): Return nil for the metadata.
10704 (completion-table-with-terminator): Add default case, using
10705 complete-with-action.
10706 (completion--metadata): New function.
10707 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10708 to try and avoid pathological performance problems.
10709 (completion--embedded-envvar-table): Return `category' metadata.
10710
bcd54f83
LMI
107112011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10712
10713 * subr.el (process-alive-p): New tiny convenience function.
10714
e227544d
SM
107152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10716
10717 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10718 content but also its previous major mode.
10719
e8296fdc
HE
107202011-05-31 Helmut Eller <eller.helmut@gmail.com>
10721
4d61f28d 10722 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10723 *Backtrace* buffer when we exit with C-M-c.
10724
620c53a6
SM
107252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * minibuffer.el: Add metadata method to completion tables.
10728 (completion-category-overrides): New defcustom.
10729 (completion-metadata, completion--field-metadata)
10730 (completion-metadata-get, completion--styles)
10731 (completion--cycle-threshold): New functions.
10732 (completion-try-completion, completion-all-completions):
10733 Add `metadata' argument to choose completion-styles.
10734 (completion--do-completion): Use metadata to choose cycling.
10735 (completion-all-sorted-completions): Use metadata for sorting.
10736 Remove :completion-cycle-penalty which is not needed any more.
10737 (completion--try-word-completion): Add `metadata' argument.
10738 (minibuffer-completion-help): Check metadata for annotation function
10739 and sorting.
10740 (completion-file-name-table): Return `category' metadata.
10741 (minibuffer-completing-file-name): Make obsolete.
10742 * simple.el (minibuffer-completing-symbol): Make obsolete.
10743 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10744 completion-try-completion.
10745
1257e755
SM
107462011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10747
10748 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10749
3767e706
LL
107502011-05-30 Leo Liu <sdl.web@gmail.com>
10751
10752 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10753 (rcirc-print): Decode all incoming messages (bug#8744).
10754 (rcirc-decode-coding-system): Allow value nil for automatic coding
10755 system detection.
3767e706 10756
d1a5d56a
GM
107572011-06-01 Glenn Morris <rgm@gnu.org>
10758
10759 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10760
e8cbec34
CY
107612011-05-29 Chong Yidong <cyd@stupidchicken.com>
10762
10763 * image.el (image-animate-max-time): Allow nil and t values.
10764 Default to nil.
10765 (create-animated-image): Doc fix.
10766 (image-animate-start): Remove second arg; just use
10767 image-animate-max-time.
10768 (image-animate-timeout): Doc fix. Args changed.
10769
10770 * image-mode.el (image-toggle-display-image): Ensure that the
10771 image spec passed to the animate timer is the same object as in
58179cce 10772 the buffer's display property (Bug#6981).
e8cbec34
CY
10773 (image-transform-properties): Doc fix.
10774
10775 * image.el (image-animate-max-time): Default to nil.
10776
159daf87
MR
107772011-05-29 Martin Rudalics <rudalics@gmx.at>
10778
10779 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10780 entire buffer list (Bug#8184).
10781
d66c4c7c
CY
107822011-05-29 Chong Yidong <cyd@stupidchicken.com>
10783
10784 * image.el (imagemagick-types-inhibit)
10785 (imagemagick-register-types): Doc fix.
10786
80aec780
DD
107872011-05-29 Deniz Dogan <deniz@dogan.se>
10788
10789 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10790 default.
10791
1dd3c2d9
CY
107922011-05-29 Chong Yidong <cyd@stupidchicken.com>
10793
10794 * select.el: Don't perform clipboard-manager saving in hooks;
10795 leave the hooks empty.
10796
60e56523
LL
107972011-05-28 Leo Liu <sdl.web@gmail.com>
10798
10799 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10800 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10801 (occur-edit-mode): New major mode (Bug#8463).
10802 (occur-after-change-function): New function.
10803 (occur-engine): Give Occur tags a read-only property.
10804
2b1e1a22
KR
108052011-05-28 Kevin Ryde <user42@zip.com.au>
10806
10807 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10808
5d344e88
CY
108092011-05-28 Chong Yidong <cyd@stupidchicken.com>
10810
8e6ca83d
CY
10811 * bindings.el (help-echo): Make the initial non-indicator dash
10812 empty on graphical terminals (Bug#7295).
10813
5d344e88
CY
10814 * files.el (auto-mode-alist): Move config rule after the
10815 in-stripping one (Bug#8547).
10816
bfbbace7
CY
10817 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10818
fbeba6e2
CY
10819 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10820 setting (Bug#8740).
10821
60ed8c72
AA
108222011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10823
4ac619f0
AA
10824 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10825 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10826 (Bug#8539).
60ed8c72 10827
23db196e
CY
108282011-05-28 Chong Yidong <cyd@stupidchicken.com>
10829
10830 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10831
5012f24c
DK
108322011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10833
10834 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10835 (hs-hide-block-at-point, hs-find-block-beginning)
10836 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10837 (Bug#8279).
10838
6a639b16
GM
108392011-05-28 Glenn Morris <rgm@gnu.org>
10840
10841 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10842
d43eaf2c
CY
108432011-05-28 Chong Yidong <cyd@stupidchicken.com>
10844
5199bde1
CY
10845 * help-fns.el (describe-function-1): If the function is a derived
10846 major mode, print the parent mode.
10847
d43eaf2c
CY
10848 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10849 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10850
423428a8
SM
108512011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10852
0ff8e1ba 10853 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10854 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10855 * progmodes/etags.el (tags-completion-at-point-function):
10856 * info-look.el (info-lookup-completions-at-point): Mark as
10857 non-exclusive.
10858 (info-complete): Adjust accordingly.
10859
423428a8
SM
10860 * info-look.el: Convert to lexical-binding and completion-at-point.
10861 (info-lookup-completions-at-point): New function.
10862 (info-complete): Use it and completion-in-region.
10863
b74aa22b
DA
108642011-05-28 Drew Adams <drew.adams@oracle.com>
10865
10866 * isearch.el: Let M-e start with point at the first mismatched char.
10867 (isearch-fail-pos): New function.
10868 (isearch-edit-string): Use it.
10869
66e2e71d
DK
108702011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10871
10872 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10873
b1890b0f 108742011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10875
10876 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10877 traversal functions for avl-trees.
10878 (avl-tree--stack): New struct.
10879 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10880 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10881 (avl-tree--do-enter): Add optional `updatefun' arg.
10882 Change return value.
eb95d01d 10883 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10884 (avl-tree--do-delete): Add `test' and `nilflag' args.
10885 Change return value.
eb95d01d
TC
10886 (avl-tree-member): Add optional `nilflag'
10887 (avl-tree-member-p): New function.
10888 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10889 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10890 (avl-tree-stack-empty-p): New functions.
10891
3769ddcf
TC
10892 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10893 avl-tree--del-balance1 and make it work both ways.
10894 (avl-tree--del-balance2): Remove.
10895 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10896 make it work both ways.
10897 (avl-tree--enter-balance2): Remove.
10898 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10899 New macros.
10900 (avl-tree--mapc, avl-tree-map): Add direction argument.
10901
eb95d01d 109022011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10903
10904 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10905
a9f737ee
CY
109062011-05-27 Chong Yidong <cyd@stupidchicken.com>
10907
10908 * select.el: Support clipboard managers with built-in function
10909 x-clipboard-manager-save, via delete-frame-functions and
10910 kill-emacs-hook.
10911 (xselect-convert-to-targets): Add MULTIPLE target to list.
10912 (xselect-convert-to-save-targets): New function.
10913
c92a1e54
KH
109142011-05-27 Kenichi Handa <handa@m17n.org>
10915
10916 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10917 let-binding rfc2047-encode-encoded-words to nil.
10918
e145f188
GM
109192011-05-27 Glenn Morris <rgm@gnu.org>
10920
5ec8a862
GM
10921 * mail/emacsbug.el: Don't require url-util.
10922
4b29d9fb
GM
10923 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10924
e145f188
GM
10925 * files.el (set-auto-mode):
10926 Also respect mode: entries at the end of the file. (Bug#8586)
10927
7d15102b
GM
109282011-05-26 Glenn Morris <rgm@gnu.org>
10929
98f593b8
GM
10930 * files.el (hack-local-variables-prop-line, hack-local-variables):
10931 Downcase mode names, as seems to be traditional.
27b48e63 10932 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10933
7d15102b
GM
10934 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10935 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10936
51d5b4ec
JD
109372011-05-25 Julien Danjou <julien@danjou.info>
10938
10939 * textmodes/rst.el (rst-define-level-faces): Do not define face
10940 symbol if it is already defined.
10941
91513f63
VB
109422011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10943
10944 * play/5x5.el (5x5-new-game, 5x5-randomize):
10945 Reset 5x5-solver-output to nil when a new grid is cast.
10946 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10947 these debugging traces, as defmacro breaks the compiled code.
10948
4d90d6d0
DK
109492011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10950
10951 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10952
e1b90ef6
LL
109532011-05-24 Leo Liu <sdl.web@gmail.com>
10954
10955 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10956 (vc-bzr-sha1): Adapt.
10957
d8e4b68b 10958 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10959
10960 * bindings.el: Provide sha1 feature.
10961
db0406bb 109622011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10963
10964 * mail/sendmail.el: Require `rfc2047'.
10965 (mail-insert-from-field): Do not perform RFC2047 encoding.
10966 (mail-encode-header): New function.
10967 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10968 buffer to the return value of select-message-coding-system.
10969 Call mail-encode-header.
b8d747b9
KH
10970
10971 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10972
db0406bb 109732011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10974
4d90d6d0
DK
10975 * mail/supercite.el (sc-default-cite-frame):
10976 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10977
eb8a5e9b
GM
109782011-05-24 Glenn Morris <rgm@gnu.org>
10979
f8630703
GM
10980 * progmodes/python.el (brm-menu): Declare.
10981
8831bbed
GM
10982 * emulation/viper.el (viper-set-hooks): Declare.
10983
eb8a5e9b
GM
10984 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10985 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10986 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10987 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10988 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10989 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10990
a2a25d24
SM
109912011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 Add an :exit-function for completion-at-point.
10994
10995 * minibuffer.el (completion--done): New fun.
10996 (completion--do-completion): Use it. New arg `expect-exact'.
10997 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10998 since completion--do-completion does it for us now.
10999 (minibuffer-force-complete): Use completion--done and
11000 completion--replace. Handle sole-completion case with more care.
11001 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11002 (completion-extra-properties): New var.
11003 (completion-annotate-function): Make obsolete.
11004 (minibuffer-completion-help): Adjust accordingly.
11005 Use completion-list-insert-choice-function.
11006 (completion-at-point, completion-help-at-point):
11007 Bind completion-extra-properties.
11008 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11009 * simple.el (completion-list-insert-choice-function): New var.
11010 (completion-setup-function): Preserve it.
11011 (choose-completion): Pay attention to it, shuffle the code a bit.
11012 (choose-completion-string): New arg `insert-function'.
11013
11014 * textmodes/bibtex.el: Convert to lexical binding.
11015 (bibtex-mode-map): Use completion-at-point.
11016 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11017 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11018 (bibtex-complete): Define as obsolete alias.
11019 (bibtex-complete-internal): Remove.
11020 (bibtex-format-entry): Remove unused sub-group in regexp.
11021 * shell.el (shell--command-completion-data)
11022 (shell-environment-variable-completion):
11023 * pcomplete.el (pcomplete-completions-at-point):
11024 * comint.el (comint--complete-file-name-data): Use :exit-function
11025 instead of completion-table-with-terminator so it also works for
11026 choose-completion.
11027
e44e373d
SM
110282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11029
4f91a816
SM
11030 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11031
782fc819
SM
11032 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11033 (bug#8710).
11034
e44e373d
SM
11035 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11036
381987c3
KM
110372011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11038
11039 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11040 customization variable and implement: If non-nil, auto-fill will
11041 be inhibited while on topic's header line.
11042
b776bc70
VB
110432011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11044
11045 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11046 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11047 always have a solution in grid size = 5 cases.
11048 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11049 (5x5-solver-output, 5x5-log-buffer): New vars.
11050 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11051 Make these variables buffer local to achieve 5x5 multi-session-ness.
11052 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11053 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11054 (5x5-solve-suggest): New funs.
11055 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11056 randomize a grid so that we ensure that there is always a solution.
11057 (5x5-make-random-grid): Allow other movement than flipping.
11058
7de88b6e
KR
110592011-05-23 Kevin Ryde <user42@zip.com.au>
11060
11061 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11062 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11063 advice and passes PREDICATE.
11064
b1ef1257
SM
110652011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11066
bbca48fe
SM
11067 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11068 byte-compile-lambda if it's actually a lambda.
11069
b1ef1257
SM
11070 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11071 Fix function quoting. Use backquote better.
11072
92a9cc65
YS
110732011-05-22 Yuanle Song <sylecn@gmail.com>
11074
11075 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11076 matching (Bug#8516).
11077
f0fb8059
JA
110782011-01-22 Jari Aalto <jari.aalto@cante.net>
11079
11080 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11081 different face (Bug#8178).
11082
d5b44c93
CY
110832011-05-22 Chong Yidong <cyd@stupidchicken.com>
11084
11085 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11086 defface (Bug#8144).
11087
79106a44
SM
110882011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11089
9c848d8a
SM
11090 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11091 funcall as well (bug#8712). Warn when performing those conversions.
11092 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11093
79106a44
SM
11094 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11095
88dfa756
GM
110962011-05-22 Glenn Morris <rgm@gnu.org>
11097
11098 * files.el (hack-local-variables-prop-line): Small simplifications.
11099 (hack-local-variables, hack-local-variables-prop-line):
11100 If MODE-ONLY, return the mode, rather than just `t'.
11101
b7cf2c79
SM
111022011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11103
11104 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11105
3f1a8558
GM
111062011-05-21 Glenn Morris <rgm@gnu.org>
11107
7e4ccca3
GM
11108 * files.el (hack-local-variables-prop-line, hack-local-variables):
11109 If only interested in the mode, don't bother doing the other stuff.
11110
637d46ca
GM
11111 * image-mode.el (image-after-revert-hook):
11112 Redraw all frames on which the image is visible. (Bug#8567)
11113
973d955b
GM
11114 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11115
3f1a8558
GM
11116 * wid-edit.el (widget-checklist-match-inline):
11117 Fix 2011-04-19 change. (Bug#8649)
11118
96479927
SM
111192011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11120
1dcf791f
SM
11121 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11122 Also allow singlespace after single-letter capitals followed by a dot.
11123
96479927
SM
11124 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11125 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11126
35fd0881
N
111272011-05-20 Nix <nix@esperi.org.uk>
11128
11129 * files.el (basic-save-buffer-2):
11130 Fix handling of break-hardlink-on-save with non-existent files.
11131
82745640
DD
111322011-05-19 Deniz Dogan <deniz@dogan.se>
11133
11134 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11135 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11136
4a720484
GM
111372011-05-19 Glenn Morris <rgm@gnu.org>
11138
d1f21341
GM
11139 * progmodes/f90.el (f90-type-def-re):
11140 Handle "type, bind(c)". (Bug#8691)
11141
4a720484
GM
11142 * emacs-lisp/autoload.el (batch-update-autoloads):
11143 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11144
2fb0a219
MA
111452011-05-18 Michael Albinus <michael.albinus@gmx.de>
11146
11147 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11148 property for the correct connection in case of multihops.
11149
e565dd37
GM
111502011-05-18 Glenn Morris <rgm@gnu.org>
11151
c2571358 11152 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11153 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11154
e565dd37
GM
11155 Rationalize calendar handling of day and month abbrev-arrays.
11156 * calendar/calendar.el (calendar-customized-p): New function.
11157 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11158 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11159 Add :set function.
11160 (calendar-abbrev-length, calendar-day-abbrev-array)
11161 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11162 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11163 Elements may no longer be nil.
11164 (calendar-day-name, calendar-month-name):
11165 Update for changed nature of abbrev arrays.
11166 * calendar/diary-lib.el (diary-name-pattern):
11167 Update for changed nature of abbrev arrays.
11168 (diary-mark-entries-1): Update calendar-make-alist calls.
11169 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11170 * calendar/cal-html.el (cal-html-day-abbrev-array):
11171 Simply inherit from calendar-day-abbrev-array.
11172
1d99a745
SM
111732011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11174
11175 * progmodes/grep.el (grep-mode): Disable default
11176 compilation-directory-matcher setting (bug#8684).
11177
7c1d9aa0
MA
111782011-05-17 Michael Albinus <michael.albinus@gmx.de>
11179
11180 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11181 instead of "head" and "tail". There were problems with SunOS 5.9,
11182 and it performs better.
11183
3952e9d8
GM
111842011-05-17 Glenn Morris <rgm@gnu.org>
11185
2dd12e7f
GM
11186 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11187
e4157b9c
GM
11188 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11189 Replace obsolete function.
11190
8e249bbd
GM
11191 * shell.el (pcomplete-parse-arguments-function): Declare.
11192
3952e9d8
GM
11193 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11194 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11195 (appt-check): Doc fixes.
11196 (appt-disp-window-function, appt-delete-window-function):
11197 Remove needless special case in custom :type.
11198 (appt-display-count): Default to 0, not nil.
11199 (appt-check): Reset appt-display-count to 0, not nil.
11200
c71a0d48 112012011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11202
c71a0d48
GM
11203 * progmodes/python.el (python-font-lock-keywords):
11204 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11205
31d55be9
SM
112062011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11209
3bfacb2f
KR
112102011-05-16 Kevin Ryde <user42@zip.com.au>
11211
11212 * info-look.el (makefile-automake-mode): New setups, looking in
11213 automake manual, then makefile-mode.
11214 (makefile-mode): Remove automake manual, have it just in
11215 makefile-automake-mode since there's various things different or
11216 not relevant to plain make.
11217 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11218 believe a hypothetical automake-mode would go to makefile-mode,
11219 not the other way around.
11220
c8e83751
CY
112212011-05-15 Chong Yidong <cyd@stupidchicken.com>
11222
5e9e35cd
CY
11223 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11224 hunk-end tags (Bug#8672).
11225
c8e83751
CY
11226 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11227 vc-annotate-show-diff-revision-at-line (Bug#8671).
11228
50b23e5a
GM
112292011-05-14 Glenn Morris <rgm@gnu.org>
11230
7210a739
GM
11231 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11232 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11233 (change-log-font-lock-keywords): Also handle multiple author lines
11234 with leading tabs. (Bug#8644)
7210a739 11235
4691905a
GM
11236 * calendar/appt.el (appt-check): Rename some local variables.
11237 Some simplification/reordering.
11238
50b23e5a
GM
11239 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11240 (feedmail-sendmail-f-doesnt-sell-me-out)
11241 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11242 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11243 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11244 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11245 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11246 (feedmail-binmail-gnulinuxish-template):
11247 Rename from feedmail-binmail-linuxish-template.
11248 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11249 Use insert-buffer-substring.
11250
215cda7c
BC
112512011-05-14 Bill Carpenter <bill@carpenter.org>
11252
11253 * mail/feedmail.el (feedmail-patch-level): Increase.
11254 (feedmail-debug): New custom group.
11255 (feedmail-confirm-outgoing-timeout)
11256 (feedmail-sendmail-f-doesnt-sell-me-out)
11257 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11258 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11259 (feedmail-sender-line, feedmail-from-line)
11260 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11261 (feedmail-spray-this-address)
215cda7c
BC
11262 (feedmail-spray-address-fiddle-plex-list)
11263 (feedmail-queue-use-send-time-for-date)
11264 (feedmail-queue-use-send-time-for-message-id)
11265 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11266 (feedmail-buffer-eating-function):
11267 Doc fixes.
11268 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11269 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11270 (feedmail-message-action-scroll-down): New functions.
11271 (feedmail-queue-directory, feedmail-queue-draft-directory):
11272 Use expand-file-name.
11273 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11274 Remove C-v help entry.
11275 (feedmail-queue-buffer-file-name): New variable.
11276 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11277 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11278 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11279 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11280 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11281 (feedmail-message-action-toggle-spray)
11282 (feedmail-run-the-queue-no-prompts)
11283 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11284 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11285 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11286 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11287 (feedmail-envelope-deducer, feedmail-fiddle-from)
11288 (feedmail-fiddle-sender, feedmail-default-date-generator)
11289 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11290 (feedmail-fiddle-spray-address)
11291 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11292 (feedmail-fiddle-list-of-fiddle-plexes)
11293 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11294 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11295 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11296 Change default. Doc fix.
11297 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11298 (feedmail-binmail-linuxish-template): New constant.
11299 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11300 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11301 (feedmail-send-it): Add debug call.
11302 Use feedmail-queue-buffer-file-name, and
11303 feedmail-send-it-immediately-wrapper.
11304 (feedmail-message-action-send): Add debug call.
11305 Use feedmail-send-it-immediately-wrapper.
11306 (feedmail-queue-express-to-queue): Add debug call.
11307 Run feedmail-queue-express-hook.
11308 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11309 (feedmail-message-action-help-blat):
11310 Rename from feedmail-queue-send-edit-prompt-help-first.
11311 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11312 Check line-endings. Handle errors better.
11313 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11314 Doc fix. Add debug call.
11315 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11316 Use feedmail-queue-send-edit-prompt-inner.
11317 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11318 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11319 from feedmail-queue-send-edit-prompt.
11320 (feedmail-queue-send-edit-prompt-help)
11321 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11322 (feedmail-tidy-up-slug): Add debug call.
11323 Respect feedmail-queue-slug-suspect-regexp.
11324 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11325 (feedmail-dump-message-to-queue): Add debug call.
11326 Expand queue-directory.
11327 (feedmail-dump-message-to-queue): Change message slightly.
11328 Use feedmail-say-chatter.
11329 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11330 (feedmail-send-it-immediately-wrapper): New function.
11331 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11332 Insert empty string rather than newline. Handle full-frame case.
11333 Use catch/throw. Use feedmail-say-chatter.
11334 (feedmail-fiddle-from): Try mail-host-address.
11335 (feedmail-default-message-id-generator): Doc fix.
11336 Bind system-time-locale. Handle missing end.
11337 (feedmail-fiddle-x-mailer): Add debug call.
11338 Handle feedmail-x-mailer-line being nil.
11339 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11340 Add debug call. Use buffer-substring-no-properties.
11341 (feedmail-say-debug, feedmail-say-chatter): New functions.
11342 (feedmail-find-eoh): Give an explicit error.
11343
42c7e61e
UJ
113442011-05-13 Ulf Jasper <ulf.jasper@web.de>
11345
c2571358 11346 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11347 family from helvetica to sans.
c2571358 11348 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11349 etc/images/newsticker.
11350
c2571358 11351 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11352 family from helvetica to sans.
11353
11354 * net/newst-plainview.el (newsticker-new-item-face)
11355 (newsticker-old-item-face, newsticker-immortal-item-face)
11356 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11357 (newsticker-statistics-face): Change default family from
42c7e61e 11358 helvetica to sans.
c2571358 11359 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11360 etc/images/newsticker.
11361
5d3385a0
JB
11362 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11363 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11364 auto-marking.
11365
8497a297
DV
113662011-05-13 Didier Verna <didier@xemacs.org>
11367
11368 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11369 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11370 TODO entries.
8497a297
DV
11371 (lisp-lambda-list-keyword-parameter-indentation)
11372 (lisp-lambda-list-keyword-parameter-alignment)
11373 (lisp-lambda-list-keyword-alignment): New customizable user options.
11374 (lisp-indent-defun-method): Improve docstring.
11375 (extended-loop-p): Fix comment.
11376 (lisp-indent-lambda-list-keywords-regexp): New variable.
11377 (lisp-indent-lambda-list): New function.
11378 (lisp-indent-259): Use it.
11379 (lisp-indent-defmethod): Support for more than one
11380 method qualifier and properly indent methods lambda-lists.
11381 (defgeneric): Provide a missing common-lisp-indent-function property.
11382
f278f87f
SM
113832011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11386 bounds for the empty string (bug#8667).
11387
5233edd7
GM
113882011-05-13 Glenn Morris <rgm@gnu.org>
11389
5237a44f
GM
11390 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11391
8340026c 11392 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11393 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11394
5233edd7 11395 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11396 (appt-time-msg-list): Doc fix.
a5464014 11397 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11398
92d10796
AS
113992011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11400
11401 * progmodes/ld-script.el (ld-script-keywords)
11402 (ld-script-builtins): Update keywords list.
11403
914a0ae1
SM
114042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11405
c89be45f
SM
11406 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11407
914a0ae1
SM
11408 * shell.el (shell-completion-vars): New function.
11409 (shell-mode):
11410 * simple.el (read-shell-command): Use it.
11411 (blink-matching-open): No need for " [...]" in minibuffer-message.
11412
98dc3df3
GM
114132011-05-12 Glenn Morris <rgm@gnu.org>
11414
11415 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11416 (appt-check): Simplify.
11417
d2fc7e3d 114182011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11419
4d61f28d 11420 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11421 literal "/dev/null".
11422
d2fc7e3d 114232011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11424
11425 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11426 Fix typo.
11427
d2fc7e3d 114282011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11429
3f254caa
SM
11430 * progmodes/which-func.el (which-function):
11431 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11432 which might not be defined (Bug#8260).
11433
d45885f7
GM
114342011-05-12 Glenn Morris <rgm@gnu.org>
11435
11436 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11437 Let byte-compile-initial-macro-environment always take precedence.
11438
488086f4
SM
114392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11440
11441 * net/rcirc.el: Add support for SSL/TLS connections.
11442 (rcirc-server-alist): New field `encryption'.
11443 (rcirc): Check `encryption' settings.
11444 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11445 Merge make-local-variable into `set'.
11446 (rcirc--connection-open-p): New function.
11447 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11448 the process is not a network process (e.g. running gnutls-cli).
11449 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11450 Make rcirc-(en|de)code-coding-system local here.
11451 (rcirc-mode): Merge make-local-variable into `set'.
11452 (rcirc-parent-buffer): Make permanent buffer-local.
11453 (rcirc-multiline-minor-mode): Don't do it here.
11454 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11455 there's no server buffer.
11456
7d3b9d44
GM
114572011-05-11 Glenn Morris <rgm@gnu.org>
11458
f64049c6
GM
11459 * newcomment.el (comment-kill): Prefix "unused" local.
11460
93c9df73
GM
11461 * term/w32console.el (get-screen-color): Declare.
11462
7d3b9d44
GM
11463 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11464 Handle symbol elements of byte-compile-initial-macro-environment.
11465
9e2dd53f
LL
114662011-05-10 Leo Liu <sdl.web@gmail.com>
11467
488086f4
SM
11468 * bookmark.el (bookmark-bmenu-mode-map):
11469 Bind bookmark-bmenu-search to `/'.
8b340240 11470
9e2dd53f 11471 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11472 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11473 (Footnote-unicode): New function.
11474 (footnote-style-alist): Add unicode style to the list.
11475 (footnote-style): Doc fix.
9e2dd53f 11476
79b70037
GM
114772011-05-10 Jim Meyering <meyering@redhat.com>
11478
11479 Fix doubled-word typos.
11480 * international/quail.el (quail-insert-kbd-layout): and and -> and
11481 * kermit.el: and and -> and
11482 * net/ldap.el (ldap-search-internal): to to -> to
11483 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11484 * progmodes/js.el (js-mode): and and -> and
11485 * textmodes/artist.el (artist-move-to-xy): at at -> at
11486 (artist-draw-region-trim-line-endings): if if -> if
11487 And Safetyc -> Safety.
11488 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11489
b8f82dc1 114902011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11491 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11492
11493 * files.el (hack-one-local-variable-eval-safep):
11494 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11495
4f99f44b
GM
114962011-05-10 Glenn Morris <rgm@gnu.org>
11497
11498 * calendar/diary-lib.el (diary-list-entries-hook)
11499 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11500 (diary-nongregorian-marking-hook, diary-list-entries)
11501 (diary-include-other-diary-files, diary-mark-entries)
11502 (diary-mark-included-diary-files): Doc fixes.
11503
84f29e6b
JB
115042011-05-09 Juanma Barranquero <lekktu@gmail.com>
11505
11506 * misc.el: Require tabulated-list.el during compilation.
11507
9bedd73a
CY
115082011-05-09 Chong Yidong <cyd@stupidchicken.com>
11509
488086f4
SM
11510 * progmodes/compile.el (compilation-start):
11511 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11512 (compilation-filter-hook): Doc fix.
11513
797c735c
DD
115142011-05-09 Deniz Dogan <deniz@dogan.se>
11515
11516 * wdired.el: Remove outdated installation comment. Fix usage
11517 comment.
11518
5f4b1dfe
JB
115192011-05-09 Juanma Barranquero <lekktu@gmail.com>
11520
11521 * misc.el: Implement new command `list-dynamic-libraries'.
11522 (list-dynamic-libraries--loaded-only-p): New variable.
11523 (list-dynamic-libraries--refresh): New function.
11524 (list-dynamic-libraries): New command.
11525
4c44026c
CY
115262011-05-09 Chong Yidong <cyd@stupidchicken.com>
11527
488086f4
SM
11528 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11529 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11530 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11531 higher priority to avoid clobbering by gnu.
11532
027f966d
CY
115332011-05-08 Chong Yidong <cyd@stupidchicken.com>
11534
11535 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11536 if the face has existing theme settings (Bug#8454).
11537
085f5d7d
CY
115382011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11539
488086f4
SM
11540 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11541 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11542
2a86a00c
RS
11543 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11544 special file names `.' and `..' (Bug#8259).
11545
d9c54a06
CY
115462011-05-08 Chong Yidong <cyd@stupidchicken.com>
11547
488086f4
SM
11548 * progmodes/grep.el (grep-mode-font-lock-keywords):
11549 Remove buffer-changing entries.
d9c54a06
CY
11550 (grep-filter): New function.
11551 (grep-mode): Add it to compilation-filter-hook.
11552
11553 * progmodes/compile.el (compilation-filter-hook)
11554 (compilation-filter-start): New defvars.
11555 (compilation-filter): Call compilation-filter-hook prior to
11556 updating the process mark.
11557
c4662635
SM
115582011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11559
11560 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11561
b0512a1d
EZ
115622011-05-07 Eli Zaretskii <eliz@gnu.org>
11563
605c9376
EZ
11564 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11565 mailclient-send-it even if window-system is nil. (Bug#8595)
11566
c4662635
SM
11567 * term/w32console.el (terminal-init-w32console):
11568 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11569 background-mode. (Bug#8597)
11570
d1dc2cc2
SM
115712011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11572
11573 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11574 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11575 New functions.
11576 (defgeneric, eieio--defmethod): Use them.
11577 (eieio-defgeneric): Remove.
11578 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11579
915d1300
GM
115802011-05-07 Glenn Morris <rgm@gnu.org>
11581
a3961c3e
GM
11582 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11583 Use let rather than let*.
11584 (timeclock-find-discrep): Remove unused local.
11585
314347b9
GM
11586 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11587
915d1300
GM
11588 * calendar/appt.el (appt-time-msg-list): Doc fix.
11589
275b59b0
NF
115902011-05-06 Noah Friedman <friedman@splode.com>
11591
11592 * apropos.el (apropos-print-doc): Only use
11593 emacs-lisp-docstring-fill-column when it is bound to an integer,
11594 per that variable's documentation.
11595
6c19f744
SM
115962011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11597
11598 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11599 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11600
60f884b2
GM
116012011-05-06 Glenn Morris <rgm@gnu.org>
11602
5006e634
GM
11603 * calendar/appt.el (appt-message-warning-time): Doc fix.
11604 (appt-warning-time-regexp): New option.
11605 (appt-make-list): Respect appt-message-warning-time.
11606
548d0a63
GM
11607 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11608 New options.
11609 (diary-add-to-list): Strip comments from the displayed string.
11610 (diary-mode): Set comment-start and comment-end.
11611
60f884b2
GM
11612 * vc/diff-mode.el (smerge-refine-subst): Declare.
11613 (diff-refine-hunk): Don't require smerge-mode when compiling.
11614
989681bb
JB
116152011-05-06 Juanma Barranquero <lekktu@gmail.com>
11616
11617 * simple.el (list-processes): Return nil as the docstring says.
11618
a6bc05e1
MA
116192011-05-05 Michael Albinus <michael.albinus@gmx.de>
11620
11621 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11622 to "".
11623 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11624 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11625 determining of binary transfer. (Bug#7383)
11626
23c22e9a
MA
116272011-05-05 Michael Albinus <michael.albinus@gmx.de>
11628
c4662635
SM
11629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11630 Fix port computation bug. (Bug#8618)
23c22e9a 11631
0bff894f
GM
116322011-05-05 Glenn Morris <rgm@gnu.org>
11633
b8296902
GM
11634 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11635
1f522ce8
GM
11636 * simple.el (shell-dynamic-complete-functions)
11637 (comint-dynamic-complete-functions): Declare.
11638
cf5bee67
GM
11639 * net/network-stream.el (gnutls-negotiate):
11640 * simple.el (tabulated-list-print): Fix declarations.
11641
11642 * progmodes/gud.el (syntax-symbol, syntax-point):
11643 Remove unnecessary and incorrect declarations.
11644
0bff894f
GM
11645 * emacs-lisp/check-declare.el (check-declare-scan):
11646 Handle byte-compile-initial-macro-environment in bytecomp.el
11647
9869b3ae
SM
116482011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11649
11650 Fix earlier half-done eieio-defmethod change (bug#8338).
11651 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11652 Streamline and change calling convention.
11653 (defmethod): Adjust accordingly and simplify.
11654 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11655 new eieio--defmethod.
11656 (slot-boundp): Minor CSE simplification.
11657
9c1d5ac5
MZ
116582011-05-05 Milan Zamazal <pdm@zamazal.org>
11659
11660 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11661 (glasses-make-readable): Use glasses-separate-capital-groups.
11662
455c834e
JB
116632011-05-05 Juanma Barranquero <lekktu@gmail.com>
11664
11665 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11666 (warning-series): Doc fix.
11667 (display-warning): Don't try to create the buffer if we just found it.
11668
9ed7c8cb
CY
116692011-05-04 Chong Yidong <cyd@stupidchicken.com>
11670
11671 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11672 (autoload-find-generated-file): New function.
11673 (generate-file-autoloads): Bind generated-autoload-file to
11674 buffer-file-name.
9869b3ae
SM
11675 (update-file-autoloads, update-directory-autoloads):
11676 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11677 output file (Bug#7989).
11678 (batch-update-autoloads): Doc fix.
11679
0898ca10
JB
116802011-05-04 Juanma Barranquero <lekktu@gmail.com>
11681
11682 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11683
31dfb76c
GM
116842011-05-04 Glenn Morris <rgm@gnu.org>
11685
f330b642
GM
11686 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11687 function, so it follows changes in calendar-date-style.
11688 (diary-fancy-date-matcher): New function.
11689 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11690 (diary-fancy-font-lock-fontify-region-function):
11691 Use diary-fancy-date-pattern as a function.
11692
31dfb76c
GM
11693 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11694 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11695
48e79d6a
TZ
116962011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11697
11698 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11699 instead of positional arguments. Allow :keylist and :crlfiles
11700 arguments.
11701 (open-gnutls-stream): Call it.
11702
11703 * net/network-stream.el (network-stream-open-starttls): Adjust to
11704 call `gnutls-negotiate' with :process and :hostname arguments.
11705
dd5a5ee0
SM
117062011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11707
ef80fc09
SM
11708 * minibuffer.el (completion--message): New function.
11709 (completion--do-completion, minibuffer-complete)
11710 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11711 (completion--do-completion): Don't ignore completion-auto-help when in
11712 icomplete-mode.
11713
dd5a5ee0
SM
11714 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11715 internal encoding (e.g. tibetan zero is not whitespace).
11716 (global-whitespace-mode): Prefer save-current-buffer.
11717 (whitespace-trailing-regexp): Remove useless save-match-data.
11718 (whitespace-empty-at-bob-regexp): Minor simplification.
11719
b7d22a83
CY
117202011-05-03 Chong Yidong <cyd@stupidchicken.com>
11721
11722 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11723
5192af46
AM
117242011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11725
11726 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11727 Use `concat' to create string for insertion.
5192af46 11728
5767d190
SM
117292011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11732 Avoid open-line which runs post-self-insert-hook.
11733 (bibtex-fill-entry): Remove unused `end' var.
11734
bf242939
AM
117352011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11736
5767d190
SM
11737 * textmodes/ispell.el (ispell-add-per-file-word-list):
11738 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11739
25666126
LL
117402011-05-03 Leo Liu <sdl.web@gmail.com>
11741
11742 * isearch.el (isearch-yank-pop): New command.
5767d190 11743 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11744 (isearch-forward): Mention it.
11745
52d3c2d0
SM
117462011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11747
1bcace58
SM
11748 * simple.el (minibuffer-complete-shell-command): Remove.
11749 (minibuffer-local-shell-command-map): Use completion-at-point.
11750 (read-shell-command): Setup completion vars here instead.
11751 (read-expression-map): Bind TAB to symbol completion.
11752
52d3c2d0
SM
11753 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11754 error directly rather via storing it into `results'.
11755
35813471
LL
117562011-05-02 Leo Liu <sdl.web@gmail.com>
11757
11758 * vc/diff.el: Fix description.
11759
e793a940
LMI
117602011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11761
11762 * server.el (server-eval-at): New function.
11763
8de66e05
LMI
117642011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11765
11766 * net/network-stream.el (open-network-stream): Take a :nowait
11767 parameter and pass it on to `make-network-process'.
11768 (network-stream-open-plain): Ditto.
11769
dcb79f20
AS
117702011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11771
11772 * faces.el (face-spec-set-match-display): Don't match toolkit
11773 options on terminal frames.
11774
14a7fbd8
SM
117752011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11776
7eabc1be
SM
11777 * progmodes/pascal.el: Use lexical binding.
11778 (pascal-mode-map): Remove author preferences.
11779
14a7fbd8
SM
11780 * pcomplete.el (pcomplete-std-complete): Don't abuse
11781 completion-at-point.
11782
50f84510
JB
117832011-04-28 Juanma Barranquero <lekktu@gmail.com>
11784
6e087a44
JB
11785 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11786 removing code that has been dead since 1991 or so.
11787
50f84510
JB
11788 * startup.el (command-line): When warning about "_emacs", use a
11789 delayed warning to allow the user to filter it out.
11790
0ba690bd
DD
117912011-04-28 Deniz Dogan <deniz@dogan.se>
11792
11793 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11794 user has not joined.
11795
08abfaad
SM
117962011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11797
11798 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11799 aren't any completions at point.
11800
638f053a
JB
118012011-04-28 Juanma Barranquero <lekktu@gmail.com>
11802
11803 * subr.el (display-delayed-warnings): New function.
11804 (delayed-warnings-hook): New variable.
11805
8fff8daa
SM
118062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11807
08abfaad
SM
11808 * minibuffer.el (completion-at-point, completion-help-at-point):
11809 Don't presume that a given completion-at-point-function will always
11810 use the same calling convention.
11811
8fff8daa
SM
11812 * pcomplete.el (pcomplete-completions-at-point):
11813 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11814 pcomplete-seen is non-nil.
11815 (pcomplete-comint-setup): Also recognize the new comint/shell
11816 completion functions.
11817 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11818 pcomplete-seen is non-nil.
11819
841a1577 118202011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11821
841a1577 11822 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11823 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11824 the first character in the entry. This allows for code to add its
211ec907
UJ
11825 own uid to the entry.
11826 (icalendar--convert-float-to-ical): Add export of
11827 `diary-float'-entries save for those with the optional DAY
11828 argument.
11829
2a782793
DC
118302011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11831
11832 * subr.el (shell-quote-argument): Use alternate escaping strategy
11833 when we spot a variable reference in a string.
11834
0438ce91
DC
118352011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11836
11837 * cus-start.el (all): Define customization for debug-on-event.
11838
841a1577 118392011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11840
11841 * subr.el (shell-quote-argument): Escape correctly under Windows.
11842
d090ed6c
SM
118432011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11844
11845 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11846
bfd31217
MA
118472011-04-25 Michael Albinus <michael.albinus@gmx.de>
11848
d090ed6c
SM
11849 * net/tramp.el (tramp-process-actions): Add POS argument.
11850 Delete region between POS and (pos).
bfd31217 11851
d090ed6c
SM
11852 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11853 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11854 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11855
11856 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11857 position in `tramp-process-actions' call.
11858
11859 * net/trampver.el: Update release number.
11860
e92f3bd3
SM
118612011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11862
850256b5
SM
11863 * custom.el (defcustom): Obey lexical-binding.
11864
e92f3bd3
SM
11865 Fix octave-inf completion problems reported by Alexander Klimov.
11866 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11867 Inherit from octave-mode-syntax-table.
11868 (inferior-octave-mode): Set info-lookup-mode.
11869 (inferior-octave-completion-at-point): New function.
11870 (inferior-octave-complete): Use it and completion-in-region.
11871 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11872 comint-filename-completion.
11873 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11874 symbol elements which shouldn't be word elements.
11875 (octave-font-lock-keywords, octave-beginning-of-defun)
11876 (octave-function-header-regexp): Adjust regexps accordingly.
11877 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11878
cd22b309
JB
118792011-04-25 Juanma Barranquero <lekktu@gmail.com>
11880
11881 * net/gnutls.el (gnutls-errorp): Declare before first use.
11882
8b492194
TZ
118832011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11884
11885 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11886 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11887 default trustfile exists before going to use it. Add missing
5a5fa834 11888 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11889 Reported by Claudio Bley <claudio.bley@gmail.com>.
11890 (open-gnutls-stream): Add usage example.
11891
11892 * net/network-stream.el (network-stream-open-starttls): Give host
11893 parameter to `gnutls-negotiate'.
11894 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11895 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11896
841a1577 118972011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11898
cd22b309
JB
11899 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11900 Use correct match group (bug#8438).
05842630 11901
3ba7869c
CY
119022011-04-24 Chong Yidong <cyd@stupidchicken.com>
11903
512e3ae1
CY
11904 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11905 (package-menu--generate): New arg specifying packages to show.
11906 (package-menu-refresh, package-menu-execute, list-packages):
11907 Callers changed.
11908 (package-show-package-list): New function, replacing deleted
11909 package--list-packages (renamed because it is non-internal).
11910
11911 * finder.el (finder-list-matches): Use package-show-package-list
11912 instead of deleted package--list-packages.
11913
e92f3bd3
SM
11914 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11915 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11916 (vc-annotate-mode-map): Bind it to RET.
11917
7031be6d
UR
119182011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11919
11920 * progmodes/etags.el (next-file): Don't use set-buffer to change
11921 buffers (Bug#8478).
11922
4ef177aa
CY
119232011-04-24 Chong Yidong <cyd@stupidchicken.com>
11924
c8d173eb
CY
11925 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11926
4ef177aa
CY
11927 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11928 (apropos-accumulator): Doc fix.
11929 (apropos-function, apropos-macro, apropos-command)
11930 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11931 (apropos-plist): Add face property.
11932 (apropos-symbols-internal): Fix indentation.
11933 (apropos-print): Simplify help, and recognize apropos-multi-type.
11934 (apropos-print-doc): Use button-type-get to extract the button's
11935 face property. Fill docstring (Bug#8352).
11936
4ffd0d6b 119372011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11938
11939 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11940
c6c32125 11941 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11942 (mpuz-mode-map): Use mapc.
c6c32125
JB
11943 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11944 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11945 Fix typos in docstrings.
11946
58d468b4
JB
11947 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11948 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11949
6470c3c6
JB
11950 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11951
4ffd0d6b 119522011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11953
11954 * minibuffer.el (completion--do-completion): Avoid the "Next char
11955 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11956
3ad8bad0
CY
11957 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11958 mouse-2 into unread-command-events, it is interpreted correctly.
11959
71d73c9c 11960 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11961 (image-toggle-display): Doc fix.
71d73c9c 11962
841a1577 119632011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11964
4ffd0d6b
GM
11965 * textmodes/page.el (what-page): Use line-number-at-pos to
11966 calculate line number (Bug#6825).
6e1dbaa9 11967
c2fb1b60
JB
119682011-04-22 Juanma Barranquero <lekktu@gmail.com>
11969
11970 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11971 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11972 Pass argument NO-DEFAULT to `find-tag-interactive'.
11973
e02f48d7
JB
119742011-04-22 Juanma Barranquero <lekktu@gmail.com>
11975
11976 Lexical-binding cleanup.
11977
11978 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11979 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11980 * progmodes/ada-prj.el (ada-prj-initialize-values)
11981 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11982 (ada-prj-show-value):
11983 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11984 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11985 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11986 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11987 * progmodes/bug-reference.el (bug-reference-push-button):
11988 * progmodes/fortran.el (fortran-line-length):
11989 * progmodes/glasses.el (glasses-change):
11990 * progmodes/octave-mod.el (octave-fill-paragraph):
11991 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11992 (python-pdbtrack-grub-for-buffer, python-sentinel):
11993 * progmodes/sql.el (sql-save-connection):
11994 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11995 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11996 Mark unused parameters.
11997
11998 * progmodes/compile.el (compilation--flush-directory-cache)
11999 (compilation--flush-parse, compile-internal): Mark unused parameters.
12000 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12001 (compilation-next-error-function): Remove unused variable `timestamp'.
12002
12003 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12004 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12005
12006 * progmodes/dcl-mode.el (dcl-end-of-command):
12007 Remove unused variable `start'.
12008 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12009 (dcl-option-value-basic, dcl-option-value-offset)
12010 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12011 Mark unused parameters.
12012 (dcl-save-local-variable): Remove unused variable `val'.
12013 (mode): Declare.
12014
12015 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12016 Mark unused parameters.
12017 (delphi-ignore-changes): Move before first use.
12018 (delphi-charset-token-at): Remove unused variable `start'.
12019 (delphi-else-start): Remove unused variable `if-count'.
12020 (delphi-comment-block-start, delphi-comment-block-end):
12021 Remove unused variable `kind'.
12022 (delphi-indent-line): Remove unused variable `new-point'.
12023
12024 * progmodes/ebrowse.el (ebrowse-files-list)
12025 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12026 Mark unused parameters. Don't quote `lambda'.
12027 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12028 Don't quote `lambda'.
12029 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12030 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12031 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12032 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12033 Use `ignore-errors'.
12034 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12035 (ebrowse-view/find-file-and-search-pattern)
12036 (ebrowse-view/find-member-declaration/definition):
12037 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12038 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12039 Rename parameter PREFIX-ARG to PREFIX.
12040 (ebrowse-tags-read-name): Remove unused variables `start' and
12041 `member-info'.
12042 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12043 to `tags-file'.
12044
12045 * progmodes/etags.el (local-find-tag-hook): Declare.
12046 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12047 Mark unused parameters.
12048
12049 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12050 (executable-interpret): Mark unused parameter.
12051
12052 * progmodes/flymake.el (flymake-process-sentinel)
12053 (flymake-after-change-function)
12054 (flymake-create-temp-with-folder-structure)
12055 (flymake-get-include-dirs-dot): Mark unused parameters.
12056 (flymake-safe-delete-directory): Remove unused variable `err'.
12057
12058 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12059 (speedbar-timer-fn, speedbar-line-text)
12060 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12061 (speedbar-center-buffer-smartly): Declare functions.
12062 (gdb-find-watch-expression): Remove unused variable `array'.
12063 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12064 (gdb-starting): Mark unused parameters.
12065 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12066 (gdb-table-string): Remove unused variable `res'.
12067 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12068 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12069 (gdb-display-buffer): Remove unused variable `cur-size'.
12070
12071 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12072 allow lexical-binding compilation.
12073 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12074 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12075 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12076 Mark unused parameters.
12077 (gud-gdb-marker-filter): Remove unused variable `match'.
12078 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12079 lambda expressions and funcall them, instead of using `fset'.
12080
12081 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12082 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12083
12084 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12085 variable `header-beg'; use `let'.
12086
12087 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12088 `restart', `last-sexp' and `at-do'.
12089
12090 * progmodes/js.el (js--debug): Mark unused parameter.
12091 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12092 (js--splice-into-items): Remove unused variable `item'.
12093 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12094
12095 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12096 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12097 (makefile-complete): Remove unused variable `try'.
12098 (makefile-fill-paragraph, makefile-match-function-end):
12099 Mark unused parameters.
12100
12101 * progmodes/octave-inf.el (inferior-octave-complete):
12102 Remove unused variable `proc'.
12103 (inferior-octave-output-digest): Mark unused parameter.
12104
12105 * progmodes/perl-mode.el (perl-calculate-indent):
12106 Remove unused variable `err'.
12107
12108 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12109 (prolog-indent-line): Mark unused parameters.
12110 (prolog-indent-line): Remove unused variable `beg'.
12111
12112 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12113 (reporter-dont-compact-list): Declare.
12114
12115 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12116 Remove unused variable `char'.
12117 (sh-debug): Mark unused parameter.
12118 (sh-get-indent-info): Remove unused variable `start'.
12119 (sh-calculate-indent): Remove unused variable `var'.
12120
12121 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12122 (simula-electric-keyword): Remove unused variable `null'.
12123 (simula-search-backward, simula-search-forward): Remove unused
12124 variables `begin' and `end'.
12125
12126 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12127 Remove unused variable `pos'.
12128 (vera-electric-tab, vera-comment-uncomment-region):
12129 Mark unused parameters.
12130 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12131
7ede3b65
CY
121322011-04-22 Chong Yidong <cyd@stupidchicken.com>
12133
12134 * emacs-lisp/package.el (package--builtins, package-alist)
12135 (package-load-descriptor, package-built-in-p, package-activate)
12136 (define-package, package-installed-p)
12137 (package-compute-transaction, package-buffer-info)
12138 (package--push): Doc fix. Distinguish more clearly between
12139 version strings and version lists.
12140
121656e9
JB
121412011-04-21 Juanma Barranquero <lekktu@gmail.com>
12142
12143 Lexical-binding cleanup.
12144
12145 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12146 (5x5-make-mutate-best):
12147 * play/fortune.el (fortune-in-buffer):
12148 * play/gomoku.el (gomoku-init-display):
12149 * play/solitaire.el (solitaire, solitaire-do-check):
12150 * play/tetris.el (tetris-default-update-speed-function):
12151 Mark unused parameters.
12152
12153 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12154 (bubbles--shift): Remove unused variable `char-org'.
12155 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12156 (bubbles--show-images): Remove unused variable `char'.
12157
12158 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12159 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12160 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12161 (decipher-analyze-buffer): Use ?\s.
12162 (decipher-make-checkpoint): Remove unused variable `mapping'.
12163
12164 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12165
12166 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12167 Remove unused variable `result'; use `let'.
12168
12169 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12170 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12171 (gametree-children-shown-p, gametree-compute-reduced-score):
12172 Use `ignore-errors'.
12173
12174 * play/handwrite.el (ps-lpr-switches): Declare.
12175 (handwrite): Remove unused variables `pmin' and `lastp'.
12176
12177 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12178
12179 * play/landmark.el (landmark-init-display)
12180 (landmark-update-naught-weights): Mark unused parameters.
12181 (landmark-y): Remove unused variable `noise'. Simplify.
12182 (landmark-human-plays): Remove unused variable `score'.
12183
12184 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12185 (mpuz-try-proposal): Remove unused variable `game'.
12186
12187 * play/zone.el (life-patterns): Declare.
12188
80f499c7
JB
121892011-04-20 Juanma Barranquero <lekktu@gmail.com>
12190
12191 * vc/vc.el (ediff-vc-internal): Declare function.
12192
024ff170
SM
121932011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12194
c0a193ea
SM
12195 * shell.el: Use lexical-binding and std completion UI.
12196 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12197 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12198 comint-preoutput-filter-functions rather than on
12199 comint-output-filter-functions.
12200 (shell-command-completion, shell--command-completion-data)
12201 (shell-filename-completion, shell-environment-variable-completion)
12202 (shell-c-a-p-replace-by-expanded-directory): New functions.
12203 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12204 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12205 (shell-dynamic-complete-environment-variable): Use them.
12206 (shell-dynamic-complete-as-environment-variable)
12207 (shell-dynamic-complete-as-command): Remove.
12208 (shell-match-partial-variable): Match past point.
12209 * comint.el: Clean up use of completion-at-point-functions.
12210 (comint-completion-at-point): New function.
12211 (comint-mode): Use it completion-at-point-functions.
12212 (comint-dynamic-complete): Make it obsolete.
12213 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12214 (comint-c-a-p-replace-by-expanded-history): New function.
12215 (comint-dynamic-complete-functions)
12216 (comint-replace-by-expanded-history): Use it.
12217 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12218 termination strings. Try harder to avoid second try-completion.
12219 (completion-in-region-mode-map): Disable bindings that don't work yet.
12220
2dbaa080
SM
12221 * comint.el: Use lexical-binding. Require CL.
12222 (comint-dynamic-complete-functions): Use comint-filename-completion.
12223 (comint-completion-addsuffix): Tweak custom type.
12224 (comint-filename-completion, comint--common-suffix)
12225 (comint--common-quoted-suffix, comint--table-subvert)
12226 (comint--complete-file-name-data): New functions.
12227 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12228 (comint-dynamic-list-filename-completions): Use them.
12229 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12230
2dbaa080
SM
12231 * minibuffer.el (completion-in-region-mode):
12232 Keep completion-in-region-mode--predicate global.
12233 (completion-in-region--postch):
12234 Assume completion-in-region-mode--predicate is not null.
12235
c79a6f38
SM
12236 * progmodes/flymake.el (flymake-start-syntax-check-process):
12237 Obey `dir'. Simplify.
12238
024ff170
SM
12239 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12240 we're in VC after all.
12241
1c6c854e
CS
122422011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12243
12244 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12245 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12246 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12247
bed7f140
SM
122482011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12249
332e62ab
SM
12250 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12251 add sanity check.
12252
bed7f140
SM
12253 * obsolete/erc-hecomplete.el: Make obsolete.
12254 * obsolete/: Standardize obsolescence info in the header.
12255
f195c582
GM
122562011-04-20 Glenn Morris <rgm@gnu.org>
12257
12258 * calendar/solar.el (solar-horizontal-coordinates):
12259 Use the longitude argument rather than `calendar-longitude'.
12260 (solar-date-next-longitude): Remove unused locals.
12261
cb79b8c0
VJL
122622011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12263
12264 * whitespace.el: New version 13.2.1.
12265
122662011-04-20 felix <EmacsWiki> (tiny change)
12267
d8e4b68b 12268 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12269 switching between major modes on a file.
12270
602ea69d
SM
122712011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12272
12273 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12274 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12275 multi-line comments as well.
12276
06b60517
JB
122772011-04-19 Juanma Barranquero <lekktu@gmail.com>
12278
12279 Lexical-binding cleanup.
12280
12281 * arc-mode.el (archive-mode-revert):
12282 * cmuscheme.el (scheme-interactively-start-process):
12283 * custom.el (custom-initialize-delay):
12284 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12285 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12286 * emacs-lock.el (emacs-lock-clear-sentinel):
12287 * ezimage.el (defezimage):
12288 * follow.el (follow-avoid-tail-recenter):
12289 * fringe.el (set-fringe-mode-1):
12290 * generic-x.el (bat-generic-mode-compile):
12291 * help-mode.el (help-info-variable, help-do-xref)
12292 (help-mode-revert-buffer):
12293 * help.el (view-emacs-todo):
12294 * iswitchb.el (iswitchb-completion-help):
12295 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12296 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12297 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12298 * locate.el (locate-update):
12299 * longlines.el (longlines-encode-region)
12300 (longlines-after-change-function):
12301 * outline.el (outline-isearch-open-invisible):
12302 * ps-def.el (declare-function, charset-dimension, char-width)
12303 (encode-char):
12304 * ps-mule.el (ps-mule-plot-string):
12305 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12306 (recentf-edit-list-select, recentf-edit-list-validate)
12307 (recentf-open-files-action):
12308 * rect.el (delete-whitespace-rectangle-line)
12309 (rectangle-number-line-callback):
12310 * register.el (window-configuration-to-register)
12311 (frame-configuration-to-register):
12312 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12313 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12314 (xselect-convert-to-targets, xselect-convert-to-delete)
12315 (xselect-convert-to-filename, xselect-convert-to-charpos)
12316 (xselect-convert-to-lineno, xselect-convert-to-colno)
12317 (xselect-convert-to-os, xselect-convert-to-host)
12318 (xselect-convert-to-user, xselect-convert-to-class)
12319 (xselect-convert-to-name, xselect-convert-to-integer)
12320 (xselect-convert-to-atom, xselect-convert-to-identity):
12321 * subr.el (declare, ignore, process-kill-without-query)
12322 (text-clone-maintain):
12323 * terminal.el (te-get-char, te-tic-sentinel):
12324 * tool-bar.el (tool-bar-make-keymap):
12325 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12326 * type-break.el (type-break-mode, type-break-noninteractive-query):
12327 * view.el (View-back-to-mark):
12328 * wid-browse.el (widget-browse-action, widget-browse-widget)
12329 (widget-browse-widgets, widget-browse-sexp):
12330 * widget.el (define-widget-keywords):
12331 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12332 Mark unused parameters.
12333
12334 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12335 (align-areas): Remove unused variable `look'.
12336 (align-region): Remove unused variables `real-end' and `pos-list'.
12337
12338 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12339
12340 * bindings.el (mode-line-modified, mode-line-remote):
12341 Mark unused parameters.
12342 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12343
12344 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12345 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12346
12347 * comint.el (comint-history-isearch-pop-state)
12348 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12349 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12350 (comint-substitute-in-file-name): Doc fix.
12351
12352 * completion.el (cmpl-statistics-block): Mark unused parameter.
12353 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12354 (save-completions-to-file, load-completions-from-file):
12355 Remove unused local variable `e'.
12356
12357 * composite.el (compose-chars): Remove unused variable `len'.
12358 (lgstring-insert-glyph): Remove unused variable `g'.
12359 (compose-glyph-string): Remove unused variables `ascent',
12360 `descent', `lbearing' and `rbearing'.
12361 (compose-glyph-string-relative): Remove unused variables
12362 `lbearing', `rbearing' and `wadjust'.
12363 (compose-gstring-for-graphic): Remove unused variables `header',
12364 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12365 (compose-gstring-for-terminal): Remove unused variables `header'
12366 and `nchars'. Use `let', not `let*'.
12367
12368 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12369 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12370 (Custom-buffer-done, custom-buffer-create-internal)
12371 (custom-browse-visibility-action, custom-browse-group-tag-action)
12372 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12373 (widget-magic-mouse-down-action, custom-toggle-parent)
12374 (custom-add-parent-links, custom-toggle-hide-variable)
12375 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12376 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12377 (custom-face-menu-create, custom-variable-menu-create, get)
12378 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12379 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12380 (customize-apropos): Remove unused variable `tests'.
12381 (custom-group-value-create): Remove unused variable `hidden-p'.
12382 (sort-fold-case): Declare.
12383
12384 * cus-theme.el (custom-reset-standard-faces-list)
12385 (custom-reset-standard-variables-list): Declare.
12386 (customize-create-theme, custom-theme-revert, custom-theme-write)
12387 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12388 Mark unused parameters.
12389
12390 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12391
12392 * delim-col.el (delimit-columns-max): Move defvar before first use.
12393
12394 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12395 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12396
12397 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12398 (auto-insert): Declare.
12399 (desktop-restore-file-buffer): Rename desktop-* parameters;
12400 mark unused ones.
12401 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12402 (desktop-buffer): Rename desktop-* parameters.
12403
12404 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12405 (dframe-reposition-frame-xemacs, dframe-help-echo)
12406 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12407 Mark unused parameters.
12408
12409 * dired-aux.el (backup-extract-version-start, overwrite-query)
12410 (overwrite-backup-query, rename-regexp-query)
12411 (rename-non-directory-query): Declare.
12412 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12413 (dired-add-entry): Remove unused variable `orig-file-name'.
12414 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12415 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12416 `dired-copy-preserve-time' directly.
12417 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12418 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12419
12420 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12421 (dired-virtual-revert, dired-make-relative-symlink):
12422 Mark unused parameters.
12423 (manual-program): Declare.
12424 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12425 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12426 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12427
12428 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12429
12430 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12431
12432 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12433 Declare.
12434
12435 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12436
12437 * electric.el (Electric-command-loop): Rename parameter
12438 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12439
12440 * expand.el (expand-in-literal): Remove unused variable `here'.
12441
12442 * facemenu.el (facemenu-add-new-color):
12443 Remove unused variable `docstring'.
12444
12445 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12446 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12447 (face-attr-construct): Mark unused parameter. Doc fix.
12448 (read-color): Remove unused variable `hex-string'.
12449
12450 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12451 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12452 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12453 (display-buffer-other-frame): Remove unused variable `old-window'.
12454 (kill-buffer-hook): Declare.
12455 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12456 Mark unused parameters.
12457 (after-find-file): Pass 1 to `auto-save-mode', not t.
12458
12459 * files-x.el (auto-insert): Declare.
12460 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12461
12462 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12463 variable `buf'. Mark unused parameter.
06b60517
JB
12464 (find-lisp-insert-directory): Mark unused parameter.
12465
12466 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12467 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12468 (format-common-tail): Remove, unused.
12469 (format-deannotate-region): Remove unused variable `loc'.
12470 (format-annotate-region): Remove unused variable `p'.
12471 (format-annotate-single-property-change): Remove unused variables
12472 `default' and `tail'.
12473
12474 * forms.el (read-file-filter): Declare.
12475 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12476
12477 * frame.el (frame-creation-function-alist): Mark unused parameter.
12478 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12479
12480 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12481 Remove unused parameters.
12482 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12483 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12484
12485 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12486 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12487 (hfy-prepare-tag-map): Mark unused parameters.
12488 (htmlfontify-buffer): Use `called-interactively-p'.
12489
12490 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12491 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12492 (ibuffer-do-occur): Mark unused parameters.
12493 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12494 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12495
12496 * ibuffer.el: Don't quote `lambda'.
12497 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12498 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12499 Mark unused parameters.
12500
12501 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12502 (ido-completing-read): Mark unused parameters.
12503 (ido-copy-current-word): Mark unused parameters;
12504 remove unused variable `name'.
12505 (ido-sort-merged-list): Remove unused parameter `dirs'.
12506
12507 * ielm.el (ielm-input-sender): Mark unused parameter.
12508 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12509 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12510 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12511 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12512 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12513
12514 * image-dired.el (image-dired-display-thumbs): Remove unused
12515 variables `curr-file' and `count'.
12516 (image-dired-remove-tag): Remove unused variable `start'.
12517 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12518 variable `curr-file'
12519 (image-dired-rotate-original): Remove unused variable `temp-file'.
12520 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12521 Remove unused variable `file'.
12522 (image-dired-gallery-generate): Remove unused variable `curr'.
12523 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12524
12525 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12526
12527 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12528
12529 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12530
12531 * isearch.el (minibuffer-history-symbol): Declare.
12532 (isearch-edit-string): Remove unused variable `err'.
12533 (isearch-message-prefix, isearch-message-suffix):
12534 Mark unused parameters.
12535
12536 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12537
12538 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12539
12540 * makesum.el (double-column): Remove unused variable `cnt'.
12541
12542 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12543 (ido-ignore-item-temp-list): Declare.
12544
12545 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12546 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12547 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12548 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12549 `mouse-col-delta'.
12550
12551 * mouse-sel.el (mouse-extend-internal):
12552 Remove unused variable `orig-window-frame'.
12553
12554 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12555 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12556 Move declarations before first use.
12557 (pcomplete-opt): Mark unused parameters; doc fix.
12558
12559 * proced.el (proced-revert): Mark unused parameter.
12560 (proced-send-signal): Remove unused variable `err'.
12561
12562 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12563 Rename parameter PREFIX-ARG to ARG.
12564 (ps-basic-plot-string, ps-basic-plot-whitespace):
12565 Mark unused parameters.
12566
12567 * replace.el (replace-count): Define.
12568 (occur-revert-function): Mark unused parameters.
12569 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12570 (isearch-case-fold-search, isearch-string): Declare.
12571 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12572 bind `case-fold-search'. Remove unused variables `beg' and `end',
12573 and simplify.
12574 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12575 COUNT and bind `replace-count'.
12576 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12577 to COUNT.
12578
12579 * savehist.el (print-readably, print-string-length): Declare.
12580
12581 * shadowfile.el (shadow-expand-cluster-in-file-name):
12582 Remove unused variable `cluster'.
12583 (shadow-copy-file): Remove unused variable `i'.
12584 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12585 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12586 (shadow-define-literal-group, shadow-define-regexp-group)
12587 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12588
12589 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12590 (shell): Use `called-interactively-p'.
12591 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12592
12593 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12594 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12595 (delete-backward-char): Remove unused variable `ocol'.
12596 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12597 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12598 (event-apply-hyper-modifier, event-apply-shift-modifier)
12599 (event-apply-control-modifier, event-apply-meta-modifier):
12600 Mark unused parameters.
12601 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12602 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12603
12604 * speedbar.el (speedbar-ignored-directory-expressions)
12605 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12606 (speedbar-find-file, speedbar-dir-follow)
12607 (speedbar-directory-buttons-follow, speedbar-tag-find)
12608 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12609 (speedbar-buffers-line-directory, speedbar-buffer-click):
12610 Mark unused parameters.
12611 (speedbar-tag-file): Remove unused variable `mode'.
12612 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12613
12614 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12615
12616 * talk.el (talk): Remove unused variable `display'.
12617
12618 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12619 (tar-write-region-annotate): Mark unused parameter.
12620
12621 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12622 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12623 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12624 warning by another.
12625
12626 * time-stamp.el (time-stamp-string-preprocess):
12627 Remove unused variable `require-padding'.
12628
12629 * tree-widget.el (widget-glyph-enable): Declare.
12630 (tree-widget-action): Mark unused parameter.
12631
12632 * w32-fns.el (x-get-selection): Mark unused parameter.
12633 (autoload-make-program, generated-autoload-file): Declare.
12634
12635 * wdired.el (wdired-revert): Mark unused parameters.
12636 (wdired-xcase-word): Remove unused variable `err'.
12637
12638 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12639 (whitespace-help-scroll): Remove unused variable `data-help'.
12640
12641 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12642 (widget-image-insert, widget-after-change, default)
12643 (widget-default-format-handler, widget-default-notify)
12644 (widget-default-prompt-value, widget-info-link-action)
12645 (widget-url-link-action, widget-function-link-action)
12646 (widget-variable-link-action, widget-file-link-action)
12647 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12648 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12649 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12650 (widget-insert-button-action, widget-delete-button-action, visibility)
12651 (widget-documentation-link-action, widget-documentation-string-action)
12652 (widget-const-prompt-value, widget-regexp-match, symbol)
12653 (widget-coding-system-prompt-value)
12654 (widget-key-sequence-value-to-external, sexp)
12655 (widget-sexp-value-to-internal, character, vector, cons)
12656 (widget-choice-prompt-value, widget-boolean-prompt-value)
12657 (widget-color--choose-action): Mark unused parameters.
12658 (widget-item-match-inline, widget-choice-match-inline)
12659 (widget-checklist-match, widget-checklist-match-inline)
12660 (widget-group-match): Rename parameter VALUES to VALS.
12661 (widget-field-value-set): Remove unused variable `size'.
12662 (widget-color-action): Remove unused variables `value' and `start'.
12663
12664 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12665 variable `dir'. Doc fix.
06b60517
JB
12666 (windmove-find-other-window): Don't pass it.
12667
12668 * window.el (count-windows): Mark unused parameter.
12669 (bw-adjust-window): Remove unused variable `err'.
12670
12671 * woman.el (woman-file-name): Remove unused variable `default'.
12672 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12673 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12674 (global-font-lock-mode): Declare.
12675 (woman-decode-region): Mark unused parameter.
12676 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12677
12678 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12679 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12680 (x-dnd-handle-moz-url): Remove unused variable `title'.
12681 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12682
12683 * xml.el (xml-parse-tag, xml-parse-attlist):
12684 Remove unused variable `pos'.
12685
bc4f7f3d
GM
126862011-04-19 Glenn Morris <rgm@gnu.org>
12687
12688 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12689 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12690 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12691 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12692 * calendar/cal-html.el (cal-html-insert-minical):
12693 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12694 (calendar-mark-date-pattern):
12695 Prefix "unused" locals.
12696
12697 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12698 optional argument `style'.
12699
12700 * calendar/appt.el (appt-make-list):
12701 * calendar/cal-china.el (calendar-chinese-date-string):
12702 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12703 (diary-hebrew-yahrzeit):
12704 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12705 * calendar/calendar.el (calendar-generate-window):
12706 * calendar/time-date.el (time-to-days):
12707 Remove unused local variables.
12708
16a43933
CY
127092011-04-18 Chong Yidong <cyd@stupidchicken.com>
12710
12711 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12712 glyphless-char-display table.
12713 (tabulated-list-glyphless-char-display): New var.
12714
7eed1860
SS
127152011-04-18 Sam Steingold <sds@gnu.org>
12716
12717 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12718 to acknowledgments.
12719
4d2d1ccd
GM
127202011-04-17 Glenn Morris <rgm@gnu.org>
12721
12722 * calendar/diary-lib.el (diary-sexp-entry):
12723 * calendar/holidays.el (holiday-sexp):
12724 Set debug-on-error rather than the removed stack-trace-on-error.
12725
239da61d
GM
127262011-04-16 Glenn Morris <rgm@gnu.org>
12727
12728 * progmodes/f90.el: Use lexical-binding.
12729 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12730
8b05752a
SM
127312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12732
daca8ba5
SM
12733 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12734 (mail-mode): Setup mailalias completion here instead.
12735 * mail/mailalias.el: Use lexical-binding.
12736 (pattern, mailalias-done): Declare dynamic.
12737 (mail-completion-at-point-function): New function, from mail-complete.
12738 (mail-complete): Use it.
12739 (mail-completion-expand): New function.
12740 (mail-get-names): Use it.
12741 (mail-directory, mail-directory-process, mail-directory-stream):
12742 Don't use `pattern' for lexically bound arg.
12743
6f542485
SM
12744 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12745
037e7c3f
SM
12746 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12747 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12748 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12749
8b05752a
SM
12750 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12751 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12752 (byte-interactive-p): Define them again, for use when inlining
12753 old code.
12754
49093f60
JB
127552011-04-15 Juanma Barranquero <lekktu@gmail.com>
12756
12757 * loadup.el: Use `string-to-number', not `string-to-int'.
12758
b5b8e7de
SM
127592011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12762 gud-gdb-complete-command.
12763 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12764 (gud-gdb-completion-at-point): New function.
12765 (gud-gdb-completions): Remove.
12766
f42efeb5
MA
127672011-04-14 Michael Albinus <michael.albinus@gmx.de>
12768
49093f60
JB
12769 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12770 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12771 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12772 whether `executable-find' is bound.
f42efeb5
MA
12773
12774 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12775
e240cc21
SM
127762011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12777
12778 * minibuffer.el (completion-in-region-mode-predicate)
12779 (completion-in-region-mode--predicate): New vars.
12780 (completion-in-region, completion-in-region--postch)
12781 (completion-in-region-mode): Use them.
12782 (completion--capf-wrapper): Also return the hook function.
12783 (completion-at-point, completion-help-at-point):
12784 Adjust and provide a predicate.
c2bd2ab0
SM
12785
12786 Preserve arg names for advice of subr and lexical functions (bug#8457).
12787 * help-fns.el (help-function-arglist): Consolidate the subr and
12788 new-byte-code cases. Add argument `preserve-names' to extract names
12789 from the docstring when needed.
12790 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12791 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12792 (ad-arglist): Use help-function-arglist's new arg.
12793 (ad-definition-type): Use cond.
12794
c183f693
JB
127952011-04-13 Juanma Barranquero <lekktu@gmail.com>
12796
06641a47
JB
12797 * autorevert.el (auto-revert-handler):
12798 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12799 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12800 Don't quote lambda.
12801
c183f693
JB
12802 * image-mode.el (image-transform-set-scale):
12803 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12804
1e3b6001
G
128052011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12806
12807 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12808 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12809 Upgrades via gnutls-cli are too slow to be done opportunistically.
12810
2d6af8dd
JB
128112011-04-12 Juanma Barranquero <lekktu@gmail.com>
12812
12813 * dframe.el (dframe-current-frame): Remove spurious quote.
12814
c0749a51
GM
128152011-04-12 Glenn Morris <rgm@gnu.org>
12816
088d0d61
GM
12817 * calendar/cal-tex.el (cal-tex-end-document):
12818 Try to automatically use latin1 input if needed.
12819
c0749a51
GM
12820 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12821 Don't try to cons a mark onto an empty element.
12822
5c90fde0
LL
128232011-04-11 Leo Liu <sdl.web@gmail.com>
12824
12825 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12826 buffers.
12827 (ido-kill-buffer-at-head): Support killing virtual buffers.
12828
369e974d
CY
128292011-04-10 Chong Yidong <cyd@stupidchicken.com>
12830
12831 * minibuffer.el (completion-show-inline-help): New var.
12832 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12833 (minibuffer-force-complete, minibuffer-complete-word):
12834 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12835
12836 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12837 to avoid interference from inline help (Bug#5849).
12838
37f1c930
LL
128392011-04-10 Leo Liu <sdl.web@gmail.com>
12840
099c39a4
JB
12841 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12842 Fix typo.
37f1c930 12843
a32d4040
CY
128442011-04-09 Chong Yidong <cyd@stupidchicken.com>
12845
12846 * image-mode.el (image-toggle-display-image): Signal an error if
12847 not in Image mode.
12848 (image-transform-mode, image-transform-resize)
12849 (image-transform-set-rotation): Doc fix.
daca8ba5 12850 (image-transform-set-resize): Delete.
a32d4040
CY
12851 (image-transform-set-scale, image-transform-fit-to-height)
12852 (image-transform-fit-to-width): Handle image-toggle-display-image
12853 and image-transform-resize directly.
12854
099c39a4 128552011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12856
12857 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12858 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12859 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12860 (doc-view-mode-map): Add bindings for the new functions.
12861
099c39a4 128622011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12863
4d61f28d 12864 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12865 Fix typo in docstring.
12866
3726838a
EZ
128672011-04-08 Eli Zaretskii <eliz@gnu.org>
12868
04f33f1e
EZ
12869 * files.el (file-size-human-readable): Produce one digit after
12870 decimal, like "ls -lh" does.
12871
12872 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12873 the file size representation.
12874
3726838a
EZ
12875 * simple.el (list-processes): If async subprocesses are not
12876 available, error out with a clear error message.
12877
cbb59342
CY
128782011-04-08 Chong Yidong <cyd@stupidchicken.com>
12879
12880 * help.el (help-form-show): New function, to be called from C.
12881 Put help-form output in a buffer named differently than *Help*.
12882
e3971c44
EZ
128832011-04-08 Eli Zaretskii <eliz@gnu.org>
12884
12885 * files.el (file-size-human-readable): New function.
12886
12887 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12888 computing the representation inline. Don't require `cl'.
12889
12544bbe
GM
128902011-04-08 Glenn Morris <rgm@gnu.org>
12891
a1de6c6a
GM
12892 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12893
3c4671f4
GM
12894 * net/browse-url.el (browse-url-firefox):
12895 Test system-type, not system-configuration.
12896
b605679c
GM
12897 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12898 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12899 Use log-edit-empty-buffer-p. (Bug#7598)
12900
56442f0c
GM
12901 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12902 (rlogin-mode-map): Initialize in the defvar.
12903 (rlogin): Use ignore-errors.
12904
12544bbe
GM
12905 * replace.el (occur-mode-map): Some fixes for menu items.
12906
eb237b0f
AH
129072011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12908
12909 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12910
7d668f2c
CY
129112011-04-06 Chong Yidong <cyd@stupidchicken.com>
12912
e67a13ab
CY
12913 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12914 issuing unused warnings.
12915
12916 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12917 macro directly.
12918
7d668f2c
CY
12919 * simple.el: Lisp reimplement of list-processes. Based on an
12920 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12921 (process-menu-mode): New major mode.
12922 (list-processes--refresh, list-processes):
12923 (process-menu-visit-buffer): New functions.
12924
12925 * files.el (save-buffers-kill-emacs): Don't assume any return
12926 value of list-processes, which is undocumented anyway.
12927
a83ec3c9
CY
129282011-04-06 Chong Yidong <cyd@stupidchicken.com>
12929
12930 * emacs-lisp/tabulated-list.el: New file.
12931
e91a96fe
CY
12932 * emacs-lisp/package.el: Use Tabulated List mode.
12933 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12934 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12935 table format using Tabulated List mode variables.
12936 (package--push): New macro, replacing package-list-maybe-add.
12937 (package-menu--generate): Use package--push. Renamed from
12938 package--generate-package-list.
12939 (package-menu-refresh, list-packages): Use it.
daca8ba5 12940 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12941 Return insertion data instead of inserting it directly.
099c39a4
JB
12942 (package-menu-describe-package, package-menu-execute):
12943 Use tabulated-list-get-id.
e91a96fe
CY
12944 (package-menu-mark-delete, package-menu-mark-install)
12945 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12946 (package-menu-mark-obsolete-for-deletion):
12947 Use tabulated-list-put-tag.
e91a96fe
CY
12948 (package--list-packages, package-menu-revert)
12949 (package-menu-get-package, package-menu-get-version)
12950 (package-menu-sort-by-column): Functions deleted.
12951 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12952 (package-menu--status-predicate, package-menu--version-predicate)
12953 (package-menu--name-predicate)
12954 (package-menu--description-predicate): Handle arguments in the
12955 Tabulated List format.
12956 (package-list-packages-no-fetch): Call list-packages.
12957
3e214b50
JB
129582011-04-06 Juanma Barranquero <lekktu@gmail.com>
12959
12960 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12961 (after-find-file): Don't bind it.
3e214b50
JB
12962 (revert-buffer-in-progress-p): New variable.
12963 (revert-buffer): Bind it.
12964 Pass nil for `after-find-file-from-revert-buffer'.
12965
12966 * saveplace.el (save-place-find-file-hook): Use new variable
12967 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12968
3f0f1700
GM
129692011-04-06 Glenn Morris <rgm@gnu.org>
12970
c0274801
GM
12971 * Makefile.in (AUTOGEN_VCS): New variable.
12972 (autoloads): Use $AUTOGEN_VCS.
12973
3f0f1700
GM
12974 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12975 * calendar/calendar.el (calendar-mode-map):
12976 Check for toolkit scroll bars. (Bug#8305)
12977
41ea9e48
CY
129782011-04-05 Chong Yidong <cyd@stupidchicken.com>
12979
12980 * minibuffer.el (completion-in-region--postch)
12981 (completion-in-region-mode): Remove unnecessary messages.
12982
6194c800
JB
129832011-04-05 Juanma Barranquero <lekktu@gmail.com>
12984
33256f14
JB
12985 * font-lock.el (font-lock-refresh-defaults):
12986 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12987 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12988
6194c800
JB
12989 * info.el (Info-directory-list, Info-read-node-name-2)
12990 (Info-split-parameter-string): Doc fixes.
12991 (Info-virtual-nodes): Reflow docstring.
12992 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12993 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12994 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12995 Fix typos in docstrings.
12996 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12997 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12998 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12999 (Info-restore-desktop-buffer): Mark unused parameters.
13000 (Info-directory-find-file, Info-directory-find-node)
13001 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13002 (Info-virtual-index-find-node, Info-apropos-find-file)
13003 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13004 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13005 (Info-virtual-index): Remove unused local variable `nodename'.
13006
b87a8200 130072011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13008
b87a8200
DD
13009 * net/rcirc.el: Update my e-mail address.
13010 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13011
3b2ff876
CY
130122011-04-05 Chong Yidong <cyd@stupidchicken.com>
13013
13014 * startup.el (command-line): Save the cursor's theme-face
13015 directly, instead of using face-override-spec.
13016
13017 * custom.el (load-theme): Minor optimization in assigning faces.
13018
8d17e7ca
JB
130192011-04-04 Juanma Barranquero <lekktu@gmail.com>
13020
13021 * help-fns.el (describe-variable): Complete all variables having
13022 documentation, including keywords.
13023 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13024
2fbc1934
JB
130252011-04-04 Juanma Barranquero <lekktu@gmail.com>
13026
13027 Convert to lexical-binding.
13028
13029 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13030 (bs--get-marked-string, bs--get-modified-string)
13031 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13032 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13033 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13034
13035 * ehelp.el (electric-help-execute-extended)
13036 (electric-help-ctrl-x-prefix):
13037 * hexl.el (hexl-revert-buffer-function):
13038 * linum.el (linum-after-change, linum-after-scroll):
13039 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13040
13041 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13042
74f50695
DU
130432011-04-04 Daiki Ueno <ueno@unixuser.org>
13044
13045 * epa-dired.el:
13046 * epa-mail.el:
13047 * epa-hook.el:
13048 * epa-file.el:
13049 * epa.el:
13050 * epg.el: Use lexical binding.
13051
c11325f7
CY
130522011-04-03 Chong Yidong <cyd@stupidchicken.com>
13053
0d9e9a12
CY
13054 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13055
c11325f7 13056 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13057 dictionary case for flyspell-mark-duplications-exceptions.
13058 Use regexp matching for languages.
c11325f7
CY
13059 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13060 default dictionary (Bug#7926).
13061
da91b5f2
CY
130622011-04-02 Chong Yidong <cyd@stupidchicken.com>
13063
099c39a4
JB
13064 * emacs-lisp/package.el (package--with-work-buffer):
13065 Recognize https URLs.
da91b5f2 13066
099c39a4
JB
13067 * net/network-stream.el: Move from gnus/proto-stream.el.
13068 Change prefix to network-stream throughout.
da91b5f2
CY
13069 (open-protocol-stream): Merge into open-network-stream, leaving
13070 open-protocol-stream as an alias. Handle nil BUFFER args.
13071
13072 * subr.el (open-network-stream): Move to net/network-stream.el.
13073
afa8e9f6
GM
130742011-04-02 Glenn Morris <rgm@gnu.org>
13075
1d2e369d
GM
13076 * find-dired.el (find-exec-terminator): New option.
13077 (find-ls-option): Test for -ls support.
13078 (find-ls-subdir-switches): Test for -b in find-ls-option.
13079 (find-dired, find-grep-dired): Doc fixes.
13080 (find-dired): Use find-exec-terminator.
13081
8abb7da8 13082 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13083 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13084 (find-name-arg): Remove purecopy.
8abb7da8 13085
f3ca7378
GM
13086 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13087 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13088 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13089 accordingly. Don't add the null-device if not needed.
13090
afa8e9f6
GM
13091 * files.el (save-some-buffers): Doc fix.
13092
35eae264
EZ
130932011-04-02 Eli Zaretskii <eliz@gnu.org>
13094
13095 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13096
26b51db5
JB
130972011-04-01 Juanma Barranquero <lekktu@gmail.com>
13098
13099 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13100 Use `dolist' rather than `mapcar'.
13101
7200d79c
SM
131022011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13103
03408648 13104 Add lexical binding.
7200d79c 13105
03408648
SM
13106 * subr.el (apply-partially): Use new closures rather than CL.
13107 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13108 (dolist, dotimes): Use slightly different expansion for lexical code.
13109 (functionp): Move to C.
13110 (letrec): New macro.
13111 (with-wrapper-hook): Use it and apply-partially instead of CL.
13112 (eval-after-load): Preserve lexical-binding.
13113 (save-window-excursion, with-output-to-temp-buffer): Turn them
13114 into macros.
7200d79c 13115
03408648
SM
13116 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13117
13118 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13119 than the arglist.
13120 (help-add-fundoc-usage): Don't add `Not documented'.
13121 (help-function-arglist): Handle closures, subroutines, and new
13122 byte-code-functions.
13123 (help-make-usage): Remove leading underscores.
13124 (describe-function-1): Handle closures.
13125 (describe-variable): Use special-variable-p for completion.
13126
13127 * files.el (lexical-binding): Declare safe.
f488fb65 13128
03408648
SM
13129 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13130 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13131 (pcase): Add `let' pattern.
13132 Change memoization so it actually works.
13133 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13134 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13135 <let>: New case.
f488fb65 13136
03408648
SM
13137 * emacs-lisp/macroexp.el: Use lexical binding.
13138 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13139 Don't convert ' to #' without checking that it's indeed quoting
13140 a lambda.
13141
13142 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13143 Use eval-sexp-add-defvars.
03408648
SM
13144 (eval-sexp-add-defvars): New fun.
13145
13146 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13147
13148 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13149 Don't autoload.
13150 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13151 than the internal `byte-compile-lambda'.
13152 (defmethod): Don't hide code under quotes.
13153 (eieio-defmethod): New `code' argument.
13154
13155 * emacs-lisp/eieio-comp.el: Remove.
13156
13157 * emacs-lisp/edebug.el (edebug-eval-defun)
13158 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13159 (edebug-toggle): Avoid `eval'.
13160
13161 * emacs-lisp/disass.el (disassemble-internal): Handle new
13162 `closure' objects.
13163 (disassemble-1): Handle new byte codes.
13164
13165 * emacs-lisp/cl.el (pushnew): Silence warning.
13166
13167 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13168 (cl-byte-compile-throw): Remove.
13169 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13170
13171 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13172 closures.
13173
13174 * emacs-lisp/cconv.el: New file.
13175
13176 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13177 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13178 (byte-compile-initial-macro-environment):
13179 Handle declare-function here.
13180 (byte-compile--lexical-environment): New var.
13181 (byte-stack-ref, byte-stack-set, byte-discardN)
13182 (byte-discardN-preserve-tos): New lap codes.
13183 (byte-interactive-p): Don't use any more.
13184 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13185 New macros.
13186 (byte-compile-lapcode): Use them and handle new lap codes.
13187 (byte-compile-obsolete): Remove.
13188 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13189 (byte-compile-arglist-warn): Check late def of inlinable funs.
13190 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13191 since they should have been expanded by now.
13192 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13193 (byte-compile-from-buffer): Remove unused second arg.
13194 (byte-compile-preprocess): New function.
13195 (byte-compile-toplevel-file-form): New function to distinguish
13196 file-form calls from outside from file-form calls from hunk-handlers.
13197 (byte-compile-file-form): Simplify.
13198 (byte-compile-file-form-defsubst): Remove.
13199 (byte-compile-file-form-defmumble): Simplify now that
13200 byte-compile-lambda always returns a byte-code-function.
13201 (byte-compile): Preprocess.
13202 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13203 Remove, not used any more.
13204 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13205 (byte-compile-make-args-desc): New funs.
13206 (byte-compile-lambda): Handle lexical functions. Always return
13207 a byte-code-function.
13208 (byte-compile-reserved-constants): New var, to make up room for
13209 closed-over variables.
13210 (byte-compile-constants-vector): Obey it.
13211 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13212 (byte-compile-macroexpand-declare-function): New function.
13213 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13214 byte-code-functions.
13215 (byte-compile-form): Check obsolescence here.
13216 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13217 (byte-compile-variable-ref): Remove.
13218 (byte-compile-dynamic-variable-op): New fun.
13219 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13220 (byte-compile-variable-set): New funs.
13221 (byte-compile-discard): Add 2 args.
13222 (byte-compile-stack-ref, byte-compile-stack-set)
13223 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13224 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13225 macroexpand-all instead.
13226 (byte-compile-quote-form): Remove.
13227 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13228 (byte-compile-bind, byte-compile-unbind): New funs.
13229 (byte-compile-let): Handle let* and lexical binding.
13230 (byte-compile-let*): Remove.
13231 (byte-compile-catch, byte-compile-unwind-protect)
13232 (byte-compile-track-mouse, byte-compile-condition-case):
13233 Handle a new :fun-body form, used for lexical scoping.
13234 (byte-compile-save-window-excursion)
13235 (byte-compile-with-output-to-temp-buffer): Remove.
13236 (byte-compile-defun): Simplify.
13237 (byte-compile-stack-adjustment): New fun.
13238 (byte-compile-out): Use it.
13239 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13240
13241 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13242 handler any more.
13243
13244 * emacs-lisp/byte-opt.el: Use lexical binding.
13245 (byte-inline-lapcode): Remove (to bytecomp).
13246 (byte-compile-inline-expand): Pay attention to inlining to/from
13247 lexically bound code.
13248 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13249 any more.
13250 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13251 any more and don't call compiler-macros.
13252 (byte-compile-splice-in-already-compiled-code): Remove.
13253 (byte-code): Don't inline any more.
13254 (disassemble-offset): Receive `bytes' as argument rather than via
13255 dynamic scoping.
13256 (byte-compile-tag-number): Declare before first use.
13257 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13258 `return' even if make-spliceable.
13259 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13260 obsolete interactive-p.
13261 (byte-optimize-lapcode): Optimize new lap-codes.
13262 Don't trip up on new form of `byte-constant' lap code.
13263
13264 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13265
13266 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13267
13268 * custom.el (custom-initialize-default, custom-declare-variable):
13269 Use `defvar'.
13270
13271 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13272 New variables.
13273 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13274 (COMPILE_FIRST): Add macroexp and cconv.
13275 * makefile.w32-in: Mirror changes in Makefile.in.
13276
13277 * vc/cvs-status.el:
13278 * vc/diff-mode.el:
13279 * vc/log-edit.el:
13280 * vc/log-view.el:
13281 * vc/smerge-mode.el:
13282 * textmodes/bibtex-style.el:
13283 * textmodes/css.el:
13284 * startup.el:
13285 * uniquify.el:
da91b5f2
CY
13286 * minibuffer.el:
13287 * newcomment.el:
13288 * reveal.el:
13289 * server.el:
13290 * mpc.el:
13291 * emacs-lisp/smie.el:
13292 * doc-view.el:
13293 * dired.el:
03408648
SM
13294 * abbrev.el: Use lexical binding.
13295
0f0c1f27
EZ
132962011-04-01 Eli Zaretskii <eliz@gnu.org>
13297
13298 * info.el (info-display-manual): New function.
13299
c82b2579
SM
133002011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13301
13302 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13303
221ddf68
TH
133042011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13305
13306 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13307 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13308
cba6e77e
GM
133092011-03-31 Glenn Morris <rgm@gnu.org>
13310
e040639f
GM
13311 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13312
cba6e77e
GM
13313 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13314
6d0f1c9e
CS
133152011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13316
13317 * progmodes/python.el (python-default-interpreter)
13318 (python-python-command-args, python-jython-command-args)
13319 (python-which-shell, python-which-args, python-which-bufname)
13320 (python-file-queue, python-comint-output-filter-function)
13321 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13322 variables and functions.
13323
3e2d70fd
SM
133242011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13325
13326 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13327 (completion-in-region-mode): New minor mode.
13328 (completion-in-region): Use it.
13329 (completion-in-region--data, completion-in-region-mode-map): New vars.
13330 (completion-in-region--postch): New function.
13331 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13332 New vars.
13333 (completion--capf-wrapper): New function.
13334 (completion-at-point): Use it to track well-behavedness of
13335 hook functions.
13336 (completion-help-at-point): New command.
13337
f3e4086c
JM
133382011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13339
13340 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13341 syntax class to search for whitespace on a single line
13342 (Message-ID: <4D938140.4030905@redhat.com>).
13343
eb7ffc14
LL
133442011-03-30 Leo Liu <sdl.web@gmail.com>
13345
13346 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13347 New commands.
13348 (edit-abbrevs-map): Bind them here.
13349 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13350
d806ab68
KM
133512011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13352
13353 * allout.el (allout-hide-by-annotation, allout-flag-region):
13354 Reduce possibility of overlay leakage by making them volatile.
13355
13356 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13357 hash is not shared between buffers. Mode initialization is
13358 responsible for giving it a useful starting value.
13359 (allout-item-span): Reduce possibility of overlay leakage by
13360 making them volatile.
13361 (allout-widgets-count-buttons-in-region): Add diagnostic function
13362 for tracking down button overlay leaks.
13363
ea622834
LL
133642011-03-29 Leo Liu <sdl.web@gmail.com>
13365
13366 * ido.el (ido-read-internal): Use the default history var
13367 minibuffer-history if no HISTORY is specified.
13368
b62f8267
G
133692011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13370
03408648
SM
13371 * net/imap.el (imap-shell-open, imap-process-connection-type):
13372 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13373 Kerberos, SSL, other subprocesses.
13374
947b6566
LL
133752011-03-28 Leo Liu <sdl.web@gmail.com>
13376
13377 * abbrev.el (abbrev-table-empty-p): New function.
13378 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13379 nonempty ones. (Bug#5937)
13380
5ffb62aa
JD
133812011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13382
13383 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13384
7a097943
LL
133852011-03-27 Leo Liu <sdl.web@gmail.com>
13386
13387 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13388 for foreground and background colors.
13389 (ansi-color-make-color-map): Adapt.
13390
c5b40130
LL
133912011-03-25 Leo Liu <sdl.web@gmail.com>
13392
1f48f7d2
LL
13393 * midnight.el (midnight-time-float): Remove. Note it calculates
13394 the microsecond component incorrectly and seconds-to-time does the
13395 same job.
625897ec 13396 Remove redundant (require 'timer).
1f48f7d2 13397
c5b40130
LL
13398 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13399 (ido-completions): Remove unused arguments. (Bug#8329)
13400
d86d2721
SM
134012011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13402
13403 * minibuffer.el (completion--flush-all-sorted-completions):
13404 Remove itself from hook.
13405 (completion-at-point): Let the functions perform the completion
13406 immediately and return nil or t.
13407 * comint.el (comint-dynamic-complete-functions): Now identical to
13408 completion-at-point-functions.
13409 (comint-dynamic-list-input-ring): Remove unused var `index'.
13410 (comint--match-partial-filename, comint--unquote&expand-filename):
13411 New funs, split from comint-match-partial-filename.
13412 (comint-dynamic-complete): Use completion-at-point.
13413 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13414
e8974c48
DA
134152011-03-24 Drew Adams <drew.adams@oracle.com>
13416
13417 * thingatpt.el: Support `defun'.
13418
def71b5e
LL
134192011-03-23 Leo Liu <sdl.web@gmail.com>
13420
cb5af48e
LL
13421 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13422
def71b5e
LL
13423 * help-mode.el (help-mode-finish): Tweak regexp.
13424
927c53e7
GM
134252011-03-23 Glenn Morris <rgm@gnu.org>
13426
18d05bed
GM
13427 * eshell/esh-opt.el (eshell-eval-using-options):
13428 Do not bind unused local variable `eshell-option-stub'.
13429
927c53e7
GM
13430 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13431
9d0da923
JB
134322011-03-22 Juanma Barranquero <lekktu@gmail.com>
13433
13434 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13435 keymap variable in `with-no-warnings' to avoid a warning when the
13436 keymap has been already `defconst'ed.
13437
4b978a67
LL
134382011-03-22 Leo Liu <sdl.web@gmail.com>
13439
13440 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13441 encode all chars in abbrevs; otherwise use emacs-mule or
13442 utf-8-emacs. (Bug#8308)
13443
5fd62452
JB
134442011-03-22 Juanma Barranquero <lekktu@gmail.com>
13445
0b1596c6
JB
13446 * simple.el (backward-delete-char-untabify):
13447 Avoid warning about using `delete-backward-char'.
13448
5fd62452
JB
13449 * image.el (image-type-file-name-regexps): Make it variable.
13450 `imagemagick-register-types' modifies it, and the user may want
13451 to add new extensions for known image types.
13452 (imagemagick-register-types): Throw error if not using ImageMagick.
13453
0b4e93f1
LL
134542011-03-22 Leo Liu <sdl.web@gmail.com>
13455
13456 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13457 located before rcirc-prompt-end-marker.
13458 (rcirc-complete): Error if point is not after rcirc prompt.
13459 Handle the case when table is nil.
9882e214 13460 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13461
fccee4ab
CY
134622011-03-22 Chong Yidong <cyd@stupidchicken.com>
13463
13464 * custom.el (custom--inhibit-theme-enable): Make it affect only
13465 custom-theme-set-variables and custom-theme-set-faces.
13466 (provide-theme): Ignore custom--inhibit-theme-enable.
13467 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13468 (custom-enabling-themes): Delete variable.
d86d2721
SM
13469 (enable-theme): Accept only loaded themes as arguments.
13470 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13471 (custom-enabled-themes): Forbid themes from setting this.
13472 Eliminate use of custom-enabling-themes.
13473 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13474
af896da6
LL
134752011-03-21 Leo Liu <sdl.web@gmail.com>
13476
13477 * ido.el (ido-read-internal): Add ido-selected to history instead
13478 of user input.
13479
78f64af0
SM
134802011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13481
13482 * subr.el (deferred-action-list, deferred-action-function):
13483 Mark obsolete.
13484
b16ac1ec
LL
134852011-03-21 Leo Liu <sdl.web@gmail.com>
13486
810f7698
LL
13487 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13488 change on 2011-02-13 (bug#8309).
13489
b16ac1ec
LL
13490 * minibuffer.el (read-file-name-function): Change default value.
13491 (read-file-name--defaults): Rename from read-file-name-defaults.
13492 (read-file-name-default): Rename from read-file-name.
13493 (read-file-name): Call read-file-name-function.
13494
4e05e67e
GM
134952011-03-21 Glenn Morris <rgm@gnu.org>
13496
13497 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13498 Doc fixes.
13499
4359915b
CY
135002011-03-21 Chong Yidong <cyd@stupidchicken.com>
13501
13502 * cus-theme.el: Add missing provide statement.
13503 (customize-create-theme): Extract theme value correctly.
13504 (custom-theme-visit-theme): Autoload.
13505 (customize-create-theme): Prompt before inserting default faces.
13506
1fe275ee
JB
135072011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13508
13509 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13510 units and musical notes.
13511
cd394be1 135122011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13513
13514 * ido.el (ido-read-internal): Use completing-read-default.
13515 (ido-completing-read): Fix compatibility with completing-read.
13516
7d476bde
CO
135172011-03-20 Christian Ohler <ohler@gnu.org>
13518
13519 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13520 (ert-delete-all-tests): Use `called-interactively-p' rather than
13521 `interactive-p'.
13522 (ert--make-xrefs-region): Respect END.
13523
fe0fb33e
CY
135242011-03-19 Chong Yidong <cyd@stupidchicken.com>
13525
ff854b0b
CY
13526 * dired-aux.el (dired-create-directory): Signal an error if the
13527 directory already exists (Bug#8246).
13528
fe0fb33e
CY
13529 * facemenu.el (list-colors-display): Call list-faces-display
13530 inside with-help-window.
13531 (list-colors-print): Use display property to align the final
13532 column, instead of checking window-width.
13533
576bce32
EZ
135342011-03-19 Eli Zaretskii <eliz@gnu.org>
13535
4d61f28d 13536 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13537 windows-nt systems.
13538 (emerge-protect-metachars): Quote correctly for ms-dos and
13539 windows-nt systems.
13540
89c41d68 135412011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13542
13543 * info.el (info-initialize): Replace all uses of `:' with
13544 path-separator for compatibility with non-Unix systems.
13545 Cache quoting of path-separator. (Bug#8258)
13546
b14e3e21 135472011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13548
13549 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13550 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13551 (mouse-avoidance-mode): Fix typos in docstrings.
13552
4525ce3e
CY
135532011-03-19 Chong Yidong <cyd@stupidchicken.com>
13554
13555 * startup.el (package-subdirectory-regexp): Move from package.el.
13556 Omit \\` and \\', and let callers add them.
13557
13558 * emacs-lisp/package.el (package-strip-version)
13559 (package-load-all-descriptors): Add \\` and \\' to
13560 package-subdirectory-regexp before using it.
13561 (package-untar-buffer): New arg DIR; ensure that file untars only
13562 into this expected directory. Remove superfluous delete-region.
13563 (package-unpack): Caller changed.
13564 (package-tar-file-info): Use package-subdirectory-regexp.
13565
a904a09a 135662011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13567
a904a09a
SM
13568 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13569 diff-mode-shared-map (bug#8284).
13570 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13571
135722011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13573
13574 * calendar/time-date.el (format-seconds): Use assoc instead of
13575 assoc-string, since assoc-string doesn't exist in XEmacs.
13576
171fc304
JB
135772011-03-17 Juanma Barranquero <lekktu@gmail.com>
13578
13579 * custom.el (custom-known-themes): Reflow docstring.
13580 (custom-theme-load-path): Fix typo in docstring.
13581 (load-theme): Fix typo in error message.
13582 (custom-available-themes, custom-variable-theme-value):
13583 Use `let', not `let*'.
13584
d71990a1
JB
135852011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13586
13587 * calc/README: Mention inclusion of musical notes.
13588
13589 * calc/calc-units.el (calc-lu-quant): Rename from
13590 `calc-logunits-quantity'.
13591 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13592 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13593 (calc-db): Rename from `calc-dblevel'.
13594 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13595 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13596 (calc-np): Rename from `calc-nplevel'.
13597 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13598 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13599 (calc-lu-plus): Rename from `calc-logunits-add'.
13600 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13601 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13602 (calc-lu-minus): Rename from `calc-logunits-sub'.
13603 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13604 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13605 (calc-lu-times): Rename from `calc-logunits-mul'.
13606 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13607 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13608 (calc-lu-divide): Rename from `calc-logunits-div'.
13609 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13610 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13611
13612 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13613 functions being autoloaded.
13614
13615 * calc/calc.el (calc-lu-power-reference): Rename from
13616 `calc-logunits-power-reference'.
13617 (calc-lu-field-reference): Rename from
13618 `calc-logunits-field-reference'.
13619
7a71b18d
GM
13620 * calc/calc-help.el (calc-l-prefix-help):
13621 Mention musical note functions.
d71990a1 13622
40c2934b
SM
136232011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13624
13625 * minibuffer.el (completion-all-sorted-completions):
13626 Use :completion-cycle-penalty text property if present.
13627
b0911414
KM
136282011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13629
13630 * allout.el (allout-yank-processing): Adjust for new rebulleting
13631 regime so bullet being yanked is used without prompting the user
13632 for a choice.
13633
8a05b668
JB
136342011-03-16 Juanma Barranquero <lekktu@gmail.com>
13635
13636 * startup.el (command-line): Warn the user that _emacs is deprecated.
13637
5ba5fb81
JB
136382011-03-16 Juanma Barranquero <lekktu@gmail.com>
13639
13640 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13641 (delphi-verbose, delphi-comment-face, delphi-string-face)
13642 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13643 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13644 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13645 (delphi-new-comment-line, delphi-font-lock-defaults)
13646 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13647 Fix typos in docstrings.
13648
2dab465b
KM
136492011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13650
5ba5fb81 13651 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13652 Invert the roles of character and string values for INSTEAD, so a
13653 string is used for the more common case of a defaulting prompt.
13654
0adf5618
SM
136552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13656
13657 * progmodes/ruby-mode.el (ruby-backward-sexp):
13658 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13659 * play/gamegrid.el (gamegrid-make-face):
13660 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13661 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13662 * notifications.el (notifications-notify):
13663 * net/xesam.el (xesam-search-engines):
13664 * net/quickurl.el (quickurl-list-insert):
13665 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13666
d72700e5
CY
136672011-03-15 Chong Yidong <cyd@stupidchicken.com>
13668
13669 * startup.el (command-line): Update package subdirectory regexp.
13670
49c5410a
SM
136712011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13672
c6eee9aa
SM
13673 * allout.el (allout-abbreviate-flattened-numbering)
13674 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13675
49c5410a
SM
13676 * subr.el (read-char-choice): Only show the cursor after the prompt,
13677 not after the answer.
13678
047b2bb9
KR
136792011-03-15 Kevin Ryde <user42@zip.com.au>
13680
13681 * help-fns.el (variable-at-point): Skip leading quotes, if any
13682 (bug#8253).
13683
0a57d256
SM
136842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13685
13686 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13687 warning message.
13688
77c992bc
MA
136892011-03-14 Michael Albinus <michael.albinus@gmx.de>
13690
13691 * shell.el (shell): When called interactively, offer to change the
13692 shell file name on remote hosts.
13693
eebc475d
TZ
136942011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13695
13696 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13697 integration for LDAP parameters. The host, base, user or binddn,
13698 and secret tokens can be specified in a netrc file, for instance.
13699 This is optional because an `auth-source' parameter must be
13700 specified in the search attributes.
13701
9d05d1ba
JB
137022011-03-13 Juanma Barranquero <lekktu@gmail.com>
13703
13704 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13705
09d9db2c
GM
137062011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13707
13708 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13709 into declaration. Remove redundant and harmful binding.
13710
137112011-03-12 Eli Zaretskii <eliz@gnu.org>
13712
13713 * files.el (file-ownership-preserved-p): Pass `integer' as an
13714 explicit 2nd argument to `file-attributes'. If the file's owner
13715 is the Administrators group on Windows, and the current user is
13716 Administrator, consider that a match.
13717
13718 * server.el (server-ensure-safe-dir): Consider server directory
13719 safe on MS-Windows if its owner is the Administrators group while
13720 the current Emacs user is Administrator. Use `=' to compare
13721 numerical UIDs, since they could be integers or floats.
13722
219bd536
JB
137232011-03-12 Juanma Barranquero <lekktu@gmail.com>
13724
13725 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13726
f3afd36b
MA
137272011-03-12 Michael Albinus <michael.albinus@gmx.de>
13728
13729 Sync with Tramp 2.2.1.
13730
13731 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13732
13733 * net/trampver.el: Update release number.
13734
3aaaa6f1
SM
137352011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13736
94642599
SM
13737 * progmodes/compile.el (compilation--previous-directory): Fix up
13738 various nil/dead-marker mismatches (bug#8014).
13739 (compilation-directory-properties, compilation-error-properties):
13740 Don't call it at a position past the one we're about to change.
13741
3aaaa6f1
SM
13742 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13743 Disable obsolescence warnings in the file that declares it.
13744
14239447
KM
137452011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13746
099c39a4
JB
13747 * allout-widgets.el (allout-widgets-tally):
13748 Initialize allout-widgets-tally as a hash table rather than nil to
13749 prevent mode-line redisplay warnings. Also, clarify the module
13750 description and fix a comment typo.
14239447 13751
135e287c
JB
137522011-03-11 Juanma Barranquero <lekktu@gmail.com>
13753
13754 * help-fns.el (describe-variable): Don't complete keywords.
13755 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13756
ffbf300e
CY
137572011-03-10 Chong Yidong <cyd@stupidchicken.com>
13758
ba08b241
CY
13759 * emacs-lisp/package.el (package-version-join): Impose a standard
13760 string representation for pre/alpha/beta version lists.
13761 (package-unpack-single): Standardize the directory name by passing
13762 it through package-version-join.
13763 (package-strip-rcs-id): Accept any version string that does not
13764 signal an error in version-to-list.
ffbf300e 13765
f346fd6b
MA
137662011-03-10 Michael Albinus <michael.albinus@gmx.de>
13767
13768 * simple.el (delete-trailing-whitespace): Return nil for the
13769 benefit of `write-file-functions'.
13770
ccb55d27
GM
137712011-03-10 Glenn Morris <rgm@gnu.org>
13772
5ceaac0c
GM
13773 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13774
02da65ff
GM
13775 * vc/vc-git.el (vc-git-program): New option.
13776 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13777 (vc-git--call): Use it.
13778
b2f603cc
GM
13779 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13780
5772caab
GM
13781 * cus-edit.el (Custom-newline): If no button at point, look
13782 for a subgroup button at start-of-line. (Bug#2298)
13783
ccb55d27
GM
13784 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13785
ec6ecaed
JD
137862011-03-10 Julien Danjou <julien@danjou.info>
13787
13788 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13789 `cursor-type' is nil.
13790
9d5aa01d
JB
137912011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13792
13793 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13794
b6a5875b
KM
137952011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13796
7a71b18d 13797 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13798 preserves the existing header prefix, rebulleting it if necessary,
13799 rather than replacing it. This is necessary for proper operation
13800 of cooperative addons like allout-widgets.
1154d12e
JB
13801 (allout-make-topic-prefix, allout-rebullet-heading):
13802 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13803 value as alternate bullet to be used, instead of prompting the user
13804 for a bullet character.
b6a5875b 13805
ee545c35
MA
138062011-03-09 Michael Albinus <michael.albinus@gmx.de>
13807
d86d2721
SM
13808 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13809 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13810 `tramp-default-port'.
13811
c47971d7
DD
138122011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13813
13814 * net/rcirc.el (rcirc-handler-001): Remove useless
13815 with-rcirc-process-buffer.
13816 (rcirc-check-auth-status): Swap arguments to string-match.
13817
13522cb4
GM
138182011-03-09 Glenn Morris <rgm@gnu.org>
13819
0be6f4f1
GM
13820 * shell.el (shell-mode):
13821 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13822
13522cb4
GM
13823 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13824 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13825
515de2e3
CY
138262011-03-08 Chong Yidong <cyd@stupidchicken.com>
13827
13828 * emacs-lisp/package.el (package-refresh-contents)
13829 (package-menu-execute): Use condition-case-no-debug.
13830
b511b994
MA
138312011-03-08 Michael Albinus <michael.albinus@gmx.de>
13832
13833 * simple.el (shell-command-to-string): Use `process-file'.
13834
13835 * emacs-lisp/package.el (package-tar-file-info): Handle also
13836 remote files.
13837
d86d2721
SM
13838 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13839 Use `equal' for upload base check.
b511b994 13840
25bbfb31
AM
138412011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13842
13843 * textmodes/texinfo.el (texinfo-environments):
13844 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13845
be996521
GM
138462011-03-08 Glenn Morris <rgm@gnu.org>
13847
e9c8529f
GM
13848 * cus-start.el (cursor-in-non-selected-windows):
13849 Fix :set quoting oddness. (Bug#8192)
13850
be996521
GM
13851 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13852 in some setf expressions. (Bug#2159)
13853
2bb5649e
CY
138542011-03-08 Chong Yidong <cyd@stupidchicken.com>
13855
13856 * custom.el (custom-available-themes): Return themes in
13857 alphabetical order.
13858
33383987 13859See ChangeLog.15 for earlier changes.
e3d51b27
MR
13860
13861;; Local Variables:
13862;; coding: utf-8
e3d51b27
MR
13863;; End:
13864
acaf905b 13865 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13866
13867 This file is part of GNU Emacs.
13868
13869 GNU Emacs is free software: you can redistribute it and/or modify
13870 it under the terms of the GNU General Public License as published by
13871 the Free Software Foundation, either version 3 of the License, or
13872 (at your option) any later version.
13873
13874 GNU Emacs is distributed in the hope that it will be useful,
13875 but WITHOUT ANY WARRANTY; without even the implied warranty of
13876 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13877 GNU General Public License for more details.
13878
13879 You should have received a copy of the GNU General Public License
13880 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.