Gnus: Silence the byte compiler
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3669b636
MR
12014-01-05 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (balance-windows): Add mising t to fix Bug#16351.
4
1a29adc2
LMI
52014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6
7 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
8 (bug#16285).
3d95a0f4
LMI
9 (shr-insert): If we have a word that's longer than `shr-width',
10 break after it anyway. Otherwise we'll do no breaking once we get
11 such a long word.
1a29adc2 12
f4018140
KN
132014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14
189340f5
KN
15 * net/eww.el (eww): Support single/double quote for search.
16 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
17 (eww-history-quit): Delete and use quit-window.
18 (eww-history-kill): Delete, because it doesn't work well and
19 not necessary.
20 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 21
4e619754
PE
222014-01-05 Paul Eggert <eggert@cs.ucla.edu>
23
73dbf960
PE
24 Fix misspelling of 'chinese' in rx (Bug#16237).
25 * emacs-lisp/rx.el (rx-categories): Correct spelling of
26 chinese-two-byte.
27
4e619754
PE
28 Change subword regexps back to vars (Bug#16296).
29 * progmodes/subword.el (subword-forward-regexp)
30 (subword-backward-regexp): Change these back to variables.
31
e18b70fc
SM
322014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
35 syntax-begin-function (bug#16247).
36
0d53f628
CY
372014-01-03 Chong Yidong <cyd@gnu.org>
38
39 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
40 (advice--docstring): Delete variable.
41 (advice--make-1): Leave the docstring empty.
42 (advice-add): Use function-documentation for advised docstring.
43
44 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
45 Ignore function-documentation property when getting documentation.
46 (ad-activate-advised-definition): Use function-documentation
47 generate the docstring.
48 (ad-make-advised-definition): Don't call
49 ad-make-advised-definition-docstring.
50 (ad-make-advised-definition-docstring, ad-advised-definition-p):
51 Delete functions.
52
53 * progmodes/sql.el (sql-help): Use function-documentation instead
54 of dynamic-docstring-function property. No need to autoload now.
55 (sql--help-docstring): New variable.
56 (sql--make-help-docstring): Use it.
57
6f547583
SM
582014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
59
6ef9aed8
SM
60 * ielm.el (ielm-tab): Retarget.
61 (ielm-map): Use ielm-tab for tab.
62 (ielm-complete-filename): Use comint-filename-completion.
63 (ielm-complete-symbol): Remove.
64 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
65 remove ielm-tab from completion-at-point-functions (bug#16224).
66
6f547583
SM
67 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
68 Beware signals raised by predicates (bug#16201).
69
a574edbe
RS
702014-01-02 Richard Stallman <rms@gnu.org>
71
e831604d
RS
72 * dired-aux.el (dired-do-print): Handle printer-name.
73
6f547583
SM
74 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
75 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
76 (rmail-epa-decrypt): Turn off mime processing.
77
78 * mail/rmail.el (rmail-make-in-reply-to-field):
79 Add parens in message-id.
80
81 * mail/rmail.el (rmail-get-coding-function): Variable.
82 (rmail-get-coding-system): Use it.
83
04311a16
KH
842013-12-31 Eli Zaretskii <eliz@gnu.org>
85
86 * international/mule-conf.el: Unify the charset indian-is13194.
87 (indian-is13194): Specify unify-map.
88
c8d89778
LL
892013-12-31 Leo Liu <sdl.web@gmail.com>
90
91 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
92
e63ace37
DC
932013-12-30 Daniel Colascione <dancol@dancol.org>
94
9e0bf19a
DC
95 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
96 of printing a useless when we resume from sleep.
97
e63ace37
DC
98 * progmodes/sh-script.el
99 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
100 in indentation code. (Bug#16233)
101
e9d6c46a
JT
1022013-12-28 João Távora <joaotavora@gmail.com>
103
6f547583
SM
104 * elec-pair.el (electric-pair-post-self-insert-function):
105 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 106
bf7bea5d
EZ
1072013-12-28 Eli Zaretskii <eliz@gnu.org>
108
109 * frame.el (window-system-for-display): Don't allow to create a
110 GUI frame from a -nw session on MS-Windows. (Bug#14739)
111
8449dd1f
GM
1122013-12-28 Glenn Morris <rgm@gnu.org>
113
9c5a5c77
GM
114 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
115 Update callers.
116
117 * apropos.el (apropos-match-face):
118 * calculator.el (calculator-displayer):
119 * dabbrev.el (dabbrev-search-these-buffers-only):
120 * face-remap.el (buffer-face-mode-face):
121 * simple.el (yank-handled-properties):
122 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
123 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
124 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
125 (hashcash-double-spend-database):
126 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
127 (ruby-deep-indent-paren-style):
128 * textmodes/flyspell.el (flyspell-auto-correct-binding):
129 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
130 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
131 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
132 Specify custom types.
133
bb098075
GM
134 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
135 * bookmark.el (bookmark-bmenu-use-header-line):
136 * doc-view.el (doc-view-scale-internally):
137 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
138 * register.el (register-preview-delay):
139 * net/shr.el (shr-bullet):
140 * progmodes/cfengine.el (cfengine-cf-promises)
141 (cfengine-parameters-indent):
142 * progmodes/octave.el (inferior-octave-error-regexp-alist):
143 * textmodes/reftex-vars.el (reftex-label-regexps):
144 * vc/log-edit.el (log-edit-setup-add-author): Add version.
145
9c61f806
GM
146 * net/tls.el (tls-certtool-program): Fix default value.
147
148 * desktop.el (desktop-restore-in-current-display):
149 * newcomment.el (comment-empty-lines):
150 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
151 (idlwave-pad-keyword):
152 * progmodes/tcl.el (tcl-tab-always-indent):
153 * textmodes/reftex-vars.el (reftex-index-default-tag):
154 * elec-pair.el (electric-pair-skip-whitespace):
155 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
156
8449dd1f
GM
157 * emacs-lisp/authors.el (authors-ignored-files)
158 (authors-valid-file-names, authors-renamed-files-alist): Additions.
159
fdadeb49
JC
1602013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
161
72140a0f
GM
162 * shell.el (shell-dynamic-complete-command): Doc fix.
163 (shell--command-completion-data): Shell completion now matches
164 executable filenames from the current buffer's directory, on
da5ecfa9 165 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 166
e572a7d8
LI
1672013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
168
169 * net/shr.el (shr-insert): Don't infloop if the width is zero.
170
7514d3f8
SM
1712013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
172
a4151f3b
SM
173 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
174 (bug#16251).
175
7514d3f8
SM
176 * electric.el: Move all electric-pair-* to elec-pair.el.
177 * elec-pair.el: New file, split from electric.el.
178
ac5758d1
LI
1792013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
180
181 * net/shr.el (shr-find-fill-point): Don't try to fill if the
182 indentation level is larger than the width, because that will
183 infloop.
184 (shr-insert): Fill repeatedly long texts, so that Japanese is
185 formatted correctly (bug#16263).
24a6b65e
LI
186 (shr-find-fill-point): Off by one error in comparison with the
187 indentation.
ac5758d1 188
7514d3f8 1892013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
190
191 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 192 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
193 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
194 if that keeps or improves their balance in buffers.
195 (electric-pair-delete-adjacent-pairs): Delete the pair when
196 backspacing over adjacent matched delimiters.
197 (electric-pair-open-extra-newline): Open extra newline when
198 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
199 (electric--sort-post-self-insertion-hook):
200 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
201 minor-modes are activated.
202 * simple.el (newline-and-indent): Call newline with interactive
203 set to t.
204 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
205 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
206 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
207 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
208 electric-pair-open-newline-between-pairs to nil.
209
fbcc63a3
FEG
2102013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
211
212 * progmodes/python.el: Use lexical-binding.
213 (python-nav-beginning-of-defun): Stop searching ASAP.
214
ed78d16c
XF
2152013-12-25 Xue Fuqiao <xfq.free@gmail.com>
216
217 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
218 Fix interactive spec. Doc fix. (Bug#15754)
219
38b2c142
KY
2202013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
221
222 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 223 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
224 Fix edebug spec (bug#16184).
225
3c856c14
LI
2262013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
227
83fa295c 228 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
229 (shr-insert): Don't infloop if we can't find a good place to break
230 the line (bug#16256).
3c856c14 231
01379221
FEG
2322013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
233
234 * progmodes/python.el:
235 (python-nav--lisp-forward-sexp): New function.
236 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
237 python-nav-lisp-forward-sexp-safe.
238 (python-nav--forward-sexp): New argument SAFE allows switching
239 forward sexp movement behavior for parens.
240 (python-nav-forward-sexp): Throw errors on unterminated parens
241 (Bug#16191).
242 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
243 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
244 (python-shell-buffer-substring):
245 Use `python-nav-forward-sexp-safe'.
01379221 246
99e4926f
LI
2472013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
248
249 * net/shr.el (shr-find-fill-point): Don't break lines before a
250 quotation mark.
c6c20584
LI
251 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
252 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 253 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 254
fec0e828
KN
2552013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
256
257 * net/eww.el (eww-form-textarea): Use a different face for
258 textareas than text input since they have different keymaps
259 (bug#16142).
260
89c868ad
FEG
2612013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
262
7514d3f8
SM
263 * progmodes/python.el (python-nav-beginning-of-statement):
264 Speed up (Bug#15295).
89c868ad 265
eeef121a
LI
2662013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
267
268 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
269 the window configuration.
270
121ea65f
EZ
2712013-12-24 Eli Zaretskii <eliz@gnu.org>
272
273 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
274 we run on MS-Windows or MS-DOS.
275
18cee9ec
MR
2762013-12-24 Martin Rudalics <rudalics@gmx.at>
277
278 * window.el (balance-windows-area): Call window-size instead of
279 window-height and window-width. Bug#16241.
280
58f2b9a5
LI
2812013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
282
283 * net/eww.el (eww-bookmark-quit): Remove.
284 (eww-bookmark-browse): Restore the window configuration when you
285 choose a bookmark (bug#16144).
286
d64b6308
DC
2872013-12-24 Daniel Colascione <dancol@dancol.org>
288
289 * icomplete.el: Remove redundant :group arguments to `defcustom'
290 throughout.
291 (icomplete-show-matches-on-no-input): New customizable variable.
292 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
293 we have something to show.
7514d3f8 294 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 295
0da54898
DC
2962013-12-23 Daniel Colascione <dancol@dancol.org>
297
298 * icomplete.el: Move `provide' to end of file.
299
b90aa4f4
TZ
3002013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
301
302 * net/gnutls.el (gnutls-verify-error): Add version tag.
303
8cd22a08
CY
3042013-12-23 Chong Yidong <cyd@gnu.org>
305
306 * subr.el (set-transient-map): Rename from
307 set-temporary-overlay-map. Doc fix.
308
309 * face-remap.el (text-scale-adjust):
310 * indent.el (indent-rigidly):
311 * kmacro.el (kmacro-call-macro):
312 * minibuffer.el (minibuffer-force-complete):
313 * repeat.el (repeat):
314 * simple.el (universal-argument--mode):
315 * calendar/todo-mode.el (todo-insert-item--next-param):
316 * progmodes/f90.el (f90-abbrev-start): Callers changed.
317
7510b021
CY
318 * indent.el (indent-rigidly): Use substitute-command-keys.
319
72140a0f 3202013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
321
322 * net/eww.el (eww-tag-select): Add text-property to jump to next
323 select field.
e9dc713d 324 (eww): Add non-supported ftp error.
56890ecd 325
1f87a56c
DG
3262013-12-22 Dmitry Gutov <dgutov@yandex.ru>
327
328 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
329 comments. Handle electric indent after typing `?' and `!'.
330
dca38cf9
CY
3312013-12-22 Chong Yidong <cyd@gnu.org>
332
333 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
334 applicable to a frame, fall back on the defface spec.
335 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 336
f2351498
DG
3372013-12-22 Dmitry Gutov <dgutov@yandex.ru>
338
339 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
340 after `{'. We need it after block openers, and it doesn't seem
341 to hurt after hash openers.
342
6cddebc1
DG
3432013-12-22 Dmitry Gutov <dgutov@yandex.ru>
344
345 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
346 extracted from `ruby-smie-rules'.
347 (ruby--electric-indent-chars): New variable.
348 (ruby--electric-indent-p): New function.
349 (ruby-mode): Use `electric-indent-functions' instead of
350 `electric-indent-chars'.
351
65a1da00
DG
3522013-12-22 Dmitry Gutov <dgutov@yandex.ru>
353
354 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
355 docstring.
356 (ruby-smie-rules): Indent plus one level after `=>'.
357
b51ad4cf
RS
3582013-12-21 Richard Stallman <rms@gnu.org>
359
360 * simple.el (newline): Doc fix.
361
72140a0f 3622013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 363
e9dc713d 364 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
365 (eww-history-browse, eww-history-quit, eww-history-kill)
366 (eww-history-mode-map, eww-history-mode): New command and
367 functions to list browser histories.
e9dc713d
JB
368 (eww-form-text): Support text form with disabled
369 and readonly attributes.
370 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 371
5e1901c1
RS
3722013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
373
374 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
375 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
376 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
377 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
378 Use `user-error'.
379 (eww-bookmark-mode-map): Add menu.
380 (eww-render, eww-mode): Use `setq-local'.
381 (eww-tool-bar-map): New variable.
382 (eww-mode): Set `tool-bar-map'.
383 (eww-view-source): Check for `html-mode' with `fboundp'.
384
073d5cfd
LMI
3852013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
386
387 * net/shr.el (shr--extract-best-source): Don't bug out on audio
388 elements with text inside. Also remove debugging.
389
41cf3d11
JD
3902013-12-21 Jan Djärv <jan.h.d@swipnet.se>
391
392 * cus-start.el (all): Add ns-use-srgb-colorspace.
393
aac2b673
CY
3942013-12-21 Chong Yidong <cyd@gnu.org>
395
396 * custom.el (custom-theme-recalc-face): Do nothing if the face is
397 undefined. Thus, theme settings for undefined faces do not take
398 effect until the faces are defined with defface, the same as with
399 theme variables.
400
401 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
402 (face-spec-reset-face): Don't assign extra properties in temacs.
403 (face-spec-recalc): Apply X resources too.
404
bacb0e77
CY
4052013-12-21 Chong Yidong <cyd@gnu.org>
406
407 * faces.el (face-spec-set):
408 * cus-face.el (custom-theme-set-faces, custom-set-faces):
409 * custom.el (defface): Doc fixes (Bug#16203).
410
77221051
CY
411 * indent.el (indent-rigidly-map): Add docstring, and move commands
412 into named functions.
413 (indent-rigidly-left, indent-rigidly-right)
414 (indent-rigidly-left-to-tab-stop)
415 (indent-rigidly-right-to-tab-stop): New functions. Decide on
416 indentation direction based on bidi direction, and accumulate
417 sequential commands in a single undo boundary.
418 (indent-rigidly--pop-undo): New utility function.
419
e0eb0550
JB
4202013-12-20 Juanma Barranquero <lekktu@gmail.com>
421
422 * faces.el (read-face-name): Require crm.el when using crm-separator.
423
3282bd2e
DC
4242013-12-20 Daniel Colascione <dancol@dancol.org>
425
426 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
427 so that we don't reflow comments into the shebang line.
428
1d42e5b6
JL
4292013-12-20 Juri Linkov <juri@jurta.org>
430
431 * saveplace.el (save-place-to-alist): Add `dired-filename' as
432 a position when `dired-directory' is non-nil. Check integer
433 positions with `integerp'.
434 (toggle-save-place, save-places-to-alist): Add check for
435 `dired-directory'.
436 (save-place-find-file-hook): Check integer positions with
437 `integerp'.
438 (save-place-dired-hook): Use `dired-goto-file' when
439 `dired-filename' is found in the assoc list. Check integer
440 positions with `integerp'.
441 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
442
443 * dired.el (dired-initial-position-hook): Rename back from
444 `dired-initial-point-hook'.
445 (dired-initial-position): Rename `dired-initial-point-hook' to
446 `dired-initial-position-hook'.
447 (dired-file-name-at-point): Doc fix. (Bug#15329)
448
24da7273
JL
4492013-12-20 Juri Linkov <juri@jurta.org>
450
451 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
452 (read-regexp-suggestions): New function.
453 (read-regexp): Use `read-regexp-defaults-function' to get default values.
454 Use `read-regexp-suggestions'. Add non-empty default to history
455 for empty input.
456 (occur-read-regexp-defaults-function): Remove function.
457 (occur-read-primary-args): Use `regexp-history-last' instead of
458 `occur-read-regexp-defaults-function'.
459
460 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
461 (hi-lock-line-face-buffer, hi-lock-face-buffer)
462 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
463 `hi-lock-read-regexp-defaults-function'. Doc fix.
464 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
465 with `find-tag-default-as-symbol-regexp'. Doc fix.
466 (hi-lock-read-regexp-defaults): Remove function.
467 (hi-lock-regexp-okay): Add check for null.
468
469 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
470 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
471
472 * subr.el (find-tag-default-as-symbol-regexp): New function.
473 (find-tag-default-as-regexp): Move symbol regexp formatting to
474 `find-tag-default-as-symbol-regexp'.
475
137f57c8
S
4762013-12-20 E Sabof <esabof@gmail.com> (tiny change)
477
478 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
479 (Bug#14179)
480
f3a66082
SB
4812013-12-20 Stephen Berman <stephen.berman@gmx.net>
482
483 * calendar/todo-mode.el: New implementation of item insertion
484 commands and key bindings.
485 (todo-key-prompt): New face.
486 (todo-insert-item): New command.
487 (todo-insert-item--parameters): New defconst, replacing defvar
488 todo-insertion-commands-args-genlist.
489 (todo-insert-item--param-key-alist): New defconst, replacing
490 defvar todo-insertion-commands-arg-key-list.
491 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
492 (todo-insert-item--argsleft, todo-insert-item--apply-args)
493 (todo-insert-item--next-param): New functions.
494 (todo-insert-item--args, todo-insert-item--argleft)
495 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
496 New variables.
497 (todo-key-bindings-t): Change binding of "i" from
498 todo-insertion-map to todo-insert-item.
499 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
500 (todo-insertion-command-name, todo-insertion-commands-names)
501 (todo-define-insertion-command, todo-insertion-commands)
502 (todo-insertion-key-bindings, todo-insertion-map): Remove.
503
2f99433b
SB
5042013-12-20 Stephen Berman <stephen.berman@gmx.net>
505
506 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
507 (todo-toggle-item-highlighting): Use eval-and-compile instead of
508 eval-when-compile.
509 (todo-move-category): Allow choosing a non-existing todo file to
510 move the category to, and create that file.
511 (todo-default-priority): New user option.
512 (todo-set-item-priority): Use it.
513 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
514 (desktop-restore-file-buffer): Declare.
515 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
516 (todo-modes-set-2): Locally set desktop-save-buffer to
517 todo-desktop-save-buffer.
518 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
519 (auto-mode-alist): Add autoload cookie.
520
131e4695
BB
5212013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
522
523 * emacs-lisp/subr-x.el: Renamed from helpers.el.
524 helpers.el was a poor choice of name.
3cbfb935
BB
525 (string-remove-prefix): New function.
526 (string-remove-suffix): New function.
131e4695 527
c44de18d
MR
5282013-12-20 Martin Rudalics <rudalics@gmx.at>
529
530 Fix assignment for new window total sizes.
531 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
532 (window--pixel-to-total-1, window--pixel-to-total):
533 Fix calculation of new total sizes.
c44de18d 534
ca65efcc
VS
5352013-12-20 Vitalie Spinu <spinuvit@gmail.com>
536
537 * comint.el (comint-output-filter): Fix rear-nonsticky property
538 placement (Bug#16010).
539
a9574eb7
CY
5402013-12-20 Chong Yidong <cyd@gnu.org>
541
542 * faces.el (read-color): Minor fix for completion function.
543
b520f210
DG
5442013-12-20 Dmitry Gutov <dgutov@yandex.ru>
545
e0eb0550
JB
546 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
547 New option. (Bug#16182)
b520f210
DG
548 (ruby-smie--indent-to-stmt-p): Use it.
549 (ruby-smie-rules): Revert the logic in the handling of `when'.
550 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
551 (ruby-deep-arglist, ruby-deep-indent-paren)
552 (ruby-deep-indent-paren-style): Update docstrings to note that the
553 vars don't have any effect with SMIE.
554
26b75b45
JB
5552013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
556
557 * calc/calc.el (calc-enter, calc-pop): Use the variable
558 `calc-context-sensitive-enter'.
559
cf91cee7
LMI
5602013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
561
562 * net/shr.el (shr-insert): Protect against infloops in degenerate
563 tables.
564
51d971b4
RS
5652013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
566
567 * progmodes/octave.el (octave): Add link to manual and octave
568 homepage.
569 (octave-mode-menu): Link to octave-mode manual.
570
8c2e462a
LL
5712013-12-20 Leo Liu <sdl.web@gmail.com>
572
573 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
574 insertion using skeleton-end-newline. (Bug#16138)
575
501158bc
JL
5762013-12-20 Juri Linkov <juri@jurta.org>
577
578 * replace.el (occur-engine): Use `add-face-text-property'
579 to add the face property to matches and titles. (Bug#14645)
580
581 * hi-lock.el (hi-green): Use lighter color "light green" closer to
582 the palette of other hi-lock colors.
583 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
584
50ab1da6
JL
5852013-12-19 Juri Linkov <juri@jurta.org>
586
587 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
588 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
589 (minibuffer-history-symbol): Move variable declaration closer to
590 its usage.
591
592 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
593 (Bug#14785)
594
3d6e95e7
JL
5952013-12-19 Juri Linkov <juri@jurta.org>
596
597 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
598 New function.
599 (log-edit-hook): Add it to :options. (Bug#16170)
600
b41594fd
JL
6012013-12-19 Juri Linkov <juri@jurta.org>
602
603 * simple.el (eval-expression-print-format): Don't check for
604 command names and the last command. Always display additional
605 formats of the integer result in the echo area, and insert them
606 to the current buffer only with a zero prefix arg.
607 Display character when char-displayable-p is non-nil.
608 (eval-expression): With a zero prefix arg, set `print-length' and
609 `print-level' to nil, and insert the integer values from
610 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
611
612 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
613 `eval-last-sexp-arg-internal'. Doc fix.
614 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
615 `eval-last-sexp-print-value'. Doc fix.
616 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
617 Set `print-length' and `print-level' to nil when arg is zero.
618 (eval-last-sexp): Doc fix.
619 (eval-defun-2): Print the integer values from
620 `eval-expression-print-format' at the end.
621
622 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
623 values from `eval-expression-print-format' at the end.
624
625 * ielm.el (ielm-eval-input): Print the integer
626 values from `eval-expression-print-format' at the end.
627
8f2be364
TZ
6282013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
629
630 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
631 2013-12-11T19:01:44Z!tzz@lifelogs.com.
632
2230a6e3
SM
6332013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
636 (hl-line-highlight, global-hl-line-highlight): Use it.
637 (hl-line-overlay): Use defvar-local.
638
1269a680
JD
6392013-12-19 Jan Djärv <jan.h.d@swipnet.se>
640
641 * term/ns-win.el: Require dnd.
642 (global-map): Remove drag items.
643 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
644 (ns-set-background-at-mouse):
645 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
646 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
647 New functions.
1269a680 648
049638ad
GM
6492013-12-19 Glenn Morris <rgm@gnu.org>
650
651 * emacs-lisp/ert.el (ert-select-tests):
652 Fix string/symbol mixup. (Bug#16121)
653
ce41edb4
DG
6542013-12-19 Dmitry Gutov <dgutov@yandex.ru>
655
656 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
657 keywords to their parent.
658
7e1549c9
DG
6592013-12-19 Dmitry Gutov <dgutov@yandex.ru>
660
661 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
662 first arg to be a string (fixed dead code), or an operator symbol.
663 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
664 operator symbols.
665 (ruby-smie-rules): Remove parent token check in the `.' clause, it
666 did nothing. Don't respond to `(:after ".")', it will be called
667 with :before anyway. Remove the ` @ ' rule, it didn't seem to
668 change anything. Only return indentation for binary operators
669 when they are hanging. De-dent opening paren when its parent is
670 `.', otherwise it looks bad when the dot is not at bol or eol
671 (bug#16182).
672
3ee4cd64
JL
6732013-12-19 Juri Linkov <juri@jurta.org>
674
675 * replace.el (query-replace-read-args): Split a non-negative arg
676 and a negative arg into separate elements.
677 (query-replace, query-replace-regexp, replace-string)
678 (replace-regexp): Add arg `backward'. Doc fix.
679 (replace-match-maybe-edit): When new arg `backward' is non-nil,
680 move point to the beginning of the match.
681 (replace-search, replace-highlight): Use new arg `backward'
682 to set the value of `isearch-forward'.
683 (perform-replace): Add arg `backward' and use it to perform
684 replacement backward. (Bug#14979)
685
686 * isearch.el (isearch-query-replace): Use a negative prefix arg
687 to call `perform-replace' with a non-nil arg `backward'.
688
0cda6b7b
JL
6892013-12-18 Juri Linkov <juri@jurta.org>
690
691 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
692 to the default list. Move `log-edit-show-files' to the end.
693 Add more available functions to options.
694 (log-edit): Move default specific settings to
695 `log-edit-insert-message-template'. Don't move point.
696 (log-edit-insert-message-template): New function.
697 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
698 (Bug#16170)
699
b216f0a6
JL
7002013-12-18 Juri Linkov <juri@jurta.org>
701
702 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
703 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
704
1d1c55dc
LL
7052013-12-18 Leo Liu <sdl.web@gmail.com>
706
e9dc713d
JB
707 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
708 (Bug#16186)
1d1c55dc 709
64e4c76e
EZ
7102013-12-18 Eli Zaretskii <eliz@gnu.org>
711
712 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
713 formats for displaying file sizes when the -s switch is given.
714 Instead, compute a separate format for displaying the size in
715 blocks, which is displayed in addition to the "regular" size.
716 When -h is given in addition to -s, produce size in blocks in
717 human-readable form as well. (Bug#16179)
718
b2984e39
TH
7192013-12-18 Tassilo Horn <tsdh@gnu.org>
720
2230a6e3
SM
721 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
722 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 723
50ff2e06
CY
7242013-12-18 Chong Yidong <cyd@gnu.org>
725
0081bc84
CY
726 * cus-edit.el (custom-magic-alist): Fix "themed" description
727 (Bug#14348).
728
a7ee9424
CY
729 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
730 is non-nil, do not create a new entry in the symbol's theme-value
731 or theme-face property; update theme-settings only (Bug#14664).
18874304 732 (custom-available-themes): Doc fix.
a7ee9424 733
8f942537
CY
734 * cus-theme.el (custom-new-theme-mode-map): Add bindings
735 (Bug#15674).
736
50ff2e06
CY
737 * replace.el (occur-engine): Avoid infloop (Bug#7593).
738
83c60f60
KI
7392013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
740
741 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
742 (Bug#13914).
743
e0eb0550 7442013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
745
746 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
747
1f41ee56
GM
7482013-12-18 Glenn Morris <rgm@gnu.org>
749
750 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 751 * cus-start.el (load-prefer-newer): New option.
1f41ee56 752
e82134b1
LW
7532013-12-18 Le Wang <l26wang@gmail.com>
754
2230a6e3
SM
755 * comint.el (comint-previous-matching-input-from-input):
756 Retain point (Bug#13404).
e82134b1 757
33f5d4c1
CY
7582013-12-18 Chong Yidong <cyd@gnu.org>
759
760 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
761
ccc9f6dc
GM
7622013-12-18 Glenn Morris <rgm@gnu.org>
763
764 * mail/emacsbug.el (report-emacs-bug):
765 Only mention enable-multibyte-characters if non-standard.
766
33dd8e95
JL
7672013-12-17 Juri Linkov <juri@jurta.org>
768
769 * arc-mode.el (archive-extract-by-file): Check if directory exists
770 before deletion to not show irrelevant errors if it doesn't exist.
771
7a409b30
JL
7722013-12-17 Juri Linkov <juri@jurta.org>
773
774 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
775 (Bug#14751)
776
777 * net/eww.el (browse-web): Add alias to `eww'.
778 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
779 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
780
781 * net/browse-url.el (browse-url-browser-function): Move `eww'
782 closer to similar functions.
783
784 * startup.el (fancy-startup-screen, fancy-about-screen):
785 Set browse-url-browser-function to eww-browse-url locally.
786 (Bug#14751)
787
2d6b6005
SM
7882013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * window.el (window--pixel-to-total): Remove unused `mini' var.
791 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
792 (split-window): Remove unused `new' var.
793 (window--display-buffer): Remove unused `frame' and `delta' vars.
794 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
795 and display-width'.
796
cf2b7efc
MR
7972013-12-17 Martin Rudalics <rudalics@gmx.at>
798
799 * dired.el (dired-mark-pop-up):
800 * register.el (register-preview): Don't bind
801 split-height-threshold here since it's now done in
802 display-buffer-below-selected.
803
ed3af8a7 8042013-12-17 oblique <psyberbits@gmail.com> (tiny change)
805
806 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
807 xterm-rgb-convert-to-16bit.
808 (rxvt-register-default-colors): Standardize with
809 xterm-register-default-colors (Bug#14078).
810
76da3455
DK
8112013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
812
813 * simple.el (kill-region): Pass mark first, then point, so that
814 kill-append works right (Bug#12819).
815 (copy-region-as-kill, kill-ring-save): Likewise.
816
2b84d763
LL
8172013-12-17 Leo Liu <sdl.web@gmail.com>
818
819 * net/rcirc.el (rcirc-add-face):
820 * eshell/em-prompt.el (eshell-emit-prompt):
821 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
822 (Bug#16167)
823
e2f6a0bc
CY
8242013-12-17 Chong Yidong <cyd@gnu.org>
825
826 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
827 Suggested by Xue Fuqiao.
828
35b249a6
DG
8292013-12-17 Dmitry Gutov <dgutov@yandex.ru>
830
831 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
832
e9145444
SM
8332013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
834
835 * net/shr.el (shr-insert-document): Remove unused var
836 `shr-preliminary-table-render'.
837 (shr-rescale-image): Remove unused arg `force'.
838 (shr-put-image): Update calls accordingly.
839 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
840
5556c0ce
DG
8412013-12-17 Dmitry Gutov <dgutov@yandex.ru>
842
843 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
844 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
845 :close-all, to see which indentation method to use (Bug#16116).
846 (smie-rules-function): Document the method :close-all.
847
11bade0a
LMI
8482013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
849
1c4b1e61
LMI
850 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
851
11bade0a
LMI
852 * net/eww.el (eww-display-html): If we can't find the anchor we're
853 looking for, then go to point-min.
854
8fb8c4f3
PE
8552013-12-16 Paul Eggert <eggert@cs.ucla.edu>
856
857 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
858 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
859 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
860 Expand dir too, in case it's relative.
861
6c8e0ae6
JL
8622013-12-16 Juri Linkov <juri@jurta.org>
863
864 * desktop.el (desktop-auto-save-timeout): Change default to
865 `auto-save-timeout'. Doc fix.
866 (desktop-save): Skip the timestamp in desktop-saved-frameset
867 when checking for auto-save changes.
868 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
869 `desktop-auto-save' is called repeatedly by the idle timer.
870 (desktop-auto-save-set-timer): Replace `run-with-timer' with
871 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
872 (Bug#15331)
873
2178e858
JL
8742013-12-16 Juri Linkov <juri@jurta.org>
875
876 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
877 (Bug#16035)
878 (isearch-pre-command-hook): Check `this-command' for symbolp.
879
39cb42c6
SM
8802013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
883
5b9b750a
TZ
8842013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
885
886 * progmodes/cfengine.el (cfengine3--current-word): Remove.
887 (cfengine3--current-function): Bring in the current-function
888 functionality from `cfengine3--current-word'.
889 (cfengine3-completion-function): Bring in the
890 bounds-of-current-word functionality from
891 `cfengine3--current-word'.
892
d144ef06
MR
8932013-12-16 Martin Rudalics <rudalics@gmx.at>
894
39cb42c6
SM
895 * window.el (display-buffer-below-selected):
896 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 897
a8bbe298
LL
8982013-12-16 Leo Liu <sdl.web@gmail.com>
899
900 * progmodes/compile.el (compile-goto-error): Do not push-mark.
901 Remove NOMSG arg and all uses changed.
902
2013a2f9
SM
9032013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
906 (cua--deactivate-rectangle): Don't deactivate the mark.
907 (cua-set-rectangle-mark): Don't set mark-active since
908 cua--activate-rectangle already does it for us.
909 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
910 non-rectangular region.
911
912 * emulation/cua-base.el (cua-repeat-replace-region):
913 Use with-current-buffer.
914
915 * net/gnutls.el: Use cl-lib.
916 (gnutls-negotiate): `mapcan' -> cl-mapcan.
917
5ae811dd
TZ
9182013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
919
920 * emacs-lisp/package.el (package-built-in-p): Support both
921 built-in and the package.el converted package descriptions.
922 (package-show-package-list): Allow keywords.
923 (package-keyword-button-action): Use it instead of
924 `finder-list-matches'.
925 (package-menu-filter-interactive): Interactive filtering (by
926 keyword) function.
927 (package-menu--generate): Support keywords and change keymappings
928 and headers when they are given.
929 (package--has-keyword-p): Helper function.
930 (package-menu--refresh): Use it.
931 (package--mapc): Helper function.
932 (package-all-keywords): Use it.
933 (package-menu-mode-map): Set up menu items and keybindings to
934 provide a filtering UI.
935
31b4827e
TZ
9362013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
937
938 * net/gnutls.el (gnutls-verify-error): New defcustom to control
939 the behavior when a certificate fails validation. Defaults to
940 old behavior: never abort, just warn.
941 (gnutls-negotiate): Use it.
942
f93cc74f
MR
9432013-12-14 Martin Rudalics <rudalics@gmx.at>
944
945 * window.el (display-buffer-below-selected): Never split window
946 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
947
f77d7d17
TW
9482013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
949
950 * emacs-lisp/package.el (package--prepare-dependencies): New function.
951 (package-buffer-info): Use it (bug#15108).
aa2bddd7 952
7514d3f8
SM
9532013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
954
aa2bddd7 955 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 956 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 957
276bc333
DG
9582013-12-14 Dmitry Gutov <dgutov@yandex.ru>
959
960 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
961 open-paren tokens when preceded by a open-paren, too.
962 (ruby-smie-rules): Handle virtual indentation after open-paren
963 tokens specially. If there is code between it and eol, return the
964 column where is starts (Bug#16118).
965
d43957f3
TZ
9662013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
967
a5c1ac0c 968 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 969 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
970 (cfengine3--current-word): Fix parameters.
971 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
972 (cfengine3-completion-function, cfengine3--current-function):
973 Use `assq' for symbols.
d43957f3
TZ
974 (cfengine3--current-function): Fix `cfengine3--current-word' call.
975
06a4f110
GM
9762013-12-13 Glenn Morris <rgm@gnu.org>
977
978 * loadup.el (load-path): Warn if site-load or site-init changes it.
979 No more need to reset it when bootstrapping.
980
978a5fda
TZ
9812013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
982
983 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
984 locations for cf-promises.
985 (cfengine-mode-syntax-functions-regex): New caching variable.
986 (cfengine3-fallback-syntax): Fallback syntax for cases where
987 cf-promises doesn't run.
988 (cfengine3--current-word): Reimplement using
989 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
990 (cfengine3-completion-function, cfengine3--current-function):
991 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
992 (cfengine3-clear-syntax-cache): New function.
993 (cfengine3-make-syntax-cache): Simplify and create
994 `cfengine-mode-syntax-functions-regex' on demand.
995 (cfengine3-format-function-docstring): Don't call
996 `cfengine3-make-syntax-cache' explicitly.
997
71e6691e
MR
9982013-12-13 Martin Rudalics <rudalics@gmx.at>
999
1000 Fix windmove-find-other-window broken after pixelwise resizing
1001 (Bug#16017).
1002 * windmove.el (windmove-other-window-loc): Revert change from
1003 2013-12-04.
1004 (windmove-find-other-window): Call window-in-direction.
1005 * window.el (window-in-direction): New arguments SIGN, WRAP and
1006 MINI to emulate original windmove-find-other-window behavior.
1007
84c73ba0
DG
10082013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1009
1010 * simple.el (blink-matching--overlay): New variable.
1011 (blink-matching-open): Instead of moving point, highlight the
1012 matching paren with an overlay
1013 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1014
1015 * faces.el (paren-showing-faces, show-paren-match)
1016 (show-paren-mismatch): Move from paren.el.
1017
b9e20952
LL
10182013-12-13 Leo Liu <sdl.web@gmail.com>
1019
1020 * indent.el (indent-region): Disable progress reporter in
1021 minibuffer. (Bug#16108)
1022
1023 * bindings.el (visual-order-cursor-movement): Fix version.
1024
ce030451
FEG
10252013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1026
1027 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1028 Also match after beginning of line.
1029 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1030 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1031
4a9c6865
JL
10322013-12-13 Juri Linkov <juri@jurta.org>
1033
1034 * simple.el <Keypad support>: Remove key bindings duplicated
1035 with bindings.el. (Bug#14397)
1036
2bc170c3
JL
10372013-12-13 Juri Linkov <juri@jurta.org>
1038
1039 * comint.el (comint-mode-map): Replace `delete-char' with
1040 `delete-forward-char'. (Bug#16109)
1041
bc9222c9
FEG
10422013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1043
aa2bddd7 1044 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1045 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1046
cb3a1380
SM
10472013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1050 (advice--make): Pay attention to `depth'.
1051 (advice--make-1): Don't autoload commands eagerly.
1052 * emacs-lisp/elp.el (elp-instrument-function):
1053 * emacs-lisp/trace.el (trace-function-internal):
1054 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1055
1056 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1057
01633a17
EZ
10582013-12-12 Eli Zaretskii <eliz@gnu.org>
1059
1060 * term/w32-win.el (w32-handle-dropped-file):
1061 * startup.el (normal-top-level):
1062 * net/browse-url.el (browse-url-file-url):
1063 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1064 decode file names using 'utf-8' rather than
1065 file-name-coding-system.
1066
09faee72
FEG
10672013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1068
1069 * progmodes/python.el (python-indent-context)
1070 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1071 behavior for comment blocks. (Bug#15916)
09faee72 1072
f4f84024 10732013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1074
cb3a1380
SM
1075 * progmodes/python.el (python-indent-calculate-indentation):
1076 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1077 operators when they are just string constituents. (Bug#15812)
1078
d5ccb7be
JL
10792013-12-12 Juri Linkov <juri@jurta.org>
1080
1081 * uniquify.el (uniquify-buffer-name-style): Change default to
1082 `post-forward-angle-brackets'.
1083
1084 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1085 `uniquify'. Change default to `post-forward-angle-brackets'.
1086
7b3f5679
GM
10872013-12-11 Glenn Morris <rgm@gnu.org>
1088
1089 * emacs-lisp/package.el (finder-list-matches):
1090 Autoload rather than falsely declaring.
1091
f4fe8fdd
TZ
10922013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1093
1094 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1095 (eww-mode-map): Use them.
1096
3c29190f
MR
10972013-12-11 Martin Rudalics <rudalics@gmx.at>
1098
1099 * window.el (display-buffer-in-side-window): Fix doc-string
1100 (Bug#16115).
1101
0cd616a2
JB
11022013-12-11 Juanma Barranquero <lekktu@gmail.com>
1103
1104 * vc/vc-git.el: Silence byte-compiler warnings.
1105 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1106 (log-edit-set-header): Declare.
1107
3ef8e0d1
EZ
11082013-12-11 Eli Zaretskii <eliz@gnu.org>
1109
1110 * Makefile.in (custom-deps, finder-data): Run output file names
1111 through unmsys--file-name. (Bug#16099)
1112
afdadaf7
SM
11132013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1114
7ae3ae39 1115 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1116 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1117
5b4f37ab
SM
1118 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1119 instead of deleting the selection "by hand" (bug#16098).
1120 Rely on insert-for-yank to yank rectangles.
1121 (cua-highlight-region-shift-only): Mark obsolete.
1122 (cua-mode): Don't enable/disable transient-mark-mode,
1123 shift-select-mode (cua-mode works both with and without them), and
1124 pc-selection-mode (obsolete).
1125 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1126 (cua--deactivate-rectangle): Deactivate it.
1127
4b72c12b
SM
1128 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1129 (delete-selection-helper): Make sure yank starts at the top of the
1130 deleted region.
1131 (minibuffer-keyboard-quit): Use region-active-p.
1132
e82af72d
SM
1133 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1134
afdadaf7
SM
1135 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1136 to `delete' (bug#16109).
1137
ed4bc201
RS
11382013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1139
1140 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1141 info manual and show keybindings and set `:group' keyword.
1142
bb8097b9
JL
11432013-12-11 Juri Linkov <juri@jurta.org>
1144
1145 * delsel.el (delete-active-region): Let-bind `this-command'
1146 to prevent `kill-region' from changing its original value.
1147 (delete-selection-helper): Handle `overwrite-mode' for the type
1148 `kill' exactly the same way as for the type `t'.
1149 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1150 Support more commands. (Bug#13312)
1151
c1916ff5
JL
11522013-12-11 Juri Linkov <juri@jurta.org>
1153
1154 * bindings.el: Map kp keys to non-kp keys systematically
1155 with basic modifiers control, meta and shift. (Bug#14397)
1156
7514d3f8 11572013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1158
1159 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1160 "Close browser" menu items. Fix wrong function of "List
1161 bookmarks".
1162
4cc51eaf
JL
11632013-12-11 Juri Linkov <juri@jurta.org>
1164
1165 * misearch.el (multi-isearch-buffers): Set the value of
1166 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1167 arg of isearch-forward to t.
1168 (multi-isearch-buffers-regexp): Set the value of
1169 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1170 arg of isearch-forward-regexp to t.
1171 (multi-isearch-files): Set the value of
1172 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1173 arg of isearch-forward to t.
1174 (multi-isearch-files-regexp): Set the value of
1175 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1176 arg of isearch-forward-regexp to t. (Bug#16035)
1177
1178 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1179 arg of isearch-forward to t.
1180 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1181 arg of isearch-forward-regexp to t.
1182 (dired-isearch-filter-filenames): Remove unnecessary check for
1183 `dired-isearch-filenames'.
1184
1185 * comint.el (comint-history-isearch-backward):
1186 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1187 (comint-history-isearch-backward-regexp):
1188 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1189
ceac12b7
EZ
11902013-12-10 Eli Zaretskii <eliz@gnu.org>
1191
1192 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1193 unmsys--file-name. (Bug#16099)
1194
5a565782
TZ
11952013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1196
cb3a1380
SM
1197 * emacs-lisp/package.el (package-keyword-button-action):
1198 Remove finder.el require dependency.
5a565782 1199
a81fc7ba
TZ
12002013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1201
1202 * emacs-lisp/package.el: Require finder.el.
1203 (describe-package-1): Add keyword buttons.
1204 (package-make-button): New convenience function.
1205 (package-keyword-button-action): Keyword button action using
e0eb0550 1206 `finder-list-matches'.
a81fc7ba 1207
6aaca951
EZ
12082013-12-09 Eli Zaretskii <eliz@gnu.org>
1209
1210 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1211 last commit.
1212
a1099a91
MA
12132013-12-09 Michael Albinus <michael.albinus@gmx.de>
1214
1215 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1216 symlinked files.
1217
8212d9c0
DG
12182013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1219
1220 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1221 after the end of a percent literal.
1222
8f48d131
CD
12232013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1224
cb3a1380
SM
1225 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1226 Handle caret-delimited strings (Bug#16079).
8f48d131 1227
ff8c9764
DG
12282013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1229
cb3a1380
SM
1230 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1231 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1232 `ruby-parse-partial' (Bug#16078).
1233
d64643b4
LL
12342013-12-09 Leo Liu <sdl.web@gmail.com>
1235
1236 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1237
47e59c66
DG
12382013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1239
1240 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1241 (js-switch-indent-offset): New option.
1242 (js--proper-indentation): Use it. And handle the case when
1243 "default" is actually a key in an object literal.
1244 (js--same-line): New function.
1245 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1246 (js--indent-in-array-comp, js--array-comp-indentation):
1247 New functions.
47e59c66
DG
1248 (js--proper-indentation): Use them, to handle array comprehension
1249 continuations.
1250
974ebc9c
LL
12512013-12-08 Leo Liu <sdl.web@gmail.com>
1252
1253 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1254 (flymake-make-overlay): Remove arg MOUSE-FACE.
1255 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1256
27262e39
SM
12572013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1260 New function.
1261 (redisplay-highlight-region-function): Use it.
1262
1263 * emulation/cua-base.el (cua--explicit-region-start)
1264 (cua--last-region-shifted): Remove.
1265 (cua--deactivate): Use deactivate-mark.
1266 (cua--pre-command-handler-1): Don't handle shift-selection.
1267 (cua--post-command-handler-1): Don't change transient-mark-mode.
1268 (cua--select-keymaps): Use region-active-p rather than
1269 cua--explicit-region-start or cua--last-region-shifted.
1270 (cua-mode): Enable shift-select-mode.
1271
6407822c
LL
12722013-12-08 Leo Liu <sdl.web@gmail.com>
1273
27262e39
SM
1274 * progmodes/flymake.el (flymake-popup-current-error-menu):
1275 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1276 (flymake-posn-at-point-as-event, flymake-popup-menu)
1277 (flymake-make-emacs-menu): Remove. (Bug#16077)
1278
00a2b823
SM
12792013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1280
02033d49
SM
1281 * rect.el (rectangle-mark-mode): Activate mark even if
1282 transient-mark-mode is off (bug#16066).
1283 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1284 is > mark and at bolp.
1285
6f8dfccf
SM
1286 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1287 (region-extract-function): Use it.
1288 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1289 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1290 Delete functions.
1291 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1292 kill-ring-save, kill-region, delete-char, delete-forward-char.
1293 Ignore self-insert-iso.
1294
1295 * emulation/cua-gmrk.el (cua--init-global-mark):
1296 Ignore `self-insert-iso'.
1297
1298 * emulation/cua-base.el (cua--prefix-copy-handler)
1299 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1300 checking cua--rectangle.
1301 (cua-delete-region): Use region-extract-function.
1302 (cua-replace-region): Delete function.
1303 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1304 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1305 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1306 (cua--init-keymaps): Don't remap delete-selection commands.
1307 (cua-mode): Use delete-selection-mode instead of rolling our own
1308 (bug#16085).
1309
1310 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1311 Obey region-extract-function.
1312
00a2b823
SM
1313 Make registers and delete-selection-mode work on rectangles.
1314 * register.el (describe-register-1): Don't modify the register's value.
1315 (copy-to-register): Obey region-extract-function.
1316 * delsel.el (delete-active-region): Obey region-extract-function.
1317
a92fa5f1
LL
13182013-12-08 Leo Liu <sdl.web@gmail.com>
1319
1320 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1321 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1322 (flymake-compilation-prevents-syntax-check)
1323 (flymake-start-syntax-check-on-newline)
1324 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1325 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1326 (flymake-xml-program, flymake-master-file-dirs)
1327 (flymake-master-file-count-limit)
1328 (flymake-allowed-file-name-masks): Relocate.
1329 (flymake-makehash, flymake-float-time)
1330 (flymake-replace-regexp-in-string, flymake-split-string)
1331 (flymake-get-temp-dir): Remove.
1332 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1333 (flymake-current-row, flymake-selected-frame)
1334 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1335 related functions. (Bug#16077)
1336
73c8ceea
BB
13372013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1338
1339 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1340
faec28d9
TH
13412013-12-07 Tassilo Horn <tsdh@gnu.org>
1342
1343 * help-fns.el (describe-function-1): Use new advice-* functions
1344 rather than old ad-* functions. Fix function type description and
1345 source links for advised functions and subrs.
1346
e330b646
LMI
13472013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1348
00a2b823 1349 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1350
4803595d
MA
13512013-12-06 Michael Albinus <michael.albinus@gmx.de>
1352
1353 * progmodes/compile.el (compilation-start):
1354 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1355
1356 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1357 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1358
fa834a93
DG
13592013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1360
00a2b823
SM
1361 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1362 Touch up the last change.
fa834a93 1363
b2856a6f
LL
13642013-12-06 Leo Liu <sdl.web@gmail.com>
1365
1366 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1367 (inferior-octave-startup): Always use "octave> " for prompt.
1368 (octave-goto-function-definition)
1369 (octave-sync-function-file-names)
1370 (octave-find-definition-default-filename): Remove redundant backquotes.
1371
af67e79a
DG
13722013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1373
1374 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1375 syntax for `?'.
1376 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1377 where appropriate already.
1378 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1379 end of method names (Bug#15874).
1380
bf093209
JL
13812013-12-06 Juri Linkov <juri@jurta.org>
1382
1383 * isearch.el (isearch--saved-overriding-local-map):
1384 New internal variable.
1385 (isearch-mode): Set it to the initial value of
1386 `overriding-terminal-local-map'.
1387 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1388 with `isearch--saved-overriding-local-map'. (Bug#16035)
1389
16588fad
DG
13902013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1391
00a2b823
SM
1392 * progmodes/octave.el (inferior-octave-completion-table):
1393 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1394 (Bug#11906). Update all references.
1395
1396 * minibuffer.el (completion-table-with-cache): New function.
1397
bf4906d7
CD
13982013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1399
1400 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1401
ff69c18f
TZ
14022013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1403
1404 * net/eww.el (eww-current-source): New variable to store page
1405 source.
1406 (eww-display-html, eww-mode, eww-save-history)
1407 (eww-restore-history): Use it.
1408 (eww-view-source): New command to view page source.
1409 Opportunistically uses `html-mode' to highlight the buffer.
1410 (eww-mode-map): Install it.
1411
b85eff45
MA
14122013-12-05 Michael Albinus <michael.albinus@gmx.de>
1413
1414 * net/dbus.el (dbus-unregister-service)
1415 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1416 Fix docstring.
1417 (dbus-unregister-service): Skip :serial entries in
1418 `dbus-registered-objects-table'.
1419 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1420
39eb0899
TZ
14212013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1422
1423 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1424 around keywords with extra `split-string' argument.
1425
456760a5
MR
14262013-12-04 Martin Rudalics <rudalics@gmx.at>
1427
1428 * windmove.el (windmove-other-window-loc): Handle navigation
1429 between windows (excluding the minibuffer window - Bug#16017).
1430
81961e4c
MA
14312013-12-04 Michael Albinus <michael.albinus@gmx.de>
1432
1433 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1434 in D-Bus type syntax.
1435 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1436 preserve unibyte strings. (Bug#16048)
1437
8497f938
SM
14382013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1441 Call force-mode-line-update is the proper buffer (bug#16042).
1442
dda61916
DG
14432013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1444
1445 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1446 `log-edit-remember-comment', make argument optional. Adjust all
1447 callers.
1448 (log-edit-mode): Add `log-edit-remember-comment' to
1449 `kill-buffer-hook' locally.
1450 (log-edit-kill-buffer): Don't remember comment explicitly since
1451 the buffer is killed anyway.
1452
c085e5b9
JL
14532013-12-04 Juri Linkov <juri@jurta.org>
1454
1455 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1456 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1457
e0eb0550 14582013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1459
1460 * notifications.el (notifications-close-notification): Call the
81961e4c 1461 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1462
39fa32d6
KY
14632013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1464
1465 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1466
9139632a
JL
14672013-12-03 Juri Linkov <juri@jurta.org>
1468
1469 * progmodes/compile.el (compilation-start): Rename window alist
1470 entry `no-display-ok' to `allow-no-window'.
1471
1472 * simple.el (shell-command): Add window alist entry
1473 `allow-no-window' to `display-buffer'.
1474 (async-shell-command): Doc fix.
1475
1476 * window.el (display-buffer-no-window): New action function.
1477 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1478
0f457a37
DG
14792013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1480
1481 * vc/log-edit.el (log-edit-set-header): Extract from
1482 `log-edit-toggle-header'.
1483 (log-edit-extract-headers): Separate the summary, when extracted
1484 from header, from the rest of the message with an empty line.
1485
1486 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1487 line, if present, to the Summary header.
1488
0962f376
SM
14892013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1492 in current-buffer (bug#16029).
1493
f345395c
HE
14942013-12-02 Helmut Eller <eller.helmut@gmail.com>
1495
1496 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1497 (debugger-mode-map): Bind it.
1498 (debugger--backtrace-base): New function.
1499 (debugger-eval-expression): Use it.
1500 (debugger-frame-number): Skip local vars when present.
1501 (debugger--locals-visible-p, debugger--insert-locals)
1502 (debugger--show-locals, debugger--hide-locals): New functions.
1503
a8a15d9d
MA
15042013-12-02 Michael Albinus <michael.albinus@gmx.de>
1505
1506 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1507 "LC_ALL".
1508 (tramp-get-remote-locale): New defun.
1509 (tramp-open-connection-setup-interactive-shell): Use it.
1510
0518b057
LL
15112013-12-02 Leo Liu <sdl.web@gmail.com>
1512
1513 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1514
1515 * progmodes/sh-script.el (sh-shell-process):
1516 * progmodes/octave.el (inferior-octave-process-live-p):
1517 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1518 (gdb-inferior-io-sentinel):
1519 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1520
3adc9c6d
DG
15212013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1522
1523 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1524 `save-selected-window' to `log-edit-hide-buf'. This makes
1525 `log-edit-show-files' idempotent.
1526 (log-edit-show-files): Mark the new window as dedicated.
1527
47e8b74e
DG
15282013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1529
1530 * vc/log-edit.el (log-edit-mode-map): Add binding for
1531 `log-edit-kill-biffer'.
1532 (log-edit-hide-buf): Add a FIXME comment.
1533 (log-edit-add-new-comment): New function, extracted from
1534 `log-edit-done'.
1535 (log-edit-done, log-edit-add-to-changelog): Use it.
1536 (log-edit-kill-buffer): New command.
1537
1f6e1bb0
LMI
15382013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1539
1540 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1541 instead of killing the buffer.
1542
fb651d15
SM
15432013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1546
8feacce0
RS
15472013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1548
fb651d15 1549 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1550 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1551 (eww-form-checkbox, eww-toggle-checkbox):
1552 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1553
e0eb0550 1554 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1555 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1556 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1557 no :src tag was specified.
1558
fb651d15 1559 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1560 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1561 Use \\` to match beginning of string instead of ^.
1562 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1563 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1564
177948a5
RS
1565 * net/shr.el (shr-tag-video): Display content for video if no
1566 poster is available.
eb2dd24d 1567 (shr-tag-audio): Add support for <audio> tag.
177948a5 1568
e0eb0550 1569 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1570 (eww-process-text-input): Treat input types in
1571 `eww-text-input-types' as text.
1572
8feacce0
RS
1573 * net/shr.el (shr-tag-table): Fix comment typo.
1574
513562a1
LMI
15752013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1576
1577 * net/eww.el (eww-follow-link): New command to avoid reloading
1578 pages when we follow #target links (bug#15243).
de8a5633 1579 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1580
9dd99753
KN
15812013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1582
1583 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1584 forms.
1585
3e9876de
LMI
15862013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1587
1588 * net/eww.el (eww-restore-history): Update the window title after
1589 moving in the history.
ab6dea82 1590 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1591
52789f7f
DG
15922013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1593
1594 * vc/log-edit.el (log-edit-mode-map): Add binding for
1595 `log-edit-beginning-of-line'.
1596 (log-edit-setup-add-author): New user option.
1597 (log-edit-beginning-of-line): New command.
1598 (log-edit): Move major mode call above the contents setup so that
1599 the local variable values are already applied.
1600 (log-edit): Only insert "Author: " when
1601 `log-edit-setup-add-author' is non-nil.
1602 (log-edit): When SETUP is non-nil, position point after ": "
1603 instead of point-min.
1604
2e6710c3
GM
16052013-12-01 Glenn Morris <rgm@gnu.org>
1606
1607 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1608
fadec31f
EZ
16092013-11-30 Eli Zaretskii <eliz@gnu.org>
1610
1611 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1612 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1613 visible. (Bug#16014)
1614
10634b40 16152013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1616
1617 Support resizing frames and windows pixelwise.
1618 * cus-start.el (frame-resize-pixelwise)
1619 (window-resize-pixelwise): New entries.
1620 * emacs-lisp/debug.el (debug): Use window-total-height instead
1621 of window-total-size.
1622 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1623 * help.el (describe-bindings-internal): Call help-buffer
1624 (temp-buffer-max-width): New option.
1625 (resize-temp-buffer-window, help-window-setup)
1626 (with-help-window): Rewrite.
1627 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1628 dragging dividers.
1629 * window.el (frame-char-size, window-min-pixel-height)
1630 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1631 (window-min-pixel-width, window-safe-min-pixel-size)
1632 (window-combination-p, window-safe-min-size)
1633 (window-resizable-p, window--size-to-pixel)
1634 (window--pixel-to-size, window--resize-apply-p): New functions.
1635 (window-safe-min-height): Fix doc-string.
1636 (window-size, window-min-size, window--min-size-1)
1637 (window-sizable, window-sizable-p, window--min-delta-1)
1638 (window-min-delta, window--max-delta-1, window-max-delta)
1639 (window--resizable, window--resizable-p, window-resizable)
1640 (window-full-height-p, window-full-width-p, window-at-side-p)
1641 (window--in-direction-2, window-in-direction)
1642 (window--resize-reset-1, window--resize-mini-window)
1643 (window-resize, window-resize-no-error)
1644 (window--resize-child-windows-normal)
1645 (window--resize-child-windows, window--resize-siblings)
1646 (window--resize-this-window, window--resize-root-window)
1647 (window--resize-root-window-vertically)
1648 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1649 (maximize-window, minimize-window, delete-window)
1650 (quit-restore-window, window-split-min-size, split-window)
1651 (balance-windows-2, balance-windows)
1652 (balance-windows-area-adjust, balance-windows-area)
1653 (window--state-get-1, window-state-get, window--state-put-1)
1654 (window--state-put-2, window-state-put)
fb651d15
SM
1655 (display-buffer-record-window, window--display-buffer):
1656 Make functions handle pixelwise sizing of windows.
880e6158 1657 (display-buffer--action-function-custom-type)
fb651d15
SM
1658 (display-buffer-fallback-action):
1659 Add display-buffer-in-previous-window.
880e6158
MR
1660 (display-buffer-use-some-window): Resize window to height it had
1661 before.
1662 (fit-window-to-buffer-horizontally): New option.
1663 (fit-frame-to-buffer): Describe new values.
1664 (fit-frame-to-buffer-bottom-margin): Replace with
1665 fit-frame-to-buffer-margins.
1666 (window--sanitize-margin): New function.
1667 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1668 using window-text-pixel-size.
1669
f9b697dd
GM
16702013-11-30 Glenn Morris <rgm@gnu.org>
1671
3e2fb4db
GM
1672 * emacs-lisp/bytecomp.el (byte-compile-form):
1673 Make the `interactive-only' warning like the `obsolete' one.
1674 * comint.el (comint-run):
1675 * files.el (insert-file-literally, insert-file):
1676 * replace.el (replace-string, replace-regexp):
1677 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1678 (goto-line, insert-buffer, next-line, previous-line):
1679 Tweak `interactive-only' spec.
1680
f9b697dd
GM
1681 Stop keeping (most) generated cedet grammar files in the repository.
1682 * Makefile.in (semantic): New.
1683 (compile-main): Depend on semantic.
1684
da048127
SM
16852013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1686
7784b779
SM
1687 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1688 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1689
4e36a6a6
SM
1690 * uniquify.el (uniquify-buffer-name-style): Change default.
1691
1692 * loadup.el: Preload "uniquify".
1693
e0ba1308
SM
1694 * time.el (display-time-update): Update all mode lines (bug#15999).
1695
da048127
SM
1696 * electric.el (electric-indent-mode): Enable by default.
1697 * loadup.el: Preload "electric".
1698
015b3b3e
BB
16992013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1700
1701 * emacs-lisp/helpers.el (string-empty-p): New function.
1702 (string-blank-p): New function.
1703
7efb806d
AP
17042013-11-29 Andreas Politz <politza@hochschule-trier.de>
1705
1706 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1707 (Bug#14029).
1708
c8f0efc2
AP
17092013-11-29 Andreas Politz <politza@fh-trier.de>
1710 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1711 allow non-lambda lists as functions.
1712 (imenu--in-alist): Don't recurse into non-subalists.
1713 (imenu): Don't pass function itself as an argument (Bug#14029).
1714
bd15d9d1
SM
17152013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * progmodes/python.el (python-mode-map): Remove binding for ":".
1718 (python-indent-electric-colon): Remove command.
1719 (python-indent-post-self-insert-function): Integrate the previous code
1720 of python-indent-electric-colon. Make it conditional on
1721 electric-indent-mode.
1722 (python-mode): Add ?: to electric-indent-chars.
1723 Move python-indent-post-self-insert-function to the end of
1724 post-self-insert-hook.
1725
1b10adb6
SM
17262013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1727
655ab9a3
SM
1728 * doc-view.el (doc-view-goto-page): Update mode-line.
1729
1b10adb6
SM
1730 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1731
7e3bf78c
GM
17322013-11-27 Glenn Morris <rgm@gnu.org>
1733
1734 * international/charprop.el, international/uni-bidi.el:
1735 * international/uni-category.el, international/uni-combining.el:
1736 * international/uni-comment.el, international/uni-decimal.el:
1737 * international/uni-decomposition.el, international/uni-digit.el:
1738 * international/uni-lowercase.el, international/uni-mirrored.el:
1739 * international/uni-name.el, international/uni-numeric.el:
1740 * international/uni-old-name.el, international/uni-titlecase.el:
1741 * international/uni-uppercase.el:
1742 Remove generated files from VCS repository.
1743
fb6a5d68
EZ
17442013-11-27 Eli Zaretskii <eliz@gnu.org>
1745
1746 * filenotify.el (file-notify-add-watch): Don't special-case
1747 w32notify when computing the directory to watch.
1748
cb6c95a3
GM
17492013-11-27 Glenn Morris <rgm@gnu.org>
1750
20372d0c
GM
1751 Make bootstrap without generated uni-*.el files possible again.
1752 * loadup.el: Update command-line-args checking for unidata-gen.
1753 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1754 * composite.el, international/characters.el:
1755 Handle unicode tables being undefined.
1756
52d6635f 1757 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1758 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1759 (compile-main): Depend on leim rule.
1760 (leim): New rule.
1761 * loadup.el: Move leim-list.el to leim/ subdirectory.
1762 * startup.el (normal-top-level): No more leim directory.
1763 * international/ja-dic-cnv.el (skkdic-convert):
1764 Disable version-control and autoloads in output files.
1765 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1766 Disable version-control and autoloads in output files.
1767 * leim/quail: Move here from ../leim.
1768 * leim/quail/hangul.el (hangul-input-method-activate):
1769 Add autoload cookie.
1770 (generated-autoload-load-name): Set file-local value.
1771 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1772 (generated-autoload-load-name): Set file-local value.
1773
7514d3f8 17742013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 1775
e0eb0550 1776 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 1777 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 1778 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1779
0e2c793f
EZ
17802013-11-26 Eli Zaretskii <eliz@gnu.org>
1781
1782 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1783 reading output from Diff on MS-Windows and MS-DOS.
1784
447bdcb8
BB
17852013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1786
1787 * emacs-lisp/helpers.el (string-reverse): New function.
1788
5fbf6856
MA
17892013-11-26 Michael Albinus <michael.albinus@gmx.de>
1790
1791 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1792 names on MS Windows, like "/[::1]:".
1793
1794 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1795 SWITCHES.
1796
624780f0
GM
17972013-11-26 Glenn Morris <rgm@gnu.org>
1798
0bf3f0fa
GM
1799 * progmodes/python.el (python-indent-guess-indent-offset):
1800 Avoid corner-case error. (Bug#15975)
1801
624780f0
GM
1802 Preload leim-list.el. (Bug#4789)
1803 * loadup.el: Load leim-list.el when found.
1804 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1805
4301875e 18062013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1807
1808 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1809
4301875e
BB
1810 * emacs-lisp/helpers.el (string-join): New function.
1811
1633a815 18122013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1813
1814 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1815 Mark as obsolete and replace it with a symbol property.
1816 (byte-compile-form): Use new 'interactive-only property.
1817 * comint.el, files.el, replace.el, simple.el:
1818 Apply new 'interactive-only properly.
1819
00139435
MR
18202013-11-25 Martin Rudalics <rudalics@gmx.at>
1821
1822 * window.el (display-buffer-at-bottom): Make sure that
1823 split-window-sensibly creates the new window on bottom
1824 (Bug#15961).
1825
5f5b128d
DK
18262013-11-23 David Kastrup <dak@gnu.org>
1827
1828 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1829 on the conflict markers when available.
1830 (smerge--get-marker): New function.
1831 (smerge-end-re, smerge-base-re): Add subgroup.
1832
623891e5
SM
18332013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * frame.el (handle-focus-in, handle-focus-out): Add missing
1836 interactive spec.
1837
05ca27d8
MA
18382013-11-25 Michael Albinus <michael.albinus@gmx.de>
1839
1840 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1841 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1842
511fa0d3
SM
18432013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1844
e82ad66c
SM
1845 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1846 (gomoku--last-pos): New var.
1847 (gomoku--intangible-chars): New const.
1848 (gomoku--intangible): New function.
1849 (gomoku-mode): Use it. Derive from special-mode.
1850 (gomoku-move-up): Adjust line count.
1851 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1852 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1853 Simplify accordingly.
1854
511fa0d3
SM
1855 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1856 Remove blink-cursor code.
1857 (blink-cursor-timer-function, blink-cursor-suspend):
1858 Don't special-case GUIs.
1859 (blink-cursor-mode): Use focus-in/out-hook.
1860
6f20dd03
DG
18612013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1862
1863 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1864 work when annotation is invisible (Bug#13886).
1865
431dec31 18662013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1867
1868 * json.el (json-alist-p): Only return non-nil if the alist has
1869 simple keys (Bug#13518).
1870
431dec31 18712013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1872
1873 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1874 when control-statement is the first statement in a buffer (Bug#15956).
1875
ee4f0261
DG
18762013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1877
1878 * imenu.el (imenu-generic-skip-comments-and-strings):
1879 New option (Bug#15560).
1880 (imenu--generic-function): Use it.
1881
c484f866
JS
18822013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1883
e9dc713d
JB
1884 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1885 (Bug#13898)
c484f866 1886
41ce6f70
BB
18872013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1888
b55aea38
BB
1889 * emacs-lisp/helpers.el: Add some string helpers.
1890 (string-trim-left): Removes leading whitespace.
1891 (string-trim-right): Removes trailing whitespace.
1892 (string-trim): Removes leading and trailing whitespace.
1893
41ce6f70
BB
1894 * subr.el (string-suffix-p): New function.
1895
3cfb6af3
GM
18962013-11-23 Glenn Morris <rgm@gnu.org>
1897
1898 * progmodes/python.el (python-shell-send-file):
1899 Add option to delete file when done. (Bug#15647)
1900 (python-shell-send-string, python-shell-send-region): Use it.
1901
c27924b7
IS
19022013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1903
e1b01c7f
IS
1904 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1905 to set buffer-read-only to t, never to nil. (Bug#15938)
1906
c27924b7
IS
1907 * textmodes/tex-mode.el (latex-noindent-environments):
1908 Add safe-local-variable property. (Bug#15936)
1909
17e0445b
GM
19102013-11-23 Glenn Morris <rgm@gnu.org>
1911
92f78ea3
GM
1912 * textmodes/enriched.el (enriched-mode): Doc fix.
1913 * emacs-lisp/authors.el (authors-renamed-files-alist):
1914 Add enriched.doc -> enriched.txt.
1915
17e0445b
GM
1916 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1917
965bb23a
LL
19182013-11-22 Leo Liu <sdl.web@gmail.com>
1919
1920 * progmodes/octave.el (inferior-octave-startup): Spit out error
1921 message.
1922
d19ffd64
BB
19232013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1924
1925 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1926 Improve docstring.
15ba2182
BB
1927 Add :version.
1928 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1929
7a7567d2
LL
19302013-11-22 Leo Liu <sdl.web@gmail.com>
1931
1932 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1933 (Bug#15076)
8c09f64b
LL
1934 (octave-help-mode): Adapt to change to help-mode-finish to use
1935 derived-mode-p on 2013-09-17.
1936 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1937 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1938
724bc265
LL
19392013-11-22 Leo Liu <sdl.web@gmail.com>
1940
1941 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1942 (inferior-octave-startup, inferior-octave-check-process)
1943 (inferior-octave-track-window-width-change)
1944 (octave-completion-at-point, octave-eldoc-function): Use it.
1945 (octave-kill-process): Provide confirmation. (Bug#10564)
1946
38637cca
LL
19472013-11-21 Leo Liu <sdl.web@gmail.com>
1948
511fa0d3
SM
1949 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1950 Fix obsolete variable comment-use-global-state.
38637cca 1951
06e752b4
RS
19522013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1953
511fa0d3
SM
1954 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1955 Add `octave-source-file'.
06e752b4
RS
1956 (octave-source-file): New function. (Bug#15935)
1957
7514d3f8 19582013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
1959
1960 * net/eww.el (eww-local-regex): New variable.
1961 (eww): Use it to detect localhost and similar.
1962
b6ffa04a
LL
19632013-11-21 Leo Liu <sdl.web@gmail.com>
1964
1965 Add completion for command `ag'.
2021a200
LL
1966 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1967 (pcomplete/ag): New function.
e9dc713d 1968 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1969
d1a6bccc
SM
19702013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1973 (bug#14646).
1974 (make-obsolete): Remove interactive spec.
1975
2df10228
GM
19762013-11-21 Glenn Morris <rgm@gnu.org>
1977
1978 * startup.el (command-line-1): Use path-separator with -L.
1979
86fd16b6
TZ
19802013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1981
1982 * emacs-lisp/package.el (describe-package-1): Add package archive
1983 to shown fields.
1984
0449d6cd 19852013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1986
1987 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1988 Change default to "# encoding: %s" to differentiate it from the
1989 default Ruby encoding comment template.
1990
dc7e8c17 19912013-11-20 era eriksson <era+emacsbugs@iki.fi>
1992
1993 * ses.el (ses-mode): Doc fix. (Bug#14748)
1994
f0cfa5fe
LL
19952013-11-20 Leo Liu <sdl.web@gmail.com>
1996
1997 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1998
826dc7b6
DN
19992013-11-19 Dan Nicolaescu <dann@gnu.org>
2000
2001 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2002 when rebase or bisect are in progress.
2003
a6e3a5d5
XF
20042013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2005
2006 * filenotify.el (file-notify-add-watch): Doc fix.
2007
f130cb76
LL
20082013-11-19 Leo Liu <sdl.web@gmail.com>
2009
e0855d7d
LL
2010 * obsolete/rcompile.el: Mark obsolete.
2011
f130cb76 2012 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2013 (compilation-goto-locus, compilation-find-file):
2014 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2015 (Bug#13594)
2016
2017 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2018 new parameter no-display-ok. Return either a window or nil
2019 but never a non-window value.
f130cb76 2020
1f35d401
SM
20212013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2022
25158c76
SM
2023 * electric.el (electric-indent-mode-map): Remove.
2024 (electric-indent-mode): Change the global-map instead (bug#15915).
2025
2026 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2027 Use add-function.
1f35d401 2028
9bc67baa
SM
20292013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2030
986545b5
SM
2031 * emacs-lisp/nadvice.el (remove-function): Align with
2032 add-function's behavior.
2033
9bc67baa
SM
2034 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2035 (gdb--string-regexp): New constant.
2036 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2037 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2038 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2039 submatch 1.
2040 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2041 Adjust use accordingly.
2042 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2043
56cd894e
AS
20442013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2045
2046 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2047 interpolation curlies (Bug#15914).
2048
014690de
JB
20492013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2050
2051 * calc/calc.el (calc-context-sensitive-enter): New variable.
2052 (calc-enter): Use `calc-context-sensitive-enter'.
2053
7e26a6c3
TZ
20542013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2055
2056 * progmodes/cfengine.el: Version bump.
2057 (cfengine-cf-promises): New defcustom to locate cf-promises.
2058 (cfengine3-vartypes): Add new "data" type.
2059 (cfengine3--current-word): New function to get current name-like
2060 word or its bounds.
2061 (cfengine3--current-function): New function to look up a CFEngine
2062 function's definition.
2063 (cfengine3-format-function-docstring): New function.
2064 (cfengine3-make-syntax-cache): New function.
2065 (cfengine3-documentation-function): New function: ElDoc glue.
2066 (cfengine3-completion-function): New function: completion glue.
2067 (cfengine3-mode): Set `compile-command',
2068 `eldoc-documentation-function', and add to
2069 `completion-at-point-functions'.
2070
355204dd
MA
20712013-11-16 Michael Albinus <michael.albinus@gmx.de>
2072
2073 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2074 `tramp-current-connection'.
2075
43cebc23
DG
20762013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2077
2078 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2079 nil/self/true/false with "end of symbol".
2080
a3fed6ff
BB
20812013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2082
2083 * subr.el (version-regexp-alist): Fix a typo.
2084
e675b3e4
MA
20852013-11-15 Michael Albinus <michael.albinus@gmx.de>
2086
2087 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2088 "en_US.utf8" and "LC_CTYPE" to "".
2089 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2090 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2091
a1f03e89
LL
20922013-11-15 Leo Liu <sdl.web@gmail.com>
2093
2094 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2095
5d9d9451
SM
20962013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2097
58362662
CS
2098 * progmodes/gud.el (ctl-x-map):
2099 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2100 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2101
6c1bf086
BB
21022013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2103
0d5363c4
BB
2104 * subr.el (version-regexp-alist):
2105 Recognize hg, svn and darcs versions as snapshot versions.
2106
4e9fc48c
BB
2107 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2108 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2109 (ruby--encoding-comment-required-p): Extract from
2110 `ruby-mode-set-encoding'.
2111 (ruby-mode-set-encoding): Add the ability to always insert an
2112 utf-8 encoding comment. Fix and simplify coding comment update
2113 logic.
6c1bf086 2114
2f7e72f8
MA
21152013-11-14 Michael Albinus <michael.albinus@gmx.de>
2116
2117 * net/tramp-gvfs.el (top): Run init code only when
2118 `tramp-gvfs-enabled' is not nil.
2119 (tramp-gvfs-enabled): Check also :system bus.
2120
0f137a73
SM
21212013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 Sync with upstream verilog-mode revision 78e66ba.
2124 * progmodes/verilog-mode.el (verilog-end-of-defun)
2125 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2126 (verilog-get-end-of-defun): Remove unused argument.
2127 (verilog-comment-depth): Remove unused local `e'.
2128 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2129 Don't pass arg to verilog-get-end-of-defun.
2130
1c276bdd
GM
21312013-11-14 Glenn Morris <rgm@gnu.org>
2132
2133 * obsolete/assoc.el (aget): Prefix dynamic variable.
2134
2135 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2136
ff6ec81d
SM
21372013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * widget.el, hfy-cmap.el: Remove bogus package version number.
2140
75f777b6
GM
21412013-11-13 Glenn Morris <rgm@gnu.org>
2142
1d43dba1
GM
2143 * replace.el (replace-eval-replacement):
2144 Try to give more helpful error message. (Bug#15836)
2145
ff4b7bd5
GM
2146 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2147 (archive-7z-update): Avoid custom type mismatches.
2148
75f777b6
GM
2149 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2150
11151a06
MA
21512013-11-13 Michael Albinus <michael.albinus@gmx.de>
2152
e675b3e4 2153 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2154 address can be empty.
2155
2156 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2157 Accept nil SWITCHES.
2158 (tramp-gvfs-handle-write-region): Implement APPEND.
2159
7b08f97e
DG
21602013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2161
2162 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2163 binary "|" operator and closing block args delimiter.
2164 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2165 (ruby-smie--implicit-semi-p): Not after "|" operator.
2166 (ruby-smie--closing-pipe-p): New function.
2167 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2168 (ruby-smie-rules): Indent after "|".
2169
f201cf3a
GM
21702013-11-12 Glenn Morris <rgm@gnu.org>
2171
2172 * ps-print.el (ps-face-attribute-list):
2173 Handle anonymous faces. (Bug#15827)
2174
e6f759f9
MR
21752013-11-12 Martin Rudalics <rudalics@gmx.at>
2176
2177 * window.el (display-buffer-other-frame): Fix doc-string.
2178 (Bug#15868)
2179
ecda65d4
SM
21802013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2183
7ce8fcc3
MA
21842013-11-11 Michael Albinus <michael.albinus@gmx.de>
2185
2186 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2187 (tramp-sh-handle-file-local-copy): Don't write a message when
2188 saving temporary files.
2189
2190 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2191 both directories are remote.
2192 (tramp-smb-handle-directory-files): Do not return double entries.
2193 Do not expand full file names.
2194 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2195 (tramp-smb-handle-write-region): Implement APPEND.
2196 (tramp-smb-get-stat-capability): Fix a stupid bug.
2197
7818df11
SM
21982013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2199
2200 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2201
608c2085
NT
22022013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2203
2204 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2205 throwing error over malformed let/let* (bug#15814).
2206
122a7e46
SM
22072013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * iswitchb.el (iswitchb-mode): Mark obsolete.
2210
766284d9
GM
22112013-11-11 Glenn Morris <rgm@gnu.org>
2212
2213 * international/uni-bidi.el, international/uni-category.el:
2214 * international/uni-name.el, international/uni-numeric.el:
2215 Regenerate for Unicode 6.3.0.
2216
7072a4e9
MA
22172013-11-10 Michael Albinus <michael.albinus@gmx.de>
2218
2219 * net/tramp.el (tramp-methods):
2220 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2221 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2222
c9df215b
AS
22232013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2224
608c2085
NT
2225 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2226 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2227
fa47d796
DG
22282013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2229
2230 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2231 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2232 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2233 (ispell-complete-word): Call `ispell-lookup-words' with the value
2234 independent of `ispell-look-p'.
2235
1629a329
DG
22362013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2237
2238 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2239 Not after "||".
2240 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2241 their parent.
2242
ad16897c
SM
22432013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2246 (ruby-font-lock-keywords): Use backquote.
2247
ffa2df72
DG
22482013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2249
2250 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2251 (ruby-smie--backward-token): Only consider full-string matches.
2252
5b97b4c0
JD
22532013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2254
2255 * faces.el (describe-face): Add distant-foreground.
2256
71731c03
BB
22572013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2258
4e9fc48c
BB
2259 * progmodes/ruby-mode.el: Improve encoding comment handling.
2260 (ruby-encoding-magic-comment-style): New option.
2261 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2262 (ruby--insert-coding-comment, ruby--detect-encoding):
2263 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2264 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2265 to control the style of the auto-inserted encoding comment.
71731c03 2266
da3b328d
DG
22672013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2268
ad16897c
SM
2269 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2270 Use `smie-backward-sexp' with token argument.
da3b328d 2271
1606c2d3
MA
22722013-11-08 Michael Albinus <michael.albinus@gmx.de>
2273
2274 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2275 Remove instrumentation code.
2276
b0f4c320
GM
22772013-11-08 Glenn Morris <rgm@gnu.org>
2278
2279 * progmodes/autoconf.el (autoconf-mode):
2280 Tweak comment-start-skip. (Bug#15822)
2281
43668fb1
SM
22822013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2285 at bobp (bug#15826).
2286 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2287
daddb3fd
DH
22882013-11-08 Darren Hoo <darren.hoo@gmail.com>
2289
2290 * man.el (Man-start-calling): New macro, extracted from
2291 Man-getpage-in-background.
2292 (Man-getpage-in-background): Use it.
2293 (Man-update-manpage): New command.
2294 (Man-mode-map): Bind it.
2295
1f923923
DG
22962013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2297
2298 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2299 of "and", "or", "&&" and "||".
2300 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2301 argument. Prohibit opening curly brace because it could only be a
2302 block opener in that position.
daddb3fd
DH
2303 (ruby-smie--forward-token, ruby-smie--backward-token):
2304 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2305 arguments.
2306 (ruby-smie--indent-to-stmt): New function, seeks the end of
2307 previous statement or beginning of buffer.
2308 (ruby-smie-rules): Use it.
2309 (ruby-smie-rules): Check if there's a ":" before a curly block
2310 opener candidate; if there is, it's a hash.
2311
3220d527
SM
23122013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2313
2314 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2315 (cl--block-wrapper): Fix last accidental change.
2316
1eb1f9e0
MA
23172013-11-07 Michael Albinus <michael.albinus@gmx.de>
2318
2319 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2320 Instrument, in order to hunt failure on hydra.
2321
e6e4db3c
NT
23222013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2323
2324 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2325 malformed bindings form (bug#15814).
2326
b420ccfc
DG
23272013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2328
2329 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2330 "." compared to " @ ". This incidentally fixes some indentation
2331 examples with "do".
e6e4db3c 2332 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2333 (ruby-smie-grammar): New tokens: "and" and "or".
2334 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2335 Exclude "and" and "or". Remove "do" in order to work around token
2336 priorities.
2337 (ruby-smie-rules): Add all infix tokens. Handle the case of
2338 beginning-of-buffer.
b420ccfc 2339
6b4ac03e
GM
23402013-11-06 Glenn Morris <rgm@gnu.org>
2341
2342 * Makefile.in (setwins_almost, setwins_for_subdirs):
2343 Avoid accidental matches.
2344
5ca114d1
SM
23452013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * menu-bar.el (popup-menu): Use key-binding.
2348
f72552bd
EZ
23492013-11-06 Eli Zaretskii <eliz@gnu.org>
2350
2351 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2352 menus, support also the menus produced by minor modes.
2353 (Bug#15817)
2354
5d5c701e
LL
23552013-11-06 Leo Liu <sdl.web@gmail.com>
2356
2357 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2358 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2359
0a8b75e2
GM
23602013-11-06 Glenn Morris <rgm@gnu.org>
2361
2362 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2363 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2364 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2365
a35287ea
SM
23662013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2367
feca4e2d
SM
2368 * electric.el (electric-indent-just-newline): New command.
2369 (electric-indent-mode-map): New keymap.
2370 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2371 Re-add :group which weren't redundant.
2372
a35287ea
SM
2373 * electric.el (electric-indent-local-mode): New minor mode.
2374 (electric-indent-functions-without-reindent): New var.
2375 (electric-indent-post-self-insert-function): Use it.
2376 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2377
375761b2
EZ
23782013-11-05 Eli Zaretskii <eliz@gnu.org>
2379
9a6ad735
EZ
2380 * international/quail.el (quail-help): Be more explicit about the
2381 meaning of the labels shown on the keys. (Bug#15800)
2382
375761b2
EZ
2383 * startup.el (normal-top-level): Load the subdirs.el files before
2384 setting the locale environment. (Bug#15805)
2385
520a6e4a
SM
23862013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2387
0acfafef
SM
2388 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2389 via arguments so as to get the right ones (bug#15418).
2390
520a6e4a
SM
2391 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2392
15826261
MA
23932013-11-05 Michael Albinus <michael.albinus@gmx.de>
2394
2395 Fix problems found while writing a test suite.
2396
2397 * net/tramp-compat.el (tramp-compat-load): New defun.
2398 * net/tramp.el (tramp-handle-load): Use it.
2399
2400 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2401 "(numberp ok-if-already-exists)" correctly.
2402
d35f31a4
XF
24032013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2404
2405 * international/characters.el (glyphless-char-display-control):
2406 Add usage note.
2407
ae93bc74
BB
24082013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2409
520a6e4a
SM
2410 * progmodes/python.el (python-mode):
2411 * progmodes/scheme.el (scheme-mode):
2412 * progmodes/prolog.el (prolog-mode):
2413 * progmodes/ruby-mode.el (ruby-mode):
2414 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2415 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2416
0ade65b5
SM
24172013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2418
a0d5f7a4
SM
2419 * rect.el (rectangle--highlight-for-redisplay):
2420 * emacs-lisp/smie.el (smie--next-indent-change):
2421 Use buffer-chars-modified-tick.
2422
c93f3f5c
SM
2423 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2424
0ade65b5
SM
2425 * electric.el (electric-indent-post-self-insert-function):
2426 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2427
ef9dd188
HE
24282013-11-04 Helmut Eller <eller.helmut@gmail.com>
2429
2430 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2431
306e7308
NT
24322013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2433
2434 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2435 (bug#15786).
2436
e5afbcac
SM
24372013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2438
1d01ad41
SM
2439 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2440
e5afbcac
SM
2441 * progmodes/python.el: Fix up last change.
2442 (python-shell--save-temp-file): New function.
2443 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2444 `string' comes from the current buffer.
2445 (python-shell-send-string-no-output): Remove `msg' arg.
2446 (python--use-fake-loc): New var.
2447 (python-shell-buffer-substring): Obey it. Try to compensate for the
2448 extra coding line added by python-shell--save-temp-file.
2449 (python-shell-send-region): Use python-shell--save-temp-file and
2450 python-shell-send-file directly. Add `nomain' argument.
2451 (python-shell-send-buffer): Use python-shell-send-region.
2452 (python-electric-pair-string-delimiter): New function.
2453 (python-mode): Use it.
2454
d0065ff1
EZ
24552013-11-04 Eli Zaretskii <eliz@gnu.org>
2456
2457 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2458 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2459 environment and decoding all of the default-directory's to here
2460 from command-line.
2461 (command-line): Decode also argv[0].
2462
2463 * loadup.el: Error out if default-directory is a multibyte string
2464 when we are dumping.
2465
2466 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2467
7397c587
TZ
24682013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2469
2470 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2471 (package-menu--print-info, package-menu--archive-predicate):
2472 Add Archive column to package list.
7397c587 2473
b27cc9fc
MA
24742013-11-04 Michael Albinus <michael.albinus@gmx.de>
2475
2476 Fix problems found while writing a test suite.
2477
2478 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2479 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2480 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2481 to nil when running original file name handler. Otherwise,
2482 there are problems with constructs like "$$FOO".
2483
2484 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2485 for `localname'.
2486
d8c4f18a
BB
24872013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2488
7b530552
BB
2489 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2490
2491 * subr.el (version<, version<=, version=):
2492 Update docstrings with information for snapshot versions.
2493
d8c4f18a
BB
2494 * helpers.el: New library for misc helper functions.
2495 (hash-table-keys): New function returning a list of hash keys.
2496 (hash-table-values): New function returning a list of hash values.
2497
dca01b09
DG
24982013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2499
2500 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2501 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2502
0a749fa0
MN
25032013-11-04 Michal Nazarewicz <mina86@mina86.com>
2504
2505 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2506 checking whether point is after a 1-letter word.
2507
25082013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2509
2510 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2511 Don't infloop when expanding region over `multiline' syntax-type that
2512 begins a line (bug#15778).
2513
4aca7145
SM
25142013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2515
2516 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2517 Make it into a proper minor mode.
2518 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2519 (rectangle-mark-mode-map): New keymap.
2520 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2521
a0833f62
GM
25222013-11-04 Glenn Morris <rgm@gnu.org>
2523
2524 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2525
e61845c1
SM
25262013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2529 (ruby-smie-rules): Use smie-rule-parent instead.
2530
2531 * emacs-lisp/smie.el (smie-rule-parent): Always call
2532 smie-indent-virtual rather than only for hanging tokens.
2533 (smie--next-indent-change): New helper command.
2534
62942f89
GM
25352013-11-03 Glenn Morris <rgm@gnu.org>
2536
2537 * Makefile.in (abs_srcdir): Remove.
2538 (emacs): Unset EMACSLOADPATH.
2539
b0b9e592
GM
25402013-11-02 Glenn Morris <rgm@gnu.org>
2541
18ba6a33 2542 * Makefile.in (EMACS): Use a relative filename.
8061810d 2543 (abs_top_builddir): Remove.
18ba6a33
GM
2544 (custom-deps, finder-data, autoloads): Use --chdir.
2545
6a8b929e
GM
2546 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2547
c617f3d0
GM
2548 Use relative filenames in TAGS files.
2549 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2550 (lisptagsfiles4, TAGS): Use relative file names.
2551 (TAGS-LISP): Remove.
2552 (maintainer-clean): No more TAGS-LISP file.
2553
b0b9e592
GM
2554 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2555 (lisptagsfiles4): Use absolute filenames again.
2556 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2557 Remove all *loaddefs files, not just the first. Remove esh-groups.
2558 (maintainer-clean): Delete TAGS, TAGS-LISP.
2559
d1c0ea6a
BB
25602013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2561
e61845c1
SM
2562 * emacs-lisp/package.el (package-version-join):
2563 Recognize snapshot versions.
d1c0ea6a 2564
684d71c6
BB
25652013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2566
2567 * subr.el (version-regexp-alist): Add support for snapshot versions.
2568
3d42b968
DG
25692013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2570
e61845c1
SM
2571 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2572 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2573 skip over our direct parent if it's an assignment token..
2574 (ruby-smie-rules): Use it.
2575
7ffd3721
DG
25762013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2577
8449dd1f 2578 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2579 unconditionally. Remove now unnecessary forward declarations.
2580 Remove XEmacs-specific setup.
2581 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2582 (ruby-font-lock-syntactic-keywords)
2583 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2584 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2585 (ruby-here-doc-end-syntax): Remove.
2586 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2587 defined as function.
2588
a3996a2e
BB
25892013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2590
2591 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2592
6f9260e8
BB
25932013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2594
2595 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2596 table and abbrev table, `define-derived-mode' does that for us
2597 anyway.
2598
6014de84
GM
25992013-11-01 Glenn Morris <rgm@gnu.org>
2600
2601 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2602 files is atomic for some time, so no parallel compilation issues).
2603
3c334c14
JD
26042013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2605
2606 * faces.el (face-x-resources): Add :distant-foreground.
2607 (region): Use :distant-foreground for gtk and ns.
2608
9bc236c8
TH
26092013-11-01 Tassilo Horn <tsdh@gnu.org>
2610
5246583b 2611 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2612 BibTeX.
2613 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2614 (reftex-locate-bibliography-files): Us it.
2615
d14c81ee
CB
26162013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2617
0e7690de
CB
2618 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2619 allow comments in pbm files.
2620
d14c81ee
CB
2621 * term/w32-win.el (dynamic-library-alist): Support newer versions
2622 of libjpeg starting with v7: look only for the DLL from the
2623 version against which Emacs was built.
ac1bf374 2624 Support versions of libpng beyond 1.4.x.
019c8218 2625 Support libtiff v4.x.
d14c81ee 2626
983d0df5
BB
26272013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2628
2629 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2630 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2631 Add property :safe.
2632 (ruby-deep-arglist): Add property :type.
2633
47f58d85
GM
26342013-10-31 Glenn Morris <rgm@gnu.org>
2635
2636 * Makefile.in (custom-deps, finder-data): No need to setq the target
2637 variables, we are in the right directory and the defaults work fine.
2638
4f85b479
GM
26392013-10-30 Glenn Morris <rgm@gnu.org>
2640
ca7dd4cd
GM
2641 * Makefile.in (autoloads): Do not use abs_lisp.
2642
4f85b479
GM
2643 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2644 `newline' does not respect `standard-output', so use `princ'.
2645
cf59e41c
AA
26462013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2647
2648 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2649 * buff-menu.el (Buffer-menu--unmark): New function.
2650 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2651
74cf04fb
GM
26522013-10-30 Glenn Morris <rgm@gnu.org>
2653
b040b60e
GM
2654 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2655
f53d3815
GM
2656 * emacs-lisp/package.el (lm-homepage): Declare.
2657
5413d873
GM
2658 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2659 Fix doc typos.
2660
cecedb36
GM
2661 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2662
74cf04fb
GM
2663 * Makefile.in (finder-data, autoloads, update-subdirs)
2664 (compile-main, compile-clean, compile-always, bootstrap-clean):
2665 Check return value of cd.
2666 (compile-calc): Remove.
2667
195ee2f0
SM
26682013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2669
ae4002ce
SM
2670 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2671
2672 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2673 (byte-compile-and-folded): New function.
2674 (=, <, >, <=, >=): Use it.
2675
2676 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2677 (path-separator, null-device, buffer-file-coding-system)
2678 (lpr-headers-switches): Check system-type before modifying them.
2679 (find-buffer-file-type-coding-system): Mark obsolete.
2680 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2681 find-file-not-found-set-buffer-file-coding-system.
2682 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2683 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2684 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2685 (w32-direct-print-region-helper, w32-direct-print-region-function)
2686 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2687 * startup.el (normal-top-level-add-subdirs-to-load-path):
2688 * ps-print.el (ps-print-region-function):
2689 * lpr.el (print-region-function): Use new name.
2690
53b39e89
SM
2691 * subr.el (custom-declare-variable-early): Remove function.
2692 (custom-declare-variable-list): Remove var.
2693 (error, user-error): Remove `while' loop.
2694 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2695 (user-emacs-directory-warning, locate-user-emacs-file):
2696 Move to files.el.
2697 * simple.el (read-quoted-char-radix, read-quoted-char):
2698 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2699 Move from subr.el.
2700 * custom.el (custom-declare-variable-list): Don't process
2701 custom-declare-variable-list.
2702
195ee2f0
SM
2703 * progmodes/python.el (python-shell-get-buffer): New function.
2704 (python-shell-get-process): Use it.
2705 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2706 Python which encoding was used. Don't split-string since we only care
2707 about the first line. Return the temp-file, if applicable.
2708 (python-shell-send-region): Tell compile.el how to turn locations in
2709 the temp-file into locations in the source buffer.
2710
7e3561ee
SM
27112013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2712
4c9797cb
SM
2713 * subr.el (undefined): Add missing behavior from the C code for
2714 unbound keys.
2715
3472b6c6
SM
2716 * rect.el: Use lexical-binding. Add new rectangular region support.
2717 (rectangle-mark): New command.
2718 (rectangle--region): New var.
2719 (deactivate-mark-hook): Reset rectangle--region.
2720 (rectangle--extract-region, rectangle--insert-for-yank)
2721 (rectangle--highlight-for-redisplay)
2722 (rectangle--unhighlight-for-redisplay): New functions.
2723 (region-extract-function, redisplay-unhighlight-region-function)
2724 (redisplay-highlight-region-function): Use them to handle
2725 rectangular region.
2726 * simple.el (region-extract-function): New var.
2727 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2728 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2729 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2730 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2731 (redisplay-unhighlight-region-function)
2732 (redisplay-highlight-region-function): New vars.
2733 (redisplay--update-region-highlight): New function.
2734 (pre-redisplay-function): Use it.
2735 (exchange-point-and-mark): Don't deactivate the mark before
2736 reactivate-it anyway.
2737 * comint.el (comint-kill-region): Remove yank-handler argument.
2738 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2739 (delete-char): Remove property, since it's now part of their
2740 default behavior.
2741 (self-insert-iso): Remove property since this command doesn't exist.
2742
7e3561ee
SM
2743 * emacs-lisp/package.el (package--download-one-archive)
2744 (describe-package-1): Don't query the user about final newline.
2745
b9bef71f
DC
27462013-10-29 Daniel Colascione <dancol@dancol.org>
2747
2748 * net/tramp.el (tramp-methods): Document new functionality.
2749 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2750 tramp-hostname-checker if method provides one instead of scanning
2751 argument list for "%h" to decide hostname acceptability.
2752
4efc33f0
MA
27532013-10-28 Michael Albinus <michael.albinus@gmx.de>
2754
2755 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2756 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2757 Handle COPY-CONTENTS. (Bug#15737)
2758
ed42a877
DU
27592013-10-28 Daiki Ueno <ueno@gnu.org>
2760
2761 * epa-file.el
7e3561ee
SM
2762 (epa-file-cache-passphrase-for-symmetric-encryption):
2763 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2764
18c9f8a2
XF
27652013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2766
7a4bc7be
XF
2767 * image.el (defimage):
2768 (image-load-path): Doc fixes.
18c9f8a2 2769
b1e8e010
AM
27702013-10-27 Alan Mackenzie <acm@muc.de>
2771
2772 Indent statements in macros following "##" correctly.
7e3561ee
SM
2773 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2774 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2775
73d40d1e 27762013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2777
2778 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2779
c8c605ac
DG
27802013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2781
2782 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2783 after `=' is probably a new expression.
2784
ca7e59d4
RS
27852013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2786
2787 * man.el (man-imenu-title): New option.
2788 (Man-mode-map): Add menu. (Bug#15722)
2789 (Man-mode): Add imenu to menu.
2790
bae91342
DG
27912013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2792
2793 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2794 specific in what the first arg can be: a non-keyword word,
2795 string/regexp/percent literal opener, opening paren, or unary
2796 operator followed directly by word.
2797
eb89dc14
SM
27982013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2799
2800 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2801 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2802 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2803 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2804 Remove vars, they do not apply any more.
2805 (prolog-mode-abbrev-table): Remove redundant declaration.
2806 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2807 (prolog-use-smie): Remove.
2808 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2809 supported by prolog-electric-if-then-else-flag.
2810 (prolog-mode-variables, prolog-menu): Use setq-local.
2811 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2812 Remove binding to `Backspace' since this key doesn't exist anyway.
2813 Remove bindings for electric self-inserting keys.
2814 (prog-mode): Assume it's defined.
2815 (prolog-post-self-insert): New function.
2816 (prolog-mode): Use it.
2817 (prolog-indent-line, prolog-indent-level)
2818 (prolog-find-indent-of-matching-paren)
2819 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2820 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2821 (prolog-goto-next-paren, prolog-in-string-or-comment)
2822 (prolog-tokenize, prolog-inside-mline-comment)
2823 (prolog-find-start-of-mline-comment): Remove functions.
2824 (prolog-find-unmatched-paren, prolog-clause-end)
2825 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2826 (prolog-electric--if-then-else): Rename from
2827 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2828 (prolog-tokenize-searchkey): Remove const.
2829 (prolog-clause-info): Use forward-sexp.
2830 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2831 (prolog-electric-if-then-else): Remove commands.
2832 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2833 for use in post-self-insert-hook.
2834 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2835 for use in post-self-insert-hook.
2836 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2837 for use in post-self-insert-hook.
2838 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2839 adapt it for use in post-self-insert-hook.
2840
3dab0a83
MA
28412013-10-25 Michael Albinus <michael.albinus@gmx.de>
2842
2843 * emacs-lisp/ert.el (ert-run-tests-interactively):
2844 Use `completing-read'. (Bug#9756)
2845
fbfd0e1d
EZ
28462013-10-25 Eli Zaretskii <eliz@gnu.org>
2847
2848 * simple.el (line-move): Call line-move-1 instead of
2849 line-move-visual when the current window hscroll is zero, but
2850 temporary-goal-column indicates we will need to hscroll as result
2851 of the movement. (Bug#15712)
2852
963ce636
DG
28532013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2854
2855 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2856 capitalization. Use :visible instead of :active.
2857 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2858 commands that are used with SMIE.
2859 (ruby-do-end-to-brace): Insert space after `{'.
2860
a0be396a
JA
28612013-10-25 John Anthony <john@jo.hnanthony.com>
2862
f73754c9
JA
2863 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2864
2865 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2866
f5bf77df
GM
28672013-10-25 Glenn Morris <rgm@gnu.org>
2868
2869 * vc/vc.el (vc-print-log): Don't use a working revision unless
2870 one was explicitly specified. (Bug#15322)
2871
37241f62
SM
28722013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2873
2874 * subr.el (add-to-list): Preserve return value in compiler-macro
2875 (bug#15692).
2876
6408a65d
RS
28772013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2878
2879 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2880 result. Ask user to retry using '-all' flag. (Bug#15701)
2881
71e3276b
SM
28822013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * emacs-lisp/smie.el: New smie-config system.
2885 (smie-config): New defcustom.
2886 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2887 (smie-config-guess, smie-config-save): New commands.
2888 (smie-config--mode-local, smie-config--buffer-local)
2889 (smie-config--trace, smie-config--modefuns): New vars.
2890 (smie-config--advice, smie-config--mode-hook)
2891 (smie-config--setter, smie-config-local, smie-config--get-trace)
2892 (smie-config--guess-value, smie-config--guess): New functions.
2893 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2894 text properties. Treat "string fence" syntax like string syntax.
2895
2896 * progmodes/sh-script.el (sh-use-smie): Change default.
2897 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2898 (sh-var-value): Simplify by CSE.
2899 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2900 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2901 is used.
2902 (sh-guess-basic-offset): Use cl-incf.
2903 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2904
60db713e
HE
29052013-10-24 Helmut Eller <eller.helmut@gmail.com>
2906
2907 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2908 (bug#15699).
2909
8b251df6
GM
29102013-10-24 Glenn Morris <rgm@gnu.org>
2911
2912 * Makefile.in (abs_top_srcdir): Remove.
2913 (update-subdirs): Use relative path to update-subdirs.
2914
6be0e22b
EZ
29152013-10-24 Eli Zaretskii <eliz@gnu.org>
2916
2917 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2918 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2919 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2920 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2921
50b5b857
MA
29222013-10-24 Michael Albinus <michael.albinus@gmx.de>
2923
2924 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2925 (ert-test-skipped): New error.
2926 (ert-skip, ert-stats-skipped): New defuns.
2927 (ert--skip-unless): New macro.
2928 (ert-test-skipped): New struct.
2929 (ert--run-test-debugger, ert-test-result-type-p)
2930 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2931 (ert--stats-set-test-and-result, ert-char-for-test-result)
2932 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2933 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2934 Handle skipped tests. (Bug#9803)
50b5b857 2935
6f317c2f
GM
29362013-10-24 Glenn Morris <rgm@gnu.org>
2937
e43817c1
GM
2938 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2939
6f317c2f
GM
2940 * Makefile.in (abs_top_srcdir): New, set by configure.
2941 (update-subdirs): Correct build-aux location.
2942
369bbf71
DG
29432013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2944
8297b2cf
DG
2945 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2946 value, whether we could auto-deduce `backend', or not.
2947
369bbf71
DG
2948 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2949 with parameters" example. Simplify the "is it block or is it
2950 hash" check, but also make it more thorough.
2951
d5f1282f
MF
29522013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2953
2954 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2955
bc4aaa31
SM
29562013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2957
03d44565
SM
2958 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2959 { if it is hanging.
2960
bc4aaa31
SM
2961 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2962 :before ";".
2963
f493ff19
JB
29642013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2965
2966 * progmodes/compile.el (compilation-directory-matcher)
2967 (compilation-page-delimiter):
2968 Support GNU Make-4.0 directory quoting. (Bug#15678)
2969
c744a3b9
LL
29702013-10-23 Leo Liu <sdl.web@gmail.com>
2971
2972 * ido.el (ido-tidy): Handle read-only text.
2973
b8e3b0a9
GM
29742013-10-23 Glenn Morris <rgm@gnu.org>
2975
2976 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2977 (emacs, compile, compile-always):
2978 Quote entities that might contain whitespace.
2979 (custom-deps, finder-data, autoloads): Use abs_lisp.
2980 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2981 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2982 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2983
ee4282cd
DG
29842013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2985
bc4aaa31
SM
2986 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2987 Use `following-char'.
7790a270 2988
ee4282cd 29892013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2990
2991 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2992 * progmodes/ruby-mode.el (ruby-smie-rules):
2993 Remove corresponding workaround. Fix indentation rule of ";" so it
2994 also applies when ";" is the parent.
2995
d40a46d7
XF
29962013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2997
2998 * frame.el (display-screens, display-pixel-height)
2999 (display-pixel-width, display-mm-width, display-backing-store)
3000 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3001 (display-visual-class, display-monitor-attributes-list):
3002 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3003
a0f143c9
MG
30042013-10-22 Michael Gauland <mikelygee@amuri.net>
3005
3006 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3007 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3008
18cacc39
DG
30092013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3010
3011 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3012 TODO. Add "." after " @ ".
3013 (ruby-smie--at-dot-call): New function. Checks if point at method
3014 call with explicit target.
3015 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3016 to the method name tokens when it precedes them.
3017 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3018 (ruby-smie-rules): Add rule for indentation before and after "."
3019 token.
3020
df74c4be
SM
30212013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3022
c6dab55f
SM
3023 * textmodes/remember.el (remember-diary-extract-entries):
3024 Avoid add-to-list.
3025
df74c4be
SM
3026 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3027 an instruction.
3028
8c1ae481
DG
30292013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3030
e9dc713d
JB
3031 * progmodes/ruby-mode.el (ruby-smie-grammar):
3032 Add (almost) all infix operators.
cfef16c0
DG
3033 (ruby-smie--implicit-semi-p): Add new operator chars.
3034
8c1ae481
DG
3035 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3036 `smie-down-list'.
3037 (ruby-smie--args-separator-p): Check that there's no newline
3038 between method call and its arguments.
3039
87756ca9
AM
30402013-10-20 Alan Mackenzie <acm@muc.de>
3041
3042 Allow comma separated lists after Java "implements".
3043
df74c4be
SM
3044 * progmodes/cc-engine.el (c-backward-over-enum-header):
3045 Parse commas.
87756ca9
AM
3046 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3047 from a "disallowed" list in enum fontification.
3048
c25f8957
JB
30492013-10-20 Johan Bockgård <bojohan@gnu.org>
3050
df74c4be 3051 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3052
c25f8957
JB
3053 * progmodes/verilog-mode.el (verilog-mode): Don't set
3054 comment-indent-function globally.
3055
aca5fcdc
JD
30562013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3057
5f161884
JD
3058 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3059 Move Info menu item creation to ns-win.el.
3060
3061 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3062 in menu bar.
3063
aca5fcdc
JD
3064 * menu-bar.el: Move GNUStep specific menus...
3065
3066 * term/ns-win.el (ns-initialize-window-system): ... to here.
3067
914b7f98
SM
30682013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * simple.el (newline): Only run post-self-insert-hook when
3071 called interactively.
3072
846ffe77
JB
30732013-10-19 Johan Bockgård <bojohan@gnu.org>
3074
3075 * icomplete.el (icomplete-with-completion-tables): Add :version.
3076
033f22dd
AM
30772013-10-19 Alan Mackenzie <acm@muc.de>
3078
3079 Fix fontification bugs with constructors and const.
3080
3081 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3082 CASE 2) Remove the check for the absence of a suffix construct
3083 after a function declaration with only types (no identifiers) in
3084 the parentheses. Also, accept a function declaration with just a
3085 type inside the parentheses, if this type can be positively
3086 recognised as such, or if a prefix keyword like "explicit" nails
3087 down the construct as a declaration.
3088
58ce0cfc
EZ
30892013-10-19 Eli Zaretskii <eliz@gnu.org>
3090
3091 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3092 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3093 the problem whereby selecting a menu item that leads to a
3094 minibuffer prompt moves the cursor out of the minibuffer window,
3095 making it hard to type at the prompt. Suggested by Stefan Monnier
3096 <monnier@iro.umontreal.ca>.
3097
50e28e7d
JD
30982013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3099
3100 * menu-bar.el: Don't make Services menu.
3101
7deed4bf
RS
31022013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3103
3104 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3105 (ffap-alist): Use ffap-c++-mode for c++-mode.
3106 (ffap-c++-path): New variable.
3107 (ffap-c++-mode): New function.
3108
7bcb455b
JVJ
31092013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3110
3111 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3112
f0ff1cd5
MA
31132013-10-18 Michael Albinus <michael.albinus@gmx.de>
3114
3115 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3116 introduced on 2013-09-08, which results in an infinite loop
3117 requesting a password.
3118
d64da4b7
GM
31192013-10-18 Glenn Morris <rgm@gnu.org>
3120
3121 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3122
ea89ff08
WS
31232013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3124
3125 Sync with upstream verilog-mode revision 1a6ecec7.
3126 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3127 (verilog-mode-release-date): Remove.
3128 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3129 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3130 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3131 (verilog-auto-tieoff-ignore-regexp)
3132 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3133 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3134 (verilog-signals-with, verilog-dir-cache-preserving)
3135 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3136 Doc fixes.
3137 (verilog-case-fold): New option, to control case folding in
3138 regexp searches, bug597.
3139 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3140 (verilog-string-match-fold, verilog-in-paren-count)
3141 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3142 (verilog-at-close-struct-p): New functions.
3143 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3144 (verilog-forward-sexp, verilog-set-auto-endcomments):
3145 (verilog-leap-to-case-head): Handle "unique0" case.
3146 (verilog-in-constraint-re): New constant.
3147 (verilog-keywords, verilog-type-font-keywords):
3148 Add some SystemVerilog 1800-2012 keywords.
3149 (verilog-label-be): Remove unimplemented argument, bug669.
3150 (verilog-batch-execute-func): When batch expanding clear
3151 create-lockfiles to prevent spurious user locks when a file ends
3152 up not changing.
3153 (verilog-calculate-indent, verilog-calc-1)
3154 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3155 (verilog-do-indent): Fix indentation of nested constraints
3156 and structures.
3157 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3158 (verilog-auto-inst-param): Use verilog-string-match-fold.
3159 (verilog-read-inst-module-matcher):
3160 Fix AUTOINST on gate primitives with #1.
3161 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3162 Reads all user-defined typed variables.
3163 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3164 (verilog-signals-matching-regexp)
3165 (verilog-signals-not-matching-regexp, verilog-auto):
3166 Respect verilog-case-fold.
3167 (verilog-diff-report): Fix line count.
3168 (verilog-auto-assign-modport): Remove unused local `modi'.
3169 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3170 better handle multidimensional arrays.
3171 Fix packed array ports misadding bit index in AUTOINST, bug637.
3172 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3173 to not double-declare existing outputs and inputs, respectively.
3174 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3175 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3176 (verilog-sk-uvm-component): New skeleton.
3177 (verilog-submit-bug-report): Add verilog-case-fold,
3178 remove verilog-mode-release-date.
3179
ef566920
BR
31802013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3181
3182 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3183 as before.
3184
29df8a0b
RT
31852013-10-18 Reuben Thomas <rrt@sc3d.org>
3186
e0eb0550 3187 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3188 remember buffers (bug#13566).
3189
04a19a79
DC
31902013-10-18 Daniel Colascione <dancol@dancol.org>
3191
3192 When evaluating forms in ielm, direct standard output to ielm
3193 buffer. Add new ielm-return-for-effect command. Remove trailing
3194 whitespace throughout.
3195
3196 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3197 (ielm-return-for-effect): New command.
3198 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3199 (ielm-eval-input): Accept optional `for-effect' parameter.
3200 Bind `standard-output' to stream we create using
04a19a79
DC
3201 `ielm-standard-output-impl'. Suppress printing result when
3202 `for-effect'.
3203 (ielm-standard-output-impl): New function.
3204 (inferior-emacs-lisp-mode): Explain new features in documentation.
3205
4c1f03ef
MA
32062013-10-17 Michael Albinus <michael.albinus@gmx.de>
3207
3208 Code cleanup.
3209
3210 * net/tramp.el (tramp-debug-message): Do not check for connection
3211 buffer.
3212 (tramp-message): Use "vector" connection property.
3213
3214 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3215 (tramp-equal-remote, tramp-eshell-directory-change)
3216 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3217 (tramp-adb-handle-rename-file)
3218 * net/tramp-cmds.el (tramp-list-remote-buffers)
3219 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3220 * net/tramp-compat.el (tramp-compat-process-running-p)
3221 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3222 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3223 (tramp-gvfs-handle-rename-file)
3224 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3225 (tramp-set-file-uid-gid)
3226 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3227 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3228 of `file-remote-p'.
3229
3230 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3231 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3232 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3233 (tramp-gw-open-network-stream): Suppress unrelated traces.
3234
3235 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3236 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3237 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3238 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3239 connection property.
3240
3241 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3242 persistency file.
4c1f03ef
MA
3243
3244 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3245 Refactor common code. Improve debug message.
3246 (tramp-maybe-open-connection)
3247 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3248 connection buffer too early.
3249
3250 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3251 from `tramp-smb-actions-with-acl'.
3252 (tramp-smb-actions-set-acl): New defconst.
3253 (tramp-smb-handle-copy-directory)
3254 (tramp-smb-action-get-acl): New defun, renamed from
3255 `tramp-smb-action-with-acl'.
3256 (tramp-smb-action-set-acl): New defun.
3257 (tramp-smb-handle-set-file-acl): Rewrite.
3258
642eb8b6
GM
32592013-10-17 Glenn Morris <rgm@gnu.org>
3260
3261 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3262
85527ff3
SM
32632013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3264
921c1d62
SM
3265 * skeleton.el (skeleton-newline): Remove.
3266 (skeleton-internal-1): Use (insert "\n") instead.
3267
e333fb10
SM
3268 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3269 let-bindings.
3270
85527ff3
SM
3271 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3272 forward-sexp-function while we redo its job (bug#15613).
3273
c8722a97
JB
32742013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3275
3276 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3277 represented by lists.
3278
7a550bbb
GM
32792013-10-16 Glenn Morris <rgm@gnu.org>
3280
3281 * tmm.el (tmm--history): New dynamic variable.
3282 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3283
f19da8ad
MA
32842013-10-16 Michael Albinus <michael.albinus@gmx.de>
3285
3286 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3287 (tramp-smb-errors): Add error messages.
3288 (tramp-smb-actions-with-acl): New defconst.
3289 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3290 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3291 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3292 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3293 (tramp-smb-get-stat-capability): Fix tests.
3294
a24b9961
DK
32952013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3296
3297 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3298 (bug#15580).
3299
62ad85e6
GM
33002013-10-16 Glenn Morris <rgm@gnu.org>
3301
0283d6b0
GM
3302 * ansi-color.el (ansi-color-drop-regexp):
3303 Add 1J, 1K, 2K. (Bug#15617)
3304
012e2f9f
GM
3305 * files.el (hack-local-variables--warned-lexical): New.
3306 (hack-local-variables):
3307 Warn about misplaced lexical-binding. (Bug#15616)
3308
62ad85e6
GM
3309 * net/eww.el (eww-render): Always set eww-current-url,
3310 and update header line. (Bug#15622)
3311 (eww-display-html): ... Rather than just doing it here.
3312
6456c0ea
EZ
33132013-10-15 Eli Zaretskii <eliz@gnu.org>
3314
3315 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3316 menu navigations commands.
3317
c2de5588
DK
33182013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3319
3320 * progmodes/subword.el (subword-capitalize): Be careful when
3321 the search for [[:alpha:]] fails (bug#15580).
3322
ccd4a783
EZ
33232013-10-14 Eli Zaretskii <eliz@gnu.org>
3324
3325 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3326 to commands that scroll the menu.
3327
1eda1d8d
DG
33282013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3329
c2de5588
DK
3330 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3331 Handle methods ending with `?' and `!'.
1eda1d8d 3332
e70181b8
AM
33332013-10-14 Akinori MUSHA <knu@iDaemons.org>
3334
3335 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3336 `japanese-cp932' to `cp932' to fix the problem where saving a
3337 source file written in Shift_JIS twice would end up having
3338 `coding: japanese-cp932' which Ruby could not recognize.
3339 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3340 in `ruby-encoding-map'.
3341 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3342 doesn't need to be explicitly declared in magic comment.
3343 (ruby-encoding-map): Add type declaration for better customize UI.
3344
9148ee92
GM
33452013-10-13 Glenn Morris <rgm@gnu.org>
3346
a5d38e34
GM
3347 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3348 Occur buffers are read-only. http://bugs.debian.org/720775
3349
9148ee92
GM
3350 * emacs-lisp/authors.el (authors-fixed-entries):
3351 Comment out old alpha stuff.
3352
a9ba094b
DG
33532013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3354
3355 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3356 to `after-save-hook' instead of `before-save-hook'.
3357 (ruby-mode-set-encoding): Use the value of coding system used to
3358 write the file. Call `basic-save-buffer-1' after modifying the
3359 buffer.
3360
7a068717
AM
33612013-10-13 Alan Mackenzie <acm@muc.de>
3362
3363 Fix indentation/fontification of Java enum with
3364 "implements"/generic.
3365
c2de5588
DK
3366 * progmodes/cc-engine.el (c-backward-over-enum-header):
3367 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3368 (c-inside-bracelist-p): Uses new function above.
3369 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3370 function above.
3371 (c-font-lock-enum-tail): Uses new function above.
3372
85b64f02
KH
33732013-10-13 Kenichi Handa <handa@gnu.org>
3374
3375 * international/mule-cmds.el (select-safe-coding-system): Remove a
3376 superfluous condition in chekcing whether a coding system is safe
3377 or not.
3378
fc7f501b
OK
33792013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3380
3381 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3382
fdcb2049
AP
33832013-10-13 Andreas Politz <politza@hochschule-trier.de>
3384
3385 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3386
8c106d17
GM
33872013-10-13 Glenn Morris <rgm@gnu.org>
3388
feab892d
GM
3389 * menu-bar.el (menu-bar-update-buffers):
3390 Unify Buffers menu prompt string. (Bug#15576)
3391
b22d0686
GM
3392 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3393
8c106d17
GM
3394 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3395 Add some entries.
3396 (authors-fixed-entries): Use accented form of name.
3397
1b12c797
SM
33982013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3399
650fa7bf 3400 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3401 method calls (bug#15594).
650fa7bf
SM
3402 (ruby-smie--args-separator-p): New function.
3403 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3404 recognize paren-free method calls.
3405
1b12c797
SM
3406 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3407 internals of universal-argument.
3408
029619c8
EZ
34092013-10-11 Eli Zaretskii <eliz@gnu.org>
3410
3411 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3412 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3413 dropped menu on second mouse click on the menu bar.
029619c8 3414
dd070019
SM
34152013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3418 (explicit-shell-file-name): Declare.
3419 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3420 (sh-completion-at-point-function): New function.
3421 (sh-mode): Use it.
3422 (sh-smie--keyword-p): Remove unused argument.
3423 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3424 vars.
3425 (sh-set-shell): Always setup SMIE, even if we use the
3426 old indentation code.
3427
0922b826
DG
34282013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3429
b68e2926
DG
3430 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3431 cases of ? and =.
3432 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3433 predicate would return nil are almost non-existent.
3434 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3435
0922b826
DG
3436 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3437 cache also after commands that modify the buffer but don't move
3438 point.
3439
ee041f2d
SM
34402013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3441
3442 * env.el (substitute-env-in-file-name): New function.
3443 (substitute-env-vars): Extend the meaning of the optional arg.
3444
a5dab159
EZ
34452013-10-10 Eli Zaretskii <eliz@gnu.org>
3446
3447 * term/w32-win.el (dynamic-library-alist): Define separate lists
3448 of GIF DLLs for versions before and after 5.0.0 of giflib.
3449 (Bug#15531)
3450
0449d6cd 34512013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3452
3453 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3454 not locked, use last revision and current source as
3455 defaults. (Bug#15569)
3456
2f6e161e
MY
34572013-10-10 Masatake YAMATO <yamato@redhat.com>
3458
3459 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3460 menu-bar is hidden.
3461
6c8413fc
MR
34622013-10-10 Martin Rudalics <rudalics@gmx.at>
3463
3464 * window.el (pop-to-buffer-same-window): Fix doc-string.
3465 (Bug#15492)
3466
20832de0
SM
34672013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3470
c6e8ae77
AC
34712013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3472
3473 * calendar/icalendar.el (icalendar-import-file):
3474 Fix interactive spec. (Bug#15482)
3475
9db13baf
GM
34762013-10-10 Glenn Morris <rgm@gnu.org>
3477
9271e90e
GM
3478 * desktop.el (desktop-save): Default to saving in .emacs.d,
3479 since PWD is no longer in desktop-path by default. (Bug#15319)
3480
9db13baf
GM
3481 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3482 now that text mode has a menu with the same entry.
3483 (menu-bar-text-mode-auto-fill): Remove now unused func.
3484 * textmodes/text-mode.el (text-mode-map):
3485 Use auto-fill help text from menu-bar.el.
3486
a0be396a 34872013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3488
3489 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3490
2edcd3c7
JL
34912013-10-09 Juri Linkov <juri@jurta.org>
3492
3493 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3494 instead of this-command-keys. Add universal-argument-more and
3495 universal-argument-minus to the list of prefix commands. (Bug#15568)
3496
574411d0
GM
34972013-10-09 Glenn Morris <rgm@gnu.org>
3498
14afa541
GM
3499 * vc/vc-svn.el (vc-svn-create-repo):
3500 Expand paths in file://... url. (Bug#15446)
3501
574411d0
GM
3502 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3503 Add some entries.
3504 (authors): Remove unused local variables.
3505
79804536
SM
35062013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * profiler.el: Create a more coherent calltree from partial backtraces.
3509 (profiler-format): Hide the tail with `invisible' so that C-s can still
3510 find the hidden elements.
3511 (profiler-calltree-depth): Don't recurse so enthusiastically.
3512 (profiler-function-equal): New hash-table-test.
3513 (profiler-calltree-build-unified): New function.
3514 (profiler-calltree-build): Use it.
3515 (profiler-report-make-name-part): Indent the calltree less.
3516 (profiler-report-mode): Add visibility specs for profiler-format.
3517 (profiler-report-expand-entry, profiler-report-toggle-entry):
3518 Expand the whole subtree when provided with a prefix arg.
3519
238150c8
DG
35202013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3521
3522 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3523 iuwu-mod token.
3524 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3525 hanging iuwu-mod token.
3526 (ruby-smie--forward-token): Do not include a dot after a token in
3527 that token.
3528 (ruby-smie--backward-token): Likewise.
3529
b0949cc4
JL
35302013-10-08 Juri Linkov <juri@jurta.org>
3531
3532 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3533 to isearch-other-control-char.
3534 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3535 and isearch-post-command-hook to post-command-hook.
3536 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3537 and isearch-post-command-hook from post-command-hook.
3538 (isearch-unread-key-sequence)
3539 (isearch-reread-key-sequence-naturally)
3540 (isearch-lookup-scroll-key, isearch-other-control-char)
3541 (isearch-other-meta-char): Remove functions.
3542 (isearch-pre-command-hook, isearch-post-command-hook):
3543 New functions based on isearch-other-meta-char rewritten
3544 relying on the new behavior of overriding-terminal-local-map
3545 that does not replace the local keymaps any more. (Bug#15200)
3546
4ed77415
EZ
35472013-10-08 Eli Zaretskii <eliz@gnu.org>
3548
3549 Support menus on text-mode terminals.
3550 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3551 functionality.
3552
3553 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3554
c2de5588
DK
3555 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3556 Move here from mouse.el.
4ed77415
EZ
3557 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3558 and arrow keys.
3559 (tty-menu-navigation-map): New map for TTY menu navigation.
3560
3561 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3562
3563 * frame.el (display-mouse-p): Report text-mode mouse as available
3564 on w32.
3565 (display-popup-menus-p): Report availability if mouse is
3566 available; don't condition on window-system.
3567
3568 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3569 (tty-menu-selected-face): New faces.
3570
b7d5bd82
TL
35712013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3572
06286513
SM
3573 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3574 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3575 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3576 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3577 New constants.
3578 (lisp-mode-variables): New `elisp' argument.
3579 (emacs-lisp-mode): Use it.
3580 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3581 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3582
b7d5bd82
TL
3583 * indent.el: Use lexical-binding.
3584 (indent-region): Add progress reporter.
3585 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3586 last step.
3587 (indent--next-tab-stop): New function to implement this behavior.
3588 (tab-to-tab-stop, move-to-tab-stop): Use it.
3589
35902013-10-08 Teemu Likonen <tlikonen@iki.fi>
3591
3592 * indent.el (indent-rigidly--current-indentation): New function.
3593 (indent-rigidly-map): New var.
3594 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3595
5ea75d23
BG
35962013-10-08 Bastien Guerry <bzg@gnu.org>
3597
3598 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3599
cc5da1ec
SM
36002013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3601
8ffa1a0b
SM
3602 * progmodes/perl-mode.el: Use lexical-binding.
3603 Remove redundant :group args.
3604 (perl-nochange): Change default to be closer to other major modes's
3605 standard behavior.
3606 (perl-indent-line): Don't consider text on current line as a
3607 valid beginning of function from which to indent.
3608
f2223371
SM
3609 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3610 with more than one argument (bug#15538).
3611
44256060
SM
3612 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3613
cc5da1ec
SM
3614 * vc/pcvs.el: Use lexical-binding.
3615 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3616 environment of `eval'.
3617 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3618 than a list of expressions. Adjust callers.
3619 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3620
0ea1599d
DG
36212013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3622
3623 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3624 case of the dot in a chained method call being on the following line.
0ea1599d 3625
da3e5ebb
SM
36262013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3627
2abb4e65
SM
3628 * electric.el (electric-indent-inhibit): New var.
3629 (electric-indent-post-self-insert-function): Use it.
3630 * progmodes/python.el (python-mode): Set it.
3631
d2e0e795
SM
3632 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3633 open braces.
3634
3635 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3636
bdc6b4c8
SM
3637 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3638 (css-mode): Use electric-indent-chars.
3639
da3e5ebb
SM
3640 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3641 (font-lock-beg, font-lock-end): Move before first use.
3642 (nxml-mode): Use syntax-propertize-function.
3643 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3644 (nxml-extend-after-change-region): Remove.
3645 * nxml/xmltok.el: Use lexical-binding.
3646 (xmltok-save): Use `declare'.
3647 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3648 * nxml/nxml-util.el: Use lexical-binding.
3649 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3650 Use `declare'.
3651 * nxml/nxml-ns.el: Use lexical-binding.
3652 (nxml-ns-save): Use `declare'.
3653 (nxml-ns-prefixes-for): Avoid add-to-list.
3654 * nxml/rng-match.el: Use lexical-binding.
3655 (rng--ipattern): Use cl-defstruct.
3656 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3657 (rng-cons-group-after, rng-subst-group-after)
3658 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3659 Use closures instead of `(lambda...).
3660
f8f91d5d
MA
36612013-10-07 Michael Albinus <michael.albinus@gmx.de>
3662
3663 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3664 of BEG and END.
3665
da3e5ebb
SM
3666 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3667 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3668 (tramp-gvfs-handle-insert-file-contents): Remove function.
3669
da3e5ebb
SM
3670 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3671 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3672
3673 * net/trampver.el: Update release number.
3674
7ccae3b1
SM
36752013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3676
55ca2c0d
SM
3677 * progmodes/compile.el (compilation-parse-errors):
3678 Use compilation--put-prop.
3679 (compilation--ensure-parse): Check compilation-multiline.
3680
731fc3ae
SM
3681 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3682
da3e5ebb
SM
3683 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3684 lexical-binding.
a5833280 3685
2e7ba2c2
SM
3686 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3687
7ccae3b1
SM
3688 * progmodes/ruby-mode.el: Fix recently added tests.
3689 (ruby-smie-grammar): Add - and +.
3690 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3691 (ruby-smie--backward-id): New functions.
3692 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3693 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3694 any more.
3695
85698d63
LL
36962013-10-07 Leo Liu <sdl.web@gmail.com>
3697
3698 * register.el (register-preview-delay)
3699 (register-preview-functions): New variables.
3700 (register-read-with-preview, register-preview)
3701 (register-describe-oneline): New functions.
3702 (point-to-register, window-configuration-to-register)
3703 (frame-configuration-to-register, jump-to-register)
3704 (number-to-register, view-register, insert-register)
3705 (copy-to-register, append-to-register, prepend-to-register)
3706 (copy-rectangle-to-register): Use register-read-with-preview to
3707 read register. (Bug#15525)
3708
3986af6c
DS
37092013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3710
3711 * net/network-stream.el (network-stream-open-starttls): Don't add
3712 --insecure if it's already present, because that gnutls-cli
3713 rejects getting that parameter twice.
3714
5cd9cda9
DG
37152013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3716
3717 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3718 keyword, too.
3719
da9ea6d9
DG
37202013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3721
3722 * newcomment.el (comment-use-global-state): Change default value
3723 to t, mark obsolete (Bug#15251).
3724 (comment-beginning): In addition to `comment-to-syntax', check the
3725 value of `comment-use-global-state'.
3726
34d1a133
SM
37272013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3730 (ruby-comment-column): Follow the global default, by default.
3731 (ruby-smie-grammar): Add assignment syntax.
3732 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3733 open-paren, a comma, or a \.
3734 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3735 and line continuations.
3736 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3737 followed by implicit semi-colons. Add rule for string concatenation
3738 and for indentation at BOB.
3739 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3740
3741 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3742 calling next-sexp, since next-token may have skipped chars which
3743 next-sexp doesn't know should be skipped!
3744
6f6ab820
LL
37452013-10-05 Leo Liu <sdl.web@gmail.com>
3746
34d1a133
SM
3747 * progmodes/octave.el (octave-send-region):
3748 Call compilation-forget-errors.
6f6ab820 3749
34ca0f4c
XF
37502013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3751
3752 * vc/vc-svn.el (vc-svn-find-admin-dir):
3753 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3754 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3755 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3756 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3757
a27c1b72
SM
37582013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3761
258ab3bc
SM
37622013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * subr.el (read-passwd): Hide chars even when called within a context
3765 where after-change-functions is disabled (bug#15501).
3766 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3767 until we removed ourself from overriding-terminal-local-map.
3768
939fb29c
LL
37692013-10-04 Leo Liu <sdl.web@gmail.com>
3770
258ab3bc
SM
3771 * progmodes/octave.el (inferior-octave-mode):
3772 Call compilation-forget-errors.
939fb29c 3773
63bd7f35
XF
37742013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3775
3776 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3777
9e6229fa
MA
37782013-10-04 Michael Albinus <michael.albinus@gmx.de>
3779
3780 * net/secrets.el (secrets-create-collection): Add optional
3781 argument ALIAS. Use proper Label keyword. Append ALIAS as
3782 dbus-call-method argument. (Bug#15516)
3783
1dab32a3
LL
37842013-10-04 Leo Liu <sdl.web@gmail.com>
3785
3786 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3787 (inferior-octave-compilation-font-lock-keywords): New variables.
3788 (compilation-error-regexp-alist)
3789 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3790 (inferior-octave-mode): Use compilation-shell-minor-mode.
3791
6cad7ba3
JS
37922013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3793
3794 * minibuffer.el (completion--replace): Be careful that `end' might be
3795 a marker.
3796
acbadd00
DU
37972013-10-03 Daiki Ueno <ueno@gnu.org>
3798
3799 Add support for package signature checking.
3800 * emacs-lisp/package.el (url-http-file-exists-p)
3801 (epg-make-context, epg-context-set-home-directory)
3802 (epg-verify-string, epg-context-result-for)
3803 (epg-signature-status, epg-signature-to-string)
3804 (epg-check-configuration, epg-configuration)
3805 (epg-import-keys-from-file): Declare.
3806 (package-check-signature): New user option.
3807 (package-unsigned-archives): New user option.
3808 (package-desc): Add `signed' field.
3809 (package-load-descriptor): Set `signed' field if .signed file exists.
3810 (package--archive-file-exists-p): New function.
3811 (package--check-signature): New function.
3812 (package-install-from-archive): Check package signature.
3813 (package--download-one-archive): Check archive signature.
3814 (package-delete): Remove .signed file.
3815 (package-import-keyring): New command.
3816 (package-refresh-contents): Import default keyring.
3817 (package-desc-status): Add "unsigned" status.
3818 (describe-package-1, package-menu--print-info)
3819 (package-menu-mark-delete, package-menu--find-upgrades)
3820 (package-menu--status-predicate): Support "unsigned" status.
3821
adf2aa61
SM
38222013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3825 the new compilation scheme using the new byte-codes.
3826
3827 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3828 (byte-pophandler): New byte codes.
3829 (byte-goto-ops): Adjust accordingly.
3830 (byte-compile--use-old-handlers): New var.
3831 (byte-compile-catch): Use new byte codes depending on
3832 byte-compile--use-old-handlers.
3833 (byte-compile-condition-case--old): Rename from
3834 byte-compile-condition-case.
3835 (byte-compile-condition-case--new): New function.
3836 (byte-compile-condition-case): New function that dispatches depending
3837 on byte-compile--use-old-handlers.
3838 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3839 when we can.
3840
3841 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3842 Optimize under `condition-case' and `catch' if
3843 byte-compile--use-old-handlers is nil.
3844 (disassemble-offset): Handle new bytecodes.
3845
328a8179
SM
38462013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 * subr.el (error): Use `declare'.
3849 (decode-char, encode-char): Use advertised-calling-convention instead
3850 of the docstring to discourage use of the `restriction' arg.
3851
15a1e936
DU
38522013-10-03 Daiki Ueno <ueno@gnu.org>
3853
3854 * epg.el (epg-verify-file): Add a comment saying that it does not
3855 notify verification error as a return value nor a signal.
3856 (epg-verify-string): Ditto.
3857
376f862a
KR
38582013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3859
3860 * progmodes/compile.el (compilation-start): Try globbing the arg to
3861 `cd' (bug#15417).
3862
a2f93a5f
MA
38632013-10-02 Michael Albinus <michael.albinus@gmx.de>
3864
3865 Sync with Tramp 2.2.8.
3866
3867 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3868 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3869 * net/trampver.el: Update release number.
3870
0daa0804
JD
38712013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3872
3873 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3874 and default-process-coding-system for darwin only.
3875
abd1ae34
SM
38762013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3879
be4e325d
MH
38802013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3881
3882 * vc/vc-git.el (vc-git-grep): Disable pager.
3883
e9155c4a
DG
38842013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3885
494e898b
DG
3886 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3887 Use :url instead of :homepage, as per
3888 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3889
e9155c4a
DG
3890 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3891 non-nil, use `syntax-ppss' (Bug#15251).
3892
481a8e0f
RS
38932013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3894
be4e325d
MH
3895 * progmodes/octave.el (inferior-octave-startup-file):
3896 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3897
056453c6
DG
38982013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3899
be4e325d
MH
3900 * emacs-lisp/package.el (package-desc-from-define):
3901 Accept additional arguments as plist, convert them to an alist and store
3902 them in the `extras' slot.
056453c6
DG
3903 (package-generate-description-file): Convert extras alist back to
3904 plist and append to the `define-package' form arguments.
3905 (package--alist-to-plist): New function.
3906 (package--ac-desc): Add `extras' slot.
3907 (package--add-to-archive-contents): Check if the archive-contents
3908 vector is long enough, and if it is, pass its `extras' slot value
3909 to `package-desc-create'.
3910 (package-buffer-info): Call `lm-homepage', pass the returned value
3911 to `package-desc-from-define'.
3912 (describe-package-1): Render the homepage button (Bug#13291).
3913
be4e325d
MH
3914 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3915 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3916
832966e5
JD
39172013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3918
3919 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3920 and default-process-coding-system to utf-8-unix (Bug#15402).
3921
6cfe977d
XF
39222013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3923
3924 * subr.el (looking-back): Do not recommend using looking-back.
3925
38de11bd
AM
39262013-09-28 Alan Mackenzie <acm@muc.de>
3927
3928 Fix indentation/fontification of Java enum with "implements".
3929
3930 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3931 regexp which matches "implements", etc., in Java.
3932 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3933 specifier clauses coming after "enum".
3934 * progmodes/cc-fonts.el (c-font-lock-declarations)
3935 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3936 after "enum".
3937
1610938f
JD
39382013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3939
3940 * faces.el (region): Change ns_selection_color to
3941 ns_selection_fg_color, add ns_selection_bg_color.
3942
e090f499
LL
39432013-09-28 Leo Liu <sdl.web@gmail.com>
3944
4d2e94d1
LL
3945 * progmodes/octave.el (inferior-octave-completion-table)
3946 (inferior-octave-completion-at-point): Minor tweaks.
3947
e090f499
LL
3948 * textmodes/ispell.el (ispell-lookup-words): Rename from
3949 lookup-words. (Bug#15460)
3950 (lookup-words): Obsolete.
3951 (ispell-complete-word, ispell-command-loop): All uses changed.
3952
7e138a62
RS
39532013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3954
3955 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3956 (octave-mode-menu): Add octave-send-buffer.
3957 (octave-send-buffer): New function.
3958
5af5ed08
RS
39592013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3960
3961 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3962 octave-lookfor.
3963 (octave-mode-menu): Add octave-lookfor.
3964 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3965 octave-lookfor.
3966 (octave-lookfor): New function.
3967
3b7b2692
SM
39682013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3969
3970 * emacs-lisp/cl-macs.el:
3971 (cl--loop-destr-temps): Remove.
3972 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3973 its convention.
3974 (cl--loop-set-iterator-function): New function.
3975 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3976 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3977 Bind `it' with `let' instead of substituting it with `cl-subst'.
3978 (cl--unused-var-p): New function.
3979 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3980 Eliminate some unused variable warnings (bug#15326).
3981
529fb53f
TH
39822013-09-27 Tassilo Horn <tsdh@gnu.org>
3983
3984 * doc-view.el (doc-view-scale-reset): Rename from
3985 `doc-view-reset-zoom-level'.
3986 (doc-view-scale-adjust): New command.
3987 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3988 `doc-view-scale-adjust'.
3989
0550c95a
TH
39902013-09-26 Tassilo Horn <tsdh@gnu.org>
3991
3992 * doc-view.el (doc-view-reset-zoom-level): New command.
3993 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3994 zoom commands (bug#15466).
3995
6950f152
KH
39962013-09-26 Kenichi Handa <handa@gnu.org>
3997
3998 * international/quail.el (quail-help): Make it not a command.
3999
39587580
LL
40002013-09-26 Leo Liu <sdl.web@gmail.com>
4001
4002 * minibuffer.el (completion-all-sorted-completions): Make args
4003 optional as they are.
4004
00578659
DC
40052013-09-25 Daniel Colascione <dancol@dancol.org>
4006
4007 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4008 specs are and that they're not evaluated.
4009
0c173878
SS
40102013-09-24 Sam Steingold <sds@gnu.org>
4011
4012 * midnight.el (clean-buffer-list-kill-regexps)
4013 (clean-buffer-list-kill-buffer-names): Update for the new Man
4014 buffer naming which includes the object name.
4015
84998447
SM
40162013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4019 (eshell-parse-command, eshell-parse-pipeline): Use it since
4020 eshell-separate-commands requires a dynamic scoped var.
4021 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4022
33215353
LL
40232013-09-23 Leo Liu <sdl.web@gmail.com>
4024
4025 * autoinsert.el (auto-insert-alist): Make the value of
4026 lexical-binding match its file setting.
4027
57b16162
JB
40282013-09-23 Juanma Barranquero <lekktu@gmail.com>
4029
c8af4e67
JB
4030 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4031
57b16162
JB
4032 * autoarg.el (autoarg-kp-digit-argument):
4033 * electric.el (Electric-command-loop):
4034 * kmacro.el (kmacro-step-edit-insert):
4035 Do not set universal-argument-num-events.
4036
7186ba60
LL
40372013-09-22 Leo Liu <sdl.web@gmail.com>
4038
4039 * files.el (interpreter-mode-alist): Add octave.
4040
ece15004
AM
40412013-09-21 Alan Mackenzie <acm@muc.de>
4042
4043 C++: fontify identifier in declaration following "public:" correctly.
4044 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4045 to match "public", etc.
4046 (c-decl-prefix-re): Add ":" into the C++ value.
4047 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4048 bit. Add a check for a ":" preceded by "public", etc.
4049
75d83e22
EZ
40502013-09-21 Eli Zaretskii <eliz@gnu.org>
4051
4052 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4053 recognized by GDB 7.5 and later.
4054
d052d3bd
XF
40552013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4056
4057 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4058
31dca772
R
40592013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * subr.el (internal--call-interactively): New const.
4062 (called-interactively-p): Use it (bug#3984).
4063
98ccf24e
XF
40642013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4065
4066 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4067 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4068 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4069
c39cc7d1
SM
40702013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4073 (eshell-ls-orig-insert-directory): Remove.
4074 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4075 (eshell-ls-use-in-dired): Use advice-add/remove.
4076 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4077 Add `orig-fun' arg for use in :around advice.
4078 Make it check (redundantly) eshell-ls-use-in-dired.
4079
9a0289a2
GM
40802013-09-19 Glenn Morris <rgm@gnu.org>
4081
a2c501b8
GM
4082 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4083
c440407a
GM
4084 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4085
9a0289a2
GM
4086 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4087
85e05915
MA
40882013-09-19 Michael Albinus <michael.albinus@gmx.de>
4089
4090 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4091 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4092 (tramp-get-remote-python): New defuns.
4093 (tramp-get-remote-uid-with-perl)
4094 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4095 contributed by yary <not.com@gmail.com> (tiny change).
4096 (tramp-get-remote-uid-with-python)
4097 (tramp-get-remote-gid-with-python): New defuns. Python code
4098 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4099 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4100
ce503312
GM
41012013-09-19 Glenn Morris <rgm@gnu.org>
4102
f7544773
GM
4103 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4104
72fd2877
GM
4105 * eshell/em-unix.el (eshell-remove-entries):
4106 Rename argument to avoid name-clash with global `top-level'.
4107
336b5a56
GM
4108 * eshell/esh-proc.el (eshell-kill-process-function):
4109 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4110 (eshell-reset-after-proc): Remove unused arg `proc'.
4111
57a3a53d
GM
4112 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4113 (directory-files-and-attributes): Mark unused arg.
4114
3261d4af
GM
4115 * eshell/em-unix.el (eshell-remove-entries):
4116 Remove unused arg `path'. Update callers.
4117
8e51b5d0
GM
4118 * eshell/em-hist.el (eshell-hist-parse-arguments):
4119 Remove unused arg `silent'. Update callers.
4120
ce503312
GM
4121 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4122 Fix (f)boundp mix-up.
4123
4124 * eshell/em-smart.el (eshell-smart-scroll-window)
4125 (eshell-disable-after-change):
336b5a56 4126 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4127
ee3ce8a7
AM
41282013-09-18 Alan Mackenzie <acm@muc.de>
4129
4130 Fix fontification of type when followed by "const".
4131 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4132 "known" types from fontification.
4133
ec9177ba
GM
41342013-09-18 Glenn Morris <rgm@gnu.org>
4135
7bb3e768
GM
4136 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4137 (chart-face-list): Drop Emacsen without display-color-p.
4138
5148da15
GM
4139 * net/eww.el (libxml-parse-html-region): Declare.
4140 (eww-display-html): Explicit error if no libxml2 support.
4141
2f68e157
GM
4142 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4143
9019d095
GM
4144 * image.el (image-type-from-buffer, image-multi-frame-p):
4145 Remove --without-x warning/error.
67645389 4146
5f30349b 4147 * mouse.el (mouse-yank-primary):
45069b2e 4148 * term.el (term-mouse-paste):
5f30349b
GM
4149 Reorder to silence --without-x compilation.
4150
cd8edbbe
GM
4151 * mpc.el (doc-view-mode): Silence --without-x compilation.
4152
8a78544e
GM
4153 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4154 Silence --without-x compilation.
4155
12679bfd
GM
4156 * progmodes/gud.el (gud-find-file, gud-mode):
4157 Silence --without-x compilation.
4158 (tooltip-mode): Declare.
30810a05 4159
f0047cb9
GM
4160 * wdired.el (dired-backup-overwrite): Remove declaration.
4161 (wdired-mode-map): Add doc string.
4162
e740f9d2
GM
4163 * custom.el (x-get-resource): Declare.
4164
92d77c89
GM
4165 * eshell/em-glob.el (ange-cache):
4166 * eshell/em-unix.el (ange-cache): Declare.
4167
76e69577
GM
4168 * faces.el (x-display-list, x-open-connection, x-get-resource):
4169 Declare.
7e58af4b
GM
4170
4171 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4172 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4173 Declare.
76e69577 4174
4bd4c0af 4175 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4176
ffb82dbd
GM
4177 * net/gnutls.el (gnutls-log-level): Declare.
4178
986ed135
GM
4179 * net/shr.el (image-size, image-animate): Declare.
4180
e740f9d2
GM
4181 * simple.el (font-info): Declare.
4182
d2f3e9f8
GM
4183 * subr.el (x-popup-dialog): Declare.
4184
047a1a4c
GM
4185 * term/common-win.el (x-select-enable-primary)
4186 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4187 Declare.
4188
f4a1d572
GM
4189 * term/ns-win.el (x-handle-args): Declare.
4190
e843de77
GM
4191 * term/x-win.el (x-select-enable-clipboard): Declare.
4192
5fa89513
GM
4193 * term/w32-win.el (create-default-fontset): Declare.
4194
38702b5b
GM
4195 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4196 Declare.
4197
e740f9d2
GM
4198 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4199 (fit-frame-to-buffer): Explicit error if --without-x.
4200 (mouse-autoselect-window-select): Silence compiler.
4201
49a053fc
GM
4202 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4203
4204 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4205 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4206 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4207 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4208 Remove unused local variables.
4209
4210 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4211
ec9177ba
GM
4212 * textmodes/two-column.el: Make 2C-split work for --without-x.
4213 (scroll-bar-columns): Autoload.
4214 (top-level): Require fringe when compiling.
4215
9f25cb77
LL
42162013-09-18 Leo Liu <sdl.web@gmail.com>
4217
4218 * subr.el (add-hook): Robustify to handle closure as well.
4219
2b42da98
GM
42202013-09-17 Glenn Morris <rgm@gnu.org>
4221
4222 * simple.el (messages-buffer-mode-map): Unbind "g".
4223
e8b66a6a
SM
42242013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4225
9c0ad4f7
SM
4226 * help-mode.el (help-mode-finish): Use derived-mode-p.
4227 Remove obsolete highlighting.
4228
7a806dfb
SM
4229 * play/life.el (life-mode): Use define-derived-mode. Derive from
4230 special-mode.
4231 (life): Let-bind inhibit-read-only.
4232 (life-setup): Avoid `setq'. Use `life-mode'.
4233
96dbf5a8
SM
4234 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4235 which should not be needed any more.
4236 (package-menu-refresh, package-menu-describe-package): Use user-error.
4237
e8b66a6a
SM
4238 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4239 (eshell-post-rewrite-command-hook): Make obsolete.
4240 (eshell-parse-command): Simplify.
4241 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4242 (eshell--cmd): Declare.
4243 (eshell-parse-pipeline): Remove unused var `final-p'.
4244 Pass a dynvar to eshell-post-rewrite-command-hook.
4245 Implement the new eshell-post-rewrite-command-function.
4246 (eshell-invoke-directly): Remove unused arg `input'.
4247 * eshell/esh-io.el (eshell-io-initialize):
4248 Use eshell-post-rewrite-command-function (bug#15399).
4249 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4250 adjust to new calling convention.
4251 (eshell-create-handles): Rename args to avoid clashing with dynvar
4252 `standard-output'.
4253
90582f05
GM
42542013-09-17 Glenn Morris <rgm@gnu.org>
4255
4256 * simple.el (messages-buffer-mode): New major mode.
4257 (messages-buffer): New function.
4258 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4259 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4260 (ert-run-test): Use `messages-buffer' function.
90582f05 4261 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4262 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4263 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4264
39eb0cb5 42652013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4266
4267 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4268
1d42e5b6 4269 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4270
70568a90
SM
42712013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4272
504a0381
SM
4273 * icomplete.el (icomplete-in-buffer): New var.
4274 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4275 vars and replace them with functions.
4276 (icomplete-minibuffer-setup): Adjust accordingly.
4277 (icomplete--completion-table, icomplete--completion-predicate)
4278 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4279 New functions.
4280 (icomplete-forward-completions, icomplete-backward-completions)
4281 (icomplete-simple-completing-p, icomplete-exhibit)
4282 (icomplete-completions): Use them.
4283 (icomplete--in-region-buffer): New var.
4284 (icomplete--in-region-setup): New function.
4285 (icomplete-mode): Use it.
4286
70568a90
SM
4287 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4288 (bug#15379).
4289 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4290 return args and options.
4291 (eshell-eval-using-options): Use the new return value of
4292 eshell--do-opts to set the options's vars in their scope.
4293 (eshell--set-option): Rename from eshell-set-option.
4294 Add arg `opt-vals'.
4295 (eshell--process-option): Rename from eshell-process-option.
4296 Add arg `opt-vals'.
4297 (eshell--process-args): Use an `opt-vals' alist to store the options's
4298 values during their processing and return them additionally to the
4299 remaining args.
4300
578c21bc
DG
43012013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4302
4303 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4304 continuation character an operator, as far as indentation is
4305 concerned (Bug#15369).
4306
c089653d
MR
43072013-09-15 Martin Rudalics <rudalics@gmx.at>
4308
4309 * window.el (window--state-put-2): Don't process buffer state
4310 when buffer doesn't exist any more (Bug#15382).
4311
1e53bb4b
GM
43122013-09-15 Glenn Morris <rgm@gnu.org>
4313
30753242
GM
4314 * eshell/em-unix.el (eshell/rm):
4315 Make -f ignore missing files. (Bug#15373)
4316
1e53bb4b
GM
4317 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4318 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4319 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4320
0d8863b3
GM
43212013-09-14 Glenn Morris <rgm@gnu.org>
4322
4323 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4324
d3fc6549
GM
43252013-09-13 Glenn Morris <rgm@gnu.org>
4326
4327 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4328 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4329
fcd42c11
DA
43302013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4331
4332 * frame.el (x-focus-frame): Mark as declared in frame.c.
4333
7830899f
SM
43342013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * ls-lisp.el: Use advice-add.
4337 (original-insert-directory): Remove.
4338 (ls-lisp--insert-directory): Rename from insert-directory; add
4339 `orig-fun' argument.
4340 (insert-directory): Advise.
4341
84387cd2
EZ
43422013-09-13 Eli Zaretskii <eliz@gnu.org>
4343
4344 * term.el (term-emulate-terminal): Decode the command string
4345 before passing it to term-command-hook. (Bug#15337)
4346
35ffc6ba
GM
43472013-09-13 Glenn Morris <rgm@gnu.org>
4348
5c3f9bcc
GM
4349 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4350
2ada368a
GM
4351 * eshell/esh-ext.el (eshell-search-path): Declare.
4352
fcef2e13
GM
4353 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4354 Otherwise an error occurs if eshell-dirs module not loaded.
4355
35ffc6ba
GM
4356 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4357
35c3d36e
MA
43582013-09-13 Michael Albinus <michael.albinus@gmx.de>
4359
4360 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4361 `tramp-check-proper-host'. Check for a valid method name.
4362
4363 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4364 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4365 * net/tramp-sh.el (tramp-maybe-open-connection):
4366 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4367
4368 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4369 also for hash values.
4370
ae5e4c48
SM
43712013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4372
379add74
SM
4373 * term/ns-win.el (parameters): Don't declare as dynamic.
4374 (before-make-frame-hook): Don't add ineffective function.
4375
ae5e4c48
SM
4376 * eshell/*.el: Use lexical-binding (bug#15231).
4377
b5623270
KH
43782013-09-12 Kenichi Handa <handa@gnu.org>
4379
ae5e4c48 4380 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4381
30213927
GM
43822013-09-12 Glenn Morris <rgm@gnu.org>
4383
be94d713 4384 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4385 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4386
44915370
GM
4387 * subr.el (do-after-load-evaluation): Also give compiler warnings
4388 when obsolete files are used (except by obsolete files).
4389
a6ae021f
GM
4390 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4391 in the status output, assume `filename' is the first. (Bug#15322)
4392
40e64f0c
GM
4393 * vc/vc.el (vc-deduce-fileset): Doc fix.
4394
16d9f896
GM
4395 * calc/calc-help.el (Info-goto-node):
4396 * progmodes/cperl-mode.el (Info-find-node):
4397 * vc/ediff.el (Info-goto-node): Update declarations.
4398
dea01c6e
GM
4399 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4400
759880bf 4401 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4402 (vc-bzr-pull): Require vc-dispatcher.
4403 * vc/vc-git.el (vc-compilation-mode): Declare.
4404 (vc-git-pull): Require vc-dispatcher.
4405
08d66420
GM
4406 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4407
30b626e9
GM
4408 * progmodes/octave.el (help-button-action): Declare.
4409
8c05cb10
GM
4410 * shell.el (shell-directory-tracker): Output error as a message
4411 rather than just returning it as a string.
4412 (shell-process-pushd): Remove useless use of message.
4413
30213927
GM
4414 * dframe.el (dframe-timer-fn):
4415 * files.el (dir-locals-read-from-file):
4416 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4417 (mpc-format):
4418 * reveal.el (reveal-post-command):
4419 * saveplace.el (load-save-place-alist-from-file):
4420 * shell.el (shell-resync-dirs):
4421 * w32-common-fns.el (x-get-selection-value):
4422 * emacs-lisp/copyright.el (copyright-find-copyright):
4423 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4424 * emulation/tpu-edt.el (tpu-copy-keyfile):
4425 * play/bubbles.el (bubbles--mark-neighbourhood):
4426 * progmodes/executable.el
4427 (executable-make-buffer-file-executable-if-script-p):
4428 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4429
d3b049e6
SM
44302013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4431
170266d0
SM
4432 Cleanup Eshell to rely less on dynamic scoping.
4433 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4434 last-value, and ext-command here. Bind `args' closer to `body'.
4435 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4436 (eshell--args): Declare new dynamic var.
4437 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4438 last-value, and ext-command. Pass `args' to `body'.
4439 (eshell-process-args): Bind eshell--args.
4440 (eshell-set-option): Use eshell--args.
4441 * eshell/eshell.el (eshell): Use derived-mode-p.
4442 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4443 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4444 (eshell-glob-function): Declare.
4445 * eshell/esh-util.el: Require cl-lib.
4446 (eshell-read-hosts-file): Avoid add-to-list.
4447 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4448 `err'.
4449 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4450 Declare.
4451 (eshell/diff): Remove unused var `err'.
4452 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4453 `killflag'.
4454 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4455 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4456 first use.
4457 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4458 Move declaration before first use.
4459 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4460 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4461 rely on cl-return.
4462
56834f3b
GM
44632013-09-12 Glenn Morris <rgm@gnu.org>
4464
4465 * term/ns-win.el (global-map): Remove binding for ispell-next,
4466 deleted 1999-05-29. (Bug#15357)
4467
5c91a2b8
GM
44682013-09-11 Glenn Morris <rgm@gnu.org>
4469
da712f22
GM
4470 * echistory.el (electric-command-history): Remove call to deleted func.
4471
512e4cdc
GM
4472 * play/landmark.el (landmark-mode): Fix typos.
4473
d3506ca5
GM
4474 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4475 Check cvs-sort-ignore-file is bound.
4476
5c91a2b8
GM
4477 * savehist.el: No need for cl when compiling on Emacs.
4478
feeff482
SM
44792013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4480
656bd483
SM
4481 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4482 (bug#15338).
d3b049e6
SM
4483 (eshell-self-insert-command, eshell-send-invisible):
4484 Remove unused argument.
656bd483
SM
4485 (eshell-handle-control-codes): Remove unused var `orig'.
4486 Avoid delete-backward-char.
4487
feeff482
SM
4488 * files.el (set-auto-mode): Simplify a bit further.
4489
2a08047a
GM
44902013-09-11 Glenn Morris <rgm@gnu.org>
4491
4492 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4493 (set-auto-mode): Don't regexp-quote elements.
4494 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4495 * progmodes/cc-mode.el (interpreter-mode-alist):
4496 * progmodes/ruby-mode.el (interpreter-mode-alist):
4497 Revert previous change.
4498
34675540
SM
44992013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4500
1b3b87df
SM
4501 * play/snake.el (snake-mode):
4502 * play/mpuz.el (mpuz-mode):
4503 * play/landmark.el (lm-mode):
4504 * play/blackbox.el (blackbox-mode):
4505 * play/5x5.el (5x5-mode):
4506 * obsolete/options.el (Edit-options-mode):
4507 * net/quickurl.el (quickurl-list-mode):
4508 * net/newst-treeview.el (newsticker-treeview-mode):
4509 * mail/rmailsum.el (rmail-summary-mode):
4510 * mail/mspools.el (mspools-mode):
4511 * locate.el (locate-mode):
4512 * ibuffer.el (ibuffer-mode):
4513 * emulation/ws-mode.el (wordstar-mode):
4514 * emacs-lisp/debug.el (debugger-mode):
4515 * array.el (array-mode):
4516 * net/eudc.el (eudc-mode): Use define-derived-mode.
4517 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4518 Move initialization into declaration.
4519 (mairix-searches-mode): Use define-derived-mode.
4520 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4521 (eudc-edit-hotlist): Use dolist.
4522 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4523 (Man-mode): Use define-derived-mode.
4524 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4525 (Info-edit-mode): Use define-derived-mode.
4526 (Info-cease-edit): Use Info-mode.
4527 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4528 into declaration.
4529 (eshell-mode): Use define-derived-mode.
4530 * chistory.el (command-history-mode-map): Rename from
4531 command-history-map.
4532 (command-history-mode): Use define-derived-mode.
da712f22 4533 (Command-history-setup): Remove function.
1b3b87df
SM
4534 * calc/calc.el (calc-trail-mode-map): New var.
4535 (calc-trail-mode): Use define-derived-mode.
4536 (calc-trail-buffer): Set calc-main-buffer manually.
4537 * bookmark.el (bookmark-insert-annotation): New function.
4538 (bookmark-edit-annotation): Use it.
4539 (bookmark-edit-annotation-mode): Make it a proper major mode.
4540 (bookmark-send-edited-annotation): Use derived-mode-p.
4541 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4542 closer to its ideal place. Use \' to match EOS.
4543
34675540
SM
4544 * profiler.el (profiler-calltree-find): Use function-equal.
4545
6a5c15d9
GM
45462013-09-10 Glenn Morris <rgm@gnu.org>
4547
1af4c220
GM
4548 * files.el (interpreter-mode-alist): Convert to regexps.
4549 (set-auto-mode): Adapt for this. (Bug#15306)
4550 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4551 Comment out unused variable.
4552 * progmodes/cc-mode.el (interpreter-mode-alist):
4553 * progmodes/python.el (interpreter-mode-alist):
4554 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4555 * progmodes/sh-script.el (sh-set-shell):
4556 No longer use interpreter-mode-alist to get list of shells.
4557
6a5c15d9
GM
4558 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4559
8c27f5ff
SM
45602013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4561
02ef6c1a 4562 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4563 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4564 Bind switch-frame explicitly. Replace universal-argument-minus with
4565 a conditional binding.
4566 (universal-argument-num-events, saved-overriding-map): Remove.
4567 (restore-overriding-map): Remove.
4568 (universal-argument--mode): Rename from save&set-overriding-map,
4569 and rewrite.
4570 (universal-argument, universal-argument-more, negative-argument)
4571 (digit-argument): Adjust accordingly.
4572 (universal-argument-minus): Remove.
4573 (universal-argument-other-key): Remove.
4574
8c27f5ff
SM
4575 * subr.el (with-demoted-errors): Add `format' argument.
4576
6480194c
MA
45772013-09-10 Michael Albinus <michael.albinus@gmx.de>
4578
4579 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4580 `tramp-cleanup-connection'.
4581
4582 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4583 parameters KEEP-DEBUG and KEEP-PASSWORD.
4584
4585 * net/tramp.el (tramp-file-name-handler):
4586 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4587 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4588 (tramp-maybe-open-connection):
8c27f5ff
SM
4589 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4590 Use `tramp-cleanup-connection'.
6480194c 4591
8c27f5ff
SM
4592 * net/tramp-sh.el (tramp-maybe-open-connection):
4593 Catch 'uname-changed inside the progress reporter.
6480194c 4594
e5e916d8
GM
45952013-09-10 Glenn Morris <rgm@gnu.org>
4596
9a2c9b47
GM
4597 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4598
e5e916d8
GM
4599 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4600 returns "alternate access method" in mode (eg "-rw-r--r--.").
4601
144e38fe
GM
46022013-09-08 Glenn Morris <rgm@gnu.org>
4603
4604 * saveplace.el (load-save-place-alist-from-file):
4605 Demote errors. (Bug#15305)
4606
af9ff9e8
MA
46072013-09-08 Michael Albinus <michael.albinus@gmx.de>
4608
4609 Improve compatibility with older Emacsen, and XEmacs.
4610
4611 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4612 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4613 (with-tramp-progress-reporter): Do not let-bind `result'.
4614 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4615 (tramp-handle-make-auto-save-file-name): New function, moved from
4616 tramp-sh.el.
4617
4618 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4619 for `make-auto-save-file-name'.
8c27f5ff
SM
4620 (tramp-adb--gnu-switches-to-ash):
4621 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4622
4623 * net/tramp-cache.el (tramp-cache-print): Call
4624 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4625
4626 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4627 bound. It isn't for XEmacs.
4628
8c27f5ff
SM
4629 * net/tramp-compat.el (tramp-compat-copy-file):
4630 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4631 (tramp-compat-replace-regexp-in-string): New defun.
4632
4633 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4634 for `make-auto-save-file-name'.
4635 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4636 `copy-file'.
4637 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4638 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4639 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4640
8c27f5ff
SM
4641 * net/tramp-gw.el (tramp-gw-open-network-stream):
4642 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4643
8c27f5ff
SM
4644 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4645 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4646 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4647 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4648 (tramp-sh-file-inotifywait-process-filter):
4649 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4650 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4651
4652 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4653 for `make-auto-save-file-name'.
8c27f5ff
SM
4654 (tramp-smb-handle-copy-directory):
4655 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4656 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4657 (tramp-smb-handle-copy-file): Improve error message.
4658 (tramp-smb-handle-rename-file): Rename directly only in case
4659 `newname' does not exist yet. This is a restriction of smbclient.
4660 (tramp-smb-maybe-open-connection): Rerun the function only when
4661 `auth-sources' is non-nil.
4662
0ca754d0
KH
46632013-09-08 Kenichi Handa <handa@gnu.org>
4664
e0eb0550 4665 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4666 more characters.
4667
e8dd0787
AM
46682013-09-07 Alan Mackenzie <acm@muc.de>
4669
4670 Correctly fontify Java class constructors.
4671 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4672 in Java Mode.
4673 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4674 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4675 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4676 "typeless" declaration there.
4677
f2f248e7
RW
46782013-09-07 Roland Winkler <winkler@gnu.org>
4679
4680 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4681 field subtitle for entry type book.
4682
67982e2b
SM
46832013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * minibuffer.el: Make minibuffer-complete call completion-in-region
4686 rather than other way around.
4687 (completion--some, completion-pcm--find-all-completions):
4688 Don't delay signals when debugging.
4689 (minibuffer-completion-contents): Beware fields within the
4690 minibuffer contents.
4691 (completion-all-sorted-completions): Use defvar-local.
4692 (completion--do-completion, completion--cache-all-sorted-completions)
4693 (completion-all-sorted-completions, minibuffer-force-complete):
4694 Add args `beg' and `end'.
4695 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4696 (minibuffer-complete): Use completion-in-region.
4697 (completion-complete-and-exit): New fun, extracted from
4698 minibuffer-complete-and-exit.
4699 (minibuffer-complete-and-exit): Use it.
4700 (completion--complete-and-exit): Rename from
4701 minibuffer--complete-and-exit.
4702 (completion-in-region--single-word): New function, extracted from
4703 minibuffer-complete-word.
4704 (minibuffer-complete-word): Use it.
4705 (display-completion-list): Make `common-substring' argument obsolete.
4706 (completion--in-region): Call completion--in-region-1 instead of
4707 minibuffer-complete.
4708 (completion-help-at-point): Pass boundaries to
4709 minibuffer-completion-help as args rather than via an overlay.
4710 (completion-pcm--string->pattern): Use `any-delim'.
4711 (completion-pcm--optimize-pattern): New function.
4712 (completion-pcm--pattern->regex): Handle `any-delim'.
4713 * icomplete.el (icomplete-forward-completions)
4714 (icomplete-backward-completions, icomplete-completions):
4715 Adjust calls to completion-all-sorted-completions and
4716 completion--cache-all-sorted-completions.
4717 (icomplete-with-completion-tables): Default to t.
4718 * emacs-lisp/crm.el (crm--current-element): Rename from
4719 crm--select-current-element. Don't put an overlay but return the
4720 boundaries instead.
4721 (crm--completion-command): Take two new args to bind to the boundaries.
4722 (crm-completion-help): Adjust accordingly.
4723 (crm-complete): Use completion-in-region.
4724 (crm-complete-word): Use completion-in-region--single-word.
4725 (crm-complete-and-exit): Use completion-complete-and-exit.
4726
e17d94a5
SM
47272013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4730 than dynamically.
4731
96727100
JL
47322013-09-06 Juri Linkov <juri@jurta.org>
4733
4734 * info.el (Info-display-images-node): When image file doesn't exist
4735 display text version of the image if it's provided in the Info file.
4736 Otherwise, display the location of missing image from SRC attribute.
4737 Add help-echo text property from ALT attribute. (Bug#15279)
4738
86cf7329
SM
47392013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4742 (edit-abbrevs-mode): Use define-derived-mode.
4743
4744 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4745 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4746 that it's defined.
4747 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4748 Use define-derived-mode.
4749
4750 * epg.el (epg-start-encrypt): Minor CSE simplification.
4751
816244a2
WX
47522013-09-06 William Xu <william.xwl@gmail.com>
4753
4754 * arc-mode.el: Add support for 7za (bug#15264).
4755 (archive-7z-program): New var.
4756 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4757 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4758 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4759
1486fa31
MA
47602013-09-06 Michael Albinus <michael.albinus@gmx.de>
4761
4762 Remove URL syntax.
4763
4764 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4765 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4766 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4767 (tramp-postfix-host-format, tramp-file-name-regexp)
4768 (tramp-completion-file-name-regexp)
4769 (tramp-completion-dissect-file-name)
4770 (tramp-handle-substitute-in-file-name): Remove 'url case.
4771 (tramp-file-name-regexp-url)
4772 (tramp-completion-file-name-regexp-url): Remove constants.
4773
39785324
GM
47742013-09-06 Glenn Morris <rgm@gnu.org>
4775
4776 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4777
1f896cb7
DG
47782013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4779
4780 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4781 keywords" below "here-doc beginnings" (Bug#15270).
4782
c0458e0b
SM
47832013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * subr.el (pop): Use `car-safe'.
4786 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4787 to detect unused `pop' return value.
4788
4789 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4790 var `block-regexp'.
4791 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4792 (python-fill-string): Remove unused var `marker'.
4793 (python-skeleton-add-menu-items): Remove unused var `items'.
4794
4795 * international/mule-cmds.el: Require CL.
4796 (find-coding-systems-for-charsets): Avoid add-to-list.
4797 (sanitize-coding-system-list): New function, extracted from
4798 select-safe-coding-system-interactively.
4799 (select-safe-coding-system-interactively): Use it.
4800 (read-input-method-name): Accept symbols for `default'.
4801
4802 * emacs-lisp/advice.el (defadvice): Add indent rule.
4803
6c42fc3e
DH
48042013-09-05 Daniel Hackney <dan@haxney.org>
4805
4806 * dired-x.el:
4807 * net/ange-ftp.el:
4808 * net/browse-url.el:
4809 * net/dbus.el:
4810 * net/eudc.el:
4811 * net/eudcb-ldap.el:
4812 * net/eww.el:
4813 * net/imap.el:
4814 * printing.el:
4815 * vc/ediff-diff.el:
4816 * vc/ediff-init.el:
4817 * vc/ediff-merg.el:
4818 * vc/ediff-mult.el:
4819 * vc/ediff-util.el:
4820 * vc/ediff-wind.el:
4821 * vc/ediff.el:
4822 * vc/emerge.el:
4823 * vc/pcvs.el:
4824 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4825 byte compiler. Remove some unused let-bound variables.
4826
4c528aab
SM
48272013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4830 a "ref-cell", since it gets better optimized (bug#14883).
4831
bd15c390
GM
48322013-09-05 Glenn Morris <rgm@gnu.org>
4833
4834 * progmodes/cc-awk.el (c-forward-sws): Declare.
4835
1c3ac2e5
GM
48362013-09-04 Glenn Morris <rgm@gnu.org>
4837
4838 * generic-x.el [rul-generic-mode]: Require cc-mode.
4839 (c++-mode-syntax-table): Declare.
4840 (rul-generic-mode-syntax-table): Init in the defvar.
4841
52b1cc79
SM
48422013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4843
c828af56
SM
4844 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4845 (vc-do-command, vc-set-async-update):
4846 * vc/vc-mtn.el (vc-mtn-dir-status):
4847 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4848 (vc-hg-pull, vc-hg-merge-branch):
4849 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4850 (vc-git-merge-branch):
4851 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4852 (vc-cvs-dir-status-files):
4853 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4854 (vc-bzr-dir-status-files):
4855 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4856 * vc/vc-annotate.el: Use lexical-binding.
4857 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4858 (vc-sentinel-movepoint): Declare.
4859 (vc-annotate): Don't use `goto-line'.
4860 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4861 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4862 (vc-sentinel-movepoint): Declare.
4863 * vc/vc-svn.el: Use lexical-binding.
4864 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4865 * vc/vc-sccs.el:
4866 * vc/vc-rcs.el: Use lexical-binding.
4867
abae272c
SM
4868 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4869 `deleted'. Don't drop errors silently.
4870
52b1cc79
SM
4871 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4872
63191d9f
XF
48732013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4874
4875 * vc/vc.el (vc-ignore): Rewrite.
4876 (vc-default-ignore): New function.
4877 (vc-default-ignore-completion-table): Use find-ignore-file.
4878
4879 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4880 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4881 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4882 Remove. Most code moved to vc.el.
4883
9d3f707c
SM
48842013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4885
abae272c 4886 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4887 * net/tramp-smb.el (tramp-smb-get-file-entries):
4888 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4889 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4890
fde38d49
SM
4891 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4892 Update call to it.
4893 (eww-change-select): Remove unused var `properties'.
4894 (eww-make-unique-file-name): Remove unused var `base'.
4895
4896 * finder.el (finder-compile-keywords): Don't mess with windows.
4897
84032db7
SM
4898 * calculator.el (calculator-funcall): Fix typo in last change.
4899
724f5e41
SM
4900 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4901
14b511d4
SM
4902 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4903 <pkg>-autoloads.el file stop us.
4904
9d3f707c 4905 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4906 warnings, and factor out common code.
9d3f707c 4907
88527bc0
DG
49082013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4909
4910 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4911 two-character operators and whether the character preceding them
4912 changes their meaning (Bug#15208).
4913
96edb677
FEG
49142013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4915
4916 Format code sent to Python shell for robustness.
9d3f707c
SM
4917 * progmodes/python.el (python-shell-buffer-substring):
4918 New function.
96edb677
FEG
4919 (python-shell-send-region, python-shell-send-buffer): Use it.
4920
95beaef3
MA
49212013-09-02 Michael Albinus <michael.albinus@gmx.de>
4922
4923 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4924 * net/tramp.el (tramp-user-error): ... here.
4925 (tramp-find-method, tramp-check-proper-host)
4926 (tramp-dissect-file-name, tramp-debug-message)
4927 (tramp-handle-shell-command):
4928 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4929 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4930
4931 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4932
f167c27b
MR
49332013-09-02 Martin Rudalics <rudalics@gmx.at>
4934
4935 * avoid.el (mouse-avoidance-point-position)
4936 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4937 returns nil.
4938
cd16c5f1
FEG
49392013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4940
4941 * progmodes/python.el (python-shell-completion-get-completions):
4942 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4943 (python-nav-if-name-main): New command.
cd16c5f1 4944
e73c3a0d
GM
49452013-09-01 Glenn Morris <rgm@gnu.org>
4946
f8ccce03
GM
4947 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4948 Avoid leading space in $wins. Otherwise the sed command used by
4949 eg compile-main ends up containing "/*.el". (Bug#15170)
4950
e73c3a0d
GM
4951 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4952
415f808e
GM
49532013-08-30 Glenn Morris <rgm@gnu.org>
4954
4955 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4956 Fix is-this-a-directory logic. (Bug#15220)
4957
f069bba8
SM
49582013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4959
112798c1
SM
4960 * textmodes/css-mode.el: Use SMIE.
4961 (css-smie-grammar): New var.
4962 (css-smie--forward-token, css-smie--backward-token)
4963 (css-smie-rules): New functions.
4964 (css-mode): Use them.
4965 (css-navigation-syntax-table): Remove var.
4966 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4967 (css-indent-calculate, css-indent-line): Remove functions.
4968
4969 Misc changes to reduce use of `(lambda...); and other cleanups.
4970 * cus-edit.el: Use lexical-binding.
4971 (customize-push-and-save, customize-apropos)
4972 (custom-buffer-create-internal): Use closures.
4973 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4974 * progmodes/ada-xref.el: Use setq.
4975 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4976 * dframe.el: Use lexical-binding.
4977 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4978 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4979 * descr-text.el: Use lexical-binding.
4980 (describe-text-widget, describe-text-sexp, describe-property-list):
4981 Use closures.
4982 * comint.el (comint-history-isearch-push-state): Use a closure.
4983 * calculator.el: Use lexical-binding.
4984 (calculator-number-to-string): Make it work with lexical-binding.
4985 (calculator-funcall): Same and use cl-letf.
4986
2da4c3ab
SM
4987 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4988 (lisp--company-doc-string, lisp--company-location): New functions.
4989 (lisp-completion-at-point): Use them to improve Company support.
4990
f069bba8
SM
4991 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4992 params of lambda expressions.
4993 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4994 (ruby-smie--opening-pipe-p): New function.
4995 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4996 symbols and matched |...| for formal params.
4997 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4998 from being treated as hanging. Handle "rescue".
4999
6758b6a8
GM
50002013-08-29 Glenn Morris <rgm@gnu.org>
5001
5002 * progmodes/cc-engine.el (c-pull-open-brace):
5003 Move definition before use.
5004
e8dfd197
SM
50052013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5008 are immutable. Don't use `unsafe' any more.
5009 (cl--defsubst-expand): Don't substitute at the same time as keeping
5010 a residual unused let-binding. Don't use `unsafe' any more.
5011
cc585c96
GM
50122013-08-29 Glenn Morris <rgm@gnu.org>
5013
ba579ea6
GM
5014 * calendar/cal-china.el (calendar-chinese-year-cache):
5015 Recenter on 2015.
5016
8201a87e
GM
5017 * nxml/nxml-util.el (nxml-debug-clear-inside):
5018 Use cl-loop rather than loop.
5019
6ee877c7
GM
5020 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5021
cc585c96
GM
5022 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5023
27be8d39
GM
50242013-08-28 Glenn Morris <rgm@gnu.org>
5025
397440a1
GM
5026 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5027
2bb762d4
GM
5028 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5029
27be8d39
GM
5030 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5031
2d69b99e
SM
50322013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5033
f663baa7
SM
5034 * simple.el (repeat-complex-command--called-interactively-skip):
5035 New function.
5036 (repeat-complex-command): Use it (bug#14136).
5037
dd4f8b74
SM
5038 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5039 (c-define-abbrev-table): Add `doc' argument.
5040 (c-mode-abbrev-table, c++-mode-abbrev-table)
5041 (objc-mode-abbrev-table, java-mode-abbrev-table)
5042 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5043 (awk-mode-abbrev-table): Use it.
5044 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5045 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5046 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5047 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5048 Move initialization into the declaration; and remove any
5049 autoload cookie.
5050
b58969f7
SM
5051 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5052 and dynamic let binding.
5053
4021d6a6
SM
5054 * vc/smerge-mode.el: Remove redundant :group args.
5055
2d69b99e
SM
5056 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5057 to load-path.
5058
274919fd
JL
50592013-08-28 Juri Linkov <juri@jurta.org>
5060
5061 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5062 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5063 (isearch-other-meta-char): Handle an undefined shifted printing
5064 character by downshifting it. (Bug#15200)
5065
121f8c95
JL
50662013-08-28 Juri Linkov <juri@jurta.org>
5067
5068 * isearch.el (isearch-search): Change regexp error message for
5069 non-regexp searches. (Bug#15166)
5070
50b13cde
PE
50712013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5072
5073 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5074 for portability to hosts where /bin/sh has problems.
5075
95888bca
SM
50762013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5077
5078 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5079
bbe558f1
JL
50802013-08-27 Juri Linkov <juri@jurta.org>
5081
5082 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5083 in the keyboard macro. (Bug#15126)
5084
26f98a7d
JL
50852013-08-27 Juri Linkov <juri@jurta.org>
5086
5087 * isearch.el (isearch-quote-char): Comment out converting unibyte
5088 to multibyte, thus syncing with its `quoted-insert' counterpart.
5089 (Bug#15166)
5090
7c97d35e
MR
50912013-08-27 Martin Rudalics <rudalics@gmx.at>
5092
5093 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5094 argument in call of get-largest-window (Bug#15185).
5095 Reported by Stephen Leake.
7c97d35e 5096
a0b5606e 50972013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5098
5099 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5100
9e89d835
SM
51012013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5102
5103 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5104 from a matcher-function unless there's no more matches (bug#15161).
5105
78fc2530
MA
51062013-08-26 Michael Albinus <michael.albinus@gmx.de>
5107
5108 * minibuffer.el: Revert change from 2013-08-20.
5109
5110 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5111 with text property `tramp-default', if appropriate.
5112 (tramp-check-proper-host): New defun.
5113 (tramp-dissect-file-name): Do not check hostname. Revert change
5114 of 2013-03-18.
5115 (tramp-backtrace): Make VEC-OR-PROC optional.
5116
5117 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5118 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5119 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5120 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5121 Apply `tramp-check-proper-host'.
78fc2530 5122
edca97cd
TH
51232013-08-26 Tassilo Horn <tsdh@gnu.org>
5124
5125 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5126 lambda expression in order to have `describe-variable' display it.
5127
df54bcbd
MA
51282013-08-26 Michael Albinus <michael.albinus@gmx.de>
5129
5130 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5131 BUF can be optional. (Bug#15186)
5132
eed99101
XF
51332013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5134
5135 * progmodes/flymake.el (flymake-get-real-file-name-function):
5136 Fix broken customization. (Bug#15184)
5137
b5eb9035
AM
51382013-08-25 Alan Mackenzie <acm@muc.de>
5139
8a51e842
AM
5140 Improve indentation of bracelists defined by macros (without "=").
5141
5142 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5143 expansion begins with "{", regard it as bracelist when it doesn't
5144 contain a ";".
5145
869455d4
AM
5146 Parse C++ inher-intro when there's a template split over 2 lines.
5147
5148 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5149 rigorously the search for "class" etc. followed by ":".
5150
5151 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5152 random languages a regexp which never matches rather than nil.
5153
b5eb9035
AM
5154 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5155
5156 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5157 (c-awk-regexp-one-line-possibly-open-char-list-re)
5158 (c-awk-one-line-possibly-open-regexp-re)
5159 (c-awk-one-line-non-syn-ws*-re): Remove.
5160 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5161 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5162 (c-awk-space*-unclosed-regexp-/-re): New constants.
5163 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5164 aren't regexp delimiters.
5165
5166 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5167 handling for a rare situation in AWK Mode involving unterminated
5168 strings/regexps.
5169
61611d54
GM
51702013-08-23 Glenn Morris <rgm@gnu.org>
5171
2d85dc34
GM
5172 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5173
cb8d2612
GM
5174 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5175
bb35f42f
GM
5176 * files.el (create-file-buffer): If the result would begin with
5177 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5178
b9808e77
SM
51792013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5180
e3a66363
SM
5181 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5182 text-properties (bug#15155).
5183
b9808e77
SM
5184 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5185 exist any more.
5186 (calc-keypad-redraw): Remove unused var `pad'.
5187 (calc-keypad-press): Remove unused var `menu'.
5188
7fd5f65e
MR
51892013-08-23 Martin Rudalics <rudalics@gmx.at>
5190
b9808e77
SM
5191 * window.el (display-buffer-pop-up-frame):
5192 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5193 use it as the new frame's buffer (Bug#15133).
5194
8352b530
SM
51952013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * calendar/timeclock.el: Minor cleanups.
5198 (timeclock-ask-before-exiting, timeclock-use-display-time):
5199 Use `symbol'.
5200 (timeclock-modeline-display): Define as alias before the
5201 actual definition.
5202 (timeclock-mode-line-display): Use define-minor-mode.
5203 (timeclock-day-list-template): Make it a function, add an argument.
5204 (timeclock-day-list-required, timeclock-day-list-length)
5205 (timeclock-day-list-debt, timeclock-day-list-span)
5206 (timeclock-day-list-break): Adjust calls accordingly.
5207
9f7b1925
SM
52082013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5211 Use read--expression so that completion works again.
5212
6e50e983
SS
52132013-08-21 Sam Steingold <sds@gnu.org>
5214
5215 Add rudimentary inferior shell interaction
5216 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5217 (sh-set-shell): Reset it.
9f7b1925
SM
5218 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5219 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5220
dbb0d350
SM
52212013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5222
5223 * align.el: Use lexical-binding.
5224 (align-region): Simplify accordingly.
5225
c88586a9
MA
52262013-08-20 Michael Albinus <michael.albinus@gmx.de>
5227
5228 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5229
5230 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5231 `non-essential' up.
5232
f95527c8
MA
52332013-08-17 Michael Albinus <michael.albinus@gmx.de>
5234
5235 * net/tramp.el:
5236 * net/tramp-adb.el:
5237 * net/tramp-cmds.el:
5238 * net/tramp-ftp.el:
5239 * net/tramp-gvfs.el:
5240 * net/tramp-gw.el:
5241 * net/tramp-sh.el: Don't wrap external variable declarations by
5242 `eval-when-compile'.
5243
4b5fe4ee
LMI
52442013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5245
5246 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5247 now that Emacs supports ImageMagick animations.
5248
13c366c9
MA
52492013-08-16 Michael Albinus <michael.albinus@gmx.de>
5250
5251 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5252 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5253
3dfc5cd6
MR
52542013-08-16 Martin Rudalics <rudalics@gmx.at>
5255
5256 * window.el (mouse-autoselect-window-select): Do autoselect when
5257 mouse pointer is on margin.
5258
4bbb4381
WP
52592013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5260
5261 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5262
3a2ddc2d
GM
52632013-08-16 Glenn Morris <rgm@gnu.org>
5264
e8bedf5a
GM
5265 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5266 Handle "Remote Directory" response of some clients. (Bug#15058)
5267
58c4682f
GM
5268 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5269 Tweak warning. (Bug#14926)
5270
57953f49
GM
5271 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5272 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5273
3a2ddc2d
GM
5274 * image-mode.el (image-mode-map): Add menu items to reverse,
5275 increase, decrease, reset animation speed.
5276 (image--set-speed, image-increase-speed, image-decrease-speed)
5277 (image-reverse-speed, image-reset-speed): New functions.
5278 (image-mode-map): Add bindings for speed commands.
5279
5280 * image.el (image-animate-get-speed, image-animate-set-speed):
5281 New functions.
5282 (image-animate-timeout): Respect image :speed property.
5283
10fa0ed3
SM
52842013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5287 previous line (bug#15101).
5288 (debugger-eval-expression, debugger-record-expression):
5289 Use read--expression (bug#15102).
5290
5d89d9d2
MA
52912013-08-15 Michael Albinus <michael.albinus@gmx.de>
5292
5293 Remove byte compiler warnings, visible when compiling with
5294 `byte-compile-force-lexical-warnings' set to t.
5295
5296 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5297 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5298 (tramp-handle-unhandled-file-name-directory)
5299 (tramp-handle-file-notify-add-watch, tramp-action-login)
5300 (tramp-action-succeed, tramp-action-permission-denied)
5301 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5302 arguments with "_".
5303
5304 * net/tramp-adb.el (tramp-adb-parse-device-names)
5305 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5306 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5307 (tramp-adb-handle-file-truename): Remove unused arguments.
5308
5309 * net/tramp-cache.el (tramp-flush-directory-property)
5310 (tramp-flush-connection-property, tramp-list-connections)
5311 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5312
10fa0ed3
SM
5313 * net/tramp-compat.el (tramp-compat-make-temp-file):
5314 Rename FILENAME to F.
5d89d9d2
MA
5315
5316 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5317 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5318 (tramp-zeroconf-parse-workstation-device-names)
5319 (tramp-zeroconf-parse-webdav-device-names)
5320 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5321
5322 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5323 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5324
5325 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5326 arguments.
5327 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5328 (tramp-sh-handle-insert-file-contents-literally)
5329 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5330 with "_".
5331 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5332 Remove unused variables.
5333
5334 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5335 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5336 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5337
5338 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5339 Make them a defconst.
5340 (tramp-uuencode-region): Remove unused variable.
5341
62f33bae
JB
53422013-08-14 Juanma Barranquero <lekktu@gmail.com>
5343
5344 * frameset.el (frameset--prop-setter): New function.
5345 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5346 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5347 parameter was already set in FILTERED. Doc fix.
5348 (frameset--record-minibuffer-relationships): Allow saving a
5349 minibufferless frame without its corresponding minibuffer frame.
5350 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5351 frame, if the frame id matches.
5352 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5353 frames before orphaned ones.
5354 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5355
c660a885
MR
53562013-08-14 Martin Rudalics <rudalics@gmx.at>
5357
5358 * window.el (window-make-atom): Don't overwrite parameter
5359 already present.
5360 (display-buffer-in-atom-window): Handle special case where we
5361 split an already atomic window.
5362 (window--major-non-side-window, display-buffer-in-side-window)
5363 (window--side-check): Ignore minibuffer window when walking
5364 window tree.
5365 (window-deletable-p): Return 'frame only if no other frame uses
5366 our minibuffer window.
5367 (record-window-buffer): Run buffer-list-update-hook.
5368 (split-window): Make sure window--check-frame won't destroy an
5369 existing atomic window in case the new window gets nested
5370 inside.
5371 (display-buffer-at-bottom): Ignore minibuffer window when
5372 walking window tree. Don't split a side window.
5373 (pop-to-buffer): Don't set-buffer here, the select-window call
5374 should do that.
5375 (mouse-autoselect-window-select): Autoselect only if we are in the
5376 text portion of the window.
5377
8259030d
LMI
53782013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5379
21c58ae2
LMI
5380 * net/shr.el (shr-parse-image-data): New function to grab both the
5381 data itself and the Content-Type.
5382 (shr-put-image): Use it.
5383
5384 * net/eww.el (eww-display-image): Ditto.
5385
8259030d
LMI
5386 * image.el (image-content-type-suffixes): New variable.
5387
ad756449
FEG
53882013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5389
5390 * progmodes/python.el (python-imenu--build-tree)
5391 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5392
f73f4ce6
XF
53932013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5394
5395 * simple.el (backward-word): Mention the optional argument.
5396
1f585e65
SM
53972013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 * frameset.el (frameset--make): Rename constructor from make-frameset.
5400 (frameset-p, frameset-valid-p): Don't autoload.
5401 (frameset-valid-p): Use normal accessors.
5402
af1c6c84
GM
54032013-08-13 Glenn Morris <rgm@gnu.org>
5404
55e47f95
GM
5405 * progmodes/compile.el (compile-command): Tweak example in doc.
5406 * obsolete/scribe.el (scribe-mode):
5407 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5408
f0024d8c
GM
5409 * mail/feedmail.el (feedmail-confirm-outgoing)
5410 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5411
5412 * cus-start.el (truncate-partial-width-windows): Fix type.
5413
5414 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5415
af1c6c84
GM
5416 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5417
5514cc4c
SM
54182013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * emacs-lisp/timer.el (timer--time-setter): New function.
5421 (timer--time): Use it as gv-setter.
5422
5423 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5424 setter is not a symbol.
5425
7997a2f1
GJ
54262013-08-12 Grégoire Jadi <daimrod@gmail.com>
5427
5428 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5429 if sending fails. This makes debugging easier.
5430
01f1a9ab
JB
54312013-08-12 Juanma Barranquero <lekktu@gmail.com>
5432
5433 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5434 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5435 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5436
594a4307
EZ
54372013-08-12 Eli Zaretskii <eliz@gnu.org>
5438
5439 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5440
7a22490f 54412013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5442
5443 * format.el (format-annotate-function):
5444 Handle read-only text properties in the source. (Bug#14887)
5445
3e41a054
LMI
54462013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5447
5514cc4c
SM
5448 * net/eww.el (eww-display-html): Ignore coding system errors.
5449 One web site uses "utf-8lias" as the coding system.
3e41a054 5450
7ec326db
JB
54512013-08-11 Juanma Barranquero <lekktu@gmail.com>
5452
5453 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5454
5660113b
JB
54552013-08-10 Juanma Barranquero <lekktu@gmail.com>
5456
9a4ebc74
JB
5457 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5458 (tutorial--detailed-help): Remove unused local variables.
5459 (tutorial--save-tutorial-to): Use ignore-errors.
5460 (help-with-tutorial): Use looking-at-p.
5461
5462 * view.el (view-buffer-other-window, view-buffer-other-frame):
5463 Mark unused arguments.
5464
5465 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5466 (woman-select-symbol-fonts, woman, woman-find-file)
5467 (woman-insert-file-contents, woman-non-underline-faces):
5468 Use string-match-p.
5469 (woman1-unquote): Move declaration.
5470
5471 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5472 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5473 argument. Remove unused local variable.
5474 (xml-parse-elem-type): Use string-match-p.
5475 (xml-substitute-numeric-entities): Use ignore-errors.
5476
45fdb482
JB
5477 * calculator.el (calculator): Mark unused argument.
5478 (calculator-paste, calculator-quit, calculator-integer-p):
5479 Use ignore-errors.
5480 (calculator-string-to-number, calculator-decimal, calculator-exp)
5481 (calculator-op-or-exp): Use string-match-p.
5482
5483 * dired.el (dired-buffer-more-recently-used-p): Declare.
5484 (dired-insert-set-properties, dired-insert-old-subdirs):
5485 Use ignore-errors.
5486
5487 * dired-aux.el (dired-compress): Use ignore-errors.
5488 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5489 (dired-do-async-shell-command, dired-do-shell-command)
5490 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5491 (dired-insert-subdir-validate): Use string-match-p.
5492 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5493 (dired-add-entry): Use string-match-p, looking-at-p.
5494 (dired-insert-subdir-newpos): Remove unused local variable.
5495
5496 * filenotify.el (file-notify-callback): Remove unused local variable.
5497
5498 * filesets.el (filesets-error): Mark unused argument.
5499 (filesets-which-command-p, filesets-filter-dir-names)
5500 (filesets-directory-files, filesets-get-external-viewer)
5501 (filesets-ingroup-get-data): Use string-match-p.
5502
5503 * find-file.el (ff-other-file-name, ff-other-file-name)
5504 (ff-find-the-other-file, ff-cc-hh-converter):
5505 Remove unused local variables.
5506 (ff-get-file-name): Use string-match-p.
5507 (ff-all-dirs-under): Use ignore-errors.
5508
5509 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5510 (follow-select-if-visible): Remove unused local variable.
5511
5512 * forms.el (read-file-filter): Move declaration.
5513 (forms--make-format, forms--make-parser, forms-insert-record):
5514 Quote function with #'.
5515 (forms--update): Use string-match-p. Quote function with #'.
5516
5517 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5518 (help-make-xrefs): Use looking-at-p.
5519 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5520
5521 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5522 (ibuffer-confirm-operation-on): Use string-match-p.
5523
5524 * msb.el (msb-item-handler, msb-dired-item-handler):
5525 Mark unused arguments.
5526
5527 * ses.el (ses-decode-cell-symbol)
5528 (ses-kill-override): Remove unused local variable.
5529 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5530 (ses-load): Use ignore-errors, looking-at-p.
5531 (ses-jump-safe): Use ignore-errors.
5532 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5533
5534 * tabify.el (untabify, tabify): Mark unused arguments.
5535
5536 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5537 Mark unused argument.
5538 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5539 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5540
c880af52
JB
5541 * emacs-lisp/timer.el (timer--time): Define setter with
5542 gv-define-setter to avoid deprecation warning.
5543
5660113b 5544 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5545 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5546 (cmpl-statistics-block): Remove (body was commented out).
5547 All callers changed.
5548 (add-completions-from-buffer, load-completions-from-file):
5549 Remove unused variables.
5550
156aab80
JB
55512013-08-09 Juanma Barranquero <lekktu@gmail.com>
5552
5c5dee78
JB
5553 * filecache.el (file-cache-delete-file-list):
5554 Print message only when told so.
5555 (file-cache-files-matching): Use #' in mapconcat argument.
5556
156aab80
JB
5557 * ffap.el (ffap-url-at-point): Fix reference to variable
5558 thing-at-point-default-mail-uri-scheme.
5559
ad9dcd70
SM
55602013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5561
54bd972f
SM
5562 * subr.el (define-error): New function.
5563 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5564 error-file-not-found and define with define-error.
5565 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5566 and define with define-error.
5567 * userlock.el (file-locked, file-supersession):
5568 * simple.el (mark-inactive):
5569 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5570 * progmodes/ada-mode.el (ada-mode-errors):
5571 * play/life.el (life-extinct):
5572 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5573 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5574 * nxml/rng-util.el (rng-error):
5575 * nxml/rng-uri.el (rng-uri-error):
5576 * nxml/rng-match.el (rng-compile-error):
5577 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5578 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5579 * nxml/nxml-rap.el (nxml-scan-error):
5580 * nxml/nxml-outln.el (nxml-outline-error):
5581 * net/soap-client.el (soap-error):
5582 * net/gnutls.el (gnutls-error):
5583 * net/ange-ftp.el (ftp-error):
5584 * mpc.el (mpc-proc-error):
5585 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5586 (json-number-format, json-string-escape, json-string-format)
5587 (json-key-format, json-object-format):
5588 * jka-compr.el (compression-error):
5589 * international/quail.el (quail-error):
5590 * international/kkc.el (kkc-error):
5591 * emacs-lisp/ert.el (ert-test-failed):
5592 * calc/calc.el (calc-error, inexact-result, math-overflow)
5593 (math-underflow):
5594 * bookmark.el (bookmark-error-no-filename):
5595 * epg.el (epg-error): Define with define-error.
5596
0ea9e53a
SM
5597 * time.el (display-time-event-handler)
5598 (display-time-next-load-average): Don't call sit-for since it seems
5599 unnecessary (bug#15045).
5600
b0429158
SM
5601 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5602 Use #' instead of ' to quote functions.
5603 (checkdoc-output-mode): Use setq-local.
5604 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5605 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5606 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5607 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5608 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5609 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5610 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5611 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5612
ad9dcd70
SM
5613 * ido.el (ido-completion-help): Fix up compiler warning.
5614
77187e6f
JB
56152013-08-09 Juanma Barranquero <lekktu@gmail.com>
5616
5617 * frameset.el (frameset-p): Add autoload cookie.
5618 (frameset--jump-to-register): New function, based on code moved from
5619 register.el.
5620 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5621
5622 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5623 (frameset-restore, frameset-save, frameset-session-filter-alist):
5624 Remove declarations.
5625 (register-alist): Doc fix.
5626 (frameset-to-register): Move to frameset.el.
5627 (jump-to-register, describe-register-1): Remove frameset-specific code.
5628
9d3aa82c
JB
56292013-08-08 Juanma Barranquero <lekktu@gmail.com>
5630
5631 * allout-widgets.el (allout-widgets-pre-command-business)
5632 (allout-widgets-post-command-business)
5633 (allout-widgets-after-change-handler)
5634 (allout-decorate-item-and-context, allout-set-boundary-marker)
5635 (allout-body-modification-handler)
5636 (allout-graphics-modification-handler): Mark ignored arguments.
5637 (allout-widgets-post-command-business)
5638 (allout-widgets-exposure-change-processor)
5639 (allout-widgets-exposure-undo-processor)
5640 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5641 (allout-parse-item-at-point, allout-decorate-item-guides)
5642 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5643 * allout.el (epa-passphrase-callback-function): Declare.
5644 (allout-overlay-insert-in-front-handler)
5645 (allout-overlay-interior-modification-handler)
5646 (allout-isearch-end-handler, allout-chart-siblings)
5647 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5648 (allout-yank-processing, allout-process-exposed)
5649 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5650 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5651 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5652 (lisp-indent-defform): Mark ignored arguments.
5653 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5654 (calculate-lisp-indent): Remove unused variables.
5655 * international/characters.el (indian-2-column, arabic-2-column)
5656 (tibetan): Mark ignored arguments.
5657 (use-cjk-char-width-table): Mark ignored arguments.
5658 Remove unused variables.
5659 * international/fontset.el (build-default-fontset-data)
5660 (x-compose-font-name, create-fontset-from-fontset-spec):
5661 Mark ignored arguments.
5662 (fontset-plain-name): Remove unused variables.
5663 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5664 (keyboard-coding-system): Mark ignored arguments.
5665 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5666 * help.el (resize-temp-buffer-window):
5667 * window.el (display-buffer-in-major-side-window)
5668 (display-buffer-in-side-window, display-buffer-in-previous-window):
5669 Remove unused variables.
5670 * isearch.el (isearch-forward-symbol):
5671 * version.el (emacs-bzr-version-bzr):
5672 * international/mule-cmds.el (current-language-environment):
5673 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5674 (x-handle-display):
5675 * term/pc-win.el (x-list-fonts, x-display-planes)
5676 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5677 (x-server-version, x-display-screens, x-display-mm-height)
5678 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5679 (x-selection-owner-p, x-own-selection-internal)
5680 (x-disown-selection-internal, x-get-selection-internal)
5681 (msdos-initialize-window-system):
5682 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5683 * term/x-win.el (x-handle-no-bitmap-icon):
5684 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5685 (vc-default-find-file-hook, vc-default-extra-menu):
5686 Mark ignored arguments.
5687
0ca3f70e
SM
56882013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5691 break-condition in the context of the debugged code (bug#12685).
5692
74c5d24c
CS
56932013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5694
5695 * comint.el:
5696 Do not use an overlay to highlight the last prompt. (Bug#14744)
5697 (comint-mode): Make comint-last-prompt buffer local.
5698 (comint-last-prompt): New variable.
5699 (comint-last-prompt-overlay): Remove. Superseded by
5700 comint-last-prompt.
0ca3f70e
SM
5701 (comint-snapshot-last-prompt, comint-output-filter):
5702 Use comint-last-prompt.
74c5d24c 5703
c03c02ee
JB
57042013-08-08 Juanma Barranquero <lekktu@gmail.com>
5705
a3738d20 5706 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5707 (frameset-save): Check validity of the resulting frameset.
5708
04263d23
XF
57092013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5710
5711 * ido.el (ido-record-command): Add doc string.
5712
76c5e5ab
JB
57132013-08-08 Juanma Barranquero <lekktu@gmail.com>
5714
5715 * frameset.el (frameset): Do not disable creation of the default
5716 frameset-p predicate. Doc fix.
5717 (frameset-valid-p): New function, copied from the old predicate-p.
5718 Add additional checks.
5719 (frameset-restore): Check with frameset-valid-p.
5720 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5721 (frameset-name, frameset-description, frameset-properties)
5722 (frameset-states): Add docstring.
f9dbf1cb
JB
5723 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5724 (frameset-filter-alist): Doc fixes.
76c5e5ab 5725
bd0c3c0b
JB
57262013-08-08 Juanma Barranquero <lekktu@gmail.com>
5727
5728 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5729
c735544c
SM
57302013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5733 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5734 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5735 (byte-compile-normal-call): Remove obsolescence check.
5736
2805a651
JB
57372013-08-08 Juanma Barranquero <lekktu@gmail.com>
5738
3677ffeb
JB
5739 * frameset.el (frameset-restore): Doc fix.
5740
2805a651
JB
5741 * register.el (frameset-frame-id, frameset-frame-with-id)
5742 (frameset-p, frameset-restore, frameset-save): Declare.
5743 (register-alist): Document framesets.
5744 (frameset-session-filter-alist): Declare.
5745 (frameset-to-register): New function.
5746 (jump-to-register): Implement jumping to framesets. Doc fix.
5747 (describe-register-1): Describe framesets.
5748
5749 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5750
a912c016
JB
57512013-08-07 Juanma Barranquero <lekktu@gmail.com>
5752
5753 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5754 Use lexical-binding.
5755
5756 * frameset.el (frameset): Use type vector, not list (incompatible
5757 change). Do not declare a new constructor, use the default one.
5758 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5759 `name' and `description', respectively, and add read-only slot
5760 `timestamp'. Doc fixes.
5761 (frameset-copy, frameset-persistent-filter-alist)
5762 (frameset-filter-alist, frameset-switch-to-gui-p)
5763 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5764 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5765 (frameset-filter-iconified, frameset-keep-original-display-p):
5766 Doc fixes.
5767 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5768 Rename from frameset-filter-(save|restore)-param. All callers changed.
5769 Doc fix.
5770 (frameset-p): Adapt to change to vector and be more thorough.
5771 Change arg name to OBJECT. Doc fix.
5772 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5773 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5774 All callers changed.
5775 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5776 All callers changed.
5777 (frameset--record-minibuffer-relationships): Rename from
5778 frameset--process-minibuffer-frames. All callers changed.
5779 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5780 Use new default constructor (again). Doc fix.
5781 (frameset--find-frame-if): Rename from `frameset--find-frame.
5782 All callers changed.
5783 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5784 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5785 Doc fix.
5786 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5787 PARAMETERS and WINDOW-STATE, respectively.
5788 (frameset-restore): Add new keyword argument PREDICATE.
5789 Reset frameset--target-display to nil. Doc fix.
5790
bb41480a
SM
57912013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5792
f001e98e
SM
5793 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5794 (bat-mode): Use it.
5795 (bat-mode-syntax-table): Mark \n as end-of-comment.
5796 (bat-font-lock-keywords): Remove comment rule.
5797
7679edb1
SM
5798 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5799 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5800
bb41480a
SM
5801 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5802 (byte-compile-callargs-warn): Use `push'.
5803 (byte-compile-arglist-warn): Ignore higher-order "calls".
5804 (byte-compile-file-form-autoload): Use `pcase'.
5805 (byte-compile-function-form): If quoting a symbol, check that it exists.
5806
cdc1ebb9
EZ
58072013-08-07 Eli Zaretskii <eliz@gnu.org>
5808
5809 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5810 and add a few popular commands found in batch files.
5811 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5812 (dos-mode): Doc fixes.
5813
312b1740
SM
58142013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5815
5816 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5817 (dos-mode): Use setq-local. Add space after "rem".
5818 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5819 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5820
400a3178
AM
58212013-08-07 Arni Magnusson <arnima@hafro.is>
5822
5823 * progmodes/dos.el: New file.
5824 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5825 dos-mode.
5826
3b5c03d3
GM
58272013-08-06 Glenn Morris <rgm@gnu.org>
5828
5829 * calendar/calendar.el: Add new faces, and day-header-array.
5830 (calendar-weekday-header, calendar-weekend-header)
5831 (calendar-month-header): New faces.
5832 (calendar-day-header-construct): New function.
5833 (calendar-day-header-width): Also :set calendar-day-header-array.
5834 (calendar-american-month-header, calendar-european-month-header)
5835 (calendar-iso-month-header): Use calendar- faces.
5836 (calendar-generate-month):
5837 Use calendar-day-header-array for day headers; apply faces to them.
5838 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5839 (calendar-abbrev-construct): Add optional maxlen argument.
5840 (calendar-day-name-array): Doc fix.
5841 (calendar-day-name-array, calendar-abbrev-length)
5842 (calendar-day-abbrev-array):
5843 Also :set calendar-day-header-array, and maybe redraw.
5844 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5845 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5846 (calendar-day-name): Add option to use header array.
5847
ec6a2d7a
LMI
58482013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5849
5850 * net/shr.el (shr-render-td): Remove debugging.
5851 (shr-render-td): Make width computation consistent by defaulting
5852 all zero-width columns to 10 characters. This may not be optimal,
5853 but it's at least consistent.
2122cb6d
LMI
5854 (shr-make-table-1): Redo last change to fix the real problem in
5855 colspan handling.
ec6a2d7a 5856
ed4fd9c5
DA
58572013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5858
0ca3f70e
SM
5859 * files.el (cache-long-line-scans):
5860 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5861
64e22afe
JB
58622013-08-06 Juanma Barranquero <lekktu@gmail.com>
5863
024b38fc
JB
5864 * frameset.el (frameset, frameset-filter-alist)
5865 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5866 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5867 (frameset-compute-pos): Rename from frameset--compute-pos,
5868 and add docstring.
5869 (frameset-move-onscreen): Use frameset-compute-pos.
5870 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5871
64e22afe
JB
5872 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5873 Fix typos in docstrings.
5874
c8c2aca8
DA
58752013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5876
5877 * frame.el (get-other-frame): Tiny cleanup.
5878
1d237bba
JB
58792013-08-06 Juanma Barranquero <lekktu@gmail.com>
5880
8951efef
JB
5881 * vc/vc.el (vc-default-ignore-completion-table):
5882 Silence byte-compiler warning.
5883
307764cc
JB
5884 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5885 slot , which can indeed be nil.
5886 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5887 Move entry for `left' from persistent to live filter alist.
5888 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5889 Doc fixes.
5890 (frameset-filter-params): When restoring a frame, copy items added to
5891 `filtered', to avoid unwittingly modifying the original parameters.
5892 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5893 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5894
1d237bba
JB
5895 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5896 to use looking-at-p instead of looking-at. (Bug#15028)
5897
dc6c0eda
SM
58982013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 Revert introduction of isearch-filter-predicates (bug#14714).
5901 Rely on add-function instead.
5902 * isearch.el (isearch-filter-predicates): Rename it back to
5903 isearch-filter-predicate.
5904 (isearch-message-prefix): Use advice-function-mapc and advice
5905 properties to get the isearch-message-prefix.
5906 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5907 instead of run-hook-with-args-until-failure.
5908 (isearch-filter-visible): Not obsolete any more.
5909 * loadup.el: Preload nadvice.
5910 * replace.el (perform-replace): Revert to funcall
5911 instead of run-hook-with-args-until-failure.
5912 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5913 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5914 dired-isearch-filenames-toggle; make it into a proper minor mode.
5915 Use add/remove-function.
5916 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5917 Call the minor-mode rather than add/remove-hook.
5918 (dired-isearch-filter-filenames):
5919 Remove isearch-message-prefix property.
5920 * info.el (Info--search-loop): New function, extracted from Info-search.
5921 Funcall isearch-filter-predicate instead of
5922 run-hook-with-args-until-failure isearch-filter-predicates.
5923 (Info-search): Use it.
5924 (Info-mode): Use isearch-filter-predicate instead of
5925 isearch-filter-predicates.
5926
290d5b58
DA
59272013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5928
5929 Do not call to `selected-window' where it is assumed by default.
5930 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5931 `window-hscroll', `window-width', `window-height', `window-buffer',
5932 `window-frame', `window-start', `window-point', `next-window'
5933 and `window-display-table'.
5934 * abbrev.el (abbrev--default-expand):
5935 * bs.el (bs--show-with-configuration):
5936 * buff-menu.el (Buffer-menu-mouse-select):
5937 * calc/calc.el (calc):
5938 * calendar/calendar.el (calendar-generate-window):
5939 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5940 (diary-make-entry):
5941 * comint.el (send-invisible, comint-dynamic-complete-filename)
5942 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5943 * completion.el (complete):
5944 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5945 * disp-table.el (describe-current-display-table):
5946 * doc-view.el (doc-view-insert-image):
5947 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5948 * ehelp.el (with-electric-help):
5949 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5950 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5951 * emacs-lisp/helper.el (Helper-help-scroller):
5952 * emulation/cua-base.el (cua--post-command-handler-1):
5953 * eshell/esh-mode.el (eshell-output-filter):
5954 * ffap.el (ffap-gnus-wrapper):
5955 * help-macro.el (make-help-screen):
5956 * hilit-chg.el (highlight-compare-buffers):
5957 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5958 * hl-line.el (global-hl-line-highlight):
5959 * icomplete.el (icomplete-simple-completing-p):
5960 * isearch.el (isearch-done):
5961 * jit-lock.el (jit-lock-stealth-fontify):
5962 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5963 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5964 * mpc.el (mpc-tagbrowser, mpc):
5965 * net/rcirc.el (rcirc-any-buffer):
5966 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5967 * play/landmark.el (landmark-max-width, landmark-max-height):
5968 * play/zone.el (zone):
5969 * progmodes/compile.el (compilation-goto-locus):
5970 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5971 * progmodes/etags.el (find-tag-other-window):
5972 * progmodes/fortran.el (fortran-column-ruler):
5973 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5974 * progmodes/verilog-mode.el (verilog-point-text):
5975 * reposition.el (reposition-window):
5976 * rot13.el (toggle-rot13-mode):
5977 * server.el (server-switch-buffer):
5978 * shell.el (shell-dynamic-complete-command)
5979 (shell-dynamic-complete-environment-variable):
5980 * simple.el (insert-buffer, set-selective-display)
5981 (delete-completion-window):
5982 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5983 (speedbar-recenter):
5984 * startup.el (fancy-splash-head):
5985 * textmodes/ispell.el (ispell-command-loop):
5986 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5987 * tutorial.el (help-with-tutorial):
5988 * vc/add-log.el (add-change-log-entry):
5989 * vc/compare-w.el (compare-windows):
5990 * vc/ediff-help.el (ediff-indent-help-message):
5991 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5992 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5993 (ediff-setup-control-frame):
5994 * vc/emerge.el (emerge-position-region):
5995 * vc/pcvs-util.el (cvs-bury-buffer):
5996 * window.el (walk-windows, mouse-autoselect-window-select):
5997 * winner.el (winner-set-conf, winner-undo): Related users changed.
5998
38276e01
JB
59992013-08-05 Juanma Barranquero <lekktu@gmail.com>
6000
6001 * frameset.el (frameset--set-id): Doc fix.
6002 (frameset-frame-id, frameset-frame-id-equal-p)
6003 (frameset-locate-frame-id): New functions.
6004 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6005 (frameset-restore): Use them.
6006
12b4c0ea
DA
60072013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6008
6009 Do not call to `selected-frame' where it is assumed by default.
6010 Affected functions are `raise-frame', `redraw-frame',
6011 `frame-first-window', `frame-terminal' and `delete-frame'.
6012 * calendar/appt.el (appt-disp-window):
6013 * epg.el (epg-wait-for-completion):
6014 * follow.el (follow-delete-other-windows-and-split)
6015 (follow-avoid-tail-recenter):
6016 * international/mule.el (set-terminal-coding-system):
6017 * mail/rmail.el (rmail-mail-return):
6018 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6019 * progmodes/f90.el (f90-add-imenu-menu):
6020 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6021 * server.el (server-switch-buffer):
6022 * simple.el (delete-completion-window):
6023 * talk.el (talk):
6024 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6025 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6026 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6027 * vc/ediff.el (ediff-documentation): Related users changed.
6028 * frame.el (selected-terminal): Remove the leftover.
6029
17f25e76
GM
60302013-08-05 Glenn Morris <rgm@gnu.org>
6031
6032 * calendar/calendar.el (calendar-generate-month):
6033 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6034 (calendar-generate-month, calendar-font-lock-keywords):
6035 Fix for calendar-day-header-width > length of any day name.
17f25e76 6036
063233c3
JB
60372013-08-05 Juanma Barranquero <lekktu@gmail.com>
6038
6039 * desktop.el (desktop-clear): Use new name of sort predicate.
6040
6041 * frameset.el (frameset): Add docstring. Move :version property to its
6042 own `version' slot.
6043 (frameset-copy): Rename from copy-frameset.
6044 (frameset-p): Check more thoroughly.
6045 (frameset-prop): Do not check for :version, which is no longer a prop.
6046 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6047 Use new :never value instead of t.
6048 (frameset-filter-alist): Expand and clarify docstring.
6049 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6050 (frameset-filter-minibuffer, frameset-filter-save-param)
6051 (frameset-filter-restore-param, frameset-filter-iconified):
6052 Add pointer to docstring of frameset-filter-alist.
6053 (frameset-filter-params): Rename filter values to be more meaningful:
6054 :never instead of t, and reverse the meanings of :save and :restore.
6055 (frameset--process-minibuffer-frames): Clarify error message.
6056 (frameset-save): Avoid unnecessary and confusing call to framep.
6057 Use new BOA constructor for framesets.
6058 (frameset--reuse-list): Doc fix.
6059 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6060 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6061 (frameset-minibufferless-first-p): Doc fix.
6062 Rename from frameset-sort-frames-for-deletion.
6063 (frameset-restore): Doc fixes. Use new function names.
6064 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6065
d5671a82
JB
60662013-08-04 Juanma Barranquero <lekktu@gmail.com>
6067
6068 * desktop.el (desktop-restore-forces-onscreen)
6069 (desktop-restore-reuses-frames): Document :keyword constant values.
6070 (desktop-filter-parameters-alist): Remove, now identical to
6071 frameset-filter-alist.
6072 (desktop--filter-tty*): Remove, moved to frameset.el.
6073 (desktop-save-frameset, desktop-restore-frameset):
6074 Do not pass :filters argument.
6075
6076 * frameset.el (frameset-live-filter-alist)
6077 (frameset-persistent-filter-alist): New variables.
6078 (frameset-filter-alist): Use them. Add autoload cookie.
6079 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6080 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6081 `frameset--id' (it's supposed to be internal to frameset.el).
6082 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6083 (frameset--initial-params): New function.
6084 (frameset--get-frame): Use it. Doc fix.
6085 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6086 Accept :all, not 'all.
6087 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6088 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6089 with fbound symbols. Fix frame id matching, and remove matching ids if
6090 the frame being restored is deleted. Obey :delete.
6091
671d5c16
SM
60922013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6093
6094 * subr.el (macrop): New function.
6095 (text-clone--maintaining): New var.
6096 (text-clone--maintain): Rename from text-clone-maintain. Use it
6097 instead of inhibit-modification-hooks.
6098
6099 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6100 a proxy, so as handle autoloads and redefinitions of the target.
6101 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6102
6103 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6104 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6105 (pcase--mutually-exclusive-p): New function.
6106 (pcase--split-consp): Use it.
6107 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6108 mutually exclusive with the current predicate.
6109
6110 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6111 (edebug-macrop): Remove. Use `macrop' instead.
6112 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6113 (ad-macro-p):
6114 * eshell/esh-cmd.el (eshell-macrop):
6115 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6116
1d44e9dc
SM
61172013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6118
6119 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6120 (advice-mapc): New function, using it.
6121 (advice-function-member-p): New function.
6122 (advice--normalize): Store the cdr in advice--saved-rewrite since
6123 that's the part that will be changed.
6124 (advice--symbol-function): New function.
6125 (advice-remove): Handle removal before the function is defined.
6126 Adjust to new advice--saved-rewrite.
6127 (advice-member-p): Use advice-function-member-p and
6128 advice--symbol-function.
6129
5414a283
JB
61302013-08-04 Juanma Barranquero <lekktu@gmail.com>
6131
51d30f2c
JB
6132 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6133 (frameset-filter-minibuffer): Doc fix.
6134 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6135 (frameset--set-id, frameset--process-minibuffer-frames)
6136 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6137 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6138
5414a283
JB
6139 * desktop.el (desktop-clear): Only delete frames when called
6140 interactively and desktop-restore-frames is non-nil. Doc fix.
6141 (desktop-read): Set desktop-saved-frameset to nil.
6142
ab419665
XF
61432013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6144
6145 * vc/vc.el (vc-ignore): Rewrite.
6146 (vc-default-ignore-completion-table):
6147 (vc--read-lines):
6148 (vc--add-line, vc--remove-regexp): New functions.
6149
6150 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6151 (vc-svn-ignore-completion-table): New function.
6152
6153 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6154 (vc-hg-ignore-completion-table):
6155 (vc-hg-find-ignore-file): New functions.
6156
6157 * vc/vc-git.el (vc-git-ignore): Rewrite.
6158 (vc-git-ignore-completion-table):
6159 (vc-git-find-ignore-file): New functions.
6160
6161 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6162
6163 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6164 (vc-bzr-ignore-completion-table):
6165 (vc-bzr-find-ignore-file): New functions.
6166
2613dea2
JB
61672013-08-03 Juanma Barranquero <lekktu@gmail.com>
6168
6169 * frameset.el (frameset-prop): New function and setter.
6170 (frameset-save): Do not modify frame list passed by the caller.
6171
9c959872
SM
61722013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6175
a104f656
SM
61762013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6177
70122acf
SM
6178 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6179 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6180
a104f656
SM
6181 * custom.el (custom-initialize-default, custom-initialize-set)
6182 (custom-initialize-reset, custom-initialize-changed): Affect the
6183 toplevel-default-value (bug#6275, bug#14586).
6184 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6185 for bug#6275.
6186
f078d570
JB
61872013-08-02 Juanma Barranquero <lekktu@gmail.com>
6188
185e3b5a
JB
6189 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6190 Add cl-def* expressions.
6191
f078d570
JB
6192 * frameset.el (frameset-filter-params): Fix order of arguments.
6193
9421876d
JB
61942013-08-02 Juanma Barranquero <lekktu@gmail.com>
6195
6196 Move code related to saving frames to frameset.el.
6197 * desktop.el: Require frameset.
6198 (desktop-restore-frames): Doc fix.
6199 (desktop-restore-reuses-frames): Rename from
6200 desktop-restoring-reuses-frames.
6201 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6202 (desktop-clear): Clear frames too.
6203 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6204 (desktop--filter-tty*, desktop-save, desktop-read):
6205 Use frameset functions.
6206 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6207 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6208 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6209 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6210 (desktop--process-minibuffer-frames, desktop-save-frames)
6211 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6212 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6213 (desktop--sort-states, desktop-restoring-frames-p)
6214 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6215 (desktop-restoring-frameset-p, desktop-restore-frameset)
6216 (desktop--check-dont-save, desktop-save-frameset): New functions.
6217 (desktop--app-id): New constant.
6218 (desktop-first-buffer, desktop-buffer-ok-count)
6219 (desktop-buffer-fail-count): Move before first use.
6220 * frameset.el: New file.
6221
76dc5996
SM
62222013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6223
6224 * files.el: Use lexical-binding.
6225 (dir-locals-read-from-file): Remove unused `err' variable.
6226 (hack-dir-local-variables--warned-coding): New var.
6227 (hack-dir-local-variables): Use it to avoid repeated warnings.
6228 (make-backup-file-name--default-function): New function.
6229 (make-backup-file-name-function): Use it as default.
6230 (buffer-stale--default-function): New function.
6231 (buffer-stale-function): Use it as default.
6232 (revert-buffer-insert-file-contents--default-function): New function.
6233 (revert-buffer-insert-file-contents-function): Use it as default.
6234 (insert-directory): Avoid add-to-list.
6235
6236 * autorevert.el (auto-revert-handler): Simplify.
6237 Use buffer-stale--default-function.
6238
06d36e2b
TH
62392013-08-01 Tassilo Horn <tsdh@gnu.org>
6240
5f648ab4
TH
6241 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6242
06d36e2b
TH
6243 * whitespace.el (whitespace-ensure-local-variables): New function.
6244 (whitespace-cleanup-region): Call it.
6245 (whitespace-turn-on): Call it.
6246
a43dc424
MA
62472013-08-01 Michael Albinus <michael.albinus@gmx.de>
6248
6249 Complete file name handlers.
6250
6251 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6252 (tramp-handle-verify-visited-file-modtime)
6253 (tramp-handle-file-notify-rm-watch): New functions.
6254 (tramp-call-process): Do not bind `default-directory'.
6255
44e18199
JB
6256 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6257 Order alphabetically.
a43dc424
MA
6258 [access-file, add-name-to-file, dired-call-process]:
6259 [dired-compress-file, file-acl, file-notify-rm-watch]:
6260 [file-ownership-preserved-p, file-selinux-context]:
6261 [make-directory-internal, make-symbolic-link, set-file-acl]:
6262 [set-file-selinux-context, set-visited-file-modtime]:
6263 [verify-visited-file-modtime]: Add handler.
6264 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6265
6266 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6267 [file-notify-add-watch, file-notify-rm-watch]:
6268 [set-file-times, set-visited-file-modtime]:
6269 [verify-visited-file-modtime]: Add handler.
6270 (with-tramp-gvfs-error-message)
6271 (tramp-gvfs-handle-set-visited-file-modtime)
6272 (tramp-gvfs-fuse-file-name): Remove.
6273 (tramp-gvfs-handle-file-notify-add-watch)
6274 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6275 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6276
44e18199
JB
6277 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6278 Order alphabetically.
a43dc424
MA
6279 [file-notify-rm-watch ]: Use default Tramp handler.
6280 [executable-find]: Remove private handler.
6281 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6282 `default-directory'.
6283 (tramp-sh-handle-executable-find)
6284 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6285 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6286 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6287 Do not use `format' in `tramp-message'.
6288
6289 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6290 [file-notify-rm-watch, set-visited-file-modtime]:
6291 [verify-visited-file-modtime]: Add handler.
6292 (tramp-smb-call-winexe): Do not bind `default-directory'.
6293
7188b515
XF
62942013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6295
6296 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6297
2412ee1a
DG
62982013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6299
6300 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6301 use it.
6302 (log-view-diff-changeset): Same.
6303 (log-view-diff-common): Call backend command `previous-revision'
6304 to find out the previous revision, in both cases. Swap the
6305 variables `to' and `fr', so that `fr' usually refers to the
6306 earlier revision (Bug#14989).
6307
5002a754
KRC
63082013-07-31 Kan-Ru Chen <kanru@kanru.info>
6309
6310 * ibuf-ext.el (ibuffer-filter-by-filename):
6311 Make it work with dired buffers too.
6312
44e18199 63132013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6314
6315 * emacs-lisp/re-builder.el (reb-color-display-p):
6316 * files.el (save-buffers-kill-terminal):
6317 * net/browse-url.el (browse-url):
6318 * server.el (server-save-buffers-kill-terminal):
6319 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6320 Prefer nil to selected-frame for the first arg of frame-parameter.
6321
aeca3fbb
XF
63222013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6323
6324 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6325
158bc55c
SB
63262013-07-30 Stephen Berman <stephen.berman@gmx.net>
6327
6328 * minibuffer.el (completion--twq-all): Try and preserve each
6329 completion's case choice (bug#14907).
6330
d50fceab
LMI
63312013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6332
ac38e731
LMI
6333 * net/network-stream.el (open-network-stream): Mention the new
6334 :nogreeting parameter.
6335 (network-stream-open-starttls): Use the :nogreeting parameter
6336 (bug#14938).
6337
1211de50
LMI
6338 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6339
997798bf
LMI
6340 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6341 more natural than popping.
6342
d50fceab 6343 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6344 (shr-urlify): Highlight under mouse.
d50fceab 6345
5c09de04
XF
63462013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6347
207d1d04
XF
6348 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6349
6350 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6351
5c09de04
XF
6352 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6353 buffer for output.
6354
3cd51eaa
XF
6355 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6356 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6357
44e18199 6358 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6359 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6360
6361 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6362
6363 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6364 buffer for output.
6365
35a89bdd
EZ
63662013-07-29 Eli Zaretskii <eliz@gnu.org>
6367
6368 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6369 initial frame is minibuffer-less. (Bug#14841)
6370
78822e94
MA
63712013-07-29 Michael Albinus <michael.albinus@gmx.de>
6372
6373 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6374 option.
6375
6376 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6377 (tramp-maybe-open-connection): Use it.
6378
9503c190
JB
63792013-07-28 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6382 minimal set of parameters passed when creating a frame, because
6383 the minibuffer status of a frame cannot be changed later.
6384
d5a845b4
SB
63852013-07-28 Stephen Berman <stephen.berman@gmx.net>
6386
6387 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6388 replace-regexp-in-string and inadvertent omissions in previous change.
6389 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6390 name of filtered items buffer.
d5a845b4 6391
ddeffb17
JB
63922013-07-28 Juanma Barranquero <lekktu@gmail.com>
6393
6394 * desktop.el: Optionally force offscreen frames back onscreen.
6395 (desktop-restoring-reuses-frames): New option.
6396 (desktop--compute-pos, desktop--move-onscreen): New functions.
6397 (desktop--make-frame): Use desktop--move-onscreen.
6398
f5950f7a
AM
63992013-07-27 Alan Mackenzie <acm@muc.de>
6400
6401 Fontify a Java generic method as a function.
6402 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6403 value to t.
6404
ae43b66a
SB
64052013-07-27 Stephen Berman <stephen.berman@gmx.net>
6406
6407 * calendar/todo-mode.el: Add command to rename todo files.
6408 (todo-rename-file): New command.
6409 (todo-key-bindings-t): Add key binding for it. Change the
6410 bindings of todo-filter-regexp-items(-multifile) to use `x'
6411 instead of `r', since the latter is better suited to the new
6412 renaming command.
6413
5ab78d3d
AM
64142013-07-27 Alan Mackenzie <acm@muc.de>
6415
6416 Make Java try-with-resources statement parse properly.
6417 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6418 (c-block-stmt-1-2-key): New language constants/variables.
6419 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6420 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6421 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6422 with c-block-stmt-1-2-key.
5ab78d3d 6423
d85c4d50
JB
64242013-07-27 Juanma Barranquero <lekktu@gmail.com>
6425
6426 * desktop.el (desktop--make-frame): Apply most frame parameters after
6427 creating the frame to force (partially or totally) offscreen frames to
6428 be restored as such.
6429
e4c467f9
XF
64302013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6431
6432 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6433 (Bug#14948)
e4c467f9 6434
7ced0d04
SM
64352013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6436
6437 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6438 `base' arg of backtrace-frame.
6439
fec92060
EZ
64402013-07-26 Eli Zaretskii <eliz@gnu.org>
6441
6442 * simple.el (list-processes): Doc fix.
6443
d58d31fb
JB
64442013-07-26 Juanma Barranquero <lekktu@gmail.com>
6445
6446 * desktop.el (desktop--select-frame):
d85c4d50 6447 Try harder to reuse existing frames.
d58d31fb 6448
53ff3e77
SM
64492013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6452 (edebug-eval): Use backtrace-eval.
6453 (edebug--display, edebug--recursive-edit): Don't let-bind the
6454 edebug-outer-* vars that keep track of variables we locally let-bind.
6455 (edebug-outside-excursion): Don't restore outside values of locally
6456 let-bound vars.
6457 (edebug--display): Use user-error.
6458 (cl-lexical-debug, cl-debug-env): Remove.
6459
045f7a53
JB
64602013-07-26 Juanma Barranquero <lekktu@gmail.com>
6461
6462 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6463 are restored to be sure that they are visible before deleting any
6464 remaining ones.
6465
59070b32
MM
64662013-07-26 Matthias Meulien <orontee@gmail.com>
6467
742a3501
XF
6468 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6469 vc-print-root-log. (Bug#14948)
59070b32 6470
b1fb3596
RS
64712013-07-26 Richard Stallman <rms@gnu.org>
6472
6473 Add aliases for encrypting mail.
6474 * epa.el (epa-mail-aliases): New option.
6475 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6476 Bind inhibit-read-only so read-only text doesn't ruin everything.
6477 (epa-mail-default-recipients): New subroutine broken out.
6478 Handle epa-mail-aliases.
6479
56ea7291
SM
64802013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 Add support for lexical variables to the debugger's `e' command.
6483 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6484 vars, except for debugger-outer-match-data.
6485 (debugger-frame-number): Move check for "on a function call" from
6486 callers into it. Add `skip-base' argument.
6487 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6488 (debugger-env-macro): Only reset the state stored in non-variables,
6489 i.e. current-buffer and match-data.
6490 (debugger-eval-expression): Rewrite using backtrace-eval.
6491 * subr.el (internal--called-interactively-p--get-frame): Remove.
6492 (called-interactively-p):
6493 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6494 `base' arg of backtrace-frame instead.
6495
15ac32d5
GM
64962013-07-26 Glenn Morris <rgm@gnu.org>
6497
8358a09d
GM
6498 * align.el (align-regexp): Doc fix. (Bug#14857)
6499 (align-region): Explicit error if subexpression missing/does not match.
6500
15ac32d5
GM
6501 * simple.el (global-visual-line-mode):
6502 Do not duplicate the mode lighter. (Bug#14858)
6503
f47ad11b
MR
65042013-07-25 Martin Rudalics <rudalics@gmx.at>
6505
6506 * window.el (display-buffer): In display-buffer bind
6507 split-window-keep-point to t, bug#14829.
6508
02530987
JB
65092013-07-25 Juanma Barranquero <lekktu@gmail.com>
6510
6511 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6512 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6513 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6514 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6515 Change accordingly.
f63ebeb5
JB
6516 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6517 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6518
6ccb9cab 65192013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6520
6ccb9cab 6521 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6522
cb3a56d2
JB
65232013-07-25 Juanma Barranquero <lekktu@gmail.com>
6524
6525 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6526 parameter to modify-frame-parameters if the value has not changed;
6527 this is a workaround for bug#14949.
6528 (desktop--make-frame): On cl-delete-if call, check parameter name,
6529 not full parameter.
6530
7aa7fff0
XF
65312013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6532
6533 * vc/vc.el (vc-ignore): New function.
6534
6535 * vc/vc-svn.el (vc-svn-ignore): New function.
6536
6537 * vc/vc-hg.el (vc-hg-ignore): New function.
6538
6539 * vc/vc-git.el (vc-git-ignore): New function.
6540
6541 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6542 (vc-dir-ignore): New function.
6543
6544 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6545 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6546
6547 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6548
6549 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6550
889acc5c
JB
65512013-07-24 Juanma Barranquero <lekktu@gmail.com>
6552
6553 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6554 (desktop-restore-frames): Warn when deleting an existing frame failed.
6555
86c40970
GM
65562013-07-24 Glenn Morris <rgm@gnu.org>
6557
6558 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6559
d5d3c58a
MA
65602013-07-24 Michael Albinus <michael.albinus@gmx.de>
6561
6562 * filenotify.el (file-notify-supported-p):
6563 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6564 Remove functions.
6565
6566 * autorevert.el (auto-revert-use-notify):
6567 (auto-revert-notify-add-watch):
6568 * net/tramp.el (tramp-file-name-for-operation):
6569 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6570 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6571 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6572 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6573 Remove `file-notify-supported-p' entry.
6574
d100084b
GM
65752013-07-24 Glenn Morris <rgm@gnu.org>
6576
6577 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6578 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6579
ac93e56b
SM
65802013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6581
249eea30
SM
6582 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6583 checked with memq (bug#14935).
6584
ac93e56b
SM
6585 * files.el (revert-buffer-function): Use a non-nil default.
6586 (revert-buffer-preserve-modes): Declare var to
6587 provide access to the `preserve-modes' argument.
6588 (revert-buffer): Let-bind it.
6589 (revert-buffer--default): New function, extracted from revert-buffer.
6590
2cdeb903
SM
65912013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * lpr.el: Signal print errors more prominently.
6594 (print-region-function): Don't default to nil.
6595 (lpr-print-region): New function, extracted from print-region-1.
6596 Check lpr's return value and signal an error in case of problem.
6597 (print-region-1): Use it.
6598 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6599 versions instead.
6600 (ps-printer-name): Default to nil.
6601 (ps-printer-name-option): Default to lpr-printer-switch.
6602 (ps-print-region-function): Don't default to nil.
6603 (ps-postscript-code-directory): Simplify default.
6604 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6605 (ps-string-list, ps-eval-switch, ps-flatten-list)
6606 (ps-flatten-list-1): Remove.
6607 (ps-multibyte-buffer): Avoid setq.
6608 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6609 (print-region-function, ps-print-region-function): Don't set them here.
6610
73600831
XF
66112013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6612
0e55c076
XF
6613 * ido.el (ido-fractionp):
6614 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6615 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6616 (ido-max-directory-size, ido-max-dir-file-cache)
6617 (ido-decorations): Doc fix.
6618
73600831
XF
6619 * ansi-color.el: Fix old URL.
6620
3d012865
MM
66212013-07-23 Michael R. Mauger <michael@mauger.com>
6622
e903c210 6623 * progmodes/sql.el: Version 3.3
3d012865
MM
6624 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6625 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6626 (sql-interactive-remove-continuation-prompt): Rewrite, use
6627 functions above. Fix continuation prompt and complete output line
6628 handling.
6629 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6630 redirected output buffer.
6631 (sql-mode): Restore deleted code (Bug#13591).
6632
da77a2e2
JB
66332013-07-23 Juanma Barranquero <lekktu@gmail.com>
6634
6635 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6636
80ff0c71
MA
66372013-07-23 Michael Albinus <michael.albinus@gmx.de>
6638
6639 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6640
6641 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6642 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6643 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6644
b61d71e4
JB
66452013-07-23 Juanma Barranquero <lekktu@gmail.com>
6646
6647 * desktop.el (desktop-clear): Simplify; remove useless checks
6648 against invalid buffer names.
6649 (desktop-list*): Use cl-list*.
6650 (desktop-buffer-info, desktop-create-buffer): Simplify.
6651
c3512092
LL
66522013-07-23 Leo Liu <sdl.web@gmail.com>
6653
6654 * bookmark.el (bookmark-make-record): Restore NAME as a default
6655 value. (Bug#14933)
6656
0ac26976
SM
66572013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6658
7d22ce18
SM
6659 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6660 extracted from autoload--insert-text.
6661 (autoload--insert-text): Remove.
6662 (autoload--print-cookie-text): New function, extracted from
6663 autoload--insert-cookie-text.
6664 (autoload--insert-cookie-text): Remove.
6665 (autoload-generate-file-autoloads): Adjust calls accordingly.
6666
9b2607e8
SM
6667 * winner.el (winner-hook-installed-p): Remove.
6668 (winner-mode): Simplify accordingly.
6669
c43a8618
SM
6670 * subr.el (add-to-list): Fix compiler-macro when `append' is
6671 not constant. Don't use `cl-member' for the base case.
6672
0ac26976
SM
6673 * progmodes/subword.el: Fix boundary case (bug#13758).
6674 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6675 own group.
6676 (subword-backward-regexp): Make it a constant.
6677 (subword-forward-internal): Don't treat a trailing capital as the
6678 beginning of a word.
6679
6874724a
AR
66802013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6681
6682 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6683 global value of tabulated-list-revert-hook (bug#14930).
6684
70f1b5e8
JB
66852013-07-22 Juanma Barranquero <lekktu@gmail.com>
6686
a1c80d9d
JB
6687 * desktop.el: Require 'cl-lib.
6688 (desktop-before-saving-frames-functions): New hook.
6689 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6690 for frames being saved. Rename from desktop--save-minibuffer-frames.
6691 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6692 Do not save frames with non-nil `desktop-dont-save' parameter.
6693 Filter out deleted frames.
a1c80d9d
JB
6694 (desktop--find-frame): Use cl-find-if.
6695 (desktop--select-frame): Use cl-(first|second|third) to access values
6696 of desktop-mini.
6697 (desktop--make-frame): Use cl-delete-if.
6698 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6699 (desktop-restore-frames): Use cl-(first|second|third) to access values
6700 of desktop-mini. Look for visible frame at the end, not while
6701 restoring frames.
6702
70f1b5e8
JB
6703 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6704 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6705 Use string-match-p, looking-at-p (bug#14927).
6706
728dc3cc
JB
67072013-07-21 Juanma Barranquero <lekktu@gmail.com>
6708
56bc453c
JB
6709 * desktop.el (desktop-saved-frame-states):
6710 Rename from desktop--saved-states; all users changed.
6711 (desktop-save-frames): Rename from desktop--save-frames.
6712 Do not save state to desktop file.
6713 (desktop-save): Save desktop-saved-frame-states to desktop file
6714 and reset to nil.
6715 (desktop-restoring-frames-p): New function.
6716 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6717 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6718 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6719
728dc3cc
JB
6720 * desktop.el: Correctly restore iconified frames.
6721 (desktop--filter-iconified-position): New function.
6722 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6723
862f1c9c
GM
67242013-07-20 Glenn Morris <rgm@gnu.org>
6725
c4074c9f
GM
6726 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6727 Let `message' do the formatting.
6728 (def-gdb-preempt-display-buffer): Add explicit format.
6729
d828e5f9
GM
6730 * image-dired.el (image-dired-track-original-file):
6731 Use with-current-buffer.
6732 (image-dired-track-thumbnail): Use with-current-buffer.
6733 Avoid changing point of wrong window.
6734
862f1c9c
GM
6735 * image-dired.el (image-dired-track-original-file):
6736 Avoid changing point of wrong window. (Bug#14909)
6737
f0398ec1 67382013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6739
6740 * progmodes/gdb-mi.el (gdb-done-or-error):
6741 Guard against "%" in gdb output. (Bug#14127)
6742
1451928f
AS
67432013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6744
763a086d
JB
6745 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6746 (Bug#14826)
f7a03897 6747
1451928f
AS
6748 * international/mule.el (coding-system-iso-2022-flags): Fix last
6749 change.
6750
99107004
KH
67512013-07-20 Kenichi Handa <handa@gnu.org>
6752
763a086d
JB
6753 * international/mule.el (coding-system-iso-2022-flags):
6754 Add `8-bit-level-4'. (Bug#8522)
99107004 6755
48494e06
LMI
67562013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6757
8ba8eec5
LMI
6758 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6759 (bug#14815).
6760
dfbc66e3
LMI
6761 * net/eww.el (eww-process-text-input): Allow inputting when the
6762 point is at the start of the line, as the properties aren't
6763 front-sticky.
6764
48494e06
LMI
6765 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6766 degenerate widths.
6767
77c92cb9
RS
67682013-07-19 Richard Stallman <rms@gnu.org>
6769
aec7da77
RS
6770 * epa.el (epa-popup-info-window): Doc fix.
6771
77c92cb9
RS
6772 * subr.el (split-string): New arg TRIM.
6773
945c5bb1
JB
67742013-07-18 Juanma Barranquero <lekktu@gmail.com>
6775
6776 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6777 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6778
e06ec67f
MA
67792013-07-18 Michael Albinus <michael.albinus@gmx.de>
6780
c7064f05 6781 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6782 `file-notify-support'. Do not autoload. Adapt all uses.
6783 (file-notify-supported-p): New defun.
6784
c7064f05
JB
6785 * autorevert.el (auto-revert-use-notify):
6786 Use `file-notify-supported-p' instead of `file-notify-support'.
6787 Adapt docstring.
e06ec67f
MA
6788 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6789
6790 * net/tramp.el (tramp-file-name-for-operation):
6791 Add `file-notify-supported-p'.
6792
6793 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6794 New defun.
6795 (tramp-sh-file-name-handler-alist): Add it as handler for
6796 `file-notify-supported-p '.
6797
6798 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6799 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6801 Add `ignore' as handler for `file-notify-*' functions.
6802
5dc8a629
EZ
68032013-07-17 Eli Zaretskii <eliz@gnu.org>
6804
6805 * simple.el (line-move-partial, line-move): Don't start vscroll or
6806 scroll-up if the current line is not taller than the window.
6807 (Bug#14881)
6808
77aea2fb
DG
68092013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6810
6811 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6812 highlight question marks in the method names as strings.
ac72c08d
DG
6813 (ruby-block-beg-keywords): Inline.
6814 (ruby-font-lock-keyword-beg-re): Extract from
6815 `ruby-font-lock-keywords'.
77aea2fb 6816
18c26d81
JD
68172013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6818
6819 * frame.el (blink-cursor-blinks): New defcustom.
6820 (blink-cursor-blinks-done): New defvar.
6821 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6822 (blink-cursor-timer-function): Check if number of blinks has been
6823 done on X and NS.
6824 (blink-cursor-suspend, blink-cursor-check): New defuns.
6825
da48522e
GM
68262013-07-15 Glenn Morris <rgm@gnu.org>
6827
6828 * edmacro.el (edmacro-format-keys): Fix previous change.
6829
0463c1ef
PE
68302013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6831
6832 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6833 The hack didn't work outside English locales anyway.
6834
b43f6451
JB
68352013-07-15 Juanma Barranquero <lekktu@gmail.com>
6836
6837 * simple.el (define-alternatives): Rename from alternatives-define,
6838 per RMS' suggestion.
6839
b958c0ad
JB
68402013-07-14 Juanma Barranquero <lekktu@gmail.com>
6841
6842 * desktop.el (desktop-restore-frames): Change default to t.
6843 (desktop-restore-in-current-display): Now offer more options.
6844 (desktop-restoring-reuses-frames): New customization option.
6845 (desktop--saved-states): Doc fix.
6846 (desktop-filter-parameters-alist): New variable, renamed and expanded
6847 from desktop--excluded-frame-parameters.
6848 (desktop--target-display): New variable.
6849 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6850 (desktop--filter-tty*, desktop--filter-*-color)
6851 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6852 (desktop--filter-save-desktop-parm)
6853 (desktop-restore-in-original-display-p): New functions.
6854 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6855 (desktop--save-minibuffer-frames): New function, inspired by a similar
6856 function from Martin Rudalics.
6857 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6858 (desktop--restore-in-this-display-p): Remove.
6859 (desktop--find-frame): Rename from desktop--find-frame-in-display
6860 and add predicate argument.
6861 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6862 (desktop--reuse-list): New variable.
6863 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6864 New functions.
6865 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6866
f6dd8b36
MA
68672013-07-14 Michael Albinus <michael.albinus@gmx.de>
6868
6869 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6870
2ce3c565
DG
68712013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6872
763a086d
JB
6873 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6874 Highlight conversion methods on Kernel.
2ce3c565 6875
2cdb7698
AM
68762013-07-13 Alan Mackenzie <acm@muc.de>
6877
6878 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6879 and comment it out. This out-commenting enables certain C++
6880 declarations to be parsed correctly.
6881
1a67b811
EZ
68822013-07-13 Eli Zaretskii <eliz@gnu.org>
6883
1b796d6b
EZ
6884 * international/mule.el (define-coding-system): Doc fix.
6885
1a67b811
EZ
6886 * simple.el (default-font-height): Don't call font-info if the
6887 frame's default font didn't change since the frame was created.
6888 (Bug#14838)
6889
58fbe886
LL
68902013-07-13 Leo Liu <sdl.web@gmail.com>
6891
6892 * ido.el (ido-read-file-name): Guard against non-symbol value.
6893
1f0480d4
FEG
68942013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6895
6896 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6897 in nested defuns.
6898
97ead0e5
LL
68992013-07-13 Leo Liu <sdl.web@gmail.com>
6900
6901 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6902 ido-set-matches call. (Bug#6852)
6903
0880a952
DG
69042013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6905
6906 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6907 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6908 Ruby 2.0.
6909 (ruby-font-lock-keywords): Distinguish calls to functions with
6910 module-like names from module references. Highlight character
6911 literals.
6912
a7d8babb
SDJ
69132013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6914
6915 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6916 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6917
acfcc8c5
JB
69182013-07-12 Juanma Barranquero <lekktu@gmail.com>
6919
6920 * desktop.el (desktop--v2s): Remove unused local variable.
6921 (desktop-save-buffer): Make defvar-local; adjust docstring.
6922 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6923 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6924
051f2775
AS
69252013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6926
6927 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6928
f24e7572
GM
69292013-07-12 Eli Zaretskii <eliz@gnu.org>
6930
6931 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6932 (Bug#14842)
6933
539a920c
GM
69342013-07-12 Glenn Morris <rgm@gnu.org>
6935
6936 * doc-view.el: Require cl-lib at runtime too.
6937 (doc-view-remove-if): Remove.
6938 (doc-view-search-next-match, doc-view-search-previous-match):
6939 Use cl-remove-if.
6940
6941 * edmacro.el: Require cl-lib at runtime too.
6942 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6943 (edmacro-mismatch, edmacro-subseq): Remove.
6944
6945 * shadowfile.el: Require cl-lib.
6946 (shadow-remove-if): Remove.
6947 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6948 Use cl-remove-if.
6949
6950 * wid-edit.el: Require cl-lib.
6951 (widget-choose): Use cl-remove-if.
6952 (widget-remove-if): Remove.
6953
6954 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6955 (ebrowse-delete-if-not): Remove.
6956 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6957 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6958 Use cl-delete-if-not.
6959
1048af7c
JB
69602013-07-12 Juanma Barranquero <lekktu@gmail.com>
6961
6962 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6963 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6964
6c0674ee
LL
69652013-07-12 Leo Liu <sdl.web@gmail.com>
6966
6967 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6968
a19b3c2d
GM
69692013-07-11 Glenn Morris <rgm@gnu.org>
6970
4582a01c
GM
6971 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6972 (edebug-gensym-index, edebug-gensym):
6973 Remove reimplementation of cl-gensym.
6974 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6975
6976 * thumbs.el: Require cl-lib at run-time too.
6977 (thumbs-gensym-counter, thumbs-gensym):
6978 Remove reimplementation of cl-gensym.
6979 (thumbs-temp-file): Use cl-gensym.
6980
a19b3c2d
GM
6981 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6982 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6983 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6984 (ert--union, ert--gensym-counter, ert--gensym-counter)
6985 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6986 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6987 (ert-make-test-unbound, ert--expand-should-1)
6988 (ert--expand-should, ert--should-error-handle-error)
6989 (should-error, ert--explain-equal-rec)
6990 (ert--plist-difference-explanation, ert-select-tests)
6991 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6992 Use cl-lib functions rather than reimplementations.
6993
88f6a933
MA
69942013-07-11 Michael Albinus <michael.albinus@gmx.de>
6995
6996 * net/tramp.el (tramp-methods): Extend docstring.
6997 (tramp-connection-timeout): New defcustom.
6998 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6999 (with-tramp-progress-reporter): Simplify.
7000 (tramp-process-actions): Improve messages.
7001
7002 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7003 * net/tramp-sh.el (tramp-maybe-open-connection):
7004 Use `tramp-connection-timeout'.
7005 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7006 (Bug#14808)
7007
a43d577e
LL
70082013-07-11 Leo Liu <sdl.web@gmail.com>
7009
7010 * ido.el (ido-read-file-name): Conform to the requirements of
7011 read-file-name. (Bug#11861)
7012 (ido-read-directory-name): Conform to the requirements of
7013 read-directory-name.
7014
d77974bf
JB
70152013-07-11 Juanma Barranquero <lekktu@gmail.com>
7016
7017 * subr.el (delay-warning): New function.
7018
35cb8a3e
EZ
70192013-07-10 Eli Zaretskii <eliz@gnu.org>
7020
7021 * simple.el (default-line-height): New function.
7022 (line-move-partial, line-move): Use it instead of computing the
7023 line height inline.
7024 (line-move-partial): Always compute ROWH. If the last line is
7025 partially-visible, but its text is completely visible, allow
7026 cursor to enter such a partially-visible line.
7027
525c5c77
MA
70282013-07-10 Michael Albinus <michael.albinus@gmx.de>
7029
7030 Improve error messages. (Bug#14808)
7031
7032 * net/tramp.el (tramp-current-connection): New defvar, moved from
7033 tramp-sh.el.
0ac26976 7034 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7035 needed anymore.
0ac26976
SM
7036 (tramp-error-with-buffer): Show message in minibuffer.
7037 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7038 (with-tramp-progress-reporter): Improve messages.
7039 (tramp-process-actions): Use progress reporter. Delete process in
7040 case of error. Improve messages.
7041
763a086d
JB
7042 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7043 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7044 (tramp-current-connection): Remove.
525c5c77
MA
7045 (tramp-maybe-open-connection): The car of
7046 `tramp-current-connection' are the first 3 slots of the vector.
7047
c7a4d368
TZ
70482013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7049
7050 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7051 inside continued strings.
7052
954b166e
PE
70532013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7054
7055 Timestamp fixes for undo (Bug#14824).
7056 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7057
56973319
LL
70582013-07-10 Leo Liu <sdl.web@gmail.com>
7059
7060 * files.el (require-final-newline): Allow safe local value.
7061 (Bug#14834)
7062
5550a72c
LL
70632013-07-09 Leo Liu <sdl.web@gmail.com>
7064
7065 * ido.el (ido-read-directory-name): Handle fallback.
7066 (ido-read-file-name): Update DIR to ido-current-directory.
7067 (Bug#1516)
c28b9050 7068 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7069
70c46b28
DG
70702013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7071
7072 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7073 "autoload". Remove "warn lower camel case" section, previously
7074 commented out. Highlight negation char. Do not highlight the
7075 target in singleton method definitions.
7076
0b64b838
SM
70772013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7078
7fd72e2c
SM
7079 * faces.el (tty-setup-hook): Declare the hook.
7080
0b64b838
SM
7081 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7082 and detect when a guard/pred depends on local vars (bug#14773).
7083 (pcase--u1): Adjust caller.
7084
ab49d60b
EZ
70852013-07-08 Eli Zaretskii <eliz@gnu.org>
7086
7087 * simple.el (line-move-partial, line-move): Account for
7088 line-spacing.
701d79aa
EZ
7089 (line-move-partial): Avoid setting vscroll when the last
7090 partially-visible line in window is of default height.
ab49d60b 7091
2d756ae0
LMI
70922013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7093
7094 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7095 been used a while.
7096
ed095bd7
JB
70972013-07-07 Juanma Barranquero <lekktu@gmail.com>
7098
7099 * subr.el (read-quoted-char): Remove unused local variable `char'.
7100
f1e6674b
MK
71012013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7102
584ee3fc
GM
7103 * ediff.el (ediff-version): Version update.
7104 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7105 (ediff-merge-with-ancestor-command, ediff-directories-command)
7106 (ediff-directories3-command, ediff-merge-directories-command)
7107 (ediff-merge-directories-with-ancestor-command): New functions.
7108 All are command-line interfaces to ediff: to facilitate calling
7109 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7110
7111 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7112 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7113
584ee3fc
GM
7114 * viper.el (viper-version): Version update.
7115 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7116
584ee3fc
GM
71172013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7120 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7121 (viper-intercept-ESC-key): Simplify.
7122 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7123 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7124 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7125 (viper-setup-ESC-to-escape): New functions.
7126 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7127 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7128
9aff9b38
EZ
71292013-07-07 Eli Zaretskii <eliz@gnu.org>
7130
5165d44a
JB
7131 * simple.el (default-font-height, window-screen-lines):
7132 New functions.
9aff9b38
EZ
7133 (line-move, line-move-partial): Use them instead of
7134 frame-char-height and window-text-height. This makes scrolling
7135 text smoother when the buffer's default face uses a font that is
7136 different from the frame's default font.
7137
1afb1d07
JD
71382013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7139
7140 * files.el (write-file): Do not display confirm dialog for NS,
7141 it does its own dialog, which can't be cancelled (Bug#14578).
7142
23de972a
EZ
71432013-07-06 Eli Zaretskii <eliz@gnu.org>
7144
7145 * simple.el (line-move-partial): Adjust the row returned by
7146 posn-at-point for the current window-vscroll. (Bug#14567)
7147
54a42486
MA
71482013-07-06 Michael Albinus <michael.albinus@gmx.de>
7149
7150 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7151 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7152 spaces.
7153
34ada5f4
MR
71542013-07-06 Martin Rudalics <rudalics@gmx.at>
7155
7156 * window.el (window-state-put-stale-windows): New variable.
7157 (window--state-put-2): Save list of windows without matching buffer.
7158 (window-state-put): Remove "bufferless" windows if possible.
7159
11e03d89
JB
71602013-07-06 Juanma Barranquero <lekktu@gmail.com>
7161
7162 * simple.el (alternatives-define): Remove leftover :group keyword.
7163 Tweak docstring.
7164
3504a4be
LL
71652013-07-06 Leo Liu <sdl.web@gmail.com>
7166
7167 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7168 (ido-enable-virtual-buffers): New variable.
7169 (ido-buffer-internal, ido-toggle-virtual-buffers)
7170 (ido-make-buffer-list): Use it.
7171 (ido-exhibit): Support turning on and off virtual buffers
7172 automatically.
7173
61e56e2c
JB
71742013-07-06 Juanma Barranquero <lekktu@gmail.com>
7175
7176 * simple.el (alternatives-define): New macro.
7177
321e1a9c
SM
71782013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7179
7180 * subr.el (read-quoted-char): Use read-key.
7181 (sit-for): Let read-event decode tty input (bug#14782).
7182
d610f6dd
SB
71832013-07-05 Stephen Berman <stephen.berman@gmx.net>
7184
7185 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7186 mode command and externally. Fix various related bugs.
7187 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7188 (todo-delete-file): New command.
7189 (todo-check-file): New function.
7190 (todo-show): Handle external deletion of the file we're trying to
7191 show (bug#14688). Replace called-interactively-p by an optional
7192 prefix argument to avoid problematic interaction with catch form
7193 when byte compiled (bug#14702).
7194 (todo-quit): Handle external deletion of the archive's todo file.
7195 Make sure the buffer that was visiting the archive file is still
7196 live before trying to bury it.
7197 (todo-category-completions): Handle external deletion of any
7198 category completion files.
7199 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7200 of todo files, in case of external deletion.
7201 (todo-add-file): Replace unnecessary setq by let-binding.
7202 (todo-find-archive): Check whether there are any archives.
7203 Replace unnecessary setq by let-binding.
7204 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7205 archive buffer whether or not the archive already exists.
7206 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7207 check if the archive is new; if it is, update list of archives.
7208 (todo-default-todo-file): Allow nil to be a valid value for when
7209 there are no todo files.
7210 (todo-reevaluate-default-file-defcustom): Use corrected definition
7211 of todo-default-todo-file.
7212 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7213 (todo-delete-category, todo-show-categories-table)
7214 (todo-category-number): Clarify comment.
7215 (todo-filter-items): Clarify documentation string.
7216 (todo-show-current-file, todo-display-as-todo-file)
7217 (todo-reset-and-enable-done-separator): Tweak documentation string.
7218 (todo-done-separator): Make separator length window-width, since
7219 bug#2749 is now fixed.
7220
ddbdfd6f
MA
72212013-07-05 Michael Albinus <michael.albinus@gmx.de>
7222
321e1a9c
SM
7223 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7224 Support both "gvfs-monitor-dir" and "inotifywait".
7225 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7226 `tramp-sh-file-notify-process-filter'.
7227 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7228 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7229
96eb829a
LL
72302013-07-05 Leo Liu <sdl.web@gmail.com>
7231
7232 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7233
cf13177e
YM
72342013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7235
7236 * frame.el (display-pixel-height, display-pixel-width)
7237 (display-mm-height, display-mm-width): Mention behavior on
7238 multi-monitor setups in docstrings.
7239 (w32-display-monitor-attributes-list): Declare function.
7240 (display-monitor-attributes-list): Use it.
7241
864c58ca
MA
72422013-07-04 Michael Albinus <michael.albinus@gmx.de>
7243
7244 * filenotify.el: New package.
7245
7246 * autorevert.el (top): Require filenotify.el.
7247 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7248 instead.
7249 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7250 (auto-revert-notify-handler): Use `file-notify-*' functions.
7251
7252 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7253
321e1a9c
SM
7254 * net/tramp.el (tramp-file-name-for-operation):
7255 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7256
7257 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7258 for `file-notify-add-watch' and `file-notify-rm-watch'.
7259 (tramp-process-sentinel): Improve trace.
7260 (tramp-sh-handle-file-notify-add-watch)
7261 (tramp-sh-file-notify-process-filter)
7262 (tramp-sh-handle-file-notify-rm-watch)
7263 (tramp-get-remote-inotifywait): New defuns.
7264
96673afe
JL
72652013-07-03 Juri Linkov <juri@jurta.org>
7266
7267 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7268 call of `occur-read-primary-args' to interactive spec.
7269
7270 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7271 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7272
924494f4
MM
72732013-07-03 Matthias Meulien <orontee@gmail.com>
7274
7275 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7276 `Buffer-menu-multi-occur'. Add it to the menu.
7277 (Buffer-menu-mode): Document it in docstring.
7278 (Buffer-menu-multi-occur): New command. (Bug#14673)
7279
56f75efc
DG
72802013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7281
7282 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7283 keywords and built-ins.
7284
9b057d61
GM
72852013-07-03 Glenn Morris <rgm@gnu.org>
7286
208dee4d
GM
7287 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7288
9b057d61
GM
7289 Make info-xref checks case-sensitive by default
7290 * info.el (Info-find-node, Info-find-in-tag-table)
7291 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7292 Add option for exact case matching of nodes.
7293 * info-xref.el (info-xref): New custom group.
7294 (info-xref-case-fold): New option.
7295 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7296
e01aa29c
LL
72972013-07-03 Leo Liu <sdl.web@gmail.com>
7298
7299 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7300
3086ca2e
DG
73012013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7302
7303 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7304 middle of block statement initially, lower the depth. Remove
7305 FIXME comment, not longer valid. Remove middle of block statement
7306 detection, no need to do that anymore since we've been using
7307 `ruby-parse-region' here.
7308
a3b49114
JD
73092013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7310
7311 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7312
08e5c823 73132013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7314
7315 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7316
2addf922
JB
73172013-07-01 Juanma Barranquero <lekktu@gmail.com>
7318
7319 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7320 (desktop-restore-in-current-display): New customization option.
7321 (desktop--excluded-frame-parameters): Add `font'.
7322 (desktop--save-frames): Rename from desktop--save-windows.
7323 (desktop--restore-in-this-display-p): New function.
7324 (desktop--make-full-frame): Remove unwanted width/height from
7325 full(width|height) frames.
7326 (desktop--restore-frames): Rename from desktop--restore-windows.
7327 Obey desktop-restore-current-display. Do not delete old frames or
7328 select a new frame unless we were able to restore at least one frame.
7329
ef099a94
MN
73302013-06-30 Michal Nazarewicz <mina86@mina86.com>
7331
7332 * files.el (find-file-noselect): Simplify conditional expression.
7333
7334 * remember.el (remember-append-to-file):
7335 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7336
7337 Add `remember-notes' function to store random notes across Emacs
7338 restarts.
7339 * remember.el (remember-data-file): Add :set callback to affect
7340 notes buffer (if any).
7341 (remember-notes): New command.
7342 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7343 New defcustoms for the `remember-notes' function.
7344 (remember-notes-save-and-bury-buffer): New command.
7345 (remember-notes-mode-map): New variable.
7346 (remember-mode): New minor mode.
7347 (remember-notes--kill-buffer-query): New function.
7348 * startup.el (initial-buffer-choice): Add notes to custom type.
7349
0865d506
EZ
73502013-06-30 Eli Zaretskii <eliz@gnu.org>
7351
0ba54312
EZ
7352 * bindings.el (right-char, left-char): Don't call sit-for, this is
7353 no longer needed. Use arithmetic comparison only for numerical
7354 arguments.
7355
ef099a94
MN
7356 * international/mule-cmds.el (select-safe-coding-system):
7357 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7358
2fae38e5
LMI
73592013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7360
7361 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7362 progression on degenerate tables.
ef099a94 7363 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7364
a47cbd64
JB
73652013-06-30 Juanma Barranquero <lekktu@gmail.com>
7366
7367 Some fixes and improvements for desktop frame restoration.
7368 It is still experimental and disabled by default.
7369 * desktop.el (desktop--save-windows): Put the selected frame at
7370 the head of the list.
7371 (desktop--make-full-frame): New function.
7372 (desktop--restore-windows): Try to re-select the frame that was
7373 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7374 just show an error message and continue. Set up maximized frames
7375 so they have default non-maximized dimensions.
a47cbd64 7376
6dbafa30
DG
73772013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7378
ef099a94
MN
7379 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7380 Don't start heredoc inside a string or comment.
6dbafa30 7381
4c672a0f
EZ
73822013-06-29 Eli Zaretskii <eliz@gnu.org>
7383
7384 * bindings.el (visual-order-cursor-movement): New defcustom.
7385 (right-char, left-char): Provide visual-order cursor motion by
7386 calling move-point-visually. Update the doc strings.
7387
50960f36
KH
73882013-06-28 Kenichi Handa <handa@gnu.org>
7389
7390 * international/mule.el (define-coding-system): New coding system
7391 properties :inhibit-null-byte-detection,
7392 :inhibit-iso-escape-detection, and :prefer-utf-8.
7393 (set-buffer-file-coding-system): If :charset-list property of
7394 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7395 appropriate for setting.
7396
c1ea3abf
JB
7397 * international/mule-cmds.el (select-safe-coding-system):
7398 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7399 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7400
7401 * international/mule-conf.el (prefer-utf-8): New coding system.
7402 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7403 files.
7404
75dbaf9d
IK
74052013-06-28 Ivan Kanis <ivan@kanis.fr>
7406
eadb6068
IK
7407 * net/shr.el (shr-render-region): New function.
7408
75dbaf9d
IK
7409 * net/eww.el: Autoload `eww-browse-url'.
7410
9ea5cf9f
DG
74112013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7412
c1ea3abf
JB
7413 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7414 Adapt to `package-desc-version' being a list.
7415 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7416 archive element.
7417
39c0e36f
JB
74182013-06-27 Juanma Barranquero <lekktu@gmail.com>
7419
7420 New experimental feature to save&restore window and frame setup.
7421 * desktop.el (desktop-save-windows): New defcustom.
7422 (desktop--saved-states): New var.
7423 (desktop--excluded-frame-parameters): New defconst.
7424 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7425 (desktop--restore-windows, desktop--save-windows): New functions.
7426 (desktop-save): Call `desktop--save-windows'.
7427 (desktop-read): Call `desktop--restore-windows'.
7428
7f13406b
LMI
74292013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7430
ef099a94 7431 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7432
1e072639
SB
74332013-06-27 Stephen Berman <stephen.berman@gmx.net>
7434
7435 * info.el (Info-try-follow-nearest-node): Move search for footnote
7436 above search for node name to prevent missing a footnote (bug#14717).
7437
f3e2cbde
SB
74382013-06-27 Stephen Berman <stephen.berman@gmx.net>
7439
7440 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7441
99906aa0
LL
74422013-06-27 Leo Liu <sdl.web@gmail.com>
7443
7444 * net/eww.el (eww-read-bookmarks): Check file size.
7445
539f75f4
SM
74462013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7447
7448 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7449 advice--pending if newdef is nil or an autoload (bug#13820).
7450 (advice-mapc): New function.
7451
843571cb
LMI
74522013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7453
7454 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7455 probably.
23a75d7f 7456 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7457 (eww-add-bookmark): New command.
7458 (eww-bookmark-mode): New mode and commands.
a285ce99 7459 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7460 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7461
f2136e1e
GM
74622013-06-26 Glenn Morris <rgm@gnu.org>
7463
eab35f39
GM
7464 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7465 (hfy-size): Handle ttys. (Bug#14668)
7466
f2136e1e
GM
7467 * info-xref.el: Update for Texinfo 5 change in *note format.
7468 (info-xref-node-re, info-xref-note-re): New constants.
7469 (info-xref-check-buffer): Use info-xref-note-re.
7470
a49ff80c
SM
74712013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7472
a343d218
SM
7473 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7474
a49ff80c
SM
7475 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7476 nil terminate the loop (bug#14718).
7477
8308f184
LMI
74782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7479
7480 * net/eww.el: Rework history traversal. When going forward/back,
7481 put these actions into the history, too, so that they can be
7482 replayed.
26bf2b82 7483 (eww-render): Move the history reset to the correct buffer.
8308f184 7484
ec64c273
JL
74852013-06-25 Juri Linkov <juri@jurta.org>
7486
7487 * files-x.el (modify-dir-local-variable): Change the header comment
7488 in the file with directory local variables. (Bug#14692)
7489
e080a9d7
JL
7490 * files-x.el (read-file-local-variable-value): Add `default'.
7491 (Bug#14710)
7492
bfbc93a1
IK
74932013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7494
7495 * net/eww.el (eww-make-unique-file-name): Create a unique file
7496 name before saving to entering `y' accidentally asynchronously.
7497
74982013-06-25 Ivan Kanis <ivan@kanis.fr>
7499
7500 * net/eww.el (eww-download): New command and keystroke.
7501
16f74f10
LMI
75022013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7503
a49ff80c 7504 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7505
7506 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7507 be more consistent with Info and dired.
7508
7509 * net/eww.el (eww-mode-map): Ditto.
7510
12059709
SM
75112013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7512
7513 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7514 packages from archives.
7515 (package-archive-contents): Change format; include obsolete packages.
7516 (package-desc): Use `dir' to mark builtin packages.
7517 (package--from-builtin): Set the `dir' field to `builtin'.
7518 (generated-autoload-file, version-control): Declare.
7519 (package-compute-transaction): Change first arg and return value to be
7520 lists of package-descs. Adjust to new package-archive-contents format.
7521 (package--add-to-archive-contents): Adjust to new
7522 package-archive-contents format.
7523 (package-download-transaction): Arg is now a list of package-descs.
7524 (package-install): If `pkg' is a package name, pass it as
7525 a requirement, so it is subject to the usual (e.g. disabled) checks.
7526 (describe-package): Accept package-desc as well.
7527 (describe-package-1): Describe a specific package-desc. Add links to
7528 other package-descs for the same package name.
7529 (package-menu-describe-package): Pass the actual package-desc.
7530 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7531 works correctly.
7532 (package-desc-status): New function.
7533 (package-menu--refresh): New function, extracted
7534 from package-menu--generate.
7535 (package-menu--generate): Use it.
7536 (package-delete): Update package-alist.
7537 (package-menu-execute): Don't call package-initialize.
7538
7539 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7540 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7541 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7542 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7543 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7544 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7545
8bbdea0f
MR
75462013-06-25 Martin Rudalics <rudalics@gmx.at>
7547
7548 * window.el (window--state-get-1): Workaround for bug#14527.
7549 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7550
e82b0991
LMI
75512013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7552
7553 * net/eww.el (eww-back-url): Implement the history by stashing all
7554 the data into a list.
d3f0f918 7555 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7556
c763842b
SM
75572013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7560 for values and use read--expression for expressions (bug#14710).
7561 (read-file-local-variable): Avoid setq.
7562 (read-file-local-variable-mode): Use minor-mode-list.
7563
bceff189
RW
75642013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7565
864c58ca 7566 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7567 for DOI URLs.
7568
45f431c6
RW
75692013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7570
864c58ca 7571 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7572 Update imenu-support when dialect changes.
7573
f42d8237
LL
75742013-06-25 Leo Liu <sdl.web@gmail.com>
7575
7576 * ido.el (ido-read-internal): Allow forward slash on windows.
7577
be549ce6
LMI
75782013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7579
7580 * net/eww.el (eww): Start of strings is \\`, not ^.
7581
71d4c19d
IK
75822013-06-24 Ivan Kanis <ivan@kanis.fr>
7583
5196f88a
IK
7584 * net/shr.el (shr-browse-url): Fix interactive spec.
7585
71d4c19d
IK
7586 * net/eww.el (eww): Add a trailing slash to domain names.
7587
ae36ca55
JB
75882013-06-24 Juanma Barranquero <lekktu@gmail.com>
7589
7590 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7591
0ebd92a3
LMI
75922013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7593
bdaa086b
LMI
7594 * net/shr.el (shr-browse-url): Use an external browser if given a
7595 prefix.
7596
c763842b 7597 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7598
b89fc156
IK
75992013-06-24 Ivan Kanis <ivan@kanis.fr>
7600
7601 * net/eww.el (eww): Work more correctly for file: URLs.
7602 (eww-detect-charset): Allow quoted charsets.
7603 (eww-yank-page-url): New command and keystroke.
7604
18eb4bca
DU
76052013-06-24 Daiki Ueno <ueno@gnu.org>
7606
7607 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7608 file name of gpg executable.
7609 (epg-context-program): New function.
7610 (epg-context-home-directory): New function.
7611 (epg-context-set-program): New function.
7612 (epg-context-set-home-directory): New function.
7613 (epg--start): Use `epg-context-program' instead of
7614 'epg-gpg-program'.
7615 (epg--list-keys-1): Likewise.
7616
6c6268c8
LL
76172013-06-24 Leo Liu <sdl.web@gmail.com>
7618
7619 * ido.el (ido-read-internal): Fix bug#14620.
7620
5e400cb3
JB
76212013-06-23 Juanma Barranquero <lekktu@gmail.com>
7622
7623 * faces.el (face-documentation): Simplify.
7624 (read-face-attribute, tty-find-type, x-resolve-font-name):
7625 Use `string-match-p'.
7626 (list-faces-display): Use `string-match-p'. Simplify.
7627 (face-spec-recalc): Check face to avoid face alias loops.
7628 (read-color): Use `string-match-p' and non-capturing parenthesis.
7629
f3f9606c
LMI
76302013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7631
7632 * net/shr.el (shr-rescale-image): Use the new
7633 :max-width/:max-height functionality.
7634
a3ca09b9
IK
76352013-06-23 Ivan Kanis <ivan@kanis.fr>
7636
7637 * net/eww.el (eww-search-prefix): New variable.
7638 (eww): Use it.
f865b474
IK
7639 (eww-external-browser): New variable.
7640 (eww-mode-map): New keystroke.
7641 (eww-browse-with-external-browser): New command.
a3ca09b9 7642
e854cfc7
IK
7643 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7644
18bb9e21
JB
76452013-06-23 Juanma Barranquero <lekktu@gmail.com>
7646
7647 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7648 Don't skip aligning the next header field when padding is 0;
7649 otherwise, field width is not respected unless the title is as
7650 wide as the field.
7651
5b165ade
SM
76522013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * emacs-lisp/package.el (package-el-version): Remove.
7655 (package-process-define-package): Fix inf-loop.
7656 (package-install): Allow symbols as arguments again.
7657
12adebe9
DG
76582013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7659
7660 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7661 add some more keyword-like methods.
7662 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7663
388573ee
JB
76642013-06-22 Juanma Barranquero <lekktu@gmail.com>
7665
7666 * bs.el (bs-buffer-show-mark): Make defvar-local.
7667 (bs-mode): Use setq-local.
7668
7669 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7670 (emacs-lock--try-unlocking): Make defvar-local.
7671
4582a01c 76722013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7673
2663dd23
GM
7674 * play/cookie1.el (cookie-apropos): Minor simplification.
7675
3d94f3ad
GM
7676 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7677
f72e2fdb
DG
76782013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7679
7680 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7681 `regexp-opt', it breaks the build during dumping.
7682
73eab938
DG
76832013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7684
c763842b
SM
7685 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7686 Highlight keyword-like methods on Kernel and Module with
73eab938 7687 font-lock-builtin-face.
5cf8176d
DG
7688 (auto-mode-alist): Consolidate different entries into one regexp
7689 and add more *file-s.
73eab938 7690
d26255f6
SB
76912013-06-21 Stephen Berman <stephen.berman@gmx.net>
7692
7693 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7694
7695 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7696 (diary-entry): Use it in the action of this button type instead of
7697 diary-goto-entry.
7698
7699 * calendar/todo-mode.el: New version.
7700 (todo-add-category): Append new category to end of file and give
7701 it the highest number, instead of putting it at the beginning and
7702 giving it 0. Incorporate noninteractive functionality.
7703 (todo-forward-category): Adapt to 1-based category numbering.
7704 Allow skipping over archived categories.
7705 (todo-backward-category): Derive from todo-forward-category.
7706 (todo-backward-item, todo-forward-item): Make noninteractive and
7707 delegate interactive part to new commands. Make sensitive to done items.
7708 (todo-categories): Make value an alist of category names and
7709 vectors of item counts.
7710 (todo-category-beg): Make a defconst.
7711 (todo-category-number): Use 1 instead of 0 as initial value.
7712 (todo-category-select): Make sensitive to overlays, optional item
7713 highlighting and done items.
7714 (todo-delete-item): Make sensitive to overlays and marked and done items.
7715 (todo-edit-item): Make sensitive to overlays and editing of
7716 date/time header optional. Add format checks.
7717 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7718 no-op if point is not on an item. Advertise using todo-edit-quit.
7719 (todo-edit-mode): Make sensitive to new format, font-locking, and
7720 multiple todo files.
7721 (todo-insert-item, todo-insert-item-here): Derive from
7722 todo-basic-insert-item and extend functionality.
7723 (todo-item-end, todo-item-start): Make sensitive to done items.
7724 (todo-item-string): Don't return text properties. Restore point.
7725 (todo-jump-to-category): Make sensitive to multiple todo files and
7726 todo archives. Use extended category completion.
7727 (todo-lower-item, todo-raise-item): Rename to *-priority and
7728 derive from todo-set-item-priority.
7729 (todo-mode): Derive from special-mode. Make sensitive to new
7730 format, font-locking and multiple todo files. Make read-only.
7731 (todo-mode-map): Don't suppress digit keys, so they can supply
7732 prefix arguments. Add many new key bindings.
7733 (todo-prefix): Insert as an overlay instead of file text.
7734 Change semantics from diary date expression to purely visual mark.
7735 (todo-print): Rename to todo-print-buffer. Make buffer display
7736 features printable. Remove option to restrict number of items
7737 printed. Add option to print to file.
7738 (todo-print-function): Rename to todo-print-buffer-function.
7739 (todo-quit): Extend to handle exiting new todo modes.
7740 (todo-remove-item): Make sensitive to overlays.
7741 (todo-save): Extend to buffers of filtered items.
7742 (todo-show): Make sensitive to done items, multiple todo files and
7743 new todo modes. Offer to convert legacy todo file before creating
7744 first new todo file.
7745 (todo-show-priorities): Rename to todo-top-priorities.
7746 Change semantics of value 0.
7747 (todo-top-priorities): Rename to todo-filter-top-priorities,
7748 derive from todo-filter-items and extend functionality.
7749 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7750 and extend functionality to other types of filtered items.
7751 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7752 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7753 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7754 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7755 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7756 (todo-edit-mode-hook, todo-entry-prefix-function)
7757 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7758 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7759 (todo-initials, todo-insert-threshold, todo-item-string-start)
7760 (todo-line-string, todo-menu, todo-mode-hook)
7761 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7762 (todo-print-priorities, todo-remove-separator)
7763 (todo-save-top-priorities-too, todo-string-count-lines)
7764 (todo-string-multiline-p, todo-time-string-format)
7765 (todo-tmp-buffer-name): Remove.
7766 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7767 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7768 (todo-edit-category-diary-inclusion)
7769 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7770 (todo-edit-file, todo-edit-item-date-day)
7771 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7772 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7773 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7774 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7775 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7776 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7777 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7778 (todo-filter-top-priorities-multifile, todo-find-archive)
7779 (todo-find-filtered-items-file, todo-go-to-source-item)
7780 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7781 (todo-jump-to-archive-category, todo-lower-category)
7782 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7783 (todo-move-category, todo-move-item, todo-next-button)
7784 (todo-next-item, todo-padded-string, todo-powerset)
7785 (todo-previous-button, todo-previous-item)
7786 (todo-print-buffer-to-file, todo-raise-category)
7787 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7788 (todo-set-category-number, todo-set-item-priority)
7789 (todo-set-top-priorities-in-category)
7790 (todo-set-top-priorities-in-file, todo-show-categories-table)
7791 (todo-sort-categories-alphabetically-or-numerically)
7792 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7793 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7794 (todo-toggle-item-header, todo-toggle-item-highlighting)
7795 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7796 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7797 (todo-unarchive-items, todo-unmark-category): New commands.
7798 (todo-absolute-file-name, todo-add-to-buffer-list)
7799 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7800 (todo-basic-insert-item, todo-category-completions)
7801 (todo-category-number, todo-category-string-matcher-1)
7802 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7803 (todo-check-format, todo-clear-matches)
7804 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7805 (todo-current-category, todo-date-string-matcher)
7806 (todo-define-insertion-command, todo-diary-expired-matcher)
7807 (todo-diary-goto-entry, todo-diary-item-p)
7808 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7809 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7810 (todo-done-item-section-p, todo-done-separator)
7811 (todo-done-string-matcher, todo-files, todo-filter-items)
7812 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7813 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7814 (todo-insert-category-line, todo-insert-item-from-calendar)
7815 (todo-insert-sort-button, todo-insert-with-overlays)
7816 (todo-insertion-command-name, todo-insertion-key-bindings)
7817 (todo-label-to-key, todo-longest-category-name-length)
7818 (todo-make-categories-list, todo-mode-external-set)
7819 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7820 (todo-modes-set-3, todo-multiple-filter-files)
7821 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7822 (todo-read-category, todo-read-date, todo-read-dayname)
7823 (todo-read-file-name, todo-read-time)
7824 (todo-reevaluate-category-completions-files-defcustom)
7825 (todo-reevaluate-default-file-defcustom)
7826 (todo-reevaluate-filelist-defcustoms)
7827 (todo-reevaluate-filter-files-defcustom)
7828 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7829 (todo-reset-done-separator, todo-reset-done-separator-string)
7830 (todo-reset-done-string, todo-reset-global-current-todo-file)
7831 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7832 (todo-reset-prefix, todo-set-categories)
7833 (todo-set-date-from-calendar, todo-set-show-current-file)
7834 (todo-set-top-priorities, todo-short-file-name)
7835 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7836 (todo-total-item-counts, todo-update-buffer-list)
7837 (todo-update-categories-display, todo-update-categories-sexp)
7838 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7839 New functions.
7840 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7841 New major modes.
7842 (todo-categories, todo-display, todo-edit, todo-faces)
7843 (todo-filtered): New defgroups.
7844 (todo-archived-only, todo-button, todo-category-string, todo-date)
7845 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7846 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7847 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7848 (todo-add-item-if-new-category, todo-always-add-time-string)
7849 (todo-categories-align, todo-categories-archived-label)
7850 (todo-categories-category-label, todo-categories-diary-label)
7851 (todo-categories-done-label, todo-categories-number-separator)
7852 (todo-categories-todo-label, todo-categories-totals-label)
7853 (todo-category-completions-files, todo-completion-ignore-case)
7854 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7855 (todo-done-separator-string, todo-done-string)
7856 (todo-files-function, todo-filter-done-items, todo-filter-files)
7857 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7858 (todo-initial-category, todo-initial-file, todo-item-mark)
7859 (todo-legacy-date-time-regexp, todo-mode-line-function)
7860 (todo-nondiary-marker, todo-number-prefix)
7861 (todo-print-buffer-function, todo-show-current-file)
7862 (todo-show-done-only, todo-show-first, todo-show-with-done)
7863 (todo-skip-archived-categories, todo-top-priorities-overrides)
7864 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7865 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7866 New defcustoms.
7867 (todo-category-done, todo-date-pattern, todo-date-string-start)
7868 (todo-diary-items-buffer, todo-done-string-start)
7869 (todo-filtered-items-buffer, todo-item-start)
7870 (todo-month-abbrev-array, todo-month-name-array)
7871 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7872 (todo-top-priorities-buffer): New defconsts.
7873 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7874 (todo-categories-with-marks, todo-category-string-face)
7875 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7876 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7877 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7878 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7879 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7880 (todo-font-lock-keywords, todo-global-current-todo-file)
7881 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7882 (todo-insertion-commands-args)
7883 (todo-insertion-commands-args-genlist)
7884 (todo-insertion-commands-names, todo-insertion-map)
7885 (todo-key-bindings-t, todo-key-bindings-t+a)
7886 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7887 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7888 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7889 (todo-visited): New variables.
7890
cad5d1cb
GM
78912013-06-21 Glenn Morris <rgm@gnu.org>
7892
7893 * play/cookie1.el (cookie-apropos): Add optional display argument.
7894 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7895 (psychoanalyze-pinhead): Use cookie-doctor.
7896
9e277302
JB
78972013-06-21 Juanma Barranquero <lekktu@gmail.com>
7898
7899 * emacs-lisp/package.el (tar-get-file-descriptor)
7900 (tar--extract): Declare.
7901
c5b0993e
EW
79022013-06-21 Eduard Wiebe <usenet@pusto.de>
7903
7904 Extend flymake's warning predicate to be a function (bug#14217).
7905 * progmodes/flymake.el (flymake-warning-predicate): New.
7906 (flymake-parse-line): Use it.
7907 (flymake-warning-re): Make obsolete alias to
7908 `flymake-warning-predicate'.
7909
a7d2d465
SM
79102013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7913 (package-obsolete-list): Remove.
7914 (package-activate): Remove min-version argument. Add `force' argument.
7915 Adjust to new package-alist format.
7916 (package-mark-obsolete): Remove.
7917 (package-unpack): Force reload of the package's autoloads.
7918 (package-installed-p): Check builtins if the installed package is not
7919 recent enough.
7920 (package-initialize): Don't reset package-obsolete-list.
7921 Don't specify which package version to activate.
7922 (package-process-define-package, describe-package-1)
7923 (package-menu--generate): Adjust to new package-alist format.
7924
cedf5c9d
JB
79252013-06-21 Juanma Barranquero <lekktu@gmail.com>
7926
7927 * allout-widgets.el (allout-widgets-mode-off)
7928 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7929 (allout-widgets-post-command-business)
7930 (allout-widgets-after-copy-or-kill-function)
7931 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7932 (allout-decorate-item-and-context)
7933 (allout-graphics-modification-handler): Fix typos in docstrings.
7934 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7935
7936 * cmuscheme.el (scheme-start-file): Doc fix.
7937 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7938 (scheme-input-filter): Use `string-match-p'.
7939
7940 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7941
7942 * dired-x.el: Use Dired consistently in docstrings.
7943
7944 * dired.el: Use Dired consistently in docstrings.
7945 (dired-readin, dired-mode): Use `setq-local'.
7946 (dired-switches-alist): Make defvar-local.
7947 (dired-buffers-for-dir): Use `zerop'.
7948 (dired-safe-switches-p, dired-switches-escape-p)
7949 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7950 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7951 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7952 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7953 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7954 (dired-toggle-marks, dired-mark-files-containing-regexp)
7955 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7956 (dired-flag-auto-save-files, dired-flag-backup-files):
7957 Use `looking-at-p'.
7958 (dired-mark-files-regexp, dired-build-subdir-alist):
7959 Use `string-match-p', `looking-at-p'.
7960
7961 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7962 (direct-print-region-helper): Use `string-match-p'.
7963
aed838b5
LL
79642013-06-21 Leo Liu <sdl.web@gmail.com>
7965
cedf5c9d
JB
7966 * comint.el (comint-redirect-results-list-from-process):
7967 Fix infinite loop.
aed838b5 7968
d80a808f
LMI
79692013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7970
7971 * net/eww.el (eww-update-header-line-format): Quote % characters.
7972
e7a526e3
GM
79732013-06-21 Glenn Morris <rgm@gnu.org>
7974
7975 * play/cookie1.el (cookie): New custom group.
7976 (cookie-file): New option.
7977 (cookie-check-file): New function.
7978 (cookie): Make it interactive. Make start and end messages optional.
7979 Interactively, display the result. Default to cookie-file.
7980 (cookie-insert): Default to cookie-file.
7981 (cookie-snarf): Make start and end messages optional.
7982 Default to cookie-file. Use with-temp-buffer.
7983 (cookie-read): Rename from read-cookie.
7984 Make start and end messages optional. Default to cookie-file.
7985 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7986 Do not autoload it.
e7a526e3
GM
7987 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7988 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7989
62efb35e
LL
79902013-06-21 Leo Liu <sdl.web@gmail.com>
7991
7992 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7993
21e3f963
GM
79942013-06-21 Glenn Morris <rgm@gnu.org>
7995
7996 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7997
fd846ab4
SM
79982013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7999 Daniel Hackney <dan@haxney.org>
8000
8001 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8002 Consolidate the single-file vs tarball code.
8003 (package-desc-suffix): New function.
8004 (package-desc-full-name): Don't bother inlining it.
8005 (package-load-descriptor): Return the new package-desc.
8006 (package-mark-obsolete): Remove unused arg `package'.
8007 (package-unpack): Make it work for single files as well.
8008 Make it update package-alist.
8009 (package--make-autoloads-and-stuff): Rename from
8010 package--make-autoloads-and-compile. Don't compile any more.
8011 (package--compile): New function.
8012 (package-generate-description-file): New function, extracted from
8013 package-unpack-single.
8014 (package-unpack-single): Remove.
8015 (package--with-work-buffer): Add indentation and debugging info.
8016 (package-download-single): Remove.
8017 (package-install-from-archive): Rename from package-download-tar, make
8018 it take a pkg-desc, and make it work for single files as well.
8019 (package-download-transaction): Simplify.
8020 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8021 external tar program.
8022 (package-install-from-buffer): Remove `pkg-desc' argument.
8023 Use package-tar-file-info for tar-mode buffers.
8024 (package-install-file): Simplify accordingly.
8025 (package-archive-base): Change to take a pkg-desc.
8026 * tar-mode.el (tar--check-descriptor): New function, extracted from
8027 tar-get-descriptor.
8028 (tar-get-descriptor): Use it.
8029 (tar-get-file-descriptor): New function.
8030 (tar--extract): New function, extracted from tar-extract.
8031 (tar--extract): Use it.
8032 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8033 case the summary uses non-ascii. Adjust to new calling convention of
8034 package-tar-file-info.
8035
b7deae5e
LL
80362013-06-21 Leo Liu <sdl.web@gmail.com>
8037
fd846ab4
SM
8038 * comint.el (comint-redirect-results-list-from-process):
8039 Fix random delay. (Bug#14681)
b7deae5e 8040
7a65a0b2
JB
80412013-06-21 Juanma Barranquero <lekktu@gmail.com>
8042
8043 * profiler.el (profiler-format-number): Use log, not log10.
8044
1493c2af
JB
80452013-06-20 Juanma Barranquero <lekktu@gmail.com>
8046
8047 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8048
aff6371e
SM
80492013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8050
8051 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8052 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8053 yet available.
8054 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8055 (AUTOGENEL): ... here.
8056 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8057 (cl--defsubst-expand): Use it.
8058
89561f72
PE
80592013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8060
8061 * subr.el (log10): Move here from C code, and declare as obsolete.
8062 All uses of (log10 X) replaced with (log X 10).
8063
47199123
JB
80642013-06-20 Juanma Barranquero <lekktu@gmail.com>
8065
8066 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8067 Declare with `defvar-local'.
8068 (tabulated-list-use-header-line, tabulated-list-entries)
8069 (tabulated-list-padding, tabulated-list-printer)
8070 (tabulated-list-sort-key): Declare with `defvar-local'.
8071 (tabulated-list-init-header, tabulated-list-print-fake-header):
8072 Use `setq-local'.
8073
4a172eab
MA
80742013-06-20 Michael Albinus <michael.albinus@gmx.de>
8075
47199123
JB
8076 * arc-mode.el (archive-mode): Add `archive-write-file' to
8077 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8078
5fc0acc0
JB
80792013-06-20 Juanma Barranquero <lekktu@gmail.com>
8080
d5b27848
JB
8081 * cus-edit.el (custom-commands): Fix typos.
8082 (custom-display): Fix tooltip text.
8083 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8084 Fix typos in docstrings.
8085 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8086 (custom-unlispify-menu-entry, custom-magic-value-create)
8087 (custom-add-see-also, custom-group-value-create): Use ?\s.
8088 (custom-guess-type, customize-apropos, editable-field)
8089 (custom-face-value-create): Use `string-match-p'.
8090 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8091
8092 * custom.el (custom-load-symbol): Use `string-match-p'.
8093
a5c581d8
JB
8094 * ansi-color.el: Convert to lexical binding.
8095 (ansi-colors): Fix URL.
8096 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8097 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8098 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8099
970ad972
G
81002013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8101
8102 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8103
8104 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8105
81062013-06-19 Tom Tromey <tromey@redhat.com>
8107
8108 * net/eww.el (eww-top-url): Remove.
8109 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8110 (eww-render): Set new variables. Don't set eww-top-url.
8111 (eww-handle-link): Handle "prev", "home", and "contents".
8112 Downcase the rel text.
8113 (eww-top-url): Choose best top URL.
8114
81152013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8116
8117 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8118 relying in widget.el. Using widget.el leads to too many
8119 user interface inconsistencies.
8120 (eww-self-insert): Implement entering commands in text fields.
8121 (eww-process-text-input): New function to make text input field editing
8122 work.
8123 (eww-submit): Rewrite to use the new-style form methods.
8124 (eww-select-display): Display the correct selected item.
8125 (eww-change-select): Implement changing the select value.
8126 (eww-toggle-checkbox): Implement radio/checkboxes.
8127 (eww-update-field): Fix compilation error.
8128 (eww-tag-textarea): Implement <textarea>.
8129
8130 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8131 we don't shadow mode-specific bindings.
8132
8133 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8134 nothing to push.
8135
8136 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8137
4582a01c 81382013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8139
8140 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8141
15b263dc
MA
81422013-06-19 Michael Albinus <michael.albinus@gmx.de>
8143
8144 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8145 not needed.
8146
8147 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8148
8f5297f7
LMI
81492013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8150
8151 * net/browse-url.el (browse-url-browser-function):
8152 `eww-browse-url' has the right calling signature, `eww' does not.
8153
011c4552
GM
81542013-06-19 Glenn Morris <rgm@gnu.org>
8155
2285bd27
GM
8156 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8157 Only eval autoloaded macros.
8158 (byte-compile-autoload): Only give the macro warning for macros.
8159
1d653303
GM
8160 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8161 (ps-underlined-faces): Declare.
8162
bdd779ec
GM
8163 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8164 (speedbar-add-supported-extension): Declare.
8165
011c4552
GM
8166 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8167 Don't include a date stamp in the header of the generated file;
8168 it leads to needless differences between output files.
8169
e59dfb0e
MA
81702013-06-19 Michael Albinus <michael.albinus@gmx.de>
8171
c763842b
SM
8172 * net/secrets.el (secrets-struct-secret-content-type):
8173 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8174 Some servers do not offer introspection.
e59dfb0e 8175
102626e2
SM
81762013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * electric.el (electric-pair-mode): Improve interaction with
8179 electric-layout-mode.
8180 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8181 (electric-pair-syntax): Use text-mode-syntax-table in comments
8182 and strings.
8183 (electric-pair--insert): New function.
8184 (electric-pair-post-self-insert-function): Use it and
8185 electric--after-char-pos.
8186
ad528125
LL
81872013-06-19 Leo Liu <sdl.web@gmail.com>
8188
8189 * progmodes/octave.el (octave-help): Fix regexp.
8190
924d6997
G
81912013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8192
8193 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8194 (shr-table-horizontal-line): Allow nil as a value, and change the
8195 default.
8196 (shr-insert-table-ruler): Respect the nil value.
8197
81982013-06-18 Tom Tromey <tromey@barimba>
8199
8200 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8201 New defvars.
8202 (eww-open-file): New defun.
8203 (eww-render): Initialize new variables.
8204 (eww-display-html): Handle "link" and "a".
8205 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8206 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8207 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8208 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8209 New defuns.
924d6997 8210
d1bbba4f
DG
82112013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8212
8213 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8214 Distinguish ternary operator tokens from slash symbol and slash
8215 char literal.
8216
14dd22d2
JB
82172013-06-18 Juanma Barranquero <lekktu@gmail.com>
8218
8219 Convert symbol prettification into minor mode and global minor mode.
8220
8221 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8222 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8223 (prettify-symbols--keywords): Rename from
8224 `prog-prettify-symbols-alist' and make a local defvar.
8225 (prettify-symbols--compose-symbol): Rename from
8226 `prog--prettify-font-lock-compose-symbol'.
8227 (prettify-symbols--make-keywords): Rename from
8228 `prog-prettify-font-lock-symbols-keywords' and simplify.
8229 (prog-prettify-install): Remove.
8230 (prettify-symbols-mode): New minor mode, based on
8231 `prog-prettify-install'.
8232 (turn-on-prettify-symbols-mode): New function.
8233 (global-prettify-symbols-mode): New globalized minor mode.
8234
8235 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8236 * progmodes/cfengine.el (cfengine3-mode):
8237 * progmodes/perl-mode.el (perl-mode): Don't call
8238 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8239
292c880c
JL
82402013-06-18 Juri Linkov <juri@jurta.org>
8241
8242 * files-x.el (modify-file-local-variable-message): New function.
8243 (modify-file-local-variable)
8244 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8245 and call `modify-file-local-variable-message' when it's non-nil.
8246 (add-file-local-variable, delete-file-local-variable)
8247 (add-file-local-variable-prop-line)
8248 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8249 and use it. (Bug#9820)
8250
0950aa27
JL
82512013-06-18 Juri Linkov <juri@jurta.org>
8252
8253 * emulation/vi.el (vi-shell-op):
8254 * emulation/vip.el (vip-execute-com, ex-command):
8255 * emulation/viper-cmd.el (viper-exec-bang):
8256 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8257 the call of `shell-command-on-region'. (Bug#14637)
8258
8259 * simple.el (shell-command-on-region): Doc fix.
8260
8fbcca16
SM
82612013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8262
8263 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8264 (bug#14633).
8265
dd7426ea
GM
82662013-06-18 Glenn Morris <rgm@gnu.org>
8267
4ba54f7d
GM
8268 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8269
dd7426ea
GM
8270 * newcomment.el (comment-search-forward, comment-search-backward):
8271 Doc fix. (Bug#14376)
8272
58aa805b
JB
82732013-06-18 Juanma Barranquero <lekktu@gmail.com>
8274
8275 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8276 (buffer-face-mode-invoke): Doc fix.
8277
9a08a617
MM
82782013-06-18 Matthias Meulien <orontee@gmail.com>
8279
8280 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8281 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8282
f2f426ca
GM
82832013-06-18 Glenn Morris <rgm@gnu.org>
8284
9445f99b
GM
8285 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8286 Replace obsolete function generic-make-keywords with its expansion.
8287
e0df2d14
GM
8288 * progmodes/python.el (ffap-alist): Declare.
8289
f2f426ca
GM
8290 * textmodes/reftex.el (bibtex-mode-map): Declare.
8291
f7f9a720
SM
82922013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8293
8294 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8295 (package-unpack, package-unpack-single): Return the pkg-dir.
8296 (package-download-transaction): Use it to update package-alist.
8297
57ff04e0
LMI
82982013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8299
8300 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8301 possible choice.
8302
c048c022
JL
83032013-06-17 Juri Linkov <juri@jurta.org>
8304
8305 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8306
b5bcaee5
DG
83072013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8308
a020afb9
JB
8309 * emacs-lisp/package.el (package-load-descriptor):
8310 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8311 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8312
551e07e5
JB
83132013-06-17 Juanma Barranquero <lekktu@gmail.com>
8314
8315 * startup.el (command-line): Expand package name returned by
8316 `package--description-file' (bug#14639).
8317
d363bffb
DG
83182013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8319
8320 * emacs-lisp/package.el (package-load-descriptor): Do not call
8321 `emacs-lisp-mode', just use its syntax table.
8322
f612933b
JB
83232013-06-17 Juanma Barranquero <lekktu@gmail.com>
8324
8325 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8326 `font-lock-extra-managed-props' if any prettifying keyword is added.
8327 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8328 (prog-mode): Use `setq-local'.
8329
db3b7db5
SM
83302013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * international/characters.el (standard-case-table): Set syntax of ?»
8333 and ?« to punctuation.
8334
f3d674df
JB
83352013-06-16 Juanma Barranquero <lekktu@gmail.com>
8336
8337 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8338 Save relevant match data before calling `syntax-ppss' (bug#14595).
8339
31489a32
JL
83402013-06-15 Juri Linkov <juri@jurta.org>
8341
8342 * files-x.el (modify-file-local-variable-prop-line): Add local
8343 variables to the end of the existing comment on the first line.
8344 Use `file-auto-mode-skip' to skip interpreter magic line,
8345 and also skip XML declaration.
8346
66bd25ab
SM
83472013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * startup.el (package--builtin-versions): New var.
8350 (package-subdirectory-regexp): Remove.
8351 (package--description-file): Hard code its value instead.
8352
8353 * emacs-lisp/package.el: Don't activate packages older than builtin.
8354 (package-obsolete-list): Rename from package-obsolete-alist, and make
8355 it into a simple list of package-desc.
8356 (package-strip-version): Remove.
8357 (package-built-in-p): Use package--builtin-versions.
8358 (package-mark-obsolete): Simplify.
8359 (package-process-define-package): Mark it obsolete if older than the
8360 builtin version.
8361 (package-handle-response): Use line-end-position.
8362 (package-read-archive-contents, package--download-one-archive):
8363 Simplify.
8364 (package--add-to-archive-contents): Skip if older than the builtin or
8365 installed version.
8366 (package-menu-describe-package): Fix last change.
8367 (package-list-unversioned): New var.
8368 (package-menu--generate): Use it.
8369
8370 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8371 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8372 (autoload-builtin-package-versions): New variable.
8373 (autoload-generate-file-autoloads): Use them.
8374 Remove the list of autoloaded functions/macros from the
8375 (autoload...) comments.
8376
8377 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8378
9583ec36
EZ
83792013-06-15 Eli Zaretskii <eliz@gnu.org>
8380
8381 * simple.el (line-move-partial): Don't jump to the next screen
8382 line as soon as it becomes visible. Instead, continue enlarging
8383 the vscroll until the portion of a tall screen line that's left on
8384 display is about the height of the frame's default font.
8385 (Bug#14567)
8386
f0100d8a
GM
83872013-06-15 Glenn Morris <rgm@gnu.org>
8388
b86a85ca
GM
8389 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8390 compilation-error-regexp-alist void, or local while let-bound.
8391
f0100d8a
GM
8392 * progmodes/make-mode.el (makefile-mode-syntax-table):
8393 Treat "=" as punctuation. (Bug#14614)
8394
05e7ce90
JB
83952013-06-15 Juanma Barranquero <lekktu@gmail.com>
8396
8397 * help-fns.el (describe-variable):
8398 Add extra line for permanent-local variables.
8399
12e5e86e
SH
84002013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8401
8402 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8403 Add export, import, library. (Bug#9164)
8404 (library): Set indent function.
8405
230dcbaf
GM
84062013-06-14 Glenn Morris <rgm@gnu.org>
8407
8408 * term/xterm.el (xterm--query):
8409 Stop after first matching handler. (Bug#14615)
8410
e36b2d20 84112013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8412
8413 Add support for dired in saveplace.
8414 * dired.el (dired-initial-position-hook): New variable.
8415 (dired-initial-position): Call hook to place cursor position.
8416 * saveplace.el (save-place-to-alist): Add dired position.
8417 (save-place-dired-hook): New function.
8418
0b31660d
SM
84192013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8420
bf1e6ae8
SM
8421 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8422 through a symbol rather than letrec.
8423
1b8dff23
SM
8424 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8425 (package-desc): Add `dir' field.
8426 (package-desc-full-name): New function.
8427 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8428 (package-maybe-load-descriptor): Remove.
8429 (package-load-all-descriptors): Just call package-load-descriptor.
8430 (package--disabled-p): New function.
8431 (package-desc-vers, package-desc-doc): Remove aliases.
8432 (package--dir): Remove function.
8433 (package-activate): Check if a package is disabled.
8434 (package-process-define-package): New function, extracted from
8435 define-package.
8436 (define-package): Turn into a place holder.
8437 (package-unpack-single, package-tar-file-info):
8438 Use package--description-file.
8439 (package-compute-transaction): Use package--disabled-p.
8440 (package-download-transaction): Don't call
8441 package-maybe-load-descriptor since they're all loaded anyway.
8442 (package-install): Change argument to be a pkg-desc.
8443 (package-delete): Use a single pkg-desc argument.
8444 (describe-package-1): Use package-desc-dir instead of package--dir.
8445 Use package-desc property instead of package-symbol.
8446 (package-install-button-action): Adjust accordingly.
8447 (package--push): Rewrite.
8448 (package-menu--print-info): Adjust accordingly. Change the ID format
8449 to be a pkg-desc.
8450 (package-menu-describe-package, package-menu-get-status)
8451 (package-menu--find-upgrades, package-menu-mark-upgrades)
8452 (package-menu-execute, package-menu--name-predicate):
8453 Adjust accordingly.
8454 * startup.el (package--description-file): New function.
8455 (command-line): Use it.
8456 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8457 Use package-desc-version.
8458
0b31660d
SM
8459 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8460 (byte-compile-preprocess): Use it.
8461 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8462 can't quite recognize.
8463 (byte-compile-add-to-list): Remove.
8464 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8465 (cconv-closure-convert): Add assertion.
8466
8467 * emacs-lisp/map-ynp.el: Use lexical-binding.
8468 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8469 Factor out some repeated code.
8470
de0503df
SM
84712013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * subr.el (with-eval-after-load): New macro.
8474 (eval-after-load): Allow form to be a function.
8475 take advantage of lexical-binding.
8476 (do-after-load-evaluation): Use dolist and adjust to new format.
8477 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8478
bc5c8c5a
JL
84792013-06-13 Juri Linkov <juri@jurta.org>
8480
8481 * replace.el (perform-replace): Display "symbol " and other search
8482 modes from `isearch-message-prefix' in the *Help* buffer.
8483
8484 * isearch.el (isearch-query-replace): Add " symbol" and other
8485 possible search modes from `isearch-message-prefix' to the prompt.
8486 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8487 when reading a regexp to collect.
8488
a22289f7
JL
84892013-06-13 Juri Linkov <juri@jurta.org>
8490
8491 * isearch.el (word-search-regexp): Match whitespace if the search
8492 string begins or ends in whitespace. The LAX arg is applied to
8493 both ends of the search string. Use `regexp-quote' and explicit
8494 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8495 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8496 boundaries are replaced with symbol boundaries, and characters
8497 between symbols match non-word non-symbol syntax. (Bug#14602)
8498
cb89acab
JL
84992013-06-13 Juri Linkov <juri@jurta.org>
8500
8501 * isearch.el (isearch-del-char): Don't exceed the length of
8502 `isearch-string' by the prefix arg. (Bug#14563)
8503
6e8cfc81
JL
85042013-06-13 Juri Linkov <juri@jurta.org>
8505
8506 * isearch.el (isearch-yank-word, isearch-yank-line)
8507 (isearch-char-by-name, isearch-quote-char)
8508 (isearch-printing-char, isearch-process-search-char):
8509 Add optional count prefix arg. (Bug#14563)
8510
8511 * international/isearch-x.el
8512 (isearch-process-search-multibyte-characters):
8513 Add optional count prefix arg.
8514
c23d55f4
VS
85152013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8516
8517 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8518 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8519 lexical-binding.
8520
85212013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8522
8523 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8524
ba947bc4
GM
85252013-06-13 Glenn Morris <rgm@gnu.org>
8526
8baeb37a
GM
8527 * startup.el (tty-handle-args):
8528 Don't just discard "--" and anything after. (Bug#14608)
8529
ba947bc4
GM
8530 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8531
9abefce4
MA
85322013-06-13 Michael Albinus <michael.albinus@gmx.de>
8533
8534 Implement changes in Secret Service API. Make it backward compatible.
8535 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8536 (secrets-create-item): Use it. Prefix properties with interface.
8537
5755011f
MH
85382013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8539
8540 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8541 (term-emulate-terminal): Respect term-suppress-hard-newline.
8542
1261d2da
S
85432013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8544
8545 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8546 Only remove a `thumb-file' overlay. (Bug#14548)
8547
868490bb
GJ
85482013-06-12 Grégoire Jadi <daimrod@gmail.com>
8549
8550 * mail/reporter.el (reporter-submit-bug-report):
8551 Handle missing package-name. (Bug#14600)
8552
79d7167f
TH
85532013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8554
8555 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8556 (reftex-citation-prompt, reftex-default-bibliography)
8557 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8558 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8559 (reftex-bib-sort-author, reftex-bib-sort-year)
8560 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8561 (reftex-extract-bib-entries-from-thebibliography)
8562 (reftex-get-bibkey-default, reftex-get-bib-names)
8563 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8564 (reftex-format-bib-entry, reftex-parse-bibitem)
8565 (reftex-format-bibitem, reftex-do-citation)
8566 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8567 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8568 (reftex-insert-bib-matches, reftex-format-citation)
8569 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8570 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8571 existing comments into docstrings.
8572
5f9dbd7a
XF
85732013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8574
8575 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8576
94df41ab
AS
85772013-06-12 Andreas Schwab <schwab@suse.de>
8578
8579 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8580 for auto-save files.
8581
a7f3fecc
GM
85822013-06-12 Glenn Morris <rgm@gnu.org>
8583
001809f6
GM
8584 * ido.el (ido-delete-ignored-files): Remove.
8585 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8586 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8587
834b5ded
EL
85882013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8589
08c73ed2
EL
8590 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8591
834b5ded
EL
8592 * ido.el (ido-delete-ignored-files): New function,
8593 split from ido-make-file-list-1.
8594 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8595 (ido-make-file-list-1): Use ido-delete-ignored-files.
8596
daabf15a
LL
85972013-06-12 Leo Liu <sdl.web@gmail.com>
8598
8599 * progmodes/octave.el (inferior-octave-startup)
8600 (inferior-octave-completion-table)
8601 (inferior-octave-track-window-width-change)
8602 (octave-eldoc-function-signatures, octave-help)
8603 (octave-find-definition): Use single quoted strings.
8604 (inferior-octave-startup-args): Change default value.
8605 (inferior-octave-startup): Do not hard code "-i" and
8606 "--no-line-editing".
8607 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8608 (inferior-octave-directory-tracker): Use it.
8609 (octave-goto-function-definition): Robustify.
8610 (octave-help): Support highlighting operators in 'See also'.
8611 (octave-find-definition): Find subfunctions only in Octave mode.
8612
cf4e5178
SM
86132013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * help-fns.el (help-fns--compiler-macro): If the handler function is
8616 named, then put a link to it.
8617 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8618 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8619 (cl-typep): Use it.
8620 (cl-eval-when): Simplify debug spec.
8621 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8622 compiler-macro function instead of setting `compiler-macro-file'.
8623
99c81280 86242013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8625
8626 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8627 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8628
f56be016
SM
86292013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8630 Daniel Hackney <dan@haxney.org>
8631
8632 First part of Daniel Hackney's patch to package.el.
8633 * emacs-lisp/package.el: Use defstruct.
8634 (package-desc): New, main struct.
8635 (package--bi-desc, package--ac-desc): New structs, used to describe the
8636 format in external files.
8637 (package-desc-vers): Replace with package-desc-version accessor.
8638 (package-desc-doc): Replace with package-desc-summary accessor.
8639 (package-activate-1): Remove `package' arg since the pkg-vec now
8640 includes the name.
8641 (define-package): Use package-desc-from-define.
8642 (package-unpack-single): Change file-name arg to be a symbol.
8643 (package--add-to-archive-contents): Use package-desc-create and new
8644 accessor functions to package--ac-desc.
8645 (package-buffer-info, package-tar-file-info): Return a package-desc.
8646 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8647 arg to be a package-desc.
8648 (package-install-file): Adjust accordingly. Use \' to match EOS.
8649 (package--from-builtin): New function.
8650 (describe-package-1, package-menu--generate): Use it.
8651 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8652 (package-generate-autoloads): Idem and return the name of the file.
8653 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8654 Change pkg-info arg to be a package-desc.
8655 Use package-make-ac-desc.
8656 (package-upload-file): Use \' to match EOS.
8657 * finder.el (finder-compile-keywords): Use package-make-builtin.
8658
31119d63
SM
86592013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8660
931a2762
SM
8661 * vc/vc.el (vc-deduce-fileset): Change error message.
8662 (vc-read-backend): New function.
8663 (vc-next-action): Use it.
8664
5a3eb0c6
SM
8665 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8666
e3eb1bb7
SM
8667 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8668 (prolog-font-lock-keywords): Use regexp-opt instead.
8669 Don't manually highlight strings.
8670 (prolog-mode-variables): Simplify comment-start-skip.
8671 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8672
31119d63
SM
8673 * emacs-lisp/generic.el (generic--normalise-comments)
8674 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8675 (generic-mode-set-comments): Use them.
8676 (generic-bracket-support): Use setq-local.
8677 (generic-make-keywords-list): Declare obsolete.
8678
7de135d0
GM
86792013-06-11 Glenn Morris <rgm@gnu.org>
8680
8681 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8682 Prettify after setting font-lock-defaults. (Bug#14574)
8683
fa6bc6fd
JB
86842013-06-11 Juanma Barranquero <lekktu@gmail.com>
8685
8686 * replace.el (query-replace, occur-read-regexp-defaults-function)
8687 (replace-search):
8688 * subr.el (declare-function, number-sequence, local-set-key)
8689 (substitute-key-definition, locate-user-emacs-file)
8690 (with-silent-modifications, split-string, eval-after-load):
8691 Fix typos, remove unneeded backslashes and reflow some docstrings.
8692
cf1f9b9a
SM
86932013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8696 default for Elisp files.
8697
56602a4b
GM
86982013-06-11 Glenn Morris <rgm@gnu.org>
8699
8700 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8701 although define-derived-mode was doing this anyway. (Bug#14583)
8702
30ae0b2c
JB
87032013-06-10 Juanma Barranquero <lekktu@gmail.com>
8704
8705 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8706 Fix make-variable-buffer-local call to refer to the correct variable.
8707
fa472906
AG
87082013-06-10 Aidan Gauland <aidalgol@amuri.net>
8709
8710 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8711 (eshell-visual-subcommands, eshell-visual-options):
8712 Add summary line to docstrings. Add cross-references.
fa472906 8713
ff4871b9
GM
87142013-06-10 Glenn Morris <rgm@gnu.org>
8715
8716 * epa.el (epa-read-file-name): New function. (Bug#14510)
8717 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8718
04fcf1b0
AG
87192013-06-09 Aidan Gauland <aidalgol@amuri.net>
8720
8721 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8722 output redirection to be ignored with visual commands.
8723
88b00caa
AG
87242013-06-09 Aidan Gauland <aidalgol@amuri.net>
8725
8726 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8727 (eshell-term-initialize): Move long lambda to separate function
8728 eshell-visual-command-p.
e7b41c4c
JB
8729 * eshell/em-dirs.el (eshell-dirs-initialise):
8730 * eshell/em-script.el (eshell-script-initialize):
8731 Add missing #' to lambda.
88b00caa 8732
fda74125
LL
87332013-06-08 Leo Liu <sdl.web@gmail.com>
8734
8735 * progmodes/octave.el (octave-add-log-current-defun): New function.
8736 (octave-mode): Set add-log-current-defun-function.
8737 (octave-goto-function-definition): Do not move point if not found.
8738 (octave-find-definition): Enhance to try subfunctions first.
8739
467f3b33
GM
87402013-06-08 Glenn Morris <rgm@gnu.org>
8741
8742 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8743 (byte-compile-backward-char, byte-compile-backward-word):
8744 Improve previous change, to handle non-explicit nil.
8745
544badc3
SM
87462013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8747
8748 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8749 (smie--opener/closer-at-point): New function.
8750 (smie--matching-block-data): Use it. Don't match from right after an
8751 opener or right before a closer. Obey smie-blink-matching-inners.
8752 Don't signal a mismatch for repeated inners like "switch..case..case".
8753
a175bf33
LL
87542013-06-07 Leo Liu <sdl.web@gmail.com>
8755
8756 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8757 to t. (Bug#14303)
ce8209d4
LL
8758 (octave-function-header-regexp): Fix. (Bug#14570)
8759 (octave-help-mode-finish-hook, octave-help-mode-finish):
8760 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8761
8762 * newcomment.el (comment-search-backward): Revert last change.
8763 (Bug#14434)
8764
8765 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8766
a822acff
EZ
87672013-06-07 Eli Zaretskii <eliz@gnu.org>
8768
8769 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8770 through xargs, to avoid failure due to MS-Windows limitations on
8771 command-line length.
8772
961166f5
GM
87732013-06-06 Glenn Morris <rgm@gnu.org>
8774
d0341459
GM
8775 * font-lock.el (lisp-font-lock-keywords-2):
8776 Treat user-error like error.
8777
961166f5
GM
8778 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8779 (byte-compile-backward-char, byte-compile-backward-word):
8780 Handle explicit nil arguments. (Bug#14565)
8781
80fa505f
AM
87822013-06-05 Alan Mackenzie <acm@muc.de>
8783
8784 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8785 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8786 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8787 (Bug#9706)
80fa505f 8788
fccdc796
SM
87892013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * autorevert.el (auto-revert-notify-handler): Use memq.
8792 Hide assertion failure.
8793
8794 * skeleton.el: Use cl-lib.
8795 (skeleton-further-elements): Use defvar-local.
8796 (skeleton-insert): Use cl-progv.
8797
9bfff84b
TZ
87982013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8799
8800 * progmodes/prog-mode.el (prog-prettify-symbols)
8801 (prog-prettify-install): Update docstrings.
8802
55577e7c
SM
88032013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8804
8805 * simple.el: Move all the prog-mode code to prog-mode.el.
8806 * progmodes/prog-mode.el: New file.
8807 * loadup.el: Add prog-mode.el.
8808
8fc57765
TZ
88092013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8810
8811 * simple.el (prog-prettify-symbols): Add version.
8812 (prog-prettify-install): Add convenience function to prettify symbols.
8813
8814 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8815 (perl--augmented-font-lock-keywords-1)
8816 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8817 variables and use it.
8818
8819 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8820 (cfengine3-mode): Remove unneeded variable and use it.
8821
8822 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8823 (lisp--augmented-font-lock-keywords-1)
8824 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8825 Remove unneeded variables and use it.
8826
650645d5 88272013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8828
8829 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8830 to point when opening the connection. (Bug#14380)
28f5da6d 8831
781b4af6
SM
88322013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 * subr.el (load-history-regexp, load-history-filename-element)
8835 (eval-after-load, after-load-functions, do-after-load-evaluation)
8836 (eval-next-after-load, display-delayed-warnings)
8837 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8838 definition of save-match-data.
8839 (overriding-local-map): Remove accidental obsolescence declaration.
8840
8841 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8842
3ca0d0b4
TZ
88432013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8844
8845 Generalize symbol prettify support to prog-mode and implement it
8846 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8847 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8848 (prog--prettify-font-lock-compose-symbol)
8849 (prog-prettify-font-lock-symbols-keywords): New variables and
8850 functions to support symbol prettification.
8851 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8852 (lisp--augmented-font-lock-keywords-1)
8853 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8854 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8855 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8856 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8857 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8858 * progmodes/perl-mode.el (perl-prettify-symbols)
8859 (perl--font-lock-compose-symbol)
8860 (perl--font-lock-symbols-keywords): Move to prog-mode.
8861 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8862 (perl-font-lock-keywords-1)
8863 (perl-font-lock-keywords-2): Remove explicit prettify support.
8864 (perl--augmented-font-lock-keywords)
8865 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8866 (perl--augmented-font-lock-keywords-2, perl-mode):
8867 Implement prettify support.
3ca0d0b4 8868
976cb066
LL
88692013-06-05 Leo Liu <sdl.web@gmail.com>
8870
8871 Re-implement smie matching block highlight using
8872 show-paren-data-function. (Bug#14395)
8873 * emacs-lisp/smie.el (smie-matching-block-highlight)
8874 (smie--highlight-matching-block-overlay)
8875 (smie--highlight-matching-block-lastpos)
8876 (smie-highlight-matching-block)
8877 (smie-highlight-matching-block-mode): Remove.
8878 (smie--matching-block-data-cache): New variable.
8879 (smie--matching-block-data): New function.
8880 (smie-setup): Use smie--matching-block-data for
8881 show-paren-data-function.
8882
8883 * progmodes/octave.el (octave-mode-menu): Fix.
8884 (octave-find-definition): Skip garbage lines.
8885
208d0342
SM
88862013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 Fix compilation error with simultaneous dynamic+lexical scoping.
8889 Add warning when a defvar appears after the first let-binding.
8890 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8891 (byte-compile-close-variables): Initialize it.
8892 (byte-compile--declare-var): New function.
8893 (byte-compile-file-form-defvar)
8894 (byte-compile-file-form-define-abbrev-table)
8895 (byte-compile-file-form-custom-declare-variable): Use it.
8896 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8897 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8898 (byte-compile-bind): Handle dynamic bindings that shadow
8899 lexical bindings.
8900 (byte-compile-unbind): Make arg non-optional.
8901 (byte-compile-let): Simplify.
8902 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8903 (cconv--analyse-function, cconv-analyse-form): Populate it.
8904 Protect byte-compile-bound-variables to limit the scope of defvars.
8905 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8906 Remove unneeded rule for `declare'.
8907
8908 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8909 so as to avoid depending on cl-adjoin at run-time.
8910 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8911
8912 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8913 (macroexp--warn-and-return): Use it.
8914
1ac2891e
GM
89152013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8916
8917 * lisp/subr.el: Convert to lexical binding.
8918 (overriding-local-map): Make obsolete.
8919 (add-to-list): Doc fix. Add compiler macro.
8920 (read-key): Swap values of local maps.
8921
2587b005
LL
89222013-06-05 Leo Liu <sdl.web@gmail.com>
8923
8924 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8925
f1da3c88
LL
89262013-06-04 Leo Liu <sdl.web@gmail.com>
8927
8928 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8929 (compilation-auto-jump): Suppress the "Mark set" message to give
8930 way to exit message.
8931
3caa391f
AM
89322013-06-04 Alan Mackenzie <acm@muc.de>
8933
8934 Remove faulty optimisation from indentation calculation.
8935 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8936 search limit based on 2000 characters back from indent-point.
8937
068922a2
TH
89382013-06-03 Tassilo Horn <tsdh@gnu.org>
8939
8940 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8941
1f8fdd53
SM
89422013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8943
bbcc4d97
SM
8944 * emacs-lisp/lisp.el: Use lexical-binding.
8945 (lisp--local-variables-1, lisp--local-variables): New functions.
8946 (lisp--local-variables-completion-table): New var.
208d0342 8947 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8948
1f8fdd53
SM
8949 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8950 eagerly (bug#14422).
8951
c9628c79
MA
89522013-06-03 Michael Albinus <michael.albinus@gmx.de>
8953
8954 * autorevert.el (auto-revert-notify-enabled)
8955 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8956 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8957 (auto-revert-notify-handler): Handle also gfilenotify.
8958
e7b41c4c 8959 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8960 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8961 Remove.
c9628c79 8962
e5e4a942
JL
89632013-06-03 Juri Linkov <juri@jurta.org>
8964
8965 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8966 `M-s h .'. (Bug#14427)
8967
8968 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8969 command `hi-lock-face-symbol-at-point'.
8970 (hi-lock-face-symbol-at-point): New command.
8971 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8972 (hi-lock-menu): Add `highlight-symbol-at-point'.
8973 (hi-lock-mode): Doc fix.
8974
8975 * isearch.el (isearch-forward-symbol-at-point): New command.
8976 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8977 (isearch-highlight-regexp): Add a regexp which matches
8978 words/symbols for word/symbol mode.
8979
8980 * subr.el (find-tag-default-bounds): New function with the body
8981 mostly moved from `find-tag-default'.
8982 (find-tag-default): Move most code to `find-tag-default-bounds',
8983 call it and apply `buffer-substring-no-properties' afterwards.
8984
26b3353a
TH
89852013-06-03 Tassilo Horn <tsdh@gnu.org>
8986
781b4af6
SM
8987 * eshell/em-term.el (eshell-term-initialize):
8988 Use `cl-intersection' rather than `intersection'.
26b3353a 8989
51b60f53
XF
89902013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8991
fe054b63 8992 * vc/log-view.el: Doc fix.
d3ffe17c 8993 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8994
a0eb10b3 89952013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8996
8997 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8998 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8999 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9000 (eieio-unbound, eieio-default-superclass)
9001 (eieio--define-field-accessors, method-static, method-before)
9002 (method-primary, method-after, method-num-lists)
9003 (method-generic-before, method-generic-primary)
9004 (method-generic-after, method-num-slots)
9005 (eieio-specialized-key-to-generic-key)
9006 (eieio--check-type, class-v, class-p)
9007 (eieio-class-name, define-obsolete-function-alias)
9008 (eieio-class-parents-fast, eieio-class-children-fast)
9009 (same-class-fast-p, class-constructor, generic-p)
9010 (generic-primary-only-p, generic-primary-only-one-p)
9011 (class-option-assoc, class-option, eieio-object-p)
9012 (class-abstract-p, class-method-invocation-order)
9013 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9014 (eieio-class-un-autoload, eieio-defclass)
9015 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9016 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9017 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9018 (eieio-defgeneric-reset-generic-form)
9019 (eieio-defgeneric-form-primary-only)
9020 (eieio-defgeneric-reset-generic-form-primary-only)
9021 (eieio-defgeneric-form-primary-only-one)
9022 (eieio-defgeneric-reset-generic-form-primary-only-one)
9023 (eieio-unbind-method-implementations)
9024 (eieio--defmethod, eieio--typep)
9025 (eieio-perform-slot-validation, eieio-validate-slot-value)
9026 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9027 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9028 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9029 (eieio-slot-name-index, eieio-class-slot-name-index)
9030 (eieio-set-defaults, eieio-initarg-to-attribute)
9031 (eieio-attribute-to-initarg, eieio-c3-candidate)
9032 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9033 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9034 (eieio-class-precedence-list, eieio-generic-call-methodname)
9035 (eieio-generic-call-arglst, eieio-generic-call-key)
9036 (eieio-generic-call-next-method-list)
9037 (eieio-pre-method-execution-functions, eieio-generic-call)
9038 (eieio-generic-call-primary-only, eieiomt-method-list)
9039 (eieiomt-optimizing-obarray, eieiomt-install)
9040 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9041 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9042 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9043 (defclass): Remove `eval-and-compile' from macro.
9044 (call-next-method, shared-initialize): Instead of using
9045 `scoped-class' variable, use new eieio--scoped-class, and
9046 eieio--with-scoped-class.
9047 (initialize-instance): Rename local variable 'scoped-class' to
9048 'this-class' to remove ambiguitity from old global.
9049
9050 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9051 eieio.el.
4f405069
JB
9052 (eieio--scoped-class-stack): New variable.
9053 (eieio--scoped-class): New fcn.
890f7890
DE
9054 (eieio--with-scoped-class): New scoping macro.
9055 (eieio-defclass): Use pushnew instead of add-to-list.
9056 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9057 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9058 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9059 `scoped-class' variable, use new eieio--scoped-class, and
9060 eieio--with-scoped-class.
9061
9062 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9063
d105b0e2
TH
90642013-06-02 Tassilo Horn <tsdh@gnu.org>
9065
9066 * eshell/esh-ext.el (eshell-external-command): Pass args to
9067 `eshell-find-interpreter'.
9068 (eshell-find-interpreter): Add new second parameter ARGS.
9069
9070 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9071 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9072
9073 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9074 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9075
9076 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9077 (eshell-visual-options): New defcustom.
9078 (eshell-escape-control-x): Adapt docstring.
9079 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9080 `eshell-visual-options' in addition to `eshell-visual-commands'.
9081 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9082
f46305c8 90832013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9084
9085 * progmodes/python.el (python-indent-block-enders): Add break,
9086 continue and raise keywords.
9087
d870df21
GM
90882013-06-01 Glenn Morris <rgm@gnu.org>
9089
9133b82e
GM
9090 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9091
02c992ec 9092 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9093 * progmodes/cc-cmds.el (delete-forward-p):
9094 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9095 * progmodes/cc-engine.el (buffer-syntactic-context):
9096 * progmodes/cc-fonts.el (face-property-instance):
9097 * progmodes/cc-mode.el (set-keymap-parents):
9098 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9099 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9100 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9101 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9102 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9103
31e7b090
GM
9104 * progmodes/cc-vars.el (other): Emacs has this widget since
9105 at least 21.1, so don't (re)define it.
9106
d870df21
GM
9107 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9108 Replace the obsolete alias pcomplete-arg-quote-list.
9109
c75c93c7
LL
91102013-06-01 Leo Liu <sdl.web@gmail.com>
9111
9112 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9113 punctuation syntax.
9114 (inferior-octave-minimal-columns)
9115 (inferior-octave-last-column-width): New variables.
9116 (inferior-octave-track-window-width-change): New function.
9117 (inferior-octave-mode): Adjust column width so that Octave output,
9118 for example from 'ls', can fit into the window nicely.
9119
973d1e12
DG
91202013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9121
9122 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9123 Highlight expansions inside regexp literals.
9124
0888c286
GM
91252013-05-31 Glenn Morris <rgm@gnu.org>
9126
e26aac1f
GM
9127 * obsolete/sym-comp.el (symbol-complete):
9128 Replace obsolete completion-annotate-function.
9129
0888c286
GM
9130 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9131
19bb8e62
DG
91322013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9133
781b4af6
SM
9134 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9135 New function, checks if point is inside a literal that allows
19bb8e62
DG
9136 expression expansion.
9137 (ruby-syntax-propertize-expansion): Use it.
9138 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9139 around the body.
9140
01dea85f
JL
91412013-05-30 Juri Linkov <juri@jurta.org>
9142
9143 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9144 to "\M-si".
9145 (isearch-invisible): New variable.
9146 (isearch-forward): Doc fix.
9147 (isearch-mode): Set `isearch-invisible'
9148 to the value of `search-invisible'.
9149 (isearch-toggle-case-fold): Doc fix.
9150 (isearch-toggle-invisible): New command.
9151 (isearch-query-replace): Let-bind `search-invisible'
9152 to the value of `isearch-invisible'.
9153 (isearch-search): Use `isearch-invisible' instead of
9154 `search-invisible'. Let-bind `search-invisible'
9155 to the value of `isearch-invisible'. (Bug#11378)
9156
ab1bdce5
JL
91572013-05-30 Juri Linkov <juri@jurta.org>
9158
9159 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9160 call when `query-flag' is nil and `search-invisible' is non-nil.
9161 (Bug#11746)
9162
d6d236e2
GM
91632013-05-30 Glenn Morris <rgm@gnu.org>
9164
8accd027
GM
9165 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9166
2a8bed1c
GM
9167 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9168 (cc-require): Suppress spurious "noruntime" warnings.
9169 (cc-require-when-compile): Use fboundp, for sake of compiler.
9170
d6d236e2
GM
9171 * progmodes/cc-mode.el: Move load of cc-vars before that of
9172 cc-langs (which in turn loads cc-vars), to quieten compiler.
9173
9190b35b
SM
91742013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9175
9176 * paren.el: Simplify the code.
9177 (show-paren-mode): Always start the timer.
9178 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9179 (show-paren--overlay, show-paren--overlay-1): Rename from
9180 show-paren-overlay and show-paren-overlay-1, and initialize to an
9181 overlay rather than to nil.
9182 (show-paren-function): Misc cleanup and simplifications.
9183
4f8d1cf6
SM
91842013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9185
9186 * paren.el (show-paren-data-function): New hook.
9187 (show-paren--default): New function, extracted from show-paren-function.
9188 (show-paren-function): Use show-paren-data-function.
9189
02d844b5
GM
91902013-05-30 Glenn Morris <rgm@gnu.org>
9191
d209d4a9
GM
9192 * ielm.el (ielm-map, ielm-complete-symbol):
9193 Use completion-at-point rather than obsolete functions.
9194 (inferior-emacs-lisp-mode): Doc fix.
9195 Set completion-at-point-functions, rather than
9196 comint-dynamic-complete-functions.
9197
2082faa6
GM
9198 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9199 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9200 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9201
dd8620de
GM
9202 * image.el (image-animated-p): Tweak definition.
9203
ceca95b1
GM
9204 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9205 (rlogin-process-connection-type): Tweak default. Add set-after.
9206 (rlogin-host): Doc fix.
9207 (rlogin): Tweak prompt.
9208 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9209
ee9f1acc
GM
9210 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9211 * progmodes/tcl.el (inferior-tcl-mode-map):
9212 Use completion-at-point rather than obsolete alias.
9213
45ce222e
GM
9214 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9215
02d844b5
GM
9216 * minibuffer.el (read-file-name-completion-ignore-case):
9217 Move before completion--in-region, for eager macro expansion.
9218
ac44d6c1
JL
92192013-05-29 Juri Linkov <juri@jurta.org>
9220
9221 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9222 for total count of matching lines. Add `global-matches' for total
9223 count of matches. Rename `matches' to `lines' for count of
9224 matching lines. Add `matches' for count of matches.
9225 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9226 to `prev-line' for line number of prev match endpt.
9227 Increment `matches' for every match. Print the number of
9228 matching lines in the header.
9229 (occur-context-lines): Rename `lines' to `curr-line'.
9230 Rename `prev-lines' to `prev-line'. (Bug#14017)
9231
3c9c9d38
JL
92322013-05-29 Juri Linkov <juri@jurta.org>
9233
9234 * replace.el (perform-replace): Add `skip-read-only-count',
9235 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9236 Increment them for corresponding conditions and report the number
9237 of skipped occurrences in the final message. (Bug#11746)
9238 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9239 (replace-string, replace-regexp): Doc fix.
9240
33e249a2
SM
92412013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9242
8e399682
SM
9243 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9244
33e249a2 9245 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9246 prog-mode-map (bug#14504).
33e249a2 9247
f236dd84
LL
92482013-05-29 Leo Liu <sdl.web@gmail.com>
9249
9250 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9251 (octave-help): Small simplification.
9252
9253 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9254 off the highlight first.
9255
3694d13f
GM
92562013-05-29 Glenn Morris <rgm@gnu.org>
9257
03983bdc
GM
9258 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9259 Handle idlwave-last-system-routine-info-cons-cell being nil.
9260
bc74a74a
GM
9261 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9262 (idlwave-write-paths): Simplify via with-temp-buffer.
9263
8b394200
GM
9264 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9265 * emulation/cua-rect.el: Also load cua-base at run time.
9266
3694d13f
GM
9267 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9268 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9269 (cperl-imenu-on-info): Require imenu.
9270
336d7284
AM
92712013-05-28 Alan Mackenzie <acm@muc.de>
9272
9273 Handle "capitalised keywords" correctly.
33e249a2 9274 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9275
cb29c582
AG
92762013-05-28 Aidan Gauland <aidalgol@amuri.net>
9277
781b4af6 9278 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9279
690e44b2
GM
92802013-05-28 Glenn Morris <rgm@gnu.org>
9281
e658d75c
GM
9282 * vc/vc-arch.el (vc-exec-after): Declare.
9283 (vc-switches): Autoload.
9284 * vc/vc-bzr.el: No need to require vc when compiling.
9285 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9286 (vc-resynch-buffer, vc-dir-refresh): Declare.
9287 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9288 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9289 (vc-resynch-buffer): Declare.
9290 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9291 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9292 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9293 (grep-read-regexp, grep-read-files, grep-expand-template)
9294 (vc-dir-refresh): Declare.
9295 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9296 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9297 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9298 * vc/vc-mtn.el (vc-exec-after): Declare.
9299 (vc-switches): Autoload.
9300 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9301 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9302 (vc-file-tree-walk): Declare.
712b9732
GM
9303 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9304 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9305 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9306 * vc/vc-svn.el (vc-exec-after): Declare.
9307 (vc-switches, vc-setup-buffer): Autoload.
9308 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9309 Autoload.
9310 (vc-resynch-buffer): Declare.
9311
98e87fb3
GM
9312 * obsolete/fast-lock.el (byte-compile-warnings):
9313 Don't warn about obsolete features in this obsolete file.
9314
f5379553
GM
9315 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9316 Move definition before use.
9317
7a20ef83
GM
9318 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9319 (dun-unix-verbs): Remove dun-zippy.
9320 (dun-zippy): Remove function.
9321
690e44b2
GM
9322 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9323
3a52ccf7
JL
93242013-05-27 Juri Linkov <juri@jurta.org>
9325
9326 * replace.el (replace-search): New function with code moved out
9327 from `perform-replace'.
9328 (replace-highlight, replace-dehighlight): Move function definitions
9329 up closer to `replace-search'. (Bug#11746)
9330
d289938a
JL
93312013-05-27 Juri Linkov <juri@jurta.org>
9332
9333 * replace.el (perform-replace): Ignore invisible matches.
9334 In addition to checking `query-replace-skip-read-only', also
9335 filter out matches by calling `run-hook-with-args-until-failure'
9336 on `isearch-filter-predicates', and also check `search-invisible'
9337 for t or call `isearch-range-invisible'.
9338 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9339
66fc57e3
JL
93402013-05-27 Juri Linkov <juri@jurta.org>
9341
9342 * isearch.el (isearch-filter-predicates): Rename from
9343 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9344 (isearch-message-prefix): Display text from the property
9345 `isearch-message-prefix' of the currently active filters.
9346 (isearch-search): Don't compare `isearch-filter-predicate' with
9347 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9348 on `isearch-filter-predicates'. Also check `search-invisible' for t
9349 or call `isearch-range-invisible'.
9350 (isearch-filter-visible): Make obsolete.
9351 (isearch-lazy-highlight-search):
9352 Call `run-hook-with-args-until-failure' on
9353 `isearch-filter-predicates' and use `isearch-range-invisible'.
9354
9355 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9356 `isearch-filter-predicates' instead of `funcall'ing
9357 `isearch-filter-predicate'.
9358 (Info-mode): Set `Info-isearch-filter' to
9359 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9360
9361 * dired-aux.el (dired-isearch-filter-predicate-orig):
9362 Remove variable.
9363 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9364 (dired-isearch-filenames-end): Add and remove
9365 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9366 instead of changing the value of `isearch-filter-predicate'.
9367 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9368 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9369 Put property `isearch-message-prefix' to "filename " on
9370 `dired-isearch-filter-filenames'.
9371
9372 * wdired.el (wdired-change-to-wdired-mode):
9373 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9374 locally instead of changing `isearch-filter-predicate'.
9375 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9376
f1a60a0f
DG
93772013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9378
9379 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9380 return the commit hash (Bug#14459). Also set the
9381 `vc-git-detached' property.
9382 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9383 (vc-git-mode-line-string): Use the same help-echo format whether
9384 in detached mode or not, because we know the actual revision now.
9385 When in detached mode, shorten the revision to 7 chars.
9386
7f17cc40
SM
93872013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9388
9389 * emacs-lisp/easy-mmode.el (define-minor-mode):
9390 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9391 mode hook and provide a docstring.
9392
25c8401c
AM
93932013-05-27 Alan Mackenzie <acm@muc.de>
9394
9395 Remove spurious syntax-table text properties inserted by C-y.
9396 * progmodes/cc-mode.el (c-after-change): Also clear hard
9397 syntax-table property with value nil.
9398
dde84790
MA
93992013-05-27 Michael Albinus <michael.albinus@gmx.de>
9400
9401 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9402 when reading the events; the buffer layout shall not be changed.
9403
837fd9af
LL
94042013-05-27 Leo Liu <sdl.web@gmail.com>
9405
9406 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9407 New variable.
9408 (inferior-octave-directory-tracker): Automatically re-sync
9409 default-directory.
9410 (octave-help): Improve handling of 'See also'.
9411
4fd996b3
SM
94122013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9413
416f1802
SM
9414 * doc-view.el: Minor naming convention tweaks.
9415 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9416
4fd996b3
SM
9417 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9418 even if there's no `display' property yet (bug#14435).
9419
a052ef3b
EZ
94202013-05-25 Eli Zaretskii <eliz@gnu.org>
9421
4fd996b3 9422 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9423
9424 * Makefile.in (custom-deps, finder-data, autoloads)
9425 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9426 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9427 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9428
c9023370
SM
94292013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9432 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9433 Don't burp at EOB.
c9023370 9434
24d699fa
LL
94352013-05-25 Leo Liu <sdl.web@gmail.com>
9436
9437 * comint.el (comint-previous-matching-input): Do not flood the
9438 *Messages* buffer with trivial messages.
9439
17e5c0cc
SM
94402013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9441
9442 * progmodes/flymake.el (flymake-nop): Don't return a string.
9443 (flymake-set-at): Fix typo.
9444
9445 * simple.el (read--expression): New function, extracted from
9446 eval-expression. Set completion-at-point-functions (bug#14465).
9447 (eval-expression, eval-minibuffer): Use it.
9448
5d028165
XF
94492013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9450
9451 * progmodes/flymake.el (flymake-save-buffer-in-file)
9452 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9453 (flymake-selected-frame, flymake-log, flymake-ins-after)
9454 (flymake-set-at, flymake-get-buildfile-from-cache)
9455 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9456 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9457 Refine the doc string.
9458 (flymake-get-file-name-mode-and-masks): Reformat.
9459 (flymake-get-real-file-name-function): Fix a minor bug.
9460
7a1d7ba7
JL
94612013-05-24 Juri Linkov <juri@jurta.org>
9462
9463 * progmodes/grep.el (grep-mode-font-lock-keywords):
9464 Support =linenumber= format used by git-grep for lines with
9465 function names. (Bug#13549)
9466
650cff3d
SM
94672013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9470 0 after a semi-colon; it works better for smie-auto-fill.
9471 (octave--indent-new-comment-line): New function.
9472 (octave-indent-new-comment-line): Use it (indirectly).
9473 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9474 modify comment-line-break-function.
9475
9476 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9477 (smie-setup): Use add-function to set it.
9478
9631677d
SS
94792013-05-24 Sam Steingold <sds@gnu.org>
9480
9481 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9482 argument (before the `interactive' argument).
9483
50105835
SM
94842013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9485
9486 * image-mode.el (image-mode-winprops): Add winprops to
9487 image-mode-winprops-alist before running
9488 image-mode-new-window-functions.
9489 * doc-view.el (doc-view-new-window-function): Don't delay
9490 doc-view-goto-page via timers (bug#14435).
9491
57b9823e
TH
94922013-05-24 Tassilo Horn <tsdh@gnu.org>
9493
9494 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9495 (doc-view-desktop-save-buffer): New function.
9496 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9497 (desktop-buffer-mode-handlers):
9498 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9499 handler.
9500 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9501 `desktop-save-buffer' function.
9502
91aafa16
MA
95032013-05-24 Michael Albinus <michael.albinus@gmx.de>
9504
9505 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9506 (tramp-gvfs-file-name-handler): Raise a user error when
9507 `tramp-gvfs-enabled' is nil.
9508 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9509 Do not raise a user error when loading package. (Bug#14447)
9510
ec076379
MA
9511 * net/xesam.el: Move to obsolete/.
9512
db785726
GM
95132013-05-24 Glenn Morris <rgm@gnu.org>
9514
af5c7606
GM
9515 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9516
e5d1916a
GM
9517 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9518
ded62b08
GM
9519 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9520 (Info-find-node, Man-getpage-in-background): Declare.
9521
9e614a3f
GM
9522 * mail/unrmail.el (unrmail):
9523 Replace obsolete detect-coding-with-priority.
9524
892f8ca3
GM
9525 * net/socks.el (socks-split-string): Use this rather than split-string.
9526 (socks-nslookup-host): Update for above change.
9527 (dynamic-choice, s5-dynamic-choice-match)
9528 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9529 Comment out unused code.
9530
3c291973
GM
9531 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9532 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9533 (gud-tooltip-echo-area): Make obsolete.
9534 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9535
43cc956b
GM
9536 * progmodes/js.el (js--optimize-arglist): Declare.
9537
dab49a3b
GM
9538 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9539
36b9d085
GM
9540 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9541 (ediff-window-C): Declare.
9542
e354ae76
GM
9543 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9544 Tweak requires to silence compiler.
9545
b8e57bf4
GM
9546 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9547 (he-search-string, he-tried-table, he-expand-list)
9548 (he-init-string, he-string-member, he-substitute-string)
9549 (he-reset-string): Declare.
9550
db785726
GM
9551 * obsolete/options.el (list-options): Use custom-variable-p,
9552 rather than obsolete alias.
9553
b3531901
SS
95542013-05-23 Sam Steingold <sds@gnu.org>
9555
9556 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9557 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9558 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9559
bdda4c66
SM
95602013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9561
9562 * emacs-lisp/smie.el (smie-indent-forward-token)
9563 (smie-indent-backward-token): Handle string tokens (bug#14381).
9564
c43d45f9
TH
95652013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9566
fe1eb856
RS
9567 * ielm.el (ielm-menu): New menu.
9568 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9569
fe1eb856
RS
95702013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9571
9572 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9573 Fix deactivate action.
9574
9575 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9576 Add cleveref macros.
074dd971 9577
c43d45f9
TH
9578 * lisp/textmodes/reftex-parse.el
9579 (reftex-locate-bibliography-files): Accept options for
9580 bibliography commands.
9581 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9582 Add addbibresource. Basic Biblatex support.
9583
7764286e
MA
95842013-05-23 Michael Albinus <michael.albinus@gmx.de>
9585
9586 * net/tramp-gvfs.el (top):
9587 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9588 when loading package. (Bug#14447)
9589
d361bc10
GM
95902013-05-23 Glenn Morris <rgm@gnu.org>
9591
8fa23984
GM
9592 * progmodes/js.el: No need to load comint when compiling.
9593 (ring-insert, comint-send-string, comint-send-input)
9594 (comint-last-input-end, ido-chop): Declare.
9595
a5c7df1a
GM
9596 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9597 * vc/ediff-mult.el: Adjust requires.
9598 (ediff-directories-internal, ediff-directory-revisions-internal)
9599 (ediff-patch-file-internal): Declare.
9600 * vc/ediff-ptch.el: Adjust requires.
9601 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9602 (ediff-find-file): Autoload.
9603 * vc/ediff-util.el: No need to load ediff when compiling.
9604 (ediff-regions-internal): Declare.
9605 * vc/ediff-wind.el: Adjust requires.
9606 (ediff-compute-toolbar-width): Define when compiling.
9607 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9608 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9609 (dired-get-filename, dired-get-marked-files)
9610 (ediff-last-dir-patch, ediff-patch-default-directory)
9611 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9612 (ediff-patch-buffer-internal): Declare.
9613
e2aec513
GM
9614 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9615 (ispell-process, ispell-buffer-local-words, lm-summary)
9616 (lm-section-start, lm-section-end): Declare.
9617 (checkdoc-ispell-init): Simplify.
9618
e68bbd7c
GM
9619 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9620 (he-string-member, he-reset-string, he-substitute-string): Declare.
9621
7efe0991
GM
9622 * eshell/em-ls.el: Adjust requires.
9623 (eshell-glob-regexp): Declare.
f87b1284
GM
9624 * eshell/em-tramp.el: Adjust requires.
9625 (eshell-parse-command): Autoload.
9626 * eshell/em-xtra.el: Adjust requires.
9627 (eshell-parse-command): Autoload.
9628 * eshell/esh-ext.el: Adjust requires.
9629 (eshell-parse-command, eshell-close-handles): Autoload.
9630 * eshell/esh-io.el: Adjust requires.
9631 (eshell-output-filter): Autoload.
9632 * eshell/esh-util.el: No need to load tramp when compiling.
9633 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9634 Declare.
9635 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9636 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9637 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9638 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9639 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9640 * eshell/esh-opt.el, eshell/esh-proc.el:
9641 * eshell/esh-var.el: Adjust requires.
9642 * eshell/eshell.el: Do not require esh-util twice.
9643 (eshell-add-input-to-history): Declare.
9644 (eshell-command): Check history module is active before using it.
9645
d361bc10
GM
9646 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9647
85d090a9
LL
96482013-05-22 Leo Liu <sdl.web@gmail.com>
9649
9650 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9651
5d0acd9d
MA
96522013-05-22 Michael Albinus <michael.albinus@gmx.de>
9653
9654 * autorevert.el (auto-revert-notify-add-watch)
9655 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9656 it indicates changes in file modification time.
9657
0cdffd7d
GM
96582013-05-22 Glenn Morris <rgm@gnu.org>
9659
ca5995ec
GM
9660 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9661 Always delete the autoloaded function from the noruntime and
9662 unresolved functions lists.
9663
6450907e
GM
9664 * allout.el: No need to load epa, epg, overlay when compiling.
9665 (epg-context-set-passphrase-callback, epg-list-keys)
9666 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9667 (epg-key-user-id-list): Declare.
9668
9c6906f6
GM
9669 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9670 (viper-set-parsing-style-toggling-macro)
9671 (viper-set-emacs-state-searchstyle-macros):
9672 Use called-interactively-p on Emacs.
9673 (viper-looking-back): Make it an obsolete alias. Update callers.
9674 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9675 Use looking-back rather than viper-looking-back.
9676 (viper-tmp-insert-at-eob, viper-enlarge-region)
9677 (viper-read-string-with-history, viper-register-to-point)
9678 (viper-append-to-register, viper-change-state-to-vi)
9679 (viper-backward-char-carefully, viper-forward-char-carefully)
9680 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9681 (viper-change-state-to-emacs): Declare.
9682 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9683 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9684 * emulation/viper-mous.el: Do not load viper-cmd.
9685 (viper-backward-char-carefully, viper-forward-char-carefully)
9686 (viper-forward-word, viper-adjust-window): Declare.
9687
5f70c169
GM
9688 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9689
b1b7f300
GM
9690 * progmodes/idlw-help.el (idlwave-help-fontify):
9691 Use called-interactively-p.
9692
f6ebbb46
GM
9693 * term/w32console.el (w32-get-console-codepage)
9694 (w32-get-console-output-codepage): Declare.
9695
0cdffd7d
GM
9696 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9697 Remove unnecessary declarations.
9698 (dframe-message): Doc fix.
9699
9700 * info.el (dframe-select-attached-frame, dframe-current-frame):
9701 Declare.
9702
9703 * speedbar.el (speedbar-message): Make it an obsolete alias.
9704 Update all callers.
9705 (speedbar-with-attached-buffer)
9706 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9707 (speedbar-with-writable): Use backquote.
9708 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9709 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9710 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9711 rather than speedbar- aliases.
9712 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9713 (speedbar-make-specialized-keymap, speedbar-insert-button)
9714 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9715 (speedbar-do-function-pointer): Declare.
9716 (rmail-speedbar-button, rmail-speedbar-find-file)
9717 (rmail-speedbar-move-message):
9718 Use dframe-with-attached-buffer rather than speedbar- alias.
9719 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9720 (dframe-message, speedbar-make-specialized-keymap)
9721 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9722 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9723 (speedbar-insert-button, dframe-select-attached-frame)
9724 (dframe-maybee-jump-to-attached-frame)
9725 (speedbar-change-initial-expansion-list)
9726 (speedbar-previously-used-expansion-list-name): Declare.
9727 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9728 Use dframe-message, dframe-with-attached-buffer rather than
9729 speedbar- aliases.
9730 (gud-sentinel): Silence compiler.
9731 * progmodes/vhdl-mode.el (speedbar-refresh)
9732 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9733 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9734 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9735 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9736 (speedbar-file-lists, speedbar-make-tag-line)
9737 (speedbar-line-directory, speedbar-goto-this-file)
9738 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9739 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9740 (speedbar-make-button, speedbar-reset-scanners)
9741 (speedbar-files-item-info, speedbar-line-text)
9742 (speedbar-find-file-in-frame, speedbar-set-timer)
9743 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9744 (speedbar-with-writable): Do not (re)define it.
9745 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9746 rather than speedbar- alias.
9747
ee44b62a
LL
97482013-05-21 Leo Liu <sdl.web@gmail.com>
9749
9750 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9751 menu items.
9752 (octave-mode): Tweak fill-nobreak-predicate.
9753 (inferior-octave-startup): Check process to avoid infinite loop.
9754 (inferior-octave): Pop to buffer first to show abornmal process
9755 exit information.
9756
640f050f
GM
97572013-05-21 Glenn Morris <rgm@gnu.org>
9758
79458038
GM
9759 * printing.el (pr-menu-bar): Define when compiling.
9760
9cc3e83f
LL
97612013-05-21 Leo Liu <sdl.web@gmail.com>
9762
9763 * progmodes/octave.el (octave-auto-fill): Remove.
9764 (octave-indent-new-comment-line): Improve.
9765 (octave-mode): Use auto fill mode through
4f405069 9766 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9767 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9768 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9769 (octave-help): Show parent directory.
9770
f440830d
GM
97712013-05-21 Glenn Morris <rgm@gnu.org>
9772
9773 * files.el (dired-unmark):
9774 * progmodes/gud.el (gdb-input): Update declarations.
9775
9776 * calculator.el (electric, ehelp): No need to load when compiling.
9777 (Electric-command-loop, electric-describe-mode): Declare.
9778
9779 * doc-view.el (doc-view-current-converter-processes): Move before use.
9780
9781 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9782 Move MODE-set-explicitly definition before use.
9783
9784 * international/mule-diag.el (mule-diag):
9785 Don't use obsolete window-system-version.
9786
9787 * mail/feedmail.el (smtpmail): No need to load when compiling.
9788 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9789
9790 * mail/mail-utils.el (rfc822): No need to load when compiling.
9791 (rfc822-addresses): Autoload it.
9792 (mail-strip-quoted-names): Trivial simplification.
9793
9794 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9795 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9796
9797 * net/snmp-mode.el (tempo): Don't duplicate requires.
9798
9799 * progmodes/prolog.el (info): No need to load when compiling.
9800 (comint): Require before shell requires it.
9801 (Info-goto-node): Autoload it.
9802 (Info-follow-nearest-node): Declare.
9803 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9804
9805 * textmodes/artist.el (picture-mode-exit): Declare.
9806
9807 * textmodes/reftex-parse.el (reftex-parse-from-file):
9808 Trivial rewrite so the compiler can parse it better.
9809
b4da2cbb
LL
98102013-05-20 Leo Liu <sdl.web@gmail.com>
9811
9812 * progmodes/octave.el (octave-help-mode-map)
9813 (octave-help-mode-finish-hook): New variables.
9814 (octave-help-mode, octave-help-mode-finish): New functions.
9815 (octave-help): Use octave-help-mode.
9816
33c0f65b
GM
98172013-05-20 Glenn Morris <rgm@gnu.org>
9818
9819 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9820
1a0a0a8a
DG
98212013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9822
9823 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9824 start at point, so that expansion starting right after opening
9825 slash in a regexp is recognized.
9826 (ruby-syntax-before-regexp-re): New defvar, extracted from
9827 ruby-syntax-propertize-function. Since the value of this regexp
9828 is looked up at runtime now, we should be able to turn
9829 `ruby-syntax-methods-before-regexp' into a defcustom later.
9830 (ruby-syntax-propertize-function): Split regexp matching into two
9831 parts, for opening and closing slashes. That allows us to skip
9832 over string interpolations and support multiline regexps.
9833 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9834 for them, which calls `ruby-syntax-propertize-expansion'.
9835 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9836 call to `ruby-syntax-propertize-function'.
9837 (ruby-syntax-propertize-expansion): Extracted from
9838 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9839 (ruby-syntax-propertize-percent-literal): Leave point right after
9840 the percent symbol, so that the expression expansion rule can
9841 propertize the contents.
462388b6
DG
9842 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9843 heredoc openers.
9844 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9845
c1a6c0a4
JL
98462013-05-18 Juri Linkov <juri@jurta.org>
9847
9848 * man.el (Man-default-man-entry): Remove `-' from the end
9849 of the default value. (Bug#14400)
9850
8051fccd
GM
98512013-05-18 Glenn Morris <rgm@gnu.org>
9852
9853 * comint.el (comint-password-prompt-regexp):
9854 Allow "password for XXX" where XXX contains colons (eg https://...).
9855
5e80b74f
LL
98562013-05-18 Leo Liu <sdl.web@gmail.com>
9857
9858 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9859 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9860 (octave-source-directories): Don't check process.
9861 (octave-source-directories, octave-find-definition): Doc fix.
9862
521a54c5
GM
98632013-05-18 Glenn Morris <rgm@gnu.org>
9864
86a94b05
GM
9865 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9866 Remove backspace/delete bindings. (Bug#14392)
9867
521a54c5
GM
9868 * cus-dep.el (custom-make-dependencies): Sort the output.
9869 (custom-versions-load-alist): Convert comment to doc.
9870
42caeb89
LL
98712013-05-17 Leo Liu <sdl.web@gmail.com>
9872
9873 * newcomment.el (comment-search-backward): Stricter in finding
9874 comment start. (Bug#14303)
9875
9876 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9877 (octave-comment-start-skip): Properly anchored.
9878
e219dd97
LL
98792013-05-17 Leo Liu <sdl.web@gmail.com>
9880
fe1eb856
RS
9881 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9882 Clean up when turned off. (Bug#14395)
e219dd97
LL
9883 (smie--highlight-matching-block-overlay): No longer buffer-local.
9884 (smie-highlight-matching-block): Adjust.
9885
dc5dcb4b
PE
98862013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9887
9888 Doc string fix for "nanoseconds" (Bug#14406).
9889 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9890 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9891
1db165f0
JB
98922013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9893
9894 * calc/calc-units.el (math-extract-units): Preserve powers
9895 of units.
9896
c7a8fcac
LL
98972013-05-17 Leo Liu <sdl.web@gmail.com>
9898
9899 * subr.el (delete-consecutive-dups): New function.
9900 * ido.el (ido-set-matches-1): Use it.
9901 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9902 * ido.el (ido-remove-consecutive-dups): Remove.
9903
f678b18a
SM
99042013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9907 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9908 regexp-opt's `words'.
9909
ebfe68e8
LL
99102013-05-16 Leo Liu <sdl.web@gmail.com>
9911
9912 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9913 (smie--highlight-matching-block-overlay)
9914 (smie--highlight-matching-block-lastpos)
9915 (smie--highlight-matching-block-timer): New variables.
9916 (smie-highlight-matching-block): New function.
9917 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9918 (smie-setup): Conditionally enable smie-blink-matching-open.
9919
bc8bc17d
WS
99202013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9921
9922 Sync with upstream verilog-mode r840.
9923 * progmodes/verilog-mode.el (verilog-mode-version)
9924 (verilog-mode-release-date): Update.
9925 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9926 (verilog-sig-tieoff): Fix string error on
9927 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9928 (verilog-read-decls): Fix parameters confusing
9929 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9930
df065a0b
EZ
99312013-05-16 Eli Zaretskii <eliz@gnu.org>
9932
9933 * subr.el (reveal-filename): New function.
9934
9935 * loadup.el: Compute Emacs executable versions on MS-Windows,
9936 where executables have the .exe extension. Add a hard link
9937 emacs-XX.YY.ZZ.exe on MS-Windows.
9938
9939 * Makefile.in (XARGS_LIMIT): New variable.
9940 (custom-deps, finder-data, autoloads)
9941 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9942 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9943 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9944 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9945
2d4bf34b
LL
99462013-05-16 Leo Liu <sdl.web@gmail.com>
9947
9948 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9949 (octave-mode-menu, octave-mode-map): Remove its uses.
9950
6b9c2d85
RZ
99512013-05-16 Reto Zimmermann <reto@gnu.org>
9952
9953 Sync with upstream vhdl mode v3.34.2.
9954 * progmodes/vhdl-mode.el: Use `push' throughout.
9955 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9956 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9957 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9958 (vhdl-actual-generic-name): New option to derive actual generic name.
9959 (vhdl-port-paste-signals): Replace formal by actual generics.
9960 (vhdl-beautify): New name for old group vhdl-align. Update users.
9961 (vhdl-beautify-options): New option.
9962 (vhdl-last-input-event): New compat alias. Use throughout.
9963 (vhdl-goto-line): Replace user level function `goto-line'.
9964 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9965 vhdl-fix-statement-buffer.
9966 (vhdl-create-mode-menu): Add some entries.
9967 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9968 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9969 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9970 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9971 to force statements on one line.
9972 (vhdl-remove-trailing-spaces-region):
9973 New, split from vhdl-remove-trailing-spaces.
9974 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9975 Respect vhdl-beautify-options.
9976 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9977 (vhdl-update-sensitivity-list): Not add with index if exists without.
9978 Not include array index with signal. Ignore keywords in comments.
9979 (vhdl-get-visible-signals): Regexp tweaks.
9980 (vhdl-template-component-inst): Handle empty library.
9981 (vhdl-template-type): Add template for 'enum' type.
9982 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9983 Use vhdl-replace-string.
9984 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9985 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9986 (vhdl-speedbar-initialize): Update for above name change.
9987 (vhdl-compose-wire-components): Fix in handling of constants.
9988 (vhdl-error-regexp-emacs-alist): New variable.
9989 (vhdl-error-regexp-add-emacs): New function;
9990 adds support for new compile.el (Emacs 22+)
9991 (vhdl-generate-makefile-1): Change target order for single lib. units.
9992 Allow use of absolute file names.
9993
9df4ec5e
LL
99942013-05-16 Leo Liu <sdl.web@gmail.com>
9995
9996 * simple.el (prog-indent-sexp): Indent enclosing defun.
9997
f5ba00a6
GM
99982013-05-15 Glenn Morris <rgm@gnu.org>
9999
ed8be7ff
GM
10000 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10001 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10002 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10003 (whitespace-highlight): Move to whitespace group.
10004
10005 * comint.el (comint-source):
10006 * pcmpl-linux.el (pcmpl-linux):
10007 * shell.el (shell-faces):
10008 * eshell/esh-opt.el (eshell-opt):
10009 * international/ccl.el (ccl): Remove empty custom groups.
10010
10011 * completion.el (dynamic-completion-mode):
10012 * jit-lock.el (jit-lock-debug-mode):
10013 * minibuffer.el (completion-in-region-mode):
10014 * type-break.el (type-break-mode-line-message-mode)
10015 (type-break-query-mode):
10016 * emulation/tpu-edt.el (tpu-edt-mode):
10017 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10018 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10019 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10020
10021 * term/xterm.el (xterm): Change parent group to terminals.
10022
10023 * master.el (master): Remove empty custom group.
10024 (master-mode): Remove unused :group argument.
10025 * textmodes/refill.el (refill): Remove empty custom group.
10026 (refill-mode): Remove unused :group argument.
10027
10028 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10029
82a7c41b
GM
10030 * cus-dep.el: Provide a feature.
10031 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10032 Don't mistakenly ignore files whose basenames match a basename
10033 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10034 Add a fallback method for getting :group.
f5ba00a6 10035
6d65486d
JL
100362013-05-15 Juri Linkov <juri@jurta.org>
10037
da547b32
JL
10038 * isearch.el (isearch-char-by-name): Rename from
10039 `isearch-insert-char-by-name'. Doc fix.
10040 (isearch-forward): Mention `isearch-char-by-name' in
10041 the docstring. (Bug#13348)
10042
6d65486d
JL
10043 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10044 `exit-minibuffer' instead of
10045 `isearch-nonincremental-exit-minibuffer'.
10046 (isearch-edit-string): Remove mention of
10047 `isearch-nonincremental-exit-minibuffer' from docstring.
10048 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10049 (isearch-forward-exit-minibuffer)
10050 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10051
c9990474
SM
100522013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10053
6e911150
SM
10054 * loadup.el: Just use unversioned DOC.
10055
c9990474
SM
10056 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10057 literals as extending to EOB.
10058 (nxml-last-fontify-end): Remove unused variable.
10059 (nxml-after-change1): Use with-silent-modifications.
10060 (nxml-extend-after-change-region): Simplify.
10061 (nxml-extend-after-change-region1): Remove function.
10062 (nxml-after-change1): Don't adjust for dependent regions.
10063 (nxml-fontify-matcher): Simplify.
10064 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10065 (xmltok-add-dependent): Remove function.
10066 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10067 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10068 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10069 unclosed <[[, <?, comment, and other literals as extending to EOB.
10070 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10071 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10072 Remove functions.
10073 (rng-do-some-validation-1): Don't mark dependent regions.
10074 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10075 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10076 (nxml-clear-dependent-regions): Remove functions.
10077 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10078 (nxml-ensure-scan-up-to-date):
10079 Don't clear&mark dependent regions.
10080
e3772e98
LL
100812013-05-15 Leo Liu <sdl.web@gmail.com>
10082
c9990474
SM
10083 * progmodes/octave.el (octave-goto-function-definition):
10084 Improve and fix callers.
e3772e98 10085
5ac2eb34
SM
100862013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10087
c46c57b0
SM
10088 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10089 the setter (bug#14387).
10090
5ac2eb34
SM
10091 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10092 surrounding group (bug#14402).
10093
180ed218
JL
100942013-05-14 Juri Linkov <juri@jurta.org>
10095
10096 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10097 (Bug#14390)
10098
0ac0fecb
GM
100992013-05-14 Glenn Morris <rgm@gnu.org>
10100
10101 * progmodes/f90.el (f90-imenu-generic-expression):
10102 Fix typo in 2013-05-08 change. (Bug#14402)
10103
2e78e6a7
JPG
101042013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10105
5ac2eb34
SM
10106 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10107 Remove signals for which replies are never received.
2e78e6a7 10108
53267cca
JPG
101092013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10110
10111 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10112 (gdb-handler-alist, gdb-handler-number): Remove variables.
10113 (gdb-handler-list): New variable.
10114 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10115 (gdb-pending-handler-p, gdb-handle-reply)
10116 (gdb-remove-all-pending-triggers): New functions.
10117 (gdb-discard-unordered-replies): New defcustom.
10118 (gdb-handler): New defstruct.
10119 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10120 instead of gdb-pending-triggers. Update docstring.
10121 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10122 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10123 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10124 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10125 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10126 (gdb-frame-handler): Pending triggers are now automatically managed.
10127 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10128 Remove argument.
10129 (gdb-input): Automatically handles pending triggers. Update docstring.
10130 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10131 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10132 Update comments.
10133 (gdb-done-or-error): Now use gdb-handle-reply.
10134
d04ce803
JPG
101352013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10136
10137 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10138 gdb-debug-log.
10139
0114073a
GM
101402013-05-14 Glenn Morris <rgm@gnu.org>
10141
10142 * subr.el (user-emacs-directory-warning): New option.
10143 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10144
4d25fd7e
LL
101452013-05-14 Leo Liu <sdl.web@gmail.com>
10146
10147 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10148 during redisplay.
10149 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10150 (octave-font-lock-texinfo-comment): Fix invalid search bound
10151 error: wrong side of point.
4d25fd7e 10152
27c8b6eb
GM
101532013-05-14 Glenn Morris <rgm@gnu.org>
10154
61aaeb01
GM
10155 * progmodes/flymake.el (flymake-xml-program): New option.
10156 (flymake-xml-init): Use it.
10157
5bf90bc5
GM
10158 * term/xterm.el: Provide a feature.
10159
10160 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10161
f4c7dfd2
GM
101622013-05-13 Glenn Morris <rgm@gnu.org>
10163
10164 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10165 Add compat aliases as a hack workaround. (Bug#14384)
10166
2aeb3a1d
LL
101672013-05-13 Leo Liu <sdl.web@gmail.com>
10168
b0e069c2
LL
10169 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10170 ###, and %!.
f5a9432f
LL
10171 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10172 C-M-q.
b0e069c2
LL
10173 (octave-comment-start-skip): Include %!.
10174 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10175
30ea8374
LL
101762013-05-12 Leo Liu <sdl.web@gmail.com>
10177
10178 * progmodes/octave.el (inferior-octave-startup): Store the value
10179 of __octave_srcdir__ for octave-source-directories.
10180 (inferior-octave-check-process): New function refactored out of
10181 inferior-octave-send-list-and-digest.
10182 (octave-source-directories)
10183 (octave-find-definition-filename-function): New variables.
10184 (octave-source-directories)
10185 (octave-find-definition-default-filename): New functions.
10186 (octave-find-definition): Improve to find functions implemented in C++.
10187
472a3834
GM
101882013-05-12 Glenn Morris <rgm@gnu.org>
10189
10190 * calendar/diary-lib.el (diary-outlook-format-1):
10191 Don't include dayname in the output. (Bug#14349)
10192
3191b52f
GM
101932013-05-11 Glenn Morris <rgm@gnu.org>
10194
0060ac73
GM
10195 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10196
3191b52f
GM
10197 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10198 Treat cc-provide like provide.
10199
e065ba74
KR
102002013-05-11 Kevin Ryde <user42@zip.com.au>
10201
10202 * cus-dep.el (custom-make-dependencies):
10203 Use generated-autoload-load-name for the sake of files such
10204 such cedet/semantic/bovine/c.el, where the base file name
10205 is not in load-path. (Bug#5277)
10206
36f84c37
GM
102072013-05-11 Glenn Morris <rgm@gnu.org>
10208
10209 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10210 Provide features.
10211
c8730c3a
LL
102122013-05-11 Leo Liu <sdl.web@gmail.com>
10213
10214 * progmodes/octave.el (octave-indent-comment): Improve.
10215 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10216 (octave-eldoc-function-signatures, octave-eldoc-function):
10217 New functions.
c8730c3a
LL
10218 (octave-mode, inferior-octave-mode): Add eldoc support.
10219
212e29f2
RS
102202013-05-11 Richard Stallman <rms@gnu.org>
10221
10222 * epa.el (epa-decrypt-file): Take output file name as argument
10223 and read it using `interactive'.
10224
083fe0d7
LL
102252013-05-11 Leo Liu <sdl.web@gmail.com>
10226
10227 * progmodes/octave.el (octave-beginning-of-line)
10228 (octave-end-of-line): Check before using up-list because it jumps
10229 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10230 (octave-indent-comment): New function.
10231 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10232 (octave-begin-keywords, octave-end-keywords)
10233 (octave-reserved-words, octave-smie-bnf-table)
10234 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10235
8582e4c4
GM
102362013-05-11 Glenn Morris <rgm@gnu.org>
10237
f20def1f
GM
10238 * faces.el (internal-face-x-get-resource):
10239 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10240 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10241 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10242 Fix declarations.
f20def1f 10243
445f95e2
GM
10244 * calc/calc-menu.el: Make it loadable in isolation.
10245
10246 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10247 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10248 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10249 (eudc-bbdb-query-internal): Require 'bbdb.
10250
99fb2756
GM
10251 * lpr.el (lpr-headers-switches):
10252 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10253
10254 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10255
0da7ad96
GM
10256 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10257
8582e4c4
GM
10258 * term.el (term-set-escape-char): Make it idempotent.
10259
f71c50d0
LL
102602013-05-10 Leo Liu <sdl.web@gmail.com>
10261
5ac2eb34
SM
10262 * progmodes/octave.el (inferior-octave-completion-table):
10263 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10264 completion due to bug#11906.
10265 (octave-beginning-of-defun): Re-write to be more general.
10266
d5837773
GM
102672013-05-10 Glenn Morris <rgm@gnu.org>
10268
10269 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10270
027c0f75
SM
102712013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10272
10273 * comint.el (comint-redirect-send-command-to-process): Use :around
10274 rather than :override for comint-redirect-filter.
10275 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10276 Call it instead of comint-redirect-original-filter-function (which
10277 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10278
4465bfb4
JD
102792013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10280
10281 * frame.el (display-monitor-attributes-list): Add NS case.
10282 (ns-display-monitor-attributes-list): Declare.
10283
2d809ffa 102842013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10285
10286 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10287
e54eeb9b
GM
102882013-05-09 Glenn Morris <rgm@gnu.org>
10289
56cd351d
GM
10290 * international/fontset.el (vertical-centering-font-regexp):
10291 Set standard-value.
10292
d84b6108
GM
10293 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10294
a931698a
GM
10295 * bookmark.el (bookmark-search-delay):
10296 * cus-start.el (vertical-centering-font-regexp):
10297 * ps-mule.el (ps-mule-font-info-database-default):
10298 * ps-print.el (ps-default-fg, ps-default-bg):
10299 * type-break.el (type-break-good-break-interval):
10300 * whitespace.el (whitespace-indentation-regexp)
10301 (whitespace-space-after-tab-regexp):
10302 * emacs-lisp/testcover.el (testcover-1value-functions)
10303 (testcover-noreturn-functions, testcover-progn-functions)
10304 (testcover-prog1-functions):
10305 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10306 * eshell/em-glob.el (eshell-glob-translate-alist):
10307 * play/tetris.el (tetris-tty-colors):
10308 * progmodes/cpp.el (cpp-face-default-list):
10309 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10310 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10311 (idlwave-help-browser-generic-args):
10312 * progmodes/make-mode.el (makefile-special-targets-list):
10313 * progmodes/python.el (python-shell-virtualenv-path):
10314 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10315 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10316 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10317 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10318 * textmodes/reftex-vars.el (reftex-format-label-function):
10319 * textmodes/remember.el (remember-diary-file): Fix custom types.
10320
e54eeb9b
GM
10321 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10322 Add :version.
10323
455851dd
LL
103242013-05-09 Leo Liu <sdl.web@gmail.com>
10325
10326 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10327 Restore file completion. (Bug#14300)
455851dd
LL
10328 (inferior-octave-startup): Fix incorrect highlighting for the
10329 first prompt.
10330
a9e4425b
SM
103312013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10332
10333 * progmodes/ruby-mode.el: First cut at SMIE support.
10334 (ruby-use-smie): New var.
10335 (ruby-smie-grammar): New constant.
10336 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10337 (ruby-smie--forward-token, ruby-smie--backward-token)
10338 (ruby-smie-rules): New functions.
10339 (ruby-mode-variables): Setup SMIE if applicable.
10340
060ca408
EZ
103412013-05-08 Eli Zaretskii <eliz@gnu.org>
10342
10343 * simple.el (line-move-visual): Signal beginning/end of buffer
10344 only if vertical-motion moved less than it was requested. Avoids
10345 silly incorrect error messages when there are display strings with
10346 multiple newlines at EOL.
10347
1d5963cc
SM
103482013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10349
10350 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10351 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10352 (prolog-char-quote-workaround):
10353 * progmodes/cperl-mode.el (cperl-under-as-char):
10354 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10355 Mark as obsolete.
10356 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10357 their declaration.
10358 (vhdl-mode-syntax-table-init): Remove.
10359
c9990474
SM
10360 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10361 last change.
1d5963cc
SM
10362
10363 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10364 syntax for "_".
10365 (ld-script-font-lock-keywords):
10366 Change regexps to use things like \_< and \_>.
10367
10368 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10369 Change all regexps to use things like \_< and \_>.
10370
10371 * progmodes/autoconf.el (autoconf-definition-regexp)
10372 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10373 Handle a _ with symbol syntax.
10374 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10375
c9990474
SM
10376 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10377 Consolidate declaration.
1d5963cc
SM
10378 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10379 the declaration.
10380 (ada-create-syntax-table): Remove.
10381 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10382 already has the right syntax nowadays.
10383 (ada-goto-next-word): Don't change the syntax of "_".
10384
10385 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10386 with-wrapper-hook.
10387
72d3cfca
SS
103882013-05-08 Sam Steingold <sds@gnu.org>
10389
10390 * thingatpt.el (thing-at-point): Accept optional second argument
10391 NO-PROPERTIES to strip the text properties from the return value.
10392 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10393 to `thing-at-point' instead of stripping the properties ourselves.
10394 Also, when `thing-at-point' fails to find a url, prepend "http://"
10395 to the filename at point on the assumption that the user is
10396 pointing at something like gnu.org/gnu.
10397
5cb15713
JB
103982013-05-08 Juanma Barranquero <lekktu@gmail.com>
10399
10400 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10401 * faces.el (crm-separator):
10402 Silence byte-compiler.
10403
10404 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10405 (tool-bar-map): Remove unneeded defvars.
10406
ea78b95b
LL
104072013-05-08 Leo Liu <sdl.web@gmail.com>
10408
10409 Re-work a fix for bug#10994 based on Le Wang's patch.
10410 * ido.el (ido-remove-consecutive-dups): New helper.
10411 (ido-completing-read): Use it.
10412 (ido-chop): Revert fix for bug#10994.
10413
dc7466df
AS
104142013-05-08 Adam Spiers <emacs@adamspiers.org>
10415
10416 * cus-edit.el (custom-save-variables):
10417 Pretty-print long values. (Bug#14187)
10418
9ecf672a
GM
104192013-05-08 Glenn Morris <rgm@gnu.org>
10420
10421 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10422 (m4-mode-syntax-table): Init in the defvar.
10423 (m4-mode-abbrev-table): Let define-derived-mode define it.
10424
3f555be8
TT
104252013-05-08 Tom Tromey <tromey@redhat.com>
10426
10427 * progmodes/m4-mode.el (m4-mode-syntax-table):
10428 Do not treat "_" as word constituent. (Bug#14167)
10429
7cc8ae06
GM
104302013-05-07 Glenn Morris <rgm@gnu.org>
10431
4f58bc06
GM
10432 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10433 Remove explicit eshell-isearch-cancel-map.
10434
7cc8ae06
GM
10435 * progmodes/f90.el (f90-smart-end-names): New option.
10436 (f90-smart-end): Doc fix.
10437 (f90-end-block-optional-name): New constant.
10438 (f90-block-match): Respect f90-smart-end-names.
10439
ceb57e59
SM
104402013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10443 about implicit semi-colons (bug#14218).
10444
4e3f9230
YM
104452013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10446
10447 * frame.el (display-monitor-attributes-list)
10448 (frame-monitor-attributes): New functions.
10449
203a5572
LL
104502013-05-06 Leo Liu <sdl.web@gmail.com>
10451
10452 * progmodes/octave.el (octave-syntax-propertize-function): Change
10453 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10454 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10455 (octave-completion-at-point): Rename from
203a5572
LL
10456 octave-completion-at-point-function.
10457 (inferior-octave-directory-tracker): Robustify.
10458 (octave-text-functions): Remove and fix its uses. No such things
10459 any more.
10460
ee6cff99
SM
104612013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * emacs-lisp/trace.el (trace--display-buffer): New function.
10464 (trace-make-advice): Use it.
10465
32985194
JL
104662013-05-06 Juri Linkov <juri@jurta.org>
10467
10468 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10469 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10470 Doc fix.
10471 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10472 in the help string. (Bug#12985)
10473
a1c700de
KD
104742013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10475
10476 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10477
c67c0839
SM
104782013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10479
323885fd
SM
10480 * progmodes/perl-mode.el: Add support for here documents.
10481 (perl-syntax-propertize-function): Match here-doc markers.
10482 (perl-syntax-propertize-special-constructs): Find their end.
10483 (perl-imenu-generic-expression): Use [:alnum:].
10484
c67c0839
SM
10485 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10486 (advice--add-function): Refresh the advice if already present
10487 (bug#14317).
10488
d491e7a8
IA
104892013-05-06 Ivan Andrus <darthandrus@gmail.com>
10490
10491 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10492
ddf9925e
GM
104932013-05-06 Glenn Morris <rgm@gnu.org>
10494
7cc3af27
GM
10495 * w32-fns.el (w32-charset-info-alist): Declare.
10496
16e343d6
GM
10497 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10498 of its defcustom properties.
10499 (eshell-cmpl-initialize): No need to load pcomplete.
10500
7d889a47
GM
10501 * generic-x.el: No need to require comint when compiling.
10502
ddf9925e
GM
10503 * net/eudc-export.el: Make it loadable without bbdb.
10504 (top-level): Use require rather than load-library.
10505 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10506 (eudc-batch-export-records-to-bbdb)
10507 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10508 Require bbdb.
10509
1e2c18df
SM
105102013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10511
10512 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10513 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10514 some tweaks, instead.
10515
02502a5f
LL
105162013-05-05 Leo Liu <sdl.web@gmail.com>
10517
10518 * progmodes/octave.el (octave-font-lock-keywords)
10519 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10520 (inferior-octave-send-list-and-digest): Improve error message.
10521 (octave-mode, inferior-octave-mode): Use setq-local.
10522 (octave-help): Set info-lookup-mode.
10523
0dc04f42
RS
105242013-05-05 Richard Stallman <rms@gnu.org>
10525
6c54491c
RS
10526 * vc/compare-w.el (compare-windows-whitespace):
10527 Treat no-break space as whitespace.
10528
0dc04f42
RS
10529 * mail/rmailsum.el (rmail-summary-rmail-update):
10530 Detect empty summary and don't change selected message.
10531 (rmail-summary-goto-msg): Likewise.
10532
df8f35df
RS
10533 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10534 Doc fixes, rename args.
10535
5356e1a3
AM
105362013-05-05 Alan Mackenzie <acm@muc.de>
10537
10538 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10539
d44014cb
JL
105402013-05-05 Juri Linkov <juri@jurta.org>
10541
10542 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10543 to not add the length of the summary segment to the return value.
10544 (Bug#14125)
10545
c129b51f
LL
105462013-05-05 Leo Liu <sdl.web@gmail.com>
10547
10548 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10549 (inferior-octave-output-filter): Remove.
10550 (octave-send-region, inferior-octave-startup): Fix callers.
10551 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10552 (octave-binary-file-extensions): New user variable.
10553 (octave-find-definition): Confirm if opening binary files.
10554 (octave-help-file): Use octave-find-definition to get the binary
10555 confirmation.
10556 (octave-help): Adjust for octave-help-file change.
10557
aa7dab97
SM
105582013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10561 Merge the two entries that handle function definitions.
10562 (pascal--syntax-propertize): New const.
10563 (pascal-mode): Use it. Use setq-local.
10564
fd3a9a6b
GM
105652013-05-04 Glenn Morris <rgm@gnu.org>
10566
10567 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10568 (diary-from-outlook): Respect diary-from-outlook-function.
10569
30c7e542
SM
105702013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10573 Move the declaration from C.
10574 (read-minibuffer, eval-minibuffer): Move from C.
10575 (completion-setup-function): Avoid minibuffer-completion-contents.
10576
b54f978b
LL
105772013-05-03 Leo Liu <sdl.web@gmail.com>
10578
10579 * progmodes/octave.el (octave-font-lock-keywords): Do not
10580 dehighlight 'end' in comments or strings.
30c7e542
SM
10581 (octave-completing-read, octave-goto-function-definition):
10582 New helpers.
d4d0f9b3
LL
10583 (octave-help-buffer): New user variable.
10584 (octave-help-file, octave-help-function): New button types.
10585 (octave-help): New command and bind it to C-h ;.
10586 (octave-find-definition): New command and bind it to M-.
d74a1581 10587 (user-error): Alias to error if not defined.
b54f978b 10588
27135018
LL
105892013-05-02 Leo Liu <sdl.web@gmail.com>
10590
10591 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10592 for \. (bug#14332)
10593 (octave-font-lock-keywords): Include [ and {.
10594
0d634d3a
LL
105952013-05-02 Leo Liu <sdl.web@gmail.com>
10596
10597 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10598 (inferior-octave): Remove calling comint-mode and return the buffer.
10599 (inferior-octave-startup): Cosmetic changes.
10600
b4c8295e
LL
106012013-05-02 Leo Liu <sdl.web@gmail.com>
10602
30c7e542
SM
10603 * progmodes/octave.el (octave-syntax-propertize-function):
10604 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10605
f12ad6ec
GM
106062013-05-02 Glenn Morris <rgm@gnu.org>
10607
10608 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10609 * desktop.el (vc-dir-mode): Just autoload it here.
10610
30cac1e0
AM
106112013-05-02 Alan Mackenzie <acm@muc.de>
10612
10613 Eliminate variable c-standard-font-lock-fontify-region-function.
10614 * progmodes/cc-mode.el
10615 (c-standard-font-lock-fontify-region-function): Remove.
10616 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10617
d8ef28b1
LL
106182013-05-01 Leo Liu <sdl.web@gmail.com>
10619
2640d52e 10620 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10621 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10622 variables were removed from Octave in 2007.
d8ef28b1
LL
10623 (inferior-octave-startup): Fix uses.
10624 (comint-line-beginning-position): Remove compatibility code for
10625 emacs 21.
10626
ac63ec89
JL
106272013-05-01 Juri Linkov <juri@jurta.org>
10628
10629 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10630
9e9be37c
JL
106312013-05-01 Juri Linkov <juri@jurta.org>
10632
10633 * comint.el (comint-previous-matching-input): Don't print message
10634 "History item: %d" when `isearch-mode' is active.
10635 (comint-history-isearch-message): Print message "History item: %d"
10636 when `comint-input-ring-index' is not empty and this function is
10637 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10638
9b92c13b
LL
106392013-05-01 Leo Liu <sdl.web@gmail.com>
10640
10641 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10642 definitions. Use completion-at-point to insert keywords.
10643 (octave-abbrev-start): Remove.
10644 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10645
b12d33d7
LL
106462013-04-30 Leo Liu <sdl.web@gmail.com>
10647
10648 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10649 change.
10650
3d1c39fa
AM
106512013-04-30 Alan Mackenzie <acm@muc.de>
10652
10653 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10654 * progmodes/cc-engine.el (c-back-over-member-initializers):
10655 new function.
3d1c39fa
AM
10656 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10657 (most) member init lists.
10658
5147fc17
RS
106592013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10660
10661 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10662 variable.
10663
5b78d7fc
LL
106642013-04-30 Leo Liu <sdl.web@gmail.com>
10665
10666 * progmodes/octave.el (octave-variables): Remove. No builtin
10667 variables any more. All converted to functions.
10668 (octave-font-lock-keywords, octave-completion-at-point-function):
10669 Fix uses.
10670 (octave-font-lock-texinfo-comment): New user variable.
10671 (octave-texinfo-font-lock-keywords): New variable for texinfo
10672 comment block.
10673 (octave-function-comment-block): New face.
10674 (octave-font-lock-texinfo-comment): New function.
10675 (octave-mode): Font lock texinfo comment block.
10676
38d8527b
LL
106772013-04-29 Leo Liu <sdl.web@gmail.com>
10678
10679 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10680 indexing expression.
10681 (octave-continuation-string): Do not use \.
10682 (inferior-octave-complete-impossible): Remove.
10683 (inferior-octave-completion-table)
10684 (inferior-octave-completion-at-point): Remove its uses.
10685 (inferior-octave-startup): completion_matches was introduced to
10686 Octave in 1996 so safe to assume it.
10687 (octave-function-file-comment): Improve to follow how Octave does it.
10688 (octave-update-function-file-comment): Tweak.
10689
2ec12cb0
LL
106902013-04-29 Leo Liu <sdl.web@gmail.com>
10691
10692 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10693 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10694 (octave-function-file-comment): Fix typo.
10695 (octave-sync-function-file-names): Use read-char-choice.
10696
6eaed048
JB
106972013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10698
10699 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10700 to t for the less important warnings.
10701
3ffa2d4f
DH
107022013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10703
10704 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10705
685c9501
GM
107062013-04-27 Glenn Morris <rgm@gnu.org>
10707
10708 * vc/log-view.el (log-view-current-entry):
10709 Treat "---" separator lines as part of the following rev. (Bug#14169)
10710
0208ede7
JL
107112013-04-27 Juri Linkov <juri@jurta.org>
10712
10713 * subr.el (read-number): Doc fix about using it by interactive
10714 code letter `n'. (Bug#14254)
10715
5db9dace
JL
107162013-04-27 Juri Linkov <juri@jurta.org>
10717
10718 * desktop.el (desktop-auto-save-timeout): New option.
10719 (desktop-file-checksum): New variable.
10720 (desktop-save): Add optional arg `auto-save' and don't auto-save
10721 if nothing changed.
10722 (desktop-auto-save-timer): New variable.
10723 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10724 (after-init-hook): Call `desktop-auto-save-set-timer'.
10725 Suggested by Reuben Thomas <rrt@sc3d.org> in
10726 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10727
b7260dd4
LL
107282013-04-27 Leo Liu <sdl.web@gmail.com>
10729
10730 * progmodes/octave.el (octave-function-file-p)
10731 (octave-skip-comment-forward, octave-function-file-comment)
10732 (octave-update-function-file-comment): New functions.
10733 (octave-mode-map): Bind C-c ; to
10734 octave-update-function-file-comment.
10735 (octave-mode-menu): Add octave-update-function-file-comment.
10736 (octave-mode, inferior-octave-mode): Fix doc-string.
10737 (octave-insert-defun): Conform to Octave's coding convention.
10738 (Bug#14285)
10739
10740 * files.el (basic-save-buffer): Don't let errors in
10741 before-save-hook prevent saving buffer.
10742
c46da669
RW
107432013-04-20 Roland Winkler <winkler@gnu.org>
10744
10745 * faces.el (read-face-name): Use completing-read if arg multiple
10746 is nil.
10747
a81ee1eb
IL
107482013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10749
10750 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10751 displayed, move point to after the totals line.
10752 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10753 for the details.
10754
4fac34ce
SM
107552013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10756
10757 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10758 Add current dir to the load-path.
10759 (package-generate-autoloads): Don't rely on
10760 autoload-ensure-default-file.
10761
f6bfc063
RT
107622013-04-26 Reuben Thomas <rrt@sc3d.org>
10763
d40ab5cf
BG
10764 * textmodes/remember.el (remember-store-in-files): Document that
10765 the file name format is passed to `format-time-string'.
f6bfc063 10766
e55d3b04
LL
107672013-04-26 Leo Liu <sdl.web@gmail.com>
10768
10769 * progmodes/octave.el (octave-sync-function-file-names): New function.
10770 (octave-mode): Use it in before-save-hook.
10771
e53052d3
SM
107722013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10773
140ef50c
SM
10774 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10775 (bug#14274).
10776
e53052d3
SM
10777 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10778 \n and comment, even if it's not an implicit ; (bug#14218).
10779
af80458d 107802013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10781
10782 * subr.el (read-number): Once more use `read' rather than
10783 `string-to-number', to trap non-numeric input. (Bug#14254)
10784
af80458d 107852013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10786
10787 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10788 Use `syntax-multiline' text property consistently instead of
8a621d53 10789 `font-lock-multiline'. (Bug#14237)
70203c2e 10790
e6ea1f6c
GM
107912013-04-26 Glenn Morris <rgm@gnu.org>
10792
10793 * emacs-lisp/shadow.el (list-load-path-shadows):
10794 No longer necessary to check for duplicate simple.el, since
10795 2012-07-07 change to init_lread to not include installation lisp
10796 directories in load-path when running uninstalled. (Bug#14270)
10797
070ccca4
LL
107982013-04-26 Leo Liu <sdl.web@gmail.com>
10799
10800 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10801 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10802 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10803 octave-in-string-or-comment-p.
10804 (octave-in-comment-p, octave-in-string-p)
10805 (octave-in-string-or-comment-p): Replace defsubst with defun.
10806
9d1c5fb6
PE
108072013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10808
10809 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10810
c034abda
BG
108112013-04-25 Bastien Guerry <bzg@gnu.org>
10812
10813 * textmodes/remember.el (remember-data-directory)
10814 (remember-directory-file-name-format): Fix custom types.
10815
584ea277
LL
108162013-04-25 Leo Liu <sdl.web@gmail.com>
10817
e53052d3
SM
10818 * progmodes/octave.el (octave-completion-at-point-function):
10819 Make use of inferior octave process.
584ea277
LL
10820 (octave-initialize-completions): Remove.
10821 (inferior-octave-completion-table): New function.
10822 (inferior-octave-completion-at-point): Use it.
10823 (octave-completion-alist): Remove.
10824
1693b06a
SM
108252013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10828 (opascal-mode-syntax-table): New var.
10829 (opascal-literal-kind, opascal-is-literal-end)
10830 (opascal-literal-token-at): Rewrite.
10831 (opascal--literal-start-re, opascal-font-lock-keywords)
10832 (opascal--syntax-propertize): New constants.
10833 (opascal-font-lock-defaults): Adjust.
10834 (opascal-mode): Use them. Set comment-<foo> variables as well.
10835 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10836 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10837 (delphi-other-face, opascal-other-face): Remove face variables.
10838 (opascal-save-state): Remove macro.
10839 (opascal-fontifying-progress-step): Remove constant.
10840 (opascal--ignore-changes): Remove var.
10841 (opascal-set-token-property, opascal-parse-next-literal)
10842 (opascal-is-stable-literal, opascal-complete-literal)
10843 (opascal-is-literal-start, opascal-face-of)
10844 (opascal-parse-region, opascal-parse-region-until-stable)
10845 (opascal-fontify-region, opascal-after-change)
10846 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10847 (opascal-debug-parse-region, opascal-debug-parse-window)
10848 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10849 (opascal-debug-fontify-buffer): Remove.
10850 (opascal-debug-mode-map): Adjust accordingly.
10851
be64c05d
LL
108522013-04-25 Leo Liu <sdl.web@gmail.com>
10853
10854 Merge octave-mod.el and octave-inf.el into octave.el with some
10855 cleanups.
10856 * progmodes/octave.el: New file renamed from octave-mod.el.
10857 * progmodes/octave-inf.el: Merged into octave.el.
10858 * progmodes/octave-mod.el: Renamed to octave.el.
10859
d79d37bd
TH
108602013-04-25 Tassilo Horn <tsdh@gnu.org>
10861
10862 * textmodes/reftex-vars.el
10863 (reftex-label-ignored-macros-and-environments): New defcustom.
10864
10865 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10866
ced3fc5d
SM
108672013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10868
10869 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10870 (smie-indent-keyword): Improve the check to ensure that the next
10871 comment is really on the same line.
10872 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10873
10874 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10875 semi-colons if the line is not otherwise empty (bug#14218).
10876
1c141dad
GM
108772013-04-25 Glenn Morris <rgm@gnu.org>
10878
10879 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10880
5058062a
SM
108812013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10882
10883 * progmodes/opascal.el (opascal-set-token-property): Rename from
10884 opascal-set-text-properties and only set `token' (bug#14134).
10885 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10886 (opascal-literal-text-properties): Remove.
10887 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10888 Adjust callers.
10889
5db9dace 108902013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10891
10892 * textmodes/remember.el (remember-handler-functions): Add an
10893 option for a new handler `remember-store-in-files'.
10894 (remember-data-directory, remember-directory-file-name-format):
10895 New options.
10896 (remember-store-in-files): New function to store remember notes
10897 as separate files within a directory.
10898
4391916c
MH
108992013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10900
10901 * progmodes/compile.el (compilation-next-error-function):
10902 Pass "formats" to compilation-find-file (bug#11777).
10903
bb7cdf58
GM
109042013-04-24 Glenn Morris <rgm@gnu.org>
10905
3b8fe752 10906 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10907 * vc/vc-hg.el (vc-hg-print-log):
10908 * vc/vc-svn.el (vc-svn-print-log):
10909 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10910
bb7cdf58
GM
10911 * vc/vc-bzr.el (vc-bzr-print-log):
10912 * vc/vc-cvs.el (vc-cvs-print-log):
10913 * vc/vc-git.el (vc-git-print-log):
10914 * vc/vc-hg.el (vc-hg-print-log):
10915 * vc/vc-mtn.el (vc-mtn-print-log):
10916 * vc/vc-rcs.el (vc-rcs-print-log):
10917 * vc/vc-sccs.el (vc-sccs-print-log):
10918 * vc/vc-svn.el (vc-svn-print-log):
10919 * vc/vc.el (vc-print-log-internal): Doc fixes.
10920
b46a056e
GM
109212013-04-23 Glenn Morris <rgm@gnu.org>
10922
10923 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10924 Remove venerable code attempting to avoid substitute-command-keys.
10925
0aecf718
TH
109262013-04-23 Tassilo Horn <tsdh@gnu.org>
10927
4391916c
MH
10928 * textmodes/reftex-vars.el (reftex-label-regexps):
10929 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10930
117f94cf
SM
109312013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10932
4391916c 10933 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10934 Use lexical-binding.
10935 (jit-lock-force-redisplay): Use markers, check buffer's continued
10936 existence and beware narrowed buffers.
10937 (jit-lock-fontify-now): Adjust call accordingly.
10938
1d829c64
SM
109392013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10940
10941 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10942 to avoid misleading the user.
10943
72d548a9
LL
109442013-04-22 Leo Liu <sdl.web@gmail.com>
10945
10946 * info-look.el: Prefer latex2e.info. (Bug#14240)
10947
d0853629
MA
109482013-04-22 Michael Albinus <michael.albinus@gmx.de>
10949
10950 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10951
10952 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10953 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10954 (tramp-set-completion-function, tramp-parse-putty):
10955 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10956 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10957 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10958 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10959 (tramp-call-local-coding-command): Use `tramp-call-process'
10960 instead of `tramp-compat-call-process'.
10961
10962 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10963 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10964 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10965 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10966 (tramp-maybe-send-script): Check for Perl binary.
10967 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10968
38cc0210
DU
109692013-04-22 Daiki Ueno <ueno@gnu.org>
10970
10971 * epg.el (epg-context-pinentry-mode): New function.
10972 (epg-context-set-pinentry-mode): New function.
10973 (epg--start): Pass --pinentry-mode option to gpg command.
10974
cc641ee1
XF
109752013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10976
02d844b5 10977 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10978 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10979 `completion-at-point'. (Bug#13774)
5d4e5c31 10980
cc641ee1
XF
10981 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10982 default key binding for `describe-distribution' has been moved to
10983 `C-h C-o'. (Bug#13970)
10984
1b42ee43
GM
109852013-04-21 Glenn Morris <rgm@gnu.org>
10986
10987 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10988 Add doc strings.
10989 (vc-print-log): Clarify interactive prompt.
10990
a6d63d97
GM
109912013-04-20 Glenn Morris <rgm@gnu.org>
10992
10993 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10994 No longer include timestamp etc information.
10995
d7f5c16f
RW
109962013-04-20 Roland Winkler <winkler@gnu.org>
10997
10998 * faces.el (read-face-name): Bug fix, return just one face if arg
10999 multiple is nil. (Bug#14209)
11000
bcd7a0a4
SM
110012013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11002
11003 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11004 (remove-function): Autoload.
11005
11006 * comint.el (comint-redirect-original-filter-function): Remove.
11007 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11008 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11009 (vc-cvs-annotate-command):
bcd7a0a4
SM
11010 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11011 * progmodes/prolog.el (prolog-consult-compile):
11012 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11013 Use add/remove-function instead.
11014 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11015 (gud-tooltip-process-output, gud-tooltip-tips):
11016 Use add/remove-function instead.
11017 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11018 (scheme-interaction-mode, exit-scheme-interaction-mode):
11019 Use add/remove-function instead.
11020
11021 * vc/vc-dispatcher.el: Use lexical-binding.
11022 (vc--process-sentinel): Rename from vc-process-sentinel.
11023 Change last arg to be the code to run. Don't use vc-previous-sentinel
11024 and vc-sentinel-commands any more.
11025 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11026 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11027
e36b2d20 110282013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11029
bcd7a0a4 11030 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11031 Handle function names with a single character. (Bug#14111)
4d3268ba 11032
781b4af6 110332013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11034
11035 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11036 for subroutines defined in an eval (bug#14182).
11037
7d688336
TV
110382013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11039
11040 * bookmark.el (bookmark-completing-read): Improve handling of empty
11041 string (bug#14176).
11042
31dcede0
SM
110432013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11046
adc31213
FEG
110472013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11048
11049 New faster Imenu implementation (bug#14058).
11050 * progmodes/python.el:
11051 (python-imenu-prev-index-position):
11052 (python-imenu-format-item-label-function)
11053 (python-imenu-format-parent-item-label-function)
11054 (python-imenu-format-parent-item-jump-label-function):
11055 New vars.
11056 (python-imenu-format-item-label)
11057 (python-imenu-format-parent-item-label)
11058 (python-imenu-format-parent-item-jump-label)
11059 (python-imenu--put-parent, python-imenu--build-tree)
11060 (python-imenu-create-index, python-imenu-create-flat-index)
11061 (python-util-popn): New functions.
11062 (python-mode): Set imenu-create-index-function to
11063 python-imenu-create-index.
11064
cdca8255
SM
110652013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11066
11067 * winner.el (winner-active-region): Use region-active-p, activate-mark
11068 and deactivate-mark (bug#14225).
11069
11070 * simple.el (deactivate-mark): Don't inline it.
11071
beb42340
MA
110722013-04-18 Michael Albinus <michael.albinus@gmx.de>
11073
11074 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11075
fc7f4d7e
TH
110762013-04-18 Tassilo Horn <tsdh@gnu.org>
11077
11078 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11079 file extensions from the archive-mode entry in order to prefer
11080 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11081
29f47822
LL
110822013-04-18 Leo Liu <sdl.web@gmail.com>
11083
11084 * bindings.el (help-event-list): Add ?\?.
11085
d36ed1c8
SM
110862013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11087
11088 * subr.el (with-wrapper-hook): Declare obsolete.
11089 * simple.el (filter-buffer-substring-function): New hook.
11090 (filter-buffer-substring): Use it.
11091 (filter-buffer-substring-functions): Mark obsolete.
11092 * minibuffer.el (completion-in-region-function): New hook.
11093 (completion-in-region): Use it.
11094 (completion-in-region-functions): Mark obsolete.
11095 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11096 * abbrev.el (abbrev-expand-function): New hook.
11097 (expand-abbrev): Use it.
11098 (abbrev-expand-functions): Mark obsolete.
11099 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11100 and :filter-return.
11101
04754d36
FEG
111022013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11103
11104 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11105 and do not care about match data.
11106
dd8791e9
SM
111072013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11108
11109 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11110 completion tables when completing error conditions and
11111 `declare' arguments.
11112 (lisp-complete-symbol, field-complete): Mark as obsolete.
11113 (check-parens): Unmatched parens are user errors.
11114 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11115
ffe54a13
AM
111162013-04-17 Michal Nazarewicz <mina86@mina86.com>
11117
dd8791e9
SM
11118 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11119 command changed buffer (ie. `flyspell-pre-buffer' is not current
11120 buffer), which prevents making decisions based on invalid value of
11121 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11122 cause an error when `flyspell-pre-point' was nil after switching
11123 buffers.
11124 (flyspell-post-command-hook): No longer needs to change buffers when
11125 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11126
ec7e39f2
AM
111272013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11128
11129 * textmodes/ispell.el (ispell-add-per-file-word-list):
11130 Fix `flyspell-correct-word-before-point' error when accepting
11131 words and `coment-padding' is an integer by using
11132 `comment-normalize-vars' (Bug #14214).
11133
083850a6
FEG
111342013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11135
11136 New defun movement commands.
11137 * progmodes/python.el (python-nav--syntactically)
11138 (python-nav--forward-defun, python-nav-backward-defun)
11139 (python-nav-forward-defun): New functions.
11140
619ed6e1
FEG
111412013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11142
11143 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11144 (python-syntax-context): Use named compiler-macro for backwards
11145 compatibility with Emacs 24.x.
11146
7a1beb6c
LL
111472013-04-17 Leo Liu <sdl.web@gmail.com>
11148
11149 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11150 octave-hide-process-buffer.
11151
2d3fa3e5
SM
111522013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11155 (bug#14216).
11156
7ce5be54
JPG
111572013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11158
11159 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11160 Fix adjustment of offset when receiving incomplete responses from GDB
11161 (bug#14129).
11162
351edece
SM
111632013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11166 python-mode-abbrev-table.
11167 (python-skeleton-define): Adjust accordingly.
11168 (python-mode-abbrev-table): New table that inherits from it so that
11169 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11170
11171 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11172 (abbrev-symbol): Use it.
11173 (abbrev--before-point): Use it since we already handle inheritance.
11174
613f9481
LL
111752013-04-16 Leo Liu <sdl.web@gmail.com>
11176
11177 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11178 binding to info-lookup-symbol.
11179
51646b62
JB
111802013-04-16 Juanma Barranquero <lekktu@gmail.com>
11181
11182 * minibuffer.el (completion--twq-all):
11183 * term/ns-win.el (ns-initialize-window-system):
11184 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11185
efb3f01d
SM
111862013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11187
36c0a301
SM
11188 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11189 global bindings.
11190
efb3f01d
SM
11191 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11192
fb549d64
DG
111932013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11194
11195 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11196 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11197 to nil.
11198 (ruby-end-of-defun): Remove the unused arg, change the docstring
11199 to reflect that this function is only used as the value of
11200 `end-of-defun-function'.
11201 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11202 to reflect an earlier change that beginning/end-of-defun functions
11203 jump between methods in a class definition, as well as top-level
11204 functions.
11205
21e8fe2f
SM
112062013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * minibuffer.el (minibuffer-complete): Don't just scroll
11209 a *Completions* that's been iconified.
11210 (minibuffer-force-complete): Make sure repetitions do cycle when going
11211 through completion-in-region -> minibuffer-complete.
11212
20e527d0
AM
112132013-04-15 Alan Mackenzie <acm@muc.de>
11214
11215 Correct the placement of c-cpp-delimiters when there're #s not at
11216 col 0.
11217
11218 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11219 place a submatch around the #.
21e8fe2f
SM
11220 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11221 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11222 on the #, not BOL.
11223
dabefae5
SM
112242013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11225
11226 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11227 (advice--member-p): New arg `name'.
11228 (advice--add-function, advice-member-p): Use it (bug#14202).
11229
85c9ab64
AM
112302013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11231
11232 Reformulate java imenu-generic-expression.
11233 The old expression contained ill formed regexps.
11234
11235 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11236 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11237 (cc-imenu-java-method-arg-regexp): New defconsts.
11238 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11239 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11240 handling of spaces in the regexp.
11241
0f821d99
AM
112422013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11243
11244 * textmodes/ispell.el (ispell-command-loop): Remove
11245 flyspell highlight of a word when ispell accepts it (bug #14178).
11246
eb922adf
MA
112472013-04-15 Michael Albinus <michael.albinus@gmx.de>
11248
11249 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11250 uses code from the previous `ange-ftp-run-real-handler'.
11251 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11252 only in case that function exist. This is needed for proper
11253 unloading of Tramp.
11254
4d9a0979
TH
112552013-04-15 Tassilo Horn <tsdh@gnu.org>
11256
11257 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11258
11259 * textmodes/reftex.el (reftex-compile-variables): Use it.
11260
a829b0dc
SM
112612013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11262
91e8293c
SM
11263 * files.el (normal-mode): Only use default major-mode if no other mode
11264 was specified.
11265
830aed4d
SM
11266 * emacs-lisp/trace.el (trace-values): New function.
11267
a829b0dc
SM
11268 * files.el: Allow : in local variables (bug#14089).
11269 (hack-local-variable-regexp): New var.
11270 (hack-local-variables-prop-line, hack-local-variables): Use it.
11271
7ae9f0fb
RW
112722013-04-13 Roland Winkler <winkler@gnu.org>
11273
11274 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11275 data before it gets modified by bibtex-beginning-of-entry.
11276
6646e848
RW
112772013-04-13 Roland Winkler <winkler@gnu.org>
11278
11279 * textmodes/bibtex.el (bibtex-url): Doc fix.
11280
112812013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11282
11283 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11284 does not visit a BibTeX file, exclude it from the list of buffers
11285 returned by bibtex-initialize.
11286
0aa3616e
SB
112872013-04-13 Stephen Berman <stephen.berman@gmx.net>
11288
11289 * window.el (split-window): Remove interactive form, since as a
11290 command this function is a special case of split-window-below.
11291 Correct doc string.
11292
011cddd6
RW
112932013-04-12 Roland Winkler <winkler@gnu.org>
11294
11295 * faces.el (read-face-name): Do not override value of arg default.
11296 Allow single faces and strings as default values. Remove those
11297 elements from return value that are not faces.
11298 (describe-face): Simplify.
11299 (face-at-point): New optional args thing and multiple so that this
11300 function can provide the same functionality previously provided by
11301 read-face-name.
11302 (make-face-bold, make-face-unbold, make-face-italic)
11303 (make-face-unitalic, make-face-bold-italic, invert-face)
11304 (modify-face, read-face-and-attribute): Use face-at-point.
11305
11306 * cus-edit.el (customize-face, customize-face-other-window)
11307 * cus-theme.el (custom-theme-add-face)
11308 * face-remap.el (buffer-face-set)
11309 * facemenu.el (facemenu-set-face): Use face-at-point.
11310
f24e0036
MA
113112013-04-12 Michael Albinus <michael.albinus@gmx.de>
11312
11313 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11314
da3cda2d
TH
113152013-04-10 Tassilo Horn <tsdh@gnu.org>
11316
11317 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11318 off leading { and trailing } from field values.
11319
15e54145
SM
113202013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11321
78ce603d
SM
11322 * emacs-lisp/timer.el (timer--check): New function.
11323 (timer--time, timer-set-function, timer-event-handler): Use it.
11324 (timer-set-idle-time): Simplify.
11325 (timer--activate): CSE.
11326 (timer-event-handler): Give more info in error message.
11327 (internal-timer-start-idle): New function, moved from C.
11328
15e54145
SM
11329 * mpc.el (mpc-proc): Add `restart' argument.
11330 (mpc-proc-cmd): Use it.
11331 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11332 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11333 less often.
11334
7144c627
MY
113352013-04-10 Masatake YAMATO <yamato@redhat.com>
11336
11337 * progmodes/sh-script.el: Implement `sh-mode' own
11338 `add-log-current-defun-function' (bug#14112).
11339 (sh-current-defun-name): New function.
11340 (sh-mode): Use the function.
11341
b39792eb
BG
113422013-04-09 Bastien Guerry <bzg@gnu.org>
11343
11344 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11345
8acdeb71
SM
113462013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11347
6fcdab68
SM
11348 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11349
8acdeb71
SM
11350 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11351 timer (bug#14156).
11352
e3e7b504
NF
113532013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11354
11355 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11356 declaration.
11357
201bb296
LL
113582013-04-07 Leo Liu <sdl.web@gmail.com>
11359
11360 * pcmpl-x.el: New file.
11361
ebb19708
DA
113622013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11363
11364 Do not set x-display-name until X connection is established.
11365 This is needed to prevent from weird situation described at
11366 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11367 * frame.el (make-frame): Set x-display-name after call to
11368 window system initialization function, not before.
11369 * term/x-win.el (x-initialize-window-system): Add optional
11370 display argument and use it.
11371 * term/w32-win.el (w32-initialize-window-system):
11372 * term/ns-win.el (ns-initialize-window-system):
11373 * term/pc-win.el (msdos-initialize-window-system):
11374 Add compatible optional display argument.
11375
33bb237a
EZ
113762013-04-06 Eli Zaretskii <eliz@gnu.org>
11377
11378 * files.el (normal-backup-enable-predicate): On MS-Windows and
11379 MS-DOS compare truenames of temporary-file-directory and of the
11380 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11381 don't fail comparison by compare-strings. Also, compare file
11382 names case-insensitively on MS-Windows and MS-DOS.
11383
134abf1f
SM
113842013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11385
11386 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11387 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11388
d695cb94
DG
113892013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11390
e3e7b504
NF
11391 * whitespace.el (whitespace-color-on, whitespace-color-off):
11392 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11393
f4ad7ea1 113942013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11395
11396 * ispell.el (ispell-set-spellchecker-params):
11397 Really set `ispell-args' for all equivs.
11398
632556e4
SM
113992013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * ido.el (ido-completions): Use extra elements of ido-decorations
11402 (bug#14143).
11403 (ido-decorations): Update docstring.
11404
2a417372
MA
114052013-04-05 Michael Albinus <michael.albinus@gmx.de>
11406
11407 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11408 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11409 nil during initialization, in order not to miss changes since the
11410 file was opened. (Bug#14140)
11411
fc164b0c
LL
114122013-04-05 Leo Liu <sdl.web@gmail.com>
11413
11414 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11415
0ccecc08
JB
114162013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11417
11418 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11419
51af1aa2
GM
114202013-04-04 Glenn Morris <rgm@gnu.org>
11421
11422 * electric.el (electric-pair-inhibit-predicate): Add :version.
11423
b208ebc6
SM
114242013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11425
11426 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11427 when a package is required several times (bug#14082).
11428
f3d3eaf0
RW
114292013-04-04 Roland Winkler <winkler@gnu.org>
11430
11431 * faces.el (read-face-name): Behave as promised by the docstring.
11432 Assume that arg default is a list of faces.
11433 (describe-face): Call read-face-name with list of default faces.
11434
2575da50
TV
114352013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11436
11437 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11438 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11439 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11440 the header.
11441 (bookmark-exit-hook-internal): Save even if list is empty.
11442
397703b4
YH
114432013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11444
11445 * emacs-lisp/package.el (package-pinned-packages): New var.
11446 (package--add-to-archive-contents): Obey it (bug#14118).
11447
691e26ae
AM
114482013-04-03 Alan Mackenzie <acm@muc.de>
11449
8a621d53
JB
11450 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11451 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11452
11453 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11454 parameter `not-in-delimiter'. Handle being inside comment opener.
11455 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11456 character in case we're typing a '*' after a '/'.
11457 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11458 instead by passing the parameter to c-state-pp-to-literal.
11459
11460 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11461 for elt. 7 of a parse state.
11462
4b725a70
PE
114632013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11464
11465 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11466 * international/latin1-disp.el, international/mule-util.el:
11467 * language/cyril-util.el, language/european.el, language/ind-util.el:
11468 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11469 * language/tibetan.el, language/viet-util.el:
11470 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11471
15c579f0
SM
114722013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11473
11474 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11475 (electric-pair-post-self-insert-function): Use it.
11476 (electric-pair-default-inhibit): New function, extracted from
11477 electric-pair-post-self-insert-function.
11478
a77e2924
RW
114792013-03-31 Roland Winkler <winkler@gnu.org>
11480
11481 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11482
2bd8a4a8
SM
114832013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11486
8d3655be 114872013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11488
11489 Un-indent after "pass" and "return" statements (Bug#13888)
11490 * progmodes/python.el (python-indent-block-enders): New var.
11491 (python-indent-calculate-indentation): Use it.
11492
8d3655be 114932013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11494
11495 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11496 defun. Defining it as defalias could introduce too eager
11497 byte-compiler optimization. (Bug#14030)
11498
8d3655be 114992013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11500
11501 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11502
0b1619da
LL
115032013-03-30 Leo Liu <sdl.web@gmail.com>
11504
11505 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11506 (kmacro-execute-from-register): Pass the keyboard macro to
11507 kmacro-call-macro or repeating won't work correctly.
11508
0b938190
TZ
115092013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11510
11511 * progmodes/subword.el: Back to using `forward-symbol'.
11512
11513 * subr.el (forward-whitespace, forward-symbol)
11514 (forward-same-syntax): Move from thingatpt.el.
11515
35710234
LL
115162013-03-29 Leo Liu <sdl.web@gmail.com>
11517
11518 * kmacro.el (kmacro-to-register): New command.
11519 (kmacro-execute-from-register): New function.
11520 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11521
efc0bb73
SM
115222013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * mpc.el: Use defvar-local and setq-local.
11525 (mpc--proc-connect): Connection failures are not bugs.
11526 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11527 (mpc-volume-map): Bind to the up-events.
11528
75a2f981
TZ
115292013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11530
11531 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11532 instead of `forward-symbol'.
11533
17c781d1
SM
115342013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11535
11536 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11537 (edebug--recursive-edit): Use it.
11538 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11539 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11540
f67bfbcf
LL
115412013-03-28 Leo Liu <sdl.web@gmail.com>
11542
11543 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11544
b59f639d
EZ
115452013-03-27 Eli Zaretskii <eliz@gnu.org>
11546
11547 * facemenu.el (list-colors-callback): New defvar.
11548 (list-colors-redisplay): New function.
11549 (list-colors-display): Install list-colors-redisplay as the
11550 revert-buffer-function. (Bug#14063)
11551
f557c1b1
SM
115522013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11553
b1da2957
SM
11554 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11555 and suffixes don't overlap (bug#14061).
11556
f557c1b1
SM
11557 * case-table.el: Use lexical-binding.
11558 (case-table-get-table): New function.
11559 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11560
002668e1
TZ
115612013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11562
11563 * progmodes/subword.el: Add `superword-mode' to do word motion
11564 over symbol_words (parallels and leverages `subword-mode' which
11565 does word motion inside MixedCaseWords).
11566
73572c72
AG
115672013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11568
78b8f320 11569 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11570 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11571
69b2c07e
SM
115722013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11573
11574 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11575 Change return value to be a sexp. Delay `get-buffer' to after
11576 restoring the desktop (bug#13951).
11577
08bb5ee2
LL
115782013-03-26 Leo Liu <sdl.web@gmail.com>
11579
11580 * register.el: Move semantic tag handling back to
11581 cedet/semantic/senator.el. (Bug#14052)
11582
8d4c974e
SM
115832013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11584
11585 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11586 into the prompt either (bug#13963).
11587
b234d92c
SM
115882013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11591 part of "(error-foo)".
11592
ddfa3cb4
JL
115932013-03-24 Juri Linkov <juri@jurta.org>
11594
11595 * replace.el (list-matching-lines-prefix-face): New defcustom.
11596 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11597 `occur-engine' if `face-differs-from-default-p' returns t.
11598 (occur-engine): Add `,' inside backquote construct to evaluate
11599 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11600 Pass `prefix-face' to the functions `occur-context-lines' and
11601 `occur-engine-add-prefix'.
11602 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11603 `prefix-face' and propertize the prefix with `prefix-face'.
11604 (Bug#14017)
11605
7b0e2f85
LL
116062013-03-24 Leo Liu <sdl.web@gmail.com>
11607
11608 * nxml/rng-valid.el (rng-validate-while-idle)
11609 (rng-validate-quick-while-idle): Guard against deleted buffer.
11610 (Bug#13999)
11611
11612 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11613 is the last entry in kill-buffer-hook.
11614
11615 * files.el (kill-buffer-hook): Doc fix.
11616
b3082f49
DG
116172013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11618
b234d92c
SM
11619 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11620 Make it safe-local.
bde73d27 11621
b3082f49
DG
11622 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11623
a320a2db
LL
116242013-03-23 Leo Liu <sdl.web@gmail.com>
11625
7e74b0fb
LL
11626 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11627 Remove.
11628
11629 * nxml/rng-valid.el (rng-validate-mode)
11630 (rng-after-change-function, rng-do-some-validation):
11631 * nxml/rng-maint.el (rng-validate-buffer):
11632 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11633 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11634 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11635 (nxml-extend-after-change-region): Use with-silent-modifications.
11636
a320a2db
LL
11637 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11638 timer-idle-list.
11639
11640 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11641 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11642 timer-idle-list. (Bug#13999)
11643
e38e6780
JL
116442013-03-23 Juri Linkov <juri@jurta.org>
11645
11646 * info.el (info-index-match): New face.
11647 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11648 main pattern and add text properties with the new face to matches
11649 in index entries relative to the beginning of the index entry.
11650 (Bug#14015)
11651
e8cc7880
DE
116522013-03-21 Eric Ludlam <zappo@gnu.org>
11653
11654 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11655 Inhibit read only while inserting objects.
11656
9bb0d822
TZ
116572013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11658
11659 * progmodes/cfengine.el: Update docs to mention
11660 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11661 symbol motion. Remove "_" from the word syntax.
11662
aa703640
TZ
116632013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11664
11665 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11666 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11667
afff09d0
JL
116682013-03-20 Juri Linkov <juri@jurta.org>
11669
11670 * info.el (Info-next-reference-or-link)
11671 (Info-prev-reference-or-link): New functions.
11672 (Info-next-reference, Info-prev-reference): Use them.
11673 (Info-try-follow-nearest-node): Handle footnote navigation.
11674 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11675
9a1ff164
SM
116762013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11677
11678 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11679 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11680
2667d15d
PE
116812013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11682
11683 Suppress unnecessary non-ASCII chatter during build process.
11684 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11685 (batch-skkdic-convert): Suppress most of the chatter.
11686 It's not needed so much now that machines are faster,
11687 and its non-ASCII component was confusing; see Dmitry Gutov in
11688 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11689
438b0579
LL
116902013-03-20 Leo Liu <sdl.web@gmail.com>
11691
11692 * ido.el (ido-chop): Fix bug#10994.
11693
c128ab07
DG
116942013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11695
11696 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11697 Remove vars.
9a1ff164
SM
11698 (whitespace-color-on, whitespace-color-off):
11699 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11700
0e6008c5
SM
117012013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11702
11703 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11704 remapping in mode-line.
11705 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11706
627b52b0
DG
117072013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11708
11709 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11710 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11711 (whitespace-font-lock-keywords): Change description.
11712 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11713 the constructed keywords instead.
11714 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11715
50c3a20b
LL
117162013-03-19 Leo Liu <sdl.web@gmail.com>
11717
11718 * progmodes/compile.el (compilation-display-error): New command.
11719 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11720 C-o. (Bug#13992)
11721
2aa2157b
PE
117222013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11723
11724 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11725
e477dbfa
JD
117262013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11727
11728 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11729
64ab82d1
MA
117302013-03-18 Michael Albinus <michael.albinus@gmx.de>
11731
11732 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11733
11734 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11735 * net/tramp-gvfs.el (top):
11736 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11737 (tramp-handle-shell-command): Use it.
11738 (tramp-dissect-file-name): Raise an error when hostname is a
11739 method name, and neither method nor user is specified.
11740
11741 * net/trampver.el: Update release number.
11742
33cef733
LL
117432013-03-18 Leo Liu <sdl.web@gmail.com>
11744
11745 Make sure eldoc can be turned off properly.
11746 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11747 eldoc-mode.
11748 (eldoc-display-message-p): Revert last change.
11749 (eldoc-display-message-no-interference-p)
11750 (eldoc-print-current-symbol-info): Tweak.
11751
2167b7b2
TH
117522013-03-18 Tassilo Horn <tsdh@gnu.org>
11753
11754 * doc-view.el (doc-view-new-window-function): Check the new window
11755 overlay's display property instead the char property of the
11756 buffer's first char. Use `with-selected-window' instead of
11757 `save-window-excursion' with `select-window'.
11758 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11759 display property instead the char property of the buffer's first char.
2167b7b2 11760
982efbcd
PE
117612013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11762
11763 Automate the build of ja-dic.el (Bug#13984).
11764 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11765 from the input, rather than assume that it's been done for us by the
11766 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11767 the current date into a ja-dic.el comment, as that complicates
11768 regression testing.
11769
2fcc7665
SM
117702013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11771
11772 * whitespace.el: Fix double evaluation.
11773 (whitespace-space, whitespace-hspace, whitespace-tab)
11774 (whitespace-newline, whitespace-trailing, whitespace-line)
11775 (whitespace-space-before-tab, whitespace-indentation)
11776 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11777 obsolete defvars.
11778 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11779 (whitespace-color-on): Use a single font-lock-add-keywords call.
11780 Fix double-evaluation of face variables.
11781
67c0a6e6
MA
117822013-03-17 Michael Albinus <michael.albinus@gmx.de>
11783
2fcc7665
SM
11784 * net/tramp-adb.el (tramp-adb-parse-device-names):
11785 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11786 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11787
69489f1d
LL
117882013-03-17 Leo Liu <sdl.web@gmail.com>
11789
11790 Extend eldoc to display info in the mode-line. (Bug#13978)
11791 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11792 (eldoc-mode-line-string): New variable.
11793 (eldoc-minibuffer-message): New function.
11794 (eldoc-message-function): New variable.
11795 (eldoc-message): Use it.
11796 (eldoc-display-message-p)
2fcc7665
SM
11797 (eldoc-display-message-no-interference-p):
11798 Support eldoc-post-insert-mode.
69489f1d
LL
11799
11800 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11801 (eval-expression): Run it.
11802
9c44569e
RW
118032013-03-17 Roland Winkler <winkler@gnu.org>
11804
11805 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11806 strings in the list of return values.
11807
327f1f6f
JB
118082013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11809
11810 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11811 radix before checking for HMS forms.
11812
67ed8fcd
LL
118132013-03-16 Leo Liu <sdl.web@gmail.com>
11814
11815 * progmodes/scheme.el: Add indentation and font-locking for λ.
11816 (Bug#13975)
11817
78be8b64 118182013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11819
11820 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11821 token before point (bug#13942).
11822
78be8b64 118232013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11824
95b43468 11825 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11826
98e775e6
EZ
118272013-03-16 Eli Zaretskii <eliz@gnu.org>
11828
11829 * startup.el (command-line-normalize-file-name): Fix handling of
11830 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11831 <xfq.free@gmail.com> in
11832 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11833
2edd6029
MA
118342013-03-15 Michael Albinus <michael.albinus@gmx.de>
11835
11836 Sync with Tramp 2.2.7.
11837
11838 * net/trampver.el: Update release number.
11839
d35f5864
TH
118402013-03-14 Tassilo Horn <tsdh@gnu.org>
11841
e903c210 11842 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11843 (doc-view-insert-image): Don't modify overlay associated to
11844 non-live windows, and implement horizontal centering of image in
11845 case it's smaller than the window.
11846 (doc-view-new-window-function): Force redisplay of new windows on
11847 doc-view buffers.
d35f5864 11848
1c4a85ed
KF
118492013-03-13 Karl Fogel <kfogel@red-bean.com>
11850
11851 * saveplace.el (save-place-alist-to-file): Don't sort
11852 `save-place-alist', just pretty-print it (bug#13882).
11853
85b66a21
MA
118542013-03-13 Michael Albinus <michael.albinus@gmx.de>
11855
a020afb9
JB
11856 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11857 Check whether `default-file-name-coding-system' is bound.
11858 It isn't in XEmacs.
85b66a21 11859
175600da
SM
118602013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11861
e7f7cb1a
SM
11862 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11863 backquotes for `obsolete' (bug#13929).
11864
175600da
SM
11865 * international/mule.el (find-auto-coding): Include file name in
11866 obsolescence warning (bug#13922).
11867
ca68a22e
TZ
118682013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11869
11870 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11871 for CFEngine 3-specific indentation.
11872 (cfengine3-indent-line): Use it. Fix up category regex.
11873 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11874
940e5099
SM
118752013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11876
11877 * type-break.el (type-break-file-name):
11878 * textmodes/remember.el (remember-data-file):
11879 * strokes.el (strokes-file):
11880 * shadowfile.el (shadow-initialize):
11881 * saveplace.el (save-place-file):
11882 * ps-bdf.el (bdf-cache-file):
11883 * progmodes/idlwave.el (idlwave-config-directory):
11884 * net/quickurl.el (quickurl-url-file):
11885 * international/kkc.el (kkc-init-file-name):
11886 * ido.el (ido-save-directory-list-file):
11887 * emulation/viper.el (viper-custom-file-name):
11888 * emulation/vip.el (vip-startup-file):
11889 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11890 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11891
cc725808
PE
118922013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11893
11894 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11895 * language/thai-word.el: Switch to UTF-8.
11896
a020afb9 11897See ChangeLog.16 for earlier changes.
e3d51b27
MR
11898
11899;; Local Variables:
11900;; coding: utf-8
e3d51b27
MR
11901;; End:
11902
ba318903 11903 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
11904
11905 This file is part of GNU Emacs.
11906
11907 GNU Emacs is free software: you can redistribute it and/or modify
11908 it under the terms of the GNU General Public License as published by
11909 the Free Software Foundation, either version 3 of the License, or
11910 (at your option) any later version.
11911
11912 GNU Emacs is distributed in the hope that it will be useful,
11913 but WITHOUT ANY WARRANTY; without even the implied warranty of
11914 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11915 GNU General Public License for more details.
11916
11917 You should have received a copy of the GNU General Public License
11918 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.