aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* * faces.el (face-spec-set): Stop supporting deprecated form of third arg.Chong Yidong2012-04-232-29/+26
|
* Make the "reset-saved" Custom operation reset to default if there is no ↵Chong Yidong2012-04-232-45/+53
| | | | | | | | | | | | saved value. * lisp/cus-edit.el (custom-variable-menu) (custom-variable-reset-saved, custom-face-menu) (custom-face-reset-saved): If there is no saved value, make the "reset-saved" operation bring back the default. (custom-face-state): Properly detect themed faces. Fixes: debbugs:9509
* Move functions from C to Lisp. Make non-blocking method callsMichael Albinus2012-04-222-223/+875
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the default. Implement further D-Bus standard interfaces. * configure.in (dbus_validate_bus_name, dbus_validate_path) (dbus_validate_interface, dbus_validate_member): Check also for these library functions * dbusbind.c (DBUS_NUM_MESSAGE_TYPES): Declare. (QCdbus_request_name_allow_replacement) (QCdbus_request_name_replace_existing) (QCdbus_request_name_do_not_queue) (QCdbus_request_name_reply_primary_owner) (QCdbus_request_name_reply_in_queue) (QCdbus_request_name_reply_exists) (QCdbus_request_name_reply_already_owner): Move to dbus.el. (QCdbus_registered_serial, QCdbus_registered_method) (QCdbus_registered_signal): New Lisp objects. (XD_DEBUG_MESSAGE): Use sizeof. (XD_MESSAGE_TYPE_TO_STRING, XD_OBJECT_TO_STRING) (XD_DBUS_VALIDATE_BUS_ADDRESS, XD_DBUS_VALIDATE_OBJECT) (XD_DBUS_VALIDATE_BUS_NAME, XD_DBUS_VALIDATE_PATH) (XD_DBUS_VALIDATE_INTERFACE, XD_DBUS_VALIDATE_MEMBER): New macros. (XD_CHECK_DBUS_SERIAL): Rename from CHECK_DBUS_SERIAL_GET_SERIAL. (xd_signature, xd_append_arg): Allow float for integer types. (xd_get_connection_references): New function. (xd_get_connection_address): Rename from xd_initialize. Return cached address. (xd_remove_watch): Do not unset $DBUS_SESSION_BUS_ADDRESS. (xd_close_bus): Rename from Fdbus_close_bus. Not needed on Lisp level. (Fdbus_init_bus): New optional arg PRIVATE. Cache address. Return number of recounts. (Fdbus_get_unique_name): Make stronger parameter check. (Fdbus_message_internal): New defun. (Fdbus_call_method, Fdbus_call_method_asynchronously) (Fdbus_method_return_internal, Fdbus_method_error_internal) (Fdbus_send_signal, Fdbus_register_service) (Fdbus_register_signal, Fdbus_register_method): Move to dbus.el. (xd_read_message_1): Obey new structure of Vdbus_registered_objects. (xd_read_queued_messages): Obey new structure of Vdbus_registered_buses. (Vdbus_compiled_version, Vdbus_runtime_version) (Vdbus_message_type_invalid, Vdbus_message_type_method_call) (Vdbus_message_type_method_return, Vdbus_message_type_error) (Vdbus_message_type_signal): New defvars. (Vdbus_registered_buses, Vdbus_registered_objects_table): Adapt docstring. * net/dbus.el (dbus-message-internal): Declare function. Remove unneeded function declarations. (defvar dbus-message-type-invalid, dbus-message-type-method-call) (dbus-message-type-method-return, dbus-message-type-error) (dbus-message-type-signal): Declare variables. Remove local definitions. (dbus-interface-dbus, dbus-interface-peer) (dbus-interface-introspectable, dbus-interface-properties) (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table): Adapt docstring. (dbus-interface-objectmanager): New defconst. (dbus-call-method, dbus-call-method-asynchronously) (dbus-send-signal, dbus-method-return-internal) (dbus-method-error-internal, dbus-register-service) (dbus-register-signal, dbus-register-method): New defuns, moved from dbusbind.c (dbus-call-method-handler, dbus-setenv) (dbus-get-all-managed-objects, dbus-managed-objects-handler): New defuns. (dbus-call-method-non-blocking): Make it an obsolete function. (dbus-unregister-object, dbus-unregister-service) (dbus-handle-event, dbus-register-property) (dbus-property-handler): Obey the new structure of `bus-registered-objects'. (dbus-introspect): Use `dbus-call-method'. Use a timeout. (dbus-get-property, dbus-set-property, dbus-get-all-properties): Use `dbus-call-method'. * dbus.texi (Version): New node. (Properties and Annotations): Mention the object manager interface. Describe dbus-get-all-managed-objects. (Type Conversion): Floating point numbers are allowed, if an anteger does not fit Emacs's integer range. (Synchronous Methods): Remove obsolete dbus-call-method-non-blocking. (Asynchronous Methods): Fix description of dbus-call-method-asynchronously. (Receiving Method Calls): Fix some minor errors. Add dbus-interface-emacs. (Signals): Describe unicast signals and the new match rules. (Alternative Buses): Add the PRIVATE optional argument to dbus-init-bus. Describe its new return value. Add dbus-setenv.
* Tweaks to Customize interface. Set custom-reset-button-menu to t.Chong Yidong2012-04-2223-110/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cus-edit.el (custom-commands, custom-reset-menu) (Custom-reset-standard): Tweak labels. (custom-reset-button-menu): Change default to t. (custom-buffer-create-internal): For the custom-reset-button-menu case, put the revert button first. (custom-group-subtitle): New face. (custom-group-value-create): Align docstring to a specific column. * wid-edit.el (widget-documentation-link-add): Don't handle indentation in this function. (widget-documentation-string-indent-to): New function. (widget-documentation-string-value-create): Use it. * autorevert.el (auto-revert): * epg-config.el (epg): * ibuffer.el (ibuffer): * mpc.el (mpc): * ses.el (ses): * eshell/eshell.el (eshell): * net/ange-ftp.el (ange-ftp): * progmodes/ebnf2ps.el (postscript): * progmodes/flymake.el (flymake): * progmodes/prolog.el (prolog): * progmodes/verilog-mode.el (verilog-mode): * progmodes/which-func.el (which-func): * textmodes/picture.el (picture): * textmodes/tildify.el (tildify): * vc/ediff.el (ediff): Tweak defgroups to improve presentation in customization buffers.
* CC Mode. Adding a ) can hide the resulting (..) from searches. Fix it.Alan Mackenzie2012-04-222-9/+41
|
* Don't add modes to which-func-modes if already set to t.Juanma Barranquero2012-04-214-4/+14
| | | | | | | | | * lisp/progmodes/verilog-mode.el (verilog-mode): Check whether which-func-modes is t before adding verilog-mode. Reported by Andy Moreton <[email protected]>. * lisp/mh-e/mh-folder.el (top): Check whether which-func-modes is t before adding mh-folder-mode.
* * lisp/net/rcirc.el (rcirc): Avoid error when process-contact returnsLeo Liu2012-04-212-5/+12
| | | | t.
* Improve tbl support in woman.el.Michael Vehrs2012-04-212-24/+90
| | | | | | | | | | | | | | | | | * lisp/woman.el (woman-find-next-control-line): New arg, specifying an additional regexp component for the control line. (woman2-roff-buffer): Use it. (woman-break-table): New function. (woman2-TS): Use it. And some cleanups: * lisp/woman.el (woman-set-buffer-display-table, woman-decode-region) (woman-horizontal-escapes, woman-negative-vertical-space) (woman-tab-to-tab-stop, woman2-fc, woman2-TS) (WoMan-warn-ignored): Use ?\s instead of ?\ . Fixes: debbugs:5635
* * lisp/minibuffer.el (completion-file-name-table): Complete user names.Stefan Monnier2012-04-202-0/+10
|
* * lisp/font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-letLeo Liu2012-04-202-4/+9
| | | | and pcase-let*.
* Fix emacsclient/server behavior under --without-x.Chong Yidong2012-04-202-3/+7
| | | | | | | | | * lib-src/emacsclient.c (main): Send -tty to Emacs under more circumstanced (Bug#8314). * lisp/server.el (server-process-filter): Only try to open a window system frame if compiled with graphical support (Bug#8314). Fixes: debbugs:11102
* * lisp/server.el (server-execute): Respect initial-buffer-choiceChong Yidong2012-04-202-11/+16
| | | | | | | | if it is a string and there are no files to open. (server-create-window-system-frame, server-create-tty-frame): Don't switch buffers here. Fixes: debbugs:2825
* Merge from emacs-24 branchChong Yidong2012-04-2012-142/+305
|\
| * Fix sysfs battery display.Dan Nicolaescu2012-04-202-2/+8
| | | | | | | | | | | | * battery.el (battery-echo-area-format): Display remaining time for sysfs backend too (Bug#11269). (battery-linux-sysfs): Fix conditional for the charge.
| * Fix last change.Chong Yidong2012-04-201-6/+10
| | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb-inferior-io-sentinel): Don't do anything if gdb process is killed.
| * Fixes for pty handling in gdb-mi.el and process.c.Chong Yidong2012-04-202-23/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change. (gdb-inferior-io--init-proc): New function. (gdb-init-1): Use it. (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty, responsible for allocating a new pty and hooking it to gdb when the old pty gets an EIO due to process exit. (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers. (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area. (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset. * src/process.c (wait_reading_process_output): If EIO occurs on a pty, set the status to "failed" and ensure that sentinel is run. * doc/lispref/processes.texi (Asynchronous Processes): Mention nil argument to start-process.
| * ChangeLog updates for last commit.Eli Zaretskii2012-04-201-1/+1
| |
| * Doc fixes in window.el functions.Eli Zaretskii2012-04-202-63/+85
| | | | | | | | | | | | | | | | | | | | | | lisp/window.el (window-min-size, window-sizable, window-min-delta) (window-max-delta, window--resizable, window-resizable) (window-total-size, window-full-height-p, window-full-width-p) (window-in-direction, window--resize-mini-window, window-resize) (window--resize-child-windows-normal) (window--resize-child-windows, window--resize-siblings) (window--resize-this-window, adjust-window-trailing-edge) (enlarge-window, shrink-window): Doc fixes.
| * Delete the gdb-inferior pty when the gdb process exits.Chong Yidong2012-04-193-34/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New function to call delete-process on the gdb-inferior buffer's pty. (gdb-reset): Use it, instead of relying on kill-buffer to kill the pty process. (gdb-update): New arg to suppress talking to the gdb process. (gdb-done-or-error): Use it. (gdb-stopped-functions): Rename from gdb-stopped-hooks. (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for sentinel not being called. * lisp/comint.el (make-comint-in-buffer, comint-exec): Doc fix. Fixes: debbugs:11273
| * More small edits for doc/lispref/minibuf.texiGlenn Morris2012-04-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/minibuf.texi (Object from Minibuffer): Remove overly pedantic paragraph. (Minibuffer History): Copyedits. Add face-name-history. (Initial Input, Yes-or-No Queries, Multiple Queries) (Minibuffer Windows, Minibuffer Misc): Copyedits. (Yes-or-No Queries): Tweak example. (Minibuffer Commands): Add next-complete-history-element. (Minibuffer Misc): Mention minibuffer-message-timeout, and minibuffer-inactive-mode. * doc/lispref/minibuf.texi (Minibuffers): * doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi: Fix minibuffer subsection order. * lisp/subr.el: Comment.
| * * lisp/progmodes/grep.el (grep, rgrep): Doc fix.Chong Yidong2012-04-182-6/+11
| | | | | | | | Fixes: debbugs:11268
| * More process-related doc and manual small editsGlenn Morris2012-04-172-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/processes.texi (Output from Processes, Filter Functions): Mention waiting-for-user-input-p. (Sentinels, Query Before Exit, System Processes, Transaction Queues): (Network Servers, Datagrams, Network Processes, Network Options) (Network Feature Testing, Serial Ports): Copyedits. (Network): Add encrypted network overview paragraph. Cross-reference the Emacs-GnuTLS manual. Use @acronym. * lisp/net/network-stream.el (open-network-stream): Doc fix. * src/process.c (Fset_process_inherit_coding_system_flag) (Fset_process_query_on_exit_flag): Doc fix (mention return value). (Fmake_network_process): Doc fix.
| * lisp/subr.el: Update comment.Juanma Barranquero2012-04-171-2/+1
| |
| * * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.Chong Yidong2012-04-172-2/+6
| |
| * CC Mode: Ensure searching for keywords is case sensitive.Alan Mackenzie2012-04-163-19/+37
| |
| * * mail/sendmail.el (mail-bury): Call return action with the right Rmail buffer.Chong Yidong2012-04-162-1/+6
| | | | | | | | Fixes: debbugs:11242
| * Move "emacsclient -t -n" handling from emacsclient.c to server.el.Chong Yidong2012-04-152-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Fix its buggy logic for the Windows case (regression from 23.4). * lib-src/emacsclient.c (decode_options): Move -t -n corner case handling into server.el. * lisp/server.el (server-process-filter): Handle corner case where both tty and nowait options are present. Fixes: debbugs:11102
* | Put the '$Id:' tag into MS-Windows executable of Emacs.Eli Zaretskii2012-04-202-3/+4
| | | | | | | | | | lisp/version.el (top level): Put into the executable the ident-style '$Id:' tag on windows-nt as well.
* | Doc fixes for emacs-bzr-* facilities.Eli Zaretskii2012-04-203-6/+10
| | | | | | | | lisp/version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
* | * lisp/electric.el (electric-indent-post-self-insert-function): Check thatStefan Monnier2012-04-192-0/+6
| | | | | | | | electric-indent-mode is enabled in current buffer.
* | lisp/imenu.el (imenu-progress-message): Restore.Juanma Barranquero2012-04-192-0/+28
| |
* | lisp/*: Add declarations, remove unused bindings, mark unused args.Juanma Barranquero2012-04-1918-129/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/avoid.el (mouse-avoidance-mode): Mark unused arg. (mouse-avoidance-nudge-mouse): Remove unused binding. * lisp/imenu.el (imenu-default-goto-function): Mark unused args. (imenu-progress-message): Remove obsolete macro; all callers changed. * lisp/mouse.el (mouse-menu-major-mode-map): * lisp/emacs-lisp/authors.el (authors-scan-change-log) (authors-add-to-author-list): * lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance): * lisp/emacs-lisp/smie.el (smie-auto-fill): * lisp/mail/sendmail.el (mail-bury): * lisp/mail/unrmail.el (unrmail): * lisp/net/tls.el (open-tls-stream): * lisp/textmodes/picture.el (picture-mouse-set-point): Remove unused bindings. * lisp/subr.el (keymap-canonicalize): Remove unused binding. (read-passwd): Mark unused arg. * lisp/tutorial.el (tutorial--display-changes): Remove unused binding. (tutorial--save-tutorial-to): Remove unused variable. * lisp/emacs-lisp/package.el (define-package, package-menu-mark-delete) (package-menu-mark-install, package-menu-mark-unmark): Mark unused args. (package-generate-autoloads, package-menu--generate) (package-menu--find-upgrades): Remove unused bindings. * lisp/emulation/cua-rect.el (cua-restrict-regexp-rectangle) (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings. (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle) (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle) (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle) (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as) (cua--rectangle-aux-replace, cua--left-fill-rectangle) (cua-scroll-rectangle-up, cua-scroll-rectangle-down) (cua-delete-char-rectangle): Mark unused args. (cua-align-rectangle): Remove unused binding. * lisp/mail/rmail.el (compilation--message->loc) (epa--find-coding-system-for-mime-charset): Declare. * lisp/net/dbus.el (dbus-register-service): Declare. (dbus-name-owner-changed-handler): Remove unused binding. * lisp/nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p) (nxml-compute-indent-from-matching-start-tag): Remove unused variables. (nxml-scan-backward-within): Mark unused arg. (nxml-dynamic-markup-word): Remove unused binding.
* | Remove some `toggle-read-only' warnings.Juanma Barranquero2012-04-193-3/+3
| | | | | | | | | | | | | | | | * lisp/bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively. * lisp/descr-text.el (describe-char): lisp/progmodes/python.el (python-describe-symbol): Don't call `toggle-read-only', set `buffer-read-only'.
* | * net/tramp.el (tramp-action-password): Let-bind ↵Michael Albinus2012-04-192-5/+11
| | | | | | | | enable-recursive-minibuffers to t.
* | * lisp/progmodes/gud.el (gud-key-prefix): Use :type 'key-sequenceSam Steingold2012-04-183-3/+10
| | | | | | | | | | | | instead of 'string to accommodate values like [f11]. Always use `vconcat' instead of `concat' on it, like in `gud-def'. * lisp/progmodes/gdb-mi.el: Likewise.
* | * lisp/abbrev.el (edit-abbrevs): Move point to the abbrev table ofLeo Liu2012-04-192-4/+20
| | | | | | | | | | | | current buffer. (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if LOCAL is nil.
* | * simple.el (line-move): Use forward-line if in batch mode.Chong Yidong2012-04-182-17/+24
| | | | | | | | Fixes: debbugs:11053
* | Fix require-final-newline interaction with read-only buffers.Christopher Schmidt2012-04-182-1/+7
| | | | | | | | | | | | | | * lisp/files.el (after-find-file): Do not try to add a final newline if the buffer is read-only. Fixes: debbugs:11156
* | Fix logic for returning to and yanking from Rmail buffer.Richard M. Stallman2012-04-173-9/+35
| |
* | lisp/server.el (server-ensure-safe-dir): Simplify.Juanma Barranquero2012-04-172-23/+23
| |
* | Auto-commit of loaddefs files.Glenn Morris2012-04-172-2/+2
| |
* | Merge from pending; try to fix-up suboptimal ses ChangeLog.Glenn Morris2012-04-164-17/+190
|\ \
| * \ Merge from trunkStefan Monnier2012-03-251389-29103/+63492
| |\ \
| * | | * lisp/newcomment.el (comment-inline-offset): Don't autoload.Stefan Monnier2012-03-252-3/+8
| | | | | | | | | | | | | | | | (comment-choose-indent): Obey comment-inline-offset.
| * | | * lisp/newcomment.el (comment-inline-offset): New custom var.Philipp Haselwarter2012-03-252-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | (comment-indent): Use it. Fixes: debbugs:11090
| * | | * lisp/emacs-lisp/smie.el: Provide smarter auto-filling.Stefan Monnier2012-02-152-0/+39
| | | | | | | | | | | | | | | | | | | | (smie-auto-fill): New function. (smie-setup): Use it.
| * | | The overall change is to add cell renaming, that is setting fancy names for ↵Vincent Belaïche2011-12-272-113/+242
| | | | | | | | | | | | | | | | cell symbols other than name matching "\\`[A-Z]+[0-9]+\\'" regexp . (ses-create-cell-variable): New defun. (ses-relocate-formula): Relocate formulas only for cells the symbols of which are not renamed, i.e. symbols whose names do not match regexp "\\`[A-Z]+[0-9]+\\'". (ses-relocate-all): Relocate values only for cells the symbols of which are not renamed. (ses-load): Create cells variables as the (ses-cell ...) are read, in order to check row col consistency with cell symbol name only for cells that are not renamed. (ses-replace-name-in-formula): New defun. (ses-rename-cell): New defun. (ses-call-printer-return, ses-cell-property-get) (ses-sym-rowcol, ses-printer-validate, ses-formula-record) (ses-create-cell-variable, ses-reset-header-string) (ses-cell-set-formula, ses-repair-cell-reference-all) (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell) (ses-check-curcell, ses-call-printer, ses-adjust-print-width) (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula) (ses-aset-with-undo, ses-load, ses-truncate-cell) (ses-read-column-printer, ses-read-default-printer, ses-insert-row) (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column) (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf) (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column) (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range) (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!) (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span) (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
* | | | Add perl-indent-parens-as-block option (tiny change)Peter Oliver2012-04-162-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/perl-mode.el (perl-indent-parens-as-block): New option. (perl-calculate-indent): Respect it. Fixes: debbugs:11118
* | | | * lisp/dired-aux.el (dired-mark-read-string): Doc fix.Glenn Morris2012-04-162-1/+8
| | | |
* | | | Add user, group name completion to diredDmitry Antipov2012-04-162-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note from committer: I modified the original patch, by adding the new collection argument at the end of the argument list rather than in the middle. * dired-aux.el (dired-mark-read-string): Offer optional completion. (dired-do-chxxx): Complete chown, chgrp over users, groups. Fixes: debbugs:7900