1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00
Commit graph

111766 commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
2b4f050643 Add bookmark support to eww
* net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
probably.
(eww-mode-map): Add a menu bar.
(eww-add-bookmark): New command.
(eww-bookmark-mode): New mode and commands.
2013-06-26 18:54:48 +02:00
Christopher Schmidt
bace801385 * tips.texi (Coding Conventions): Improve wording. 2013-06-26 17:22:21 +02:00
Lars Magne Ingebrigtsen
23a75d7f59 (eww-mode-map): Add a menu bar. 2013-06-26 15:07:24 +02:00
Lars Magne Ingebrigtsen
843571cba9 Implement a command and mode for displaying and editing cookies 2013-06-26 14:54:33 +02:00
Glenn Morris
eab35f3922 * lisp/htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
(hfy-size): Handle ttys.

Fixes: debbugs:14668
2013-06-25 23:59:48 -07:00
Glenn Morris
f2136e1e28 info-xref.el: Update for Texinfo 5 change in *note format
* lisp/info-xref.el (info-xref-node-re, info-xref-note-re): New constants.
(info-xref-check-buffer): Use info-xref-note-re.

* test/automated/info-xref.el: New file.
2013-06-25 18:52:09 -07:00
Stefan Monnier
a343d218fd * lisp/simple.el (set-variable): Use read-from-minibuffer.
Fixes: debbugs:14710
2013-06-25 20:50:50 -04:00
Stefan Monnier
a49ff80c24 * lisp/emacs-lisp/package.el (package--add-to-archive-contents): Add missing
nil to terminate the loop.

