rst-mode indentation is non-deterministic, so inhibit electric indentation
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b82ace2f
DC
12014-01-06 Daniel Colascione <dancol@dancol.org>
2
3 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4 rst-mode.
5
3669b636
MR
62014-01-05 Martin Rudalics <rudalics@gmx.at>
7
8 * window.el (balance-windows): Add mising t to fix Bug#16351.
9
1a29adc2
LMI
102014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11
12 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13 (bug#16285).
3d95a0f4
LMI
14 (shr-insert): If we have a word that's longer than `shr-width',
15 break after it anyway. Otherwise we'll do no breaking once we get
16 such a long word.
1a29adc2 17
f4018140
KN
182014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
19
189340f5
KN
20 * net/eww.el (eww): Support single/double quote for search.
21 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
22 (eww-history-quit): Delete and use quit-window.
23 (eww-history-kill): Delete, because it doesn't work well and
24 not necessary.
25 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 26
4e619754
PE
272014-01-05 Paul Eggert <eggert@cs.ucla.edu>
28
73dbf960
PE
29 Fix misspelling of 'chinese' in rx (Bug#16237).
30 * emacs-lisp/rx.el (rx-categories): Correct spelling of
31 chinese-two-byte.
32
4e619754
PE
33 Change subword regexps back to vars (Bug#16296).
34 * progmodes/subword.el (subword-forward-regexp)
35 (subword-backward-regexp): Change these back to variables.
36
e18b70fc
SM
372014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
40 syntax-begin-function (bug#16247).
41
0d53f628
CY
422014-01-03 Chong Yidong <cyd@gnu.org>
43
44 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
45 (advice--docstring): Delete variable.
46 (advice--make-1): Leave the docstring empty.
47 (advice-add): Use function-documentation for advised docstring.
48
49 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
50 Ignore function-documentation property when getting documentation.
51 (ad-activate-advised-definition): Use function-documentation
52 generate the docstring.
53 (ad-make-advised-definition): Don't call
54 ad-make-advised-definition-docstring.
55 (ad-make-advised-definition-docstring, ad-advised-definition-p):
56 Delete functions.
57
58 * progmodes/sql.el (sql-help): Use function-documentation instead
59 of dynamic-docstring-function property. No need to autoload now.
60 (sql--help-docstring): New variable.
61 (sql--make-help-docstring): Use it.
62
6f547583
SM
632014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
64
6ef9aed8
SM
65 * ielm.el (ielm-tab): Retarget.
66 (ielm-map): Use ielm-tab for tab.
67 (ielm-complete-filename): Use comint-filename-completion.
68 (ielm-complete-symbol): Remove.
69 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
70 remove ielm-tab from completion-at-point-functions (bug#16224).
71
6f547583
SM
72 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
73 Beware signals raised by predicates (bug#16201).
74
a574edbe
RS
752014-01-02 Richard Stallman <rms@gnu.org>
76
e831604d
RS
77 * dired-aux.el (dired-do-print): Handle printer-name.
78
6f547583
SM
79 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
80 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
81 (rmail-epa-decrypt): Turn off mime processing.
82
83 * mail/rmail.el (rmail-make-in-reply-to-field):
84 Add parens in message-id.
85
86 * mail/rmail.el (rmail-get-coding-function): Variable.
87 (rmail-get-coding-system): Use it.
88
04311a16
KH
892013-12-31 Eli Zaretskii <eliz@gnu.org>
90
91 * international/mule-conf.el: Unify the charset indian-is13194.
92 (indian-is13194): Specify unify-map.
93
c8d89778
LL
942013-12-31 Leo Liu <sdl.web@gmail.com>
95
96 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
97
e63ace37
DC
982013-12-30 Daniel Colascione <dancol@dancol.org>
99
9e0bf19a
DC
100 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
101 of printing a useless when we resume from sleep.
102
e63ace37
DC
103 * progmodes/sh-script.el
104 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
105 in indentation code. (Bug#16233)
106
e9d6c46a
JT
1072013-12-28 João Távora <joaotavora@gmail.com>
108
6f547583
SM
109 * elec-pair.el (electric-pair-post-self-insert-function):
110 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 111
bf7bea5d
EZ
1122013-12-28 Eli Zaretskii <eliz@gnu.org>
113
114 * frame.el (window-system-for-display): Don't allow to create a
115 GUI frame from a -nw session on MS-Windows. (Bug#14739)
116
8449dd1f
GM
1172013-12-28 Glenn Morris <rgm@gnu.org>
118
9c5a5c77
GM
119 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
120 Update callers.
121
122 * apropos.el (apropos-match-face):
123 * calculator.el (calculator-displayer):
124 * dabbrev.el (dabbrev-search-these-buffers-only):
125 * face-remap.el (buffer-face-mode-face):
126 * simple.el (yank-handled-properties):
127 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
128 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
129 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
130 (hashcash-double-spend-database):
131 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
132 (ruby-deep-indent-paren-style):
133 * textmodes/flyspell.el (flyspell-auto-correct-binding):
134 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
135 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
136 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
137 Specify custom types.
138
bb098075
GM
139 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
140 * bookmark.el (bookmark-bmenu-use-header-line):
141 * doc-view.el (doc-view-scale-internally):
142 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
143 * register.el (register-preview-delay):
144 * net/shr.el (shr-bullet):
145 * progmodes/cfengine.el (cfengine-cf-promises)
146 (cfengine-parameters-indent):
147 * progmodes/octave.el (inferior-octave-error-regexp-alist):
148 * textmodes/reftex-vars.el (reftex-label-regexps):
149 * vc/log-edit.el (log-edit-setup-add-author): Add version.
150
9c61f806
GM
151 * net/tls.el (tls-certtool-program): Fix default value.
152
153 * desktop.el (desktop-restore-in-current-display):
154 * newcomment.el (comment-empty-lines):
155 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
156 (idlwave-pad-keyword):
157 * progmodes/tcl.el (tcl-tab-always-indent):
158 * textmodes/reftex-vars.el (reftex-index-default-tag):
159 * elec-pair.el (electric-pair-skip-whitespace):
160 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
161
8449dd1f
GM
162 * emacs-lisp/authors.el (authors-ignored-files)
163 (authors-valid-file-names, authors-renamed-files-alist): Additions.
164
fdadeb49
JC
1652013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
166
72140a0f
GM
167 * shell.el (shell-dynamic-complete-command): Doc fix.
168 (shell--command-completion-data): Shell completion now matches
169 executable filenames from the current buffer's directory, on
da5ecfa9 170 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 171
e572a7d8
LI
1722013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
173
174 * net/shr.el (shr-insert): Don't infloop if the width is zero.
175
7514d3f8
SM
1762013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
177
a4151f3b
SM
178 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
179 (bug#16251).
180
7514d3f8
SM
181 * electric.el: Move all electric-pair-* to elec-pair.el.
182 * elec-pair.el: New file, split from electric.el.
183
ac5758d1
LI
1842013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
185
186 * net/shr.el (shr-find-fill-point): Don't try to fill if the
187 indentation level is larger than the width, because that will
188 infloop.
189 (shr-insert): Fill repeatedly long texts, so that Japanese is
190 formatted correctly (bug#16263).
24a6b65e
LI
191 (shr-find-fill-point): Off by one error in comparison with the
192 indentation.
ac5758d1 193
7514d3f8 1942013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
195
196 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 197 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
198 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
199 if that keeps or improves their balance in buffers.
200 (electric-pair-delete-adjacent-pairs): Delete the pair when
201 backspacing over adjacent matched delimiters.
202 (electric-pair-open-extra-newline): Open extra newline when
203 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
204 (electric--sort-post-self-insertion-hook):
205 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
206 minor-modes are activated.
207 * simple.el (newline-and-indent): Call newline with interactive
208 set to t.
209 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
210 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
211 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
212 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
213 electric-pair-open-newline-between-pairs to nil.
214
fbcc63a3
FEG
2152013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
216
217 * progmodes/python.el: Use lexical-binding.
218 (python-nav-beginning-of-defun): Stop searching ASAP.
219
ed78d16c
XF
2202013-12-25 Xue Fuqiao <xfq.free@gmail.com>
221
222 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
223 Fix interactive spec. Doc fix. (Bug#15754)
224
38b2c142
KY
2252013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
226
227 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 228 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
229 Fix edebug spec (bug#16184).
230
3c856c14
LI
2312013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
232
83fa295c 233 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
234 (shr-insert): Don't infloop if we can't find a good place to break
235 the line (bug#16256).
3c856c14 236
01379221
FEG
2372013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
238
239 * progmodes/python.el:
240 (python-nav--lisp-forward-sexp): New function.
241 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
242 python-nav-lisp-forward-sexp-safe.
243 (python-nav--forward-sexp): New argument SAFE allows switching
244 forward sexp movement behavior for parens.
245 (python-nav-forward-sexp): Throw errors on unterminated parens
246 (Bug#16191).
247 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
248 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
249 (python-shell-buffer-substring):
250 Use `python-nav-forward-sexp-safe'.
01379221 251
99e4926f
LI
2522013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
253
254 * net/shr.el (shr-find-fill-point): Don't break lines before a
255 quotation mark.
c6c20584
LI
256 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
257 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 258 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 259
fec0e828
KN
2602013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
261
262 * net/eww.el (eww-form-textarea): Use a different face for
263 textareas than text input since they have different keymaps
264 (bug#16142).
265
89c868ad
FEG
2662013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
267
7514d3f8
SM
268 * progmodes/python.el (python-nav-beginning-of-statement):
269 Speed up (Bug#15295).
89c868ad 270
eeef121a
LI
2712013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
272
273 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
274 the window configuration.
275
121ea65f
EZ
2762013-12-24 Eli Zaretskii <eliz@gnu.org>
277
278 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
279 we run on MS-Windows or MS-DOS.
280
18cee9ec
MR
2812013-12-24 Martin Rudalics <rudalics@gmx.at>
282
283 * window.el (balance-windows-area): Call window-size instead of
284 window-height and window-width. Bug#16241.
285
58f2b9a5
LI
2862013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
287
288 * net/eww.el (eww-bookmark-quit): Remove.
289 (eww-bookmark-browse): Restore the window configuration when you
290 choose a bookmark (bug#16144).
291
d64b6308
DC
2922013-12-24 Daniel Colascione <dancol@dancol.org>
293
294 * icomplete.el: Remove redundant :group arguments to `defcustom'
295 throughout.
296 (icomplete-show-matches-on-no-input): New customizable variable.
297 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
298 we have something to show.
7514d3f8 299 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 300
0da54898
DC
3012013-12-23 Daniel Colascione <dancol@dancol.org>
302
303 * icomplete.el: Move `provide' to end of file.
304
b90aa4f4
TZ
3052013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
306
307 * net/gnutls.el (gnutls-verify-error): Add version tag.
308
8cd22a08
CY
3092013-12-23 Chong Yidong <cyd@gnu.org>
310
311 * subr.el (set-transient-map): Rename from
312 set-temporary-overlay-map. Doc fix.
313
314 * face-remap.el (text-scale-adjust):
315 * indent.el (indent-rigidly):
316 * kmacro.el (kmacro-call-macro):
317 * minibuffer.el (minibuffer-force-complete):
318 * repeat.el (repeat):
319 * simple.el (universal-argument--mode):
320 * calendar/todo-mode.el (todo-insert-item--next-param):
321 * progmodes/f90.el (f90-abbrev-start): Callers changed.
322
7510b021
CY
323 * indent.el (indent-rigidly): Use substitute-command-keys.
324
72140a0f 3252013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
326
327 * net/eww.el (eww-tag-select): Add text-property to jump to next
328 select field.
e9dc713d 329 (eww): Add non-supported ftp error.
56890ecd 330
1f87a56c
DG
3312013-12-22 Dmitry Gutov <dgutov@yandex.ru>
332
333 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
334 comments. Handle electric indent after typing `?' and `!'.
335
dca38cf9
CY
3362013-12-22 Chong Yidong <cyd@gnu.org>
337
338 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
339 applicable to a frame, fall back on the defface spec.
340 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 341
f2351498
DG
3422013-12-22 Dmitry Gutov <dgutov@yandex.ru>
343
344 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
345 after `{'. We need it after block openers, and it doesn't seem
346 to hurt after hash openers.
347
6cddebc1
DG
3482013-12-22 Dmitry Gutov <dgutov@yandex.ru>
349
350 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
351 extracted from `ruby-smie-rules'.
352 (ruby--electric-indent-chars): New variable.
353 (ruby--electric-indent-p): New function.
354 (ruby-mode): Use `electric-indent-functions' instead of
355 `electric-indent-chars'.
356
65a1da00
DG
3572013-12-22 Dmitry Gutov <dgutov@yandex.ru>
358
359 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
360 docstring.
361 (ruby-smie-rules): Indent plus one level after `=>'.
362
b51ad4cf
RS
3632013-12-21 Richard Stallman <rms@gnu.org>
364
365 * simple.el (newline): Doc fix.
366
72140a0f 3672013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 368
e9dc713d 369 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
370 (eww-history-browse, eww-history-quit, eww-history-kill)
371 (eww-history-mode-map, eww-history-mode): New command and
372 functions to list browser histories.
e9dc713d
JB
373 (eww-form-text): Support text form with disabled
374 and readonly attributes.
375 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 376
5e1901c1
RS
3772013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
378
379 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
380 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
381 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
382 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
383 Use `user-error'.
384 (eww-bookmark-mode-map): Add menu.
385 (eww-render, eww-mode): Use `setq-local'.
386 (eww-tool-bar-map): New variable.
387 (eww-mode): Set `tool-bar-map'.
388 (eww-view-source): Check for `html-mode' with `fboundp'.
389
073d5cfd
LMI
3902013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
391
392 * net/shr.el (shr--extract-best-source): Don't bug out on audio
393 elements with text inside. Also remove debugging.
394
41cf3d11
JD
3952013-12-21 Jan Djärv <jan.h.d@swipnet.se>
396
397 * cus-start.el (all): Add ns-use-srgb-colorspace.
398
aac2b673
CY
3992013-12-21 Chong Yidong <cyd@gnu.org>
400
401 * custom.el (custom-theme-recalc-face): Do nothing if the face is
402 undefined. Thus, theme settings for undefined faces do not take
403 effect until the faces are defined with defface, the same as with
404 theme variables.
405
406 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
407 (face-spec-reset-face): Don't assign extra properties in temacs.
408 (face-spec-recalc): Apply X resources too.
409
bacb0e77
CY
4102013-12-21 Chong Yidong <cyd@gnu.org>
411
412 * faces.el (face-spec-set):
413 * cus-face.el (custom-theme-set-faces, custom-set-faces):
414 * custom.el (defface): Doc fixes (Bug#16203).
415
77221051
CY
416 * indent.el (indent-rigidly-map): Add docstring, and move commands
417 into named functions.
418 (indent-rigidly-left, indent-rigidly-right)
419 (indent-rigidly-left-to-tab-stop)
420 (indent-rigidly-right-to-tab-stop): New functions. Decide on
421 indentation direction based on bidi direction, and accumulate
422 sequential commands in a single undo boundary.
423 (indent-rigidly--pop-undo): New utility function.
424
e0eb0550
JB
4252013-12-20 Juanma Barranquero <lekktu@gmail.com>
426
427 * faces.el (read-face-name): Require crm.el when using crm-separator.
428
3282bd2e
DC
4292013-12-20 Daniel Colascione <dancol@dancol.org>
430
431 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
432 so that we don't reflow comments into the shebang line.
433
1d42e5b6
JL
4342013-12-20 Juri Linkov <juri@jurta.org>
435
436 * saveplace.el (save-place-to-alist): Add `dired-filename' as
437 a position when `dired-directory' is non-nil. Check integer
438 positions with `integerp'.
439 (toggle-save-place, save-places-to-alist): Add check for
440 `dired-directory'.
441 (save-place-find-file-hook): Check integer positions with
442 `integerp'.
443 (save-place-dired-hook): Use `dired-goto-file' when
444 `dired-filename' is found in the assoc list. Check integer
445 positions with `integerp'.
446 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
447
448 * dired.el (dired-initial-position-hook): Rename back from
449 `dired-initial-point-hook'.
450 (dired-initial-position): Rename `dired-initial-point-hook' to
451 `dired-initial-position-hook'.
452 (dired-file-name-at-point): Doc fix. (Bug#15329)
453
24da7273
JL
4542013-12-20 Juri Linkov <juri@jurta.org>
455
456 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
457 (read-regexp-suggestions): New function.
458 (read-regexp): Use `read-regexp-defaults-function' to get default values.
459 Use `read-regexp-suggestions'. Add non-empty default to history
460 for empty input.
461 (occur-read-regexp-defaults-function): Remove function.
462 (occur-read-primary-args): Use `regexp-history-last' instead of
463 `occur-read-regexp-defaults-function'.
464
465 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
466 (hi-lock-line-face-buffer, hi-lock-face-buffer)
467 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
468 `hi-lock-read-regexp-defaults-function'. Doc fix.
469 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
470 with `find-tag-default-as-symbol-regexp'. Doc fix.
471 (hi-lock-read-regexp-defaults): Remove function.
472 (hi-lock-regexp-okay): Add check for null.
473
474 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
475 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
476
477 * subr.el (find-tag-default-as-symbol-regexp): New function.
478 (find-tag-default-as-regexp): Move symbol regexp formatting to
479 `find-tag-default-as-symbol-regexp'.
480
137f57c8
S
4812013-12-20 E Sabof <esabof@gmail.com> (tiny change)
482
483 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
484 (Bug#14179)
485
f3a66082
SB
4862013-12-20 Stephen Berman <stephen.berman@gmx.net>
487
488 * calendar/todo-mode.el: New implementation of item insertion
489 commands and key bindings.
490 (todo-key-prompt): New face.
491 (todo-insert-item): New command.
492 (todo-insert-item--parameters): New defconst, replacing defvar
493 todo-insertion-commands-args-genlist.
494 (todo-insert-item--param-key-alist): New defconst, replacing
495 defvar todo-insertion-commands-arg-key-list.
496 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
497 (todo-insert-item--argsleft, todo-insert-item--apply-args)
498 (todo-insert-item--next-param): New functions.
499 (todo-insert-item--args, todo-insert-item--argleft)
500 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
501 New variables.
502 (todo-key-bindings-t): Change binding of "i" from
503 todo-insertion-map to todo-insert-item.
504 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
505 (todo-insertion-command-name, todo-insertion-commands-names)
506 (todo-define-insertion-command, todo-insertion-commands)
507 (todo-insertion-key-bindings, todo-insertion-map): Remove.
508
2f99433b
SB
5092013-12-20 Stephen Berman <stephen.berman@gmx.net>
510
511 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
512 (todo-toggle-item-highlighting): Use eval-and-compile instead of
513 eval-when-compile.
514 (todo-move-category): Allow choosing a non-existing todo file to
515 move the category to, and create that file.
516 (todo-default-priority): New user option.
517 (todo-set-item-priority): Use it.
518 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
519 (desktop-restore-file-buffer): Declare.
520 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
521 (todo-modes-set-2): Locally set desktop-save-buffer to
522 todo-desktop-save-buffer.
523 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
524 (auto-mode-alist): Add autoload cookie.
525
131e4695
BB
5262013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
527
528 * emacs-lisp/subr-x.el: Renamed from helpers.el.
529 helpers.el was a poor choice of name.
3cbfb935
BB
530 (string-remove-prefix): New function.
531 (string-remove-suffix): New function.
131e4695 532
c44de18d
MR
5332013-12-20 Martin Rudalics <rudalics@gmx.at>
534
535 Fix assignment for new window total sizes.
536 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
537 (window--pixel-to-total-1, window--pixel-to-total):
538 Fix calculation of new total sizes.
c44de18d 539
ca65efcc
VS
5402013-12-20 Vitalie Spinu <spinuvit@gmail.com>
541
542 * comint.el (comint-output-filter): Fix rear-nonsticky property
543 placement (Bug#16010).
544
a9574eb7
CY
5452013-12-20 Chong Yidong <cyd@gnu.org>
546
547 * faces.el (read-color): Minor fix for completion function.
548
b520f210
DG
5492013-12-20 Dmitry Gutov <dgutov@yandex.ru>
550
e0eb0550
JB
551 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
552 New option. (Bug#16182)
b520f210
DG
553 (ruby-smie--indent-to-stmt-p): Use it.
554 (ruby-smie-rules): Revert the logic in the handling of `when'.
555 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
556 (ruby-deep-arglist, ruby-deep-indent-paren)
557 (ruby-deep-indent-paren-style): Update docstrings to note that the
558 vars don't have any effect with SMIE.
559
26b75b45
JB
5602013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
561
562 * calc/calc.el (calc-enter, calc-pop): Use the variable
563 `calc-context-sensitive-enter'.
564
cf91cee7
LMI
5652013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
566
567 * net/shr.el (shr-insert): Protect against infloops in degenerate
568 tables.
569
51d971b4
RS
5702013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
571
572 * progmodes/octave.el (octave): Add link to manual and octave
573 homepage.
574 (octave-mode-menu): Link to octave-mode manual.
575
8c2e462a
LL
5762013-12-20 Leo Liu <sdl.web@gmail.com>
577
578 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
579 insertion using skeleton-end-newline. (Bug#16138)
580
501158bc
JL
5812013-12-20 Juri Linkov <juri@jurta.org>
582
583 * replace.el (occur-engine): Use `add-face-text-property'
584 to add the face property to matches and titles. (Bug#14645)
585
586 * hi-lock.el (hi-green): Use lighter color "light green" closer to
587 the palette of other hi-lock colors.
588 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
589
50ab1da6
JL
5902013-12-19 Juri Linkov <juri@jurta.org>
591
592 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
593 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
594 (minibuffer-history-symbol): Move variable declaration closer to
595 its usage.
596
597 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
598 (Bug#14785)
599
3d6e95e7
JL
6002013-12-19 Juri Linkov <juri@jurta.org>
601
602 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
603 New function.
604 (log-edit-hook): Add it to :options. (Bug#16170)
605
b41594fd
JL
6062013-12-19 Juri Linkov <juri@jurta.org>
607
608 * simple.el (eval-expression-print-format): Don't check for
609 command names and the last command. Always display additional
610 formats of the integer result in the echo area, and insert them
611 to the current buffer only with a zero prefix arg.
612 Display character when char-displayable-p is non-nil.
613 (eval-expression): With a zero prefix arg, set `print-length' and
614 `print-level' to nil, and insert the integer values from
615 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
616
617 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
618 `eval-last-sexp-arg-internal'. Doc fix.
619 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
620 `eval-last-sexp-print-value'. Doc fix.
621 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
622 Set `print-length' and `print-level' to nil when arg is zero.
623 (eval-last-sexp): Doc fix.
624 (eval-defun-2): Print the integer values from
625 `eval-expression-print-format' at the end.
626
627 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
628 values from `eval-expression-print-format' at the end.
629
630 * ielm.el (ielm-eval-input): Print the integer
631 values from `eval-expression-print-format' at the end.
632
8f2be364
TZ
6332013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
634
635 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
636 2013-12-11T19:01:44Z!tzz@lifelogs.com.
637
2230a6e3
SM
6382013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
641 (hl-line-highlight, global-hl-line-highlight): Use it.
642 (hl-line-overlay): Use defvar-local.
643
1269a680
JD
6442013-12-19 Jan Djärv <jan.h.d@swipnet.se>
645
646 * term/ns-win.el: Require dnd.
647 (global-map): Remove drag items.
648 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
649 (ns-set-background-at-mouse):
650 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
651 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
652 New functions.
1269a680 653
049638ad
GM
6542013-12-19 Glenn Morris <rgm@gnu.org>
655
656 * emacs-lisp/ert.el (ert-select-tests):
657 Fix string/symbol mixup. (Bug#16121)
658
ce41edb4
DG
6592013-12-19 Dmitry Gutov <dgutov@yandex.ru>
660
661 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
662 keywords to their parent.
663
7e1549c9
DG
6642013-12-19 Dmitry Gutov <dgutov@yandex.ru>
665
666 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
667 first arg to be a string (fixed dead code), or an operator symbol.
668 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
669 operator symbols.
670 (ruby-smie-rules): Remove parent token check in the `.' clause, it
671 did nothing. Don't respond to `(:after ".")', it will be called
672 with :before anyway. Remove the ` @ ' rule, it didn't seem to
673 change anything. Only return indentation for binary operators
674 when they are hanging. De-dent opening paren when its parent is
675 `.', otherwise it looks bad when the dot is not at bol or eol
676 (bug#16182).
677
3ee4cd64
JL
6782013-12-19 Juri Linkov <juri@jurta.org>
679
680 * replace.el (query-replace-read-args): Split a non-negative arg
681 and a negative arg into separate elements.
682 (query-replace, query-replace-regexp, replace-string)
683 (replace-regexp): Add arg `backward'. Doc fix.
684 (replace-match-maybe-edit): When new arg `backward' is non-nil,
685 move point to the beginning of the match.
686 (replace-search, replace-highlight): Use new arg `backward'
687 to set the value of `isearch-forward'.
688 (perform-replace): Add arg `backward' and use it to perform
689 replacement backward. (Bug#14979)
690
691 * isearch.el (isearch-query-replace): Use a negative prefix arg
692 to call `perform-replace' with a non-nil arg `backward'.
693
0cda6b7b
JL
6942013-12-18 Juri Linkov <juri@jurta.org>
695
696 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
697 to the default list. Move `log-edit-show-files' to the end.
698 Add more available functions to options.
699 (log-edit): Move default specific settings to
700 `log-edit-insert-message-template'. Don't move point.
701 (log-edit-insert-message-template): New function.
702 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
703 (Bug#16170)
704
b216f0a6
JL
7052013-12-18 Juri Linkov <juri@jurta.org>
706
707 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
708 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
709
1d1c55dc
LL
7102013-12-18 Leo Liu <sdl.web@gmail.com>
711
e9dc713d
JB
712 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
713 (Bug#16186)
1d1c55dc 714
64e4c76e
EZ
7152013-12-18 Eli Zaretskii <eliz@gnu.org>
716
717 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
718 formats for displaying file sizes when the -s switch is given.
719 Instead, compute a separate format for displaying the size in
720 blocks, which is displayed in addition to the "regular" size.
721 When -h is given in addition to -s, produce size in blocks in
722 human-readable form as well. (Bug#16179)
723
b2984e39
TH
7242013-12-18 Tassilo Horn <tsdh@gnu.org>
725
2230a6e3
SM
726 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
727 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 728
50ff2e06
CY
7292013-12-18 Chong Yidong <cyd@gnu.org>
730
0081bc84
CY
731 * cus-edit.el (custom-magic-alist): Fix "themed" description
732 (Bug#14348).
733
a7ee9424
CY
734 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
735 is non-nil, do not create a new entry in the symbol's theme-value
736 or theme-face property; update theme-settings only (Bug#14664).
18874304 737 (custom-available-themes): Doc fix.
a7ee9424 738
8f942537
CY
739 * cus-theme.el (custom-new-theme-mode-map): Add bindings
740 (Bug#15674).
741
50ff2e06
CY
742 * replace.el (occur-engine): Avoid infloop (Bug#7593).
743
83c60f60
KI
7442013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
745
746 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
747 (Bug#13914).
748
e0eb0550 7492013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
750
751 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
752
1f41ee56
GM
7532013-12-18 Glenn Morris <rgm@gnu.org>
754
755 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 756 * cus-start.el (load-prefer-newer): New option.
1f41ee56 757
e82134b1
LW
7582013-12-18 Le Wang <l26wang@gmail.com>
759
2230a6e3
SM
760 * comint.el (comint-previous-matching-input-from-input):
761 Retain point (Bug#13404).
e82134b1 762
33f5d4c1
CY
7632013-12-18 Chong Yidong <cyd@gnu.org>
764
765 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
766
ccc9f6dc
GM
7672013-12-18 Glenn Morris <rgm@gnu.org>
768
769 * mail/emacsbug.el (report-emacs-bug):
770 Only mention enable-multibyte-characters if non-standard.
771
33dd8e95
JL
7722013-12-17 Juri Linkov <juri@jurta.org>
773
774 * arc-mode.el (archive-extract-by-file): Check if directory exists
775 before deletion to not show irrelevant errors if it doesn't exist.
776
7a409b30
JL
7772013-12-17 Juri Linkov <juri@jurta.org>
778
779 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
780 (Bug#14751)
781
782 * net/eww.el (browse-web): Add alias to `eww'.
783 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
784 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
785
786 * net/browse-url.el (browse-url-browser-function): Move `eww'
787 closer to similar functions.
788
789 * startup.el (fancy-startup-screen, fancy-about-screen):
790 Set browse-url-browser-function to eww-browse-url locally.
791 (Bug#14751)
792
2d6b6005
SM
7932013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * window.el (window--pixel-to-total): Remove unused `mini' var.
796 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
797 (split-window): Remove unused `new' var.
798 (window--display-buffer): Remove unused `frame' and `delta' vars.
799 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
800 and display-width'.
801
cf2b7efc
MR
8022013-12-17 Martin Rudalics <rudalics@gmx.at>
803
804 * dired.el (dired-mark-pop-up):
805 * register.el (register-preview): Don't bind
806 split-height-threshold here since it's now done in
807 display-buffer-below-selected.
808
ed3af8a7 8092013-12-17 oblique <psyberbits@gmail.com> (tiny change)
810
811 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
812 xterm-rgb-convert-to-16bit.
813 (rxvt-register-default-colors): Standardize with
814 xterm-register-default-colors (Bug#14078).
815
76da3455
DK
8162013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
817
818 * simple.el (kill-region): Pass mark first, then point, so that
819 kill-append works right (Bug#12819).
820 (copy-region-as-kill, kill-ring-save): Likewise.
821
2b84d763
LL
8222013-12-17 Leo Liu <sdl.web@gmail.com>
823
824 * net/rcirc.el (rcirc-add-face):
825 * eshell/em-prompt.el (eshell-emit-prompt):
826 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
827 (Bug#16167)
828
e2f6a0bc
CY
8292013-12-17 Chong Yidong <cyd@gnu.org>
830
831 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
832 Suggested by Xue Fuqiao.
833
35b249a6
DG
8342013-12-17 Dmitry Gutov <dgutov@yandex.ru>
835
836 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
837
e9145444
SM
8382013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * net/shr.el (shr-insert-document): Remove unused var
841 `shr-preliminary-table-render'.
842 (shr-rescale-image): Remove unused arg `force'.
843 (shr-put-image): Update calls accordingly.
844 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
845
5556c0ce
DG
8462013-12-17 Dmitry Gutov <dgutov@yandex.ru>
847
848 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
849 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
850 :close-all, to see which indentation method to use (Bug#16116).
851 (smie-rules-function): Document the method :close-all.
852
11bade0a
LMI
8532013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
854
1c4b1e61
LMI
855 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
856
11bade0a
LMI
857 * net/eww.el (eww-display-html): If we can't find the anchor we're
858 looking for, then go to point-min.
859
8fb8c4f3
PE
8602013-12-16 Paul Eggert <eggert@cs.ucla.edu>
861
862 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
863 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
864 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
865 Expand dir too, in case it's relative.
866
6c8e0ae6
JL
8672013-12-16 Juri Linkov <juri@jurta.org>
868
869 * desktop.el (desktop-auto-save-timeout): Change default to
870 `auto-save-timeout'. Doc fix.
871 (desktop-save): Skip the timestamp in desktop-saved-frameset
872 when checking for auto-save changes.
873 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
874 `desktop-auto-save' is called repeatedly by the idle timer.
875 (desktop-auto-save-set-timer): Replace `run-with-timer' with
876 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
877 (Bug#15331)
878
2178e858
JL
8792013-12-16 Juri Linkov <juri@jurta.org>
880
881 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
882 (Bug#16035)
883 (isearch-pre-command-hook): Check `this-command' for symbolp.
884
39cb42c6
SM
8852013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
886
887 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
888
5b9b750a
TZ
8892013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
890
891 * progmodes/cfengine.el (cfengine3--current-word): Remove.
892 (cfengine3--current-function): Bring in the current-function
893 functionality from `cfengine3--current-word'.
894 (cfengine3-completion-function): Bring in the
895 bounds-of-current-word functionality from
896 `cfengine3--current-word'.
897
d144ef06
MR
8982013-12-16 Martin Rudalics <rudalics@gmx.at>
899
39cb42c6
SM
900 * window.el (display-buffer-below-selected):
901 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 902
a8bbe298
LL
9032013-12-16 Leo Liu <sdl.web@gmail.com>
904
905 * progmodes/compile.el (compile-goto-error): Do not push-mark.
906 Remove NOMSG arg and all uses changed.
907
2013a2f9
SM
9082013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
911 (cua--deactivate-rectangle): Don't deactivate the mark.
912 (cua-set-rectangle-mark): Don't set mark-active since
913 cua--activate-rectangle already does it for us.
914 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
915 non-rectangular region.
916
917 * emulation/cua-base.el (cua-repeat-replace-region):
918 Use with-current-buffer.
919
920 * net/gnutls.el: Use cl-lib.
921 (gnutls-negotiate): `mapcan' -> cl-mapcan.
922
5ae811dd
TZ
9232013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
924
925 * emacs-lisp/package.el (package-built-in-p): Support both
926 built-in and the package.el converted package descriptions.
927 (package-show-package-list): Allow keywords.
928 (package-keyword-button-action): Use it instead of
929 `finder-list-matches'.
930 (package-menu-filter-interactive): Interactive filtering (by
931 keyword) function.
932 (package-menu--generate): Support keywords and change keymappings
933 and headers when they are given.
934 (package--has-keyword-p): Helper function.
935 (package-menu--refresh): Use it.
936 (package--mapc): Helper function.
937 (package-all-keywords): Use it.
938 (package-menu-mode-map): Set up menu items and keybindings to
939 provide a filtering UI.
940
31b4827e
TZ
9412013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
942
943 * net/gnutls.el (gnutls-verify-error): New defcustom to control
944 the behavior when a certificate fails validation. Defaults to
945 old behavior: never abort, just warn.
946 (gnutls-negotiate): Use it.
947
f93cc74f
MR
9482013-12-14 Martin Rudalics <rudalics@gmx.at>
949
950 * window.el (display-buffer-below-selected): Never split window
951 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
952
f77d7d17
TW
9532013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
954
955 * emacs-lisp/package.el (package--prepare-dependencies): New function.
956 (package-buffer-info): Use it (bug#15108).
aa2bddd7 957
7514d3f8
SM
9582013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
959
aa2bddd7 960 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 961 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 962
276bc333
DG
9632013-12-14 Dmitry Gutov <dgutov@yandex.ru>
964
965 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
966 open-paren tokens when preceded by a open-paren, too.
967 (ruby-smie-rules): Handle virtual indentation after open-paren
968 tokens specially. If there is code between it and eol, return the
969 column where is starts (Bug#16118).
970
d43957f3
TZ
9712013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
972
a5c1ac0c 973 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 974 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
975 (cfengine3--current-word): Fix parameters.
976 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
977 (cfengine3-completion-function, cfengine3--current-function):
978 Use `assq' for symbols.
d43957f3
TZ
979 (cfengine3--current-function): Fix `cfengine3--current-word' call.
980
06a4f110
GM
9812013-12-13 Glenn Morris <rgm@gnu.org>
982
983 * loadup.el (load-path): Warn if site-load or site-init changes it.
984 No more need to reset it when bootstrapping.
985
978a5fda
TZ
9862013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
987
988 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
989 locations for cf-promises.
990 (cfengine-mode-syntax-functions-regex): New caching variable.
991 (cfengine3-fallback-syntax): Fallback syntax for cases where
992 cf-promises doesn't run.
993 (cfengine3--current-word): Reimplement using
994 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
995 (cfengine3-completion-function, cfengine3--current-function):
996 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
997 (cfengine3-clear-syntax-cache): New function.
998 (cfengine3-make-syntax-cache): Simplify and create
999 `cfengine-mode-syntax-functions-regex' on demand.
1000 (cfengine3-format-function-docstring): Don't call
1001 `cfengine3-make-syntax-cache' explicitly.
1002
71e6691e
MR
10032013-12-13 Martin Rudalics <rudalics@gmx.at>
1004
1005 Fix windmove-find-other-window broken after pixelwise resizing
1006 (Bug#16017).
1007 * windmove.el (windmove-other-window-loc): Revert change from
1008 2013-12-04.
1009 (windmove-find-other-window): Call window-in-direction.
1010 * window.el (window-in-direction): New arguments SIGN, WRAP and
1011 MINI to emulate original windmove-find-other-window behavior.
1012
84c73ba0
DG
10132013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1014
1015 * simple.el (blink-matching--overlay): New variable.
1016 (blink-matching-open): Instead of moving point, highlight the
1017 matching paren with an overlay
1018 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1019
1020 * faces.el (paren-showing-faces, show-paren-match)
1021 (show-paren-mismatch): Move from paren.el.
1022
b9e20952
LL
10232013-12-13 Leo Liu <sdl.web@gmail.com>
1024
1025 * indent.el (indent-region): Disable progress reporter in
1026 minibuffer. (Bug#16108)
1027
1028 * bindings.el (visual-order-cursor-movement): Fix version.
1029
ce030451
FEG
10302013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1031
1032 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1033 Also match after beginning of line.
1034 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1035 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1036
4a9c6865
JL
10372013-12-13 Juri Linkov <juri@jurta.org>
1038
1039 * simple.el <Keypad support>: Remove key bindings duplicated
1040 with bindings.el. (Bug#14397)
1041
2bc170c3
JL
10422013-12-13 Juri Linkov <juri@jurta.org>
1043
1044 * comint.el (comint-mode-map): Replace `delete-char' with
1045 `delete-forward-char'. (Bug#16109)
1046
bc9222c9
FEG
10472013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1048
aa2bddd7 1049 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1050 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1051
cb3a1380
SM
10522013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1055 (advice--make): Pay attention to `depth'.
1056 (advice--make-1): Don't autoload commands eagerly.
1057 * emacs-lisp/elp.el (elp-instrument-function):
1058 * emacs-lisp/trace.el (trace-function-internal):
1059 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1060
1061 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1062
01633a17
EZ
10632013-12-12 Eli Zaretskii <eliz@gnu.org>
1064
1065 * term/w32-win.el (w32-handle-dropped-file):
1066 * startup.el (normal-top-level):
1067 * net/browse-url.el (browse-url-file-url):
1068 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1069 decode file names using 'utf-8' rather than
1070 file-name-coding-system.
1071
09faee72
FEG
10722013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1073
1074 * progmodes/python.el (python-indent-context)
1075 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1076 behavior for comment blocks. (Bug#15916)
09faee72 1077
f4f84024 10782013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1079
cb3a1380
SM
1080 * progmodes/python.el (python-indent-calculate-indentation):
1081 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1082 operators when they are just string constituents. (Bug#15812)
1083
d5ccb7be
JL
10842013-12-12 Juri Linkov <juri@jurta.org>
1085
1086 * uniquify.el (uniquify-buffer-name-style): Change default to
1087 `post-forward-angle-brackets'.
1088
1089 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1090 `uniquify'. Change default to `post-forward-angle-brackets'.
1091
7b3f5679
GM
10922013-12-11 Glenn Morris <rgm@gnu.org>
1093
1094 * emacs-lisp/package.el (finder-list-matches):
1095 Autoload rather than falsely declaring.
1096
f4fe8fdd
TZ
10972013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1098
1099 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1100 (eww-mode-map): Use them.
1101
3c29190f
MR
11022013-12-11 Martin Rudalics <rudalics@gmx.at>
1103
1104 * window.el (display-buffer-in-side-window): Fix doc-string
1105 (Bug#16115).
1106
0cd616a2
JB
11072013-12-11 Juanma Barranquero <lekktu@gmail.com>
1108
1109 * vc/vc-git.el: Silence byte-compiler warnings.
1110 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1111 (log-edit-set-header): Declare.
1112
3ef8e0d1
EZ
11132013-12-11 Eli Zaretskii <eliz@gnu.org>
1114
1115 * Makefile.in (custom-deps, finder-data): Run output file names
1116 through unmsys--file-name. (Bug#16099)
1117
afdadaf7
SM
11182013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1119
7ae3ae39 1120 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1121 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1122
5b4f37ab
SM
1123 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1124 instead of deleting the selection "by hand" (bug#16098).
1125 Rely on insert-for-yank to yank rectangles.
1126 (cua-highlight-region-shift-only): Mark obsolete.
1127 (cua-mode): Don't enable/disable transient-mark-mode,
1128 shift-select-mode (cua-mode works both with and without them), and
1129 pc-selection-mode (obsolete).
1130 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1131 (cua--deactivate-rectangle): Deactivate it.
1132
4b72c12b
SM
1133 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1134 (delete-selection-helper): Make sure yank starts at the top of the
1135 deleted region.
1136 (minibuffer-keyboard-quit): Use region-active-p.
1137
e82af72d
SM
1138 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1139
afdadaf7
SM
1140 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1141 to `delete' (bug#16109).
1142
ed4bc201
RS
11432013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1144
1145 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1146 info manual and show keybindings and set `:group' keyword.
1147
bb8097b9
JL
11482013-12-11 Juri Linkov <juri@jurta.org>
1149
1150 * delsel.el (delete-active-region): Let-bind `this-command'
1151 to prevent `kill-region' from changing its original value.
1152 (delete-selection-helper): Handle `overwrite-mode' for the type
1153 `kill' exactly the same way as for the type `t'.
1154 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1155 Support more commands. (Bug#13312)
1156
c1916ff5
JL
11572013-12-11 Juri Linkov <juri@jurta.org>
1158
1159 * bindings.el: Map kp keys to non-kp keys systematically
1160 with basic modifiers control, meta and shift. (Bug#14397)
1161
7514d3f8 11622013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1163
1164 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1165 "Close browser" menu items. Fix wrong function of "List
1166 bookmarks".
1167
4cc51eaf
JL
11682013-12-11 Juri Linkov <juri@jurta.org>
1169
1170 * misearch.el (multi-isearch-buffers): Set the value of
1171 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1172 arg of isearch-forward to t.
1173 (multi-isearch-buffers-regexp): Set the value of
1174 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1175 arg of isearch-forward-regexp to t.
1176 (multi-isearch-files): Set the value of
1177 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1178 arg of isearch-forward to t.
1179 (multi-isearch-files-regexp): Set the value of
1180 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1181 arg of isearch-forward-regexp to t. (Bug#16035)
1182
1183 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1184 arg of isearch-forward to t.
1185 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1186 arg of isearch-forward-regexp to t.
1187 (dired-isearch-filter-filenames): Remove unnecessary check for
1188 `dired-isearch-filenames'.
1189
1190 * comint.el (comint-history-isearch-backward):
1191 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1192 (comint-history-isearch-backward-regexp):
1193 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1194
ceac12b7
EZ
11952013-12-10 Eli Zaretskii <eliz@gnu.org>
1196
1197 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1198 unmsys--file-name. (Bug#16099)
1199
5a565782
TZ
12002013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1201
cb3a1380
SM
1202 * emacs-lisp/package.el (package-keyword-button-action):
1203 Remove finder.el require dependency.
5a565782 1204
a81fc7ba
TZ
12052013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1206
1207 * emacs-lisp/package.el: Require finder.el.
1208 (describe-package-1): Add keyword buttons.
1209 (package-make-button): New convenience function.
1210 (package-keyword-button-action): Keyword button action using
e0eb0550 1211 `finder-list-matches'.
a81fc7ba 1212
6aaca951
EZ
12132013-12-09 Eli Zaretskii <eliz@gnu.org>
1214
1215 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1216 last commit.
1217
a1099a91
MA
12182013-12-09 Michael Albinus <michael.albinus@gmx.de>
1219
1220 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1221 symlinked files.
1222
8212d9c0
DG
12232013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1224
1225 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1226 after the end of a percent literal.
1227
8f48d131
CD
12282013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1229
cb3a1380
SM
1230 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1231 Handle caret-delimited strings (Bug#16079).
8f48d131 1232
ff8c9764
DG
12332013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1234
cb3a1380
SM
1235 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1236 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1237 `ruby-parse-partial' (Bug#16078).
1238
d64643b4
LL
12392013-12-09 Leo Liu <sdl.web@gmail.com>
1240
1241 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1242
47e59c66
DG
12432013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1244
1245 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1246 (js-switch-indent-offset): New option.
1247 (js--proper-indentation): Use it. And handle the case when
1248 "default" is actually a key in an object literal.
1249 (js--same-line): New function.
1250 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1251 (js--indent-in-array-comp, js--array-comp-indentation):
1252 New functions.
47e59c66
DG
1253 (js--proper-indentation): Use them, to handle array comprehension
1254 continuations.
1255
974ebc9c
LL
12562013-12-08 Leo Liu <sdl.web@gmail.com>
1257
1258 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1259 (flymake-make-overlay): Remove arg MOUSE-FACE.
1260 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1261
27262e39
SM
12622013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1263
1264 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1265 New function.
1266 (redisplay-highlight-region-function): Use it.
1267
1268 * emulation/cua-base.el (cua--explicit-region-start)
1269 (cua--last-region-shifted): Remove.
1270 (cua--deactivate): Use deactivate-mark.
1271 (cua--pre-command-handler-1): Don't handle shift-selection.
1272 (cua--post-command-handler-1): Don't change transient-mark-mode.
1273 (cua--select-keymaps): Use region-active-p rather than
1274 cua--explicit-region-start or cua--last-region-shifted.
1275 (cua-mode): Enable shift-select-mode.
1276
6407822c
LL
12772013-12-08 Leo Liu <sdl.web@gmail.com>
1278
27262e39
SM
1279 * progmodes/flymake.el (flymake-popup-current-error-menu):
1280 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1281 (flymake-posn-at-point-as-event, flymake-popup-menu)
1282 (flymake-make-emacs-menu): Remove. (Bug#16077)
1283
00a2b823
SM
12842013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1285
02033d49
SM
1286 * rect.el (rectangle-mark-mode): Activate mark even if
1287 transient-mark-mode is off (bug#16066).
1288 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1289 is > mark and at bolp.
1290
6f8dfccf
SM
1291 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1292 (region-extract-function): Use it.
1293 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1294 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1295 Delete functions.
1296 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1297 kill-ring-save, kill-region, delete-char, delete-forward-char.
1298 Ignore self-insert-iso.
1299
1300 * emulation/cua-gmrk.el (cua--init-global-mark):
1301 Ignore `self-insert-iso'.
1302
1303 * emulation/cua-base.el (cua--prefix-copy-handler)
1304 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1305 checking cua--rectangle.
1306 (cua-delete-region): Use region-extract-function.
1307 (cua-replace-region): Delete function.
1308 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1309 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1310 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1311 (cua--init-keymaps): Don't remap delete-selection commands.
1312 (cua-mode): Use delete-selection-mode instead of rolling our own
1313 (bug#16085).
1314
1315 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1316 Obey region-extract-function.
1317
00a2b823
SM
1318 Make registers and delete-selection-mode work on rectangles.
1319 * register.el (describe-register-1): Don't modify the register's value.
1320 (copy-to-register): Obey region-extract-function.
1321 * delsel.el (delete-active-region): Obey region-extract-function.
1322
a92fa5f1
LL
13232013-12-08 Leo Liu <sdl.web@gmail.com>
1324
1325 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1326 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1327 (flymake-compilation-prevents-syntax-check)
1328 (flymake-start-syntax-check-on-newline)
1329 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1330 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1331 (flymake-xml-program, flymake-master-file-dirs)
1332 (flymake-master-file-count-limit)
1333 (flymake-allowed-file-name-masks): Relocate.
1334 (flymake-makehash, flymake-float-time)
1335 (flymake-replace-regexp-in-string, flymake-split-string)
1336 (flymake-get-temp-dir): Remove.
1337 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1338 (flymake-current-row, flymake-selected-frame)
1339 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1340 related functions. (Bug#16077)
1341
73c8ceea
BB
13422013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1343
1344 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1345
faec28d9
TH
13462013-12-07 Tassilo Horn <tsdh@gnu.org>
1347
1348 * help-fns.el (describe-function-1): Use new advice-* functions
1349 rather than old ad-* functions. Fix function type description and
1350 source links for advised functions and subrs.
1351
e330b646
LMI
13522013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1353
00a2b823 1354 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1355
4803595d
MA
13562013-12-06 Michael Albinus <michael.albinus@gmx.de>
1357
1358 * progmodes/compile.el (compilation-start):
1359 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1360
1361 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1362 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1363
fa834a93
DG
13642013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1365
00a2b823
SM
1366 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1367 Touch up the last change.
fa834a93 1368
b2856a6f
LL
13692013-12-06 Leo Liu <sdl.web@gmail.com>
1370
1371 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1372 (inferior-octave-startup): Always use "octave> " for prompt.
1373 (octave-goto-function-definition)
1374 (octave-sync-function-file-names)
1375 (octave-find-definition-default-filename): Remove redundant backquotes.
1376
af67e79a
DG
13772013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1378
1379 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1380 syntax for `?'.
1381 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1382 where appropriate already.
1383 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1384 end of method names (Bug#15874).
1385
bf093209
JL
13862013-12-06 Juri Linkov <juri@jurta.org>
1387
1388 * isearch.el (isearch--saved-overriding-local-map):
1389 New internal variable.
1390 (isearch-mode): Set it to the initial value of
1391 `overriding-terminal-local-map'.
1392 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1393 with `isearch--saved-overriding-local-map'. (Bug#16035)
1394
16588fad
DG
13952013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1396
00a2b823
SM
1397 * progmodes/octave.el (inferior-octave-completion-table):
1398 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1399 (Bug#11906). Update all references.
1400
1401 * minibuffer.el (completion-table-with-cache): New function.
1402
bf4906d7
CD
14032013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1404
1405 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1406
ff69c18f
TZ
14072013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1408
1409 * net/eww.el (eww-current-source): New variable to store page
1410 source.
1411 (eww-display-html, eww-mode, eww-save-history)
1412 (eww-restore-history): Use it.
1413 (eww-view-source): New command to view page source.
1414 Opportunistically uses `html-mode' to highlight the buffer.
1415 (eww-mode-map): Install it.
1416
b85eff45
MA
14172013-12-05 Michael Albinus <michael.albinus@gmx.de>
1418
1419 * net/dbus.el (dbus-unregister-service)
1420 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1421 Fix docstring.
1422 (dbus-unregister-service): Skip :serial entries in
1423 `dbus-registered-objects-table'.
1424 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1425
39eb0899
TZ
14262013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1427
1428 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1429 around keywords with extra `split-string' argument.
1430
456760a5
MR
14312013-12-04 Martin Rudalics <rudalics@gmx.at>
1432
1433 * windmove.el (windmove-other-window-loc): Handle navigation
1434 between windows (excluding the minibuffer window - Bug#16017).
1435
81961e4c
MA
14362013-12-04 Michael Albinus <michael.albinus@gmx.de>
1437
1438 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1439 in D-Bus type syntax.
1440 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1441 preserve unibyte strings. (Bug#16048)
1442
8497f938
SM
14432013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1446 Call force-mode-line-update is the proper buffer (bug#16042).
1447
dda61916
DG
14482013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1449
1450 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1451 `log-edit-remember-comment', make argument optional. Adjust all
1452 callers.
1453 (log-edit-mode): Add `log-edit-remember-comment' to
1454 `kill-buffer-hook' locally.
1455 (log-edit-kill-buffer): Don't remember comment explicitly since
1456 the buffer is killed anyway.
1457
c085e5b9
JL
14582013-12-04 Juri Linkov <juri@jurta.org>
1459
1460 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1461 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1462
e0eb0550 14632013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1464
1465 * notifications.el (notifications-close-notification): Call the
81961e4c 1466 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1467
39fa32d6
KY
14682013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1469
1470 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1471
9139632a
JL
14722013-12-03 Juri Linkov <juri@jurta.org>
1473
1474 * progmodes/compile.el (compilation-start): Rename window alist
1475 entry `no-display-ok' to `allow-no-window'.
1476
1477 * simple.el (shell-command): Add window alist entry
1478 `allow-no-window' to `display-buffer'.
1479 (async-shell-command): Doc fix.
1480
1481 * window.el (display-buffer-no-window): New action function.
1482 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1483
0f457a37
DG
14842013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1485
1486 * vc/log-edit.el (log-edit-set-header): Extract from
1487 `log-edit-toggle-header'.
1488 (log-edit-extract-headers): Separate the summary, when extracted
1489 from header, from the rest of the message with an empty line.
1490
1491 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1492 line, if present, to the Summary header.
1493
0962f376
SM
14942013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1497 in current-buffer (bug#16029).
1498
f345395c
HE
14992013-12-02 Helmut Eller <eller.helmut@gmail.com>
1500
1501 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1502 (debugger-mode-map): Bind it.
1503 (debugger--backtrace-base): New function.
1504 (debugger-eval-expression): Use it.
1505 (debugger-frame-number): Skip local vars when present.
1506 (debugger--locals-visible-p, debugger--insert-locals)
1507 (debugger--show-locals, debugger--hide-locals): New functions.
1508
a8a15d9d
MA
15092013-12-02 Michael Albinus <michael.albinus@gmx.de>
1510
1511 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1512 "LC_ALL".
1513 (tramp-get-remote-locale): New defun.
1514 (tramp-open-connection-setup-interactive-shell): Use it.
1515
0518b057
LL
15162013-12-02 Leo Liu <sdl.web@gmail.com>
1517
1518 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1519
1520 * progmodes/sh-script.el (sh-shell-process):
1521 * progmodes/octave.el (inferior-octave-process-live-p):
1522 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1523 (gdb-inferior-io-sentinel):
1524 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1525
3adc9c6d
DG
15262013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1527
1528 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1529 `save-selected-window' to `log-edit-hide-buf'. This makes
1530 `log-edit-show-files' idempotent.
1531 (log-edit-show-files): Mark the new window as dedicated.
1532
47e8b74e
DG
15332013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1534
1535 * vc/log-edit.el (log-edit-mode-map): Add binding for
1536 `log-edit-kill-biffer'.
1537 (log-edit-hide-buf): Add a FIXME comment.
1538 (log-edit-add-new-comment): New function, extracted from
1539 `log-edit-done'.
1540 (log-edit-done, log-edit-add-to-changelog): Use it.
1541 (log-edit-kill-buffer): New command.
1542
1f6e1bb0
LMI
15432013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1544
1545 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1546 instead of killing the buffer.
1547
fb651d15
SM
15482013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1551
8feacce0
RS
15522013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1553
fb651d15 1554 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1555 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1556 (eww-form-checkbox, eww-toggle-checkbox):
1557 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1558
e0eb0550 1559 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1560 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1561 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1562 no :src tag was specified.
1563
fb651d15 1564 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1565 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1566 Use \\` to match beginning of string instead of ^.
1567 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1568 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1569
177948a5
RS
1570 * net/shr.el (shr-tag-video): Display content for video if no
1571 poster is available.
eb2dd24d 1572 (shr-tag-audio): Add support for <audio> tag.
177948a5 1573
e0eb0550 1574 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1575 (eww-process-text-input): Treat input types in
1576 `eww-text-input-types' as text.
1577
8feacce0
RS
1578 * net/shr.el (shr-tag-table): Fix comment typo.
1579
513562a1
LMI
15802013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1581
1582 * net/eww.el (eww-follow-link): New command to avoid reloading
1583 pages when we follow #target links (bug#15243).
de8a5633 1584 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1585
9dd99753
KN
15862013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1587
1588 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1589 forms.
1590
3e9876de
LMI
15912013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1592
1593 * net/eww.el (eww-restore-history): Update the window title after
1594 moving in the history.
ab6dea82 1595 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1596
52789f7f
DG
15972013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1598
1599 * vc/log-edit.el (log-edit-mode-map): Add binding for
1600 `log-edit-beginning-of-line'.
1601 (log-edit-setup-add-author): New user option.
1602 (log-edit-beginning-of-line): New command.
1603 (log-edit): Move major mode call above the contents setup so that
1604 the local variable values are already applied.
1605 (log-edit): Only insert "Author: " when
1606 `log-edit-setup-add-author' is non-nil.
1607 (log-edit): When SETUP is non-nil, position point after ": "
1608 instead of point-min.
1609
2e6710c3
GM
16102013-12-01 Glenn Morris <rgm@gnu.org>
1611
1612 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1613
fadec31f
EZ
16142013-11-30 Eli Zaretskii <eliz@gnu.org>
1615
1616 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1617 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1618 visible. (Bug#16014)
1619
10634b40 16202013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1621
1622 Support resizing frames and windows pixelwise.
1623 * cus-start.el (frame-resize-pixelwise)
1624 (window-resize-pixelwise): New entries.
1625 * emacs-lisp/debug.el (debug): Use window-total-height instead
1626 of window-total-size.
1627 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1628 * help.el (describe-bindings-internal): Call help-buffer
1629 (temp-buffer-max-width): New option.
1630 (resize-temp-buffer-window, help-window-setup)
1631 (with-help-window): Rewrite.
1632 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1633 dragging dividers.
1634 * window.el (frame-char-size, window-min-pixel-height)
1635 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1636 (window-min-pixel-width, window-safe-min-pixel-size)
1637 (window-combination-p, window-safe-min-size)
1638 (window-resizable-p, window--size-to-pixel)
1639 (window--pixel-to-size, window--resize-apply-p): New functions.
1640 (window-safe-min-height): Fix doc-string.
1641 (window-size, window-min-size, window--min-size-1)
1642 (window-sizable, window-sizable-p, window--min-delta-1)
1643 (window-min-delta, window--max-delta-1, window-max-delta)
1644 (window--resizable, window--resizable-p, window-resizable)
1645 (window-full-height-p, window-full-width-p, window-at-side-p)
1646 (window--in-direction-2, window-in-direction)
1647 (window--resize-reset-1, window--resize-mini-window)
1648 (window-resize, window-resize-no-error)
1649 (window--resize-child-windows-normal)
1650 (window--resize-child-windows, window--resize-siblings)
1651 (window--resize-this-window, window--resize-root-window)
1652 (window--resize-root-window-vertically)
1653 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1654 (maximize-window, minimize-window, delete-window)
1655 (quit-restore-window, window-split-min-size, split-window)
1656 (balance-windows-2, balance-windows)
1657 (balance-windows-area-adjust, balance-windows-area)
1658 (window--state-get-1, window-state-get, window--state-put-1)
1659 (window--state-put-2, window-state-put)
fb651d15
SM
1660 (display-buffer-record-window, window--display-buffer):
1661 Make functions handle pixelwise sizing of windows.
880e6158 1662 (display-buffer--action-function-custom-type)
fb651d15
SM
1663 (display-buffer-fallback-action):
1664 Add display-buffer-in-previous-window.
880e6158
MR
1665 (display-buffer-use-some-window): Resize window to height it had
1666 before.
1667 (fit-window-to-buffer-horizontally): New option.
1668 (fit-frame-to-buffer): Describe new values.
1669 (fit-frame-to-buffer-bottom-margin): Replace with
1670 fit-frame-to-buffer-margins.
1671 (window--sanitize-margin): New function.
1672 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1673 using window-text-pixel-size.
1674
f9b697dd
GM
16752013-11-30 Glenn Morris <rgm@gnu.org>
1676
3e2fb4db
GM
1677 * emacs-lisp/bytecomp.el (byte-compile-form):
1678 Make the `interactive-only' warning like the `obsolete' one.
1679 * comint.el (comint-run):
1680 * files.el (insert-file-literally, insert-file):
1681 * replace.el (replace-string, replace-regexp):
1682 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1683 (goto-line, insert-buffer, next-line, previous-line):
1684 Tweak `interactive-only' spec.
1685
f9b697dd
GM
1686 Stop keeping (most) generated cedet grammar files in the repository.
1687 * Makefile.in (semantic): New.
1688 (compile-main): Depend on semantic.
1689
da048127
SM
16902013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1691
7784b779
SM
1692 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1693 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1694
4e36a6a6
SM
1695 * uniquify.el (uniquify-buffer-name-style): Change default.
1696
1697 * loadup.el: Preload "uniquify".
1698
e0ba1308
SM
1699 * time.el (display-time-update): Update all mode lines (bug#15999).
1700
da048127
SM
1701 * electric.el (electric-indent-mode): Enable by default.
1702 * loadup.el: Preload "electric".
1703
015b3b3e
BB
17042013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1705
1706 * emacs-lisp/helpers.el (string-empty-p): New function.
1707 (string-blank-p): New function.
1708
7efb806d
AP
17092013-11-29 Andreas Politz <politza@hochschule-trier.de>
1710
1711 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1712 (Bug#14029).
1713
c8f0efc2
AP
17142013-11-29 Andreas Politz <politza@fh-trier.de>
1715 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1716 allow non-lambda lists as functions.
1717 (imenu--in-alist): Don't recurse into non-subalists.
1718 (imenu): Don't pass function itself as an argument (Bug#14029).
1719
bd15d9d1
SM
17202013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * progmodes/python.el (python-mode-map): Remove binding for ":".
1723 (python-indent-electric-colon): Remove command.
1724 (python-indent-post-self-insert-function): Integrate the previous code
1725 of python-indent-electric-colon. Make it conditional on
1726 electric-indent-mode.
1727 (python-mode): Add ?: to electric-indent-chars.
1728 Move python-indent-post-self-insert-function to the end of
1729 post-self-insert-hook.
1730
1b10adb6
SM
17312013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1732
655ab9a3
SM
1733 * doc-view.el (doc-view-goto-page): Update mode-line.
1734
1b10adb6
SM
1735 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1736
7e3bf78c
GM
17372013-11-27 Glenn Morris <rgm@gnu.org>
1738
1739 * international/charprop.el, international/uni-bidi.el:
1740 * international/uni-category.el, international/uni-combining.el:
1741 * international/uni-comment.el, international/uni-decimal.el:
1742 * international/uni-decomposition.el, international/uni-digit.el:
1743 * international/uni-lowercase.el, international/uni-mirrored.el:
1744 * international/uni-name.el, international/uni-numeric.el:
1745 * international/uni-old-name.el, international/uni-titlecase.el:
1746 * international/uni-uppercase.el:
1747 Remove generated files from VCS repository.
1748
fb6a5d68
EZ
17492013-11-27 Eli Zaretskii <eliz@gnu.org>
1750
1751 * filenotify.el (file-notify-add-watch): Don't special-case
1752 w32notify when computing the directory to watch.
1753
cb6c95a3
GM
17542013-11-27 Glenn Morris <rgm@gnu.org>
1755
20372d0c
GM
1756 Make bootstrap without generated uni-*.el files possible again.
1757 * loadup.el: Update command-line-args checking for unidata-gen.
1758 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1759 * composite.el, international/characters.el:
1760 Handle unicode tables being undefined.
1761
52d6635f 1762 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1763 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1764 (compile-main): Depend on leim rule.
1765 (leim): New rule.
1766 * loadup.el: Move leim-list.el to leim/ subdirectory.
1767 * startup.el (normal-top-level): No more leim directory.
1768 * international/ja-dic-cnv.el (skkdic-convert):
1769 Disable version-control and autoloads in output files.
1770 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1771 Disable version-control and autoloads in output files.
1772 * leim/quail: Move here from ../leim.
1773 * leim/quail/hangul.el (hangul-input-method-activate):
1774 Add autoload cookie.
1775 (generated-autoload-load-name): Set file-local value.
1776 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1777 (generated-autoload-load-name): Set file-local value.
1778
7514d3f8 17792013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 1780
e0eb0550 1781 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 1782 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 1783 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1784
0e2c793f
EZ
17852013-11-26 Eli Zaretskii <eliz@gnu.org>
1786
1787 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1788 reading output from Diff on MS-Windows and MS-DOS.
1789
447bdcb8
BB
17902013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1791
1792 * emacs-lisp/helpers.el (string-reverse): New function.
1793
5fbf6856
MA
17942013-11-26 Michael Albinus <michael.albinus@gmx.de>
1795
1796 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1797 names on MS Windows, like "/[::1]:".
1798
1799 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1800 SWITCHES.
1801
624780f0
GM
18022013-11-26 Glenn Morris <rgm@gnu.org>
1803
0bf3f0fa
GM
1804 * progmodes/python.el (python-indent-guess-indent-offset):
1805 Avoid corner-case error. (Bug#15975)
1806
624780f0
GM
1807 Preload leim-list.el. (Bug#4789)
1808 * loadup.el: Load leim-list.el when found.
1809 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1810
4301875e 18112013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1812
1813 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1814
4301875e
BB
1815 * emacs-lisp/helpers.el (string-join): New function.
1816
1633a815 18172013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1818
1819 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1820 Mark as obsolete and replace it with a symbol property.
1821 (byte-compile-form): Use new 'interactive-only property.
1822 * comint.el, files.el, replace.el, simple.el:
1823 Apply new 'interactive-only properly.
1824
00139435
MR
18252013-11-25 Martin Rudalics <rudalics@gmx.at>
1826
1827 * window.el (display-buffer-at-bottom): Make sure that
1828 split-window-sensibly creates the new window on bottom
1829 (Bug#15961).
1830
5f5b128d
DK
18312013-11-23 David Kastrup <dak@gnu.org>
1832
1833 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1834 on the conflict markers when available.
1835 (smerge--get-marker): New function.
1836 (smerge-end-re, smerge-base-re): Add subgroup.
1837
623891e5
SM
18382013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * frame.el (handle-focus-in, handle-focus-out): Add missing
1841 interactive spec.
1842
05ca27d8
MA
18432013-11-25 Michael Albinus <michael.albinus@gmx.de>
1844
1845 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1846 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1847
511fa0d3
SM
18482013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1849
e82ad66c
SM
1850 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1851 (gomoku--last-pos): New var.
1852 (gomoku--intangible-chars): New const.
1853 (gomoku--intangible): New function.
1854 (gomoku-mode): Use it. Derive from special-mode.
1855 (gomoku-move-up): Adjust line count.
1856 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1857 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1858 Simplify accordingly.
1859
511fa0d3
SM
1860 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1861 Remove blink-cursor code.
1862 (blink-cursor-timer-function, blink-cursor-suspend):
1863 Don't special-case GUIs.
1864 (blink-cursor-mode): Use focus-in/out-hook.
1865
6f20dd03
DG
18662013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1867
1868 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1869 work when annotation is invisible (Bug#13886).
1870
431dec31 18712013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1872
1873 * json.el (json-alist-p): Only return non-nil if the alist has
1874 simple keys (Bug#13518).
1875
431dec31 18762013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1877
1878 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1879 when control-statement is the first statement in a buffer (Bug#15956).
1880
ee4f0261
DG
18812013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1882
1883 * imenu.el (imenu-generic-skip-comments-and-strings):
1884 New option (Bug#15560).
1885 (imenu--generic-function): Use it.
1886
c484f866
JS
18872013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1888
e9dc713d
JB
1889 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1890 (Bug#13898)
c484f866 1891
41ce6f70
BB
18922013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1893
b55aea38
BB
1894 * emacs-lisp/helpers.el: Add some string helpers.
1895 (string-trim-left): Removes leading whitespace.
1896 (string-trim-right): Removes trailing whitespace.
1897 (string-trim): Removes leading and trailing whitespace.
1898
41ce6f70
BB
1899 * subr.el (string-suffix-p): New function.
1900
3cfb6af3
GM
19012013-11-23 Glenn Morris <rgm@gnu.org>
1902
1903 * progmodes/python.el (python-shell-send-file):
1904 Add option to delete file when done. (Bug#15647)
1905 (python-shell-send-string, python-shell-send-region): Use it.
1906
c27924b7
IS
19072013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1908
e1b01c7f
IS
1909 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1910 to set buffer-read-only to t, never to nil. (Bug#15938)
1911
c27924b7
IS
1912 * textmodes/tex-mode.el (latex-noindent-environments):
1913 Add safe-local-variable property. (Bug#15936)
1914
17e0445b
GM
19152013-11-23 Glenn Morris <rgm@gnu.org>
1916
92f78ea3
GM
1917 * textmodes/enriched.el (enriched-mode): Doc fix.
1918 * emacs-lisp/authors.el (authors-renamed-files-alist):
1919 Add enriched.doc -> enriched.txt.
1920
17e0445b
GM
1921 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1922
965bb23a
LL
19232013-11-22 Leo Liu <sdl.web@gmail.com>
1924
1925 * progmodes/octave.el (inferior-octave-startup): Spit out error
1926 message.
1927
d19ffd64
BB
19282013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1929
1930 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1931 Improve docstring.
15ba2182
BB
1932 Add :version.
1933 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1934
7a7567d2
LL
19352013-11-22 Leo Liu <sdl.web@gmail.com>
1936
1937 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1938 (Bug#15076)
8c09f64b
LL
1939 (octave-help-mode): Adapt to change to help-mode-finish to use
1940 derived-mode-p on 2013-09-17.
1941 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1942 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1943
724bc265
LL
19442013-11-22 Leo Liu <sdl.web@gmail.com>
1945
1946 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1947 (inferior-octave-startup, inferior-octave-check-process)
1948 (inferior-octave-track-window-width-change)
1949 (octave-completion-at-point, octave-eldoc-function): Use it.
1950 (octave-kill-process): Provide confirmation. (Bug#10564)
1951
38637cca
LL
19522013-11-21 Leo Liu <sdl.web@gmail.com>
1953
511fa0d3
SM
1954 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1955 Fix obsolete variable comment-use-global-state.
38637cca 1956
06e752b4
RS
19572013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1958
511fa0d3
SM
1959 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1960 Add `octave-source-file'.
06e752b4
RS
1961 (octave-source-file): New function. (Bug#15935)
1962
7514d3f8 19632013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
1964
1965 * net/eww.el (eww-local-regex): New variable.
1966 (eww): Use it to detect localhost and similar.
1967
b6ffa04a
LL
19682013-11-21 Leo Liu <sdl.web@gmail.com>
1969
1970 Add completion for command `ag'.
2021a200
LL
1971 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1972 (pcomplete/ag): New function.
e9dc713d 1973 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1974
d1a6bccc
SM
19752013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1978 (bug#14646).
1979 (make-obsolete): Remove interactive spec.
1980
2df10228
GM
19812013-11-21 Glenn Morris <rgm@gnu.org>
1982
1983 * startup.el (command-line-1): Use path-separator with -L.
1984
86fd16b6
TZ
19852013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1986
1987 * emacs-lisp/package.el (describe-package-1): Add package archive
1988 to shown fields.
1989
0449d6cd 19902013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1991
1992 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1993 Change default to "# encoding: %s" to differentiate it from the
1994 default Ruby encoding comment template.
1995
dc7e8c17 19962013-11-20 era eriksson <era+emacsbugs@iki.fi>
1997
1998 * ses.el (ses-mode): Doc fix. (Bug#14748)
1999
f0cfa5fe
LL
20002013-11-20 Leo Liu <sdl.web@gmail.com>
2001
2002 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2003
826dc7b6
DN
20042013-11-19 Dan Nicolaescu <dann@gnu.org>
2005
2006 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2007 when rebase or bisect are in progress.
2008
a6e3a5d5
XF
20092013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2010
2011 * filenotify.el (file-notify-add-watch): Doc fix.
2012
f130cb76
LL
20132013-11-19 Leo Liu <sdl.web@gmail.com>
2014
e0855d7d
LL
2015 * obsolete/rcompile.el: Mark obsolete.
2016
f130cb76 2017 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2018 (compilation-goto-locus, compilation-find-file):
2019 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2020 (Bug#13594)
2021
2022 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2023 new parameter no-display-ok. Return either a window or nil
2024 but never a non-window value.
f130cb76 2025
1f35d401
SM
20262013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2027
25158c76
SM
2028 * electric.el (electric-indent-mode-map): Remove.
2029 (electric-indent-mode): Change the global-map instead (bug#15915).
2030
2031 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2032 Use add-function.
1f35d401 2033
9bc67baa
SM
20342013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2035
986545b5
SM
2036 * emacs-lisp/nadvice.el (remove-function): Align with
2037 add-function's behavior.
2038
9bc67baa
SM
2039 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2040 (gdb--string-regexp): New constant.
2041 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2042 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2043 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2044 submatch 1.
2045 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2046 Adjust use accordingly.
2047 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2048
56cd894e
AS
20492013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2050
2051 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2052 interpolation curlies (Bug#15914).
2053
014690de
JB
20542013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2055
2056 * calc/calc.el (calc-context-sensitive-enter): New variable.
2057 (calc-enter): Use `calc-context-sensitive-enter'.
2058
7e26a6c3
TZ
20592013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2060
2061 * progmodes/cfengine.el: Version bump.
2062 (cfengine-cf-promises): New defcustom to locate cf-promises.
2063 (cfengine3-vartypes): Add new "data" type.
2064 (cfengine3--current-word): New function to get current name-like
2065 word or its bounds.
2066 (cfengine3--current-function): New function to look up a CFEngine
2067 function's definition.
2068 (cfengine3-format-function-docstring): New function.
2069 (cfengine3-make-syntax-cache): New function.
2070 (cfengine3-documentation-function): New function: ElDoc glue.
2071 (cfengine3-completion-function): New function: completion glue.
2072 (cfengine3-mode): Set `compile-command',
2073 `eldoc-documentation-function', and add to
2074 `completion-at-point-functions'.
2075
355204dd
MA
20762013-11-16 Michael Albinus <michael.albinus@gmx.de>
2077
2078 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2079 `tramp-current-connection'.
2080
43cebc23
DG
20812013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2082
2083 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2084 nil/self/true/false with "end of symbol".
2085
a3fed6ff
BB
20862013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2087
2088 * subr.el (version-regexp-alist): Fix a typo.
2089
e675b3e4
MA
20902013-11-15 Michael Albinus <michael.albinus@gmx.de>
2091
2092 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2093 "en_US.utf8" and "LC_CTYPE" to "".
2094 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2095 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2096
a1f03e89
LL
20972013-11-15 Leo Liu <sdl.web@gmail.com>
2098
2099 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2100
5d9d9451
SM
21012013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2102
58362662
CS
2103 * progmodes/gud.el (ctl-x-map):
2104 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2105 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2106
6c1bf086
BB
21072013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2108
0d5363c4
BB
2109 * subr.el (version-regexp-alist):
2110 Recognize hg, svn and darcs versions as snapshot versions.
2111
4e9fc48c
BB
2112 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2113 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2114 (ruby--encoding-comment-required-p): Extract from
2115 `ruby-mode-set-encoding'.
2116 (ruby-mode-set-encoding): Add the ability to always insert an
2117 utf-8 encoding comment. Fix and simplify coding comment update
2118 logic.
6c1bf086 2119
2f7e72f8
MA
21202013-11-14 Michael Albinus <michael.albinus@gmx.de>
2121
2122 * net/tramp-gvfs.el (top): Run init code only when
2123 `tramp-gvfs-enabled' is not nil.
2124 (tramp-gvfs-enabled): Check also :system bus.
2125
0f137a73
SM
21262013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2127
2128 Sync with upstream verilog-mode revision 78e66ba.
2129 * progmodes/verilog-mode.el (verilog-end-of-defun)
2130 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2131 (verilog-get-end-of-defun): Remove unused argument.
2132 (verilog-comment-depth): Remove unused local `e'.
2133 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2134 Don't pass arg to verilog-get-end-of-defun.
2135
1c276bdd
GM
21362013-11-14 Glenn Morris <rgm@gnu.org>
2137
2138 * obsolete/assoc.el (aget): Prefix dynamic variable.
2139
2140 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2141
ff6ec81d
SM
21422013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * widget.el, hfy-cmap.el: Remove bogus package version number.
2145
75f777b6
GM
21462013-11-13 Glenn Morris <rgm@gnu.org>
2147
1d43dba1
GM
2148 * replace.el (replace-eval-replacement):
2149 Try to give more helpful error message. (Bug#15836)
2150
ff4b7bd5
GM
2151 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2152 (archive-7z-update): Avoid custom type mismatches.
2153
75f777b6
GM
2154 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2155
11151a06
MA
21562013-11-13 Michael Albinus <michael.albinus@gmx.de>
2157
e675b3e4 2158 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2159 address can be empty.
2160
2161 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2162 Accept nil SWITCHES.
2163 (tramp-gvfs-handle-write-region): Implement APPEND.
2164
7b08f97e
DG
21652013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2166
2167 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2168 binary "|" operator and closing block args delimiter.
2169 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2170 (ruby-smie--implicit-semi-p): Not after "|" operator.
2171 (ruby-smie--closing-pipe-p): New function.
2172 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2173 (ruby-smie-rules): Indent after "|".
2174
f201cf3a
GM
21752013-11-12 Glenn Morris <rgm@gnu.org>
2176
2177 * ps-print.el (ps-face-attribute-list):
2178 Handle anonymous faces. (Bug#15827)
2179
e6f759f9
MR
21802013-11-12 Martin Rudalics <rudalics@gmx.at>
2181
2182 * window.el (display-buffer-other-frame): Fix doc-string.
2183 (Bug#15868)
2184
ecda65d4
SM
21852013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2188
7ce8fcc3
MA
21892013-11-11 Michael Albinus <michael.albinus@gmx.de>
2190
2191 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2192 (tramp-sh-handle-file-local-copy): Don't write a message when
2193 saving temporary files.
2194
2195 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2196 both directories are remote.
2197 (tramp-smb-handle-directory-files): Do not return double entries.
2198 Do not expand full file names.
2199 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2200 (tramp-smb-handle-write-region): Implement APPEND.
2201 (tramp-smb-get-stat-capability): Fix a stupid bug.
2202
7818df11
SM
22032013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2204
2205 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2206
608c2085
NT
22072013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2208
2209 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2210 throwing error over malformed let/let* (bug#15814).
2211
122a7e46
SM
22122013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2213
2214 * iswitchb.el (iswitchb-mode): Mark obsolete.
2215
766284d9
GM
22162013-11-11 Glenn Morris <rgm@gnu.org>
2217
2218 * international/uni-bidi.el, international/uni-category.el:
2219 * international/uni-name.el, international/uni-numeric.el:
2220 Regenerate for Unicode 6.3.0.
2221
7072a4e9
MA
22222013-11-10 Michael Albinus <michael.albinus@gmx.de>
2223
2224 * net/tramp.el (tramp-methods):
2225 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2226 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2227
c9df215b
AS
22282013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2229
608c2085
NT
2230 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2231 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2232
fa47d796
DG
22332013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2234
2235 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2236 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2237 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2238 (ispell-complete-word): Call `ispell-lookup-words' with the value
2239 independent of `ispell-look-p'.
2240
1629a329
DG
22412013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2242
2243 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2244 Not after "||".
2245 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2246 their parent.
2247
ad16897c
SM
22482013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2251 (ruby-font-lock-keywords): Use backquote.
2252
ffa2df72
DG
22532013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2254
2255 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2256 (ruby-smie--backward-token): Only consider full-string matches.
2257
5b97b4c0
JD
22582013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2259
2260 * faces.el (describe-face): Add distant-foreground.
2261
71731c03
BB
22622013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2263
4e9fc48c
BB
2264 * progmodes/ruby-mode.el: Improve encoding comment handling.
2265 (ruby-encoding-magic-comment-style): New option.
2266 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2267 (ruby--insert-coding-comment, ruby--detect-encoding):
2268 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2269 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2270 to control the style of the auto-inserted encoding comment.
71731c03 2271
da3b328d
DG
22722013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2273
ad16897c
SM
2274 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2275 Use `smie-backward-sexp' with token argument.
da3b328d 2276
1606c2d3
MA
22772013-11-08 Michael Albinus <michael.albinus@gmx.de>
2278
2279 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2280 Remove instrumentation code.
2281
b0f4c320
GM
22822013-11-08 Glenn Morris <rgm@gnu.org>
2283
2284 * progmodes/autoconf.el (autoconf-mode):
2285 Tweak comment-start-skip. (Bug#15822)
2286
43668fb1
SM
22872013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2290 at bobp (bug#15826).
2291 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2292
daddb3fd
DH
22932013-11-08 Darren Hoo <darren.hoo@gmail.com>
2294
2295 * man.el (Man-start-calling): New macro, extracted from
2296 Man-getpage-in-background.
2297 (Man-getpage-in-background): Use it.
2298 (Man-update-manpage): New command.
2299 (Man-mode-map): Bind it.
2300
1f923923
DG
23012013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2302
2303 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2304 of "and", "or", "&&" and "||".
2305 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2306 argument. Prohibit opening curly brace because it could only be a
2307 block opener in that position.
daddb3fd
DH
2308 (ruby-smie--forward-token, ruby-smie--backward-token):
2309 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2310 arguments.
2311 (ruby-smie--indent-to-stmt): New function, seeks the end of
2312 previous statement or beginning of buffer.
2313 (ruby-smie-rules): Use it.
2314 (ruby-smie-rules): Check if there's a ":" before a curly block
2315 opener candidate; if there is, it's a hash.
2316
3220d527
SM
23172013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2318
2319 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2320 (cl--block-wrapper): Fix last accidental change.
2321
1eb1f9e0
MA
23222013-11-07 Michael Albinus <michael.albinus@gmx.de>
2323
2324 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2325 Instrument, in order to hunt failure on hydra.
2326
e6e4db3c
NT
23272013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2328
2329 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2330 malformed bindings form (bug#15814).
2331
b420ccfc
DG
23322013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2333
2334 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2335 "." compared to " @ ". This incidentally fixes some indentation
2336 examples with "do".
e6e4db3c 2337 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2338 (ruby-smie-grammar): New tokens: "and" and "or".
2339 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2340 Exclude "and" and "or". Remove "do" in order to work around token
2341 priorities.
2342 (ruby-smie-rules): Add all infix tokens. Handle the case of
2343 beginning-of-buffer.
b420ccfc 2344
6b4ac03e
GM
23452013-11-06 Glenn Morris <rgm@gnu.org>
2346
2347 * Makefile.in (setwins_almost, setwins_for_subdirs):
2348 Avoid accidental matches.
2349
5ca114d1
SM
23502013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * menu-bar.el (popup-menu): Use key-binding.
2353
f72552bd
EZ
23542013-11-06 Eli Zaretskii <eliz@gnu.org>
2355
2356 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2357 menus, support also the menus produced by minor modes.
2358 (Bug#15817)
2359
5d5c701e
LL
23602013-11-06 Leo Liu <sdl.web@gmail.com>
2361
2362 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2363 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2364
0a8b75e2
GM
23652013-11-06 Glenn Morris <rgm@gnu.org>
2366
2367 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2368 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2369 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2370
a35287ea
SM
23712013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2372
feca4e2d
SM
2373 * electric.el (electric-indent-just-newline): New command.
2374 (electric-indent-mode-map): New keymap.
2375 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2376 Re-add :group which weren't redundant.
2377
a35287ea
SM
2378 * electric.el (electric-indent-local-mode): New minor mode.
2379 (electric-indent-functions-without-reindent): New var.
2380 (electric-indent-post-self-insert-function): Use it.
2381 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2382
375761b2
EZ
23832013-11-05 Eli Zaretskii <eliz@gnu.org>
2384
9a6ad735
EZ
2385 * international/quail.el (quail-help): Be more explicit about the
2386 meaning of the labels shown on the keys. (Bug#15800)
2387
375761b2
EZ
2388 * startup.el (normal-top-level): Load the subdirs.el files before
2389 setting the locale environment. (Bug#15805)
2390
520a6e4a
SM
23912013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2392
0acfafef
SM
2393 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2394 via arguments so as to get the right ones (bug#15418).
2395
520a6e4a
SM
2396 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2397
15826261
MA
23982013-11-05 Michael Albinus <michael.albinus@gmx.de>
2399
2400 Fix problems found while writing a test suite.
2401
2402 * net/tramp-compat.el (tramp-compat-load): New defun.
2403 * net/tramp.el (tramp-handle-load): Use it.
2404
2405 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2406 "(numberp ok-if-already-exists)" correctly.
2407
d35f31a4
XF
24082013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2409
2410 * international/characters.el (glyphless-char-display-control):
2411 Add usage note.
2412
ae93bc74
BB
24132013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2414
520a6e4a
SM
2415 * progmodes/python.el (python-mode):
2416 * progmodes/scheme.el (scheme-mode):
2417 * progmodes/prolog.el (prolog-mode):
2418 * progmodes/ruby-mode.el (ruby-mode):
2419 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2420 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2421
0ade65b5
SM
24222013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2423
a0d5f7a4
SM
2424 * rect.el (rectangle--highlight-for-redisplay):
2425 * emacs-lisp/smie.el (smie--next-indent-change):
2426 Use buffer-chars-modified-tick.
2427
c93f3f5c
SM
2428 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2429
0ade65b5
SM
2430 * electric.el (electric-indent-post-self-insert-function):
2431 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2432
ef9dd188
HE
24332013-11-04 Helmut Eller <eller.helmut@gmail.com>
2434
2435 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2436
306e7308
NT
24372013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2438
2439 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2440 (bug#15786).
2441
e5afbcac
SM
24422013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2443
1d01ad41
SM
2444 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2445
e5afbcac
SM
2446 * progmodes/python.el: Fix up last change.
2447 (python-shell--save-temp-file): New function.
2448 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2449 `string' comes from the current buffer.
2450 (python-shell-send-string-no-output): Remove `msg' arg.
2451 (python--use-fake-loc): New var.
2452 (python-shell-buffer-substring): Obey it. Try to compensate for the
2453 extra coding line added by python-shell--save-temp-file.
2454 (python-shell-send-region): Use python-shell--save-temp-file and
2455 python-shell-send-file directly. Add `nomain' argument.
2456 (python-shell-send-buffer): Use python-shell-send-region.
2457 (python-electric-pair-string-delimiter): New function.
2458 (python-mode): Use it.
2459
d0065ff1
EZ
24602013-11-04 Eli Zaretskii <eliz@gnu.org>
2461
2462 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2463 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2464 environment and decoding all of the default-directory's to here
2465 from command-line.
2466 (command-line): Decode also argv[0].
2467
2468 * loadup.el: Error out if default-directory is a multibyte string
2469 when we are dumping.
2470
2471 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2472
7397c587
TZ
24732013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2474
2475 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2476 (package-menu--print-info, package-menu--archive-predicate):
2477 Add Archive column to package list.
7397c587 2478
b27cc9fc
MA
24792013-11-04 Michael Albinus <michael.albinus@gmx.de>
2480
2481 Fix problems found while writing a test suite.
2482
2483 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2484 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2485 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2486 to nil when running original file name handler. Otherwise,
2487 there are problems with constructs like "$$FOO".
2488
2489 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2490 for `localname'.
2491
d8c4f18a
BB
24922013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2493
7b530552
BB
2494 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2495
2496 * subr.el (version<, version<=, version=):
2497 Update docstrings with information for snapshot versions.
2498
d8c4f18a
BB
2499 * helpers.el: New library for misc helper functions.
2500 (hash-table-keys): New function returning a list of hash keys.
2501 (hash-table-values): New function returning a list of hash values.
2502
dca01b09
DG
25032013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2504
2505 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2506 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2507
0a749fa0
MN
25082013-11-04 Michal Nazarewicz <mina86@mina86.com>
2509
2510 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2511 checking whether point is after a 1-letter word.
2512
25132013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2514
2515 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2516 Don't infloop when expanding region over `multiline' syntax-type that
2517 begins a line (bug#15778).
2518
4aca7145
SM
25192013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2522 Make it into a proper minor mode.
2523 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2524 (rectangle-mark-mode-map): New keymap.
2525 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2526
a0833f62
GM
25272013-11-04 Glenn Morris <rgm@gnu.org>
2528
2529 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2530
e61845c1
SM
25312013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2534 (ruby-smie-rules): Use smie-rule-parent instead.
2535
2536 * emacs-lisp/smie.el (smie-rule-parent): Always call
2537 smie-indent-virtual rather than only for hanging tokens.
2538 (smie--next-indent-change): New helper command.
2539
62942f89
GM
25402013-11-03 Glenn Morris <rgm@gnu.org>
2541
2542 * Makefile.in (abs_srcdir): Remove.
2543 (emacs): Unset EMACSLOADPATH.
2544
b0b9e592
GM
25452013-11-02 Glenn Morris <rgm@gnu.org>
2546
18ba6a33 2547 * Makefile.in (EMACS): Use a relative filename.
8061810d 2548 (abs_top_builddir): Remove.
18ba6a33
GM
2549 (custom-deps, finder-data, autoloads): Use --chdir.
2550
6a8b929e
GM
2551 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2552
c617f3d0
GM
2553 Use relative filenames in TAGS files.
2554 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2555 (lisptagsfiles4, TAGS): Use relative file names.
2556 (TAGS-LISP): Remove.
2557 (maintainer-clean): No more TAGS-LISP file.
2558
b0b9e592
GM
2559 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2560 (lisptagsfiles4): Use absolute filenames again.
2561 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2562 Remove all *loaddefs files, not just the first. Remove esh-groups.
2563 (maintainer-clean): Delete TAGS, TAGS-LISP.
2564
d1c0ea6a
BB
25652013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2566
e61845c1
SM
2567 * emacs-lisp/package.el (package-version-join):
2568 Recognize snapshot versions.
d1c0ea6a 2569
684d71c6
BB
25702013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2571
2572 * subr.el (version-regexp-alist): Add support for snapshot versions.
2573
3d42b968
DG
25742013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2575
e61845c1
SM
2576 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2577 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2578 skip over our direct parent if it's an assignment token..
2579 (ruby-smie-rules): Use it.
2580
7ffd3721
DG
25812013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2582
8449dd1f 2583 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2584 unconditionally. Remove now unnecessary forward declarations.
2585 Remove XEmacs-specific setup.
2586 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2587 (ruby-font-lock-syntactic-keywords)
2588 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2589 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2590 (ruby-here-doc-end-syntax): Remove.
2591 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2592 defined as function.
2593
a3996a2e
BB
25942013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2595
2596 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2597
6f9260e8
BB
25982013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2599
2600 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2601 table and abbrev table, `define-derived-mode' does that for us
2602 anyway.
2603
6014de84
GM
26042013-11-01 Glenn Morris <rgm@gnu.org>
2605
2606 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2607 files is atomic for some time, so no parallel compilation issues).
2608
3c334c14
JD
26092013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2610
2611 * faces.el (face-x-resources): Add :distant-foreground.
2612 (region): Use :distant-foreground for gtk and ns.
2613
9bc236c8
TH
26142013-11-01 Tassilo Horn <tsdh@gnu.org>
2615
5246583b 2616 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2617 BibTeX.
2618 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2619 (reftex-locate-bibliography-files): Us it.
2620
d14c81ee
CB
26212013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2622
0e7690de
CB
2623 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2624 allow comments in pbm files.
2625
d14c81ee
CB
2626 * term/w32-win.el (dynamic-library-alist): Support newer versions
2627 of libjpeg starting with v7: look only for the DLL from the
2628 version against which Emacs was built.
ac1bf374 2629 Support versions of libpng beyond 1.4.x.
019c8218 2630 Support libtiff v4.x.
d14c81ee 2631
983d0df5
BB
26322013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2633
2634 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2635 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2636 Add property :safe.
2637 (ruby-deep-arglist): Add property :type.
2638
47f58d85
GM
26392013-10-31 Glenn Morris <rgm@gnu.org>
2640
2641 * Makefile.in (custom-deps, finder-data): No need to setq the target
2642 variables, we are in the right directory and the defaults work fine.
2643
4f85b479
GM
26442013-10-30 Glenn Morris <rgm@gnu.org>
2645
ca7dd4cd
GM
2646 * Makefile.in (autoloads): Do not use abs_lisp.
2647
4f85b479
GM
2648 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2649 `newline' does not respect `standard-output', so use `princ'.
2650
cf59e41c
AA
26512013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2652
2653 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2654 * buff-menu.el (Buffer-menu--unmark): New function.
2655 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2656
74cf04fb
GM
26572013-10-30 Glenn Morris <rgm@gnu.org>
2658
b040b60e
GM
2659 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2660
f53d3815
GM
2661 * emacs-lisp/package.el (lm-homepage): Declare.
2662
5413d873
GM
2663 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2664 Fix doc typos.
2665
cecedb36
GM
2666 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2667
74cf04fb
GM
2668 * Makefile.in (finder-data, autoloads, update-subdirs)
2669 (compile-main, compile-clean, compile-always, bootstrap-clean):
2670 Check return value of cd.
2671 (compile-calc): Remove.
2672
195ee2f0
SM
26732013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2674
ae4002ce
SM
2675 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2676
2677 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2678 (byte-compile-and-folded): New function.
2679 (=, <, >, <=, >=): Use it.
2680
2681 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2682 (path-separator, null-device, buffer-file-coding-system)
2683 (lpr-headers-switches): Check system-type before modifying them.
2684 (find-buffer-file-type-coding-system): Mark obsolete.
2685 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2686 find-file-not-found-set-buffer-file-coding-system.
2687 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2688 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2689 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2690 (w32-direct-print-region-helper, w32-direct-print-region-function)
2691 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2692 * startup.el (normal-top-level-add-subdirs-to-load-path):
2693 * ps-print.el (ps-print-region-function):
2694 * lpr.el (print-region-function): Use new name.
2695
53b39e89
SM
2696 * subr.el (custom-declare-variable-early): Remove function.
2697 (custom-declare-variable-list): Remove var.
2698 (error, user-error): Remove `while' loop.
2699 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2700 (user-emacs-directory-warning, locate-user-emacs-file):
2701 Move to files.el.
2702 * simple.el (read-quoted-char-radix, read-quoted-char):
2703 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2704 Move from subr.el.
2705 * custom.el (custom-declare-variable-list): Don't process
2706 custom-declare-variable-list.
2707
195ee2f0
SM
2708 * progmodes/python.el (python-shell-get-buffer): New function.
2709 (python-shell-get-process): Use it.
2710 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2711 Python which encoding was used. Don't split-string since we only care
2712 about the first line. Return the temp-file, if applicable.
2713 (python-shell-send-region): Tell compile.el how to turn locations in
2714 the temp-file into locations in the source buffer.
2715
7e3561ee
SM
27162013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2717
4c9797cb
SM
2718 * subr.el (undefined): Add missing behavior from the C code for
2719 unbound keys.
2720
3472b6c6
SM
2721 * rect.el: Use lexical-binding. Add new rectangular region support.
2722 (rectangle-mark): New command.
2723 (rectangle--region): New var.
2724 (deactivate-mark-hook): Reset rectangle--region.
2725 (rectangle--extract-region, rectangle--insert-for-yank)
2726 (rectangle--highlight-for-redisplay)
2727 (rectangle--unhighlight-for-redisplay): New functions.
2728 (region-extract-function, redisplay-unhighlight-region-function)
2729 (redisplay-highlight-region-function): Use them to handle
2730 rectangular region.
2731 * simple.el (region-extract-function): New var.
2732 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2733 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2734 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2735 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2736 (redisplay-unhighlight-region-function)
2737 (redisplay-highlight-region-function): New vars.
2738 (redisplay--update-region-highlight): New function.
2739 (pre-redisplay-function): Use it.
2740 (exchange-point-and-mark): Don't deactivate the mark before
2741 reactivate-it anyway.
2742 * comint.el (comint-kill-region): Remove yank-handler argument.
2743 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2744 (delete-char): Remove property, since it's now part of their
2745 default behavior.
2746 (self-insert-iso): Remove property since this command doesn't exist.
2747
7e3561ee
SM
2748 * emacs-lisp/package.el (package--download-one-archive)
2749 (describe-package-1): Don't query the user about final newline.
2750
b9bef71f
DC
27512013-10-29 Daniel Colascione <dancol@dancol.org>
2752
2753 * net/tramp.el (tramp-methods): Document new functionality.
2754 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2755 tramp-hostname-checker if method provides one instead of scanning
2756 argument list for "%h" to decide hostname acceptability.
2757
4efc33f0
MA
27582013-10-28 Michael Albinus <michael.albinus@gmx.de>
2759
2760 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2761 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2762 Handle COPY-CONTENTS. (Bug#15737)
2763
ed42a877
DU
27642013-10-28 Daiki Ueno <ueno@gnu.org>
2765
2766 * epa-file.el
7e3561ee
SM
2767 (epa-file-cache-passphrase-for-symmetric-encryption):
2768 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2769
18c9f8a2
XF
27702013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2771
7a4bc7be
XF
2772 * image.el (defimage):
2773 (image-load-path): Doc fixes.
18c9f8a2 2774
b1e8e010
AM
27752013-10-27 Alan Mackenzie <acm@muc.de>
2776
2777 Indent statements in macros following "##" correctly.
7e3561ee
SM
2778 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2779 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2780
73d40d1e 27812013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2782
2783 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2784
c8c605ac
DG
27852013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2786
2787 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2788 after `=' is probably a new expression.
2789
ca7e59d4
RS
27902013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2791
2792 * man.el (man-imenu-title): New option.
2793 (Man-mode-map): Add menu. (Bug#15722)
2794 (Man-mode): Add imenu to menu.
2795
bae91342
DG
27962013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2797
2798 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2799 specific in what the first arg can be: a non-keyword word,
2800 string/regexp/percent literal opener, opening paren, or unary
2801 operator followed directly by word.
2802
eb89dc14
SM
28032013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2804
2805 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2806 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2807 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2808 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2809 Remove vars, they do not apply any more.
2810 (prolog-mode-abbrev-table): Remove redundant declaration.
2811 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2812 (prolog-use-smie): Remove.
2813 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2814 supported by prolog-electric-if-then-else-flag.
2815 (prolog-mode-variables, prolog-menu): Use setq-local.
2816 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2817 Remove binding to `Backspace' since this key doesn't exist anyway.
2818 Remove bindings for electric self-inserting keys.
2819 (prog-mode): Assume it's defined.
2820 (prolog-post-self-insert): New function.
2821 (prolog-mode): Use it.
2822 (prolog-indent-line, prolog-indent-level)
2823 (prolog-find-indent-of-matching-paren)
2824 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2825 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2826 (prolog-goto-next-paren, prolog-in-string-or-comment)
2827 (prolog-tokenize, prolog-inside-mline-comment)
2828 (prolog-find-start-of-mline-comment): Remove functions.
2829 (prolog-find-unmatched-paren, prolog-clause-end)
2830 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2831 (prolog-electric--if-then-else): Rename from
2832 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2833 (prolog-tokenize-searchkey): Remove const.
2834 (prolog-clause-info): Use forward-sexp.
2835 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2836 (prolog-electric-if-then-else): Remove commands.
2837 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2838 for use in post-self-insert-hook.
2839 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2840 for use in post-self-insert-hook.
2841 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2842 for use in post-self-insert-hook.
2843 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2844 adapt it for use in post-self-insert-hook.
2845
3dab0a83
MA
28462013-10-25 Michael Albinus <michael.albinus@gmx.de>
2847
2848 * emacs-lisp/ert.el (ert-run-tests-interactively):
2849 Use `completing-read'. (Bug#9756)
2850
fbfd0e1d
EZ
28512013-10-25 Eli Zaretskii <eliz@gnu.org>
2852
2853 * simple.el (line-move): Call line-move-1 instead of
2854 line-move-visual when the current window hscroll is zero, but
2855 temporary-goal-column indicates we will need to hscroll as result
2856 of the movement. (Bug#15712)
2857
963ce636
DG
28582013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2859
2860 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2861 capitalization. Use :visible instead of :active.
2862 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2863 commands that are used with SMIE.
2864 (ruby-do-end-to-brace): Insert space after `{'.
2865
a0be396a
JA
28662013-10-25 John Anthony <john@jo.hnanthony.com>
2867
f73754c9
JA
2868 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2869
2870 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2871
f5bf77df
GM
28722013-10-25 Glenn Morris <rgm@gnu.org>
2873
2874 * vc/vc.el (vc-print-log): Don't use a working revision unless
2875 one was explicitly specified. (Bug#15322)
2876
37241f62
SM
28772013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * subr.el (add-to-list): Preserve return value in compiler-macro
2880 (bug#15692).
2881
6408a65d
RS
28822013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2883
2884 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2885 result. Ask user to retry using '-all' flag. (Bug#15701)
2886
71e3276b
SM
28872013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * emacs-lisp/smie.el: New smie-config system.
2890 (smie-config): New defcustom.
2891 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2892 (smie-config-guess, smie-config-save): New commands.
2893 (smie-config--mode-local, smie-config--buffer-local)
2894 (smie-config--trace, smie-config--modefuns): New vars.
2895 (smie-config--advice, smie-config--mode-hook)
2896 (smie-config--setter, smie-config-local, smie-config--get-trace)
2897 (smie-config--guess-value, smie-config--guess): New functions.
2898 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2899 text properties. Treat "string fence" syntax like string syntax.
2900
2901 * progmodes/sh-script.el (sh-use-smie): Change default.
2902 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2903 (sh-var-value): Simplify by CSE.
2904 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2905 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2906 is used.
2907 (sh-guess-basic-offset): Use cl-incf.
2908 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2909
60db713e
HE
29102013-10-24 Helmut Eller <eller.helmut@gmail.com>
2911
2912 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2913 (bug#15699).
2914
8b251df6
GM
29152013-10-24 Glenn Morris <rgm@gnu.org>
2916
2917 * Makefile.in (abs_top_srcdir): Remove.
2918 (update-subdirs): Use relative path to update-subdirs.
2919
6be0e22b
EZ
29202013-10-24 Eli Zaretskii <eliz@gnu.org>
2921
2922 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2923 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2924 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2925 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2926
50b5b857
MA
29272013-10-24 Michael Albinus <michael.albinus@gmx.de>
2928
2929 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2930 (ert-test-skipped): New error.
2931 (ert-skip, ert-stats-skipped): New defuns.
2932 (ert--skip-unless): New macro.
2933 (ert-test-skipped): New struct.
2934 (ert--run-test-debugger, ert-test-result-type-p)
2935 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2936 (ert--stats-set-test-and-result, ert-char-for-test-result)
2937 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2938 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2939 Handle skipped tests. (Bug#9803)
50b5b857 2940
6f317c2f
GM
29412013-10-24 Glenn Morris <rgm@gnu.org>
2942
e43817c1
GM
2943 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2944
6f317c2f
GM
2945 * Makefile.in (abs_top_srcdir): New, set by configure.
2946 (update-subdirs): Correct build-aux location.
2947
369bbf71
DG
29482013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2949
8297b2cf
DG
2950 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2951 value, whether we could auto-deduce `backend', or not.
2952
369bbf71
DG
2953 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2954 with parameters" example. Simplify the "is it block or is it
2955 hash" check, but also make it more thorough.
2956
d5f1282f
MF
29572013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2958
2959 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2960
bc4aaa31
SM
29612013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2962
03d44565
SM
2963 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2964 { if it is hanging.
2965
bc4aaa31
SM
2966 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2967 :before ";".
2968
f493ff19
JB
29692013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2970
2971 * progmodes/compile.el (compilation-directory-matcher)
2972 (compilation-page-delimiter):
2973 Support GNU Make-4.0 directory quoting. (Bug#15678)
2974
c744a3b9
LL
29752013-10-23 Leo Liu <sdl.web@gmail.com>
2976
2977 * ido.el (ido-tidy): Handle read-only text.
2978
b8e3b0a9
GM
29792013-10-23 Glenn Morris <rgm@gnu.org>
2980
2981 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2982 (emacs, compile, compile-always):
2983 Quote entities that might contain whitespace.
2984 (custom-deps, finder-data, autoloads): Use abs_lisp.
2985 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2986 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2987 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2988
ee4282cd
DG
29892013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2990
bc4aaa31
SM
2991 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2992 Use `following-char'.
7790a270 2993
ee4282cd 29942013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2995
2996 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2997 * progmodes/ruby-mode.el (ruby-smie-rules):
2998 Remove corresponding workaround. Fix indentation rule of ";" so it
2999 also applies when ";" is the parent.
3000
d40a46d7
XF
30012013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3002
3003 * frame.el (display-screens, display-pixel-height)
3004 (display-pixel-width, display-mm-width, display-backing-store)
3005 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3006 (display-visual-class, display-monitor-attributes-list):
3007 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3008
a0f143c9
MG
30092013-10-22 Michael Gauland <mikelygee@amuri.net>
3010
3011 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3012 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3013
18cacc39
DG
30142013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3015
3016 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3017 TODO. Add "." after " @ ".
3018 (ruby-smie--at-dot-call): New function. Checks if point at method
3019 call with explicit target.
3020 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3021 to the method name tokens when it precedes them.
3022 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3023 (ruby-smie-rules): Add rule for indentation before and after "."
3024 token.
3025
df74c4be
SM
30262013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3027
c6dab55f
SM
3028 * textmodes/remember.el (remember-diary-extract-entries):
3029 Avoid add-to-list.
3030
df74c4be
SM
3031 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3032 an instruction.
3033
8c1ae481
DG
30342013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3035
e9dc713d
JB
3036 * progmodes/ruby-mode.el (ruby-smie-grammar):
3037 Add (almost) all infix operators.
cfef16c0
DG
3038 (ruby-smie--implicit-semi-p): Add new operator chars.
3039
8c1ae481
DG
3040 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3041 `smie-down-list'.
3042 (ruby-smie--args-separator-p): Check that there's no newline
3043 between method call and its arguments.
3044
87756ca9
AM
30452013-10-20 Alan Mackenzie <acm@muc.de>
3046
3047 Allow comma separated lists after Java "implements".
3048
df74c4be
SM
3049 * progmodes/cc-engine.el (c-backward-over-enum-header):
3050 Parse commas.
87756ca9
AM
3051 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3052 from a "disallowed" list in enum fontification.
3053
c25f8957
JB
30542013-10-20 Johan Bockgård <bojohan@gnu.org>
3055
df74c4be 3056 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3057
c25f8957
JB
3058 * progmodes/verilog-mode.el (verilog-mode): Don't set
3059 comment-indent-function globally.
3060
aca5fcdc
JD
30612013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3062
5f161884
JD
3063 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3064 Move Info menu item creation to ns-win.el.
3065
3066 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3067 in menu bar.
3068
aca5fcdc
JD
3069 * menu-bar.el: Move GNUStep specific menus...
3070
3071 * term/ns-win.el (ns-initialize-window-system): ... to here.
3072
914b7f98
SM
30732013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * simple.el (newline): Only run post-self-insert-hook when
3076 called interactively.
3077
846ffe77
JB
30782013-10-19 Johan Bockgård <bojohan@gnu.org>
3079
3080 * icomplete.el (icomplete-with-completion-tables): Add :version.
3081
033f22dd
AM
30822013-10-19 Alan Mackenzie <acm@muc.de>
3083
3084 Fix fontification bugs with constructors and const.
3085
3086 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3087 CASE 2) Remove the check for the absence of a suffix construct
3088 after a function declaration with only types (no identifiers) in
3089 the parentheses. Also, accept a function declaration with just a
3090 type inside the parentheses, if this type can be positively
3091 recognised as such, or if a prefix keyword like "explicit" nails
3092 down the construct as a declaration.
3093
58ce0cfc
EZ
30942013-10-19 Eli Zaretskii <eliz@gnu.org>
3095
3096 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3097 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3098 the problem whereby selecting a menu item that leads to a
3099 minibuffer prompt moves the cursor out of the minibuffer window,
3100 making it hard to type at the prompt. Suggested by Stefan Monnier
3101 <monnier@iro.umontreal.ca>.
3102
50e28e7d
JD
31032013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3104
3105 * menu-bar.el: Don't make Services menu.
3106
7deed4bf
RS
31072013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3108
3109 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3110 (ffap-alist): Use ffap-c++-mode for c++-mode.
3111 (ffap-c++-path): New variable.
3112 (ffap-c++-mode): New function.
3113
7bcb455b
JVJ
31142013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3115
3116 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3117
f0ff1cd5
MA
31182013-10-18 Michael Albinus <michael.albinus@gmx.de>
3119
3120 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3121 introduced on 2013-09-08, which results in an infinite loop
3122 requesting a password.
3123
d64da4b7
GM
31242013-10-18 Glenn Morris <rgm@gnu.org>
3125
3126 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3127
ea89ff08
WS
31282013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3129
3130 Sync with upstream verilog-mode revision 1a6ecec7.
3131 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3132 (verilog-mode-release-date): Remove.
3133 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3134 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3135 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3136 (verilog-auto-tieoff-ignore-regexp)
3137 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3138 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3139 (verilog-signals-with, verilog-dir-cache-preserving)
3140 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3141 Doc fixes.
3142 (verilog-case-fold): New option, to control case folding in
3143 regexp searches, bug597.
3144 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3145 (verilog-string-match-fold, verilog-in-paren-count)
3146 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3147 (verilog-at-close-struct-p): New functions.
3148 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3149 (verilog-forward-sexp, verilog-set-auto-endcomments):
3150 (verilog-leap-to-case-head): Handle "unique0" case.
3151 (verilog-in-constraint-re): New constant.
3152 (verilog-keywords, verilog-type-font-keywords):
3153 Add some SystemVerilog 1800-2012 keywords.
3154 (verilog-label-be): Remove unimplemented argument, bug669.
3155 (verilog-batch-execute-func): When batch expanding clear
3156 create-lockfiles to prevent spurious user locks when a file ends
3157 up not changing.
3158 (verilog-calculate-indent, verilog-calc-1)
3159 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3160 (verilog-do-indent): Fix indentation of nested constraints
3161 and structures.
3162 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3163 (verilog-auto-inst-param): Use verilog-string-match-fold.
3164 (verilog-read-inst-module-matcher):
3165 Fix AUTOINST on gate primitives with #1.
3166 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3167 Reads all user-defined typed variables.
3168 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3169 (verilog-signals-matching-regexp)
3170 (verilog-signals-not-matching-regexp, verilog-auto):
3171 Respect verilog-case-fold.
3172 (verilog-diff-report): Fix line count.
3173 (verilog-auto-assign-modport): Remove unused local `modi'.
3174 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3175 better handle multidimensional arrays.
3176 Fix packed array ports misadding bit index in AUTOINST, bug637.
3177 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3178 to not double-declare existing outputs and inputs, respectively.
3179 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3180 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3181 (verilog-sk-uvm-component): New skeleton.
3182 (verilog-submit-bug-report): Add verilog-case-fold,
3183 remove verilog-mode-release-date.
3184
ef566920
BR
31852013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3186
3187 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3188 as before.
3189
29df8a0b
RT
31902013-10-18 Reuben Thomas <rrt@sc3d.org>
3191
e0eb0550 3192 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3193 remember buffers (bug#13566).
3194
04a19a79
DC
31952013-10-18 Daniel Colascione <dancol@dancol.org>
3196
3197 When evaluating forms in ielm, direct standard output to ielm
3198 buffer. Add new ielm-return-for-effect command. Remove trailing
3199 whitespace throughout.
3200
3201 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3202 (ielm-return-for-effect): New command.
3203 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3204 (ielm-eval-input): Accept optional `for-effect' parameter.
3205 Bind `standard-output' to stream we create using
04a19a79
DC
3206 `ielm-standard-output-impl'. Suppress printing result when
3207 `for-effect'.
3208 (ielm-standard-output-impl): New function.
3209 (inferior-emacs-lisp-mode): Explain new features in documentation.
3210
4c1f03ef
MA
32112013-10-17 Michael Albinus <michael.albinus@gmx.de>
3212
3213 Code cleanup.
3214
3215 * net/tramp.el (tramp-debug-message): Do not check for connection
3216 buffer.
3217 (tramp-message): Use "vector" connection property.
3218
3219 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3220 (tramp-equal-remote, tramp-eshell-directory-change)
3221 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3222 (tramp-adb-handle-rename-file)
3223 * net/tramp-cmds.el (tramp-list-remote-buffers)
3224 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3225 * net/tramp-compat.el (tramp-compat-process-running-p)
3226 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3227 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3228 (tramp-gvfs-handle-rename-file)
3229 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3230 (tramp-set-file-uid-gid)
3231 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3232 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3233 of `file-remote-p'.
3234
3235 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3236 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3237 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3238 (tramp-gw-open-network-stream): Suppress unrelated traces.
3239
3240 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3241 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3242 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3243 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3244 connection property.
3245
3246 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3247 persistency file.
4c1f03ef
MA
3248
3249 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3250 Refactor common code. Improve debug message.
3251 (tramp-maybe-open-connection)
3252 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3253 connection buffer too early.
3254
3255 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3256 from `tramp-smb-actions-with-acl'.
3257 (tramp-smb-actions-set-acl): New defconst.
3258 (tramp-smb-handle-copy-directory)
3259 (tramp-smb-action-get-acl): New defun, renamed from
3260 `tramp-smb-action-with-acl'.
3261 (tramp-smb-action-set-acl): New defun.
3262 (tramp-smb-handle-set-file-acl): Rewrite.
3263
642eb8b6
GM
32642013-10-17 Glenn Morris <rgm@gnu.org>
3265
3266 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3267
85527ff3
SM
32682013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3269
921c1d62
SM
3270 * skeleton.el (skeleton-newline): Remove.
3271 (skeleton-internal-1): Use (insert "\n") instead.
3272
e333fb10
SM
3273 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3274 let-bindings.
3275
85527ff3
SM
3276 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3277 forward-sexp-function while we redo its job (bug#15613).
3278
c8722a97
JB
32792013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3280
3281 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3282 represented by lists.
3283
7a550bbb
GM
32842013-10-16 Glenn Morris <rgm@gnu.org>
3285
3286 * tmm.el (tmm--history): New dynamic variable.
3287 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3288
f19da8ad
MA
32892013-10-16 Michael Albinus <michael.albinus@gmx.de>
3290
3291 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3292 (tramp-smb-errors): Add error messages.
3293 (tramp-smb-actions-with-acl): New defconst.
3294 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3295 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3296 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3297 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3298 (tramp-smb-get-stat-capability): Fix tests.
3299
a24b9961
DK
33002013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3301
3302 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3303 (bug#15580).
3304
62ad85e6
GM
33052013-10-16 Glenn Morris <rgm@gnu.org>
3306
0283d6b0
GM
3307 * ansi-color.el (ansi-color-drop-regexp):
3308 Add 1J, 1K, 2K. (Bug#15617)
3309
012e2f9f
GM
3310 * files.el (hack-local-variables--warned-lexical): New.
3311 (hack-local-variables):
3312 Warn about misplaced lexical-binding. (Bug#15616)
3313
62ad85e6
GM
3314 * net/eww.el (eww-render): Always set eww-current-url,
3315 and update header line. (Bug#15622)
3316 (eww-display-html): ... Rather than just doing it here.
3317
6456c0ea
EZ
33182013-10-15 Eli Zaretskii <eliz@gnu.org>
3319
3320 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3321 menu navigations commands.
3322
c2de5588
DK
33232013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3324
3325 * progmodes/subword.el (subword-capitalize): Be careful when
3326 the search for [[:alpha:]] fails (bug#15580).
3327
ccd4a783
EZ
33282013-10-14 Eli Zaretskii <eliz@gnu.org>
3329
3330 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3331 to commands that scroll the menu.
3332
1eda1d8d
DG
33332013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3334
c2de5588
DK
3335 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3336 Handle methods ending with `?' and `!'.
1eda1d8d 3337
e70181b8
AM
33382013-10-14 Akinori MUSHA <knu@iDaemons.org>
3339
3340 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3341 `japanese-cp932' to `cp932' to fix the problem where saving a
3342 source file written in Shift_JIS twice would end up having
3343 `coding: japanese-cp932' which Ruby could not recognize.
3344 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3345 in `ruby-encoding-map'.
3346 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3347 doesn't need to be explicitly declared in magic comment.
3348 (ruby-encoding-map): Add type declaration for better customize UI.
3349
9148ee92
GM
33502013-10-13 Glenn Morris <rgm@gnu.org>
3351
a5d38e34
GM
3352 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3353 Occur buffers are read-only. http://bugs.debian.org/720775
3354
9148ee92
GM
3355 * emacs-lisp/authors.el (authors-fixed-entries):
3356 Comment out old alpha stuff.
3357
a9ba094b
DG
33582013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3359
3360 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3361 to `after-save-hook' instead of `before-save-hook'.
3362 (ruby-mode-set-encoding): Use the value of coding system used to
3363 write the file. Call `basic-save-buffer-1' after modifying the
3364 buffer.
3365
7a068717
AM
33662013-10-13 Alan Mackenzie <acm@muc.de>
3367
3368 Fix indentation/fontification of Java enum with
3369 "implements"/generic.
3370
c2de5588
DK
3371 * progmodes/cc-engine.el (c-backward-over-enum-header):
3372 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3373 (c-inside-bracelist-p): Uses new function above.
3374 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3375 function above.
3376 (c-font-lock-enum-tail): Uses new function above.
3377
85b64f02
KH
33782013-10-13 Kenichi Handa <handa@gnu.org>
3379
3380 * international/mule-cmds.el (select-safe-coding-system): Remove a
3381 superfluous condition in chekcing whether a coding system is safe
3382 or not.
3383
fc7f501b
OK
33842013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3385
3386 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3387
fdcb2049
AP
33882013-10-13 Andreas Politz <politza@hochschule-trier.de>
3389
3390 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3391
8c106d17
GM
33922013-10-13 Glenn Morris <rgm@gnu.org>
3393
feab892d
GM
3394 * menu-bar.el (menu-bar-update-buffers):
3395 Unify Buffers menu prompt string. (Bug#15576)
3396
b22d0686
GM
3397 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3398
8c106d17
GM
3399 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3400 Add some entries.
3401 (authors-fixed-entries): Use accented form of name.
3402
1b12c797
SM
34032013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3404
650fa7bf 3405 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3406 method calls (bug#15594).
650fa7bf
SM
3407 (ruby-smie--args-separator-p): New function.
3408 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3409 recognize paren-free method calls.
3410
1b12c797
SM
3411 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3412 internals of universal-argument.
3413
029619c8
EZ
34142013-10-11 Eli Zaretskii <eliz@gnu.org>
3415
3416 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3417 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3418 dropped menu on second mouse click on the menu bar.
029619c8 3419
dd070019
SM
34202013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3423 (explicit-shell-file-name): Declare.
3424 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3425 (sh-completion-at-point-function): New function.
3426 (sh-mode): Use it.
3427 (sh-smie--keyword-p): Remove unused argument.
3428 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3429 vars.
3430 (sh-set-shell): Always setup SMIE, even if we use the
3431 old indentation code.
3432
0922b826
DG
34332013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3434
b68e2926
DG
3435 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3436 cases of ? and =.
3437 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3438 predicate would return nil are almost non-existent.
3439 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3440
0922b826
DG
3441 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3442 cache also after commands that modify the buffer but don't move
3443 point.
3444
ee041f2d
SM
34452013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3446
3447 * env.el (substitute-env-in-file-name): New function.
3448 (substitute-env-vars): Extend the meaning of the optional arg.
3449
a5dab159
EZ
34502013-10-10 Eli Zaretskii <eliz@gnu.org>
3451
3452 * term/w32-win.el (dynamic-library-alist): Define separate lists
3453 of GIF DLLs for versions before and after 5.0.0 of giflib.
3454 (Bug#15531)
3455
0449d6cd 34562013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3457
3458 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3459 not locked, use last revision and current source as
3460 defaults. (Bug#15569)
3461
2f6e161e
MY
34622013-10-10 Masatake YAMATO <yamato@redhat.com>
3463
3464 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3465 menu-bar is hidden.
3466
6c8413fc
MR
34672013-10-10 Martin Rudalics <rudalics@gmx.at>
3468
3469 * window.el (pop-to-buffer-same-window): Fix doc-string.
3470 (Bug#15492)
3471
20832de0
SM
34722013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3474 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3475
c6e8ae77
AC
34762013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3477
3478 * calendar/icalendar.el (icalendar-import-file):
3479 Fix interactive spec. (Bug#15482)
3480
9db13baf
GM
34812013-10-10 Glenn Morris <rgm@gnu.org>
3482
9271e90e
GM
3483 * desktop.el (desktop-save): Default to saving in .emacs.d,
3484 since PWD is no longer in desktop-path by default. (Bug#15319)
3485
9db13baf
GM
3486 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3487 now that text mode has a menu with the same entry.
3488 (menu-bar-text-mode-auto-fill): Remove now unused func.
3489 * textmodes/text-mode.el (text-mode-map):
3490 Use auto-fill help text from menu-bar.el.
3491
a0be396a 34922013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3493
3494 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3495
2edcd3c7
JL
34962013-10-09 Juri Linkov <juri@jurta.org>
3497
3498 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3499 instead of this-command-keys. Add universal-argument-more and
3500 universal-argument-minus to the list of prefix commands. (Bug#15568)
3501
574411d0
GM
35022013-10-09 Glenn Morris <rgm@gnu.org>
3503
14afa541
GM
3504 * vc/vc-svn.el (vc-svn-create-repo):
3505 Expand paths in file://... url. (Bug#15446)
3506
574411d0
GM
3507 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3508 Add some entries.
3509 (authors): Remove unused local variables.
3510
79804536
SM
35112013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * profiler.el: Create a more coherent calltree from partial backtraces.
3514 (profiler-format): Hide the tail with `invisible' so that C-s can still
3515 find the hidden elements.
3516 (profiler-calltree-depth): Don't recurse so enthusiastically.
3517 (profiler-function-equal): New hash-table-test.
3518 (profiler-calltree-build-unified): New function.
3519 (profiler-calltree-build): Use it.
3520 (profiler-report-make-name-part): Indent the calltree less.
3521 (profiler-report-mode): Add visibility specs for profiler-format.
3522 (profiler-report-expand-entry, profiler-report-toggle-entry):
3523 Expand the whole subtree when provided with a prefix arg.
3524
238150c8
DG
35252013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3526
3527 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3528 iuwu-mod token.
3529 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3530 hanging iuwu-mod token.
3531 (ruby-smie--forward-token): Do not include a dot after a token in
3532 that token.
3533 (ruby-smie--backward-token): Likewise.
3534
b0949cc4
JL
35352013-10-08 Juri Linkov <juri@jurta.org>
3536
3537 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3538 to isearch-other-control-char.
3539 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3540 and isearch-post-command-hook to post-command-hook.
3541 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3542 and isearch-post-command-hook from post-command-hook.
3543 (isearch-unread-key-sequence)
3544 (isearch-reread-key-sequence-naturally)
3545 (isearch-lookup-scroll-key, isearch-other-control-char)
3546 (isearch-other-meta-char): Remove functions.
3547 (isearch-pre-command-hook, isearch-post-command-hook):
3548 New functions based on isearch-other-meta-char rewritten
3549 relying on the new behavior of overriding-terminal-local-map
3550 that does not replace the local keymaps any more. (Bug#15200)
3551
4ed77415
EZ
35522013-10-08 Eli Zaretskii <eliz@gnu.org>
3553
3554 Support menus on text-mode terminals.
3555 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3556 functionality.
3557
3558 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3559
c2de5588
DK
3560 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3561 Move here from mouse.el.
4ed77415
EZ
3562 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3563 and arrow keys.
3564 (tty-menu-navigation-map): New map for TTY menu navigation.
3565
3566 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3567
3568 * frame.el (display-mouse-p): Report text-mode mouse as available
3569 on w32.
3570 (display-popup-menus-p): Report availability if mouse is
3571 available; don't condition on window-system.
3572
3573 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3574 (tty-menu-selected-face): New faces.
3575
b7d5bd82
TL
35762013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3577
06286513
SM
3578 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3579 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3580 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3581 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3582 New constants.
3583 (lisp-mode-variables): New `elisp' argument.
3584 (emacs-lisp-mode): Use it.
3585 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3586 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3587
b7d5bd82
TL
3588 * indent.el: Use lexical-binding.
3589 (indent-region): Add progress reporter.
3590 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3591 last step.
3592 (indent--next-tab-stop): New function to implement this behavior.
3593 (tab-to-tab-stop, move-to-tab-stop): Use it.
3594
35952013-10-08 Teemu Likonen <tlikonen@iki.fi>
3596
3597 * indent.el (indent-rigidly--current-indentation): New function.
3598 (indent-rigidly-map): New var.
3599 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3600
5ea75d23
BG
36012013-10-08 Bastien Guerry <bzg@gnu.org>
3602
3603 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3604
cc5da1ec
SM
36052013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3606
8ffa1a0b
SM
3607 * progmodes/perl-mode.el: Use lexical-binding.
3608 Remove redundant :group args.
3609 (perl-nochange): Change default to be closer to other major modes's
3610 standard behavior.
3611 (perl-indent-line): Don't consider text on current line as a
3612 valid beginning of function from which to indent.
3613
f2223371
SM
3614 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3615 with more than one argument (bug#15538).
3616
44256060
SM
3617 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3618
cc5da1ec
SM
3619 * vc/pcvs.el: Use lexical-binding.
3620 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3621 environment of `eval'.
3622 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3623 than a list of expressions. Adjust callers.
3624 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3625
0ea1599d
DG
36262013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3627
3628 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3629 case of the dot in a chained method call being on the following line.
0ea1599d 3630
da3e5ebb
SM
36312013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3632
2abb4e65
SM
3633 * electric.el (electric-indent-inhibit): New var.
3634 (electric-indent-post-self-insert-function): Use it.
3635 * progmodes/python.el (python-mode): Set it.
3636
d2e0e795
SM
3637 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3638 open braces.
3639
3640 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3641
bdc6b4c8
SM
3642 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3643 (css-mode): Use electric-indent-chars.
3644
da3e5ebb
SM
3645 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3646 (font-lock-beg, font-lock-end): Move before first use.
3647 (nxml-mode): Use syntax-propertize-function.
3648 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3649 (nxml-extend-after-change-region): Remove.
3650 * nxml/xmltok.el: Use lexical-binding.
3651 (xmltok-save): Use `declare'.
3652 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3653 * nxml/nxml-util.el: Use lexical-binding.
3654 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3655 Use `declare'.
3656 * nxml/nxml-ns.el: Use lexical-binding.
3657 (nxml-ns-save): Use `declare'.
3658 (nxml-ns-prefixes-for): Avoid add-to-list.
3659 * nxml/rng-match.el: Use lexical-binding.
3660 (rng--ipattern): Use cl-defstruct.
3661 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3662 (rng-cons-group-after, rng-subst-group-after)
3663 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3664 Use closures instead of `(lambda...).
3665
f8f91d5d
MA
36662013-10-07 Michael Albinus <michael.albinus@gmx.de>
3667
3668 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3669 of BEG and END.
3670
da3e5ebb
SM
3671 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3672 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3673 (tramp-gvfs-handle-insert-file-contents): Remove function.
3674
da3e5ebb
SM
3675 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3676 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3677
3678 * net/trampver.el: Update release number.
3679
7ccae3b1
SM
36802013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3681
55ca2c0d
SM
3682 * progmodes/compile.el (compilation-parse-errors):
3683 Use compilation--put-prop.
3684 (compilation--ensure-parse): Check compilation-multiline.
3685
731fc3ae
SM
3686 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3687
da3e5ebb
SM
3688 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3689 lexical-binding.
a5833280 3690
2e7ba2c2
SM
3691 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3692
7ccae3b1
SM
3693 * progmodes/ruby-mode.el: Fix recently added tests.
3694 (ruby-smie-grammar): Add - and +.
3695 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3696 (ruby-smie--backward-id): New functions.
3697 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3698 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3699 any more.
3700
85698d63
LL
37012013-10-07 Leo Liu <sdl.web@gmail.com>
3702
3703 * register.el (register-preview-delay)
3704 (register-preview-functions): New variables.
3705 (register-read-with-preview, register-preview)
3706 (register-describe-oneline): New functions.
3707 (point-to-register, window-configuration-to-register)
3708 (frame-configuration-to-register, jump-to-register)
3709 (number-to-register, view-register, insert-register)
3710 (copy-to-register, append-to-register, prepend-to-register)
3711 (copy-rectangle-to-register): Use register-read-with-preview to
3712 read register. (Bug#15525)
3713
3986af6c
DS
37142013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3715
3716 * net/network-stream.el (network-stream-open-starttls): Don't add
3717 --insecure if it's already present, because that gnutls-cli
3718 rejects getting that parameter twice.
3719
5cd9cda9
DG
37202013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3721
3722 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3723 keyword, too.
3724
da9ea6d9
DG
37252013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3726
3727 * newcomment.el (comment-use-global-state): Change default value
3728 to t, mark obsolete (Bug#15251).
3729 (comment-beginning): In addition to `comment-to-syntax', check the
3730 value of `comment-use-global-state'.
3731
34d1a133
SM
37322013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3735 (ruby-comment-column): Follow the global default, by default.
3736 (ruby-smie-grammar): Add assignment syntax.
3737 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3738 open-paren, a comma, or a \.
3739 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3740 and line continuations.
3741 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3742 followed by implicit semi-colons. Add rule for string concatenation
3743 and for indentation at BOB.
3744 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3745
3746 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3747 calling next-sexp, since next-token may have skipped chars which
3748 next-sexp doesn't know should be skipped!
3749
6f6ab820
LL
37502013-10-05 Leo Liu <sdl.web@gmail.com>
3751
34d1a133
SM
3752 * progmodes/octave.el (octave-send-region):
3753 Call compilation-forget-errors.
6f6ab820 3754
34ca0f4c
XF
37552013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3756
3757 * vc/vc-svn.el (vc-svn-find-admin-dir):
3758 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3759 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3760 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3761 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3762
a27c1b72
SM
37632013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3766
258ab3bc
SM
37672013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * subr.el (read-passwd): Hide chars even when called within a context
3770 where after-change-functions is disabled (bug#15501).
3771 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3772 until we removed ourself from overriding-terminal-local-map.
3773
939fb29c
LL
37742013-10-04 Leo Liu <sdl.web@gmail.com>
3775
258ab3bc
SM
3776 * progmodes/octave.el (inferior-octave-mode):
3777 Call compilation-forget-errors.
939fb29c 3778
63bd7f35
XF
37792013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3780
3781 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3782
9e6229fa
MA
37832013-10-04 Michael Albinus <michael.albinus@gmx.de>
3784
3785 * net/secrets.el (secrets-create-collection): Add optional
3786 argument ALIAS. Use proper Label keyword. Append ALIAS as
3787 dbus-call-method argument. (Bug#15516)
3788
1dab32a3
LL
37892013-10-04 Leo Liu <sdl.web@gmail.com>
3790
3791 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3792 (inferior-octave-compilation-font-lock-keywords): New variables.
3793 (compilation-error-regexp-alist)
3794 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3795 (inferior-octave-mode): Use compilation-shell-minor-mode.
3796
6cad7ba3
JS
37972013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3798
3799 * minibuffer.el (completion--replace): Be careful that `end' might be
3800 a marker.
3801
acbadd00
DU
38022013-10-03 Daiki Ueno <ueno@gnu.org>
3803
3804 Add support for package signature checking.
3805 * emacs-lisp/package.el (url-http-file-exists-p)
3806 (epg-make-context, epg-context-set-home-directory)
3807 (epg-verify-string, epg-context-result-for)
3808 (epg-signature-status, epg-signature-to-string)
3809 (epg-check-configuration, epg-configuration)
3810 (epg-import-keys-from-file): Declare.
3811 (package-check-signature): New user option.
3812 (package-unsigned-archives): New user option.
3813 (package-desc): Add `signed' field.
3814 (package-load-descriptor): Set `signed' field if .signed file exists.
3815 (package--archive-file-exists-p): New function.
3816 (package--check-signature): New function.
3817 (package-install-from-archive): Check package signature.
3818 (package--download-one-archive): Check archive signature.
3819 (package-delete): Remove .signed file.
3820 (package-import-keyring): New command.
3821 (package-refresh-contents): Import default keyring.
3822 (package-desc-status): Add "unsigned" status.
3823 (describe-package-1, package-menu--print-info)
3824 (package-menu-mark-delete, package-menu--find-upgrades)
3825 (package-menu--status-predicate): Support "unsigned" status.
3826
adf2aa61
SM
38272013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3830 the new compilation scheme using the new byte-codes.
3831
3832 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3833 (byte-pophandler): New byte codes.
3834 (byte-goto-ops): Adjust accordingly.
3835 (byte-compile--use-old-handlers): New var.
3836 (byte-compile-catch): Use new byte codes depending on
3837 byte-compile--use-old-handlers.
3838 (byte-compile-condition-case--old): Rename from
3839 byte-compile-condition-case.
3840 (byte-compile-condition-case--new): New function.
3841 (byte-compile-condition-case): New function that dispatches depending
3842 on byte-compile--use-old-handlers.
3843 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3844 when we can.
3845
3846 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3847 Optimize under `condition-case' and `catch' if
3848 byte-compile--use-old-handlers is nil.
3849 (disassemble-offset): Handle new bytecodes.
3850
328a8179
SM
38512013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * subr.el (error): Use `declare'.
3854 (decode-char, encode-char): Use advertised-calling-convention instead
3855 of the docstring to discourage use of the `restriction' arg.
3856
15a1e936
DU
38572013-10-03 Daiki Ueno <ueno@gnu.org>
3858
3859 * epg.el (epg-verify-file): Add a comment saying that it does not
3860 notify verification error as a return value nor a signal.
3861 (epg-verify-string): Ditto.
3862
376f862a
KR
38632013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3864
3865 * progmodes/compile.el (compilation-start): Try globbing the arg to
3866 `cd' (bug#15417).
3867
a2f93a5f
MA
38682013-10-02 Michael Albinus <michael.albinus@gmx.de>
3869
3870 Sync with Tramp 2.2.8.
3871
3872 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3873 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3874 * net/trampver.el: Update release number.
3875
0daa0804
JD
38762013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3877
3878 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3879 and default-process-coding-system for darwin only.
3880
abd1ae34
SM
38812013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3884
be4e325d
MH
38852013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3886
3887 * vc/vc-git.el (vc-git-grep): Disable pager.
3888
e9155c4a
DG
38892013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3890
494e898b
DG
3891 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3892 Use :url instead of :homepage, as per
3893 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3894
e9155c4a
DG
3895 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3896 non-nil, use `syntax-ppss' (Bug#15251).
3897
481a8e0f
RS
38982013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3899
be4e325d
MH
3900 * progmodes/octave.el (inferior-octave-startup-file):
3901 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3902
056453c6
DG
39032013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3904
be4e325d
MH
3905 * emacs-lisp/package.el (package-desc-from-define):
3906 Accept additional arguments as plist, convert them to an alist and store
3907 them in the `extras' slot.
056453c6
DG
3908 (package-generate-description-file): Convert extras alist back to
3909 plist and append to the `define-package' form arguments.
3910 (package--alist-to-plist): New function.
3911 (package--ac-desc): Add `extras' slot.
3912 (package--add-to-archive-contents): Check if the archive-contents
3913 vector is long enough, and if it is, pass its `extras' slot value
3914 to `package-desc-create'.
3915 (package-buffer-info): Call `lm-homepage', pass the returned value
3916 to `package-desc-from-define'.
3917 (describe-package-1): Render the homepage button (Bug#13291).
3918
be4e325d
MH
3919 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3920 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3921
832966e5
JD
39222013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3923
3924 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3925 and default-process-coding-system to utf-8-unix (Bug#15402).
3926
6cfe977d
XF
39272013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3928
3929 * subr.el (looking-back): Do not recommend using looking-back.
3930
38de11bd
AM
39312013-09-28 Alan Mackenzie <acm@muc.de>
3932
3933 Fix indentation/fontification of Java enum with "implements".
3934
3935 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3936 regexp which matches "implements", etc., in Java.
3937 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3938 specifier clauses coming after "enum".
3939 * progmodes/cc-fonts.el (c-font-lock-declarations)
3940 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3941 after "enum".
3942
1610938f
JD
39432013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3944
3945 * faces.el (region): Change ns_selection_color to
3946 ns_selection_fg_color, add ns_selection_bg_color.
3947
e090f499
LL
39482013-09-28 Leo Liu <sdl.web@gmail.com>
3949
4d2e94d1
LL
3950 * progmodes/octave.el (inferior-octave-completion-table)
3951 (inferior-octave-completion-at-point): Minor tweaks.
3952
e090f499
LL
3953 * textmodes/ispell.el (ispell-lookup-words): Rename from
3954 lookup-words. (Bug#15460)
3955 (lookup-words): Obsolete.
3956 (ispell-complete-word, ispell-command-loop): All uses changed.
3957
7e138a62
RS
39582013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3959
3960 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3961 (octave-mode-menu): Add octave-send-buffer.
3962 (octave-send-buffer): New function.
3963
5af5ed08
RS
39642013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3965
3966 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3967 octave-lookfor.
3968 (octave-mode-menu): Add octave-lookfor.
3969 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3970 octave-lookfor.
3971 (octave-lookfor): New function.
3972
3b7b2692
SM
39732013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * emacs-lisp/cl-macs.el:
3976 (cl--loop-destr-temps): Remove.
3977 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3978 its convention.
3979 (cl--loop-set-iterator-function): New function.
3980 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3981 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3982 Bind `it' with `let' instead of substituting it with `cl-subst'.
3983 (cl--unused-var-p): New function.
3984 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3985 Eliminate some unused variable warnings (bug#15326).
3986
529fb53f
TH
39872013-09-27 Tassilo Horn <tsdh@gnu.org>
3988
3989 * doc-view.el (doc-view-scale-reset): Rename from
3990 `doc-view-reset-zoom-level'.
3991 (doc-view-scale-adjust): New command.
3992 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3993 `doc-view-scale-adjust'.
3994
0550c95a
TH
39952013-09-26 Tassilo Horn <tsdh@gnu.org>
3996
3997 * doc-view.el (doc-view-reset-zoom-level): New command.
3998 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3999 zoom commands (bug#15466).
4000
6950f152
KH
40012013-09-26 Kenichi Handa <handa@gnu.org>
4002
4003 * international/quail.el (quail-help): Make it not a command.
4004
39587580
LL
40052013-09-26 Leo Liu <sdl.web@gmail.com>
4006
4007 * minibuffer.el (completion-all-sorted-completions): Make args
4008 optional as they are.
4009
00578659
DC
40102013-09-25 Daniel Colascione <dancol@dancol.org>
4011
4012 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4013 specs are and that they're not evaluated.
4014
0c173878
SS
40152013-09-24 Sam Steingold <sds@gnu.org>
4016
4017 * midnight.el (clean-buffer-list-kill-regexps)
4018 (clean-buffer-list-kill-buffer-names): Update for the new Man
4019 buffer naming which includes the object name.
4020
84998447
SM
40212013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4022
4023 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4024 (eshell-parse-command, eshell-parse-pipeline): Use it since
4025 eshell-separate-commands requires a dynamic scoped var.
4026 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4027
33215353
LL
40282013-09-23 Leo Liu <sdl.web@gmail.com>
4029
4030 * autoinsert.el (auto-insert-alist): Make the value of
4031 lexical-binding match its file setting.
4032
57b16162
JB
40332013-09-23 Juanma Barranquero <lekktu@gmail.com>
4034
c8af4e67
JB
4035 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4036
57b16162
JB
4037 * autoarg.el (autoarg-kp-digit-argument):
4038 * electric.el (Electric-command-loop):
4039 * kmacro.el (kmacro-step-edit-insert):
4040 Do not set universal-argument-num-events.
4041
7186ba60
LL
40422013-09-22 Leo Liu <sdl.web@gmail.com>
4043
4044 * files.el (interpreter-mode-alist): Add octave.
4045
ece15004
AM
40462013-09-21 Alan Mackenzie <acm@muc.de>
4047
4048 C++: fontify identifier in declaration following "public:" correctly.
4049 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4050 to match "public", etc.
4051 (c-decl-prefix-re): Add ":" into the C++ value.
4052 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4053 bit. Add a check for a ":" preceded by "public", etc.
4054
75d83e22
EZ
40552013-09-21 Eli Zaretskii <eliz@gnu.org>
4056
4057 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4058 recognized by GDB 7.5 and later.
4059
d052d3bd
XF
40602013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4061
4062 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4063
31dca772
R
40642013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4065
4066 * subr.el (internal--call-interactively): New const.
4067 (called-interactively-p): Use it (bug#3984).
4068
98ccf24e
XF
40692013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4070
4071 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4072 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4073 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4074
c39cc7d1
SM
40752013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4076
4077 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4078 (eshell-ls-orig-insert-directory): Remove.
4079 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4080 (eshell-ls-use-in-dired): Use advice-add/remove.
4081 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4082 Add `orig-fun' arg for use in :around advice.
4083 Make it check (redundantly) eshell-ls-use-in-dired.
4084
9a0289a2
GM
40852013-09-19 Glenn Morris <rgm@gnu.org>
4086
a2c501b8
GM
4087 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4088
c440407a
GM
4089 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4090
9a0289a2
GM
4091 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4092
85e05915
MA
40932013-09-19 Michael Albinus <michael.albinus@gmx.de>
4094
4095 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4096 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4097 (tramp-get-remote-python): New defuns.
4098 (tramp-get-remote-uid-with-perl)
4099 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4100 contributed by yary <not.com@gmail.com> (tiny change).
4101 (tramp-get-remote-uid-with-python)
4102 (tramp-get-remote-gid-with-python): New defuns. Python code
4103 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4104 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4105
ce503312
GM
41062013-09-19 Glenn Morris <rgm@gnu.org>
4107
f7544773
GM
4108 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4109
72fd2877
GM
4110 * eshell/em-unix.el (eshell-remove-entries):
4111 Rename argument to avoid name-clash with global `top-level'.
4112
336b5a56
GM
4113 * eshell/esh-proc.el (eshell-kill-process-function):
4114 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4115 (eshell-reset-after-proc): Remove unused arg `proc'.
4116
57a3a53d
GM
4117 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4118 (directory-files-and-attributes): Mark unused arg.
4119
3261d4af
GM
4120 * eshell/em-unix.el (eshell-remove-entries):
4121 Remove unused arg `path'. Update callers.
4122
8e51b5d0
GM
4123 * eshell/em-hist.el (eshell-hist-parse-arguments):
4124 Remove unused arg `silent'. Update callers.
4125
ce503312
GM
4126 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4127 Fix (f)boundp mix-up.
4128
4129 * eshell/em-smart.el (eshell-smart-scroll-window)
4130 (eshell-disable-after-change):
336b5a56 4131 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4132
ee3ce8a7
AM
41332013-09-18 Alan Mackenzie <acm@muc.de>
4134
4135 Fix fontification of type when followed by "const".
4136 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4137 "known" types from fontification.
4138
ec9177ba
GM
41392013-09-18 Glenn Morris <rgm@gnu.org>
4140
7bb3e768
GM
4141 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4142 (chart-face-list): Drop Emacsen without display-color-p.
4143
5148da15
GM
4144 * net/eww.el (libxml-parse-html-region): Declare.
4145 (eww-display-html): Explicit error if no libxml2 support.
4146
2f68e157
GM
4147 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4148
9019d095
GM
4149 * image.el (image-type-from-buffer, image-multi-frame-p):
4150 Remove --without-x warning/error.
67645389 4151
5f30349b 4152 * mouse.el (mouse-yank-primary):
45069b2e 4153 * term.el (term-mouse-paste):
5f30349b
GM
4154 Reorder to silence --without-x compilation.
4155
cd8edbbe
GM
4156 * mpc.el (doc-view-mode): Silence --without-x compilation.
4157
8a78544e
GM
4158 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4159 Silence --without-x compilation.
4160
12679bfd
GM
4161 * progmodes/gud.el (gud-find-file, gud-mode):
4162 Silence --without-x compilation.
4163 (tooltip-mode): Declare.
30810a05 4164
f0047cb9
GM
4165 * wdired.el (dired-backup-overwrite): Remove declaration.
4166 (wdired-mode-map): Add doc string.
4167
e740f9d2
GM
4168 * custom.el (x-get-resource): Declare.
4169
92d77c89
GM
4170 * eshell/em-glob.el (ange-cache):
4171 * eshell/em-unix.el (ange-cache): Declare.
4172
76e69577
GM
4173 * faces.el (x-display-list, x-open-connection, x-get-resource):
4174 Declare.
7e58af4b
GM
4175
4176 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4177 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4178 Declare.
76e69577 4179
4bd4c0af 4180 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4181
ffb82dbd
GM
4182 * net/gnutls.el (gnutls-log-level): Declare.
4183
986ed135
GM
4184 * net/shr.el (image-size, image-animate): Declare.
4185
e740f9d2
GM
4186 * simple.el (font-info): Declare.
4187
d2f3e9f8
GM
4188 * subr.el (x-popup-dialog): Declare.
4189
047a1a4c
GM
4190 * term/common-win.el (x-select-enable-primary)
4191 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4192 Declare.
4193
f4a1d572
GM
4194 * term/ns-win.el (x-handle-args): Declare.
4195
e843de77
GM
4196 * term/x-win.el (x-select-enable-clipboard): Declare.
4197
5fa89513
GM
4198 * term/w32-win.el (create-default-fontset): Declare.
4199
38702b5b
GM
4200 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4201 Declare.
4202
e740f9d2
GM
4203 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4204 (fit-frame-to-buffer): Explicit error if --without-x.
4205 (mouse-autoselect-window-select): Silence compiler.
4206
49a053fc
GM
4207 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4208
4209 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4210 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4211 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4212 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4213 Remove unused local variables.
4214
4215 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4216
ec9177ba
GM
4217 * textmodes/two-column.el: Make 2C-split work for --without-x.
4218 (scroll-bar-columns): Autoload.
4219 (top-level): Require fringe when compiling.
4220
9f25cb77
LL
42212013-09-18 Leo Liu <sdl.web@gmail.com>
4222
4223 * subr.el (add-hook): Robustify to handle closure as well.
4224
2b42da98
GM
42252013-09-17 Glenn Morris <rgm@gnu.org>
4226
4227 * simple.el (messages-buffer-mode-map): Unbind "g".
4228
e8b66a6a
SM
42292013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4230
9c0ad4f7
SM
4231 * help-mode.el (help-mode-finish): Use derived-mode-p.
4232 Remove obsolete highlighting.
4233
7a806dfb
SM
4234 * play/life.el (life-mode): Use define-derived-mode. Derive from
4235 special-mode.
4236 (life): Let-bind inhibit-read-only.
4237 (life-setup): Avoid `setq'. Use `life-mode'.
4238
96dbf5a8
SM
4239 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4240 which should not be needed any more.
4241 (package-menu-refresh, package-menu-describe-package): Use user-error.
4242
e8b66a6a
SM
4243 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4244 (eshell-post-rewrite-command-hook): Make obsolete.
4245 (eshell-parse-command): Simplify.
4246 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4247 (eshell--cmd): Declare.
4248 (eshell-parse-pipeline): Remove unused var `final-p'.
4249 Pass a dynvar to eshell-post-rewrite-command-hook.
4250 Implement the new eshell-post-rewrite-command-function.
4251 (eshell-invoke-directly): Remove unused arg `input'.
4252 * eshell/esh-io.el (eshell-io-initialize):
4253 Use eshell-post-rewrite-command-function (bug#15399).
4254 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4255 adjust to new calling convention.
4256 (eshell-create-handles): Rename args to avoid clashing with dynvar
4257 `standard-output'.
4258
90582f05
GM
42592013-09-17 Glenn Morris <rgm@gnu.org>
4260
4261 * simple.el (messages-buffer-mode): New major mode.
4262 (messages-buffer): New function.
4263 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4264 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4265 (ert-run-test): Use `messages-buffer' function.
90582f05 4266 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4267 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4268 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4269
39eb0cb5 42702013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4271
4272 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4273
1d42e5b6 4274 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4275
70568a90
SM
42762013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4277
504a0381
SM
4278 * icomplete.el (icomplete-in-buffer): New var.
4279 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4280 vars and replace them with functions.
4281 (icomplete-minibuffer-setup): Adjust accordingly.
4282 (icomplete--completion-table, icomplete--completion-predicate)
4283 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4284 New functions.
4285 (icomplete-forward-completions, icomplete-backward-completions)
4286 (icomplete-simple-completing-p, icomplete-exhibit)
4287 (icomplete-completions): Use them.
4288 (icomplete--in-region-buffer): New var.
4289 (icomplete--in-region-setup): New function.
4290 (icomplete-mode): Use it.
4291
70568a90
SM
4292 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4293 (bug#15379).
4294 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4295 return args and options.
4296 (eshell-eval-using-options): Use the new return value of
4297 eshell--do-opts to set the options's vars in their scope.
4298 (eshell--set-option): Rename from eshell-set-option.
4299 Add arg `opt-vals'.
4300 (eshell--process-option): Rename from eshell-process-option.
4301 Add arg `opt-vals'.
4302 (eshell--process-args): Use an `opt-vals' alist to store the options's
4303 values during their processing and return them additionally to the
4304 remaining args.
4305
578c21bc
DG
43062013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4307
4308 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4309 continuation character an operator, as far as indentation is
4310 concerned (Bug#15369).
4311
c089653d
MR
43122013-09-15 Martin Rudalics <rudalics@gmx.at>
4313
4314 * window.el (window--state-put-2): Don't process buffer state
4315 when buffer doesn't exist any more (Bug#15382).
4316
1e53bb4b
GM
43172013-09-15 Glenn Morris <rgm@gnu.org>
4318
30753242
GM
4319 * eshell/em-unix.el (eshell/rm):
4320 Make -f ignore missing files. (Bug#15373)
4321
1e53bb4b
GM
4322 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4323 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4324 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4325
0d8863b3
GM
43262013-09-14 Glenn Morris <rgm@gnu.org>
4327
4328 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4329
d3fc6549
GM
43302013-09-13 Glenn Morris <rgm@gnu.org>
4331
4332 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4333 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4334
fcd42c11
DA
43352013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4336
4337 * frame.el (x-focus-frame): Mark as declared in frame.c.
4338
7830899f
SM
43392013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * ls-lisp.el: Use advice-add.
4342 (original-insert-directory): Remove.
4343 (ls-lisp--insert-directory): Rename from insert-directory; add
4344 `orig-fun' argument.
4345 (insert-directory): Advise.
4346
84387cd2
EZ
43472013-09-13 Eli Zaretskii <eliz@gnu.org>
4348
4349 * term.el (term-emulate-terminal): Decode the command string
4350 before passing it to term-command-hook. (Bug#15337)
4351
35ffc6ba
GM
43522013-09-13 Glenn Morris <rgm@gnu.org>
4353
5c3f9bcc
GM
4354 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4355
2ada368a
GM
4356 * eshell/esh-ext.el (eshell-search-path): Declare.
4357
fcef2e13
GM
4358 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4359 Otherwise an error occurs if eshell-dirs module not loaded.
4360
35ffc6ba
GM
4361 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4362
35c3d36e
MA
43632013-09-13 Michael Albinus <michael.albinus@gmx.de>
4364
4365 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4366 `tramp-check-proper-host'. Check for a valid method name.
4367
4368 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4369 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4370 * net/tramp-sh.el (tramp-maybe-open-connection):
4371 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4372
4373 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4374 also for hash values.
4375
ae5e4c48
SM
43762013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4377
379add74
SM
4378 * term/ns-win.el (parameters): Don't declare as dynamic.
4379 (before-make-frame-hook): Don't add ineffective function.
4380
ae5e4c48
SM
4381 * eshell/*.el: Use lexical-binding (bug#15231).
4382
b5623270
KH
43832013-09-12 Kenichi Handa <handa@gnu.org>
4384
ae5e4c48 4385 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4386
30213927
GM
43872013-09-12 Glenn Morris <rgm@gnu.org>
4388
be94d713 4389 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4390 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4391
44915370
GM
4392 * subr.el (do-after-load-evaluation): Also give compiler warnings
4393 when obsolete files are used (except by obsolete files).
4394
a6ae021f
GM
4395 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4396 in the status output, assume `filename' is the first. (Bug#15322)
4397
40e64f0c
GM
4398 * vc/vc.el (vc-deduce-fileset): Doc fix.
4399
16d9f896
GM
4400 * calc/calc-help.el (Info-goto-node):
4401 * progmodes/cperl-mode.el (Info-find-node):
4402 * vc/ediff.el (Info-goto-node): Update declarations.
4403
dea01c6e
GM
4404 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4405
759880bf 4406 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4407 (vc-bzr-pull): Require vc-dispatcher.
4408 * vc/vc-git.el (vc-compilation-mode): Declare.
4409 (vc-git-pull): Require vc-dispatcher.
4410
08d66420
GM
4411 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4412
30b626e9
GM
4413 * progmodes/octave.el (help-button-action): Declare.
4414
8c05cb10
GM
4415 * shell.el (shell-directory-tracker): Output error as a message
4416 rather than just returning it as a string.
4417 (shell-process-pushd): Remove useless use of message.
4418
30213927
GM
4419 * dframe.el (dframe-timer-fn):
4420 * files.el (dir-locals-read-from-file):
4421 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4422 (mpc-format):
4423 * reveal.el (reveal-post-command):
4424 * saveplace.el (load-save-place-alist-from-file):
4425 * shell.el (shell-resync-dirs):
4426 * w32-common-fns.el (x-get-selection-value):
4427 * emacs-lisp/copyright.el (copyright-find-copyright):
4428 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4429 * emulation/tpu-edt.el (tpu-copy-keyfile):
4430 * play/bubbles.el (bubbles--mark-neighbourhood):
4431 * progmodes/executable.el
4432 (executable-make-buffer-file-executable-if-script-p):
4433 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4434
d3b049e6
SM
44352013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4436
170266d0
SM
4437 Cleanup Eshell to rely less on dynamic scoping.
4438 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4439 last-value, and ext-command here. Bind `args' closer to `body'.
4440 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4441 (eshell--args): Declare new dynamic var.
4442 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4443 last-value, and ext-command. Pass `args' to `body'.
4444 (eshell-process-args): Bind eshell--args.
4445 (eshell-set-option): Use eshell--args.
4446 * eshell/eshell.el (eshell): Use derived-mode-p.
4447 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4448 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4449 (eshell-glob-function): Declare.
4450 * eshell/esh-util.el: Require cl-lib.
4451 (eshell-read-hosts-file): Avoid add-to-list.
4452 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4453 `err'.
4454 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4455 Declare.
4456 (eshell/diff): Remove unused var `err'.
4457 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4458 `killflag'.
4459 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4460 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4461 first use.
4462 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4463 Move declaration before first use.
4464 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4465 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4466 rely on cl-return.
4467
56834f3b
GM
44682013-09-12 Glenn Morris <rgm@gnu.org>
4469
4470 * term/ns-win.el (global-map): Remove binding for ispell-next,
4471 deleted 1999-05-29. (Bug#15357)
4472
5c91a2b8
GM
44732013-09-11 Glenn Morris <rgm@gnu.org>
4474
da712f22
GM
4475 * echistory.el (electric-command-history): Remove call to deleted func.
4476
512e4cdc
GM
4477 * play/landmark.el (landmark-mode): Fix typos.
4478
d3506ca5
GM
4479 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4480 Check cvs-sort-ignore-file is bound.
4481
5c91a2b8
GM
4482 * savehist.el: No need for cl when compiling on Emacs.
4483
feeff482
SM
44842013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4485
656bd483
SM
4486 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4487 (bug#15338).
d3b049e6
SM
4488 (eshell-self-insert-command, eshell-send-invisible):
4489 Remove unused argument.
656bd483
SM
4490 (eshell-handle-control-codes): Remove unused var `orig'.
4491 Avoid delete-backward-char.
4492
feeff482
SM
4493 * files.el (set-auto-mode): Simplify a bit further.
4494
2a08047a
GM
44952013-09-11 Glenn Morris <rgm@gnu.org>
4496
4497 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4498 (set-auto-mode): Don't regexp-quote elements.
4499 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4500 * progmodes/cc-mode.el (interpreter-mode-alist):
4501 * progmodes/ruby-mode.el (interpreter-mode-alist):
4502 Revert previous change.
4503
34675540
SM
45042013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4505
1b3b87df
SM
4506 * play/snake.el (snake-mode):
4507 * play/mpuz.el (mpuz-mode):
4508 * play/landmark.el (lm-mode):
4509 * play/blackbox.el (blackbox-mode):
4510 * play/5x5.el (5x5-mode):
4511 * obsolete/options.el (Edit-options-mode):
4512 * net/quickurl.el (quickurl-list-mode):
4513 * net/newst-treeview.el (newsticker-treeview-mode):
4514 * mail/rmailsum.el (rmail-summary-mode):
4515 * mail/mspools.el (mspools-mode):
4516 * locate.el (locate-mode):
4517 * ibuffer.el (ibuffer-mode):
4518 * emulation/ws-mode.el (wordstar-mode):
4519 * emacs-lisp/debug.el (debugger-mode):
4520 * array.el (array-mode):
4521 * net/eudc.el (eudc-mode): Use define-derived-mode.
4522 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4523 Move initialization into declaration.
4524 (mairix-searches-mode): Use define-derived-mode.
4525 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4526 (eudc-edit-hotlist): Use dolist.
4527 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4528 (Man-mode): Use define-derived-mode.
4529 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4530 (Info-edit-mode): Use define-derived-mode.
4531 (Info-cease-edit): Use Info-mode.
4532 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4533 into declaration.
4534 (eshell-mode): Use define-derived-mode.
4535 * chistory.el (command-history-mode-map): Rename from
4536 command-history-map.
4537 (command-history-mode): Use define-derived-mode.
da712f22 4538 (Command-history-setup): Remove function.
1b3b87df
SM
4539 * calc/calc.el (calc-trail-mode-map): New var.
4540 (calc-trail-mode): Use define-derived-mode.
4541 (calc-trail-buffer): Set calc-main-buffer manually.
4542 * bookmark.el (bookmark-insert-annotation): New function.
4543 (bookmark-edit-annotation): Use it.
4544 (bookmark-edit-annotation-mode): Make it a proper major mode.
4545 (bookmark-send-edited-annotation): Use derived-mode-p.
4546 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4547 closer to its ideal place. Use \' to match EOS.
4548
34675540
SM
4549 * profiler.el (profiler-calltree-find): Use function-equal.
4550
6a5c15d9
GM
45512013-09-10 Glenn Morris <rgm@gnu.org>
4552
1af4c220
GM
4553 * files.el (interpreter-mode-alist): Convert to regexps.
4554 (set-auto-mode): Adapt for this. (Bug#15306)
4555 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4556 Comment out unused variable.
4557 * progmodes/cc-mode.el (interpreter-mode-alist):
4558 * progmodes/python.el (interpreter-mode-alist):
4559 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4560 * progmodes/sh-script.el (sh-set-shell):
4561 No longer use interpreter-mode-alist to get list of shells.
4562
6a5c15d9
GM
4563 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4564
8c27f5ff
SM
45652013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4566
02ef6c1a 4567 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4568 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4569 Bind switch-frame explicitly. Replace universal-argument-minus with
4570 a conditional binding.
4571 (universal-argument-num-events, saved-overriding-map): Remove.
4572 (restore-overriding-map): Remove.
4573 (universal-argument--mode): Rename from save&set-overriding-map,
4574 and rewrite.
4575 (universal-argument, universal-argument-more, negative-argument)
4576 (digit-argument): Adjust accordingly.
4577 (universal-argument-minus): Remove.
4578 (universal-argument-other-key): Remove.
4579
8c27f5ff
SM
4580 * subr.el (with-demoted-errors): Add `format' argument.
4581
6480194c
MA
45822013-09-10 Michael Albinus <michael.albinus@gmx.de>
4583
4584 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4585 `tramp-cleanup-connection'.
4586
4587 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4588 parameters KEEP-DEBUG and KEEP-PASSWORD.
4589
4590 * net/tramp.el (tramp-file-name-handler):
4591 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4592 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4593 (tramp-maybe-open-connection):
8c27f5ff
SM
4594 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4595 Use `tramp-cleanup-connection'.
6480194c 4596
8c27f5ff
SM
4597 * net/tramp-sh.el (tramp-maybe-open-connection):
4598 Catch 'uname-changed inside the progress reporter.
6480194c 4599
e5e916d8
GM
46002013-09-10 Glenn Morris <rgm@gnu.org>
4601
9a2c9b47
GM
4602 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4603
e5e916d8
GM
4604 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4605 returns "alternate access method" in mode (eg "-rw-r--r--.").
4606
144e38fe
GM
46072013-09-08 Glenn Morris <rgm@gnu.org>
4608
4609 * saveplace.el (load-save-place-alist-from-file):
4610 Demote errors. (Bug#15305)
4611
af9ff9e8
MA
46122013-09-08 Michael Albinus <michael.albinus@gmx.de>
4613
4614 Improve compatibility with older Emacsen, and XEmacs.
4615
4616 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4617 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4618 (with-tramp-progress-reporter): Do not let-bind `result'.
4619 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4620 (tramp-handle-make-auto-save-file-name): New function, moved from
4621 tramp-sh.el.
4622
4623 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4624 for `make-auto-save-file-name'.
8c27f5ff
SM
4625 (tramp-adb--gnu-switches-to-ash):
4626 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4627
4628 * net/tramp-cache.el (tramp-cache-print): Call
4629 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4630
4631 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4632 bound. It isn't for XEmacs.
4633
8c27f5ff
SM
4634 * net/tramp-compat.el (tramp-compat-copy-file):
4635 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4636 (tramp-compat-replace-regexp-in-string): New defun.
4637
4638 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4639 for `make-auto-save-file-name'.
4640 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4641 `copy-file'.
4642 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4643 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4644 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4645
8c27f5ff
SM
4646 * net/tramp-gw.el (tramp-gw-open-network-stream):
4647 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4648
8c27f5ff
SM
4649 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4650 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4651 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4652 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4653 (tramp-sh-file-inotifywait-process-filter):
4654 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4655 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4656
4657 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4658 for `make-auto-save-file-name'.
8c27f5ff
SM
4659 (tramp-smb-handle-copy-directory):
4660 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4661 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4662 (tramp-smb-handle-copy-file): Improve error message.
4663 (tramp-smb-handle-rename-file): Rename directly only in case
4664 `newname' does not exist yet. This is a restriction of smbclient.
4665 (tramp-smb-maybe-open-connection): Rerun the function only when
4666 `auth-sources' is non-nil.
4667
0ca754d0
KH
46682013-09-08 Kenichi Handa <handa@gnu.org>
4669
e0eb0550 4670 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4671 more characters.
4672
e8dd0787
AM
46732013-09-07 Alan Mackenzie <acm@muc.de>
4674
4675 Correctly fontify Java class constructors.
4676 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4677 in Java Mode.
4678 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4679 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4680 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4681 "typeless" declaration there.
4682
f2f248e7
RW
46832013-09-07 Roland Winkler <winkler@gnu.org>
4684
4685 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4686 field subtitle for entry type book.
4687
67982e2b
SM
46882013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * minibuffer.el: Make minibuffer-complete call completion-in-region
4691 rather than other way around.
4692 (completion--some, completion-pcm--find-all-completions):
4693 Don't delay signals when debugging.
4694 (minibuffer-completion-contents): Beware fields within the
4695 minibuffer contents.
4696 (completion-all-sorted-completions): Use defvar-local.
4697 (completion--do-completion, completion--cache-all-sorted-completions)
4698 (completion-all-sorted-completions, minibuffer-force-complete):
4699 Add args `beg' and `end'.
4700 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4701 (minibuffer-complete): Use completion-in-region.
4702 (completion-complete-and-exit): New fun, extracted from
4703 minibuffer-complete-and-exit.
4704 (minibuffer-complete-and-exit): Use it.
4705 (completion--complete-and-exit): Rename from
4706 minibuffer--complete-and-exit.
4707 (completion-in-region--single-word): New function, extracted from
4708 minibuffer-complete-word.
4709 (minibuffer-complete-word): Use it.
4710 (display-completion-list): Make `common-substring' argument obsolete.
4711 (completion--in-region): Call completion--in-region-1 instead of
4712 minibuffer-complete.
4713 (completion-help-at-point): Pass boundaries to
4714 minibuffer-completion-help as args rather than via an overlay.
4715 (completion-pcm--string->pattern): Use `any-delim'.
4716 (completion-pcm--optimize-pattern): New function.
4717 (completion-pcm--pattern->regex): Handle `any-delim'.
4718 * icomplete.el (icomplete-forward-completions)
4719 (icomplete-backward-completions, icomplete-completions):
4720 Adjust calls to completion-all-sorted-completions and
4721 completion--cache-all-sorted-completions.
4722 (icomplete-with-completion-tables): Default to t.
4723 * emacs-lisp/crm.el (crm--current-element): Rename from
4724 crm--select-current-element. Don't put an overlay but return the
4725 boundaries instead.
4726 (crm--completion-command): Take two new args to bind to the boundaries.
4727 (crm-completion-help): Adjust accordingly.
4728 (crm-complete): Use completion-in-region.
4729 (crm-complete-word): Use completion-in-region--single-word.
4730 (crm-complete-and-exit): Use completion-complete-and-exit.
4731
e17d94a5
SM
47322013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4735 than dynamically.
4736
96727100
JL
47372013-09-06 Juri Linkov <juri@jurta.org>
4738
4739 * info.el (Info-display-images-node): When image file doesn't exist
4740 display text version of the image if it's provided in the Info file.
4741 Otherwise, display the location of missing image from SRC attribute.
4742 Add help-echo text property from ALT attribute. (Bug#15279)
4743
86cf7329
SM
47442013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4747 (edit-abbrevs-mode): Use define-derived-mode.
4748
4749 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4750 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4751 that it's defined.
4752 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4753 Use define-derived-mode.
4754
4755 * epg.el (epg-start-encrypt): Minor CSE simplification.
4756
816244a2
WX
47572013-09-06 William Xu <william.xwl@gmail.com>
4758
4759 * arc-mode.el: Add support for 7za (bug#15264).
4760 (archive-7z-program): New var.
4761 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4762 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4763 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4764
1486fa31
MA
47652013-09-06 Michael Albinus <michael.albinus@gmx.de>
4766
4767 Remove URL syntax.
4768
4769 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4770 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4771 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4772 (tramp-postfix-host-format, tramp-file-name-regexp)
4773 (tramp-completion-file-name-regexp)
4774 (tramp-completion-dissect-file-name)
4775 (tramp-handle-substitute-in-file-name): Remove 'url case.
4776 (tramp-file-name-regexp-url)
4777 (tramp-completion-file-name-regexp-url): Remove constants.
4778
39785324
GM
47792013-09-06 Glenn Morris <rgm@gnu.org>
4780
4781 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4782
1f896cb7
DG
47832013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4784
4785 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4786 keywords" below "here-doc beginnings" (Bug#15270).
4787
c0458e0b
SM
47882013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * subr.el (pop): Use `car-safe'.
4791 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4792 to detect unused `pop' return value.
4793
4794 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4795 var `block-regexp'.
4796 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4797 (python-fill-string): Remove unused var `marker'.
4798 (python-skeleton-add-menu-items): Remove unused var `items'.
4799
4800 * international/mule-cmds.el: Require CL.
4801 (find-coding-systems-for-charsets): Avoid add-to-list.
4802 (sanitize-coding-system-list): New function, extracted from
4803 select-safe-coding-system-interactively.
4804 (select-safe-coding-system-interactively): Use it.
4805 (read-input-method-name): Accept symbols for `default'.
4806
4807 * emacs-lisp/advice.el (defadvice): Add indent rule.
4808
6c42fc3e
DH
48092013-09-05 Daniel Hackney <dan@haxney.org>
4810
4811 * dired-x.el:
4812 * net/ange-ftp.el:
4813 * net/browse-url.el:
4814 * net/dbus.el:
4815 * net/eudc.el:
4816 * net/eudcb-ldap.el:
4817 * net/eww.el:
4818 * net/imap.el:
4819 * printing.el:
4820 * vc/ediff-diff.el:
4821 * vc/ediff-init.el:
4822 * vc/ediff-merg.el:
4823 * vc/ediff-mult.el:
4824 * vc/ediff-util.el:
4825 * vc/ediff-wind.el:
4826 * vc/ediff.el:
4827 * vc/emerge.el:
4828 * vc/pcvs.el:
4829 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4830 byte compiler. Remove some unused let-bound variables.
4831
4c528aab
SM
48322013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4835 a "ref-cell", since it gets better optimized (bug#14883).
4836
bd15c390
GM
48372013-09-05 Glenn Morris <rgm@gnu.org>
4838
4839 * progmodes/cc-awk.el (c-forward-sws): Declare.
4840
1c3ac2e5
GM
48412013-09-04 Glenn Morris <rgm@gnu.org>
4842
4843 * generic-x.el [rul-generic-mode]: Require cc-mode.
4844 (c++-mode-syntax-table): Declare.
4845 (rul-generic-mode-syntax-table): Init in the defvar.
4846
52b1cc79
SM
48472013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4848
c828af56
SM
4849 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4850 (vc-do-command, vc-set-async-update):
4851 * vc/vc-mtn.el (vc-mtn-dir-status):
4852 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4853 (vc-hg-pull, vc-hg-merge-branch):
4854 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4855 (vc-git-merge-branch):
4856 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4857 (vc-cvs-dir-status-files):
4858 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4859 (vc-bzr-dir-status-files):
4860 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4861 * vc/vc-annotate.el: Use lexical-binding.
4862 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4863 (vc-sentinel-movepoint): Declare.
4864 (vc-annotate): Don't use `goto-line'.
4865 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4866 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4867 (vc-sentinel-movepoint): Declare.
4868 * vc/vc-svn.el: Use lexical-binding.
4869 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4870 * vc/vc-sccs.el:
4871 * vc/vc-rcs.el: Use lexical-binding.
4872
abae272c
SM
4873 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4874 `deleted'. Don't drop errors silently.
4875
52b1cc79
SM
4876 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4877
63191d9f
XF
48782013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4879
4880 * vc/vc.el (vc-ignore): Rewrite.
4881 (vc-default-ignore): New function.
4882 (vc-default-ignore-completion-table): Use find-ignore-file.
4883
4884 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4885 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4886 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4887 Remove. Most code moved to vc.el.
4888
9d3f707c
SM
48892013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4890
abae272c 4891 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4892 * net/tramp-smb.el (tramp-smb-get-file-entries):
4893 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4894 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4895
fde38d49
SM
4896 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4897 Update call to it.
4898 (eww-change-select): Remove unused var `properties'.
4899 (eww-make-unique-file-name): Remove unused var `base'.
4900
4901 * finder.el (finder-compile-keywords): Don't mess with windows.
4902
84032db7
SM
4903 * calculator.el (calculator-funcall): Fix typo in last change.
4904
724f5e41
SM
4905 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4906
14b511d4
SM
4907 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4908 <pkg>-autoloads.el file stop us.
4909
9d3f707c 4910 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4911 warnings, and factor out common code.
9d3f707c 4912
88527bc0
DG
49132013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4914
4915 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4916 two-character operators and whether the character preceding them
4917 changes their meaning (Bug#15208).
4918
96edb677
FEG
49192013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4920
4921 Format code sent to Python shell for robustness.
9d3f707c
SM
4922 * progmodes/python.el (python-shell-buffer-substring):
4923 New function.
96edb677
FEG
4924 (python-shell-send-region, python-shell-send-buffer): Use it.
4925
95beaef3
MA
49262013-09-02 Michael Albinus <michael.albinus@gmx.de>
4927
4928 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4929 * net/tramp.el (tramp-user-error): ... here.
4930 (tramp-find-method, tramp-check-proper-host)
4931 (tramp-dissect-file-name, tramp-debug-message)
4932 (tramp-handle-shell-command):
4933 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4934 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4935
4936 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4937
f167c27b
MR
49382013-09-02 Martin Rudalics <rudalics@gmx.at>
4939
4940 * avoid.el (mouse-avoidance-point-position)
4941 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4942 returns nil.
4943
cd16c5f1
FEG
49442013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4945
4946 * progmodes/python.el (python-shell-completion-get-completions):
4947 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4948 (python-nav-if-name-main): New command.
cd16c5f1 4949
e73c3a0d
GM
49502013-09-01 Glenn Morris <rgm@gnu.org>
4951
f8ccce03
GM
4952 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4953 Avoid leading space in $wins. Otherwise the sed command used by
4954 eg compile-main ends up containing "/*.el". (Bug#15170)
4955
e73c3a0d
GM
4956 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4957
415f808e
GM
49582013-08-30 Glenn Morris <rgm@gnu.org>
4959
4960 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4961 Fix is-this-a-directory logic. (Bug#15220)
4962
f069bba8
SM
49632013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4964
112798c1
SM
4965 * textmodes/css-mode.el: Use SMIE.
4966 (css-smie-grammar): New var.
4967 (css-smie--forward-token, css-smie--backward-token)
4968 (css-smie-rules): New functions.
4969 (css-mode): Use them.
4970 (css-navigation-syntax-table): Remove var.
4971 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4972 (css-indent-calculate, css-indent-line): Remove functions.
4973
4974 Misc changes to reduce use of `(lambda...); and other cleanups.
4975 * cus-edit.el: Use lexical-binding.
4976 (customize-push-and-save, customize-apropos)
4977 (custom-buffer-create-internal): Use closures.
4978 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4979 * progmodes/ada-xref.el: Use setq.
4980 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4981 * dframe.el: Use lexical-binding.
4982 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4983 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4984 * descr-text.el: Use lexical-binding.
4985 (describe-text-widget, describe-text-sexp, describe-property-list):
4986 Use closures.
4987 * comint.el (comint-history-isearch-push-state): Use a closure.
4988 * calculator.el: Use lexical-binding.
4989 (calculator-number-to-string): Make it work with lexical-binding.
4990 (calculator-funcall): Same and use cl-letf.
4991
2da4c3ab
SM
4992 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4993 (lisp--company-doc-string, lisp--company-location): New functions.
4994 (lisp-completion-at-point): Use them to improve Company support.
4995
f069bba8
SM
4996 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4997 params of lambda expressions.
4998 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4999 (ruby-smie--opening-pipe-p): New function.
5000 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5001 symbols and matched |...| for formal params.
5002 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5003 from being treated as hanging. Handle "rescue".
5004
6758b6a8
GM
50052013-08-29 Glenn Morris <rgm@gnu.org>
5006
5007 * progmodes/cc-engine.el (c-pull-open-brace):
5008 Move definition before use.
5009
e8dfd197
SM
50102013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5011
5012 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5013 are immutable. Don't use `unsafe' any more.
5014 (cl--defsubst-expand): Don't substitute at the same time as keeping
5015 a residual unused let-binding. Don't use `unsafe' any more.
5016
cc585c96
GM
50172013-08-29 Glenn Morris <rgm@gnu.org>
5018
ba579ea6
GM
5019 * calendar/cal-china.el (calendar-chinese-year-cache):
5020 Recenter on 2015.
5021
8201a87e
GM
5022 * nxml/nxml-util.el (nxml-debug-clear-inside):
5023 Use cl-loop rather than loop.
5024
6ee877c7
GM
5025 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5026
cc585c96
GM
5027 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5028
27be8d39
GM
50292013-08-28 Glenn Morris <rgm@gnu.org>
5030
397440a1
GM
5031 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5032
2bb762d4
GM
5033 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5034
27be8d39
GM
5035 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5036
2d69b99e
SM
50372013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5038
f663baa7
SM
5039 * simple.el (repeat-complex-command--called-interactively-skip):
5040 New function.
5041 (repeat-complex-command): Use it (bug#14136).
5042
dd4f8b74
SM
5043 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5044 (c-define-abbrev-table): Add `doc' argument.
5045 (c-mode-abbrev-table, c++-mode-abbrev-table)
5046 (objc-mode-abbrev-table, java-mode-abbrev-table)
5047 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5048 (awk-mode-abbrev-table): Use it.
5049 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5050 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5051 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5052 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5053 Move initialization into the declaration; and remove any
5054 autoload cookie.
5055
b58969f7
SM
5056 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5057 and dynamic let binding.
5058
4021d6a6
SM
5059 * vc/smerge-mode.el: Remove redundant :group args.
5060
2d69b99e
SM
5061 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5062 to load-path.
5063
274919fd
JL
50642013-08-28 Juri Linkov <juri@jurta.org>
5065
5066 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5067 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5068 (isearch-other-meta-char): Handle an undefined shifted printing
5069 character by downshifting it. (Bug#15200)
5070
121f8c95
JL
50712013-08-28 Juri Linkov <juri@jurta.org>
5072
5073 * isearch.el (isearch-search): Change regexp error message for
5074 non-regexp searches. (Bug#15166)
5075
50b13cde
PE
50762013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5077
5078 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5079 for portability to hosts where /bin/sh has problems.
5080
95888bca
SM
50812013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5082
5083 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5084
bbe558f1
JL
50852013-08-27 Juri Linkov <juri@jurta.org>
5086
5087 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5088 in the keyboard macro. (Bug#15126)
5089
26f98a7d
JL
50902013-08-27 Juri Linkov <juri@jurta.org>
5091
5092 * isearch.el (isearch-quote-char): Comment out converting unibyte
5093 to multibyte, thus syncing with its `quoted-insert' counterpart.
5094 (Bug#15166)
5095
7c97d35e
MR
50962013-08-27 Martin Rudalics <rudalics@gmx.at>
5097
5098 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5099 argument in call of get-largest-window (Bug#15185).
5100 Reported by Stephen Leake.
7c97d35e 5101
a0b5606e 51022013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5103
5104 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5105
9e89d835
SM
51062013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5109 from a matcher-function unless there's no more matches (bug#15161).
5110
78fc2530
MA
51112013-08-26 Michael Albinus <michael.albinus@gmx.de>
5112
5113 * minibuffer.el: Revert change from 2013-08-20.
5114
5115 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5116 with text property `tramp-default', if appropriate.
5117 (tramp-check-proper-host): New defun.
5118 (tramp-dissect-file-name): Do not check hostname. Revert change
5119 of 2013-03-18.
5120 (tramp-backtrace): Make VEC-OR-PROC optional.
5121
5122 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5123 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5124 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5125 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5126 Apply `tramp-check-proper-host'.
78fc2530 5127
edca97cd
TH
51282013-08-26 Tassilo Horn <tsdh@gnu.org>
5129
5130 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5131 lambda expression in order to have `describe-variable' display it.
5132
df54bcbd
MA
51332013-08-26 Michael Albinus <michael.albinus@gmx.de>
5134
5135 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5136 BUF can be optional. (Bug#15186)
5137
eed99101
XF
51382013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5139
5140 * progmodes/flymake.el (flymake-get-real-file-name-function):
5141 Fix broken customization. (Bug#15184)
5142
b5eb9035
AM
51432013-08-25 Alan Mackenzie <acm@muc.de>
5144
8a51e842
AM
5145 Improve indentation of bracelists defined by macros (without "=").
5146
5147 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5148 expansion begins with "{", regard it as bracelist when it doesn't
5149 contain a ";".
5150
869455d4
AM
5151 Parse C++ inher-intro when there's a template split over 2 lines.
5152
5153 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5154 rigorously the search for "class" etc. followed by ":".
5155
5156 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5157 random languages a regexp which never matches rather than nil.
5158
b5eb9035
AM
5159 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5160
5161 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5162 (c-awk-regexp-one-line-possibly-open-char-list-re)
5163 (c-awk-one-line-possibly-open-regexp-re)
5164 (c-awk-one-line-non-syn-ws*-re): Remove.
5165 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5166 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5167 (c-awk-space*-unclosed-regexp-/-re): New constants.
5168 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5169 aren't regexp delimiters.
5170
5171 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5172 handling for a rare situation in AWK Mode involving unterminated
5173 strings/regexps.
5174
61611d54
GM
51752013-08-23 Glenn Morris <rgm@gnu.org>
5176
2d85dc34
GM
5177 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5178
cb8d2612
GM
5179 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5180
bb35f42f
GM
5181 * files.el (create-file-buffer): If the result would begin with
5182 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5183
b9808e77
SM
51842013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5185
e3a66363
SM
5186 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5187 text-properties (bug#15155).
5188
b9808e77
SM
5189 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5190 exist any more.
5191 (calc-keypad-redraw): Remove unused var `pad'.
5192 (calc-keypad-press): Remove unused var `menu'.
5193
7fd5f65e
MR
51942013-08-23 Martin Rudalics <rudalics@gmx.at>
5195
b9808e77
SM
5196 * window.el (display-buffer-pop-up-frame):
5197 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5198 use it as the new frame's buffer (Bug#15133).
5199
8352b530
SM
52002013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5201
5202 * calendar/timeclock.el: Minor cleanups.
5203 (timeclock-ask-before-exiting, timeclock-use-display-time):
5204 Use `symbol'.
5205 (timeclock-modeline-display): Define as alias before the
5206 actual definition.
5207 (timeclock-mode-line-display): Use define-minor-mode.
5208 (timeclock-day-list-template): Make it a function, add an argument.
5209 (timeclock-day-list-required, timeclock-day-list-length)
5210 (timeclock-day-list-debt, timeclock-day-list-span)
5211 (timeclock-day-list-break): Adjust calls accordingly.
5212
9f7b1925
SM
52132013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5214
5215 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5216 Use read--expression so that completion works again.
5217
6e50e983
SS
52182013-08-21 Sam Steingold <sds@gnu.org>
5219
5220 Add rudimentary inferior shell interaction
5221 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5222 (sh-set-shell): Reset it.
9f7b1925
SM
5223 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5224 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5225
dbb0d350
SM
52262013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * align.el: Use lexical-binding.
5229 (align-region): Simplify accordingly.
5230
c88586a9
MA
52312013-08-20 Michael Albinus <michael.albinus@gmx.de>
5232
5233 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5234
5235 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5236 `non-essential' up.
5237
f95527c8
MA
52382013-08-17 Michael Albinus <michael.albinus@gmx.de>
5239
5240 * net/tramp.el:
5241 * net/tramp-adb.el:
5242 * net/tramp-cmds.el:
5243 * net/tramp-ftp.el:
5244 * net/tramp-gvfs.el:
5245 * net/tramp-gw.el:
5246 * net/tramp-sh.el: Don't wrap external variable declarations by
5247 `eval-when-compile'.
5248
4b5fe4ee
LMI
52492013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5250
5251 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5252 now that Emacs supports ImageMagick animations.
5253
13c366c9
MA
52542013-08-16 Michael Albinus <michael.albinus@gmx.de>
5255
5256 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5257 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5258
3dfc5cd6
MR
52592013-08-16 Martin Rudalics <rudalics@gmx.at>
5260
5261 * window.el (mouse-autoselect-window-select): Do autoselect when
5262 mouse pointer is on margin.
5263
4bbb4381
WP
52642013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5265
5266 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5267
3a2ddc2d
GM
52682013-08-16 Glenn Morris <rgm@gnu.org>
5269
e8bedf5a
GM
5270 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5271 Handle "Remote Directory" response of some clients. (Bug#15058)
5272
58c4682f
GM
5273 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5274 Tweak warning. (Bug#14926)
5275
57953f49
GM
5276 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5277 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5278
3a2ddc2d
GM
5279 * image-mode.el (image-mode-map): Add menu items to reverse,
5280 increase, decrease, reset animation speed.
5281 (image--set-speed, image-increase-speed, image-decrease-speed)
5282 (image-reverse-speed, image-reset-speed): New functions.
5283 (image-mode-map): Add bindings for speed commands.
5284
5285 * image.el (image-animate-get-speed, image-animate-set-speed):
5286 New functions.
5287 (image-animate-timeout): Respect image :speed property.
5288
10fa0ed3
SM
52892013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5290
5291 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5292 previous line (bug#15101).
5293 (debugger-eval-expression, debugger-record-expression):
5294 Use read--expression (bug#15102).
5295
5d89d9d2
MA
52962013-08-15 Michael Albinus <michael.albinus@gmx.de>
5297
5298 Remove byte compiler warnings, visible when compiling with
5299 `byte-compile-force-lexical-warnings' set to t.
5300
5301 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5302 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5303 (tramp-handle-unhandled-file-name-directory)
5304 (tramp-handle-file-notify-add-watch, tramp-action-login)
5305 (tramp-action-succeed, tramp-action-permission-denied)
5306 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5307 arguments with "_".
5308
5309 * net/tramp-adb.el (tramp-adb-parse-device-names)
5310 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5311 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5312 (tramp-adb-handle-file-truename): Remove unused arguments.
5313
5314 * net/tramp-cache.el (tramp-flush-directory-property)
5315 (tramp-flush-connection-property, tramp-list-connections)
5316 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5317
10fa0ed3
SM
5318 * net/tramp-compat.el (tramp-compat-make-temp-file):
5319 Rename FILENAME to F.
5d89d9d2
MA
5320
5321 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5322 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5323 (tramp-zeroconf-parse-workstation-device-names)
5324 (tramp-zeroconf-parse-webdav-device-names)
5325 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5326
5327 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5328 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5329
5330 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5331 arguments.
5332 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5333 (tramp-sh-handle-insert-file-contents-literally)
5334 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5335 with "_".
5336 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5337 Remove unused variables.
5338
5339 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5340 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5341 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5342
5343 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5344 Make them a defconst.
5345 (tramp-uuencode-region): Remove unused variable.
5346
62f33bae
JB
53472013-08-14 Juanma Barranquero <lekktu@gmail.com>
5348
5349 * frameset.el (frameset--prop-setter): New function.
5350 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5351 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5352 parameter was already set in FILTERED. Doc fix.
5353 (frameset--record-minibuffer-relationships): Allow saving a
5354 minibufferless frame without its corresponding minibuffer frame.
5355 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5356 frame, if the frame id matches.
5357 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5358 frames before orphaned ones.
5359 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5360
c660a885
MR
53612013-08-14 Martin Rudalics <rudalics@gmx.at>
5362
5363 * window.el (window-make-atom): Don't overwrite parameter
5364 already present.
5365 (display-buffer-in-atom-window): Handle special case where we
5366 split an already atomic window.
5367 (window--major-non-side-window, display-buffer-in-side-window)
5368 (window--side-check): Ignore minibuffer window when walking
5369 window tree.
5370 (window-deletable-p): Return 'frame only if no other frame uses
5371 our minibuffer window.
5372 (record-window-buffer): Run buffer-list-update-hook.
5373 (split-window): Make sure window--check-frame won't destroy an
5374 existing atomic window in case the new window gets nested
5375 inside.
5376 (display-buffer-at-bottom): Ignore minibuffer window when
5377 walking window tree. Don't split a side window.
5378 (pop-to-buffer): Don't set-buffer here, the select-window call
5379 should do that.
5380 (mouse-autoselect-window-select): Autoselect only if we are in the
5381 text portion of the window.
5382
8259030d
LMI
53832013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5384
21c58ae2
LMI
5385 * net/shr.el (shr-parse-image-data): New function to grab both the
5386 data itself and the Content-Type.
5387 (shr-put-image): Use it.
5388
5389 * net/eww.el (eww-display-image): Ditto.
5390
8259030d
LMI
5391 * image.el (image-content-type-suffixes): New variable.
5392
ad756449
FEG
53932013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5394
5395 * progmodes/python.el (python-imenu--build-tree)
5396 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5397
f73f4ce6
XF
53982013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5399
5400 * simple.el (backward-word): Mention the optional argument.
5401
1f585e65
SM
54022013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * frameset.el (frameset--make): Rename constructor from make-frameset.
5405 (frameset-p, frameset-valid-p): Don't autoload.
5406 (frameset-valid-p): Use normal accessors.
5407
af1c6c84
GM
54082013-08-13 Glenn Morris <rgm@gnu.org>
5409
55e47f95
GM
5410 * progmodes/compile.el (compile-command): Tweak example in doc.
5411 * obsolete/scribe.el (scribe-mode):
5412 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5413
f0024d8c
GM
5414 * mail/feedmail.el (feedmail-confirm-outgoing)
5415 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5416
5417 * cus-start.el (truncate-partial-width-windows): Fix type.
5418
5419 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5420
af1c6c84
GM
5421 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5422
5514cc4c
SM
54232013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * emacs-lisp/timer.el (timer--time-setter): New function.
5426 (timer--time): Use it as gv-setter.
5427
5428 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5429 setter is not a symbol.
5430
7997a2f1
GJ
54312013-08-12 Grégoire Jadi <daimrod@gmail.com>
5432
5433 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5434 if sending fails. This makes debugging easier.
5435
01f1a9ab
JB
54362013-08-12 Juanma Barranquero <lekktu@gmail.com>
5437
5438 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5439 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5440 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5441
594a4307
EZ
54422013-08-12 Eli Zaretskii <eliz@gnu.org>
5443
5444 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5445
7a22490f 54462013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5447
5448 * format.el (format-annotate-function):
5449 Handle read-only text properties in the source. (Bug#14887)
5450
3e41a054
LMI
54512013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5452
5514cc4c
SM
5453 * net/eww.el (eww-display-html): Ignore coding system errors.
5454 One web site uses "utf-8lias" as the coding system.
3e41a054 5455
7ec326db
JB
54562013-08-11 Juanma Barranquero <lekktu@gmail.com>
5457
5458 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5459
5660113b
JB
54602013-08-10 Juanma Barranquero <lekktu@gmail.com>
5461
9a4ebc74
JB
5462 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5463 (tutorial--detailed-help): Remove unused local variables.
5464 (tutorial--save-tutorial-to): Use ignore-errors.
5465 (help-with-tutorial): Use looking-at-p.
5466
5467 * view.el (view-buffer-other-window, view-buffer-other-frame):
5468 Mark unused arguments.
5469
5470 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5471 (woman-select-symbol-fonts, woman, woman-find-file)
5472 (woman-insert-file-contents, woman-non-underline-faces):
5473 Use string-match-p.
5474 (woman1-unquote): Move declaration.
5475
5476 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5477 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5478 argument. Remove unused local variable.
5479 (xml-parse-elem-type): Use string-match-p.
5480 (xml-substitute-numeric-entities): Use ignore-errors.
5481
45fdb482
JB
5482 * calculator.el (calculator): Mark unused argument.
5483 (calculator-paste, calculator-quit, calculator-integer-p):
5484 Use ignore-errors.
5485 (calculator-string-to-number, calculator-decimal, calculator-exp)
5486 (calculator-op-or-exp): Use string-match-p.
5487
5488 * dired.el (dired-buffer-more-recently-used-p): Declare.
5489 (dired-insert-set-properties, dired-insert-old-subdirs):
5490 Use ignore-errors.
5491
5492 * dired-aux.el (dired-compress): Use ignore-errors.
5493 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5494 (dired-do-async-shell-command, dired-do-shell-command)
5495 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5496 (dired-insert-subdir-validate): Use string-match-p.
5497 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5498 (dired-add-entry): Use string-match-p, looking-at-p.
5499 (dired-insert-subdir-newpos): Remove unused local variable.
5500
5501 * filenotify.el (file-notify-callback): Remove unused local variable.
5502
5503 * filesets.el (filesets-error): Mark unused argument.
5504 (filesets-which-command-p, filesets-filter-dir-names)
5505 (filesets-directory-files, filesets-get-external-viewer)
5506 (filesets-ingroup-get-data): Use string-match-p.
5507
5508 * find-file.el (ff-other-file-name, ff-other-file-name)
5509 (ff-find-the-other-file, ff-cc-hh-converter):
5510 Remove unused local variables.
5511 (ff-get-file-name): Use string-match-p.
5512 (ff-all-dirs-under): Use ignore-errors.
5513
5514 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5515 (follow-select-if-visible): Remove unused local variable.
5516
5517 * forms.el (read-file-filter): Move declaration.
5518 (forms--make-format, forms--make-parser, forms-insert-record):
5519 Quote function with #'.
5520 (forms--update): Use string-match-p. Quote function with #'.
5521
5522 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5523 (help-make-xrefs): Use looking-at-p.
5524 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5525
5526 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5527 (ibuffer-confirm-operation-on): Use string-match-p.
5528
5529 * msb.el (msb-item-handler, msb-dired-item-handler):
5530 Mark unused arguments.
5531
5532 * ses.el (ses-decode-cell-symbol)
5533 (ses-kill-override): Remove unused local variable.
5534 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5535 (ses-load): Use ignore-errors, looking-at-p.
5536 (ses-jump-safe): Use ignore-errors.
5537 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5538
5539 * tabify.el (untabify, tabify): Mark unused arguments.
5540
5541 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5542 Mark unused argument.
5543 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5544 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5545
c880af52
JB
5546 * emacs-lisp/timer.el (timer--time): Define setter with
5547 gv-define-setter to avoid deprecation warning.
5548
5660113b 5549 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5550 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5551 (cmpl-statistics-block): Remove (body was commented out).
5552 All callers changed.
5553 (add-completions-from-buffer, load-completions-from-file):
5554 Remove unused variables.
5555
156aab80
JB
55562013-08-09 Juanma Barranquero <lekktu@gmail.com>
5557
5c5dee78
JB
5558 * filecache.el (file-cache-delete-file-list):
5559 Print message only when told so.
5560 (file-cache-files-matching): Use #' in mapconcat argument.
5561
156aab80
JB
5562 * ffap.el (ffap-url-at-point): Fix reference to variable
5563 thing-at-point-default-mail-uri-scheme.
5564
ad9dcd70
SM
55652013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5566
54bd972f
SM
5567 * subr.el (define-error): New function.
5568 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5569 error-file-not-found and define with define-error.
5570 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5571 and define with define-error.
5572 * userlock.el (file-locked, file-supersession):
5573 * simple.el (mark-inactive):
5574 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5575 * progmodes/ada-mode.el (ada-mode-errors):
5576 * play/life.el (life-extinct):
5577 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5578 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5579 * nxml/rng-util.el (rng-error):
5580 * nxml/rng-uri.el (rng-uri-error):
5581 * nxml/rng-match.el (rng-compile-error):
5582 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5583 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5584 * nxml/nxml-rap.el (nxml-scan-error):
5585 * nxml/nxml-outln.el (nxml-outline-error):
5586 * net/soap-client.el (soap-error):
5587 * net/gnutls.el (gnutls-error):
5588 * net/ange-ftp.el (ftp-error):
5589 * mpc.el (mpc-proc-error):
5590 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5591 (json-number-format, json-string-escape, json-string-format)
5592 (json-key-format, json-object-format):
5593 * jka-compr.el (compression-error):
5594 * international/quail.el (quail-error):
5595 * international/kkc.el (kkc-error):
5596 * emacs-lisp/ert.el (ert-test-failed):
5597 * calc/calc.el (calc-error, inexact-result, math-overflow)
5598 (math-underflow):
5599 * bookmark.el (bookmark-error-no-filename):
5600 * epg.el (epg-error): Define with define-error.
5601
0ea9e53a
SM
5602 * time.el (display-time-event-handler)
5603 (display-time-next-load-average): Don't call sit-for since it seems
5604 unnecessary (bug#15045).
5605
b0429158
SM
5606 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5607 Use #' instead of ' to quote functions.
5608 (checkdoc-output-mode): Use setq-local.
5609 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5610 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5611 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5612 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5613 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5614 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5615 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5616 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5617
ad9dcd70
SM
5618 * ido.el (ido-completion-help): Fix up compiler warning.
5619
77187e6f
JB
56202013-08-09 Juanma Barranquero <lekktu@gmail.com>
5621
5622 * frameset.el (frameset-p): Add autoload cookie.
5623 (frameset--jump-to-register): New function, based on code moved from
5624 register.el.
5625 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5626
5627 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5628 (frameset-restore, frameset-save, frameset-session-filter-alist):
5629 Remove declarations.
5630 (register-alist): Doc fix.
5631 (frameset-to-register): Move to frameset.el.
5632 (jump-to-register, describe-register-1): Remove frameset-specific code.
5633
9d3aa82c
JB
56342013-08-08 Juanma Barranquero <lekktu@gmail.com>
5635
5636 * allout-widgets.el (allout-widgets-pre-command-business)
5637 (allout-widgets-post-command-business)
5638 (allout-widgets-after-change-handler)
5639 (allout-decorate-item-and-context, allout-set-boundary-marker)
5640 (allout-body-modification-handler)
5641 (allout-graphics-modification-handler): Mark ignored arguments.
5642 (allout-widgets-post-command-business)
5643 (allout-widgets-exposure-change-processor)
5644 (allout-widgets-exposure-undo-processor)
5645 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5646 (allout-parse-item-at-point, allout-decorate-item-guides)
5647 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5648 * allout.el (epa-passphrase-callback-function): Declare.
5649 (allout-overlay-insert-in-front-handler)
5650 (allout-overlay-interior-modification-handler)
5651 (allout-isearch-end-handler, allout-chart-siblings)
5652 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5653 (allout-yank-processing, allout-process-exposed)
5654 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5655 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5656 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5657 (lisp-indent-defform): Mark ignored arguments.
5658 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5659 (calculate-lisp-indent): Remove unused variables.
5660 * international/characters.el (indian-2-column, arabic-2-column)
5661 (tibetan): Mark ignored arguments.
5662 (use-cjk-char-width-table): Mark ignored arguments.
5663 Remove unused variables.
5664 * international/fontset.el (build-default-fontset-data)
5665 (x-compose-font-name, create-fontset-from-fontset-spec):
5666 Mark ignored arguments.
5667 (fontset-plain-name): Remove unused variables.
5668 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5669 (keyboard-coding-system): Mark ignored arguments.
5670 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5671 * help.el (resize-temp-buffer-window):
5672 * window.el (display-buffer-in-major-side-window)
5673 (display-buffer-in-side-window, display-buffer-in-previous-window):
5674 Remove unused variables.
5675 * isearch.el (isearch-forward-symbol):
5676 * version.el (emacs-bzr-version-bzr):
5677 * international/mule-cmds.el (current-language-environment):
5678 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5679 (x-handle-display):
5680 * term/pc-win.el (x-list-fonts, x-display-planes)
5681 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5682 (x-server-version, x-display-screens, x-display-mm-height)
5683 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5684 (x-selection-owner-p, x-own-selection-internal)
5685 (x-disown-selection-internal, x-get-selection-internal)
5686 (msdos-initialize-window-system):
5687 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5688 * term/x-win.el (x-handle-no-bitmap-icon):
5689 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5690 (vc-default-find-file-hook, vc-default-extra-menu):
5691 Mark ignored arguments.
5692
0ca3f70e
SM
56932013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5694
5695 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5696 break-condition in the context of the debugged code (bug#12685).
5697
74c5d24c
CS
56982013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5699
5700 * comint.el:
5701 Do not use an overlay to highlight the last prompt. (Bug#14744)
5702 (comint-mode): Make comint-last-prompt buffer local.
5703 (comint-last-prompt): New variable.
5704 (comint-last-prompt-overlay): Remove. Superseded by
5705 comint-last-prompt.
0ca3f70e
SM
5706 (comint-snapshot-last-prompt, comint-output-filter):
5707 Use comint-last-prompt.
74c5d24c 5708
c03c02ee
JB
57092013-08-08 Juanma Barranquero <lekktu@gmail.com>
5710
a3738d20 5711 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5712 (frameset-save): Check validity of the resulting frameset.
5713
04263d23
XF
57142013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5715
5716 * ido.el (ido-record-command): Add doc string.
5717
76c5e5ab
JB
57182013-08-08 Juanma Barranquero <lekktu@gmail.com>
5719
5720 * frameset.el (frameset): Do not disable creation of the default
5721 frameset-p predicate. Doc fix.
5722 (frameset-valid-p): New function, copied from the old predicate-p.
5723 Add additional checks.
5724 (frameset-restore): Check with frameset-valid-p.
5725 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5726 (frameset-name, frameset-description, frameset-properties)
5727 (frameset-states): Add docstring.
f9dbf1cb
JB
5728 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5729 (frameset-filter-alist): Doc fixes.
76c5e5ab 5730
bd0c3c0b
JB
57312013-08-08 Juanma Barranquero <lekktu@gmail.com>
5732
5733 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5734
c735544c
SM
57352013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5736
5737 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5738 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5739 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5740 (byte-compile-normal-call): Remove obsolescence check.
5741
2805a651
JB
57422013-08-08 Juanma Barranquero <lekktu@gmail.com>
5743
3677ffeb
JB
5744 * frameset.el (frameset-restore): Doc fix.
5745
2805a651
JB
5746 * register.el (frameset-frame-id, frameset-frame-with-id)
5747 (frameset-p, frameset-restore, frameset-save): Declare.
5748 (register-alist): Document framesets.
5749 (frameset-session-filter-alist): Declare.
5750 (frameset-to-register): New function.
5751 (jump-to-register): Implement jumping to framesets. Doc fix.
5752 (describe-register-1): Describe framesets.
5753
5754 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5755
a912c016
JB
57562013-08-07 Juanma Barranquero <lekktu@gmail.com>
5757
5758 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5759 Use lexical-binding.
5760
5761 * frameset.el (frameset): Use type vector, not list (incompatible
5762 change). Do not declare a new constructor, use the default one.
5763 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5764 `name' and `description', respectively, and add read-only slot
5765 `timestamp'. Doc fixes.
5766 (frameset-copy, frameset-persistent-filter-alist)
5767 (frameset-filter-alist, frameset-switch-to-gui-p)
5768 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5769 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5770 (frameset-filter-iconified, frameset-keep-original-display-p):
5771 Doc fixes.
5772 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5773 Rename from frameset-filter-(save|restore)-param. All callers changed.
5774 Doc fix.
5775 (frameset-p): Adapt to change to vector and be more thorough.
5776 Change arg name to OBJECT. Doc fix.
5777 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5778 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5779 All callers changed.
5780 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5781 All callers changed.
5782 (frameset--record-minibuffer-relationships): Rename from
5783 frameset--process-minibuffer-frames. All callers changed.
5784 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5785 Use new default constructor (again). Doc fix.
5786 (frameset--find-frame-if): Rename from `frameset--find-frame.
5787 All callers changed.
5788 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5789 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5790 Doc fix.
5791 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5792 PARAMETERS and WINDOW-STATE, respectively.
5793 (frameset-restore): Add new keyword argument PREDICATE.
5794 Reset frameset--target-display to nil. Doc fix.
5795
bb41480a
SM
57962013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5797
f001e98e
SM
5798 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5799 (bat-mode): Use it.
5800 (bat-mode-syntax-table): Mark \n as end-of-comment.
5801 (bat-font-lock-keywords): Remove comment rule.
5802
7679edb1
SM
5803 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5804 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5805
bb41480a
SM
5806 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5807 (byte-compile-callargs-warn): Use `push'.
5808 (byte-compile-arglist-warn): Ignore higher-order "calls".
5809 (byte-compile-file-form-autoload): Use `pcase'.
5810 (byte-compile-function-form): If quoting a symbol, check that it exists.
5811
cdc1ebb9
EZ
58122013-08-07 Eli Zaretskii <eliz@gnu.org>
5813
5814 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5815 and add a few popular commands found in batch files.
5816 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5817 (dos-mode): Doc fixes.
5818
312b1740
SM
58192013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5822 (dos-mode): Use setq-local. Add space after "rem".
5823 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5824 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5825
400a3178
AM
58262013-08-07 Arni Magnusson <arnima@hafro.is>
5827
5828 * progmodes/dos.el: New file.
5829 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5830 dos-mode.
5831
3b5c03d3
GM
58322013-08-06 Glenn Morris <rgm@gnu.org>
5833
5834 * calendar/calendar.el: Add new faces, and day-header-array.
5835 (calendar-weekday-header, calendar-weekend-header)
5836 (calendar-month-header): New faces.
5837 (calendar-day-header-construct): New function.
5838 (calendar-day-header-width): Also :set calendar-day-header-array.
5839 (calendar-american-month-header, calendar-european-month-header)
5840 (calendar-iso-month-header): Use calendar- faces.
5841 (calendar-generate-month):
5842 Use calendar-day-header-array for day headers; apply faces to them.
5843 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5844 (calendar-abbrev-construct): Add optional maxlen argument.
5845 (calendar-day-name-array): Doc fix.
5846 (calendar-day-name-array, calendar-abbrev-length)
5847 (calendar-day-abbrev-array):
5848 Also :set calendar-day-header-array, and maybe redraw.
5849 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5850 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5851 (calendar-day-name): Add option to use header array.
5852
ec6a2d7a
LMI
58532013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5854
5855 * net/shr.el (shr-render-td): Remove debugging.
5856 (shr-render-td): Make width computation consistent by defaulting
5857 all zero-width columns to 10 characters. This may not be optimal,
5858 but it's at least consistent.
2122cb6d
LMI
5859 (shr-make-table-1): Redo last change to fix the real problem in
5860 colspan handling.
ec6a2d7a 5861
ed4fd9c5
DA
58622013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5863
0ca3f70e
SM
5864 * files.el (cache-long-line-scans):
5865 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5866
64e22afe
JB
58672013-08-06 Juanma Barranquero <lekktu@gmail.com>
5868
024b38fc
JB
5869 * frameset.el (frameset, frameset-filter-alist)
5870 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5871 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5872 (frameset-compute-pos): Rename from frameset--compute-pos,
5873 and add docstring.
5874 (frameset-move-onscreen): Use frameset-compute-pos.
5875 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5876
64e22afe
JB
5877 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5878 Fix typos in docstrings.
5879
c8c2aca8
DA
58802013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5881
5882 * frame.el (get-other-frame): Tiny cleanup.
5883
1d237bba
JB
58842013-08-06 Juanma Barranquero <lekktu@gmail.com>
5885
8951efef
JB
5886 * vc/vc.el (vc-default-ignore-completion-table):
5887 Silence byte-compiler warning.
5888
307764cc
JB
5889 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5890 slot , which can indeed be nil.
5891 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5892 Move entry for `left' from persistent to live filter alist.
5893 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5894 Doc fixes.
5895 (frameset-filter-params): When restoring a frame, copy items added to
5896 `filtered', to avoid unwittingly modifying the original parameters.
5897 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5898 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5899
1d237bba
JB
5900 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5901 to use looking-at-p instead of looking-at. (Bug#15028)
5902
dc6c0eda
SM
59032013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 Revert introduction of isearch-filter-predicates (bug#14714).
5906 Rely on add-function instead.
5907 * isearch.el (isearch-filter-predicates): Rename it back to
5908 isearch-filter-predicate.
5909 (isearch-message-prefix): Use advice-function-mapc and advice
5910 properties to get the isearch-message-prefix.
5911 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5912 instead of run-hook-with-args-until-failure.
5913 (isearch-filter-visible): Not obsolete any more.
5914 * loadup.el: Preload nadvice.
5915 * replace.el (perform-replace): Revert to funcall
5916 instead of run-hook-with-args-until-failure.
5917 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5918 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5919 dired-isearch-filenames-toggle; make it into a proper minor mode.
5920 Use add/remove-function.
5921 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5922 Call the minor-mode rather than add/remove-hook.
5923 (dired-isearch-filter-filenames):
5924 Remove isearch-message-prefix property.
5925 * info.el (Info--search-loop): New function, extracted from Info-search.
5926 Funcall isearch-filter-predicate instead of
5927 run-hook-with-args-until-failure isearch-filter-predicates.
5928 (Info-search): Use it.
5929 (Info-mode): Use isearch-filter-predicate instead of
5930 isearch-filter-predicates.
5931
290d5b58
DA
59322013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5933
5934 Do not call to `selected-window' where it is assumed by default.
5935 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5936 `window-hscroll', `window-width', `window-height', `window-buffer',
5937 `window-frame', `window-start', `window-point', `next-window'
5938 and `window-display-table'.
5939 * abbrev.el (abbrev--default-expand):
5940 * bs.el (bs--show-with-configuration):
5941 * buff-menu.el (Buffer-menu-mouse-select):
5942 * calc/calc.el (calc):
5943 * calendar/calendar.el (calendar-generate-window):
5944 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5945 (diary-make-entry):
5946 * comint.el (send-invisible, comint-dynamic-complete-filename)
5947 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5948 * completion.el (complete):
5949 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5950 * disp-table.el (describe-current-display-table):
5951 * doc-view.el (doc-view-insert-image):
5952 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5953 * ehelp.el (with-electric-help):
5954 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5955 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5956 * emacs-lisp/helper.el (Helper-help-scroller):
5957 * emulation/cua-base.el (cua--post-command-handler-1):
5958 * eshell/esh-mode.el (eshell-output-filter):
5959 * ffap.el (ffap-gnus-wrapper):
5960 * help-macro.el (make-help-screen):
5961 * hilit-chg.el (highlight-compare-buffers):
5962 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5963 * hl-line.el (global-hl-line-highlight):
5964 * icomplete.el (icomplete-simple-completing-p):
5965 * isearch.el (isearch-done):
5966 * jit-lock.el (jit-lock-stealth-fontify):
5967 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5968 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5969 * mpc.el (mpc-tagbrowser, mpc):
5970 * net/rcirc.el (rcirc-any-buffer):
5971 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5972 * play/landmark.el (landmark-max-width, landmark-max-height):
5973 * play/zone.el (zone):
5974 * progmodes/compile.el (compilation-goto-locus):
5975 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5976 * progmodes/etags.el (find-tag-other-window):
5977 * progmodes/fortran.el (fortran-column-ruler):
5978 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5979 * progmodes/verilog-mode.el (verilog-point-text):
5980 * reposition.el (reposition-window):
5981 * rot13.el (toggle-rot13-mode):
5982 * server.el (server-switch-buffer):
5983 * shell.el (shell-dynamic-complete-command)
5984 (shell-dynamic-complete-environment-variable):
5985 * simple.el (insert-buffer, set-selective-display)
5986 (delete-completion-window):
5987 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5988 (speedbar-recenter):
5989 * startup.el (fancy-splash-head):
5990 * textmodes/ispell.el (ispell-command-loop):
5991 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5992 * tutorial.el (help-with-tutorial):
5993 * vc/add-log.el (add-change-log-entry):
5994 * vc/compare-w.el (compare-windows):
5995 * vc/ediff-help.el (ediff-indent-help-message):
5996 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5997 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5998 (ediff-setup-control-frame):
5999 * vc/emerge.el (emerge-position-region):
6000 * vc/pcvs-util.el (cvs-bury-buffer):
6001 * window.el (walk-windows, mouse-autoselect-window-select):
6002 * winner.el (winner-set-conf, winner-undo): Related users changed.
6003
38276e01
JB
60042013-08-05 Juanma Barranquero <lekktu@gmail.com>
6005
6006 * frameset.el (frameset--set-id): Doc fix.
6007 (frameset-frame-id, frameset-frame-id-equal-p)
6008 (frameset-locate-frame-id): New functions.
6009 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6010 (frameset-restore): Use them.
6011
12b4c0ea
DA
60122013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6013
6014 Do not call to `selected-frame' where it is assumed by default.
6015 Affected functions are `raise-frame', `redraw-frame',
6016 `frame-first-window', `frame-terminal' and `delete-frame'.
6017 * calendar/appt.el (appt-disp-window):
6018 * epg.el (epg-wait-for-completion):
6019 * follow.el (follow-delete-other-windows-and-split)
6020 (follow-avoid-tail-recenter):
6021 * international/mule.el (set-terminal-coding-system):
6022 * mail/rmail.el (rmail-mail-return):
6023 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6024 * progmodes/f90.el (f90-add-imenu-menu):
6025 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6026 * server.el (server-switch-buffer):
6027 * simple.el (delete-completion-window):
6028 * talk.el (talk):
6029 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6030 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6031 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6032 * vc/ediff.el (ediff-documentation): Related users changed.
6033 * frame.el (selected-terminal): Remove the leftover.
6034
17f25e76
GM
60352013-08-05 Glenn Morris <rgm@gnu.org>
6036
6037 * calendar/calendar.el (calendar-generate-month):
6038 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6039 (calendar-generate-month, calendar-font-lock-keywords):
6040 Fix for calendar-day-header-width > length of any day name.
17f25e76 6041
063233c3
JB
60422013-08-05 Juanma Barranquero <lekktu@gmail.com>
6043
6044 * desktop.el (desktop-clear): Use new name of sort predicate.
6045
6046 * frameset.el (frameset): Add docstring. Move :version property to its
6047 own `version' slot.
6048 (frameset-copy): Rename from copy-frameset.
6049 (frameset-p): Check more thoroughly.
6050 (frameset-prop): Do not check for :version, which is no longer a prop.
6051 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6052 Use new :never value instead of t.
6053 (frameset-filter-alist): Expand and clarify docstring.
6054 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6055 (frameset-filter-minibuffer, frameset-filter-save-param)
6056 (frameset-filter-restore-param, frameset-filter-iconified):
6057 Add pointer to docstring of frameset-filter-alist.
6058 (frameset-filter-params): Rename filter values to be more meaningful:
6059 :never instead of t, and reverse the meanings of :save and :restore.
6060 (frameset--process-minibuffer-frames): Clarify error message.
6061 (frameset-save): Avoid unnecessary and confusing call to framep.
6062 Use new BOA constructor for framesets.
6063 (frameset--reuse-list): Doc fix.
6064 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6065 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6066 (frameset-minibufferless-first-p): Doc fix.
6067 Rename from frameset-sort-frames-for-deletion.
6068 (frameset-restore): Doc fixes. Use new function names.
6069 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6070
d5671a82
JB
60712013-08-04 Juanma Barranquero <lekktu@gmail.com>
6072
6073 * desktop.el (desktop-restore-forces-onscreen)
6074 (desktop-restore-reuses-frames): Document :keyword constant values.
6075 (desktop-filter-parameters-alist): Remove, now identical to
6076 frameset-filter-alist.
6077 (desktop--filter-tty*): Remove, moved to frameset.el.
6078 (desktop-save-frameset, desktop-restore-frameset):
6079 Do not pass :filters argument.
6080
6081 * frameset.el (frameset-live-filter-alist)
6082 (frameset-persistent-filter-alist): New variables.
6083 (frameset-filter-alist): Use them. Add autoload cookie.
6084 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6085 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6086 `frameset--id' (it's supposed to be internal to frameset.el).
6087 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6088 (frameset--initial-params): New function.
6089 (frameset--get-frame): Use it. Doc fix.
6090 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6091 Accept :all, not 'all.
6092 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6093 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6094 with fbound symbols. Fix frame id matching, and remove matching ids if
6095 the frame being restored is deleted. Obey :delete.
6096
671d5c16
SM
60972013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * subr.el (macrop): New function.
6100 (text-clone--maintaining): New var.
6101 (text-clone--maintain): Rename from text-clone-maintain. Use it
6102 instead of inhibit-modification-hooks.
6103
6104 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6105 a proxy, so as handle autoloads and redefinitions of the target.
6106 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6107
6108 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6109 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6110 (pcase--mutually-exclusive-p): New function.
6111 (pcase--split-consp): Use it.
6112 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6113 mutually exclusive with the current predicate.
6114
6115 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6116 (edebug-macrop): Remove. Use `macrop' instead.
6117 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6118 (ad-macro-p):
6119 * eshell/esh-cmd.el (eshell-macrop):
6120 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6121
1d44e9dc
SM
61222013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6123
6124 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6125 (advice-mapc): New function, using it.
6126 (advice-function-member-p): New function.
6127 (advice--normalize): Store the cdr in advice--saved-rewrite since
6128 that's the part that will be changed.
6129 (advice--symbol-function): New function.
6130 (advice-remove): Handle removal before the function is defined.
6131 Adjust to new advice--saved-rewrite.
6132 (advice-member-p): Use advice-function-member-p and
6133 advice--symbol-function.
6134
5414a283
JB
61352013-08-04 Juanma Barranquero <lekktu@gmail.com>
6136
51d30f2c
JB
6137 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6138 (frameset-filter-minibuffer): Doc fix.
6139 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6140 (frameset--set-id, frameset--process-minibuffer-frames)
6141 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6142 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6143
5414a283
JB
6144 * desktop.el (desktop-clear): Only delete frames when called
6145 interactively and desktop-restore-frames is non-nil. Doc fix.
6146 (desktop-read): Set desktop-saved-frameset to nil.
6147
ab419665
XF
61482013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6149
6150 * vc/vc.el (vc-ignore): Rewrite.
6151 (vc-default-ignore-completion-table):
6152 (vc--read-lines):
6153 (vc--add-line, vc--remove-regexp): New functions.
6154
6155 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6156 (vc-svn-ignore-completion-table): New function.
6157
6158 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6159 (vc-hg-ignore-completion-table):
6160 (vc-hg-find-ignore-file): New functions.
6161
6162 * vc/vc-git.el (vc-git-ignore): Rewrite.
6163 (vc-git-ignore-completion-table):
6164 (vc-git-find-ignore-file): New functions.
6165
6166 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6167
6168 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6169 (vc-bzr-ignore-completion-table):
6170 (vc-bzr-find-ignore-file): New functions.
6171
2613dea2
JB
61722013-08-03 Juanma Barranquero <lekktu@gmail.com>
6173
6174 * frameset.el (frameset-prop): New function and setter.
6175 (frameset-save): Do not modify frame list passed by the caller.
6176
9c959872
SM
61772013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6180
a104f656
SM
61812013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6182
70122acf
SM
6183 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6184 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6185
a104f656
SM
6186 * custom.el (custom-initialize-default, custom-initialize-set)
6187 (custom-initialize-reset, custom-initialize-changed): Affect the
6188 toplevel-default-value (bug#6275, bug#14586).
6189 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6190 for bug#6275.
6191
f078d570
JB
61922013-08-02 Juanma Barranquero <lekktu@gmail.com>
6193
185e3b5a
JB
6194 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6195 Add cl-def* expressions.
6196
f078d570
JB
6197 * frameset.el (frameset-filter-params): Fix order of arguments.
6198
9421876d
JB
61992013-08-02 Juanma Barranquero <lekktu@gmail.com>
6200
6201 Move code related to saving frames to frameset.el.
6202 * desktop.el: Require frameset.
6203 (desktop-restore-frames): Doc fix.
6204 (desktop-restore-reuses-frames): Rename from
6205 desktop-restoring-reuses-frames.
6206 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6207 (desktop-clear): Clear frames too.
6208 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6209 (desktop--filter-tty*, desktop-save, desktop-read):
6210 Use frameset functions.
6211 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6212 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6213 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6214 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6215 (desktop--process-minibuffer-frames, desktop-save-frames)
6216 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6217 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6218 (desktop--sort-states, desktop-restoring-frames-p)
6219 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6220 (desktop-restoring-frameset-p, desktop-restore-frameset)
6221 (desktop--check-dont-save, desktop-save-frameset): New functions.
6222 (desktop--app-id): New constant.
6223 (desktop-first-buffer, desktop-buffer-ok-count)
6224 (desktop-buffer-fail-count): Move before first use.
6225 * frameset.el: New file.
6226
76dc5996
SM
62272013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * files.el: Use lexical-binding.
6230 (dir-locals-read-from-file): Remove unused `err' variable.
6231 (hack-dir-local-variables--warned-coding): New var.
6232 (hack-dir-local-variables): Use it to avoid repeated warnings.
6233 (make-backup-file-name--default-function): New function.
6234 (make-backup-file-name-function): Use it as default.
6235 (buffer-stale--default-function): New function.
6236 (buffer-stale-function): Use it as default.
6237 (revert-buffer-insert-file-contents--default-function): New function.
6238 (revert-buffer-insert-file-contents-function): Use it as default.
6239 (insert-directory): Avoid add-to-list.
6240
6241 * autorevert.el (auto-revert-handler): Simplify.
6242 Use buffer-stale--default-function.
6243
06d36e2b
TH
62442013-08-01 Tassilo Horn <tsdh@gnu.org>
6245
5f648ab4
TH
6246 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6247
06d36e2b
TH
6248 * whitespace.el (whitespace-ensure-local-variables): New function.
6249 (whitespace-cleanup-region): Call it.
6250 (whitespace-turn-on): Call it.
6251
a43dc424
MA
62522013-08-01 Michael Albinus <michael.albinus@gmx.de>
6253
6254 Complete file name handlers.
6255
6256 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6257 (tramp-handle-verify-visited-file-modtime)
6258 (tramp-handle-file-notify-rm-watch): New functions.
6259 (tramp-call-process): Do not bind `default-directory'.
6260
44e18199
JB
6261 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6262 Order alphabetically.
a43dc424
MA
6263 [access-file, add-name-to-file, dired-call-process]:
6264 [dired-compress-file, file-acl, file-notify-rm-watch]:
6265 [file-ownership-preserved-p, file-selinux-context]:
6266 [make-directory-internal, make-symbolic-link, set-file-acl]:
6267 [set-file-selinux-context, set-visited-file-modtime]:
6268 [verify-visited-file-modtime]: Add handler.
6269 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6270
6271 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6272 [file-notify-add-watch, file-notify-rm-watch]:
6273 [set-file-times, set-visited-file-modtime]:
6274 [verify-visited-file-modtime]: Add handler.
6275 (with-tramp-gvfs-error-message)
6276 (tramp-gvfs-handle-set-visited-file-modtime)
6277 (tramp-gvfs-fuse-file-name): Remove.
6278 (tramp-gvfs-handle-file-notify-add-watch)
6279 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6280 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6281
44e18199
JB
6282 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6283 Order alphabetically.
a43dc424
MA
6284 [file-notify-rm-watch ]: Use default Tramp handler.
6285 [executable-find]: Remove private handler.
6286 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6287 `default-directory'.
6288 (tramp-sh-handle-executable-find)
6289 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6290 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6291 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6292 Do not use `format' in `tramp-message'.
6293
6294 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6295 [file-notify-rm-watch, set-visited-file-modtime]:
6296 [verify-visited-file-modtime]: Add handler.
6297 (tramp-smb-call-winexe): Do not bind `default-directory'.
6298
7188b515
XF
62992013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6300
6301 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6302
2412ee1a
DG
63032013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6304
6305 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6306 use it.
6307 (log-view-diff-changeset): Same.
6308 (log-view-diff-common): Call backend command `previous-revision'
6309 to find out the previous revision, in both cases. Swap the
6310 variables `to' and `fr', so that `fr' usually refers to the
6311 earlier revision (Bug#14989).
6312
5002a754
KRC
63132013-07-31 Kan-Ru Chen <kanru@kanru.info>
6314
6315 * ibuf-ext.el (ibuffer-filter-by-filename):
6316 Make it work with dired buffers too.
6317
44e18199 63182013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6319
6320 * emacs-lisp/re-builder.el (reb-color-display-p):
6321 * files.el (save-buffers-kill-terminal):
6322 * net/browse-url.el (browse-url):
6323 * server.el (server-save-buffers-kill-terminal):
6324 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6325 Prefer nil to selected-frame for the first arg of frame-parameter.
6326
aeca3fbb
XF
63272013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6328
6329 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6330
158bc55c
SB
63312013-07-30 Stephen Berman <stephen.berman@gmx.net>
6332
6333 * minibuffer.el (completion--twq-all): Try and preserve each
6334 completion's case choice (bug#14907).
6335
d50fceab
LMI
63362013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6337
ac38e731
LMI
6338 * net/network-stream.el (open-network-stream): Mention the new
6339 :nogreeting parameter.
6340 (network-stream-open-starttls): Use the :nogreeting parameter
6341 (bug#14938).
6342
1211de50
LMI
6343 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6344
997798bf
LMI
6345 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6346 more natural than popping.
6347
d50fceab 6348 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6349 (shr-urlify): Highlight under mouse.
d50fceab 6350
5c09de04
XF
63512013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6352
207d1d04
XF
6353 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6354
6355 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6356
5c09de04
XF
6357 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6358 buffer for output.
6359
3cd51eaa
XF
6360 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6361 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6362
44e18199 6363 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6364 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6365
6366 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6367
6368 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6369 buffer for output.
6370
35a89bdd
EZ
63712013-07-29 Eli Zaretskii <eliz@gnu.org>
6372
6373 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6374 initial frame is minibuffer-less. (Bug#14841)
6375
78822e94
MA
63762013-07-29 Michael Albinus <michael.albinus@gmx.de>
6377
6378 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6379 option.
6380
6381 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6382 (tramp-maybe-open-connection): Use it.
6383
9503c190
JB
63842013-07-28 Juanma Barranquero <lekktu@gmail.com>
6385
6386 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6387 minimal set of parameters passed when creating a frame, because
6388 the minibuffer status of a frame cannot be changed later.
6389
d5a845b4
SB
63902013-07-28 Stephen Berman <stephen.berman@gmx.net>
6391
6392 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6393 replace-regexp-in-string and inadvertent omissions in previous change.
6394 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6395 name of filtered items buffer.
d5a845b4 6396
ddeffb17
JB
63972013-07-28 Juanma Barranquero <lekktu@gmail.com>
6398
6399 * desktop.el: Optionally force offscreen frames back onscreen.
6400 (desktop-restoring-reuses-frames): New option.
6401 (desktop--compute-pos, desktop--move-onscreen): New functions.
6402 (desktop--make-frame): Use desktop--move-onscreen.
6403
f5950f7a
AM
64042013-07-27 Alan Mackenzie <acm@muc.de>
6405
6406 Fontify a Java generic method as a function.
6407 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6408 value to t.
6409
ae43b66a
SB
64102013-07-27 Stephen Berman <stephen.berman@gmx.net>
6411
6412 * calendar/todo-mode.el: Add command to rename todo files.
6413 (todo-rename-file): New command.
6414 (todo-key-bindings-t): Add key binding for it. Change the
6415 bindings of todo-filter-regexp-items(-multifile) to use `x'
6416 instead of `r', since the latter is better suited to the new
6417 renaming command.
6418
5ab78d3d
AM
64192013-07-27 Alan Mackenzie <acm@muc.de>
6420
6421 Make Java try-with-resources statement parse properly.
6422 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6423 (c-block-stmt-1-2-key): New language constants/variables.
6424 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6425 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6426 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6427 with c-block-stmt-1-2-key.
5ab78d3d 6428
d85c4d50
JB
64292013-07-27 Juanma Barranquero <lekktu@gmail.com>
6430
6431 * desktop.el (desktop--make-frame): Apply most frame parameters after
6432 creating the frame to force (partially or totally) offscreen frames to
6433 be restored as such.
6434
e4c467f9
XF
64352013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6436
6437 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6438 (Bug#14948)
e4c467f9 6439
7ced0d04
SM
64402013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6441
6442 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6443 `base' arg of backtrace-frame.
6444
fec92060
EZ
64452013-07-26 Eli Zaretskii <eliz@gnu.org>
6446
6447 * simple.el (list-processes): Doc fix.
6448
d58d31fb
JB
64492013-07-26 Juanma Barranquero <lekktu@gmail.com>
6450
6451 * desktop.el (desktop--select-frame):
d85c4d50 6452 Try harder to reuse existing frames.
d58d31fb 6453
53ff3e77
SM
64542013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6455
6456 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6457 (edebug-eval): Use backtrace-eval.
6458 (edebug--display, edebug--recursive-edit): Don't let-bind the
6459 edebug-outer-* vars that keep track of variables we locally let-bind.
6460 (edebug-outside-excursion): Don't restore outside values of locally
6461 let-bound vars.
6462 (edebug--display): Use user-error.
6463 (cl-lexical-debug, cl-debug-env): Remove.
6464
045f7a53
JB
64652013-07-26 Juanma Barranquero <lekktu@gmail.com>
6466
6467 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6468 are restored to be sure that they are visible before deleting any
6469 remaining ones.
6470
59070b32
MM
64712013-07-26 Matthias Meulien <orontee@gmail.com>
6472
742a3501
XF
6473 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6474 vc-print-root-log. (Bug#14948)
59070b32 6475
b1fb3596
RS
64762013-07-26 Richard Stallman <rms@gnu.org>
6477
6478 Add aliases for encrypting mail.
6479 * epa.el (epa-mail-aliases): New option.
6480 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6481 Bind inhibit-read-only so read-only text doesn't ruin everything.
6482 (epa-mail-default-recipients): New subroutine broken out.
6483 Handle epa-mail-aliases.
6484
56ea7291
SM
64852013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 Add support for lexical variables to the debugger's `e' command.
6488 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6489 vars, except for debugger-outer-match-data.
6490 (debugger-frame-number): Move check for "on a function call" from
6491 callers into it. Add `skip-base' argument.
6492 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6493 (debugger-env-macro): Only reset the state stored in non-variables,
6494 i.e. current-buffer and match-data.
6495 (debugger-eval-expression): Rewrite using backtrace-eval.
6496 * subr.el (internal--called-interactively-p--get-frame): Remove.
6497 (called-interactively-p):
6498 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6499 `base' arg of backtrace-frame instead.
6500
15ac32d5
GM
65012013-07-26 Glenn Morris <rgm@gnu.org>
6502
8358a09d
GM
6503 * align.el (align-regexp): Doc fix. (Bug#14857)
6504 (align-region): Explicit error if subexpression missing/does not match.
6505
15ac32d5
GM
6506 * simple.el (global-visual-line-mode):
6507 Do not duplicate the mode lighter. (Bug#14858)
6508
f47ad11b
MR
65092013-07-25 Martin Rudalics <rudalics@gmx.at>
6510
6511 * window.el (display-buffer): In display-buffer bind
6512 split-window-keep-point to t, bug#14829.
6513
02530987
JB
65142013-07-25 Juanma Barranquero <lekktu@gmail.com>
6515
6516 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6517 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6518 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6519 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6520 Change accordingly.
f63ebeb5
JB
6521 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6522 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6523
6ccb9cab 65242013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6525
6ccb9cab 6526 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6527
cb3a56d2
JB
65282013-07-25 Juanma Barranquero <lekktu@gmail.com>
6529
6530 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6531 parameter to modify-frame-parameters if the value has not changed;
6532 this is a workaround for bug#14949.
6533 (desktop--make-frame): On cl-delete-if call, check parameter name,
6534 not full parameter.
6535
7aa7fff0
XF
65362013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6537
6538 * vc/vc.el (vc-ignore): New function.
6539
6540 * vc/vc-svn.el (vc-svn-ignore): New function.
6541
6542 * vc/vc-hg.el (vc-hg-ignore): New function.
6543
6544 * vc/vc-git.el (vc-git-ignore): New function.
6545
6546 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6547 (vc-dir-ignore): New function.
6548
6549 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6550 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6551
6552 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6553
6554 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6555
889acc5c
JB
65562013-07-24 Juanma Barranquero <lekktu@gmail.com>
6557
6558 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6559 (desktop-restore-frames): Warn when deleting an existing frame failed.
6560
86c40970
GM
65612013-07-24 Glenn Morris <rgm@gnu.org>
6562
6563 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6564
d5d3c58a
MA
65652013-07-24 Michael Albinus <michael.albinus@gmx.de>
6566
6567 * filenotify.el (file-notify-supported-p):
6568 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6569 Remove functions.
6570
6571 * autorevert.el (auto-revert-use-notify):
6572 (auto-revert-notify-add-watch):
6573 * net/tramp.el (tramp-file-name-for-operation):
6574 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6575 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6576 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6577 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6578 Remove `file-notify-supported-p' entry.
6579
d100084b
GM
65802013-07-24 Glenn Morris <rgm@gnu.org>
6581
6582 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6583 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6584
ac93e56b
SM
65852013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6586
249eea30
SM
6587 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6588 checked with memq (bug#14935).
6589
ac93e56b
SM
6590 * files.el (revert-buffer-function): Use a non-nil default.
6591 (revert-buffer-preserve-modes): Declare var to
6592 provide access to the `preserve-modes' argument.
6593 (revert-buffer): Let-bind it.
6594 (revert-buffer--default): New function, extracted from revert-buffer.
6595
2cdeb903
SM
65962013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 * lpr.el: Signal print errors more prominently.
6599 (print-region-function): Don't default to nil.
6600 (lpr-print-region): New function, extracted from print-region-1.
6601 Check lpr's return value and signal an error in case of problem.
6602 (print-region-1): Use it.
6603 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6604 versions instead.
6605 (ps-printer-name): Default to nil.
6606 (ps-printer-name-option): Default to lpr-printer-switch.
6607 (ps-print-region-function): Don't default to nil.
6608 (ps-postscript-code-directory): Simplify default.
6609 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6610 (ps-string-list, ps-eval-switch, ps-flatten-list)
6611 (ps-flatten-list-1): Remove.
6612 (ps-multibyte-buffer): Avoid setq.
6613 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6614 (print-region-function, ps-print-region-function): Don't set them here.
6615
73600831
XF
66162013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6617
0e55c076
XF
6618 * ido.el (ido-fractionp):
6619 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6620 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6621 (ido-max-directory-size, ido-max-dir-file-cache)
6622 (ido-decorations): Doc fix.
6623
73600831
XF
6624 * ansi-color.el: Fix old URL.
6625
3d012865
MM
66262013-07-23 Michael R. Mauger <michael@mauger.com>
6627
e903c210 6628 * progmodes/sql.el: Version 3.3
3d012865
MM
6629 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6630 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6631 (sql-interactive-remove-continuation-prompt): Rewrite, use
6632 functions above. Fix continuation prompt and complete output line
6633 handling.
6634 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6635 redirected output buffer.
6636 (sql-mode): Restore deleted code (Bug#13591).
6637
da77a2e2
JB
66382013-07-23 Juanma Barranquero <lekktu@gmail.com>
6639
6640 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6641
80ff0c71
MA
66422013-07-23 Michael Albinus <michael.albinus@gmx.de>
6643
6644 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6645
6646 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6647 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6648 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6649
b61d71e4
JB
66502013-07-23 Juanma Barranquero <lekktu@gmail.com>
6651
6652 * desktop.el (desktop-clear): Simplify; remove useless checks
6653 against invalid buffer names.
6654 (desktop-list*): Use cl-list*.
6655 (desktop-buffer-info, desktop-create-buffer): Simplify.
6656
c3512092
LL
66572013-07-23 Leo Liu <sdl.web@gmail.com>
6658
6659 * bookmark.el (bookmark-make-record): Restore NAME as a default
6660 value. (Bug#14933)
6661
0ac26976
SM
66622013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6663
7d22ce18
SM
6664 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6665 extracted from autoload--insert-text.
6666 (autoload--insert-text): Remove.
6667 (autoload--print-cookie-text): New function, extracted from
6668 autoload--insert-cookie-text.
6669 (autoload--insert-cookie-text): Remove.
6670 (autoload-generate-file-autoloads): Adjust calls accordingly.
6671
9b2607e8
SM
6672 * winner.el (winner-hook-installed-p): Remove.
6673 (winner-mode): Simplify accordingly.
6674
c43a8618
SM
6675 * subr.el (add-to-list): Fix compiler-macro when `append' is
6676 not constant. Don't use `cl-member' for the base case.
6677
0ac26976
SM
6678 * progmodes/subword.el: Fix boundary case (bug#13758).
6679 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6680 own group.
6681 (subword-backward-regexp): Make it a constant.
6682 (subword-forward-internal): Don't treat a trailing capital as the
6683 beginning of a word.
6684
6874724a
AR
66852013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6686
6687 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6688 global value of tabulated-list-revert-hook (bug#14930).
6689
70f1b5e8
JB
66902013-07-22 Juanma Barranquero <lekktu@gmail.com>
6691
a1c80d9d
JB
6692 * desktop.el: Require 'cl-lib.
6693 (desktop-before-saving-frames-functions): New hook.
6694 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6695 for frames being saved. Rename from desktop--save-minibuffer-frames.
6696 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6697 Do not save frames with non-nil `desktop-dont-save' parameter.
6698 Filter out deleted frames.
a1c80d9d
JB
6699 (desktop--find-frame): Use cl-find-if.
6700 (desktop--select-frame): Use cl-(first|second|third) to access values
6701 of desktop-mini.
6702 (desktop--make-frame): Use cl-delete-if.
6703 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6704 (desktop-restore-frames): Use cl-(first|second|third) to access values
6705 of desktop-mini. Look for visible frame at the end, not while
6706 restoring frames.
6707
70f1b5e8
JB
6708 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6709 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6710 Use string-match-p, looking-at-p (bug#14927).
6711
728dc3cc
JB
67122013-07-21 Juanma Barranquero <lekktu@gmail.com>
6713
56bc453c
JB
6714 * desktop.el (desktop-saved-frame-states):
6715 Rename from desktop--saved-states; all users changed.
6716 (desktop-save-frames): Rename from desktop--save-frames.
6717 Do not save state to desktop file.
6718 (desktop-save): Save desktop-saved-frame-states to desktop file
6719 and reset to nil.
6720 (desktop-restoring-frames-p): New function.
6721 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6722 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6723 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6724
728dc3cc
JB
6725 * desktop.el: Correctly restore iconified frames.
6726 (desktop--filter-iconified-position): New function.
6727 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6728
862f1c9c
GM
67292013-07-20 Glenn Morris <rgm@gnu.org>
6730
c4074c9f
GM
6731 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6732 Let `message' do the formatting.
6733 (def-gdb-preempt-display-buffer): Add explicit format.
6734
d828e5f9
GM
6735 * image-dired.el (image-dired-track-original-file):
6736 Use with-current-buffer.
6737 (image-dired-track-thumbnail): Use with-current-buffer.
6738 Avoid changing point of wrong window.
6739
862f1c9c
GM
6740 * image-dired.el (image-dired-track-original-file):
6741 Avoid changing point of wrong window. (Bug#14909)
6742
f0398ec1 67432013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6744
6745 * progmodes/gdb-mi.el (gdb-done-or-error):
6746 Guard against "%" in gdb output. (Bug#14127)
6747
1451928f
AS
67482013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6749
763a086d
JB
6750 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6751 (Bug#14826)
f7a03897 6752
1451928f
AS
6753 * international/mule.el (coding-system-iso-2022-flags): Fix last
6754 change.
6755
99107004
KH
67562013-07-20 Kenichi Handa <handa@gnu.org>
6757
763a086d
JB
6758 * international/mule.el (coding-system-iso-2022-flags):
6759 Add `8-bit-level-4'. (Bug#8522)
99107004 6760
48494e06
LMI
67612013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6762
8ba8eec5
LMI
6763 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6764 (bug#14815).
6765
dfbc66e3
LMI
6766 * net/eww.el (eww-process-text-input): Allow inputting when the
6767 point is at the start of the line, as the properties aren't
6768 front-sticky.
6769
48494e06
LMI
6770 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6771 degenerate widths.
6772
77c92cb9
RS
67732013-07-19 Richard Stallman <rms@gnu.org>
6774
aec7da77
RS
6775 * epa.el (epa-popup-info-window): Doc fix.
6776
77c92cb9
RS
6777 * subr.el (split-string): New arg TRIM.
6778
945c5bb1
JB
67792013-07-18 Juanma Barranquero <lekktu@gmail.com>
6780
6781 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6782 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6783
e06ec67f
MA
67842013-07-18 Michael Albinus <michael.albinus@gmx.de>
6785
c7064f05 6786 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6787 `file-notify-support'. Do not autoload. Adapt all uses.
6788 (file-notify-supported-p): New defun.
6789
c7064f05
JB
6790 * autorevert.el (auto-revert-use-notify):
6791 Use `file-notify-supported-p' instead of `file-notify-support'.
6792 Adapt docstring.
e06ec67f
MA
6793 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6794
6795 * net/tramp.el (tramp-file-name-for-operation):
6796 Add `file-notify-supported-p'.
6797
6798 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6799 New defun.
6800 (tramp-sh-file-name-handler-alist): Add it as handler for
6801 `file-notify-supported-p '.
6802
6803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6804 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6805 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6806 Add `ignore' as handler for `file-notify-*' functions.
6807
5dc8a629
EZ
68082013-07-17 Eli Zaretskii <eliz@gnu.org>
6809
6810 * simple.el (line-move-partial, line-move): Don't start vscroll or
6811 scroll-up if the current line is not taller than the window.
6812 (Bug#14881)
6813
77aea2fb
DG
68142013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6815
6816 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6817 highlight question marks in the method names as strings.
ac72c08d
DG
6818 (ruby-block-beg-keywords): Inline.
6819 (ruby-font-lock-keyword-beg-re): Extract from
6820 `ruby-font-lock-keywords'.
77aea2fb 6821
18c26d81
JD
68222013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6823
6824 * frame.el (blink-cursor-blinks): New defcustom.
6825 (blink-cursor-blinks-done): New defvar.
6826 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6827 (blink-cursor-timer-function): Check if number of blinks has been
6828 done on X and NS.
6829 (blink-cursor-suspend, blink-cursor-check): New defuns.
6830
da48522e
GM
68312013-07-15 Glenn Morris <rgm@gnu.org>
6832
6833 * edmacro.el (edmacro-format-keys): Fix previous change.
6834
0463c1ef
PE
68352013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6836
6837 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6838 The hack didn't work outside English locales anyway.
6839
b43f6451
JB
68402013-07-15 Juanma Barranquero <lekktu@gmail.com>
6841
6842 * simple.el (define-alternatives): Rename from alternatives-define,
6843 per RMS' suggestion.
6844
b958c0ad
JB
68452013-07-14 Juanma Barranquero <lekktu@gmail.com>
6846
6847 * desktop.el (desktop-restore-frames): Change default to t.
6848 (desktop-restore-in-current-display): Now offer more options.
6849 (desktop-restoring-reuses-frames): New customization option.
6850 (desktop--saved-states): Doc fix.
6851 (desktop-filter-parameters-alist): New variable, renamed and expanded
6852 from desktop--excluded-frame-parameters.
6853 (desktop--target-display): New variable.
6854 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6855 (desktop--filter-tty*, desktop--filter-*-color)
6856 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6857 (desktop--filter-save-desktop-parm)
6858 (desktop-restore-in-original-display-p): New functions.
6859 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6860 (desktop--save-minibuffer-frames): New function, inspired by a similar
6861 function from Martin Rudalics.
6862 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6863 (desktop--restore-in-this-display-p): Remove.
6864 (desktop--find-frame): Rename from desktop--find-frame-in-display
6865 and add predicate argument.
6866 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6867 (desktop--reuse-list): New variable.
6868 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6869 New functions.
6870 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6871
f6dd8b36
MA
68722013-07-14 Michael Albinus <michael.albinus@gmx.de>
6873
6874 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6875
2ce3c565
DG
68762013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6877
763a086d
JB
6878 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6879 Highlight conversion methods on Kernel.
2ce3c565 6880
2cdb7698
AM
68812013-07-13 Alan Mackenzie <acm@muc.de>
6882
6883 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6884 and comment it out. This out-commenting enables certain C++
6885 declarations to be parsed correctly.
6886
1a67b811
EZ
68872013-07-13 Eli Zaretskii <eliz@gnu.org>
6888
1b796d6b
EZ
6889 * international/mule.el (define-coding-system): Doc fix.
6890
1a67b811
EZ
6891 * simple.el (default-font-height): Don't call font-info if the
6892 frame's default font didn't change since the frame was created.
6893 (Bug#14838)
6894
58fbe886
LL
68952013-07-13 Leo Liu <sdl.web@gmail.com>
6896
6897 * ido.el (ido-read-file-name): Guard against non-symbol value.
6898
1f0480d4
FEG
68992013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6900
6901 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6902 in nested defuns.
6903
97ead0e5
LL
69042013-07-13 Leo Liu <sdl.web@gmail.com>
6905
6906 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6907 ido-set-matches call. (Bug#6852)
6908
0880a952
DG
69092013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6910
6911 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6912 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6913 Ruby 2.0.
6914 (ruby-font-lock-keywords): Distinguish calls to functions with
6915 module-like names from module references. Highlight character
6916 literals.
6917
a7d8babb
SDJ
69182013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6919
6920 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6921 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6922
acfcc8c5
JB
69232013-07-12 Juanma Barranquero <lekktu@gmail.com>
6924
6925 * desktop.el (desktop--v2s): Remove unused local variable.
6926 (desktop-save-buffer): Make defvar-local; adjust docstring.
6927 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6928 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6929
051f2775
AS
69302013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6931
6932 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6933
f24e7572
GM
69342013-07-12 Eli Zaretskii <eliz@gnu.org>
6935
6936 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6937 (Bug#14842)
6938
539a920c
GM
69392013-07-12 Glenn Morris <rgm@gnu.org>
6940
6941 * doc-view.el: Require cl-lib at runtime too.
6942 (doc-view-remove-if): Remove.
6943 (doc-view-search-next-match, doc-view-search-previous-match):
6944 Use cl-remove-if.
6945
6946 * edmacro.el: Require cl-lib at runtime too.
6947 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6948 (edmacro-mismatch, edmacro-subseq): Remove.
6949
6950 * shadowfile.el: Require cl-lib.
6951 (shadow-remove-if): Remove.
6952 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6953 Use cl-remove-if.
6954
6955 * wid-edit.el: Require cl-lib.
6956 (widget-choose): Use cl-remove-if.
6957 (widget-remove-if): Remove.
6958
6959 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6960 (ebrowse-delete-if-not): Remove.
6961 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6962 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6963 Use cl-delete-if-not.
6964
1048af7c
JB
69652013-07-12 Juanma Barranquero <lekktu@gmail.com>
6966
6967 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6968 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6969
6c0674ee
LL
69702013-07-12 Leo Liu <sdl.web@gmail.com>
6971
6972 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6973
a19b3c2d
GM
69742013-07-11 Glenn Morris <rgm@gnu.org>
6975
4582a01c
GM
6976 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6977 (edebug-gensym-index, edebug-gensym):
6978 Remove reimplementation of cl-gensym.
6979 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6980
6981 * thumbs.el: Require cl-lib at run-time too.
6982 (thumbs-gensym-counter, thumbs-gensym):
6983 Remove reimplementation of cl-gensym.
6984 (thumbs-temp-file): Use cl-gensym.
6985
a19b3c2d
GM
6986 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6987 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6988 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6989 (ert--union, ert--gensym-counter, ert--gensym-counter)
6990 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6991 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6992 (ert-make-test-unbound, ert--expand-should-1)
6993 (ert--expand-should, ert--should-error-handle-error)
6994 (should-error, ert--explain-equal-rec)
6995 (ert--plist-difference-explanation, ert-select-tests)
6996 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6997 Use cl-lib functions rather than reimplementations.
6998
88f6a933
MA
69992013-07-11 Michael Albinus <michael.albinus@gmx.de>
7000
7001 * net/tramp.el (tramp-methods): Extend docstring.
7002 (tramp-connection-timeout): New defcustom.
7003 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7004 (with-tramp-progress-reporter): Simplify.
7005 (tramp-process-actions): Improve messages.
7006
7007 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7008 * net/tramp-sh.el (tramp-maybe-open-connection):
7009 Use `tramp-connection-timeout'.
7010 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7011 (Bug#14808)
7012
a43d577e
LL
70132013-07-11 Leo Liu <sdl.web@gmail.com>
7014
7015 * ido.el (ido-read-file-name): Conform to the requirements of
7016 read-file-name. (Bug#11861)
7017 (ido-read-directory-name): Conform to the requirements of
7018 read-directory-name.
7019
d77974bf
JB
70202013-07-11 Juanma Barranquero <lekktu@gmail.com>
7021
7022 * subr.el (delay-warning): New function.
7023
35cb8a3e
EZ
70242013-07-10 Eli Zaretskii <eliz@gnu.org>
7025
7026 * simple.el (default-line-height): New function.
7027 (line-move-partial, line-move): Use it instead of computing the
7028 line height inline.
7029 (line-move-partial): Always compute ROWH. If the last line is
7030 partially-visible, but its text is completely visible, allow
7031 cursor to enter such a partially-visible line.
7032
525c5c77
MA
70332013-07-10 Michael Albinus <michael.albinus@gmx.de>
7034
7035 Improve error messages. (Bug#14808)
7036
7037 * net/tramp.el (tramp-current-connection): New defvar, moved from
7038 tramp-sh.el.
0ac26976 7039 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7040 needed anymore.
0ac26976
SM
7041 (tramp-error-with-buffer): Show message in minibuffer.
7042 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7043 (with-tramp-progress-reporter): Improve messages.
7044 (tramp-process-actions): Use progress reporter. Delete process in
7045 case of error. Improve messages.
7046
763a086d
JB
7047 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7048 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7049 (tramp-current-connection): Remove.
525c5c77
MA
7050 (tramp-maybe-open-connection): The car of
7051 `tramp-current-connection' are the first 3 slots of the vector.
7052
c7a4d368
TZ
70532013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7054
7055 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7056 inside continued strings.
7057
954b166e
PE
70582013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7059
7060 Timestamp fixes for undo (Bug#14824).
7061 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7062
56973319
LL
70632013-07-10 Leo Liu <sdl.web@gmail.com>
7064
7065 * files.el (require-final-newline): Allow safe local value.
7066 (Bug#14834)
7067
5550a72c
LL
70682013-07-09 Leo Liu <sdl.web@gmail.com>
7069
7070 * ido.el (ido-read-directory-name): Handle fallback.
7071 (ido-read-file-name): Update DIR to ido-current-directory.
7072 (Bug#1516)
c28b9050 7073 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7074
70c46b28
DG
70752013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7076
7077 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7078 "autoload". Remove "warn lower camel case" section, previously
7079 commented out. Highlight negation char. Do not highlight the
7080 target in singleton method definitions.
7081
0b64b838
SM
70822013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7fd72e2c
SM
7084 * faces.el (tty-setup-hook): Declare the hook.
7085
0b64b838
SM
7086 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7087 and detect when a guard/pred depends on local vars (bug#14773).
7088 (pcase--u1): Adjust caller.
7089
ab49d60b
EZ
70902013-07-08 Eli Zaretskii <eliz@gnu.org>
7091
7092 * simple.el (line-move-partial, line-move): Account for
7093 line-spacing.
701d79aa
EZ
7094 (line-move-partial): Avoid setting vscroll when the last
7095 partially-visible line in window is of default height.
ab49d60b 7096
2d756ae0
LMI
70972013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7098
7099 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7100 been used a while.
7101
ed095bd7
JB
71022013-07-07 Juanma Barranquero <lekktu@gmail.com>
7103
7104 * subr.el (read-quoted-char): Remove unused local variable `char'.
7105
f1e6674b
MK
71062013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7107
584ee3fc
GM
7108 * ediff.el (ediff-version): Version update.
7109 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7110 (ediff-merge-with-ancestor-command, ediff-directories-command)
7111 (ediff-directories3-command, ediff-merge-directories-command)
7112 (ediff-merge-directories-with-ancestor-command): New functions.
7113 All are command-line interfaces to ediff: to facilitate calling
7114 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7115
7116 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7117 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7118
584ee3fc
GM
7119 * viper.el (viper-version): Version update.
7120 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7121
584ee3fc
GM
71222013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7125 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7126 (viper-intercept-ESC-key): Simplify.
7127 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7128 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7129 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7130 (viper-setup-ESC-to-escape): New functions.
7131 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7132 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7133
9aff9b38
EZ
71342013-07-07 Eli Zaretskii <eliz@gnu.org>
7135
5165d44a
JB
7136 * simple.el (default-font-height, window-screen-lines):
7137 New functions.
9aff9b38
EZ
7138 (line-move, line-move-partial): Use them instead of
7139 frame-char-height and window-text-height. This makes scrolling
7140 text smoother when the buffer's default face uses a font that is
7141 different from the frame's default font.
7142
1afb1d07
JD
71432013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7144
7145 * files.el (write-file): Do not display confirm dialog for NS,
7146 it does its own dialog, which can't be cancelled (Bug#14578).
7147
23de972a
EZ
71482013-07-06 Eli Zaretskii <eliz@gnu.org>
7149
7150 * simple.el (line-move-partial): Adjust the row returned by
7151 posn-at-point for the current window-vscroll. (Bug#14567)
7152
54a42486
MA
71532013-07-06 Michael Albinus <michael.albinus@gmx.de>
7154
7155 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7156 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7157 spaces.
7158
34ada5f4
MR
71592013-07-06 Martin Rudalics <rudalics@gmx.at>
7160
7161 * window.el (window-state-put-stale-windows): New variable.
7162 (window--state-put-2): Save list of windows without matching buffer.
7163 (window-state-put): Remove "bufferless" windows if possible.
7164
11e03d89
JB
71652013-07-06 Juanma Barranquero <lekktu@gmail.com>
7166
7167 * simple.el (alternatives-define): Remove leftover :group keyword.
7168 Tweak docstring.
7169
3504a4be
LL
71702013-07-06 Leo Liu <sdl.web@gmail.com>
7171
7172 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7173 (ido-enable-virtual-buffers): New variable.
7174 (ido-buffer-internal, ido-toggle-virtual-buffers)
7175 (ido-make-buffer-list): Use it.
7176 (ido-exhibit): Support turning on and off virtual buffers
7177 automatically.
7178
61e56e2c
JB
71792013-07-06 Juanma Barranquero <lekktu@gmail.com>
7180
7181 * simple.el (alternatives-define): New macro.
7182
321e1a9c
SM
71832013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * subr.el (read-quoted-char): Use read-key.
7186 (sit-for): Let read-event decode tty input (bug#14782).
7187
d610f6dd
SB
71882013-07-05 Stephen Berman <stephen.berman@gmx.net>
7189
7190 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7191 mode command and externally. Fix various related bugs.
7192 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7193 (todo-delete-file): New command.
7194 (todo-check-file): New function.
7195 (todo-show): Handle external deletion of the file we're trying to
7196 show (bug#14688). Replace called-interactively-p by an optional
7197 prefix argument to avoid problematic interaction with catch form
7198 when byte compiled (bug#14702).
7199 (todo-quit): Handle external deletion of the archive's todo file.
7200 Make sure the buffer that was visiting the archive file is still
7201 live before trying to bury it.
7202 (todo-category-completions): Handle external deletion of any
7203 category completion files.
7204 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7205 of todo files, in case of external deletion.
7206 (todo-add-file): Replace unnecessary setq by let-binding.
7207 (todo-find-archive): Check whether there are any archives.
7208 Replace unnecessary setq by let-binding.
7209 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7210 archive buffer whether or not the archive already exists.
7211 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7212 check if the archive is new; if it is, update list of archives.
7213 (todo-default-todo-file): Allow nil to be a valid value for when
7214 there are no todo files.
7215 (todo-reevaluate-default-file-defcustom): Use corrected definition
7216 of todo-default-todo-file.
7217 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7218 (todo-delete-category, todo-show-categories-table)
7219 (todo-category-number): Clarify comment.
7220 (todo-filter-items): Clarify documentation string.
7221 (todo-show-current-file, todo-display-as-todo-file)
7222 (todo-reset-and-enable-done-separator): Tweak documentation string.
7223 (todo-done-separator): Make separator length window-width, since
7224 bug#2749 is now fixed.
7225
ddbdfd6f
MA
72262013-07-05 Michael Albinus <michael.albinus@gmx.de>
7227
321e1a9c
SM
7228 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7229 Support both "gvfs-monitor-dir" and "inotifywait".
7230 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7231 `tramp-sh-file-notify-process-filter'.
7232 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7233 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7234
96eb829a
LL
72352013-07-05 Leo Liu <sdl.web@gmail.com>
7236
7237 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7238
cf13177e
YM
72392013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7240
7241 * frame.el (display-pixel-height, display-pixel-width)
7242 (display-mm-height, display-mm-width): Mention behavior on
7243 multi-monitor setups in docstrings.
7244 (w32-display-monitor-attributes-list): Declare function.
7245 (display-monitor-attributes-list): Use it.
7246
864c58ca
MA
72472013-07-04 Michael Albinus <michael.albinus@gmx.de>
7248
7249 * filenotify.el: New package.
7250
7251 * autorevert.el (top): Require filenotify.el.
7252 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7253 instead.
7254 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7255 (auto-revert-notify-handler): Use `file-notify-*' functions.
7256
7257 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7258
321e1a9c
SM
7259 * net/tramp.el (tramp-file-name-for-operation):
7260 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7261
7262 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7263 for `file-notify-add-watch' and `file-notify-rm-watch'.
7264 (tramp-process-sentinel): Improve trace.
7265 (tramp-sh-handle-file-notify-add-watch)
7266 (tramp-sh-file-notify-process-filter)
7267 (tramp-sh-handle-file-notify-rm-watch)
7268 (tramp-get-remote-inotifywait): New defuns.
7269
96673afe
JL
72702013-07-03 Juri Linkov <juri@jurta.org>
7271
7272 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7273 call of `occur-read-primary-args' to interactive spec.
7274
7275 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7276 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7277
924494f4
MM
72782013-07-03 Matthias Meulien <orontee@gmail.com>
7279
7280 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7281 `Buffer-menu-multi-occur'. Add it to the menu.
7282 (Buffer-menu-mode): Document it in docstring.
7283 (Buffer-menu-multi-occur): New command. (Bug#14673)
7284
56f75efc
DG
72852013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7286
7287 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7288 keywords and built-ins.
7289
9b057d61
GM
72902013-07-03 Glenn Morris <rgm@gnu.org>
7291
208dee4d
GM
7292 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7293
9b057d61
GM
7294 Make info-xref checks case-sensitive by default
7295 * info.el (Info-find-node, Info-find-in-tag-table)
7296 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7297 Add option for exact case matching of nodes.
7298 * info-xref.el (info-xref): New custom group.
7299 (info-xref-case-fold): New option.
7300 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7301
e01aa29c
LL
73022013-07-03 Leo Liu <sdl.web@gmail.com>
7303
7304 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7305
3086ca2e
DG
73062013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7307
7308 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7309 middle of block statement initially, lower the depth. Remove
7310 FIXME comment, not longer valid. Remove middle of block statement
7311 detection, no need to do that anymore since we've been using
7312 `ruby-parse-region' here.
7313
a3b49114
JD
73142013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7315
7316 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7317
08e5c823 73182013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7319
7320 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7321
2addf922
JB
73222013-07-01 Juanma Barranquero <lekktu@gmail.com>
7323
7324 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7325 (desktop-restore-in-current-display): New customization option.
7326 (desktop--excluded-frame-parameters): Add `font'.
7327 (desktop--save-frames): Rename from desktop--save-windows.
7328 (desktop--restore-in-this-display-p): New function.
7329 (desktop--make-full-frame): Remove unwanted width/height from
7330 full(width|height) frames.
7331 (desktop--restore-frames): Rename from desktop--restore-windows.
7332 Obey desktop-restore-current-display. Do not delete old frames or
7333 select a new frame unless we were able to restore at least one frame.
7334
ef099a94
MN
73352013-06-30 Michal Nazarewicz <mina86@mina86.com>
7336
7337 * files.el (find-file-noselect): Simplify conditional expression.
7338
7339 * remember.el (remember-append-to-file):
7340 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7341
7342 Add `remember-notes' function to store random notes across Emacs
7343 restarts.
7344 * remember.el (remember-data-file): Add :set callback to affect
7345 notes buffer (if any).
7346 (remember-notes): New command.
7347 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7348 New defcustoms for the `remember-notes' function.
7349 (remember-notes-save-and-bury-buffer): New command.
7350 (remember-notes-mode-map): New variable.
7351 (remember-mode): New minor mode.
7352 (remember-notes--kill-buffer-query): New function.
7353 * startup.el (initial-buffer-choice): Add notes to custom type.
7354
0865d506
EZ
73552013-06-30 Eli Zaretskii <eliz@gnu.org>
7356
0ba54312
EZ
7357 * bindings.el (right-char, left-char): Don't call sit-for, this is
7358 no longer needed. Use arithmetic comparison only for numerical
7359 arguments.
7360
ef099a94
MN
7361 * international/mule-cmds.el (select-safe-coding-system):
7362 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7363
2fae38e5
LMI
73642013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7365
7366 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7367 progression on degenerate tables.
ef099a94 7368 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7369
a47cbd64
JB
73702013-06-30 Juanma Barranquero <lekktu@gmail.com>
7371
7372 Some fixes and improvements for desktop frame restoration.
7373 It is still experimental and disabled by default.
7374 * desktop.el (desktop--save-windows): Put the selected frame at
7375 the head of the list.
7376 (desktop--make-full-frame): New function.
7377 (desktop--restore-windows): Try to re-select the frame that was
7378 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7379 just show an error message and continue. Set up maximized frames
7380 so they have default non-maximized dimensions.
a47cbd64 7381
6dbafa30
DG
73822013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7383
ef099a94
MN
7384 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7385 Don't start heredoc inside a string or comment.
6dbafa30 7386
4c672a0f
EZ
73872013-06-29 Eli Zaretskii <eliz@gnu.org>
7388
7389 * bindings.el (visual-order-cursor-movement): New defcustom.
7390 (right-char, left-char): Provide visual-order cursor motion by
7391 calling move-point-visually. Update the doc strings.
7392
50960f36
KH
73932013-06-28 Kenichi Handa <handa@gnu.org>
7394
7395 * international/mule.el (define-coding-system): New coding system
7396 properties :inhibit-null-byte-detection,
7397 :inhibit-iso-escape-detection, and :prefer-utf-8.
7398 (set-buffer-file-coding-system): If :charset-list property of
7399 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7400 appropriate for setting.
7401
c1ea3abf
JB
7402 * international/mule-cmds.el (select-safe-coding-system):
7403 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7404 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7405
7406 * international/mule-conf.el (prefer-utf-8): New coding system.
7407 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7408 files.
7409
75dbaf9d
IK
74102013-06-28 Ivan Kanis <ivan@kanis.fr>
7411
eadb6068
IK
7412 * net/shr.el (shr-render-region): New function.
7413
75dbaf9d
IK
7414 * net/eww.el: Autoload `eww-browse-url'.
7415
9ea5cf9f
DG
74162013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7417
c1ea3abf
JB
7418 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7419 Adapt to `package-desc-version' being a list.
7420 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7421 archive element.
7422
39c0e36f
JB
74232013-06-27 Juanma Barranquero <lekktu@gmail.com>
7424
7425 New experimental feature to save&restore window and frame setup.
7426 * desktop.el (desktop-save-windows): New defcustom.
7427 (desktop--saved-states): New var.
7428 (desktop--excluded-frame-parameters): New defconst.
7429 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7430 (desktop--restore-windows, desktop--save-windows): New functions.
7431 (desktop-save): Call `desktop--save-windows'.
7432 (desktop-read): Call `desktop--restore-windows'.
7433
7f13406b
LMI
74342013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7435
ef099a94 7436 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7437
1e072639
SB
74382013-06-27 Stephen Berman <stephen.berman@gmx.net>
7439
7440 * info.el (Info-try-follow-nearest-node): Move search for footnote
7441 above search for node name to prevent missing a footnote (bug#14717).
7442
f3e2cbde
SB
74432013-06-27 Stephen Berman <stephen.berman@gmx.net>
7444
7445 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7446
99906aa0
LL
74472013-06-27 Leo Liu <sdl.web@gmail.com>
7448
7449 * net/eww.el (eww-read-bookmarks): Check file size.
7450
539f75f4
SM
74512013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7454 advice--pending if newdef is nil or an autoload (bug#13820).
7455 (advice-mapc): New function.
7456
843571cb
LMI
74572013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7458
7459 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7460 probably.
23a75d7f 7461 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7462 (eww-add-bookmark): New command.
7463 (eww-bookmark-mode): New mode and commands.
a285ce99 7464 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7465 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7466
f2136e1e
GM
74672013-06-26 Glenn Morris <rgm@gnu.org>
7468
eab35f39
GM
7469 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7470 (hfy-size): Handle ttys. (Bug#14668)
7471
f2136e1e
GM
7472 * info-xref.el: Update for Texinfo 5 change in *note format.
7473 (info-xref-node-re, info-xref-note-re): New constants.
7474 (info-xref-check-buffer): Use info-xref-note-re.
7475
a49ff80c
SM
74762013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7477
a343d218
SM
7478 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7479
a49ff80c
SM
7480 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7481 nil terminate the loop (bug#14718).
7482
8308f184
LMI
74832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7484
7485 * net/eww.el: Rework history traversal. When going forward/back,
7486 put these actions into the history, too, so that they can be
7487 replayed.
26bf2b82 7488 (eww-render): Move the history reset to the correct buffer.
8308f184 7489
ec64c273
JL
74902013-06-25 Juri Linkov <juri@jurta.org>
7491
7492 * files-x.el (modify-dir-local-variable): Change the header comment
7493 in the file with directory local variables. (Bug#14692)
7494
e080a9d7
JL
7495 * files-x.el (read-file-local-variable-value): Add `default'.
7496 (Bug#14710)
7497
bfbc93a1
IK
74982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7499
7500 * net/eww.el (eww-make-unique-file-name): Create a unique file
7501 name before saving to entering `y' accidentally asynchronously.
7502
75032013-06-25 Ivan Kanis <ivan@kanis.fr>
7504
7505 * net/eww.el (eww-download): New command and keystroke.
7506
16f74f10
LMI
75072013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7508
a49ff80c 7509 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7510
7511 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7512 be more consistent with Info and dired.
7513
7514 * net/eww.el (eww-mode-map): Ditto.
7515
12059709
SM
75162013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7519 packages from archives.
7520 (package-archive-contents): Change format; include obsolete packages.
7521 (package-desc): Use `dir' to mark builtin packages.
7522 (package--from-builtin): Set the `dir' field to `builtin'.
7523 (generated-autoload-file, version-control): Declare.
7524 (package-compute-transaction): Change first arg and return value to be
7525 lists of package-descs. Adjust to new package-archive-contents format.
7526 (package--add-to-archive-contents): Adjust to new
7527 package-archive-contents format.
7528 (package-download-transaction): Arg is now a list of package-descs.
7529 (package-install): If `pkg' is a package name, pass it as
7530 a requirement, so it is subject to the usual (e.g. disabled) checks.
7531 (describe-package): Accept package-desc as well.
7532 (describe-package-1): Describe a specific package-desc. Add links to
7533 other package-descs for the same package name.
7534 (package-menu-describe-package): Pass the actual package-desc.
7535 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7536 works correctly.
7537 (package-desc-status): New function.
7538 (package-menu--refresh): New function, extracted
7539 from package-menu--generate.
7540 (package-menu--generate): Use it.
7541 (package-delete): Update package-alist.
7542 (package-menu-execute): Don't call package-initialize.
7543
7544 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7545 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7546 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7547 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7548 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7549 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7550
8bbdea0f
MR
75512013-06-25 Martin Rudalics <rudalics@gmx.at>
7552
7553 * window.el (window--state-get-1): Workaround for bug#14527.
7554 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7555
e82b0991
LMI
75562013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7557
7558 * net/eww.el (eww-back-url): Implement the history by stashing all
7559 the data into a list.
d3f0f918 7560 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7561
c763842b
SM
75622013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7563
7564 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7565 for values and use read--expression for expressions (bug#14710).
7566 (read-file-local-variable): Avoid setq.
7567 (read-file-local-variable-mode): Use minor-mode-list.
7568
bceff189
RW
75692013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7570
864c58ca 7571 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7572 for DOI URLs.
7573
45f431c6
RW
75742013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7575
864c58ca 7576 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7577 Update imenu-support when dialect changes.
7578
f42d8237
LL
75792013-06-25 Leo Liu <sdl.web@gmail.com>
7580
7581 * ido.el (ido-read-internal): Allow forward slash on windows.
7582
be549ce6
LMI
75832013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7584
7585 * net/eww.el (eww): Start of strings is \\`, not ^.
7586
71d4c19d
IK
75872013-06-24 Ivan Kanis <ivan@kanis.fr>
7588
5196f88a
IK
7589 * net/shr.el (shr-browse-url): Fix interactive spec.
7590
71d4c19d
IK
7591 * net/eww.el (eww): Add a trailing slash to domain names.
7592
ae36ca55
JB
75932013-06-24 Juanma Barranquero <lekktu@gmail.com>
7594
7595 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7596
0ebd92a3
LMI
75972013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7598
bdaa086b
LMI
7599 * net/shr.el (shr-browse-url): Use an external browser if given a
7600 prefix.
7601
c763842b 7602 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7603
b89fc156
IK
76042013-06-24 Ivan Kanis <ivan@kanis.fr>
7605
7606 * net/eww.el (eww): Work more correctly for file: URLs.
7607 (eww-detect-charset): Allow quoted charsets.
7608 (eww-yank-page-url): New command and keystroke.
7609
18eb4bca
DU
76102013-06-24 Daiki Ueno <ueno@gnu.org>
7611
7612 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7613 file name of gpg executable.
7614 (epg-context-program): New function.
7615 (epg-context-home-directory): New function.
7616 (epg-context-set-program): New function.
7617 (epg-context-set-home-directory): New function.
7618 (epg--start): Use `epg-context-program' instead of
7619 'epg-gpg-program'.
7620 (epg--list-keys-1): Likewise.
7621
6c6268c8
LL
76222013-06-24 Leo Liu <sdl.web@gmail.com>
7623
7624 * ido.el (ido-read-internal): Fix bug#14620.
7625
5e400cb3
JB
76262013-06-23 Juanma Barranquero <lekktu@gmail.com>
7627
7628 * faces.el (face-documentation): Simplify.
7629 (read-face-attribute, tty-find-type, x-resolve-font-name):
7630 Use `string-match-p'.
7631 (list-faces-display): Use `string-match-p'. Simplify.
7632 (face-spec-recalc): Check face to avoid face alias loops.
7633 (read-color): Use `string-match-p' and non-capturing parenthesis.
7634
f3f9606c
LMI
76352013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7636
7637 * net/shr.el (shr-rescale-image): Use the new
7638 :max-width/:max-height functionality.
7639
a3ca09b9
IK
76402013-06-23 Ivan Kanis <ivan@kanis.fr>
7641
7642 * net/eww.el (eww-search-prefix): New variable.
7643 (eww): Use it.
f865b474
IK
7644 (eww-external-browser): New variable.
7645 (eww-mode-map): New keystroke.
7646 (eww-browse-with-external-browser): New command.
a3ca09b9 7647
e854cfc7
IK
7648 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7649
18bb9e21
JB
76502013-06-23 Juanma Barranquero <lekktu@gmail.com>
7651
7652 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7653 Don't skip aligning the next header field when padding is 0;
7654 otherwise, field width is not respected unless the title is as
7655 wide as the field.
7656
5b165ade
SM
76572013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * emacs-lisp/package.el (package-el-version): Remove.
7660 (package-process-define-package): Fix inf-loop.
7661 (package-install): Allow symbols as arguments again.
7662
12adebe9
DG
76632013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7664
7665 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7666 add some more keyword-like methods.
7667 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7668
388573ee
JB
76692013-06-22 Juanma Barranquero <lekktu@gmail.com>
7670
7671 * bs.el (bs-buffer-show-mark): Make defvar-local.
7672 (bs-mode): Use setq-local.
7673
7674 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7675 (emacs-lock--try-unlocking): Make defvar-local.
7676
4582a01c 76772013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7678
2663dd23
GM
7679 * play/cookie1.el (cookie-apropos): Minor simplification.
7680
3d94f3ad
GM
7681 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7682
f72e2fdb
DG
76832013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7684
7685 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7686 `regexp-opt', it breaks the build during dumping.
7687
73eab938
DG
76882013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7689
c763842b
SM
7690 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7691 Highlight keyword-like methods on Kernel and Module with
73eab938 7692 font-lock-builtin-face.
5cf8176d
DG
7693 (auto-mode-alist): Consolidate different entries into one regexp
7694 and add more *file-s.
73eab938 7695
d26255f6
SB
76962013-06-21 Stephen Berman <stephen.berman@gmx.net>
7697
7698 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7699
7700 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7701 (diary-entry): Use it in the action of this button type instead of
7702 diary-goto-entry.
7703
7704 * calendar/todo-mode.el: New version.
7705 (todo-add-category): Append new category to end of file and give
7706 it the highest number, instead of putting it at the beginning and
7707 giving it 0. Incorporate noninteractive functionality.
7708 (todo-forward-category): Adapt to 1-based category numbering.
7709 Allow skipping over archived categories.
7710 (todo-backward-category): Derive from todo-forward-category.
7711 (todo-backward-item, todo-forward-item): Make noninteractive and
7712 delegate interactive part to new commands. Make sensitive to done items.
7713 (todo-categories): Make value an alist of category names and
7714 vectors of item counts.
7715 (todo-category-beg): Make a defconst.
7716 (todo-category-number): Use 1 instead of 0 as initial value.
7717 (todo-category-select): Make sensitive to overlays, optional item
7718 highlighting and done items.
7719 (todo-delete-item): Make sensitive to overlays and marked and done items.
7720 (todo-edit-item): Make sensitive to overlays and editing of
7721 date/time header optional. Add format checks.
7722 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7723 no-op if point is not on an item. Advertise using todo-edit-quit.
7724 (todo-edit-mode): Make sensitive to new format, font-locking, and
7725 multiple todo files.
7726 (todo-insert-item, todo-insert-item-here): Derive from
7727 todo-basic-insert-item and extend functionality.
7728 (todo-item-end, todo-item-start): Make sensitive to done items.
7729 (todo-item-string): Don't return text properties. Restore point.
7730 (todo-jump-to-category): Make sensitive to multiple todo files and
7731 todo archives. Use extended category completion.
7732 (todo-lower-item, todo-raise-item): Rename to *-priority and
7733 derive from todo-set-item-priority.
7734 (todo-mode): Derive from special-mode. Make sensitive to new
7735 format, font-locking and multiple todo files. Make read-only.
7736 (todo-mode-map): Don't suppress digit keys, so they can supply
7737 prefix arguments. Add many new key bindings.
7738 (todo-prefix): Insert as an overlay instead of file text.
7739 Change semantics from diary date expression to purely visual mark.
7740 (todo-print): Rename to todo-print-buffer. Make buffer display
7741 features printable. Remove option to restrict number of items
7742 printed. Add option to print to file.
7743 (todo-print-function): Rename to todo-print-buffer-function.
7744 (todo-quit): Extend to handle exiting new todo modes.
7745 (todo-remove-item): Make sensitive to overlays.
7746 (todo-save): Extend to buffers of filtered items.
7747 (todo-show): Make sensitive to done items, multiple todo files and
7748 new todo modes. Offer to convert legacy todo file before creating
7749 first new todo file.
7750 (todo-show-priorities): Rename to todo-top-priorities.
7751 Change semantics of value 0.
7752 (todo-top-priorities): Rename to todo-filter-top-priorities,
7753 derive from todo-filter-items and extend functionality.
7754 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7755 and extend functionality to other types of filtered items.
7756 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7757 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7758 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7759 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7760 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7761 (todo-edit-mode-hook, todo-entry-prefix-function)
7762 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7763 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7764 (todo-initials, todo-insert-threshold, todo-item-string-start)
7765 (todo-line-string, todo-menu, todo-mode-hook)
7766 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7767 (todo-print-priorities, todo-remove-separator)
7768 (todo-save-top-priorities-too, todo-string-count-lines)
7769 (todo-string-multiline-p, todo-time-string-format)
7770 (todo-tmp-buffer-name): Remove.
7771 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7772 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7773 (todo-edit-category-diary-inclusion)
7774 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7775 (todo-edit-file, todo-edit-item-date-day)
7776 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7777 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7778 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7779 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7780 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7781 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7782 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7783 (todo-filter-top-priorities-multifile, todo-find-archive)
7784 (todo-find-filtered-items-file, todo-go-to-source-item)
7785 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7786 (todo-jump-to-archive-category, todo-lower-category)
7787 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7788 (todo-move-category, todo-move-item, todo-next-button)
7789 (todo-next-item, todo-padded-string, todo-powerset)
7790 (todo-previous-button, todo-previous-item)
7791 (todo-print-buffer-to-file, todo-raise-category)
7792 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7793 (todo-set-category-number, todo-set-item-priority)
7794 (todo-set-top-priorities-in-category)
7795 (todo-set-top-priorities-in-file, todo-show-categories-table)
7796 (todo-sort-categories-alphabetically-or-numerically)
7797 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7798 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7799 (todo-toggle-item-header, todo-toggle-item-highlighting)
7800 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7801 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7802 (todo-unarchive-items, todo-unmark-category): New commands.
7803 (todo-absolute-file-name, todo-add-to-buffer-list)
7804 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7805 (todo-basic-insert-item, todo-category-completions)
7806 (todo-category-number, todo-category-string-matcher-1)
7807 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7808 (todo-check-format, todo-clear-matches)
7809 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7810 (todo-current-category, todo-date-string-matcher)
7811 (todo-define-insertion-command, todo-diary-expired-matcher)
7812 (todo-diary-goto-entry, todo-diary-item-p)
7813 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7814 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7815 (todo-done-item-section-p, todo-done-separator)
7816 (todo-done-string-matcher, todo-files, todo-filter-items)
7817 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7818 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7819 (todo-insert-category-line, todo-insert-item-from-calendar)
7820 (todo-insert-sort-button, todo-insert-with-overlays)
7821 (todo-insertion-command-name, todo-insertion-key-bindings)
7822 (todo-label-to-key, todo-longest-category-name-length)
7823 (todo-make-categories-list, todo-mode-external-set)
7824 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7825 (todo-modes-set-3, todo-multiple-filter-files)
7826 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7827 (todo-read-category, todo-read-date, todo-read-dayname)
7828 (todo-read-file-name, todo-read-time)
7829 (todo-reevaluate-category-completions-files-defcustom)
7830 (todo-reevaluate-default-file-defcustom)
7831 (todo-reevaluate-filelist-defcustoms)
7832 (todo-reevaluate-filter-files-defcustom)
7833 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7834 (todo-reset-done-separator, todo-reset-done-separator-string)
7835 (todo-reset-done-string, todo-reset-global-current-todo-file)
7836 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7837 (todo-reset-prefix, todo-set-categories)
7838 (todo-set-date-from-calendar, todo-set-show-current-file)
7839 (todo-set-top-priorities, todo-short-file-name)
7840 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7841 (todo-total-item-counts, todo-update-buffer-list)
7842 (todo-update-categories-display, todo-update-categories-sexp)
7843 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7844 New functions.
7845 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7846 New major modes.
7847 (todo-categories, todo-display, todo-edit, todo-faces)
7848 (todo-filtered): New defgroups.
7849 (todo-archived-only, todo-button, todo-category-string, todo-date)
7850 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7851 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7852 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7853 (todo-add-item-if-new-category, todo-always-add-time-string)
7854 (todo-categories-align, todo-categories-archived-label)
7855 (todo-categories-category-label, todo-categories-diary-label)
7856 (todo-categories-done-label, todo-categories-number-separator)
7857 (todo-categories-todo-label, todo-categories-totals-label)
7858 (todo-category-completions-files, todo-completion-ignore-case)
7859 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7860 (todo-done-separator-string, todo-done-string)
7861 (todo-files-function, todo-filter-done-items, todo-filter-files)
7862 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7863 (todo-initial-category, todo-initial-file, todo-item-mark)
7864 (todo-legacy-date-time-regexp, todo-mode-line-function)
7865 (todo-nondiary-marker, todo-number-prefix)
7866 (todo-print-buffer-function, todo-show-current-file)
7867 (todo-show-done-only, todo-show-first, todo-show-with-done)
7868 (todo-skip-archived-categories, todo-top-priorities-overrides)
7869 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7870 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7871 New defcustoms.
7872 (todo-category-done, todo-date-pattern, todo-date-string-start)
7873 (todo-diary-items-buffer, todo-done-string-start)
7874 (todo-filtered-items-buffer, todo-item-start)
7875 (todo-month-abbrev-array, todo-month-name-array)
7876 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7877 (todo-top-priorities-buffer): New defconsts.
7878 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7879 (todo-categories-with-marks, todo-category-string-face)
7880 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7881 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7882 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7883 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7884 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7885 (todo-font-lock-keywords, todo-global-current-todo-file)
7886 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7887 (todo-insertion-commands-args)
7888 (todo-insertion-commands-args-genlist)
7889 (todo-insertion-commands-names, todo-insertion-map)
7890 (todo-key-bindings-t, todo-key-bindings-t+a)
7891 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7892 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7893 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7894 (todo-visited): New variables.
7895
cad5d1cb
GM
78962013-06-21 Glenn Morris <rgm@gnu.org>
7897
7898 * play/cookie1.el (cookie-apropos): Add optional display argument.
7899 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7900 (psychoanalyze-pinhead): Use cookie-doctor.
7901
9e277302
JB
79022013-06-21 Juanma Barranquero <lekktu@gmail.com>
7903
7904 * emacs-lisp/package.el (tar-get-file-descriptor)
7905 (tar--extract): Declare.
7906
c5b0993e
EW
79072013-06-21 Eduard Wiebe <usenet@pusto.de>
7908
7909 Extend flymake's warning predicate to be a function (bug#14217).
7910 * progmodes/flymake.el (flymake-warning-predicate): New.
7911 (flymake-parse-line): Use it.
7912 (flymake-warning-re): Make obsolete alias to
7913 `flymake-warning-predicate'.
7914
a7d2d465
SM
79152013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7916
7917 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7918 (package-obsolete-list): Remove.
7919 (package-activate): Remove min-version argument. Add `force' argument.
7920 Adjust to new package-alist format.
7921 (package-mark-obsolete): Remove.
7922 (package-unpack): Force reload of the package's autoloads.
7923 (package-installed-p): Check builtins if the installed package is not
7924 recent enough.
7925 (package-initialize): Don't reset package-obsolete-list.
7926 Don't specify which package version to activate.
7927 (package-process-define-package, describe-package-1)
7928 (package-menu--generate): Adjust to new package-alist format.
7929
cedf5c9d
JB
79302013-06-21 Juanma Barranquero <lekktu@gmail.com>
7931
7932 * allout-widgets.el (allout-widgets-mode-off)
7933 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7934 (allout-widgets-post-command-business)
7935 (allout-widgets-after-copy-or-kill-function)
7936 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7937 (allout-decorate-item-and-context)
7938 (allout-graphics-modification-handler): Fix typos in docstrings.
7939 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7940
7941 * cmuscheme.el (scheme-start-file): Doc fix.
7942 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7943 (scheme-input-filter): Use `string-match-p'.
7944
7945 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7946
7947 * dired-x.el: Use Dired consistently in docstrings.
7948
7949 * dired.el: Use Dired consistently in docstrings.
7950 (dired-readin, dired-mode): Use `setq-local'.
7951 (dired-switches-alist): Make defvar-local.
7952 (dired-buffers-for-dir): Use `zerop'.
7953 (dired-safe-switches-p, dired-switches-escape-p)
7954 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7955 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7956 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7957 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7958 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7959 (dired-toggle-marks, dired-mark-files-containing-regexp)
7960 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7961 (dired-flag-auto-save-files, dired-flag-backup-files):
7962 Use `looking-at-p'.
7963 (dired-mark-files-regexp, dired-build-subdir-alist):
7964 Use `string-match-p', `looking-at-p'.
7965
7966 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7967 (direct-print-region-helper): Use `string-match-p'.
7968
aed838b5
LL
79692013-06-21 Leo Liu <sdl.web@gmail.com>
7970
cedf5c9d
JB
7971 * comint.el (comint-redirect-results-list-from-process):
7972 Fix infinite loop.
aed838b5 7973
d80a808f
LMI
79742013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7975
7976 * net/eww.el (eww-update-header-line-format): Quote % characters.
7977
e7a526e3
GM
79782013-06-21 Glenn Morris <rgm@gnu.org>
7979
7980 * play/cookie1.el (cookie): New custom group.
7981 (cookie-file): New option.
7982 (cookie-check-file): New function.
7983 (cookie): Make it interactive. Make start and end messages optional.
7984 Interactively, display the result. Default to cookie-file.
7985 (cookie-insert): Default to cookie-file.
7986 (cookie-snarf): Make start and end messages optional.
7987 Default to cookie-file. Use with-temp-buffer.
7988 (cookie-read): Rename from read-cookie.
7989 Make start and end messages optional. Default to cookie-file.
7990 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7991 Do not autoload it.
e7a526e3
GM
7992 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7993 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7994
62efb35e
LL
79952013-06-21 Leo Liu <sdl.web@gmail.com>
7996
7997 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7998
21e3f963
GM
79992013-06-21 Glenn Morris <rgm@gnu.org>
8000
8001 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8002
fd846ab4
SM
80032013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8004 Daniel Hackney <dan@haxney.org>
8005
8006 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8007 Consolidate the single-file vs tarball code.
8008 (package-desc-suffix): New function.
8009 (package-desc-full-name): Don't bother inlining it.
8010 (package-load-descriptor): Return the new package-desc.
8011 (package-mark-obsolete): Remove unused arg `package'.
8012 (package-unpack): Make it work for single files as well.
8013 Make it update package-alist.
8014 (package--make-autoloads-and-stuff): Rename from
8015 package--make-autoloads-and-compile. Don't compile any more.
8016 (package--compile): New function.
8017 (package-generate-description-file): New function, extracted from
8018 package-unpack-single.
8019 (package-unpack-single): Remove.
8020 (package--with-work-buffer): Add indentation and debugging info.
8021 (package-download-single): Remove.
8022 (package-install-from-archive): Rename from package-download-tar, make
8023 it take a pkg-desc, and make it work for single files as well.
8024 (package-download-transaction): Simplify.
8025 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8026 external tar program.
8027 (package-install-from-buffer): Remove `pkg-desc' argument.
8028 Use package-tar-file-info for tar-mode buffers.
8029 (package-install-file): Simplify accordingly.
8030 (package-archive-base): Change to take a pkg-desc.
8031 * tar-mode.el (tar--check-descriptor): New function, extracted from
8032 tar-get-descriptor.
8033 (tar-get-descriptor): Use it.
8034 (tar-get-file-descriptor): New function.
8035 (tar--extract): New function, extracted from tar-extract.
8036 (tar--extract): Use it.
8037 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8038 case the summary uses non-ascii. Adjust to new calling convention of
8039 package-tar-file-info.
8040
b7deae5e
LL
80412013-06-21 Leo Liu <sdl.web@gmail.com>
8042
fd846ab4
SM
8043 * comint.el (comint-redirect-results-list-from-process):
8044 Fix random delay. (Bug#14681)
b7deae5e 8045
7a65a0b2
JB
80462013-06-21 Juanma Barranquero <lekktu@gmail.com>
8047
8048 * profiler.el (profiler-format-number): Use log, not log10.
8049
1493c2af
JB
80502013-06-20 Juanma Barranquero <lekktu@gmail.com>
8051
8052 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8053
aff6371e
SM
80542013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8057 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8058 yet available.
8059 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8060 (AUTOGENEL): ... here.
8061 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8062 (cl--defsubst-expand): Use it.
8063
89561f72
PE
80642013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8065
8066 * subr.el (log10): Move here from C code, and declare as obsolete.
8067 All uses of (log10 X) replaced with (log X 10).
8068
47199123
JB
80692013-06-20 Juanma Barranquero <lekktu@gmail.com>
8070
8071 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8072 Declare with `defvar-local'.
8073 (tabulated-list-use-header-line, tabulated-list-entries)
8074 (tabulated-list-padding, tabulated-list-printer)
8075 (tabulated-list-sort-key): Declare with `defvar-local'.
8076 (tabulated-list-init-header, tabulated-list-print-fake-header):
8077 Use `setq-local'.
8078
4a172eab
MA
80792013-06-20 Michael Albinus <michael.albinus@gmx.de>
8080
47199123
JB
8081 * arc-mode.el (archive-mode): Add `archive-write-file' to
8082 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8083
5fc0acc0
JB
80842013-06-20 Juanma Barranquero <lekktu@gmail.com>
8085
d5b27848
JB
8086 * cus-edit.el (custom-commands): Fix typos.
8087 (custom-display): Fix tooltip text.
8088 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8089 Fix typos in docstrings.
8090 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8091 (custom-unlispify-menu-entry, custom-magic-value-create)
8092 (custom-add-see-also, custom-group-value-create): Use ?\s.
8093 (custom-guess-type, customize-apropos, editable-field)
8094 (custom-face-value-create): Use `string-match-p'.
8095 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8096
8097 * custom.el (custom-load-symbol): Use `string-match-p'.
8098
a5c581d8
JB
8099 * ansi-color.el: Convert to lexical binding.
8100 (ansi-colors): Fix URL.
8101 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8102 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8103 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8104
970ad972
G
81052013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8106
8107 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8108
8109 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8110
81112013-06-19 Tom Tromey <tromey@redhat.com>
8112
8113 * net/eww.el (eww-top-url): Remove.
8114 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8115 (eww-render): Set new variables. Don't set eww-top-url.
8116 (eww-handle-link): Handle "prev", "home", and "contents".
8117 Downcase the rel text.
8118 (eww-top-url): Choose best top URL.
8119
81202013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8121
8122 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8123 relying in widget.el. Using widget.el leads to too many
8124 user interface inconsistencies.
8125 (eww-self-insert): Implement entering commands in text fields.
8126 (eww-process-text-input): New function to make text input field editing
8127 work.
8128 (eww-submit): Rewrite to use the new-style form methods.
8129 (eww-select-display): Display the correct selected item.
8130 (eww-change-select): Implement changing the select value.
8131 (eww-toggle-checkbox): Implement radio/checkboxes.
8132 (eww-update-field): Fix compilation error.
8133 (eww-tag-textarea): Implement <textarea>.
8134
8135 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8136 we don't shadow mode-specific bindings.
8137
8138 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8139 nothing to push.
8140
8141 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8142
4582a01c 81432013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8144
8145 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8146
15b263dc
MA
81472013-06-19 Michael Albinus <michael.albinus@gmx.de>
8148
8149 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8150 not needed.
8151
8152 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8153
8f5297f7
LMI
81542013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8155
8156 * net/browse-url.el (browse-url-browser-function):
8157 `eww-browse-url' has the right calling signature, `eww' does not.
8158
011c4552
GM
81592013-06-19 Glenn Morris <rgm@gnu.org>
8160
2285bd27
GM
8161 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8162 Only eval autoloaded macros.
8163 (byte-compile-autoload): Only give the macro warning for macros.
8164
1d653303
GM
8165 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8166 (ps-underlined-faces): Declare.
8167
bdd779ec
GM
8168 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8169 (speedbar-add-supported-extension): Declare.
8170
011c4552
GM
8171 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8172 Don't include a date stamp in the header of the generated file;
8173 it leads to needless differences between output files.
8174
e59dfb0e
MA
81752013-06-19 Michael Albinus <michael.albinus@gmx.de>
8176
c763842b
SM
8177 * net/secrets.el (secrets-struct-secret-content-type):
8178 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8179 Some servers do not offer introspection.
e59dfb0e 8180
102626e2
SM
81812013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * electric.el (electric-pair-mode): Improve interaction with
8184 electric-layout-mode.
8185 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8186 (electric-pair-syntax): Use text-mode-syntax-table in comments
8187 and strings.
8188 (electric-pair--insert): New function.
8189 (electric-pair-post-self-insert-function): Use it and
8190 electric--after-char-pos.
8191
ad528125
LL
81922013-06-19 Leo Liu <sdl.web@gmail.com>
8193
8194 * progmodes/octave.el (octave-help): Fix regexp.
8195
924d6997
G
81962013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8197
8198 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8199 (shr-table-horizontal-line): Allow nil as a value, and change the
8200 default.
8201 (shr-insert-table-ruler): Respect the nil value.
8202
82032013-06-18 Tom Tromey <tromey@barimba>
8204
8205 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8206 New defvars.
8207 (eww-open-file): New defun.
8208 (eww-render): Initialize new variables.
8209 (eww-display-html): Handle "link" and "a".
8210 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8211 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8212 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8213 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8214 New defuns.
924d6997 8215
d1bbba4f
DG
82162013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8217
8218 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8219 Distinguish ternary operator tokens from slash symbol and slash
8220 char literal.
8221
14dd22d2
JB
82222013-06-18 Juanma Barranquero <lekktu@gmail.com>
8223
8224 Convert symbol prettification into minor mode and global minor mode.
8225
8226 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8227 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8228 (prettify-symbols--keywords): Rename from
8229 `prog-prettify-symbols-alist' and make a local defvar.
8230 (prettify-symbols--compose-symbol): Rename from
8231 `prog--prettify-font-lock-compose-symbol'.
8232 (prettify-symbols--make-keywords): Rename from
8233 `prog-prettify-font-lock-symbols-keywords' and simplify.
8234 (prog-prettify-install): Remove.
8235 (prettify-symbols-mode): New minor mode, based on
8236 `prog-prettify-install'.
8237 (turn-on-prettify-symbols-mode): New function.
8238 (global-prettify-symbols-mode): New globalized minor mode.
8239
8240 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8241 * progmodes/cfengine.el (cfengine3-mode):
8242 * progmodes/perl-mode.el (perl-mode): Don't call
8243 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8244
292c880c
JL
82452013-06-18 Juri Linkov <juri@jurta.org>
8246
8247 * files-x.el (modify-file-local-variable-message): New function.
8248 (modify-file-local-variable)
8249 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8250 and call `modify-file-local-variable-message' when it's non-nil.
8251 (add-file-local-variable, delete-file-local-variable)
8252 (add-file-local-variable-prop-line)
8253 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8254 and use it. (Bug#9820)
8255
0950aa27
JL
82562013-06-18 Juri Linkov <juri@jurta.org>
8257
8258 * emulation/vi.el (vi-shell-op):
8259 * emulation/vip.el (vip-execute-com, ex-command):
8260 * emulation/viper-cmd.el (viper-exec-bang):
8261 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8262 the call of `shell-command-on-region'. (Bug#14637)
8263
8264 * simple.el (shell-command-on-region): Doc fix.
8265
8fbcca16
SM
82662013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8269 (bug#14633).
8270
dd7426ea
GM
82712013-06-18 Glenn Morris <rgm@gnu.org>
8272
4ba54f7d
GM
8273 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8274
dd7426ea
GM
8275 * newcomment.el (comment-search-forward, comment-search-backward):
8276 Doc fix. (Bug#14376)
8277
58aa805b
JB
82782013-06-18 Juanma Barranquero <lekktu@gmail.com>
8279
8280 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8281 (buffer-face-mode-invoke): Doc fix.
8282
9a08a617
MM
82832013-06-18 Matthias Meulien <orontee@gmail.com>
8284
8285 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8286 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8287
f2f426ca
GM
82882013-06-18 Glenn Morris <rgm@gnu.org>
8289
9445f99b
GM
8290 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8291 Replace obsolete function generic-make-keywords with its expansion.
8292
e0df2d14
GM
8293 * progmodes/python.el (ffap-alist): Declare.
8294
f2f426ca
GM
8295 * textmodes/reftex.el (bibtex-mode-map): Declare.
8296
f7f9a720
SM
82972013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8300 (package-unpack, package-unpack-single): Return the pkg-dir.
8301 (package-download-transaction): Use it to update package-alist.
8302
57ff04e0
LMI
83032013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8304
8305 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8306 possible choice.
8307
c048c022
JL
83082013-06-17 Juri Linkov <juri@jurta.org>
8309
8310 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8311
b5bcaee5
DG
83122013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8313
a020afb9
JB
8314 * emacs-lisp/package.el (package-load-descriptor):
8315 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8316 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8317
551e07e5
JB
83182013-06-17 Juanma Barranquero <lekktu@gmail.com>
8319
8320 * startup.el (command-line): Expand package name returned by
8321 `package--description-file' (bug#14639).
8322
d363bffb
DG
83232013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8324
8325 * emacs-lisp/package.el (package-load-descriptor): Do not call
8326 `emacs-lisp-mode', just use its syntax table.
8327
f612933b
JB
83282013-06-17 Juanma Barranquero <lekktu@gmail.com>
8329
8330 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8331 `font-lock-extra-managed-props' if any prettifying keyword is added.
8332 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8333 (prog-mode): Use `setq-local'.
8334
db3b7db5
SM
83352013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * international/characters.el (standard-case-table): Set syntax of ?»
8338 and ?« to punctuation.
8339
f3d674df
JB
83402013-06-16 Juanma Barranquero <lekktu@gmail.com>
8341
8342 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8343 Save relevant match data before calling `syntax-ppss' (bug#14595).
8344
31489a32
JL
83452013-06-15 Juri Linkov <juri@jurta.org>
8346
8347 * files-x.el (modify-file-local-variable-prop-line): Add local
8348 variables to the end of the existing comment on the first line.
8349 Use `file-auto-mode-skip' to skip interpreter magic line,
8350 and also skip XML declaration.
8351
66bd25ab
SM
83522013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8353
8354 * startup.el (package--builtin-versions): New var.
8355 (package-subdirectory-regexp): Remove.
8356 (package--description-file): Hard code its value instead.
8357
8358 * emacs-lisp/package.el: Don't activate packages older than builtin.
8359 (package-obsolete-list): Rename from package-obsolete-alist, and make
8360 it into a simple list of package-desc.
8361 (package-strip-version): Remove.
8362 (package-built-in-p): Use package--builtin-versions.
8363 (package-mark-obsolete): Simplify.
8364 (package-process-define-package): Mark it obsolete if older than the
8365 builtin version.
8366 (package-handle-response): Use line-end-position.
8367 (package-read-archive-contents, package--download-one-archive):
8368 Simplify.
8369 (package--add-to-archive-contents): Skip if older than the builtin or
8370 installed version.
8371 (package-menu-describe-package): Fix last change.
8372 (package-list-unversioned): New var.
8373 (package-menu--generate): Use it.
8374
8375 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8376 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8377 (autoload-builtin-package-versions): New variable.
8378 (autoload-generate-file-autoloads): Use them.
8379 Remove the list of autoloaded functions/macros from the
8380 (autoload...) comments.
8381
8382 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8383
9583ec36
EZ
83842013-06-15 Eli Zaretskii <eliz@gnu.org>
8385
8386 * simple.el (line-move-partial): Don't jump to the next screen
8387 line as soon as it becomes visible. Instead, continue enlarging
8388 the vscroll until the portion of a tall screen line that's left on
8389 display is about the height of the frame's default font.
8390 (Bug#14567)
8391
f0100d8a
GM
83922013-06-15 Glenn Morris <rgm@gnu.org>
8393
b86a85ca
GM
8394 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8395 compilation-error-regexp-alist void, or local while let-bound.
8396
f0100d8a
GM
8397 * progmodes/make-mode.el (makefile-mode-syntax-table):
8398 Treat "=" as punctuation. (Bug#14614)
8399
05e7ce90
JB
84002013-06-15 Juanma Barranquero <lekktu@gmail.com>
8401
8402 * help-fns.el (describe-variable):
8403 Add extra line for permanent-local variables.
8404
12e5e86e
SH
84052013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8406
8407 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8408 Add export, import, library. (Bug#9164)
8409 (library): Set indent function.
8410
230dcbaf
GM
84112013-06-14 Glenn Morris <rgm@gnu.org>
8412
8413 * term/xterm.el (xterm--query):
8414 Stop after first matching handler. (Bug#14615)
8415
e36b2d20 84162013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8417
8418 Add support for dired in saveplace.
8419 * dired.el (dired-initial-position-hook): New variable.
8420 (dired-initial-position): Call hook to place cursor position.
8421 * saveplace.el (save-place-to-alist): Add dired position.
8422 (save-place-dired-hook): New function.
8423
0b31660d
SM
84242013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8425
bf1e6ae8
SM
8426 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8427 through a symbol rather than letrec.
8428
1b8dff23
SM
8429 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8430 (package-desc): Add `dir' field.
8431 (package-desc-full-name): New function.
8432 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8433 (package-maybe-load-descriptor): Remove.
8434 (package-load-all-descriptors): Just call package-load-descriptor.
8435 (package--disabled-p): New function.
8436 (package-desc-vers, package-desc-doc): Remove aliases.
8437 (package--dir): Remove function.
8438 (package-activate): Check if a package is disabled.
8439 (package-process-define-package): New function, extracted from
8440 define-package.
8441 (define-package): Turn into a place holder.
8442 (package-unpack-single, package-tar-file-info):
8443 Use package--description-file.
8444 (package-compute-transaction): Use package--disabled-p.
8445 (package-download-transaction): Don't call
8446 package-maybe-load-descriptor since they're all loaded anyway.
8447 (package-install): Change argument to be a pkg-desc.
8448 (package-delete): Use a single pkg-desc argument.
8449 (describe-package-1): Use package-desc-dir instead of package--dir.
8450 Use package-desc property instead of package-symbol.
8451 (package-install-button-action): Adjust accordingly.
8452 (package--push): Rewrite.
8453 (package-menu--print-info): Adjust accordingly. Change the ID format
8454 to be a pkg-desc.
8455 (package-menu-describe-package, package-menu-get-status)
8456 (package-menu--find-upgrades, package-menu-mark-upgrades)
8457 (package-menu-execute, package-menu--name-predicate):
8458 Adjust accordingly.
8459 * startup.el (package--description-file): New function.
8460 (command-line): Use it.
8461 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8462 Use package-desc-version.
8463
0b31660d
SM
8464 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8465 (byte-compile-preprocess): Use it.
8466 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8467 can't quite recognize.
8468 (byte-compile-add-to-list): Remove.
8469 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8470 (cconv-closure-convert): Add assertion.
8471
8472 * emacs-lisp/map-ynp.el: Use lexical-binding.
8473 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8474 Factor out some repeated code.
8475
de0503df
SM
84762013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8477
8478 * subr.el (with-eval-after-load): New macro.
8479 (eval-after-load): Allow form to be a function.
8480 take advantage of lexical-binding.
8481 (do-after-load-evaluation): Use dolist and adjust to new format.
8482 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8483
bc5c8c5a
JL
84842013-06-13 Juri Linkov <juri@jurta.org>
8485
8486 * replace.el (perform-replace): Display "symbol " and other search
8487 modes from `isearch-message-prefix' in the *Help* buffer.
8488
8489 * isearch.el (isearch-query-replace): Add " symbol" and other
8490 possible search modes from `isearch-message-prefix' to the prompt.
8491 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8492 when reading a regexp to collect.
8493
a22289f7
JL
84942013-06-13 Juri Linkov <juri@jurta.org>
8495
8496 * isearch.el (word-search-regexp): Match whitespace if the search
8497 string begins or ends in whitespace. The LAX arg is applied to
8498 both ends of the search string. Use `regexp-quote' and explicit
8499 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8500 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8501 boundaries are replaced with symbol boundaries, and characters
8502 between symbols match non-word non-symbol syntax. (Bug#14602)
8503
cb89acab
JL
85042013-06-13 Juri Linkov <juri@jurta.org>
8505
8506 * isearch.el (isearch-del-char): Don't exceed the length of
8507 `isearch-string' by the prefix arg. (Bug#14563)
8508
6e8cfc81
JL
85092013-06-13 Juri Linkov <juri@jurta.org>
8510
8511 * isearch.el (isearch-yank-word, isearch-yank-line)
8512 (isearch-char-by-name, isearch-quote-char)
8513 (isearch-printing-char, isearch-process-search-char):
8514 Add optional count prefix arg. (Bug#14563)
8515
8516 * international/isearch-x.el
8517 (isearch-process-search-multibyte-characters):
8518 Add optional count prefix arg.
8519
c23d55f4
VS
85202013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8523 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8524 lexical-binding.
8525
85262013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8527
8528 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8529
ba947bc4
GM
85302013-06-13 Glenn Morris <rgm@gnu.org>
8531
8baeb37a
GM
8532 * startup.el (tty-handle-args):
8533 Don't just discard "--" and anything after. (Bug#14608)
8534
ba947bc4
GM
8535 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8536
9abefce4
MA
85372013-06-13 Michael Albinus <michael.albinus@gmx.de>
8538
8539 Implement changes in Secret Service API. Make it backward compatible.
8540 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8541 (secrets-create-item): Use it. Prefix properties with interface.
8542
5755011f
MH
85432013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8544
8545 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8546 (term-emulate-terminal): Respect term-suppress-hard-newline.
8547
1261d2da
S
85482013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8549
8550 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8551 Only remove a `thumb-file' overlay. (Bug#14548)
8552
868490bb
GJ
85532013-06-12 Grégoire Jadi <daimrod@gmail.com>
8554
8555 * mail/reporter.el (reporter-submit-bug-report):
8556 Handle missing package-name. (Bug#14600)
8557
79d7167f
TH
85582013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8559
8560 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8561 (reftex-citation-prompt, reftex-default-bibliography)
8562 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8563 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8564 (reftex-bib-sort-author, reftex-bib-sort-year)
8565 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8566 (reftex-extract-bib-entries-from-thebibliography)
8567 (reftex-get-bibkey-default, reftex-get-bib-names)
8568 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8569 (reftex-format-bib-entry, reftex-parse-bibitem)
8570 (reftex-format-bibitem, reftex-do-citation)
8571 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8572 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8573 (reftex-insert-bib-matches, reftex-format-citation)
8574 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8575 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8576 existing comments into docstrings.
8577
5f9dbd7a
XF
85782013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8579
8580 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8581
94df41ab
AS
85822013-06-12 Andreas Schwab <schwab@suse.de>
8583
8584 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8585 for auto-save files.
8586
a7f3fecc
GM
85872013-06-12 Glenn Morris <rgm@gnu.org>
8588
001809f6
GM
8589 * ido.el (ido-delete-ignored-files): Remove.
8590 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8591 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8592
834b5ded
EL
85932013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8594
08c73ed2
EL
8595 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8596
834b5ded
EL
8597 * ido.el (ido-delete-ignored-files): New function,
8598 split from ido-make-file-list-1.
8599 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8600 (ido-make-file-list-1): Use ido-delete-ignored-files.
8601
daabf15a
LL
86022013-06-12 Leo Liu <sdl.web@gmail.com>
8603
8604 * progmodes/octave.el (inferior-octave-startup)
8605 (inferior-octave-completion-table)
8606 (inferior-octave-track-window-width-change)
8607 (octave-eldoc-function-signatures, octave-help)
8608 (octave-find-definition): Use single quoted strings.
8609 (inferior-octave-startup-args): Change default value.
8610 (inferior-octave-startup): Do not hard code "-i" and
8611 "--no-line-editing".
8612 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8613 (inferior-octave-directory-tracker): Use it.
8614 (octave-goto-function-definition): Robustify.
8615 (octave-help): Support highlighting operators in 'See also'.
8616 (octave-find-definition): Find subfunctions only in Octave mode.
8617
cf4e5178
SM
86182013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * help-fns.el (help-fns--compiler-macro): If the handler function is
8621 named, then put a link to it.
8622 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8623 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8624 (cl-typep): Use it.
8625 (cl-eval-when): Simplify debug spec.
8626 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8627 compiler-macro function instead of setting `compiler-macro-file'.
8628
99c81280 86292013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8630
8631 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8632 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8633
f56be016
SM
86342013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8635 Daniel Hackney <dan@haxney.org>
8636
8637 First part of Daniel Hackney's patch to package.el.
8638 * emacs-lisp/package.el: Use defstruct.
8639 (package-desc): New, main struct.
8640 (package--bi-desc, package--ac-desc): New structs, used to describe the
8641 format in external files.
8642 (package-desc-vers): Replace with package-desc-version accessor.
8643 (package-desc-doc): Replace with package-desc-summary accessor.
8644 (package-activate-1): Remove `package' arg since the pkg-vec now
8645 includes the name.
8646 (define-package): Use package-desc-from-define.
8647 (package-unpack-single): Change file-name arg to be a symbol.
8648 (package--add-to-archive-contents): Use package-desc-create and new
8649 accessor functions to package--ac-desc.
8650 (package-buffer-info, package-tar-file-info): Return a package-desc.
8651 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8652 arg to be a package-desc.
8653 (package-install-file): Adjust accordingly. Use \' to match EOS.
8654 (package--from-builtin): New function.
8655 (describe-package-1, package-menu--generate): Use it.
8656 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8657 (package-generate-autoloads): Idem and return the name of the file.
8658 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8659 Change pkg-info arg to be a package-desc.
8660 Use package-make-ac-desc.
8661 (package-upload-file): Use \' to match EOS.
8662 * finder.el (finder-compile-keywords): Use package-make-builtin.
8663
31119d63
SM
86642013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8665
931a2762
SM
8666 * vc/vc.el (vc-deduce-fileset): Change error message.
8667 (vc-read-backend): New function.
8668 (vc-next-action): Use it.
8669
5a3eb0c6
SM
8670 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8671
e3eb1bb7
SM
8672 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8673 (prolog-font-lock-keywords): Use regexp-opt instead.
8674 Don't manually highlight strings.
8675 (prolog-mode-variables): Simplify comment-start-skip.
8676 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8677
31119d63
SM
8678 * emacs-lisp/generic.el (generic--normalise-comments)
8679 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8680 (generic-mode-set-comments): Use them.
8681 (generic-bracket-support): Use setq-local.
8682 (generic-make-keywords-list): Declare obsolete.
8683
7de135d0
GM
86842013-06-11 Glenn Morris <rgm@gnu.org>
8685
8686 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8687 Prettify after setting font-lock-defaults. (Bug#14574)
8688
fa6bc6fd
JB
86892013-06-11 Juanma Barranquero <lekktu@gmail.com>
8690
8691 * replace.el (query-replace, occur-read-regexp-defaults-function)
8692 (replace-search):
8693 * subr.el (declare-function, number-sequence, local-set-key)
8694 (substitute-key-definition, locate-user-emacs-file)
8695 (with-silent-modifications, split-string, eval-after-load):
8696 Fix typos, remove unneeded backslashes and reflow some docstrings.
8697
cf1f9b9a
SM
86982013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8701 default for Elisp files.
8702
56602a4b
GM
87032013-06-11 Glenn Morris <rgm@gnu.org>
8704
8705 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8706 although define-derived-mode was doing this anyway. (Bug#14583)
8707
30ae0b2c
JB
87082013-06-10 Juanma Barranquero <lekktu@gmail.com>
8709
8710 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8711 Fix make-variable-buffer-local call to refer to the correct variable.
8712
fa472906
AG
87132013-06-10 Aidan Gauland <aidalgol@amuri.net>
8714
8715 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8716 (eshell-visual-subcommands, eshell-visual-options):
8717 Add summary line to docstrings. Add cross-references.
fa472906 8718
ff4871b9
GM
87192013-06-10 Glenn Morris <rgm@gnu.org>
8720
8721 * epa.el (epa-read-file-name): New function. (Bug#14510)
8722 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8723
04fcf1b0
AG
87242013-06-09 Aidan Gauland <aidalgol@amuri.net>
8725
8726 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8727 output redirection to be ignored with visual commands.
8728
88b00caa
AG
87292013-06-09 Aidan Gauland <aidalgol@amuri.net>
8730
8731 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8732 (eshell-term-initialize): Move long lambda to separate function
8733 eshell-visual-command-p.
e7b41c4c
JB
8734 * eshell/em-dirs.el (eshell-dirs-initialise):
8735 * eshell/em-script.el (eshell-script-initialize):
8736 Add missing #' to lambda.
88b00caa 8737
fda74125
LL
87382013-06-08 Leo Liu <sdl.web@gmail.com>
8739
8740 * progmodes/octave.el (octave-add-log-current-defun): New function.
8741 (octave-mode): Set add-log-current-defun-function.
8742 (octave-goto-function-definition): Do not move point if not found.
8743 (octave-find-definition): Enhance to try subfunctions first.
8744
467f3b33
GM
87452013-06-08 Glenn Morris <rgm@gnu.org>
8746
8747 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8748 (byte-compile-backward-char, byte-compile-backward-word):
8749 Improve previous change, to handle non-explicit nil.
8750
544badc3
SM
87512013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8752
8753 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8754 (smie--opener/closer-at-point): New function.
8755 (smie--matching-block-data): Use it. Don't match from right after an
8756 opener or right before a closer. Obey smie-blink-matching-inners.
8757 Don't signal a mismatch for repeated inners like "switch..case..case".
8758
a175bf33
LL
87592013-06-07 Leo Liu <sdl.web@gmail.com>
8760
8761 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8762 to t. (Bug#14303)
ce8209d4
LL
8763 (octave-function-header-regexp): Fix. (Bug#14570)
8764 (octave-help-mode-finish-hook, octave-help-mode-finish):
8765 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8766
8767 * newcomment.el (comment-search-backward): Revert last change.
8768 (Bug#14434)
8769
8770 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8771
a822acff
EZ
87722013-06-07 Eli Zaretskii <eliz@gnu.org>
8773
8774 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8775 through xargs, to avoid failure due to MS-Windows limitations on
8776 command-line length.
8777
961166f5
GM
87782013-06-06 Glenn Morris <rgm@gnu.org>
8779
d0341459
GM
8780 * font-lock.el (lisp-font-lock-keywords-2):
8781 Treat user-error like error.
8782
961166f5
GM
8783 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8784 (byte-compile-backward-char, byte-compile-backward-word):
8785 Handle explicit nil arguments. (Bug#14565)
8786
80fa505f
AM
87872013-06-05 Alan Mackenzie <acm@muc.de>
8788
8789 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8790 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8791 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8792 (Bug#9706)
80fa505f 8793
fccdc796
SM
87942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 * autorevert.el (auto-revert-notify-handler): Use memq.
8797 Hide assertion failure.
8798
8799 * skeleton.el: Use cl-lib.
8800 (skeleton-further-elements): Use defvar-local.
8801 (skeleton-insert): Use cl-progv.
8802
9bfff84b
TZ
88032013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8804
8805 * progmodes/prog-mode.el (prog-prettify-symbols)
8806 (prog-prettify-install): Update docstrings.
8807
55577e7c
SM
88082013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * simple.el: Move all the prog-mode code to prog-mode.el.
8811 * progmodes/prog-mode.el: New file.
8812 * loadup.el: Add prog-mode.el.
8813
8fc57765
TZ
88142013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8815
8816 * simple.el (prog-prettify-symbols): Add version.
8817 (prog-prettify-install): Add convenience function to prettify symbols.
8818
8819 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8820 (perl--augmented-font-lock-keywords-1)
8821 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8822 variables and use it.
8823
8824 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8825 (cfengine3-mode): Remove unneeded variable and use it.
8826
8827 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8828 (lisp--augmented-font-lock-keywords-1)
8829 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8830 Remove unneeded variables and use it.
8831
650645d5 88322013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8833
8834 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8835 to point when opening the connection. (Bug#14380)
28f5da6d 8836
781b4af6
SM
88372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * subr.el (load-history-regexp, load-history-filename-element)
8840 (eval-after-load, after-load-functions, do-after-load-evaluation)
8841 (eval-next-after-load, display-delayed-warnings)
8842 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8843 definition of save-match-data.
8844 (overriding-local-map): Remove accidental obsolescence declaration.
8845
8846 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8847
3ca0d0b4
TZ
88482013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8849
8850 Generalize symbol prettify support to prog-mode and implement it
8851 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8852 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8853 (prog--prettify-font-lock-compose-symbol)
8854 (prog-prettify-font-lock-symbols-keywords): New variables and
8855 functions to support symbol prettification.
8856 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8857 (lisp--augmented-font-lock-keywords-1)
8858 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8859 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8860 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8861 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8862 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8863 * progmodes/perl-mode.el (perl-prettify-symbols)
8864 (perl--font-lock-compose-symbol)
8865 (perl--font-lock-symbols-keywords): Move to prog-mode.
8866 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8867 (perl-font-lock-keywords-1)
8868 (perl-font-lock-keywords-2): Remove explicit prettify support.
8869 (perl--augmented-font-lock-keywords)
8870 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8871 (perl--augmented-font-lock-keywords-2, perl-mode):
8872 Implement prettify support.
3ca0d0b4 8873
976cb066
LL
88742013-06-05 Leo Liu <sdl.web@gmail.com>
8875
8876 Re-implement smie matching block highlight using
8877 show-paren-data-function. (Bug#14395)
8878 * emacs-lisp/smie.el (smie-matching-block-highlight)
8879 (smie--highlight-matching-block-overlay)
8880 (smie--highlight-matching-block-lastpos)
8881 (smie-highlight-matching-block)
8882 (smie-highlight-matching-block-mode): Remove.
8883 (smie--matching-block-data-cache): New variable.
8884 (smie--matching-block-data): New function.
8885 (smie-setup): Use smie--matching-block-data for
8886 show-paren-data-function.
8887
8888 * progmodes/octave.el (octave-mode-menu): Fix.
8889 (octave-find-definition): Skip garbage lines.
8890
208d0342
SM
88912013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 Fix compilation error with simultaneous dynamic+lexical scoping.
8894 Add warning when a defvar appears after the first let-binding.
8895 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8896 (byte-compile-close-variables): Initialize it.
8897 (byte-compile--declare-var): New function.
8898 (byte-compile-file-form-defvar)
8899 (byte-compile-file-form-define-abbrev-table)
8900 (byte-compile-file-form-custom-declare-variable): Use it.
8901 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8902 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8903 (byte-compile-bind): Handle dynamic bindings that shadow
8904 lexical bindings.
8905 (byte-compile-unbind): Make arg non-optional.
8906 (byte-compile-let): Simplify.
8907 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8908 (cconv--analyse-function, cconv-analyse-form): Populate it.
8909 Protect byte-compile-bound-variables to limit the scope of defvars.
8910 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8911 Remove unneeded rule for `declare'.
8912
8913 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8914 so as to avoid depending on cl-adjoin at run-time.
8915 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8916
8917 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8918 (macroexp--warn-and-return): Use it.
8919
1ac2891e
GM
89202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * lisp/subr.el: Convert to lexical binding.
8923 (overriding-local-map): Make obsolete.
8924 (add-to-list): Doc fix. Add compiler macro.
8925 (read-key): Swap values of local maps.
8926
2587b005
LL
89272013-06-05 Leo Liu <sdl.web@gmail.com>
8928
8929 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8930
f1da3c88
LL
89312013-06-04 Leo Liu <sdl.web@gmail.com>
8932
8933 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8934 (compilation-auto-jump): Suppress the "Mark set" message to give
8935 way to exit message.
8936
3caa391f
AM
89372013-06-04 Alan Mackenzie <acm@muc.de>
8938
8939 Remove faulty optimisation from indentation calculation.
8940 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8941 search limit based on 2000 characters back from indent-point.
8942
068922a2
TH
89432013-06-03 Tassilo Horn <tsdh@gnu.org>
8944
8945 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8946
1f8fdd53
SM
89472013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8948
bbcc4d97
SM
8949 * emacs-lisp/lisp.el: Use lexical-binding.
8950 (lisp--local-variables-1, lisp--local-variables): New functions.
8951 (lisp--local-variables-completion-table): New var.
208d0342 8952 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8953
1f8fdd53
SM
8954 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8955 eagerly (bug#14422).
8956
c9628c79
MA
89572013-06-03 Michael Albinus <michael.albinus@gmx.de>
8958
8959 * autorevert.el (auto-revert-notify-enabled)
8960 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8961 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8962 (auto-revert-notify-handler): Handle also gfilenotify.
8963
e7b41c4c 8964 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8965 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8966 Remove.
c9628c79 8967
e5e4a942
JL
89682013-06-03 Juri Linkov <juri@jurta.org>
8969
8970 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8971 `M-s h .'. (Bug#14427)
8972
8973 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8974 command `hi-lock-face-symbol-at-point'.
8975 (hi-lock-face-symbol-at-point): New command.
8976 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8977 (hi-lock-menu): Add `highlight-symbol-at-point'.
8978 (hi-lock-mode): Doc fix.
8979
8980 * isearch.el (isearch-forward-symbol-at-point): New command.
8981 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8982 (isearch-highlight-regexp): Add a regexp which matches
8983 words/symbols for word/symbol mode.
8984
8985 * subr.el (find-tag-default-bounds): New function with the body
8986 mostly moved from `find-tag-default'.
8987 (find-tag-default): Move most code to `find-tag-default-bounds',
8988 call it and apply `buffer-substring-no-properties' afterwards.
8989
26b3353a
TH
89902013-06-03 Tassilo Horn <tsdh@gnu.org>
8991
781b4af6
SM
8992 * eshell/em-term.el (eshell-term-initialize):
8993 Use `cl-intersection' rather than `intersection'.
26b3353a 8994
51b60f53
XF
89952013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8996
fe054b63 8997 * vc/log-view.el: Doc fix.
d3ffe17c 8998 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8999
a0eb10b3 90002013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9001
9002 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9003 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9004 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9005 (eieio-unbound, eieio-default-superclass)
9006 (eieio--define-field-accessors, method-static, method-before)
9007 (method-primary, method-after, method-num-lists)
9008 (method-generic-before, method-generic-primary)
9009 (method-generic-after, method-num-slots)
9010 (eieio-specialized-key-to-generic-key)
9011 (eieio--check-type, class-v, class-p)
9012 (eieio-class-name, define-obsolete-function-alias)
9013 (eieio-class-parents-fast, eieio-class-children-fast)
9014 (same-class-fast-p, class-constructor, generic-p)
9015 (generic-primary-only-p, generic-primary-only-one-p)
9016 (class-option-assoc, class-option, eieio-object-p)
9017 (class-abstract-p, class-method-invocation-order)
9018 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9019 (eieio-class-un-autoload, eieio-defclass)
9020 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9021 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9022 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9023 (eieio-defgeneric-reset-generic-form)
9024 (eieio-defgeneric-form-primary-only)
9025 (eieio-defgeneric-reset-generic-form-primary-only)
9026 (eieio-defgeneric-form-primary-only-one)
9027 (eieio-defgeneric-reset-generic-form-primary-only-one)
9028 (eieio-unbind-method-implementations)
9029 (eieio--defmethod, eieio--typep)
9030 (eieio-perform-slot-validation, eieio-validate-slot-value)
9031 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9032 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9033 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9034 (eieio-slot-name-index, eieio-class-slot-name-index)
9035 (eieio-set-defaults, eieio-initarg-to-attribute)
9036 (eieio-attribute-to-initarg, eieio-c3-candidate)
9037 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9038 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9039 (eieio-class-precedence-list, eieio-generic-call-methodname)
9040 (eieio-generic-call-arglst, eieio-generic-call-key)
9041 (eieio-generic-call-next-method-list)
9042 (eieio-pre-method-execution-functions, eieio-generic-call)
9043 (eieio-generic-call-primary-only, eieiomt-method-list)
9044 (eieiomt-optimizing-obarray, eieiomt-install)
9045 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9046 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9047 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9048 (defclass): Remove `eval-and-compile' from macro.
9049 (call-next-method, shared-initialize): Instead of using
9050 `scoped-class' variable, use new eieio--scoped-class, and
9051 eieio--with-scoped-class.
9052 (initialize-instance): Rename local variable 'scoped-class' to
9053 'this-class' to remove ambiguitity from old global.
9054
9055 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9056 eieio.el.
4f405069
JB
9057 (eieio--scoped-class-stack): New variable.
9058 (eieio--scoped-class): New fcn.
890f7890
DE
9059 (eieio--with-scoped-class): New scoping macro.
9060 (eieio-defclass): Use pushnew instead of add-to-list.
9061 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9062 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9063 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9064 `scoped-class' variable, use new eieio--scoped-class, and
9065 eieio--with-scoped-class.
9066
9067 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9068
d105b0e2
TH
90692013-06-02 Tassilo Horn <tsdh@gnu.org>
9070
9071 * eshell/esh-ext.el (eshell-external-command): Pass args to
9072 `eshell-find-interpreter'.
9073 (eshell-find-interpreter): Add new second parameter ARGS.
9074
9075 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9076 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9077
9078 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9079 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9080
9081 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9082 (eshell-visual-options): New defcustom.
9083 (eshell-escape-control-x): Adapt docstring.
9084 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9085 `eshell-visual-options' in addition to `eshell-visual-commands'.
9086 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9087
f46305c8 90882013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9089
9090 * progmodes/python.el (python-indent-block-enders): Add break,
9091 continue and raise keywords.
9092
d870df21
GM
90932013-06-01 Glenn Morris <rgm@gnu.org>
9094
9133b82e
GM
9095 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9096
02c992ec 9097 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9098 * progmodes/cc-cmds.el (delete-forward-p):
9099 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9100 * progmodes/cc-engine.el (buffer-syntactic-context):
9101 * progmodes/cc-fonts.el (face-property-instance):
9102 * progmodes/cc-mode.el (set-keymap-parents):
9103 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9104 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9105 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9106 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9107 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9108
31e7b090
GM
9109 * progmodes/cc-vars.el (other): Emacs has this widget since
9110 at least 21.1, so don't (re)define it.
9111
d870df21
GM
9112 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9113 Replace the obsolete alias pcomplete-arg-quote-list.
9114
c75c93c7
LL
91152013-06-01 Leo Liu <sdl.web@gmail.com>
9116
9117 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9118 punctuation syntax.
9119 (inferior-octave-minimal-columns)
9120 (inferior-octave-last-column-width): New variables.
9121 (inferior-octave-track-window-width-change): New function.
9122 (inferior-octave-mode): Adjust column width so that Octave output,
9123 for example from 'ls', can fit into the window nicely.
9124
973d1e12
DG
91252013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9126
9127 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9128 Highlight expansions inside regexp literals.
9129
0888c286
GM
91302013-05-31 Glenn Morris <rgm@gnu.org>
9131
e26aac1f
GM
9132 * obsolete/sym-comp.el (symbol-complete):
9133 Replace obsolete completion-annotate-function.
9134
0888c286
GM
9135 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9136
19bb8e62
DG
91372013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9138
781b4af6
SM
9139 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9140 New function, checks if point is inside a literal that allows
19bb8e62
DG
9141 expression expansion.
9142 (ruby-syntax-propertize-expansion): Use it.
9143 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9144 around the body.
9145
01dea85f
JL
91462013-05-30 Juri Linkov <juri@jurta.org>
9147
9148 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9149 to "\M-si".
9150 (isearch-invisible): New variable.
9151 (isearch-forward): Doc fix.
9152 (isearch-mode): Set `isearch-invisible'
9153 to the value of `search-invisible'.
9154 (isearch-toggle-case-fold): Doc fix.
9155 (isearch-toggle-invisible): New command.
9156 (isearch-query-replace): Let-bind `search-invisible'
9157 to the value of `isearch-invisible'.
9158 (isearch-search): Use `isearch-invisible' instead of
9159 `search-invisible'. Let-bind `search-invisible'
9160 to the value of `isearch-invisible'. (Bug#11378)
9161
ab1bdce5
JL
91622013-05-30 Juri Linkov <juri@jurta.org>
9163
9164 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9165 call when `query-flag' is nil and `search-invisible' is non-nil.
9166 (Bug#11746)
9167
d6d236e2
GM
91682013-05-30 Glenn Morris <rgm@gnu.org>
9169
8accd027
GM
9170 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9171
2a8bed1c
GM
9172 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9173 (cc-require): Suppress spurious "noruntime" warnings.
9174 (cc-require-when-compile): Use fboundp, for sake of compiler.
9175
d6d236e2
GM
9176 * progmodes/cc-mode.el: Move load of cc-vars before that of
9177 cc-langs (which in turn loads cc-vars), to quieten compiler.
9178
9190b35b
SM
91792013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * paren.el: Simplify the code.
9182 (show-paren-mode): Always start the timer.
9183 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9184 (show-paren--overlay, show-paren--overlay-1): Rename from
9185 show-paren-overlay and show-paren-overlay-1, and initialize to an
9186 overlay rather than to nil.
9187 (show-paren-function): Misc cleanup and simplifications.
9188
4f8d1cf6
SM
91892013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * paren.el (show-paren-data-function): New hook.
9192 (show-paren--default): New function, extracted from show-paren-function.
9193 (show-paren-function): Use show-paren-data-function.
9194
02d844b5
GM
91952013-05-30 Glenn Morris <rgm@gnu.org>
9196
d209d4a9
GM
9197 * ielm.el (ielm-map, ielm-complete-symbol):
9198 Use completion-at-point rather than obsolete functions.
9199 (inferior-emacs-lisp-mode): Doc fix.
9200 Set completion-at-point-functions, rather than
9201 comint-dynamic-complete-functions.
9202
2082faa6
GM
9203 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9204 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9205 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9206
dd8620de
GM
9207 * image.el (image-animated-p): Tweak definition.
9208
ceca95b1
GM
9209 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9210 (rlogin-process-connection-type): Tweak default. Add set-after.
9211 (rlogin-host): Doc fix.
9212 (rlogin): Tweak prompt.
9213 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9214
ee9f1acc
GM
9215 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9216 * progmodes/tcl.el (inferior-tcl-mode-map):
9217 Use completion-at-point rather than obsolete alias.
9218
45ce222e
GM
9219 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9220
02d844b5
GM
9221 * minibuffer.el (read-file-name-completion-ignore-case):
9222 Move before completion--in-region, for eager macro expansion.
9223
ac44d6c1
JL
92242013-05-29 Juri Linkov <juri@jurta.org>
9225
9226 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9227 for total count of matching lines. Add `global-matches' for total
9228 count of matches. Rename `matches' to `lines' for count of
9229 matching lines. Add `matches' for count of matches.
9230 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9231 to `prev-line' for line number of prev match endpt.
9232 Increment `matches' for every match. Print the number of
9233 matching lines in the header.
9234 (occur-context-lines): Rename `lines' to `curr-line'.
9235 Rename `prev-lines' to `prev-line'. (Bug#14017)
9236
3c9c9d38
JL
92372013-05-29 Juri Linkov <juri@jurta.org>
9238
9239 * replace.el (perform-replace): Add `skip-read-only-count',
9240 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9241 Increment them for corresponding conditions and report the number
9242 of skipped occurrences in the final message. (Bug#11746)
9243 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9244 (replace-string, replace-regexp): Doc fix.
9245
33e249a2
SM
92462013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9247
8e399682
SM
9248 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9249
33e249a2 9250 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9251 prog-mode-map (bug#14504).
33e249a2 9252
f236dd84
LL
92532013-05-29 Leo Liu <sdl.web@gmail.com>
9254
9255 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9256 (octave-help): Small simplification.
9257
9258 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9259 off the highlight first.
9260
3694d13f
GM
92612013-05-29 Glenn Morris <rgm@gnu.org>
9262
03983bdc
GM
9263 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9264 Handle idlwave-last-system-routine-info-cons-cell being nil.
9265
bc74a74a
GM
9266 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9267 (idlwave-write-paths): Simplify via with-temp-buffer.
9268
8b394200
GM
9269 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9270 * emulation/cua-rect.el: Also load cua-base at run time.
9271
3694d13f
GM
9272 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9273 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9274 (cperl-imenu-on-info): Require imenu.
9275
336d7284
AM
92762013-05-28 Alan Mackenzie <acm@muc.de>
9277
9278 Handle "capitalised keywords" correctly.
33e249a2 9279 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9280
cb29c582
AG
92812013-05-28 Aidan Gauland <aidalgol@amuri.net>
9282
781b4af6 9283 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9284
690e44b2
GM
92852013-05-28 Glenn Morris <rgm@gnu.org>
9286
e658d75c
GM
9287 * vc/vc-arch.el (vc-exec-after): Declare.
9288 (vc-switches): Autoload.
9289 * vc/vc-bzr.el: No need to require vc when compiling.
9290 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9291 (vc-resynch-buffer, vc-dir-refresh): Declare.
9292 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9293 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9294 (vc-resynch-buffer): Declare.
9295 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9296 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9297 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9298 (grep-read-regexp, grep-read-files, grep-expand-template)
9299 (vc-dir-refresh): Declare.
9300 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9301 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9302 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9303 * vc/vc-mtn.el (vc-exec-after): Declare.
9304 (vc-switches): Autoload.
9305 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9306 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9307 (vc-file-tree-walk): Declare.
712b9732
GM
9308 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9309 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9310 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9311 * vc/vc-svn.el (vc-exec-after): Declare.
9312 (vc-switches, vc-setup-buffer): Autoload.
9313 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9314 Autoload.
9315 (vc-resynch-buffer): Declare.
9316
98e87fb3
GM
9317 * obsolete/fast-lock.el (byte-compile-warnings):
9318 Don't warn about obsolete features in this obsolete file.
9319
f5379553
GM
9320 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9321 Move definition before use.
9322
7a20ef83
GM
9323 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9324 (dun-unix-verbs): Remove dun-zippy.
9325 (dun-zippy): Remove function.
9326
690e44b2
GM
9327 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9328
3a52ccf7
JL
93292013-05-27 Juri Linkov <juri@jurta.org>
9330
9331 * replace.el (replace-search): New function with code moved out
9332 from `perform-replace'.
9333 (replace-highlight, replace-dehighlight): Move function definitions
9334 up closer to `replace-search'. (Bug#11746)
9335
d289938a
JL
93362013-05-27 Juri Linkov <juri@jurta.org>
9337
9338 * replace.el (perform-replace): Ignore invisible matches.
9339 In addition to checking `query-replace-skip-read-only', also
9340 filter out matches by calling `run-hook-with-args-until-failure'
9341 on `isearch-filter-predicates', and also check `search-invisible'
9342 for t or call `isearch-range-invisible'.
9343 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9344
66fc57e3
JL
93452013-05-27 Juri Linkov <juri@jurta.org>
9346
9347 * isearch.el (isearch-filter-predicates): Rename from
9348 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9349 (isearch-message-prefix): Display text from the property
9350 `isearch-message-prefix' of the currently active filters.
9351 (isearch-search): Don't compare `isearch-filter-predicate' with
9352 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9353 on `isearch-filter-predicates'. Also check `search-invisible' for t
9354 or call `isearch-range-invisible'.
9355 (isearch-filter-visible): Make obsolete.
9356 (isearch-lazy-highlight-search):
9357 Call `run-hook-with-args-until-failure' on
9358 `isearch-filter-predicates' and use `isearch-range-invisible'.
9359
9360 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9361 `isearch-filter-predicates' instead of `funcall'ing
9362 `isearch-filter-predicate'.
9363 (Info-mode): Set `Info-isearch-filter' to
9364 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9365
9366 * dired-aux.el (dired-isearch-filter-predicate-orig):
9367 Remove variable.
9368 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9369 (dired-isearch-filenames-end): Add and remove
9370 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9371 instead of changing the value of `isearch-filter-predicate'.
9372 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9373 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9374 Put property `isearch-message-prefix' to "filename " on
9375 `dired-isearch-filter-filenames'.
9376
9377 * wdired.el (wdired-change-to-wdired-mode):
9378 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9379 locally instead of changing `isearch-filter-predicate'.
9380 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9381
f1a60a0f
DG
93822013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9383
9384 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9385 return the commit hash (Bug#14459). Also set the
9386 `vc-git-detached' property.
9387 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9388 (vc-git-mode-line-string): Use the same help-echo format whether
9389 in detached mode or not, because we know the actual revision now.
9390 When in detached mode, shorten the revision to 7 chars.
9391
7f17cc40
SM
93922013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9393
9394 * emacs-lisp/easy-mmode.el (define-minor-mode):
9395 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9396 mode hook and provide a docstring.
9397
25c8401c
AM
93982013-05-27 Alan Mackenzie <acm@muc.de>
9399
9400 Remove spurious syntax-table text properties inserted by C-y.
9401 * progmodes/cc-mode.el (c-after-change): Also clear hard
9402 syntax-table property with value nil.
9403
dde84790
MA
94042013-05-27 Michael Albinus <michael.albinus@gmx.de>
9405
9406 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9407 when reading the events; the buffer layout shall not be changed.
9408
837fd9af
LL
94092013-05-27 Leo Liu <sdl.web@gmail.com>
9410
9411 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9412 New variable.
9413 (inferior-octave-directory-tracker): Automatically re-sync
9414 default-directory.
9415 (octave-help): Improve handling of 'See also'.
9416
4fd996b3
SM
94172013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9418
416f1802
SM
9419 * doc-view.el: Minor naming convention tweaks.
9420 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9421
4fd996b3
SM
9422 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9423 even if there's no `display' property yet (bug#14435).
9424
a052ef3b
EZ
94252013-05-25 Eli Zaretskii <eliz@gnu.org>
9426
4fd996b3 9427 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9428
9429 * Makefile.in (custom-deps, finder-data, autoloads)
9430 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9431 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9432 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9433
c9023370
SM
94342013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9435
9436 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9437 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9438 Don't burp at EOB.
c9023370 9439
24d699fa
LL
94402013-05-25 Leo Liu <sdl.web@gmail.com>
9441
9442 * comint.el (comint-previous-matching-input): Do not flood the
9443 *Messages* buffer with trivial messages.
9444
17e5c0cc
SM
94452013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9446
9447 * progmodes/flymake.el (flymake-nop): Don't return a string.
9448 (flymake-set-at): Fix typo.
9449
9450 * simple.el (read--expression): New function, extracted from
9451 eval-expression. Set completion-at-point-functions (bug#14465).
9452 (eval-expression, eval-minibuffer): Use it.
9453
5d028165
XF
94542013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9455
9456 * progmodes/flymake.el (flymake-save-buffer-in-file)
9457 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9458 (flymake-selected-frame, flymake-log, flymake-ins-after)
9459 (flymake-set-at, flymake-get-buildfile-from-cache)
9460 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9461 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9462 Refine the doc string.
9463 (flymake-get-file-name-mode-and-masks): Reformat.
9464 (flymake-get-real-file-name-function): Fix a minor bug.
9465
7a1d7ba7
JL
94662013-05-24 Juri Linkov <juri@jurta.org>
9467
9468 * progmodes/grep.el (grep-mode-font-lock-keywords):
9469 Support =linenumber= format used by git-grep for lines with
9470 function names. (Bug#13549)
9471
650cff3d
SM
94722013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9475 0 after a semi-colon; it works better for smie-auto-fill.
9476 (octave--indent-new-comment-line): New function.
9477 (octave-indent-new-comment-line): Use it (indirectly).
9478 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9479 modify comment-line-break-function.
9480
9481 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9482 (smie-setup): Use add-function to set it.
9483
9631677d
SS
94842013-05-24 Sam Steingold <sds@gnu.org>
9485
9486 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9487 argument (before the `interactive' argument).
9488
50105835
SM
94892013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * image-mode.el (image-mode-winprops): Add winprops to
9492 image-mode-winprops-alist before running
9493 image-mode-new-window-functions.
9494 * doc-view.el (doc-view-new-window-function): Don't delay
9495 doc-view-goto-page via timers (bug#14435).
9496
57b9823e
TH
94972013-05-24 Tassilo Horn <tsdh@gnu.org>
9498
9499 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9500 (doc-view-desktop-save-buffer): New function.
9501 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9502 (desktop-buffer-mode-handlers):
9503 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9504 handler.
9505 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9506 `desktop-save-buffer' function.
9507
91aafa16
MA
95082013-05-24 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9511 (tramp-gvfs-file-name-handler): Raise a user error when
9512 `tramp-gvfs-enabled' is nil.
9513 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9514 Do not raise a user error when loading package. (Bug#14447)
9515
ec076379
MA
9516 * net/xesam.el: Move to obsolete/.
9517
db785726
GM
95182013-05-24 Glenn Morris <rgm@gnu.org>
9519
af5c7606
GM
9520 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9521
e5d1916a
GM
9522 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9523
ded62b08
GM
9524 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9525 (Info-find-node, Man-getpage-in-background): Declare.
9526
9e614a3f
GM
9527 * mail/unrmail.el (unrmail):
9528 Replace obsolete detect-coding-with-priority.
9529
892f8ca3
GM
9530 * net/socks.el (socks-split-string): Use this rather than split-string.
9531 (socks-nslookup-host): Update for above change.
9532 (dynamic-choice, s5-dynamic-choice-match)
9533 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9534 Comment out unused code.
9535
3c291973
GM
9536 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9537 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9538 (gud-tooltip-echo-area): Make obsolete.
9539 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9540
43cc956b
GM
9541 * progmodes/js.el (js--optimize-arglist): Declare.
9542
dab49a3b
GM
9543 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9544
36b9d085
GM
9545 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9546 (ediff-window-C): Declare.
9547
e354ae76
GM
9548 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9549 Tweak requires to silence compiler.
9550
b8e57bf4
GM
9551 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9552 (he-search-string, he-tried-table, he-expand-list)
9553 (he-init-string, he-string-member, he-substitute-string)
9554 (he-reset-string): Declare.
9555
db785726
GM
9556 * obsolete/options.el (list-options): Use custom-variable-p,
9557 rather than obsolete alias.
9558
b3531901
SS
95592013-05-23 Sam Steingold <sds@gnu.org>
9560
9561 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9562 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9563 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9564
bdda4c66
SM
95652013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9566
9567 * emacs-lisp/smie.el (smie-indent-forward-token)
9568 (smie-indent-backward-token): Handle string tokens (bug#14381).
9569
c43d45f9
TH
95702013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9571
fe1eb856
RS
9572 * ielm.el (ielm-menu): New menu.
9573 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9574
fe1eb856
RS
95752013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9576
9577 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9578 Fix deactivate action.
9579
9580 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9581 Add cleveref macros.
074dd971 9582
c43d45f9
TH
9583 * lisp/textmodes/reftex-parse.el
9584 (reftex-locate-bibliography-files): Accept options for
9585 bibliography commands.
9586 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9587 Add addbibresource. Basic Biblatex support.
9588
7764286e
MA
95892013-05-23 Michael Albinus <michael.albinus@gmx.de>
9590
9591 * net/tramp-gvfs.el (top):
9592 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9593 when loading package. (Bug#14447)
9594
d361bc10
GM
95952013-05-23 Glenn Morris <rgm@gnu.org>
9596
8fa23984
GM
9597 * progmodes/js.el: No need to load comint when compiling.
9598 (ring-insert, comint-send-string, comint-send-input)
9599 (comint-last-input-end, ido-chop): Declare.
9600
a5c7df1a
GM
9601 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9602 * vc/ediff-mult.el: Adjust requires.
9603 (ediff-directories-internal, ediff-directory-revisions-internal)
9604 (ediff-patch-file-internal): Declare.
9605 * vc/ediff-ptch.el: Adjust requires.
9606 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9607 (ediff-find-file): Autoload.
9608 * vc/ediff-util.el: No need to load ediff when compiling.
9609 (ediff-regions-internal): Declare.
9610 * vc/ediff-wind.el: Adjust requires.
9611 (ediff-compute-toolbar-width): Define when compiling.
9612 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9613 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9614 (dired-get-filename, dired-get-marked-files)
9615 (ediff-last-dir-patch, ediff-patch-default-directory)
9616 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9617 (ediff-patch-buffer-internal): Declare.
9618
e2aec513
GM
9619 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9620 (ispell-process, ispell-buffer-local-words, lm-summary)
9621 (lm-section-start, lm-section-end): Declare.
9622 (checkdoc-ispell-init): Simplify.
9623
e68bbd7c
GM
9624 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9625 (he-string-member, he-reset-string, he-substitute-string): Declare.
9626
7efe0991
GM
9627 * eshell/em-ls.el: Adjust requires.
9628 (eshell-glob-regexp): Declare.
f87b1284
GM
9629 * eshell/em-tramp.el: Adjust requires.
9630 (eshell-parse-command): Autoload.
9631 * eshell/em-xtra.el: Adjust requires.
9632 (eshell-parse-command): Autoload.
9633 * eshell/esh-ext.el: Adjust requires.
9634 (eshell-parse-command, eshell-close-handles): Autoload.
9635 * eshell/esh-io.el: Adjust requires.
9636 (eshell-output-filter): Autoload.
9637 * eshell/esh-util.el: No need to load tramp when compiling.
9638 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9639 Declare.
9640 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9641 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9642 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9643 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9644 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9645 * eshell/esh-opt.el, eshell/esh-proc.el:
9646 * eshell/esh-var.el: Adjust requires.
9647 * eshell/eshell.el: Do not require esh-util twice.
9648 (eshell-add-input-to-history): Declare.
9649 (eshell-command): Check history module is active before using it.
9650
d361bc10
GM
9651 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9652
85d090a9
LL
96532013-05-22 Leo Liu <sdl.web@gmail.com>
9654
9655 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9656
5d0acd9d
MA
96572013-05-22 Michael Albinus <michael.albinus@gmx.de>
9658
9659 * autorevert.el (auto-revert-notify-add-watch)
9660 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9661 it indicates changes in file modification time.
9662
0cdffd7d
GM
96632013-05-22 Glenn Morris <rgm@gnu.org>
9664
ca5995ec
GM
9665 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9666 Always delete the autoloaded function from the noruntime and
9667 unresolved functions lists.
9668
6450907e
GM
9669 * allout.el: No need to load epa, epg, overlay when compiling.
9670 (epg-context-set-passphrase-callback, epg-list-keys)
9671 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9672 (epg-key-user-id-list): Declare.
9673
9c6906f6
GM
9674 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9675 (viper-set-parsing-style-toggling-macro)
9676 (viper-set-emacs-state-searchstyle-macros):
9677 Use called-interactively-p on Emacs.
9678 (viper-looking-back): Make it an obsolete alias. Update callers.
9679 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9680 Use looking-back rather than viper-looking-back.
9681 (viper-tmp-insert-at-eob, viper-enlarge-region)
9682 (viper-read-string-with-history, viper-register-to-point)
9683 (viper-append-to-register, viper-change-state-to-vi)
9684 (viper-backward-char-carefully, viper-forward-char-carefully)
9685 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9686 (viper-change-state-to-emacs): Declare.
9687 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9688 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9689 * emulation/viper-mous.el: Do not load viper-cmd.
9690 (viper-backward-char-carefully, viper-forward-char-carefully)
9691 (viper-forward-word, viper-adjust-window): Declare.
9692
5f70c169
GM
9693 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9694
b1b7f300
GM
9695 * progmodes/idlw-help.el (idlwave-help-fontify):
9696 Use called-interactively-p.
9697
f6ebbb46
GM
9698 * term/w32console.el (w32-get-console-codepage)
9699 (w32-get-console-output-codepage): Declare.
9700
0cdffd7d
GM
9701 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9702 Remove unnecessary declarations.
9703 (dframe-message): Doc fix.
9704
9705 * info.el (dframe-select-attached-frame, dframe-current-frame):
9706 Declare.
9707
9708 * speedbar.el (speedbar-message): Make it an obsolete alias.
9709 Update all callers.
9710 (speedbar-with-attached-buffer)
9711 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9712 (speedbar-with-writable): Use backquote.
9713 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9714 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9715 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9716 rather than speedbar- aliases.
9717 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9718 (speedbar-make-specialized-keymap, speedbar-insert-button)
9719 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9720 (speedbar-do-function-pointer): Declare.
9721 (rmail-speedbar-button, rmail-speedbar-find-file)
9722 (rmail-speedbar-move-message):
9723 Use dframe-with-attached-buffer rather than speedbar- alias.
9724 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9725 (dframe-message, speedbar-make-specialized-keymap)
9726 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9727 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9728 (speedbar-insert-button, dframe-select-attached-frame)
9729 (dframe-maybee-jump-to-attached-frame)
9730 (speedbar-change-initial-expansion-list)
9731 (speedbar-previously-used-expansion-list-name): Declare.
9732 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9733 Use dframe-message, dframe-with-attached-buffer rather than
9734 speedbar- aliases.
9735 (gud-sentinel): Silence compiler.
9736 * progmodes/vhdl-mode.el (speedbar-refresh)
9737 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9738 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9739 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9740 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9741 (speedbar-file-lists, speedbar-make-tag-line)
9742 (speedbar-line-directory, speedbar-goto-this-file)
9743 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9744 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9745 (speedbar-make-button, speedbar-reset-scanners)
9746 (speedbar-files-item-info, speedbar-line-text)
9747 (speedbar-find-file-in-frame, speedbar-set-timer)
9748 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9749 (speedbar-with-writable): Do not (re)define it.
9750 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9751 rather than speedbar- alias.
9752
ee44b62a
LL
97532013-05-21 Leo Liu <sdl.web@gmail.com>
9754
9755 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9756 menu items.
9757 (octave-mode): Tweak fill-nobreak-predicate.
9758 (inferior-octave-startup): Check process to avoid infinite loop.
9759 (inferior-octave): Pop to buffer first to show abornmal process
9760 exit information.
9761
640f050f
GM
97622013-05-21 Glenn Morris <rgm@gnu.org>
9763
79458038
GM
9764 * printing.el (pr-menu-bar): Define when compiling.
9765
9cc3e83f
LL
97662013-05-21 Leo Liu <sdl.web@gmail.com>
9767
9768 * progmodes/octave.el (octave-auto-fill): Remove.
9769 (octave-indent-new-comment-line): Improve.
9770 (octave-mode): Use auto fill mode through
4f405069 9771 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9772 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9773 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9774 (octave-help): Show parent directory.
9775
f440830d
GM
97762013-05-21 Glenn Morris <rgm@gnu.org>
9777
9778 * files.el (dired-unmark):
9779 * progmodes/gud.el (gdb-input): Update declarations.
9780
9781 * calculator.el (electric, ehelp): No need to load when compiling.
9782 (Electric-command-loop, electric-describe-mode): Declare.
9783
9784 * doc-view.el (doc-view-current-converter-processes): Move before use.
9785
9786 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9787 Move MODE-set-explicitly definition before use.
9788
9789 * international/mule-diag.el (mule-diag):
9790 Don't use obsolete window-system-version.
9791
9792 * mail/feedmail.el (smtpmail): No need to load when compiling.
9793 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9794
9795 * mail/mail-utils.el (rfc822): No need to load when compiling.
9796 (rfc822-addresses): Autoload it.
9797 (mail-strip-quoted-names): Trivial simplification.
9798
9799 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9800 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9801
9802 * net/snmp-mode.el (tempo): Don't duplicate requires.
9803
9804 * progmodes/prolog.el (info): No need to load when compiling.
9805 (comint): Require before shell requires it.
9806 (Info-goto-node): Autoload it.
9807 (Info-follow-nearest-node): Declare.
9808 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9809
9810 * textmodes/artist.el (picture-mode-exit): Declare.
9811
9812 * textmodes/reftex-parse.el (reftex-parse-from-file):
9813 Trivial rewrite so the compiler can parse it better.
9814
b4da2cbb
LL
98152013-05-20 Leo Liu <sdl.web@gmail.com>
9816
9817 * progmodes/octave.el (octave-help-mode-map)
9818 (octave-help-mode-finish-hook): New variables.
9819 (octave-help-mode, octave-help-mode-finish): New functions.
9820 (octave-help): Use octave-help-mode.
9821
33c0f65b
GM
98222013-05-20 Glenn Morris <rgm@gnu.org>
9823
9824 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9825
1a0a0a8a
DG
98262013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9827
9828 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9829 start at point, so that expansion starting right after opening
9830 slash in a regexp is recognized.
9831 (ruby-syntax-before-regexp-re): New defvar, extracted from
9832 ruby-syntax-propertize-function. Since the value of this regexp
9833 is looked up at runtime now, we should be able to turn
9834 `ruby-syntax-methods-before-regexp' into a defcustom later.
9835 (ruby-syntax-propertize-function): Split regexp matching into two
9836 parts, for opening and closing slashes. That allows us to skip
9837 over string interpolations and support multiline regexps.
9838 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9839 for them, which calls `ruby-syntax-propertize-expansion'.
9840 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9841 call to `ruby-syntax-propertize-function'.
9842 (ruby-syntax-propertize-expansion): Extracted from
9843 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9844 (ruby-syntax-propertize-percent-literal): Leave point right after
9845 the percent symbol, so that the expression expansion rule can
9846 propertize the contents.
462388b6
DG
9847 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9848 heredoc openers.
9849 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9850
c1a6c0a4
JL
98512013-05-18 Juri Linkov <juri@jurta.org>
9852
9853 * man.el (Man-default-man-entry): Remove `-' from the end
9854 of the default value. (Bug#14400)
9855
8051fccd
GM
98562013-05-18 Glenn Morris <rgm@gnu.org>
9857
9858 * comint.el (comint-password-prompt-regexp):
9859 Allow "password for XXX" where XXX contains colons (eg https://...).
9860
5e80b74f
LL
98612013-05-18 Leo Liu <sdl.web@gmail.com>
9862
9863 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9864 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9865 (octave-source-directories): Don't check process.
9866 (octave-source-directories, octave-find-definition): Doc fix.
9867
521a54c5
GM
98682013-05-18 Glenn Morris <rgm@gnu.org>
9869
86a94b05
GM
9870 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9871 Remove backspace/delete bindings. (Bug#14392)
9872
521a54c5
GM
9873 * cus-dep.el (custom-make-dependencies): Sort the output.
9874 (custom-versions-load-alist): Convert comment to doc.
9875
42caeb89
LL
98762013-05-17 Leo Liu <sdl.web@gmail.com>
9877
9878 * newcomment.el (comment-search-backward): Stricter in finding
9879 comment start. (Bug#14303)
9880
9881 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9882 (octave-comment-start-skip): Properly anchored.
9883
e219dd97
LL
98842013-05-17 Leo Liu <sdl.web@gmail.com>
9885
fe1eb856
RS
9886 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9887 Clean up when turned off. (Bug#14395)
e219dd97
LL
9888 (smie--highlight-matching-block-overlay): No longer buffer-local.
9889 (smie-highlight-matching-block): Adjust.
9890
dc5dcb4b
PE
98912013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9892
9893 Doc string fix for "nanoseconds" (Bug#14406).
9894 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9895 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9896
1db165f0
JB
98972013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9898
9899 * calc/calc-units.el (math-extract-units): Preserve powers
9900 of units.
9901
c7a8fcac
LL
99022013-05-17 Leo Liu <sdl.web@gmail.com>
9903
9904 * subr.el (delete-consecutive-dups): New function.
9905 * ido.el (ido-set-matches-1): Use it.
9906 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9907 * ido.el (ido-remove-consecutive-dups): Remove.
9908
f678b18a
SM
99092013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9912 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9913 regexp-opt's `words'.
9914
ebfe68e8
LL
99152013-05-16 Leo Liu <sdl.web@gmail.com>
9916
9917 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9918 (smie--highlight-matching-block-overlay)
9919 (smie--highlight-matching-block-lastpos)
9920 (smie--highlight-matching-block-timer): New variables.
9921 (smie-highlight-matching-block): New function.
9922 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9923 (smie-setup): Conditionally enable smie-blink-matching-open.
9924
bc8bc17d
WS
99252013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9926
9927 Sync with upstream verilog-mode r840.
9928 * progmodes/verilog-mode.el (verilog-mode-version)
9929 (verilog-mode-release-date): Update.
9930 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9931 (verilog-sig-tieoff): Fix string error on
9932 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9933 (verilog-read-decls): Fix parameters confusing
9934 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9935
df065a0b
EZ
99362013-05-16 Eli Zaretskii <eliz@gnu.org>
9937
9938 * subr.el (reveal-filename): New function.
9939
9940 * loadup.el: Compute Emacs executable versions on MS-Windows,
9941 where executables have the .exe extension. Add a hard link
9942 emacs-XX.YY.ZZ.exe on MS-Windows.
9943
9944 * Makefile.in (XARGS_LIMIT): New variable.
9945 (custom-deps, finder-data, autoloads)
9946 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9947 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9948 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9949 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9950
2d4bf34b
LL
99512013-05-16 Leo Liu <sdl.web@gmail.com>
9952
9953 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9954 (octave-mode-menu, octave-mode-map): Remove its uses.
9955
6b9c2d85
RZ
99562013-05-16 Reto Zimmermann <reto@gnu.org>
9957
9958 Sync with upstream vhdl mode v3.34.2.
9959 * progmodes/vhdl-mode.el: Use `push' throughout.
9960 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9961 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9962 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9963 (vhdl-actual-generic-name): New option to derive actual generic name.
9964 (vhdl-port-paste-signals): Replace formal by actual generics.
9965 (vhdl-beautify): New name for old group vhdl-align. Update users.
9966 (vhdl-beautify-options): New option.
9967 (vhdl-last-input-event): New compat alias. Use throughout.
9968 (vhdl-goto-line): Replace user level function `goto-line'.
9969 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9970 vhdl-fix-statement-buffer.
9971 (vhdl-create-mode-menu): Add some entries.
9972 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9973 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9974 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9975 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9976 to force statements on one line.
9977 (vhdl-remove-trailing-spaces-region):
9978 New, split from vhdl-remove-trailing-spaces.
9979 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9980 Respect vhdl-beautify-options.
9981 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9982 (vhdl-update-sensitivity-list): Not add with index if exists without.
9983 Not include array index with signal. Ignore keywords in comments.
9984 (vhdl-get-visible-signals): Regexp tweaks.
9985 (vhdl-template-component-inst): Handle empty library.
9986 (vhdl-template-type): Add template for 'enum' type.
9987 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9988 Use vhdl-replace-string.
9989 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9990 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9991 (vhdl-speedbar-initialize): Update for above name change.
9992 (vhdl-compose-wire-components): Fix in handling of constants.
9993 (vhdl-error-regexp-emacs-alist): New variable.
9994 (vhdl-error-regexp-add-emacs): New function;
9995 adds support for new compile.el (Emacs 22+)
9996 (vhdl-generate-makefile-1): Change target order for single lib. units.
9997 Allow use of absolute file names.
9998
9df4ec5e
LL
99992013-05-16 Leo Liu <sdl.web@gmail.com>
10000
10001 * simple.el (prog-indent-sexp): Indent enclosing defun.
10002
f5ba00a6
GM
100032013-05-15 Glenn Morris <rgm@gnu.org>
10004
ed8be7ff
GM
10005 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10006 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10007 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10008 (whitespace-highlight): Move to whitespace group.
10009
10010 * comint.el (comint-source):
10011 * pcmpl-linux.el (pcmpl-linux):
10012 * shell.el (shell-faces):
10013 * eshell/esh-opt.el (eshell-opt):
10014 * international/ccl.el (ccl): Remove empty custom groups.
10015
10016 * completion.el (dynamic-completion-mode):
10017 * jit-lock.el (jit-lock-debug-mode):
10018 * minibuffer.el (completion-in-region-mode):
10019 * type-break.el (type-break-mode-line-message-mode)
10020 (type-break-query-mode):
10021 * emulation/tpu-edt.el (tpu-edt-mode):
10022 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10023 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10024 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10025
10026 * term/xterm.el (xterm): Change parent group to terminals.
10027
10028 * master.el (master): Remove empty custom group.
10029 (master-mode): Remove unused :group argument.
10030 * textmodes/refill.el (refill): Remove empty custom group.
10031 (refill-mode): Remove unused :group argument.
10032
10033 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10034
82a7c41b
GM
10035 * cus-dep.el: Provide a feature.
10036 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10037 Don't mistakenly ignore files whose basenames match a basename
10038 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10039 Add a fallback method for getting :group.
f5ba00a6 10040
6d65486d
JL
100412013-05-15 Juri Linkov <juri@jurta.org>
10042
da547b32
JL
10043 * isearch.el (isearch-char-by-name): Rename from
10044 `isearch-insert-char-by-name'. Doc fix.
10045 (isearch-forward): Mention `isearch-char-by-name' in
10046 the docstring. (Bug#13348)
10047
6d65486d
JL
10048 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10049 `exit-minibuffer' instead of
10050 `isearch-nonincremental-exit-minibuffer'.
10051 (isearch-edit-string): Remove mention of
10052 `isearch-nonincremental-exit-minibuffer' from docstring.
10053 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10054 (isearch-forward-exit-minibuffer)
10055 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10056
c9990474
SM
100572013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10058
6e911150
SM
10059 * loadup.el: Just use unversioned DOC.
10060
c9990474
SM
10061 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10062 literals as extending to EOB.
10063 (nxml-last-fontify-end): Remove unused variable.
10064 (nxml-after-change1): Use with-silent-modifications.
10065 (nxml-extend-after-change-region): Simplify.
10066 (nxml-extend-after-change-region1): Remove function.
10067 (nxml-after-change1): Don't adjust for dependent regions.
10068 (nxml-fontify-matcher): Simplify.
10069 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10070 (xmltok-add-dependent): Remove function.
10071 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10072 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10073 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10074 unclosed <[[, <?, comment, and other literals as extending to EOB.
10075 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10076 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10077 Remove functions.
10078 (rng-do-some-validation-1): Don't mark dependent regions.
10079 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10080 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10081 (nxml-clear-dependent-regions): Remove functions.
10082 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10083 (nxml-ensure-scan-up-to-date):
10084 Don't clear&mark dependent regions.
10085
e3772e98
LL
100862013-05-15 Leo Liu <sdl.web@gmail.com>
10087
c9990474
SM
10088 * progmodes/octave.el (octave-goto-function-definition):
10089 Improve and fix callers.
e3772e98 10090
5ac2eb34
SM
100912013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10092
c46c57b0
SM
10093 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10094 the setter (bug#14387).
10095
5ac2eb34
SM
10096 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10097 surrounding group (bug#14402).
10098
180ed218
JL
100992013-05-14 Juri Linkov <juri@jurta.org>
10100
10101 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10102 (Bug#14390)
10103
0ac0fecb
GM
101042013-05-14 Glenn Morris <rgm@gnu.org>
10105
10106 * progmodes/f90.el (f90-imenu-generic-expression):
10107 Fix typo in 2013-05-08 change. (Bug#14402)
10108
2e78e6a7
JPG
101092013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10110
5ac2eb34
SM
10111 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10112 Remove signals for which replies are never received.
2e78e6a7 10113
53267cca
JPG
101142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10115
10116 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10117 (gdb-handler-alist, gdb-handler-number): Remove variables.
10118 (gdb-handler-list): New variable.
10119 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10120 (gdb-pending-handler-p, gdb-handle-reply)
10121 (gdb-remove-all-pending-triggers): New functions.
10122 (gdb-discard-unordered-replies): New defcustom.
10123 (gdb-handler): New defstruct.
10124 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10125 instead of gdb-pending-triggers. Update docstring.
10126 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10127 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10128 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10129 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10130 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10131 (gdb-frame-handler): Pending triggers are now automatically managed.
10132 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10133 Remove argument.
10134 (gdb-input): Automatically handles pending triggers. Update docstring.
10135 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10136 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10137 Update comments.
10138 (gdb-done-or-error): Now use gdb-handle-reply.
10139
d04ce803
JPG
101402013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10141
10142 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10143 gdb-debug-log.
10144
0114073a
GM
101452013-05-14 Glenn Morris <rgm@gnu.org>
10146
10147 * subr.el (user-emacs-directory-warning): New option.
10148 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10149
4d25fd7e
LL
101502013-05-14 Leo Liu <sdl.web@gmail.com>
10151
10152 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10153 during redisplay.
10154 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10155 (octave-font-lock-texinfo-comment): Fix invalid search bound
10156 error: wrong side of point.
4d25fd7e 10157
27c8b6eb
GM
101582013-05-14 Glenn Morris <rgm@gnu.org>
10159
61aaeb01
GM
10160 * progmodes/flymake.el (flymake-xml-program): New option.
10161 (flymake-xml-init): Use it.
10162
5bf90bc5
GM
10163 * term/xterm.el: Provide a feature.
10164
10165 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10166
f4c7dfd2
GM
101672013-05-13 Glenn Morris <rgm@gnu.org>
10168
10169 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10170 Add compat aliases as a hack workaround. (Bug#14384)
10171
2aeb3a1d
LL
101722013-05-13 Leo Liu <sdl.web@gmail.com>
10173
b0e069c2
LL
10174 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10175 ###, and %!.
f5a9432f
LL
10176 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10177 C-M-q.
b0e069c2
LL
10178 (octave-comment-start-skip): Include %!.
10179 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10180
30ea8374
LL
101812013-05-12 Leo Liu <sdl.web@gmail.com>
10182
10183 * progmodes/octave.el (inferior-octave-startup): Store the value
10184 of __octave_srcdir__ for octave-source-directories.
10185 (inferior-octave-check-process): New function refactored out of
10186 inferior-octave-send-list-and-digest.
10187 (octave-source-directories)
10188 (octave-find-definition-filename-function): New variables.
10189 (octave-source-directories)
10190 (octave-find-definition-default-filename): New functions.
10191 (octave-find-definition): Improve to find functions implemented in C++.
10192
472a3834
GM
101932013-05-12 Glenn Morris <rgm@gnu.org>
10194
10195 * calendar/diary-lib.el (diary-outlook-format-1):
10196 Don't include dayname in the output. (Bug#14349)
10197
3191b52f
GM
101982013-05-11 Glenn Morris <rgm@gnu.org>
10199
0060ac73
GM
10200 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10201
3191b52f
GM
10202 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10203 Treat cc-provide like provide.
10204
e065ba74
KR
102052013-05-11 Kevin Ryde <user42@zip.com.au>
10206
10207 * cus-dep.el (custom-make-dependencies):
10208 Use generated-autoload-load-name for the sake of files such
10209 such cedet/semantic/bovine/c.el, where the base file name
10210 is not in load-path. (Bug#5277)
10211
36f84c37
GM
102122013-05-11 Glenn Morris <rgm@gnu.org>
10213
10214 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10215 Provide features.
10216
c8730c3a
LL
102172013-05-11 Leo Liu <sdl.web@gmail.com>
10218
10219 * progmodes/octave.el (octave-indent-comment): Improve.
10220 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10221 (octave-eldoc-function-signatures, octave-eldoc-function):
10222 New functions.
c8730c3a
LL
10223 (octave-mode, inferior-octave-mode): Add eldoc support.
10224
212e29f2
RS
102252013-05-11 Richard Stallman <rms@gnu.org>
10226
10227 * epa.el (epa-decrypt-file): Take output file name as argument
10228 and read it using `interactive'.
10229
083fe0d7
LL
102302013-05-11 Leo Liu <sdl.web@gmail.com>
10231
10232 * progmodes/octave.el (octave-beginning-of-line)
10233 (octave-end-of-line): Check before using up-list because it jumps
10234 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10235 (octave-indent-comment): New function.
10236 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10237 (octave-begin-keywords, octave-end-keywords)
10238 (octave-reserved-words, octave-smie-bnf-table)
10239 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10240
8582e4c4
GM
102412013-05-11 Glenn Morris <rgm@gnu.org>
10242
f20def1f
GM
10243 * faces.el (internal-face-x-get-resource):
10244 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10245 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10246 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10247 Fix declarations.
f20def1f 10248
445f95e2
GM
10249 * calc/calc-menu.el: Make it loadable in isolation.
10250
10251 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10252 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10253 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10254 (eudc-bbdb-query-internal): Require 'bbdb.
10255
99fb2756
GM
10256 * lpr.el (lpr-headers-switches):
10257 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10258
10259 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10260
0da7ad96
GM
10261 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10262
8582e4c4
GM
10263 * term.el (term-set-escape-char): Make it idempotent.
10264
f71c50d0
LL
102652013-05-10 Leo Liu <sdl.web@gmail.com>
10266
5ac2eb34
SM
10267 * progmodes/octave.el (inferior-octave-completion-table):
10268 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10269 completion due to bug#11906.
10270 (octave-beginning-of-defun): Re-write to be more general.
10271
d5837773
GM
102722013-05-10 Glenn Morris <rgm@gnu.org>
10273
10274 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10275
027c0f75
SM
102762013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10277
10278 * comint.el (comint-redirect-send-command-to-process): Use :around
10279 rather than :override for comint-redirect-filter.
10280 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10281 Call it instead of comint-redirect-original-filter-function (which
10282 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10283
4465bfb4
JD
102842013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10285
10286 * frame.el (display-monitor-attributes-list): Add NS case.
10287 (ns-display-monitor-attributes-list): Declare.
10288
2d809ffa 102892013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10290
10291 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10292
e54eeb9b
GM
102932013-05-09 Glenn Morris <rgm@gnu.org>
10294
56cd351d
GM
10295 * international/fontset.el (vertical-centering-font-regexp):
10296 Set standard-value.
10297
d84b6108
GM
10298 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10299
a931698a
GM
10300 * bookmark.el (bookmark-search-delay):
10301 * cus-start.el (vertical-centering-font-regexp):
10302 * ps-mule.el (ps-mule-font-info-database-default):
10303 * ps-print.el (ps-default-fg, ps-default-bg):
10304 * type-break.el (type-break-good-break-interval):
10305 * whitespace.el (whitespace-indentation-regexp)
10306 (whitespace-space-after-tab-regexp):
10307 * emacs-lisp/testcover.el (testcover-1value-functions)
10308 (testcover-noreturn-functions, testcover-progn-functions)
10309 (testcover-prog1-functions):
10310 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10311 * eshell/em-glob.el (eshell-glob-translate-alist):
10312 * play/tetris.el (tetris-tty-colors):
10313 * progmodes/cpp.el (cpp-face-default-list):
10314 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10315 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10316 (idlwave-help-browser-generic-args):
10317 * progmodes/make-mode.el (makefile-special-targets-list):
10318 * progmodes/python.el (python-shell-virtualenv-path):
10319 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10320 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10321 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10322 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10323 * textmodes/reftex-vars.el (reftex-format-label-function):
10324 * textmodes/remember.el (remember-diary-file): Fix custom types.
10325
e54eeb9b
GM
10326 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10327 Add :version.
10328
455851dd
LL
103292013-05-09 Leo Liu <sdl.web@gmail.com>
10330
10331 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10332 Restore file completion. (Bug#14300)
455851dd
LL
10333 (inferior-octave-startup): Fix incorrect highlighting for the
10334 first prompt.
10335
a9e4425b
SM
103362013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * progmodes/ruby-mode.el: First cut at SMIE support.
10339 (ruby-use-smie): New var.
10340 (ruby-smie-grammar): New constant.
10341 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10342 (ruby-smie--forward-token, ruby-smie--backward-token)
10343 (ruby-smie-rules): New functions.
10344 (ruby-mode-variables): Setup SMIE if applicable.
10345
060ca408
EZ
103462013-05-08 Eli Zaretskii <eliz@gnu.org>
10347
10348 * simple.el (line-move-visual): Signal beginning/end of buffer
10349 only if vertical-motion moved less than it was requested. Avoids
10350 silly incorrect error messages when there are display strings with
10351 multiple newlines at EOL.
10352
1d5963cc
SM
103532013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10356 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10357 (prolog-char-quote-workaround):
10358 * progmodes/cperl-mode.el (cperl-under-as-char):
10359 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10360 Mark as obsolete.
10361 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10362 their declaration.
10363 (vhdl-mode-syntax-table-init): Remove.
10364
c9990474
SM
10365 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10366 last change.
1d5963cc
SM
10367
10368 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10369 syntax for "_".
10370 (ld-script-font-lock-keywords):
10371 Change regexps to use things like \_< and \_>.
10372
10373 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10374 Change all regexps to use things like \_< and \_>.
10375
10376 * progmodes/autoconf.el (autoconf-definition-regexp)
10377 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10378 Handle a _ with symbol syntax.
10379 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10380
c9990474
SM
10381 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10382 Consolidate declaration.
1d5963cc
SM
10383 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10384 the declaration.
10385 (ada-create-syntax-table): Remove.
10386 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10387 already has the right syntax nowadays.
10388 (ada-goto-next-word): Don't change the syntax of "_".
10389
10390 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10391 with-wrapper-hook.
10392
72d3cfca
SS
103932013-05-08 Sam Steingold <sds@gnu.org>
10394
10395 * thingatpt.el (thing-at-point): Accept optional second argument
10396 NO-PROPERTIES to strip the text properties from the return value.
10397 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10398 to `thing-at-point' instead of stripping the properties ourselves.
10399 Also, when `thing-at-point' fails to find a url, prepend "http://"
10400 to the filename at point on the assumption that the user is
10401 pointing at something like gnu.org/gnu.
10402
5cb15713
JB
104032013-05-08 Juanma Barranquero <lekktu@gmail.com>
10404
10405 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10406 * faces.el (crm-separator):
10407 Silence byte-compiler.
10408
10409 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10410 (tool-bar-map): Remove unneeded defvars.
10411
ea78b95b
LL
104122013-05-08 Leo Liu <sdl.web@gmail.com>
10413
10414 Re-work a fix for bug#10994 based on Le Wang's patch.
10415 * ido.el (ido-remove-consecutive-dups): New helper.
10416 (ido-completing-read): Use it.
10417 (ido-chop): Revert fix for bug#10994.
10418
dc7466df
AS
104192013-05-08 Adam Spiers <emacs@adamspiers.org>
10420
10421 * cus-edit.el (custom-save-variables):
10422 Pretty-print long values. (Bug#14187)
10423
9ecf672a
GM
104242013-05-08 Glenn Morris <rgm@gnu.org>
10425
10426 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10427 (m4-mode-syntax-table): Init in the defvar.
10428 (m4-mode-abbrev-table): Let define-derived-mode define it.
10429
3f555be8
TT
104302013-05-08 Tom Tromey <tromey@redhat.com>
10431
10432 * progmodes/m4-mode.el (m4-mode-syntax-table):
10433 Do not treat "_" as word constituent. (Bug#14167)
10434
7cc8ae06
GM
104352013-05-07 Glenn Morris <rgm@gnu.org>
10436
4f58bc06
GM
10437 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10438 Remove explicit eshell-isearch-cancel-map.
10439
7cc8ae06
GM
10440 * progmodes/f90.el (f90-smart-end-names): New option.
10441 (f90-smart-end): Doc fix.
10442 (f90-end-block-optional-name): New constant.
10443 (f90-block-match): Respect f90-smart-end-names.
10444
ceb57e59
SM
104452013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10448 about implicit semi-colons (bug#14218).
10449
4e3f9230
YM
104502013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10451
10452 * frame.el (display-monitor-attributes-list)
10453 (frame-monitor-attributes): New functions.
10454
203a5572
LL
104552013-05-06 Leo Liu <sdl.web@gmail.com>
10456
10457 * progmodes/octave.el (octave-syntax-propertize-function): Change
10458 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10459 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10460 (octave-completion-at-point): Rename from
203a5572
LL
10461 octave-completion-at-point-function.
10462 (inferior-octave-directory-tracker): Robustify.
10463 (octave-text-functions): Remove and fix its uses. No such things
10464 any more.
10465
ee6cff99
SM
104662013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * emacs-lisp/trace.el (trace--display-buffer): New function.
10469 (trace-make-advice): Use it.
10470
32985194
JL
104712013-05-06 Juri Linkov <juri@jurta.org>
10472
10473 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10474 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10475 Doc fix.
10476 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10477 in the help string. (Bug#12985)
10478
a1c700de
KD
104792013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10480
10481 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10482
c67c0839
SM
104832013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10484
323885fd
SM
10485 * progmodes/perl-mode.el: Add support for here documents.
10486 (perl-syntax-propertize-function): Match here-doc markers.
10487 (perl-syntax-propertize-special-constructs): Find their end.
10488 (perl-imenu-generic-expression): Use [:alnum:].
10489
c67c0839
SM
10490 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10491 (advice--add-function): Refresh the advice if already present
10492 (bug#14317).
10493
d491e7a8
IA
104942013-05-06 Ivan Andrus <darthandrus@gmail.com>
10495
10496 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10497
ddf9925e
GM
104982013-05-06 Glenn Morris <rgm@gnu.org>
10499
7cc3af27
GM
10500 * w32-fns.el (w32-charset-info-alist): Declare.
10501
16e343d6
GM
10502 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10503 of its defcustom properties.
10504 (eshell-cmpl-initialize): No need to load pcomplete.
10505
7d889a47
GM
10506 * generic-x.el: No need to require comint when compiling.
10507
ddf9925e
GM
10508 * net/eudc-export.el: Make it loadable without bbdb.
10509 (top-level): Use require rather than load-library.
10510 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10511 (eudc-batch-export-records-to-bbdb)
10512 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10513 Require bbdb.
10514
1e2c18df
SM
105152013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10518 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10519 some tweaks, instead.
10520
02502a5f
LL
105212013-05-05 Leo Liu <sdl.web@gmail.com>
10522
10523 * progmodes/octave.el (octave-font-lock-keywords)
10524 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10525 (inferior-octave-send-list-and-digest): Improve error message.
10526 (octave-mode, inferior-octave-mode): Use setq-local.
10527 (octave-help): Set info-lookup-mode.
10528
0dc04f42
RS
105292013-05-05 Richard Stallman <rms@gnu.org>
10530
6c54491c
RS
10531 * vc/compare-w.el (compare-windows-whitespace):
10532 Treat no-break space as whitespace.
10533
0dc04f42
RS
10534 * mail/rmailsum.el (rmail-summary-rmail-update):
10535 Detect empty summary and don't change selected message.
10536 (rmail-summary-goto-msg): Likewise.
10537
df8f35df
RS
10538 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10539 Doc fixes, rename args.
10540
5356e1a3
AM
105412013-05-05 Alan Mackenzie <acm@muc.de>
10542
10543 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10544
d44014cb
JL
105452013-05-05 Juri Linkov <juri@jurta.org>
10546
10547 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10548 to not add the length of the summary segment to the return value.
10549 (Bug#14125)
10550
c129b51f
LL
105512013-05-05 Leo Liu <sdl.web@gmail.com>
10552
10553 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10554 (inferior-octave-output-filter): Remove.
10555 (octave-send-region, inferior-octave-startup): Fix callers.
10556 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10557 (octave-binary-file-extensions): New user variable.
10558 (octave-find-definition): Confirm if opening binary files.
10559 (octave-help-file): Use octave-find-definition to get the binary
10560 confirmation.
10561 (octave-help): Adjust for octave-help-file change.
10562
aa7dab97
SM
105632013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10564
10565 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10566 Merge the two entries that handle function definitions.
10567 (pascal--syntax-propertize): New const.
10568 (pascal-mode): Use it. Use setq-local.
10569
fd3a9a6b
GM
105702013-05-04 Glenn Morris <rgm@gnu.org>
10571
10572 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10573 (diary-from-outlook): Respect diary-from-outlook-function.
10574
30c7e542
SM
105752013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10578 Move the declaration from C.
10579 (read-minibuffer, eval-minibuffer): Move from C.
10580 (completion-setup-function): Avoid minibuffer-completion-contents.
10581
b54f978b
LL
105822013-05-03 Leo Liu <sdl.web@gmail.com>
10583
10584 * progmodes/octave.el (octave-font-lock-keywords): Do not
10585 dehighlight 'end' in comments or strings.
30c7e542
SM
10586 (octave-completing-read, octave-goto-function-definition):
10587 New helpers.
d4d0f9b3
LL
10588 (octave-help-buffer): New user variable.
10589 (octave-help-file, octave-help-function): New button types.
10590 (octave-help): New command and bind it to C-h ;.
10591 (octave-find-definition): New command and bind it to M-.
d74a1581 10592 (user-error): Alias to error if not defined.
b54f978b 10593
27135018
LL
105942013-05-02 Leo Liu <sdl.web@gmail.com>
10595
10596 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10597 for \. (bug#14332)
10598 (octave-font-lock-keywords): Include [ and {.
10599
0d634d3a
LL
106002013-05-02 Leo Liu <sdl.web@gmail.com>
10601
10602 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10603 (inferior-octave): Remove calling comint-mode and return the buffer.
10604 (inferior-octave-startup): Cosmetic changes.
10605
b4c8295e
LL
106062013-05-02 Leo Liu <sdl.web@gmail.com>
10607
30c7e542
SM
10608 * progmodes/octave.el (octave-syntax-propertize-function):
10609 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10610
f12ad6ec
GM
106112013-05-02 Glenn Morris <rgm@gnu.org>
10612
10613 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10614 * desktop.el (vc-dir-mode): Just autoload it here.
10615
30cac1e0
AM
106162013-05-02 Alan Mackenzie <acm@muc.de>
10617
10618 Eliminate variable c-standard-font-lock-fontify-region-function.
10619 * progmodes/cc-mode.el
10620 (c-standard-font-lock-fontify-region-function): Remove.
10621 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10622
d8ef28b1
LL
106232013-05-01 Leo Liu <sdl.web@gmail.com>
10624
2640d52e 10625 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10626 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10627 variables were removed from Octave in 2007.
d8ef28b1
LL
10628 (inferior-octave-startup): Fix uses.
10629 (comint-line-beginning-position): Remove compatibility code for
10630 emacs 21.
10631
ac63ec89
JL
106322013-05-01 Juri Linkov <juri@jurta.org>
10633
10634 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10635
9e9be37c
JL
106362013-05-01 Juri Linkov <juri@jurta.org>
10637
10638 * comint.el (comint-previous-matching-input): Don't print message
10639 "History item: %d" when `isearch-mode' is active.
10640 (comint-history-isearch-message): Print message "History item: %d"
10641 when `comint-input-ring-index' is not empty and this function is
10642 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10643
9b92c13b
LL
106442013-05-01 Leo Liu <sdl.web@gmail.com>
10645
10646 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10647 definitions. Use completion-at-point to insert keywords.
10648 (octave-abbrev-start): Remove.
10649 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10650
b12d33d7
LL
106512013-04-30 Leo Liu <sdl.web@gmail.com>
10652
10653 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10654 change.
10655
3d1c39fa
AM
106562013-04-30 Alan Mackenzie <acm@muc.de>
10657
10658 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10659 * progmodes/cc-engine.el (c-back-over-member-initializers):
10660 new function.
3d1c39fa
AM
10661 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10662 (most) member init lists.
10663
5147fc17
RS
106642013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10665
10666 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10667 variable.
10668
5b78d7fc
LL
106692013-04-30 Leo Liu <sdl.web@gmail.com>
10670
10671 * progmodes/octave.el (octave-variables): Remove. No builtin
10672 variables any more. All converted to functions.
10673 (octave-font-lock-keywords, octave-completion-at-point-function):
10674 Fix uses.
10675 (octave-font-lock-texinfo-comment): New user variable.
10676 (octave-texinfo-font-lock-keywords): New variable for texinfo
10677 comment block.
10678 (octave-function-comment-block): New face.
10679 (octave-font-lock-texinfo-comment): New function.
10680 (octave-mode): Font lock texinfo comment block.
10681
38d8527b
LL
106822013-04-29 Leo Liu <sdl.web@gmail.com>
10683
10684 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10685 indexing expression.
10686 (octave-continuation-string): Do not use \.
10687 (inferior-octave-complete-impossible): Remove.
10688 (inferior-octave-completion-table)
10689 (inferior-octave-completion-at-point): Remove its uses.
10690 (inferior-octave-startup): completion_matches was introduced to
10691 Octave in 1996 so safe to assume it.
10692 (octave-function-file-comment): Improve to follow how Octave does it.
10693 (octave-update-function-file-comment): Tweak.
10694
2ec12cb0
LL
106952013-04-29 Leo Liu <sdl.web@gmail.com>
10696
10697 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10698 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10699 (octave-function-file-comment): Fix typo.
10700 (octave-sync-function-file-names): Use read-char-choice.
10701
6eaed048
JB
107022013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10703
10704 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10705 to t for the less important warnings.
10706
3ffa2d4f
DH
107072013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10708
10709 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10710
685c9501
GM
107112013-04-27 Glenn Morris <rgm@gnu.org>
10712
10713 * vc/log-view.el (log-view-current-entry):
10714 Treat "---" separator lines as part of the following rev. (Bug#14169)
10715
0208ede7
JL
107162013-04-27 Juri Linkov <juri@jurta.org>
10717
10718 * subr.el (read-number): Doc fix about using it by interactive
10719 code letter `n'. (Bug#14254)
10720
5db9dace
JL
107212013-04-27 Juri Linkov <juri@jurta.org>
10722
10723 * desktop.el (desktop-auto-save-timeout): New option.
10724 (desktop-file-checksum): New variable.
10725 (desktop-save): Add optional arg `auto-save' and don't auto-save
10726 if nothing changed.
10727 (desktop-auto-save-timer): New variable.
10728 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10729 (after-init-hook): Call `desktop-auto-save-set-timer'.
10730 Suggested by Reuben Thomas <rrt@sc3d.org> in
10731 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10732
b7260dd4
LL
107332013-04-27 Leo Liu <sdl.web@gmail.com>
10734
10735 * progmodes/octave.el (octave-function-file-p)
10736 (octave-skip-comment-forward, octave-function-file-comment)
10737 (octave-update-function-file-comment): New functions.
10738 (octave-mode-map): Bind C-c ; to
10739 octave-update-function-file-comment.
10740 (octave-mode-menu): Add octave-update-function-file-comment.
10741 (octave-mode, inferior-octave-mode): Fix doc-string.
10742 (octave-insert-defun): Conform to Octave's coding convention.
10743 (Bug#14285)
10744
10745 * files.el (basic-save-buffer): Don't let errors in
10746 before-save-hook prevent saving buffer.
10747
c46da669
RW
107482013-04-20 Roland Winkler <winkler@gnu.org>
10749
10750 * faces.el (read-face-name): Use completing-read if arg multiple
10751 is nil.
10752
a81ee1eb
IL
107532013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10754
10755 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10756 displayed, move point to after the totals line.
10757 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10758 for the details.
10759
4fac34ce
SM
107602013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10763 Add current dir to the load-path.
10764 (package-generate-autoloads): Don't rely on
10765 autoload-ensure-default-file.
10766
f6bfc063
RT
107672013-04-26 Reuben Thomas <rrt@sc3d.org>
10768
d40ab5cf
BG
10769 * textmodes/remember.el (remember-store-in-files): Document that
10770 the file name format is passed to `format-time-string'.
f6bfc063 10771
e55d3b04
LL
107722013-04-26 Leo Liu <sdl.web@gmail.com>
10773
10774 * progmodes/octave.el (octave-sync-function-file-names): New function.
10775 (octave-mode): Use it in before-save-hook.
10776
e53052d3
SM
107772013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10778
140ef50c
SM
10779 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10780 (bug#14274).
10781
e53052d3
SM
10782 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10783 \n and comment, even if it's not an implicit ; (bug#14218).
10784
af80458d 107852013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10786
10787 * subr.el (read-number): Once more use `read' rather than
10788 `string-to-number', to trap non-numeric input. (Bug#14254)
10789
af80458d 107902013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10791
10792 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10793 Use `syntax-multiline' text property consistently instead of
8a621d53 10794 `font-lock-multiline'. (Bug#14237)
70203c2e 10795
e6ea1f6c
GM
107962013-04-26 Glenn Morris <rgm@gnu.org>
10797
10798 * emacs-lisp/shadow.el (list-load-path-shadows):
10799 No longer necessary to check for duplicate simple.el, since
10800 2012-07-07 change to init_lread to not include installation lisp
10801 directories in load-path when running uninstalled. (Bug#14270)
10802
070ccca4
LL
108032013-04-26 Leo Liu <sdl.web@gmail.com>
10804
10805 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10806 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10807 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10808 octave-in-string-or-comment-p.
10809 (octave-in-comment-p, octave-in-string-p)
10810 (octave-in-string-or-comment-p): Replace defsubst with defun.
10811
9d1c5fb6
PE
108122013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10813
10814 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10815
c034abda
BG
108162013-04-25 Bastien Guerry <bzg@gnu.org>
10817
10818 * textmodes/remember.el (remember-data-directory)
10819 (remember-directory-file-name-format): Fix custom types.
10820
584ea277
LL
108212013-04-25 Leo Liu <sdl.web@gmail.com>
10822
e53052d3
SM
10823 * progmodes/octave.el (octave-completion-at-point-function):
10824 Make use of inferior octave process.
584ea277
LL
10825 (octave-initialize-completions): Remove.
10826 (inferior-octave-completion-table): New function.
10827 (inferior-octave-completion-at-point): Use it.
10828 (octave-completion-alist): Remove.
10829
1693b06a
SM
108302013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10831
10832 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10833 (opascal-mode-syntax-table): New var.
10834 (opascal-literal-kind, opascal-is-literal-end)
10835 (opascal-literal-token-at): Rewrite.
10836 (opascal--literal-start-re, opascal-font-lock-keywords)
10837 (opascal--syntax-propertize): New constants.
10838 (opascal-font-lock-defaults): Adjust.
10839 (opascal-mode): Use them. Set comment-<foo> variables as well.
10840 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10841 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10842 (delphi-other-face, opascal-other-face): Remove face variables.
10843 (opascal-save-state): Remove macro.
10844 (opascal-fontifying-progress-step): Remove constant.
10845 (opascal--ignore-changes): Remove var.
10846 (opascal-set-token-property, opascal-parse-next-literal)
10847 (opascal-is-stable-literal, opascal-complete-literal)
10848 (opascal-is-literal-start, opascal-face-of)
10849 (opascal-parse-region, opascal-parse-region-until-stable)
10850 (opascal-fontify-region, opascal-after-change)
10851 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10852 (opascal-debug-parse-region, opascal-debug-parse-window)
10853 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10854 (opascal-debug-fontify-buffer): Remove.
10855 (opascal-debug-mode-map): Adjust accordingly.
10856
be64c05d
LL
108572013-04-25 Leo Liu <sdl.web@gmail.com>
10858
10859 Merge octave-mod.el and octave-inf.el into octave.el with some
10860 cleanups.
10861 * progmodes/octave.el: New file renamed from octave-mod.el.
10862 * progmodes/octave-inf.el: Merged into octave.el.
10863 * progmodes/octave-mod.el: Renamed to octave.el.
10864
d79d37bd
TH
108652013-04-25 Tassilo Horn <tsdh@gnu.org>
10866
10867 * textmodes/reftex-vars.el
10868 (reftex-label-ignored-macros-and-environments): New defcustom.
10869
10870 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10871
ced3fc5d
SM
108722013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10873
10874 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10875 (smie-indent-keyword): Improve the check to ensure that the next
10876 comment is really on the same line.
10877 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10878
10879 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10880 semi-colons if the line is not otherwise empty (bug#14218).
10881
1c141dad
GM
108822013-04-25 Glenn Morris <rgm@gnu.org>
10883
10884 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10885
5058062a
SM
108862013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * progmodes/opascal.el (opascal-set-token-property): Rename from
10889 opascal-set-text-properties and only set `token' (bug#14134).
10890 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10891 (opascal-literal-text-properties): Remove.
10892 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10893 Adjust callers.
10894
5db9dace 108952013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10896
10897 * textmodes/remember.el (remember-handler-functions): Add an
10898 option for a new handler `remember-store-in-files'.
10899 (remember-data-directory, remember-directory-file-name-format):
10900 New options.
10901 (remember-store-in-files): New function to store remember notes
10902 as separate files within a directory.
10903
4391916c
MH
109042013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10905
10906 * progmodes/compile.el (compilation-next-error-function):
10907 Pass "formats" to compilation-find-file (bug#11777).
10908
bb7cdf58
GM
109092013-04-24 Glenn Morris <rgm@gnu.org>
10910
3b8fe752 10911 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10912 * vc/vc-hg.el (vc-hg-print-log):
10913 * vc/vc-svn.el (vc-svn-print-log):
10914 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10915
bb7cdf58
GM
10916 * vc/vc-bzr.el (vc-bzr-print-log):
10917 * vc/vc-cvs.el (vc-cvs-print-log):
10918 * vc/vc-git.el (vc-git-print-log):
10919 * vc/vc-hg.el (vc-hg-print-log):
10920 * vc/vc-mtn.el (vc-mtn-print-log):
10921 * vc/vc-rcs.el (vc-rcs-print-log):
10922 * vc/vc-sccs.el (vc-sccs-print-log):
10923 * vc/vc-svn.el (vc-svn-print-log):
10924 * vc/vc.el (vc-print-log-internal): Doc fixes.
10925
b46a056e
GM
109262013-04-23 Glenn Morris <rgm@gnu.org>
10927
10928 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10929 Remove venerable code attempting to avoid substitute-command-keys.
10930
0aecf718
TH
109312013-04-23 Tassilo Horn <tsdh@gnu.org>
10932
4391916c
MH
10933 * textmodes/reftex-vars.el (reftex-label-regexps):
10934 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10935
117f94cf
SM
109362013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10937
4391916c 10938 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10939 Use lexical-binding.
10940 (jit-lock-force-redisplay): Use markers, check buffer's continued
10941 existence and beware narrowed buffers.
10942 (jit-lock-fontify-now): Adjust call accordingly.
10943
1d829c64
SM
109442013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10945
10946 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10947 to avoid misleading the user.
10948
72d548a9
LL
109492013-04-22 Leo Liu <sdl.web@gmail.com>
10950
10951 * info-look.el: Prefer latex2e.info. (Bug#14240)
10952
d0853629
MA
109532013-04-22 Michael Albinus <michael.albinus@gmx.de>
10954
10955 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10956
10957 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10958 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10959 (tramp-set-completion-function, tramp-parse-putty):
10960 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10961 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10962 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10963 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10964 (tramp-call-local-coding-command): Use `tramp-call-process'
10965 instead of `tramp-compat-call-process'.
10966
10967 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10968 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10969 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10970 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10971 (tramp-maybe-send-script): Check for Perl binary.
10972 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10973
38cc0210
DU
109742013-04-22 Daiki Ueno <ueno@gnu.org>
10975
10976 * epg.el (epg-context-pinentry-mode): New function.
10977 (epg-context-set-pinentry-mode): New function.
10978 (epg--start): Pass --pinentry-mode option to gpg command.
10979
cc641ee1
XF
109802013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10981
02d844b5 10982 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10983 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10984 `completion-at-point'. (Bug#13774)
5d4e5c31 10985
cc641ee1
XF
10986 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10987 default key binding for `describe-distribution' has been moved to
10988 `C-h C-o'. (Bug#13970)
10989
1b42ee43
GM
109902013-04-21 Glenn Morris <rgm@gnu.org>
10991
10992 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10993 Add doc strings.
10994 (vc-print-log): Clarify interactive prompt.
10995
a6d63d97
GM
109962013-04-20 Glenn Morris <rgm@gnu.org>
10997
10998 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10999 No longer include timestamp etc information.
11000
d7f5c16f
RW
110012013-04-20 Roland Winkler <winkler@gnu.org>
11002
11003 * faces.el (read-face-name): Bug fix, return just one face if arg
11004 multiple is nil. (Bug#14209)
11005
bcd7a0a4
SM
110062013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11007
11008 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11009 (remove-function): Autoload.
11010
11011 * comint.el (comint-redirect-original-filter-function): Remove.
11012 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11013 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11014 (vc-cvs-annotate-command):
bcd7a0a4
SM
11015 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11016 * progmodes/prolog.el (prolog-consult-compile):
11017 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11018 Use add/remove-function instead.
11019 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11020 (gud-tooltip-process-output, gud-tooltip-tips):
11021 Use add/remove-function instead.
11022 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11023 (scheme-interaction-mode, exit-scheme-interaction-mode):
11024 Use add/remove-function instead.
11025
11026 * vc/vc-dispatcher.el: Use lexical-binding.
11027 (vc--process-sentinel): Rename from vc-process-sentinel.
11028 Change last arg to be the code to run. Don't use vc-previous-sentinel
11029 and vc-sentinel-commands any more.
11030 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11031 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11032
e36b2d20 110332013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11034
bcd7a0a4 11035 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11036 Handle function names with a single character. (Bug#14111)
4d3268ba 11037
781b4af6 110382013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11039
11040 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11041 for subroutines defined in an eval (bug#14182).
11042
7d688336
TV
110432013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11044
11045 * bookmark.el (bookmark-completing-read): Improve handling of empty
11046 string (bug#14176).
11047
31dcede0
SM
110482013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11051
adc31213
FEG
110522013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11053
11054 New faster Imenu implementation (bug#14058).
11055 * progmodes/python.el:
11056 (python-imenu-prev-index-position):
11057 (python-imenu-format-item-label-function)
11058 (python-imenu-format-parent-item-label-function)
11059 (python-imenu-format-parent-item-jump-label-function):
11060 New vars.
11061 (python-imenu-format-item-label)
11062 (python-imenu-format-parent-item-label)
11063 (python-imenu-format-parent-item-jump-label)
11064 (python-imenu--put-parent, python-imenu--build-tree)
11065 (python-imenu-create-index, python-imenu-create-flat-index)
11066 (python-util-popn): New functions.
11067 (python-mode): Set imenu-create-index-function to
11068 python-imenu-create-index.
11069
cdca8255
SM
110702013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11071
11072 * winner.el (winner-active-region): Use region-active-p, activate-mark
11073 and deactivate-mark (bug#14225).
11074
11075 * simple.el (deactivate-mark): Don't inline it.
11076
beb42340
MA
110772013-04-18 Michael Albinus <michael.albinus@gmx.de>
11078
11079 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11080
fc7f4d7e
TH
110812013-04-18 Tassilo Horn <tsdh@gnu.org>
11082
11083 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11084 file extensions from the archive-mode entry in order to prefer
11085 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11086
29f47822
LL
110872013-04-18 Leo Liu <sdl.web@gmail.com>
11088
11089 * bindings.el (help-event-list): Add ?\?.
11090
d36ed1c8
SM
110912013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11092
11093 * subr.el (with-wrapper-hook): Declare obsolete.
11094 * simple.el (filter-buffer-substring-function): New hook.
11095 (filter-buffer-substring): Use it.
11096 (filter-buffer-substring-functions): Mark obsolete.
11097 * minibuffer.el (completion-in-region-function): New hook.
11098 (completion-in-region): Use it.
11099 (completion-in-region-functions): Mark obsolete.
11100 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11101 * abbrev.el (abbrev-expand-function): New hook.
11102 (expand-abbrev): Use it.
11103 (abbrev-expand-functions): Mark obsolete.
11104 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11105 and :filter-return.
11106
04754d36
FEG
111072013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11108
11109 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11110 and do not care about match data.
11111
dd8791e9
SM
111122013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11113
11114 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11115 completion tables when completing error conditions and
11116 `declare' arguments.
11117 (lisp-complete-symbol, field-complete): Mark as obsolete.
11118 (check-parens): Unmatched parens are user errors.
11119 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11120
ffe54a13
AM
111212013-04-17 Michal Nazarewicz <mina86@mina86.com>
11122
dd8791e9
SM
11123 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11124 command changed buffer (ie. `flyspell-pre-buffer' is not current
11125 buffer), which prevents making decisions based on invalid value of
11126 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11127 cause an error when `flyspell-pre-point' was nil after switching
11128 buffers.
11129 (flyspell-post-command-hook): No longer needs to change buffers when
11130 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11131
ec7e39f2
AM
111322013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11133
11134 * textmodes/ispell.el (ispell-add-per-file-word-list):
11135 Fix `flyspell-correct-word-before-point' error when accepting
11136 words and `coment-padding' is an integer by using
11137 `comment-normalize-vars' (Bug #14214).
11138
083850a6
FEG
111392013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11140
11141 New defun movement commands.
11142 * progmodes/python.el (python-nav--syntactically)
11143 (python-nav--forward-defun, python-nav-backward-defun)
11144 (python-nav-forward-defun): New functions.
11145
619ed6e1
FEG
111462013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11147
11148 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11149 (python-syntax-context): Use named compiler-macro for backwards
11150 compatibility with Emacs 24.x.
11151
7a1beb6c
LL
111522013-04-17 Leo Liu <sdl.web@gmail.com>
11153
11154 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11155 octave-hide-process-buffer.
11156
2d3fa3e5
SM
111572013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11160 (bug#14216).
11161
7ce5be54
JPG
111622013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11163
11164 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11165 Fix adjustment of offset when receiving incomplete responses from GDB
11166 (bug#14129).
11167
351edece
SM
111682013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11169
11170 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11171 python-mode-abbrev-table.
11172 (python-skeleton-define): Adjust accordingly.
11173 (python-mode-abbrev-table): New table that inherits from it so that
11174 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11175
11176 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11177 (abbrev-symbol): Use it.
11178 (abbrev--before-point): Use it since we already handle inheritance.
11179
613f9481
LL
111802013-04-16 Leo Liu <sdl.web@gmail.com>
11181
11182 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11183 binding to info-lookup-symbol.
11184
51646b62
JB
111852013-04-16 Juanma Barranquero <lekktu@gmail.com>
11186
11187 * minibuffer.el (completion--twq-all):
11188 * term/ns-win.el (ns-initialize-window-system):
11189 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11190
efb3f01d
SM
111912013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11192
36c0a301
SM
11193 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11194 global bindings.
11195
efb3f01d
SM
11196 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11197
fb549d64
DG
111982013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11199
11200 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11201 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11202 to nil.
11203 (ruby-end-of-defun): Remove the unused arg, change the docstring
11204 to reflect that this function is only used as the value of
11205 `end-of-defun-function'.
11206 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11207 to reflect an earlier change that beginning/end-of-defun functions
11208 jump between methods in a class definition, as well as top-level
11209 functions.
11210
21e8fe2f
SM
112112013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11212
11213 * minibuffer.el (minibuffer-complete): Don't just scroll
11214 a *Completions* that's been iconified.
11215 (minibuffer-force-complete): Make sure repetitions do cycle when going
11216 through completion-in-region -> minibuffer-complete.
11217
20e527d0
AM
112182013-04-15 Alan Mackenzie <acm@muc.de>
11219
11220 Correct the placement of c-cpp-delimiters when there're #s not at
11221 col 0.
11222
11223 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11224 place a submatch around the #.
21e8fe2f
SM
11225 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11226 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11227 on the #, not BOL.
11228
dabefae5
SM
112292013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11230
11231 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11232 (advice--member-p): New arg `name'.
11233 (advice--add-function, advice-member-p): Use it (bug#14202).
11234
85c9ab64
AM
112352013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11236
11237 Reformulate java imenu-generic-expression.
11238 The old expression contained ill formed regexps.
11239
11240 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11241 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11242 (cc-imenu-java-method-arg-regexp): New defconsts.
11243 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11244 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11245 handling of spaces in the regexp.
11246
0f821d99
AM
112472013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11248
11249 * textmodes/ispell.el (ispell-command-loop): Remove
11250 flyspell highlight of a word when ispell accepts it (bug #14178).
11251
eb922adf
MA
112522013-04-15 Michael Albinus <michael.albinus@gmx.de>
11253
11254 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11255 uses code from the previous `ange-ftp-run-real-handler'.
11256 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11257 only in case that function exist. This is needed for proper
11258 unloading of Tramp.
11259
4d9a0979
TH
112602013-04-15 Tassilo Horn <tsdh@gnu.org>
11261
11262 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11263
11264 * textmodes/reftex.el (reftex-compile-variables): Use it.
11265
a829b0dc
SM
112662013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11267
91e8293c
SM
11268 * files.el (normal-mode): Only use default major-mode if no other mode
11269 was specified.
11270
830aed4d
SM
11271 * emacs-lisp/trace.el (trace-values): New function.
11272
a829b0dc
SM
11273 * files.el: Allow : in local variables (bug#14089).
11274 (hack-local-variable-regexp): New var.
11275 (hack-local-variables-prop-line, hack-local-variables): Use it.
11276
7ae9f0fb
RW
112772013-04-13 Roland Winkler <winkler@gnu.org>
11278
11279 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11280 data before it gets modified by bibtex-beginning-of-entry.
11281
6646e848
RW
112822013-04-13 Roland Winkler <winkler@gnu.org>
11283
11284 * textmodes/bibtex.el (bibtex-url): Doc fix.
11285
112862013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11287
11288 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11289 does not visit a BibTeX file, exclude it from the list of buffers
11290 returned by bibtex-initialize.
11291
0aa3616e
SB
112922013-04-13 Stephen Berman <stephen.berman@gmx.net>
11293
11294 * window.el (split-window): Remove interactive form, since as a
11295 command this function is a special case of split-window-below.
11296 Correct doc string.
11297
011cddd6
RW
112982013-04-12 Roland Winkler <winkler@gnu.org>
11299
11300 * faces.el (read-face-name): Do not override value of arg default.
11301 Allow single faces and strings as default values. Remove those
11302 elements from return value that are not faces.
11303 (describe-face): Simplify.
11304 (face-at-point): New optional args thing and multiple so that this
11305 function can provide the same functionality previously provided by
11306 read-face-name.
11307 (make-face-bold, make-face-unbold, make-face-italic)
11308 (make-face-unitalic, make-face-bold-italic, invert-face)
11309 (modify-face, read-face-and-attribute): Use face-at-point.
11310
11311 * cus-edit.el (customize-face, customize-face-other-window)
11312 * cus-theme.el (custom-theme-add-face)
11313 * face-remap.el (buffer-face-set)
11314 * facemenu.el (facemenu-set-face): Use face-at-point.
11315
f24e0036
MA
113162013-04-12 Michael Albinus <michael.albinus@gmx.de>
11317
11318 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11319
da3cda2d
TH
113202013-04-10 Tassilo Horn <tsdh@gnu.org>
11321
11322 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11323 off leading { and trailing } from field values.
11324
15e54145
SM
113252013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11326
78ce603d
SM
11327 * emacs-lisp/timer.el (timer--check): New function.
11328 (timer--time, timer-set-function, timer-event-handler): Use it.
11329 (timer-set-idle-time): Simplify.
11330 (timer--activate): CSE.
11331 (timer-event-handler): Give more info in error message.
11332 (internal-timer-start-idle): New function, moved from C.
11333
15e54145
SM
11334 * mpc.el (mpc-proc): Add `restart' argument.
11335 (mpc-proc-cmd): Use it.
11336 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11337 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11338 less often.
11339
7144c627
MY
113402013-04-10 Masatake YAMATO <yamato@redhat.com>
11341
11342 * progmodes/sh-script.el: Implement `sh-mode' own
11343 `add-log-current-defun-function' (bug#14112).
11344 (sh-current-defun-name): New function.
11345 (sh-mode): Use the function.
11346
b39792eb
BG
113472013-04-09 Bastien Guerry <bzg@gnu.org>
11348
11349 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11350
8acdeb71
SM
113512013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11352
6fcdab68
SM
11353 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11354
8acdeb71
SM
11355 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11356 timer (bug#14156).
11357
e3e7b504
NF
113582013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11359
11360 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11361 declaration.
11362
201bb296
LL
113632013-04-07 Leo Liu <sdl.web@gmail.com>
11364
11365 * pcmpl-x.el: New file.
11366
ebb19708
DA
113672013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11368
11369 Do not set x-display-name until X connection is established.
11370 This is needed to prevent from weird situation described at
11371 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11372 * frame.el (make-frame): Set x-display-name after call to
11373 window system initialization function, not before.
11374 * term/x-win.el (x-initialize-window-system): Add optional
11375 display argument and use it.
11376 * term/w32-win.el (w32-initialize-window-system):
11377 * term/ns-win.el (ns-initialize-window-system):
11378 * term/pc-win.el (msdos-initialize-window-system):
11379 Add compatible optional display argument.
11380
33bb237a
EZ
113812013-04-06 Eli Zaretskii <eliz@gnu.org>
11382
11383 * files.el (normal-backup-enable-predicate): On MS-Windows and
11384 MS-DOS compare truenames of temporary-file-directory and of the
11385 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11386 don't fail comparison by compare-strings. Also, compare file
11387 names case-insensitively on MS-Windows and MS-DOS.
11388
134abf1f
SM
113892013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11392 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11393
d695cb94
DG
113942013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11395
e3e7b504
NF
11396 * whitespace.el (whitespace-color-on, whitespace-color-off):
11397 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11398
f4ad7ea1 113992013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11400
11401 * ispell.el (ispell-set-spellchecker-params):
11402 Really set `ispell-args' for all equivs.
11403
632556e4
SM
114042013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11405
11406 * ido.el (ido-completions): Use extra elements of ido-decorations
11407 (bug#14143).
11408 (ido-decorations): Update docstring.
11409
2a417372
MA
114102013-04-05 Michael Albinus <michael.albinus@gmx.de>
11411
11412 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11413 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11414 nil during initialization, in order not to miss changes since the
11415 file was opened. (Bug#14140)
11416
fc164b0c
LL
114172013-04-05 Leo Liu <sdl.web@gmail.com>
11418
11419 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11420
0ccecc08
JB
114212013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11422
11423 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11424
51af1aa2
GM
114252013-04-04 Glenn Morris <rgm@gnu.org>
11426
11427 * electric.el (electric-pair-inhibit-predicate): Add :version.
11428
b208ebc6
SM
114292013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11430
11431 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11432 when a package is required several times (bug#14082).
11433
f3d3eaf0
RW
114342013-04-04 Roland Winkler <winkler@gnu.org>
11435
11436 * faces.el (read-face-name): Behave as promised by the docstring.
11437 Assume that arg default is a list of faces.
11438 (describe-face): Call read-face-name with list of default faces.
11439
2575da50
TV
114402013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11441
11442 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11443 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11444 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11445 the header.
11446 (bookmark-exit-hook-internal): Save even if list is empty.
11447
397703b4
YH
114482013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11449
11450 * emacs-lisp/package.el (package-pinned-packages): New var.
11451 (package--add-to-archive-contents): Obey it (bug#14118).
11452
691e26ae
AM
114532013-04-03 Alan Mackenzie <acm@muc.de>
11454
8a621d53
JB
11455 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11456 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11457
11458 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11459 parameter `not-in-delimiter'. Handle being inside comment opener.
11460 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11461 character in case we're typing a '*' after a '/'.
11462 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11463 instead by passing the parameter to c-state-pp-to-literal.
11464
11465 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11466 for elt. 7 of a parse state.
11467
4b725a70
PE
114682013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11469
11470 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11471 * international/latin1-disp.el, international/mule-util.el:
11472 * language/cyril-util.el, language/european.el, language/ind-util.el:
11473 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11474 * language/tibetan.el, language/viet-util.el:
11475 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11476
15c579f0
SM
114772013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11480 (electric-pair-post-self-insert-function): Use it.
11481 (electric-pair-default-inhibit): New function, extracted from
11482 electric-pair-post-self-insert-function.
11483
a77e2924
RW
114842013-03-31 Roland Winkler <winkler@gnu.org>
11485
11486 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11487
2bd8a4a8
SM
114882013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11489
11490 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11491
8d3655be 114922013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11493
11494 Un-indent after "pass" and "return" statements (Bug#13888)
11495 * progmodes/python.el (python-indent-block-enders): New var.
11496 (python-indent-calculate-indentation): Use it.
11497
8d3655be 114982013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11499
11500 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11501 defun. Defining it as defalias could introduce too eager
11502 byte-compiler optimization. (Bug#14030)
11503
8d3655be 115042013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11505
11506 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11507
0b1619da
LL
115082013-03-30 Leo Liu <sdl.web@gmail.com>
11509
11510 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11511 (kmacro-execute-from-register): Pass the keyboard macro to
11512 kmacro-call-macro or repeating won't work correctly.
11513
0b938190
TZ
115142013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11515
11516 * progmodes/subword.el: Back to using `forward-symbol'.
11517
11518 * subr.el (forward-whitespace, forward-symbol)
11519 (forward-same-syntax): Move from thingatpt.el.
11520
35710234
LL
115212013-03-29 Leo Liu <sdl.web@gmail.com>
11522
11523 * kmacro.el (kmacro-to-register): New command.
11524 (kmacro-execute-from-register): New function.
11525 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11526
efc0bb73
SM
115272013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11528
11529 * mpc.el: Use defvar-local and setq-local.
11530 (mpc--proc-connect): Connection failures are not bugs.
11531 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11532 (mpc-volume-map): Bind to the up-events.
11533
75a2f981
TZ
115342013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11535
11536 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11537 instead of `forward-symbol'.
11538
17c781d1
SM
115392013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11542 (edebug--recursive-edit): Use it.
11543 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11544 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11545
f67bfbcf
LL
115462013-03-28 Leo Liu <sdl.web@gmail.com>
11547
11548 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11549
b59f639d
EZ
115502013-03-27 Eli Zaretskii <eliz@gnu.org>
11551
11552 * facemenu.el (list-colors-callback): New defvar.
11553 (list-colors-redisplay): New function.
11554 (list-colors-display): Install list-colors-redisplay as the
11555 revert-buffer-function. (Bug#14063)
11556
f557c1b1
SM
115572013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11558
b1da2957
SM
11559 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11560 and suffixes don't overlap (bug#14061).
11561
f557c1b1
SM
11562 * case-table.el: Use lexical-binding.
11563 (case-table-get-table): New function.
11564 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11565
002668e1
TZ
115662013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11567
11568 * progmodes/subword.el: Add `superword-mode' to do word motion
11569 over symbol_words (parallels and leverages `subword-mode' which
11570 does word motion inside MixedCaseWords).
11571
73572c72
AG
115722013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11573
78b8f320 11574 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11575 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11576
69b2c07e
SM
115772013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11578
11579 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11580 Change return value to be a sexp. Delay `get-buffer' to after
11581 restoring the desktop (bug#13951).
11582
08bb5ee2
LL
115832013-03-26 Leo Liu <sdl.web@gmail.com>
11584
11585 * register.el: Move semantic tag handling back to
11586 cedet/semantic/senator.el. (Bug#14052)
11587
8d4c974e
SM
115882013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11591 into the prompt either (bug#13963).
11592
b234d92c
SM
115932013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11594
11595 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11596 part of "(error-foo)".
11597
ddfa3cb4
JL
115982013-03-24 Juri Linkov <juri@jurta.org>
11599
11600 * replace.el (list-matching-lines-prefix-face): New defcustom.
11601 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11602 `occur-engine' if `face-differs-from-default-p' returns t.
11603 (occur-engine): Add `,' inside backquote construct to evaluate
11604 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11605 Pass `prefix-face' to the functions `occur-context-lines' and
11606 `occur-engine-add-prefix'.
11607 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11608 `prefix-face' and propertize the prefix with `prefix-face'.
11609 (Bug#14017)
11610
7b0e2f85
LL
116112013-03-24 Leo Liu <sdl.web@gmail.com>
11612
11613 * nxml/rng-valid.el (rng-validate-while-idle)
11614 (rng-validate-quick-while-idle): Guard against deleted buffer.
11615 (Bug#13999)
11616
11617 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11618 is the last entry in kill-buffer-hook.
11619
11620 * files.el (kill-buffer-hook): Doc fix.
11621
b3082f49
DG
116222013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11623
b234d92c
SM
11624 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11625 Make it safe-local.
bde73d27 11626
b3082f49
DG
11627 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11628
a320a2db
LL
116292013-03-23 Leo Liu <sdl.web@gmail.com>
11630
7e74b0fb
LL
11631 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11632 Remove.
11633
11634 * nxml/rng-valid.el (rng-validate-mode)
11635 (rng-after-change-function, rng-do-some-validation):
11636 * nxml/rng-maint.el (rng-validate-buffer):
11637 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11638 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11639 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11640 (nxml-extend-after-change-region): Use with-silent-modifications.
11641
a320a2db
LL
11642 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11643 timer-idle-list.
11644
11645 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11646 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11647 timer-idle-list. (Bug#13999)
11648
e38e6780
JL
116492013-03-23 Juri Linkov <juri@jurta.org>
11650
11651 * info.el (info-index-match): New face.
11652 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11653 main pattern and add text properties with the new face to matches
11654 in index entries relative to the beginning of the index entry.
11655 (Bug#14015)
11656
e8cc7880
DE
116572013-03-21 Eric Ludlam <zappo@gnu.org>
11658
11659 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11660 Inhibit read only while inserting objects.
11661
9bb0d822
TZ
116622013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11663
11664 * progmodes/cfengine.el: Update docs to mention
11665 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11666 symbol motion. Remove "_" from the word syntax.
11667
aa703640
TZ
116682013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11669
11670 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11671 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11672
afff09d0
JL
116732013-03-20 Juri Linkov <juri@jurta.org>
11674
11675 * info.el (Info-next-reference-or-link)
11676 (Info-prev-reference-or-link): New functions.
11677 (Info-next-reference, Info-prev-reference): Use them.
11678 (Info-try-follow-nearest-node): Handle footnote navigation.
11679 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11680
9a1ff164
SM
116812013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11682
11683 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11684 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11685
2667d15d
PE
116862013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11687
11688 Suppress unnecessary non-ASCII chatter during build process.
11689 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11690 (batch-skkdic-convert): Suppress most of the chatter.
11691 It's not needed so much now that machines are faster,
11692 and its non-ASCII component was confusing; see Dmitry Gutov in
11693 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11694
438b0579
LL
116952013-03-20 Leo Liu <sdl.web@gmail.com>
11696
11697 * ido.el (ido-chop): Fix bug#10994.
11698
c128ab07
DG
116992013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11700
11701 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11702 Remove vars.
9a1ff164
SM
11703 (whitespace-color-on, whitespace-color-off):
11704 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11705
0e6008c5
SM
117062013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11707
11708 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11709 remapping in mode-line.
11710 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11711
627b52b0
DG
117122013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11713
11714 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11715 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11716 (whitespace-font-lock-keywords): Change description.
11717 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11718 the constructed keywords instead.
11719 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11720
50c3a20b
LL
117212013-03-19 Leo Liu <sdl.web@gmail.com>
11722
11723 * progmodes/compile.el (compilation-display-error): New command.
11724 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11725 C-o. (Bug#13992)
11726
2aa2157b
PE
117272013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11728
11729 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11730
e477dbfa
JD
117312013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11732
11733 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11734
64ab82d1
MA
117352013-03-18 Michael Albinus <michael.albinus@gmx.de>
11736
11737 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11738
11739 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11740 * net/tramp-gvfs.el (top):
11741 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11742 (tramp-handle-shell-command): Use it.
11743 (tramp-dissect-file-name): Raise an error when hostname is a
11744 method name, and neither method nor user is specified.
11745
11746 * net/trampver.el: Update release number.
11747
33cef733
LL
117482013-03-18 Leo Liu <sdl.web@gmail.com>
11749
11750 Make sure eldoc can be turned off properly.
11751 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11752 eldoc-mode.
11753 (eldoc-display-message-p): Revert last change.
11754 (eldoc-display-message-no-interference-p)
11755 (eldoc-print-current-symbol-info): Tweak.
11756
2167b7b2
TH
117572013-03-18 Tassilo Horn <tsdh@gnu.org>
11758
11759 * doc-view.el (doc-view-new-window-function): Check the new window
11760 overlay's display property instead the char property of the
11761 buffer's first char. Use `with-selected-window' instead of
11762 `save-window-excursion' with `select-window'.
11763 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11764 display property instead the char property of the buffer's first char.
2167b7b2 11765
982efbcd
PE
117662013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11767
11768 Automate the build of ja-dic.el (Bug#13984).
11769 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11770 from the input, rather than assume that it's been done for us by the
11771 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11772 the current date into a ja-dic.el comment, as that complicates
11773 regression testing.
11774
2fcc7665
SM
117752013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * whitespace.el: Fix double evaluation.
11778 (whitespace-space, whitespace-hspace, whitespace-tab)
11779 (whitespace-newline, whitespace-trailing, whitespace-line)
11780 (whitespace-space-before-tab, whitespace-indentation)
11781 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11782 obsolete defvars.
11783 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11784 (whitespace-color-on): Use a single font-lock-add-keywords call.
11785 Fix double-evaluation of face variables.
11786
67c0a6e6
MA
117872013-03-17 Michael Albinus <michael.albinus@gmx.de>
11788
2fcc7665
SM
11789 * net/tramp-adb.el (tramp-adb-parse-device-names):
11790 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11791 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11792
69489f1d
LL
117932013-03-17 Leo Liu <sdl.web@gmail.com>
11794
11795 Extend eldoc to display info in the mode-line. (Bug#13978)
11796 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11797 (eldoc-mode-line-string): New variable.
11798 (eldoc-minibuffer-message): New function.
11799 (eldoc-message-function): New variable.
11800 (eldoc-message): Use it.
11801 (eldoc-display-message-p)
2fcc7665
SM
11802 (eldoc-display-message-no-interference-p):
11803 Support eldoc-post-insert-mode.
69489f1d
LL
11804
11805 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11806 (eval-expression): Run it.
11807
9c44569e
RW
118082013-03-17 Roland Winkler <winkler@gnu.org>
11809
11810 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11811 strings in the list of return values.
11812
327f1f6f
JB
118132013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11814
11815 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11816 radix before checking for HMS forms.
11817
67ed8fcd
LL
118182013-03-16 Leo Liu <sdl.web@gmail.com>
11819
11820 * progmodes/scheme.el: Add indentation and font-locking for λ.
11821 (Bug#13975)
11822
78be8b64 118232013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11824
11825 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11826 token before point (bug#13942).
11827
78be8b64 118282013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11829
95b43468 11830 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11831
98e775e6
EZ
118322013-03-16 Eli Zaretskii <eliz@gnu.org>
11833
11834 * startup.el (command-line-normalize-file-name): Fix handling of
11835 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11836 <xfq.free@gmail.com> in
11837 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11838
2edd6029
MA
118392013-03-15 Michael Albinus <michael.albinus@gmx.de>
11840
11841 Sync with Tramp 2.2.7.
11842
11843 * net/trampver.el: Update release number.
11844
d35f5864
TH
118452013-03-14 Tassilo Horn <tsdh@gnu.org>
11846
e903c210 11847 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11848 (doc-view-insert-image): Don't modify overlay associated to
11849 non-live windows, and implement horizontal centering of image in
11850 case it's smaller than the window.
11851 (doc-view-new-window-function): Force redisplay of new windows on
11852 doc-view buffers.
d35f5864 11853
1c4a85ed
KF
118542013-03-13 Karl Fogel <kfogel@red-bean.com>
11855
11856 * saveplace.el (save-place-alist-to-file): Don't sort
11857 `save-place-alist', just pretty-print it (bug#13882).
11858
85b66a21
MA
118592013-03-13 Michael Albinus <michael.albinus@gmx.de>
11860
a020afb9
JB
11861 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11862 Check whether `default-file-name-coding-system' is bound.
11863 It isn't in XEmacs.
85b66a21 11864
175600da
SM
118652013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11866
e7f7cb1a
SM
11867 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11868 backquotes for `obsolete' (bug#13929).
11869
175600da
SM
11870 * international/mule.el (find-auto-coding): Include file name in
11871 obsolescence warning (bug#13922).
11872
ca68a22e
TZ
118732013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11874
11875 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11876 for CFEngine 3-specific indentation.
11877 (cfengine3-indent-line): Use it. Fix up category regex.
11878 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11879
940e5099
SM
118802013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11881
11882 * type-break.el (type-break-file-name):
11883 * textmodes/remember.el (remember-data-file):
11884 * strokes.el (strokes-file):
11885 * shadowfile.el (shadow-initialize):
11886 * saveplace.el (save-place-file):
11887 * ps-bdf.el (bdf-cache-file):
11888 * progmodes/idlwave.el (idlwave-config-directory):
11889 * net/quickurl.el (quickurl-url-file):
11890 * international/kkc.el (kkc-init-file-name):
11891 * ido.el (ido-save-directory-list-file):
11892 * emulation/viper.el (viper-custom-file-name):
11893 * emulation/vip.el (vip-startup-file):
11894 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11895 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11896
cc725808
PE
118972013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11898
11899 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11900 * language/thai-word.el: Switch to UTF-8.
11901
a020afb9 11902See ChangeLog.16 for earlier changes.
e3d51b27
MR
11903
11904;; Local Variables:
11905;; coding: utf-8
e3d51b27
MR
11906;; End:
11907
ba318903 11908 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
11909
11910 This file is part of GNU Emacs.
11911
11912 GNU Emacs is free software: you can redistribute it and/or modify
11913 it under the terms of the GNU General Public License as published by
11914 the Free Software Foundation, either version 3 of the License, or
11915 (at your option) any later version.
11916
11917 GNU Emacs is distributed in the hope that it will be useful,
11918 but WITHOUT ANY WARRANTY; without even the implied warranty of
11919 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11920 GNU General Public License for more details.
11921
11922 You should have received a copy of the GNU General Public License
11923 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.