summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Rename :content-type to :format in `create-image'Lars Magne Ingebrigtsen2013-08-132-4/+4
|
* Make shr feed Content-Type to the image-creating librariesLars Magne Ingebrigtsen2013-08-133-10/+35
| | | | | | | | | | This finally makes it possible to display icons. * net/eww.el (eww-display-image): Ditto. * net/shr.el (shr-parse-image-data): New function to grab both the data itself and the Content-Type. (shr-put-image): Use it.
* Enable giving hints to ImageMagick via :content-typeLars Magne Ingebrigtsen2013-08-132-0/+12
| | | | | | | | | | | | 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org> * image.el (image-content-type-suffixes): New variable. 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org> * image.c (imagemagick_filename_hint): New function to possibly apply `image-content-type-suffixes'. (imagemagick_load_image): Use it.
* * lisp/progmodes/python.el (python-imenu--build-tree)Fabián Ezequiel Gallina2013-08-132-82/+37
| | | | | | | (python-imenu--put-parent): Simplify and Fix (GH bug 146). * test/automated/python-tests.el (python-imenu-create-index-4) (python-imenu-create-flat-index-2): New tests.
* Doc fix for forward-word and backward-word.Xue Fuqiao2013-08-132-1/+7
| | | | | | * doc/lispref/positions.texi (Word Motion): Remove redundant sentence. * lisp/simple.el (backward-word): Mention the optional argument. * src/syntax.c (forward_word): Mention the optional argument.
* * lisp/frameset.el (frameset--make): Rename constructor from make-frameset.Stefan Monnier2013-08-132-20/+24
| | | | | (frameset-p, frameset-valid-p): Don't autoload. (frameset-valid-p): Use normal accessors.
* Tweak some settings of compile-commandGlenn Morris2013-08-134-4/+14
| | | | | | | | * progmodes/compile.el (compile-command): Tweak example in doc. * obsolete/scribe.el (scribe-mode): * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. Fixes: debbugs:15053
* Fix some custom typesGlenn Morris2013-08-134-8/+25
| | | | | | | | | | | * lisp/cus-start.el (truncate-partial-width-windows): Fix type. * lisp/emulation/viper-init.el (viper-search-scroll-threshold): Fix type. * lisp/mail/feedmail.el (feedmail-confirm-outgoing) (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types. * admin/admin.el: Related comments.
* * gnus/gnus-icalendar.el (gnus-icalendar-org-capture-file): Fix type.Glenn Morris2013-08-132-1/+3
|
* Fix some custom typesGlenn Morris2013-08-135-3/+14
| | | | | | | | * gnus/gnus.el (gnus-valid-select-methods): Fix type. * gnus/nnimap.el (nnimap-request-articles-find-limit): Fix type, version. * net/shr.el (shr-table-horizontal-line): Fix custom type.
* * doc/lispref/frames.texi (Display Feature Testing): Add indexes.Xue Fuqiao2013-08-131-0/+2
|
* * lisp/emacs-lisp/timer.el (timer--time-setter): New function.Stefan Monnier2013-08-124-23/+32
| | | | | | (timer--time): Use it as gv-setter. * lisp/emacs-lisp/gv.el (gv-define-simple-setter): Output warning when setter is not a symbol.
* * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer on errorGrégoire Jadi2013-08-122-5/+17
| | | | This makes debugging easier.
* Rename `zlib-decompress-gzipped-region' to `zlib-decompress-region'.Lars Magne Ingebrigtsen2013-08-123-3/+6
| | | | Also support zlib-format compression.
* lisp/xml.el (xml-parse-tag-1): Use looking-at.Juanma Barranquero2013-08-122-1/+7
| | | | | (This reverts change in 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite). https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
* Add the zlib prefix to `decompress-gzipped-region'Lars Magne Ingebrigtsen2013-08-123-3/+10
|
* Fix build with zlib on MS-Windows.Eli Zaretskii2013-08-122-1/+6
| | | | | | | | | | | | | | | | | | configure.ac (LIBZ): Comment on w32 peculiarities regarding LIBZ. src/decompress.c [WINDOWSNT]: Include windows.h and w32.h. (DEF_ZLIB_FN, LOAD_ZLIB_FN) [WINDOWSNT]: New macros. Use them to define static variables that are pointers to zlib functions to be dynamically loaded. (init_zlib_functions) [WINDOWSNT]: New function. (fn_inflateInit2_, fn_inflate, fn_inflateEnd, fn_inflateInit2): New macros. (Fdecompress_gzipped_region, unwind_decompress): Use the fn_* macros instead of invoking the zlib functions directly. (syms_of_decompress): DEFSYM Qzlib_dll. Staticpro Szlib_available_p. lisp/term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
* lisp/gnus/ChangeLog: Fix typoKatsumi Yamaoka2013-08-121-1/+1
|
* lisp/gnus/mm-decode.el (mm-display-external): Run a timer for the temp files ↵Katsumi Yamaoka2013-08-122-15/+32
| | | | deletion after a viwer exits; add a deletion timer for the needsterm case, too
* lisp/gnus/mm-decode.el (mm-display-external): Try to delete temporary files ↵Katsumi Yamaoka2013-08-122-0/+12
| | | | by using a 1-min. timer
* Merge from emacs-24; up to 2013-01-02T10:15:31Z!michael.albinus@gmx.deGlenn Morris2013-08-112-4/+11
|\
| * * lisp/format.el (format-annotate-function): Handle read-only text properties Glenn Morris2013-07-262-4/+11
| | | | | | | | | | | | in the source. Fixes: debbugs:14887
* | * net/eww.el (eww-display-html): Ignore coding system errors.Lars Magne Ingebrigtsen2013-08-112-1/+8
| | | | | | | | One web site uses "utf-8lias" as the coding system.
* | Add Content-Transfer gzip support to urlLars Magne Ingebrigtsen2013-08-113-3/+23
| | | | | | | | | | | | | | | | * url-http.el (url-handle-content-transfer-encoding): Support decompressing gzipped content. * url-vars.el (url-mime-encoding-string): If we have built-in gzip support, say that we accept gzipped content.
* | lisp/frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.Juanma Barranquero2013-08-112-1/+5
| |
* | lisp/*.el: More lexical-binding warnings' cleanups.Juanma Barranquero2013-08-115-44/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p. (tutorial--detailed-help): Remove unused local variables. (tutorial--save-tutorial-to): Use ignore-errors. (help-with-tutorial): Use looking-at-p. * view.el (view-buffer-other-window, view-buffer-other-frame): Mark unused arguments. * woman.el (woman-parse-colon-path, woman-parse-colon-path) (woman-select-symbol-fonts, woman, woman-find-file) (woman-insert-file-contents, woman-non-underline-faces): Use string-match-p. (woman1-unquote): Move declaration. * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p. (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused argument. Remove unused local variable. (xml-parse-elem-type): Use string-match-p. (xml-substitute-numeric-entities): Use ignore-errors.
* | lisp/*.el: Remove lexical-binding warnings; additional small cleanups.Juanma Barranquero2013-08-1015-253/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * calculator.el (calculator): Mark unused argument. (calculator-paste, calculator-quit, calculator-integer-p): Use ignore-errors. (calculator-string-to-number, calculator-decimal, calculator-exp) (calculator-op-or-exp): Use string-match-p. * dired-aux.el (dired-compress): Use ignore-errors. (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions) (dired-do-async-shell-command, dired-do-shell-command) (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir) (dired-insert-subdir-validate): Use string-match-p. (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p. (dired-add-entry): Use string-match-p, looking-at-p. (dired-insert-subdir-newpos): Remove unused local variable. * dired.el (dired-buffer-more-recently-used-p): Declare. (dired-insert-set-properties, dired-insert-old-subdirs): Use ignore-errors. * filenotify.el (file-notify-callback): Remove unused local variable. * filesets.el (filesets-error): Mark unused argument. (filesets-which-command-p, filesets-filter-dir-names) (filesets-directory-files, filesets-get-external-viewer) (filesets-ingroup-get-data): Use string-match-p. * find-file.el (ff-other-file-name, ff-other-file-name) (ff-find-the-other-file, ff-cc-hh-converter): Remove unused local variables. (ff-get-file-name): Use string-match-p. (ff-all-dirs-under): Use ignore-errors. * follow.el (follow-comint-scroll-to-bottom): Mark unused argument. (follow-select-if-visible): Remove unused local variable. * forms.el (read-file-filter): Move declaration. (forms--make-format, forms--make-parser, forms-insert-record): Quote function with #'. (forms--update): Use string-match-p. Quote function with #'. * help-mode.el (help-dir-local-var-def): Mark unused argument. (help-make-xrefs): Use looking-at-p. (help-xref-on-pp): Use looking-at-p, ignore-errors. * ibuffer.el (ibuffer-ext-visible-p): Declare. (ibuffer-confirm-operation-on): Use string-match-p. * msb.el (msb-item-handler, msb-dired-item-handler): Mark unused arguments. * ses.el (ses-decode-cell-symbol) (ses-kill-override): Remove unused local variable. (ses-create-cell-variable, ses-relocate-formula): Use string-match-p. (ses-load): Use ignore-errors, looking-at-p. (ses-jump-safe): Use ignore-errors. (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments. * tabify.el (untabify, tabify): Mark unused arguments. * thingatpt.el (thing-at-point--bounds-of-well-formed-url): Mark unused argument. (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point) (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
* | lisp/emacs-lisp/timer.el (timer--time): Define setter with gv-define-setter.Juanma Barranquero2013-08-102-18/+20
| |
* | lisp/completion.el: Remove stuff unused since ↵Juanma Barranquero2013-08-102-78/+20
| | | | | | | | | | | | | | | | | | | | 2013-03-15T16:06:12Z!handa@gnu.org. (*record-cmpl-statistics-p*): Remove (was commented out ). (cmpl-statistics-block): Remove (body was commented out). All callers changed. (add-completions-from-buffer, load-completions-from-file): Remove unused variables.
* | lisp/filecache.el (file-cache-delete-file-list): Print message only when ↵Juanma Barranquero2013-08-102-6/+8
| | | | | | | | | | | | told so. (file-cache-files-matching): Use #' in mapconcat argument.
* | lisp/ffap.el: Fix reference to variable thing-at-point-default-mail-uri-scheme.Juanma Barranquero2013-08-102-1/+6
| |
* | * lisp/subr.el (define-error): New function.Stefan Monnier2013-08-0930-153/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/control.texi (Signaling Errors): Refer to define-error. (Error Symbols): Add `define-error'. * doc/lispref/errors.texi (Standard Errors): Don't refer to `error-conditions'. * lisp/progmodes/ada-xref.el (ada-error-file-not-found): Rename from error-file-not-found and define with define-error. * lisp/emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el and define with define-error. * lisp/userlock.el (file-locked, file-supersession): * lisp/simple.el (mark-inactive): * lisp/progmodes/js.el (js-moz-bad-rpc, js-js-error): * lisp/progmodes/ada-mode.el (ada-mode-errors): * lisp/play/life.el (life-extinct): * lisp/nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error): * lisp/nxml/xmltok.el (xmltok-markup-declaration-parse-error): * lisp/nxml/rng-util.el (rng-error): * lisp/nxml/rng-uri.el (rng-uri-error): * lisp/nxml/rng-match.el (rng-compile-error): * lisp/nxml/rng-cmpct.el (rng-c-incorrect-schema): * lisp/nxml/nxml-util.el (nxml-error, nxml-file-parse-error): * lisp/nxml/nxml-rap.el (nxml-scan-error): * lisp/nxml/nxml-outln.el (nxml-outline-error): * lisp/net/soap-client.el (soap-error): * lisp/net/gnutls.el (gnutls-error): * lisp/net/ange-ftp.el (ftp-error): * lisp/mpc.el (mpc-proc-error): * lisp/json.el (json-error, json-readtable-error, json-unknown-keyword) (json-number-format, json-string-escape, json-string-format) (json-key-format, json-object-format): * lisp/jka-compr.el (compression-error): * lisp/international/quail.el (quail-error): * lisp/international/kkc.el (kkc-error): * lisp/emacs-lisp/ert.el (ert-test-failed): * lisp/calc/calc.el (calc-error, inexact-result, math-overflow) (math-underflow): * lisp/bookmark.el (bookmark-error-no-filename): * lisp/epg.el (epg-error): Define with define-error.
* | * lisp/time.el (display-time-event-handler)Stefan Monnier2013-08-092-4/+5
| | | | | | | | | | | | | | (display-time-next-load-average): Don't call sit-for since it seems unnecessary. Fixes: debbugs:15045
* | lisp/gnus/mm-decode.el (mm-temp-files-delete): Fix last commitKatsumi Yamaoka2013-08-091-1/+2
| |
* | Gnus: delete temporary files when Gnus exits instead of using timersKatsumi Yamaoka2013-08-092-15/+55
| | | | | | | | | | | | | | | | lisp/gnus/mm-decode.el (mm-temp-files-to-be-deleted, mm-temp-files-cache-file): New internal variables. (mm-temp-files-delete): New function; add it to gnus-exit-gnus-hook. (mm-display-external): Use it to delete temporary files instead of using timers.
* | * lisp/emacs-lisp/checkdoc.el: Remove redundant :group keywords.Stefan Monnier2013-08-082-66/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use #' instead of ' to quote functions. (checkdoc-output-mode): Use setq-local. (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words) (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp) (checkdoc-common-verbs-regexp): Mark safe-local-variable. (checkdoc-ispell, checkdoc-ispell-current-buffer) (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive) (checkdoc-ispell-message-text, checkdoc-ispell-start) (checkdoc-ispell-continue, checkdoc-ispell-comments) (checkdoc-ispell-defun): Remove unused arg `take-notes'. Fixes: debbugs:15010
* | * lisp/ido.el (ido-completion-help): Fix up compiler warning.Stefan Monnier2013-08-082-6/+9
| |
* | Move frameset-to-register stuff from register.el to frameset.el.Juanma Barranquero2013-08-093-38/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | lisp/register.el (frameset-frame-id, frameset-frame-with-id, frameset-p) (frameset-restore, frameset-save, frameset-session-filter-alist): Remove declarations. (register-alist): Doc fix. (frameset-to-register): Move to frameset.el. (jump-to-register, describe-register-1): Remove frameset-specific code. lisp/frameset.el (frameset-p): Add autoload cookie. (frameset--jump-to-register): New function, based on code moved from register.el. (frameset-to-register): Move from register.el. Adapt to `registerv'.
* | lisp/*.el: Silence lexical-binding warnings.Juanma Barranquero2013-08-0917-132/+175
| |
* | * lisp/emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run theStefan Monnier2013-08-082-8/+11
| | | | | | | | | | | | break-condition in the context of the debugged code. Fixes: debbugs:12685
* | * lisp/comint.el:Christopher Schmidt2013-08-082-28/+37
| | | | | | | | | | | | | | | | | | | | Do not use an overlay to highlight the last prompt. (Bug#14744) (comint-mode): Make comint-last-prompt buffer local. (comint-last-prompt): New variable. (comint-last-prompt-overlay): Remove. Superseded by comint-last-prompt. (comint-snapshot-last-prompt, comint-output-filter): Use comint-last-prompt.
* | lisp/ChangeLog: Fix typo in previous change.Juanma Barranquero2013-08-081-1/+1
| |
* | lisp/frameset.el (frameset-save): Check validity of the resulting frameset.Juanma Barranquero2013-08-082-19/+32
| | | | | | | | (frameset-valid-p): Doc fix.
* | doc/lispref/buffers.texi: Add documentation for ido-record-command(s).Xue Fuqiao2013-08-082-5/+9
| | | | | | | | * lisp/ido.el (ido-record-command): Add doc string.
* | lisp/frameset.el: Doc fixes.Juanma Barranquero2013-08-082-2/+13
| |
* | lisp/frameset.el: Revert to built-in frameset-p; document slot accessors.Juanma Barranquero2013-08-082-67/+116
| | | | | | | | | | | | | | | | | | | | | | (frameset): Do not disable creation of the default frameset-p predicate. Doc fix. (frameset-valid-p): New function, copied from the old predicate-p. Add additional checks. (frameset-restore): Check with frameset-valid-p. (frameset-p, frameset-version, frameset-timestamp, frameset-app) (frameset-name, frameset-description, frameset-properties) (frameset-states): Add docstring.
* | lisp/frameset.el (frameset-p, frameset-prop): Doc fixes.Juanma Barranquero2013-08-082-3/+6
| |
* | * lisp/emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,Stefan Monnier2013-08-072-35/+27
| | | | | | | | | | | | extracted from byte-compile-callargs-warn and byte-compile-normal-call. (byte-compile-callargs-warn, byte-compile-function-form): Use it. (byte-compile-normal-call): Remove obsolescence check.
* | lisp/frameset.el (frameset-restore): Doc fix.Juanma Barranquero2013-08-082-9/+11
| |
* | * lisp/bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.Juanma Barranquero2013-08-083-5/+54
| | | | | | | | | | | | | | | | | | | | | | * lisp/register.el: Add support for framesets. (frameset-frame-id, frameset-frame-with-id) (frameset-p, frameset-restore, frameset-save): Declare. (register-alist): Document framesets. (frameset-session-filter-alist): Declare. (frameset-to-register): New function. (jump-to-register): Implement jumping to framesets. Doc fix. (describe-register-1): Describe framesets.