Fixes: debbugs:14718
2013-06-25 20:44:35 -04:00
Lars Magne Ingebrigtsen
26bf2b82d8 (eww-render): Move the history reset to the correct buffer. 2013-06-26 00:29:01 +02:00
Lars Magne Ingebrigtsen
8308f18498 * net/eww.el: Rework history traversal.
When going forward/back, put these actions into the history, too, so
that they can be replayed.
2013-06-26 00:24:43 +02:00
Juri Linkov
e080a9d730 * lisp/files-x.el (read-file-local-variable-value): Add `default'.
Fixes: debbugs:14710
2013-06-25 23:48:54 +03:00
Juri Linkov
ec64c27385 * lisp/files-x.el (modify-dir-local-variable): Change the header comment
in the file with directory local variables.

Fixes: debbugs:14692
2013-06-25 23:23:10 +03:00
Ivan Kanis
bfbc93a1de * net/eww.el (eww-download): New command and keystroke.
* net/eww.el (eww-make-unique-file-name): Create a unique file
name before saving to entering `y' accidentally asynchronously.
2013-06-25 21:50:05 +02:00
Lars Magne Ingebrigtsen
16f74f10ba Use `w' for copying URLs in shr and eww
* net/eww.el (eww-mode-map): Ditto.

* net/eww.el (eww-copy-page-url): Changed name of command.

* net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
be more consistent with Info and dired.
2013-06-25 21:25:14 +02:00
Stefan Monnier
ab5340fe26 lisp/window.el: Fix previous change (2013-06-25T15:08:47Z!lekktu@gmail.com). 2013-06-25 19:20:19 +02:00
Stefan Monnier
120597093d * lisp/emacs-lisp/package.el: Include obsolete packages from archives.
Use lexical-binding.
(package-archive-contents): Change format; include obsolete packages.
(package-desc): Use `dir' to mark builtin packages.
(package--from-builtin): Set the `dir' field to `builtin'.
(generated-autoload-file, version-control): Declare.
(package-compute-transaction): Change first arg and return value to be
lists of package-descs.  Adjust to new package-archive-contents format.
(package--add-to-archive-contents): Adjust to new
package-archive-contents format.
(package-download-transaction): Arg is now a list of package-descs.
(package-install): If `pkg' is a package name, pass it as
a requirement, so it is subject to the usual (e.g. disabled) checks.
(describe-package): Accept package-desc as well.
(describe-package-1): Describe a specific package-desc.  Add links to
other package-descs for the same package name.
(package-menu-describe-package): Pass the actual package-desc.
(package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
works correctly.
(package-desc-status): New function.
(package-menu--refresh): New function, extracted
from package-menu--generate.
(package-menu--generate): Use it.
(package-delete): Update package-alist.
(package-menu-execute): Don't call package-initialize.

* lisp/progmodes/idlw-toolbar.el, lisp/progmodes/idlw-shell.el,
lisp/progmodes/idlw-help.el, lisp/progmodes/idlw-complete-structtag.el,
lisp/progmodes/ebnf-yac.el, lisp/progmodes/ebnf-otz.el,
lisp/progmodes/ebnf-iso.el, lisp/progmodes/ebnf-ebx.el,
lisp/progmodes/ebnf-dtd.el, lisp/progmodes/ebnf-bnf.el,
lisp/progmodes/ebnf-abn.el, lisp/emacs-lisp/package-x.el,
lisp/emacs-lisp/cl-seq.el, lisp/emacs-lisp/cl-macs.el
lisp/cedet/data-debug.el, lisp/cedet/cedet-idutils.el:
Neuter the "Version:" header.
2013-06-25 12:13:49 -04:00
Lars Magne Ingebrigtsen
3179b27616 Mention eww 2013-06-25 17:49:02 +02:00
Martin Rudalics
8bbdea0fb4 lisp/window.el (window--state-get-1): Workaround for bug#14527.
http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2013-06-25 17:44:42 +02:00
Lars Magne Ingebrigtsen
d3f0f918e9 (eww-forward-url) Allow going forward in the history, too.
This may not be the most intuitive way to implement this.  Perhaps
following links should flush "forwards"...
2013-06-25 17:39:13 +02:00
Juanma Barranquero
341881c044 nt/configure.bat: Warn about deprecation status. 2013-06-25 17:08:47 +02:00
Lars Magne Ingebrigtsen
e82b099100 (eww) Reimplement the history functionality
* net/eww.el (eww-back-url): Implement the history by stashing all
the data into a list.
2013-06-25 16:59:13 +02:00
Stefan Monnier
c763842b88 * lisp/files-x.el (read-file-local-variable-value): Use read-from-minibuffer
for values and use read--expression for expressions.
(read-file-local-variable): Avoid setq.
(read-file-local-variable-mode): Use minor-mode-list.

Fixes: debbugs:14710
2013-06-25 09:07:04 -04:00
Roland Winkler
bceff1894c bibtex-generate-url-list): Add support for DOI URLs 2013-06-25 21:18:09 +12:00
Roland Winkler
45f431c60e bibtex-mode: Update imenu-support when dialect changes 2013-06-25 21:15:44 +12:00
Glenn Morris
47cd08bbc3 Shameful typo 2013-06-24 19:31:09 -07:00
Glenn Morris
51f853872f * test/automated/occur-tests.el (occur-test-create): New function.
Use it to create separate tests for each element, so we run them
all rather than stopping at the first error.
2013-06-24 19:24:32 -07:00
Glenn Morris
7e3a3bb307 Add some notes related to the Emacs www pages 2013-06-24 19:15:00 -07:00
Leo Liu
f42d8237f7 * ido.el (ido-read-internal): Allow forward slash on windows. 2013-06-25 09:04:06 +08:00
Glenn Morris
e31106e80a * test/automated/occur-tests.el (occur-tests):
Update for 2013-05-29 change to occur header line.
2013-06-24 19:52:33 -04:00
Lars Magne Ingebrigtsen
be549ce6f9 * net/eww.el (eww): Start of strings is \\`, not ^. 2013-06-24 19:42:22 +02:00
Ivan Kanis
5196f88a95 * net/shr.el (shr-browse-url): Fix interactive spec. 2013-06-24 19:41:26 +02:00
Ivan Kanis
71d4c19d3d * net/eww.el (eww): Add a trailing slash to domain names. 2013-06-24 19:38:51 +02:00
Juanma Barranquero
ae36ca55cd lisp/faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com.
Fixes: debbugs:14705
2013-06-24 18:06:47 +02:00
Lars Magne Ingebrigtsen
bdaa086b77 * net/shr.el (shr-browse-url): Use an external browser if given a prefix. 2013-06-24 16:03:26 +02:00
Lars Magne Ingebrigtsen
0ebd92a3e9 * net/eww.el (eww-external-browser): Moved to shr. 2013-06-24 15:57:35 +02:00
Ivan Kanis
b89fc1569b eww improvements
* net/eww.el (eww): Work more correctly for file: URLs.
(eww-detect-charset): Allow quoted charsets.
(eww-yank-page-url): New command and keystroke.
2013-06-24 15:42:07 +02:00
Glenn Morris
46f749821a Auto-commit of generated files. 2013-06-24 06:17:44 -04:00
Daiki Ueno
18eb4bca3e epg.el: Add context option home-directory' and program'.
* epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
file name of gpg executable.
(epg-context-program): New function.
(epg-context-home-directory): New function.
(epg-context-set-program): New function.
(epg-context-set-home-directory): New function.
(epg--start): Use `epg-context-program' instead of
'epg-gpg-program'.
(epg--list-keys-1): Likewise.
2013-06-24 16:07:08 +09:00
Glenn Morris
f99f7826a0 Merge from emacs-24; up to 2012-12-29T06:14:00Z!cyd@gnu.org 2013-06-23 23:58:52 -07:00
Glenn Morris
9dc3215fab * doc/emacs/rmail.texi: Comment 2013-06-23 23:52:33 -07:00
Leo Liu
6c3e2c3de5 Simplify last change to ido.el 2013-06-24 12:08:10 +08:00
Glenn Morris
8009a04a15 Revert previous change 2013-06-23 19:38:45 -07:00
Glenn Morris
a4c0de97dc * doc/misc/eudc.texi (Overview, Creating BBDB Records): Restrict bbdb cross-ref
to info output.  It's not very important, and gives broken links in
the html version.
2013-06-23 19:26:57 -07:00
Glenn Morris
07f8499f76 * doc/emacs/files.texi: Comment. 2013-06-23 19:24:40 -07:00
Leo Liu
6c6268c83d * ido.el (ido-read-internal): Fix bug#14620. 2013-06-24 10:15:56 +08:00
Glenn Morris
7eeeb7ddc9 * doc/misc/eshell.texi: Fix cross-references to other manuals. 2013-06-23 17:42:12 -07:00
Paul Eggert
fa55d2aaa2 A more-conservative workaround for Cygwin SIGCHLD issues.
* callproc.c (Fcall_process):
* process.c (create_process):
Make sure SIGCHLD is caught before we fork,
since Emacs startup no arranges to catch SIGCHLD.
* process.c (lib_child_handler): Initialize to null, not to
dummy_handler.
(catch_child_signal): Allow self to be called lazily.
Do nothing if it's already been called.
Assume caller has blocked SIGCHLD (all callers do now).
* emacs.c (main): Do not catch SIGCHLD here; defer it until
just before it's really needed.
* nsterm.m (ns_term_init): No need to re-catch SIGCHLD here,
since it hasn't been caught yet.

Fixes: debbugs:14569
2013-06-23 17:31:31 -07:00
Juanma Barranquero
5e400cb3ed lisp/faces.el: Minor changes.
(face-documentation): Simplify.
(read-face-attribute, tty-find-type, x-resolve-font-name):
Use `string-match-p'.
(list-faces-display): Use `string-match-p'.  Simplify.
(face-spec-recalc): Check face to avoid face alias loops.
(read-color): Use `string-match-p' and non-capturing parenthesis.
2013-06-23 22:29:18 +02:00
Lars Magne Ingebrigtsen
f3f9606c7a Implement :max-width/:max-height for (ImageMagic) images
* doc/lispref/display.texi (ImageMagick Images): Mention :max-width and
:max-height.

* lisp/net/shr.el (shr-rescale-image): Use the new
:max-width/:max-height functionality.

* src/image.c (compute_image_size): New function to implement
:max-width and :max-height.
(imagemagick_load_image): Use it.
2013-06-23 21:24:27 +02:00
Ivan Kanis
e854cfc719 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps. 2013-06-23 20:29:30 +02:00