Michael Albinus
56f2d1e183
* net/tramp.el (tramp-file-name-handler): Add 'debug to the error
...
condition.
2011-10-09 11:38:25 +02:00
Chong Yidong
ce3cefcca3
Change scroll-up/down bindings to Emacs 24's scroll-*-command.
...
* cus-edit.el (custom-mode-map):
* epa.el (epa-key-list-mode-map):
* man.el (Man-mode-map):
* startup.el (splash-screen-keymap):
* simple.el (special-mode-map): Use scroll-up-command and
scroll-down-command.
* progmodes/idlw-help.el (idlwave-help-mode-map):
* progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
* net/newst-plainview.el (newsticker-mode-map):
* emulation/ws-mode.el (wordstar-mode-map):
* emulation/vi.el (vi-com-map):
* calc/calc-graph.el (calc-graph-show-dumb):
* term/sun.el (terminal-init-sun):
* term/ns-win.el (global-map):
* progmodes/grep.el (grep-mode-map):
* progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
* mail/rmail.el (rmail-mode-map):
* progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2011-10-01 16:32:01 -04:00
Juanma Barranquero
a239d4e9c0
Fix typos.
2011-09-28 02:59:28 +02:00
Michael Albinus
e2ee6f30ac
* net/dbus.el (dbus-unregister-object): Don't release services for
...
registered signals. (Bug#9581)
2011-09-25 17:56:28 +02:00
Ulf Jasper
2ac2721a7f
newsticker: automatically load html rendering packages.
...
lisp/ChangeLog:
2011-09-24 Ulf Jasper <ulf.jasper@web.de>
* net/newst-reader.el (newsticker-html-renderer)
(newsticker-show-news): Automatically load html rendering package
if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
because w3m-fill-column is let-bound" and the error "Symbol's
value as variable is void: w3m-fill-column".
2011-09-24 16:04:46 +02:00
Michael Albinus
fac7ae53a7
* net/dbus.el (dbus-unregister-object): Remove match rule of signals.
...
Release services only if they are defined. (Bug#9581)
2011-09-24 13:45:13 +02:00
Michael Albinus
9168308956
* net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): Fix
...
nasty bug using wrong cached values.
2011-09-23 11:38:41 +02:00
Michael Albinus
a7b88dc6d7
* net/tramp.el (tramp-handle-shell-command): Set process sentinel
...
and process filter, as done also in `shell-command'.
2011-09-21 12:42:55 +02:00
Michael Albinus
443d66962e
* net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
...
Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2011-09-19 08:53:45 +02:00
Michael Albinus
710dec6300
* net/tramp.el (top): Don't require 'shell.
...
(tramp-methods): Fix docstring.
(tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
Return complete remote file name. Handle "smb" case. Use
`tramp-tmpdir', if defined for the respective method.
(tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
* net/tramp-compat.el (top): Require 'shell.
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
`tramp-current-host'.
(tramp-get-remote-tmpdir): Remove.
* net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
`tramp-tmpdir' entries.
(tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
(tramp-smb-handle-file-attributes): Ignore errors.
(tramp-smb-wait-for-output): Check also for process end.
2011-09-18 13:26:15 +02:00
Chong Yidong
8c0f49f09c
* lisp/replace.el (occur-mode-map): Rebind occur-edit-mode to "e".
...
(occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
occur-mode-display-occurrence.
(occur-edit-mode): Add usage message.
(occur-cease-edit): New command.
(occur-after-change-function): Use text properties to find the
position of the prefix text.
(occur-engine): Set stickiness of prefix text properties.
Fixes: debbugs:8463
2011-09-17 17:28:17 -04:00
Chong Yidong
37ac18a341
Change modes that used same-window-* vars to use switch-to-buffer.
...
* cmuscheme.el (run-scheme, switch-to-scheme):
* ielm.el (ielm):
* shell.el (shell):
* net/rlogin.el (rlogin):
* net/telnet.el (telnet, rsh):
* progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
* cus-edit.el (customize-group, custom-buffer-create)
(customize-browse, custom-buffer-create-other-window): Use
switch-to-buffer or switch-to-buffer-other-window.
* info.el (info, Info-find-node, Info-revert-find-node, Info-next)
(Info-prev, Info-up, Info-speedbar-goto-node)
(info-display-manual): Use switch-to-buffer.
(Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
* lisp/gnus/message.el (message-pop-to-buffer): Default to switch-to-buffer.
(message-mail-other-window, message-mail-other-frame)
(message-news-other-window, message-news-other-frame): Use
switch-to-buffer-other-frame and switch-to-buffer-other-window instead
of setting buffer display varibles.
* mail/sendmail.el (mail): Use switch-to-buffer.
(mail-recover): Use switch-to-buffer-other-window.
* progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
Use switch-to-buffer.
2011-09-11 14:30:07 -04:00
Chong Yidong
8319e0bf55
Tweaks to display-buffer default actions; remove same-window-* autoload forms.
...
* lisp/window.el (display-buffer-alist): Add entry for buffers
previously handled same-window-*.
(display-buffer-alist, display-buffer-default-action)
(display-buffer-overriding-action): Mark as risky.
(display-buffer-alist): Document action function changes.
(display-buffer--same-window-action)
(display-buffer--other-frame-action): New variables.
(switch-to-buffer, display-buffer-other-frame): Use them.
(display-buffer): Rename reuse-frame entry to reusable-frames.
(display-buffer-reuse-selected-window): Function deleted.
(display-buffer-reuse-window): Handle reusable-frames alist entry.
If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
(display-buffer-special): New function.
(display-buffer--maybe-pop-up-frame-or-window): Rename from
display-buffer-reuse-or-pop-window. Split off special-display
part into display-buffer-special.
(display-buffer-use-some-window): Don't perform any special
pop-up-frames handling.
(pop-to-buffer): Use window-normalize-buffer-to-switch-to.
* lisp/cmuscheme.el:
* lisp/ielm.el:
* lisp/shell.el:
* lisp/mail/sendmail.el:
* lisp/progmodes/inf-lisp.el: Don't set same-window-buffer-names.
* lisp/cus-edit.el:
* lisp/info.el:
* lisp/net/rlogin.el:
* lisp/net/telnet.el:
* lisp/progmodes/gud.el: Don't set same-window-regexps.
2011-09-10 14:52:37 -04:00
Leo Liu
567457e31a
New rcirc command rcirc-cmd-invite
...
See: http://debbugs.gnu.org/9453
2011-09-08 23:25:37 +08:00
Leo Liu
183fc730a3
Conditionally initialize rcirc-input-ring
2011-09-07 11:37:22 +08:00
Michael Albinus
f5e29b9b70
* net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
...
`tramp-cache-unload-hook' where appropriate.
(tramp-methods): Rename `tramp-remote-sh' to
`tramp-remote-shell'. Add `tramp-remote-shell-args'.
(tramp-handle-shell-command): New defun, moved from tramp-sh.el.
* net/tramp-sh.el (top): Don't require 'shell.
(tramp-methods): Add `tramp-remote-shell' and
`tramp-remote-shell-args' entries.
(tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
(tramp-sh-handle-shell-command): Remove.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Use `tramp-remote-shell'.
2011-09-04 20:14:34 +02:00
Deniz Dogan
d37e5c8777
* lisp/net/rcirc.el (rcirc-print): Simplify code for rcirc-scroll-show-maximum-output. There is no need to walk through all windows to find the right one.
2011-09-03 19:40:08 +02:00
Michael Albinus
5bc3b51d1e
* net/tramp.el (tramp-root-regexp): Remove.
...
(tramp-completion-file-name-regexp-unified)
(tramp-completion-file-name-regexp-separate)
(tramp-completion-file-name-regexp-url): Don't use leading volume
letter on win32 systems. (Bug#5303, Bug#9311)
(tramp-drop-volume-letter): Simplify definition. Suggested by
Stefan Monnier <monnier@iro.umontreal.ca>.
2011-08-31 10:18:20 +02:00
Deniz Dogan
27de4e2048
* lisp/net/rcirc.el (rcirc-insert-prev-input)
...
(rcirc-insert-next-input): Remove unused argument.
2011-08-28 08:07:14 +02:00
Deniz Dogan
35b1c40c36
* net/rcirc.el (rcirc-check-auth-status): Adding support for oftc's NickServ messages.
2011-08-27 10:28:46 +02:00
Deniz Dogan
a2ebe600c9
* lisp/net/quickurl.el: Documentation typo fixes.
2011-08-25 07:43:57 +02:00
Chong Yidong
a3f2468a08
Fix for browse-url-firefox on Windows.
...
* lisp/net/browse-url.el (browse-url-firefox): Don't call
browse-url-firefox-sentinel unless using -remote.
Fixes: debbugs:9328
2011-08-20 21:01:12 -04:00
Lars Magne Ingebrigtsen
57173b965f
(network-stream-open-starttls): Support using starttls.el without using gnutls-cli.
2011-08-17 22:50:33 +02:00
Michael Albinus
63648a956a
* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
...
(tramp-open-shell): Use `tramp-shell-quote-argument'.
* net/trampver.el: Update release number.
2011-08-03 21:31:18 +02:00
Lars Magne Ingebrigtsen
2239d7d5ef
Use `starttls-available-p' to see whether starttls.el can be used.
2011-08-02 15:34:05 +02:00
Deniz Dogan
027b979ca0
* lisp/net/rcirc.el (rcirc-handler-333): Clarify docstring.
2011-08-01 14:30:18 +02:00
Michael Albinus
3c7ee4f39a
Sync with Tramp 2.2.2.
...
* net/trampver.el: Update release number.
2011-07-30 16:57:12 +02:00
Michael Albinus
8a7eddd7bf
* net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
...
connection process, it could be nil.
2011-07-27 13:22:22 +02:00
Leo Liu
1ddd96f5cf
Simplify url handling in rcirc-mode
2011-07-27 11:44:45 +08:00
Michael Albinus
0b3f36df8c
* net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
...
`tramp-send-command-and-check' if there is no error.
(tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2011-07-24 11:56:26 +02:00
Michael Albinus
11d074b295
* net/tramp.el (tramp-file-name-handler): Avoid recursive
...
loading. (Bug#9114)
2011-07-22 13:04:55 +02:00
Lars Magne Ingebrigtsen
750c33f71e
Move the defintion of `gnutls-log-level' to the C level to avoid loading problems
2011-07-17 00:49:20 +02:00
Lawrence Mitchell
87e8668442
Allow controlling how many prime bits to use during TLS negotiation
2011-07-15 19:41:24 +02:00
Lars Magne Ingebrigtsen
d606623955
* net/gnutls.el (gnutls-negotiate): Upcase `gnutls-algorithm-priority'.
2011-07-15 19:25:02 +02:00
Lars Magne Ingebrigtsen
7b41decb8e
Add a variable to customize the gnutls priority
2011-07-15 19:21:57 +02:00
Chong Yidong
8bdfa0649b
Adapt 2011-07-05 switch-to-buffer changes to new switch-to-buffer
...
* lisp/bindings.el (mode-line-other-buffer):
* lisp/bookmark.el (bookmark-bmenu-2-window):
* lisp/bs.el (bs-cycle-next, bs-cycle-previous):
* lisp/net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
switch-to-buffer.
* lisp/net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
Deleted.
2011-07-13 21:40:30 -04:00
Lawrence Mitchell
2a517d45db
Make the default browser choice a bit more logical
...
* net/browse-url.el (browse-url-default-browser)
(browse-url-browser-function): Make the default browser choice a
bit more logical. Also clean up the doc string.
Fixes: debbugs:4300
2011-07-13 15:49:55 +02:00
Michael Albinus
afae1d6821
* net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
...
human-friendly prompt.
2011-07-08 16:25:25 +02:00
Lars Magne Ingebrigtsen
12b9eb3527
Work around gnutls failures
...
* net/network-stream.el (network-stream-open-starttls): If gnutls
negotiation fails, then possibly try again with a non-encrypted
connection.
Fixes: debbugs:9017
2011-07-07 17:14:17 +02:00
Lars Magne Ingebrigtsen
1f2b92cb87
* net/network-stream.el (network-stream-open-starttls): Try using
...
a plain connection even if the server offered STARTTLS, and we
kinda wanted to use it, if Emacs doesn't have any STARTTLS
capability. This should make smtpmail.el work in slightly more
configurations.
2011-07-06 17:09:11 +02:00
Michael Albinus
1cdd2a1b36
* net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window): New defun.
...
* net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
2011-07-06 11:48:20 +02:00
Stefan Monnier
2dcdbdd97d
Fix some uses of switch-to-buffer.
...
* lisp/progmodes/compile.el (compilation-goto-locus):
* lisp/net/tramp-cmds.el (tramp-append-tramp-buffers):
* lisp/bs.el (bs-cycle-next, bs-cycle-previous):
* lisp/bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
* lisp/bindings.el (mode-line-other-buffer):
* lisp/autoinsert.el (auto-insert):
* lisp/arc-mode.el (archive-extract):
* lisp/abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
2011-07-05 11:31:22 -04:00
Michael Albinus
6d95bd4664
* net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
...
* net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
(tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
Use it.
(tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
`tramp-default-remote-path' does not exist.
(tramp-send-command-and-read): New optional argument NOERROR.
(tramp-open-connection-setup-interactive-shell)
(tramp-get-remote-path, tramp-get-remote-stat): Use it.
(tramp-get-remote-readlink): Do not mask with `ignore-errors'.
(tramp-process-sentinel): Flush also process' connection property.
(tramp-sh-handle-start-file-process): Do not set process
sentinel. It is done now ...
(tramp-maybe-open-connection): ... here. (Bug#8929)
2011-07-04 14:12:38 +02:00
Lars Magne Ingebrigtsen
2b2167043c
Add :end-of-capability keyword for use by pop3.el.
2011-07-03 15:48:59 +02:00
Michael Albinus
36b148cf16
* net/tramp.el (tramp-encoding-command-interactive): New defcustom.
...
* net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2011-07-01 11:14:31 +02:00
Lars Magne Ingebrigtsen
c53dc7fca1
* net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
...
Remove two rather uninteresting debugging-like messages to make
debbugs.el more silent.
2011-07-01 01:15:02 +02:00
Katsumi Yamaoka
8982b23153
* lisp/net/ange-ftp.el: Allow loading .gz files (Bug#6923).
...
(ange-ftp-make-tmp-name): New arg.
(ange-ftp-file-local-copy): Use it.
2011-06-27 17:30:37 -04:00
Lars Magne Ingebrigtsen
f6ab314e6e
Fix stupid typo with gnutls-clii.
...
Don't re-get capabilities unless we're reconnecting.
2011-06-27 02:11:22 +02:00
Lars Magne Ingebrigtsen
468d09d44e
If the SMTP server supports STARTTLS, but Emacs has no built-in or
...
external STARTTLS support, then report this in a sensible fashion to
the user.
2011-06-26 23:05:06 +02:00
Lars Magne Ingebrigtsen
2db18f3ffa
Use built-in TLS support if `gnutls-available-p' is true.
2011-06-26 10:13:07 +02:00
Glenn Morris
11fdef7d0c
Merge from emacs-23; up to 2010-06-15T03:34:12Z!rgm@gnu.org.
2011-06-25 11:21:00 -07:00
Giuseppe Scrivano
f9ad64f3c1
Add icecat to the firefox candidates list.
2011-06-25 11:31:24 +02:00
Michael Albinus
d59eb51849
* net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
...
SIZE is a number.
2011-06-23 15:03:04 +02:00
Jan Djärv
1c0f1a199c
From Lawrence Mitchell <wence@gmx.li>: Don't hang in browse-url-xdg-open.
...
* net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
BUFFER in call-process.
2011-06-22 18:44:53 +02:00
Lars Magne Ingebrigtsen
6af7a7844e
Set :use-starttls-if-possible so that we always use STARTTLS if the server supports it.
...
SMTP servers that support STARTTLS commonly require it.
2011-06-22 00:55:52 +02:00
Lars Magne Ingebrigtsen
eb8c936238
(network-stream-certificate): Change cert-cert to cert and cert-key to key.
2011-06-21 23:00:45 +02:00
Lars Magne Ingebrigtsen
4ea31e074d
Add support for client certificates for built-in and external STARTTLS.
2011-06-21 22:39:08 +02:00
Michael Albinus
065ec2c78b
* net/tramp-cache.el (top): Don't load the persistency file when
...
"emacs -Q" has been called.
2011-06-21 21:51:26 +02:00
Deniz Dogan
aebf69c8b3
* lisp/net/rcirc.el: Delete trailing whitespaces once and for all.
2011-06-20 14:55:24 +02:00
Lars Magne Ingebrigtsen
4bba86e621
(open-network-stream): Add the keyword :always-query-capabilities.
...
This is for the case where you want to force a `plain' network
connection, but the protocol still requires the capabilitiy command
(i.e., SMTP and EHLO).
2011-06-15 22:44:45 +02:00
Michael Albinus
def722bf09
* net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
...
to ignored backtrace functions.
2011-06-11 20:30:43 +02:00
Glenn Morris
f0da764a5c
Allow/recommend explicit args for minor-modes in file local eval:s.
...
* lisp/files.el (hack-one-local-variable-eval-safep):
Allow minor-modes with explicit +/-1 arguments.
* doc/emacs/custom.texi (Specifying File Variables):
Recommend explicit arguments for minor modes.
* etc/NEWS: Likewise.
* lisp/doc-view.el, lisp/net/soap-client.el: Update file locals.
2011-06-09 16:22:06 -04:00
Eli Zaretskii
638e9005f1
Fix bug #8780 with decoding files after using ange-ftp.
...
lisp/net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
buffer-file-type before setting its value, to avoid disastrous
global effects on decoding files for DOS/Windows systems.
2011-06-09 12:40:51 +03:00
Glenn Morris
e8b08aeeca
ange-ftp fixes for dired switches not being just a single short option.
...
* lisp/net/ange-ftp.el (ange-ftp-switches-ok): New function.
(ange-ftp-get-files): Use it.
2011-06-08 23:07:11 -07:00
Deniz Dogan
7e821d0da8
* lisp/net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced in last change.
2011-06-05 21:39:17 +02:00
Deniz Dogan
ac09b8a128
* lisp/net/rcirc.el (rcirc-prompt-for-encryption): New function.
...
(rcirc): Use it to prompt for encryption.
2011-06-05 21:03:28 +02:00
Michael Albinus
0c33dd17ea
* net/tramp-sh.el (tramp-find-shell): Apply workaround also for
...
"SunOS 5.10".
2011-06-04 16:11:26 +02:00
Michael Albinus
f8f91c2ba8
* net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
...
(tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
(tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
(tramp-parse-putty):
* net/tramp-sh.el (tramp-completion-function-alist-rsh)
(tramp-completion-function-alist-ssh)
(tramp-completion-function-alist-telnet)
(tramp-completion-function-alist-su)
(tramp-completion-function-alist-putty): Set `tramp-autoload'
cookie.
* net/tramp-ftp.el:
* net/tramp-sh.el:
* net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
load "tramp.el" `tramp-set-completion-function'.
2011-06-04 15:58:37 +02:00
Stefan Monnier
7d5200893a
* lisp/net/tramp.el (tramp-with-progress-reporter): Rename from
...
with-progress-reporter. Use `declare'.
* lisp/net/tramp-smb.el:
* lisp/net/tramp-sh.el:
* lisp/net/tramp-gvfs.el: Update all uses.
2011-06-02 00:48:23 -03:00
Leo Liu
108bf785c8
Fix last change on rcirc-print and rcirc-decode-coding-system
2011-06-01 16:10:42 +08:00
Leo Liu
5ab33f2b8a
Decode all incoming messages in rcirc.el
...
Also allow automatic coding system detection if
rcirc-decode-coding-system is nil.
See discussion in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8744
2011-05-30 20:23:56 +08:00
Leo Liu
3767e706d7
Use a visible buffer name for rcirc-debug-buffer
2011-05-30 20:04:44 +08:00
Deniz Dogan
80aec78047
* net/rcirc.el (rcirc): Use the user's stored encryption method by default.
2011-05-29 07:42:00 +02:00
Stefan Monnier
4f91a8160f
Don't quote lambda expressions with `quote'.
2011-05-23 14:57:17 -03:00
Deniz Dogan
9ff90d99bf
* lisp/net/rcirc.el (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
2011-05-19 14:38:39 +02:00
Deniz Dogan
8274564053
* lisp/net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
2011-05-19 09:55:34 +02:00
Michael Albinus
2fb0a219f6
* net/tramp.el (tramp-process-actions): Set "first-password-request"
...
property for the correct connection in case of multihops.
2011-05-18 14:59:25 +02:00
Michael Albinus
7c1d9aa0bd
* net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
...
instead of "head" and "tail". There were problems with SunOS 5.9,
and it performs better.
2011-05-17 14:47:55 +02:00
Ulf Jasper
42c7e61e88
newsticker: Moved icons to etc/newsticker/images
...
lisp/ChangeLog:
2011-05-13 Ulf Jasper <ulf.jasper@web.de>
* net/newst-treeview.el (newsticker-treeview-face): Changed default
family from helvetica to sans.
(newsticker-treeview-tool-bar-map): Moved tool-bar icons to
etc/images/newsticker.
* net/newst-reader.el (newsticker-feed-face): Changed default
family from helvetica to sans.
* net/newst-plainview.el (newsticker-new-item-face)
(newsticker-old-item-face, newsticker-immortal-item-face)
(newsticker-obsolete-item-face, newsticker-date-face)
(newsticker-statistics-face): Changed default family from
helvetica to sans.
(newsticker--plainview-tool-bar-map): Moved tool-bar icons to
etc/images/newsticker.
* net/newst-backend.el (newsticker--do-run-auto-mark-filter),
(newsticker--process-auto-mark-filter-match): : Tell user about
auto-marking.
etc/ChangeLog:
2011-05-13 Ulf Jasper <ulf.jasper@web.de>
* images/newsticker: Added.
* images/newsticker/browse-url.xpm: Added.
* images/newsticker/get-all.xpm: Added.
* images/newsticker/mark-immortal.xpm: Added.
* images/newsticker/mark-read.xpm: Added.
* images/newsticker/narrow.xpm: Added.
* images/newsticker/next-feed.xpm: Added.
* images/newsticker/next-item.xpm: Added.
* images/newsticker/prev-feed.xpm: Added.
* images/newsticker/prev-item.xpm: Added.
* images/newsticker/update.xpm: Added.
2011-05-13 21:06:36 +02:00
Stefan Monnier
488086f4dd
* lisp/net/rcirc.el: Add support for SSL/TLS connections.
...
(rcirc-server-alist): New field `encryption'.
(rcirc): Check `encryption' settings.
(rcirc-connect): New arg `encryption'. Use open-network-stream.
Merge make-local-variable into `set'.
(rcirc--connection-open-p): New function.
(rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
the process is not a network process (e.g. running gnutls-cli).
(set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
Make rcirc-(en|de)code-coding-system local here.
(rcirc-mode): Merge make-local-variable into `set'.
(rcirc-parent-buffer): Make permanent buffer-local.
(rcirc-multiline-minor-mode): Don't do it here.
(rcirc-switch-to-server-buffer): Don't switch to a random buffer if
there's no server buffer.
2011-05-11 23:25:58 -03:00
U. Ser
9b053e766d
fix many doubled-word typos
2011-05-10 15:57:12 +02:00
Glenn Morris
b8f82dc15f
Deprecate using "mode:" to enable minor modes (bug#8613)
...
* lisp/files.el (hack-one-local-variable-eval-safep):
Consider "eval: (foo-mode)" to be safe.
* doc/emacs/custom.texi (Specifying File Variables):
Deprecate using mode: for minor modes.
* etc/NEWS: Mention this.
* lisp/doc-view.el, lisp/net/soap-client.el:
Change "mode:" minor-mode file local variables to use "eval:".
2011-05-09 19:31:42 -07:00
Ralph Schleicher
2a86a00c4f
Expand file names during browse-url-of-dired-file (Bug#8259).
...
* lisp/net/browse-url.el (browse-url-of-dired-file): Allow browsing of
special file names `.' and `..'.
2011-05-08 14:34:51 -04:00
Michael Albinus
a6bc05e123
* net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default to "".
...
(ange-ftp-write-region, ange-ftp-insert-file-contents)
(ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
determining of binary transfer. (Bug#7383)
2011-05-05 12:22:14 +02:00
Michael Albinus
23c22e9aa1
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Fix
...
port computation bug. (Bug#8618)
2011-05-05 11:48:43 +02:00
Glenn Morris
cf5bee67f9
Declaration fixes.
...
* lisp/net/network-stream.el (gnutls-negotiate): Fix declaration.
* lisp/simple.el (tabulated-list-print): Fix declaration.
* lisp/progmodes/gud.el (syntax-symbol, syntax-point):
Remove unnecessary and incorrect declarations.
2011-05-04 23:35:41 -07:00
Ted Zlatanov
48e79d6a80
Use CL-style keyword arguments for `gnutls-negotiate' and allow :keylist and :crlfiles arguments.
...
* lisp/net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
instead of positional arguments. Allow :keylist and :crlfiles
arguments.
(open-gnutls-stream): Call it.
* lisp/net/network-stream.el (network-stream-open-starttls): Adjust to
call `gnutls-negotiate' with :process and :hostname arguments.
2011-05-03 20:44:58 -05:00
Lars Magne Ingebrigtsen
8de66e05c4
(open-network-stream): Take a :nowait parameter and pass it on to `make-network-process'.
2011-05-01 17:39:10 +02:00
Deniz Dogan
0ba690bd8f
* lisp/net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
...
user has not joined.
2011-04-28 22:22:51 +02:00
Michael Albinus
bfd31217ea
* net/tramp.el (tramp-process-actions): Add POS argument. Delete
...
region between POS and (pos).
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use
`nil' position in `tramp-process-actions' call.
(tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
* net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
position in `tramp-process-actions' call.
* net/trampver.el: Update release number.
2011-04-25 20:10:17 +02:00
Michael Albinus
46155cd37f
* net/tramp.el (tramp-process-actions): Add POS argument. Delete
...
region between POS and (pos).
(tramp-do-copy-or-rename-file-out-of-band): Use `nil' position in
`tramp-process-actions' call.
(tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
* net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
position in `tramp-process-actions' call.
2011-04-25 19:58:27 +02:00
Juanma Barranquero
cd22b309b4
lisp/net/gnutls.el (gnutls-errorp): Declare before first use.
2011-04-25 15:47:23 +02:00
Ted Zlatanov
8b492194a9
Bug fixes and certificate and hostname verification for the Emacs GnuTLS support.
...
* lisp/net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
verify-error, and verify-hostname-error parameters. Check whether
default trustfile exists before going to use it. Add missing
argument to gnutls-message-maybe call. Return return value.
Reported by Claudio Bley <claudio.bley@gmail.com>.
(open-gnutls-stream): Add usage example.
* lisp/net/network-stream.el (network-stream-open-starttls): Give host
parameter to `gnutls-negotiate'.
(gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
2011-04-24 20:31:45 -05:00
Michael Albinus
f42efeb543
* net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the
...
case when the scripts fail. Use `tramp-do-file-attributes-with-ls'
then.
(tramp-do-copy-or-rename-file-out-of-band): Do not check any
longer, whether`executable-find' is bound.
* net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2011-04-14 20:58:45 +02:00
Gnus developers
1e3b60017a
Merge changes made in Gnus trunk.
...
gnus.texi (Window Layout): @itemize @code doesn't exist. It's @table @code.
gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Fix logic bug.
(gnus-registry-post-process-groups): Fix logging of no results and quote sender and subject.
network-stream.el (network-stream-open-starttls): Only do opportunistic STARTTLS upgrades if we have built-in gnutls support. Upgrades via gnutls-cli are too slow to be done opportunistically.
gnus-start.el (gnus-get-unread-articles): Slight cleanup.
(gnus-read-active-for-groups): Don't try to finish getting stuff where we had no early-data returned.
(gnus-get-unread-articles): Add a sanity check so that we don't issue two async commands to the same server at the same time.
gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
gnus-registry.el (gnus-registry-remake-db): Put the warning on a "warning" level.
2011-04-12 22:18:02 +00:00
Glenn Morris
3c4671f409
browse-url.el trivia.
...
* lisp/net/browse-url.el (browse-url-firefox):
Test system-type, not system-configuration.
2011-04-07 20:26:40 -07:00
Glenn Morris
56442f0c3d
rlogin.el trivia.
...
* lisp/net/rlogin.el (rlogin-process-connection-type): Simplify.
(rlogin-mode-map): Initialize in the defvar.
(rlogin): Use ignore-errors.
2011-04-07 20:11:31 -07:00
Deniz Dogan
b87a820074
* lisp/net/rcirc.el: Update my e-mail address.
2011-04-05 06:33:38 +02:00
Deniz Dogan
0f6ee7d2d7
* lisp/net/rcirc.el (rcirc-mode-map): Remove M-o binding.
2011-04-05 06:31:24 +02:00
Chong Yidong
da91b5f294
Merge open-protocol-stream into open-network-stream.
...
* lisp/subr.el (open-network-stream): Move to net/network-stream.el.
* lisp/gnus/proto-stream.el: Move to net/network-stream.el.
* lisp/net/network-stream.el: Move from gnus/proto-stream.el.
Change prefix to network-stream throughout.
(open-protocol-stream): Merge into open-network-stream, leaving
open-protocol-stream as an alias. Handle nil BUFFER args.
* lisp/gnus/nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
parameter to open-protocol-stream.
* lisp/emacs-lisp/package.el (package--with-work-buffer): Recognize
https URLs.
* lisp/url/url-gw.el (url-open-stream): Use new open-network-stream
functionality to perform encryption.
2011-04-02 19:41:03 -04:00
Tassilo Horn
221ddf68cb
* net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
...
an entry for that server in rcirc-authinfo. (Bug#8385)
2011-03-31 14:19:17 +02:00
Gnus developers
b62f8267c3
Merge changes made in Gnus trunk.
...
mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with local variables disabled rather than `normal-mode'.
imap.el (imap-shell-open, imap-process-connection-type): Use imap-process-connection-type for 'shell' streams as well as Kerberos, SSL, other subprocesses.
2011-03-29 13:23:38 +00:00
Leo Liu
9882e21494
New variable rcirc-user-authenticated to pacify compiler
2011-03-22 19:51:48 +08:00
Leo Liu
0b4e93f177
Handle the case when re-search-backward errs
...
because point is not located after rcirc-prompt-end-marker.
2011-03-22 19:30:05 +08:00
Stefan Monnier
0adf561883
Fix misuse of quote in `case'.
...
* lisp/progmodes/ruby-mode.el (ruby-backward-sexp):
* lisp/progmodes/ebrowse.el (ebrowse-draw-file-member-info):
* lisp/play/gamegrid.el (gamegrid-make-face):
* lisp/play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
(bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
* lisp/notifications.el (notifications-notify):
* lisp/net/xesam.el (xesam-search-engines):
* lisp/net/quickurl.el (quickurl-list-insert):
* lisp/vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
* lisp/gnus/auth-source.el (auth-source-netrc-create):
* lisp/gnus/message.el (message-yank-original): Fix use of `case'.
* lisp/org/org-src.el (org-src-switch-to-buffer):
* lisp/org/org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
* lisp/org/org-mouse.el (org-mouse-agenda-type):
* lisp/org/org-freemind.el (org-freemind-node-to-org):
* lisp/org/ob-sql.el (org-babel-execute:sql):
* lisp/org/ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
* lisp/org/ob-ref.el (org-babel-ref-resolve): Fix use of case.
2011-03-15 13:39:56 -04:00
Ted Zlatanov
eebc475df5
Add `auth-source-search' integration for LDAP searches.
...
* net/ldap.el (ldap-search-internal): Add `auth-source-search'
integration for LDAP parameters. The host, base, user or binddn,
and secret tokens can be specified in a netrc file, for instance.
This is optional because an `auth-source' parameter must be
specified in the search attributes.
2011-03-13 17:17:17 -05:00
Michael Albinus
f3afd36bad
Sync with Tramp 2.2.1.
...
* net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
* net/trampver.el: Update release number.
2011-03-12 16:19:29 +01:00
Michael Albinus
6efb972c00
* net/tramp.el (tramp-progress-reporter-update): Use
...
`tramp-compat-funcall'.
(tramp-handle-start-file-process): Use `tramp-compat-process-get'.
(tramp-handle-insert-file-contents): Make `file-remote-p' call
compatible.
(tramp-open-connection-setup-interactive-shell): Use
`tramp-compat-process-put'.
* net/tramp-compat.el (tramp-compat-process-get)
(tramp-compat-process-put): New defuns.
* net/trampver.el: Update release number.
Please do not merge with the trunk.
2011-03-12 14:26:19 +01:00
Michael Albinus
ee545c35d2
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
...
not use `tramp-file-name-port', because this returns also
`tramp-default-port'.
2011-03-09 12:04:27 +01:00
Deniz Dogan
c47971d7a3
* lisp/net/rcirc.el (rcirc-handler-001): Remove useless
...
with-rcirc-process-buffer.
(rcirc-check-auth-status): Swap arguments to string-match.
2011-03-09 11:45:19 +01:00
Deniz Dogan
fa7062f653
* lisp/net/rcirc.el (rcirc-connect): Fix PASS bug.
2011-03-07 13:03:22 +01:00
Juanma Barranquero
845fc5e555
* lisp/bookmark.el:
...
* lisp/desktop.el:
* lisp/emacs-lock.el:
* lisp/ps-print.el:
* lisp/saveplace.el:
* lisp/net/tramp-cache.el:
* lisp/textmodes/reftex.el:
* lisp/org/org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
Fixes: debbugs:8137
2011-03-06 01:30:16 +01:00
Antoine Levitt
7e27ce9cdb
Replace many instances of read-file-name with read-directory-name.
...
* lisp/files.el (delete-directory, copy-directory, list-directory): Use
read-directory-name.
* lisp/find-file.el (ff-find-the-other-file):
* lisp/net/ange-ftp.el (ange-ftp-make-directory):
* lisp/printing.el (pr-interactive-dir):
* lisp/progmodes/ada-prj.el (ada-prj-load-directory):
* lisp/progmodes/ebnf2ps.el (ebnf-print-directory)
(ebnf-spool-directory, ebnf-eps-directory)
(ebnf-syntax-directory):
* lisp/shell.el (shell):
* lisp/speedbar.el (speedbar-create-directory):
* lisp/vc/emerge.el (emerge-merge-directories):
* lisp/vc/vc-dir.el (vc-dir):
* lisp/vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
* lisp/gnus.el (gnus-interactive): Use read-directory-name.
* lisp/gnus-uu.el (gnus-uu-decode-uu-and-save)
(gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
(gnus-uu-decode-binhex, gnus-uu-decode-yenc)
(gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
Likewise.
* lisp/mh-funcs.el (mh-store-msg, mh-store-buffer):
* lisp/mh-mime.el (mh-mime-save-parts): Use read-directory-name.
* lisp/dired.el: Clarify comment.
2011-03-05 16:56:00 -05:00
Deniz Dogan
77f63d3050
* lisp/net/rcirc.el: Add QuakeNet authentication support.
...
(rcirc-authinfo, rcirc-check-auth-status)
(rcirc-authenticate): Support QuakeNet.
2011-03-05 16:40:50 +01:00
Deniz Dogan
72d2c2e3b9
* lisp/net/rcirc.el: Add functionality to authenticate before autojoining channels.
...
(rcirc-authenticate-before-join): New option.
(rcirc-authenticated-hook): New variable.
(rcirc-connect): Make local variable rcirc-user-authenticated.
(rcirc-handler-001): Respect rcirc-authenticate-before-join.
(rcirc-check-auth-status, rcirc-join-channels-post-auth): New
functions.
(rcirc-handler-PRIVMSG, rcirc-handler-NOTICE): Call
rcirc-check-auth-status.
2011-03-05 14:34:55 +01:00
Michael Albinus
d733e8178e
Add package name. Fix author email address.
...
* net/soap-client.el (soap-namespace-put-link): Check if the target
name is fully qualified -- use only the name part.
(soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
types, treated the same as xsd:sequence. (Bug#8166)
2011-03-05 11:32:10 +01:00
Glenn Morris
9d9827395a
browse-url fix for bug#6077.
...
* lisp/net/browse-url.el (browse-url): Handle deleted default-directory.
2011-03-04 00:21:56 -08:00
Deniz Dogan
fcd8ed1db9
* lisp/net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
2011-03-03 16:56:38 +01:00
Michael Albinus
22b300dea0
* net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path shadows.
2011-02-28 11:58:59 +01:00
Glenn Morris
2b0c733045
Merge from emacs-23; up to 2010-06-03T05:41:49Z!rgm@gnu.org.
2011-02-27 17:07:29 -08:00
Glenn Morris
97610156f4
Fix spelling of "precede".
2011-02-22 23:08:12 -08:00
Michael Albinus
c63090455f
* net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
...
`field' property of `rfn-eshadow-overlay'.
2011-02-21 20:14:56 +01:00
Lars Ingebrigtsen
06b840e0d9
Merge changes made in Gnus trunk.
...
gnus.texi (Window Layout): Document layout names.
nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the given method as in the group name if we're using an extended method.
(nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE command, if we're using that, instead of waiting for the beginning.
gnus-start.el (gnus-get-unread-articles): Extend the methods so that we're sure to get unique server names, and we don't output two async commands in the same buffer. This fixes an NNTP hang for some users.
netrc.el (netrc-parse): Comment fix.
gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the summary buffer before reading going to the next buffer. This avoids putting the point in the group buffer if you `C-g' the command.
auth-source.el (auth-source-netrc-parse): Add an in-memory netrc cache (for now) to make ~/.authinfo.gpg files usable.
nnfolder.el (copyright-update): Define for the compiler.
auth-source.el (auth-source-search): Fix unbound variable.
2011-02-21 13:29:15 +00:00
Deniz Dogan
73057ba922
* lisp/net/rcirc.el (rcirc-float-time): New function.
...
(rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
(rcirc-ctcp-sender-PING): Use it.
2011-02-17 12:41:49 +01:00
Glenn Morris
4e35870521
Fix copyright, standardize header and licence.
2011-02-16 20:41:29 -08:00
Michael Albinus
274c2d34f1
* soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
...
(soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
(soap-decoded-multi-refs, soap-current-wsdl)
(soap-encoded-namespaces): Rename CL-style *...* variables.
2011-02-16 20:56:31 +01:00
Michael Albinus
88ae2870cb
* net/soap-client.el: Add "comm" and "hypermedia" to the
...
keywords. Reflow too long lines.
* net/soap-inspect.el: Ditto. Require 'cl.
2011-02-16 20:33:35 +01:00
Michael Albinus
16d2ff8914
* net/soap-client.el:
...
* net/soap-inspect.el: New files.
2011-02-16 10:25:37 +01:00
Teodor Zlatanov
b2108a3663
net/imap.el: Bring it back.
2011-02-14 00:57:10 +00:00
Gnus developers
114fe5465b
net/imap.el: Remove file. All the functionality is in nnimap.el.
...
nnimap.el (nnimap-request-accept-article, nnimap-process-quirk): Fix Gcc processing on imap.
2011-02-13 13:44:06 +00:00
Ted Zlatanov
2609a08e6d
Remove imap-hash.el now that tramp-imap.el is gone.
...
* net/imap-hash.el: Remove file.
2011-02-13 07:16:37 -06:00
Michael Albinus
7a6ebb1a7b
* Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
...
* net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
call.
* net/tramp-imap.el: Remove file.
2011-02-13 13:25:45 +01:00
Ted Zlatanov
563790b6db
Use auto-source-search' instead of
auto-source-user-or-password'.
...
* mail/smtpmail.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(smtpmail-try-auth-methods): Use it.
* net/imap-hash.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(imap-hash-open-connection): Use it.
* net/tramp-imap.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(tramp-imap-passphrase-callback-function): Use it.
* net/tramp.el (tramp-default-method): Also check if
`auth-source-search' is bound.
(tramp-read-passwd): Use `auth-source-search' instead of
`auto-source-user-or-password'.
* url-parse.el (url-bit-for-url, url-user-for-url)
(url-password-for-url): Use `auto-source-search' instead of
`auto-source-user-or-password'.
* url-auth.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password'.
(url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
2011-02-12 11:51:02 -06:00
Deniz Dogan
e0e36cac4a
* lisp/net/rcirc.el (defun-rcirc-join): Accept multiple channels.
2011-02-11 07:19:34 +01:00
Juanma Barranquero
5708ce5e83
* net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
2011-02-11 01:49:28 +01:00
Stefan Monnier
b016851cb1
Move keymap initialization into declaration.
...
* lisp/textmodes/enriched.el (enriched-mode-map):
* lisp/textmodes/bib-mode.el (bib-mode-map):
* lisp/term/lk201.el (lk201-function-map):
* lisp/tar-mode.el (tar-mode-map):
* lisp/replace.el (occur-mode-map):
* lisp/progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
* lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
* lisp/progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
* lisp/play/solitaire.el (solitaire-mode-map):
* lisp/play/snake.el (snake-mode-map, snake-null-map):
* lisp/play/pong.el (pong-mode-map):
* lisp/play/handwrite.el (menu-bar-handwrite-map):
* lisp/play/gametree.el (gametree-mode-map):
* lisp/net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
(rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
* lisp/net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
(newsticker--url-keymap):
* lisp/net/net-utils.el (nslookup-mode-map, ftp-mode-map):
* lisp/menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
(menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
(menu-bar-edit-menu, menu-bar-custom-menu)
(menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
(menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
(menu-bar-line-wrapping-menu, menu-bar-options-menu)
(menu-bar-games-menu, menu-bar-encryption-decryption-menu)
(menu-bar-tools-menu, menu-bar-describe-menu)
(menu-bar-search-documentation-menu, menu-bar-manuals-menu)
(menu-bar-help-menu):
* lisp/mail/rmailsum.el (rmail-summary-mode-map):
* lisp/kmacro.el (kmacro-step-edit-map):
* lisp/ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
(ibuffer-mode-operate-map):
* lisp/hi-lock.el (hi-lock-menu, hi-lock-map):
* lisp/emulation/vip.el (vip-mode-map):
* lisp/emacs-lisp/re-builder.el (reb-lisp-mode-map):
* lisp/bookmark.el (bookmark-bmenu-mode-map):
* lisp/help-mode.el (help-mode-map):
* lisp/erc/erc-list.el (erc-list-menu-mode-map):
* lisp/org/org-remember.el (org-remember-mode-map):
* lisp/org/org-src.el (org-src-mode-map): Move initialization into declaration.
2011-02-10 11:56:00 -05:00
Deniz Dogan
1be1d1e98e
* lisp/net/rcirc.el: Add PRIVMSG and CTCP functions.
...
(rcirc-send-privmsg, rcirc-send-ctcp): New functions.
(rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
(rcirc-cmd-me, rcirc-authenticate): Use them.
2011-02-10 16:41:40 +01:00
Deniz Dogan
4d04fdc950
* lisp/net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2011-02-09 02:22:26 +01:00
Deniz Dogan
ee6a57ab20
* lisp/net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
...
available.
(rcirc-ctcp-sender-PING): New function.
2011-02-09 01:22:01 +01:00
Michael Albinus
07e52e08b0
* net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2011-02-07 09:01:15 +01:00
Deniz Dogan
c5aff743c3
* lisp/net/rcirc.el (rcirc-handler-317): New function. (Bug#6507)
2011-02-07 01:12:17 +01:00
Deniz Dogan
827b77e90f
* lisp/net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
...
(Bug#6386).
2011-02-05 22:07:26 +01:00
Michael Albinus
39b20f56c0
* net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'. Add
...
"NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2011-02-05 11:03:29 +01:00
Michael Albinus
51aba3f351
* net/tramp.el (tramp-postfix-method-format)
...
(tramp-postfix-method-regexp, tramp-prefix-domain-format)
(tramp-prefix-domain-regexp, tramp-postfix-user-format)
(tramp-postfix-user-regexp, tramp-prefix-port-format)
(tramp-prefix-port-regexp, tramp-postfix-host-format)
(tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
Doc fix.
2011-02-05 10:58:45 +01:00
Michael Albinus
2c68ca0e31
Replace "explicite" with "explicit" globally
...
Replace "instead of" with "instead" where there was nothing after "of"
Audit use of comma before interrogative pronoun, "that", or "which"
2011-02-05 10:52:07 +01:00
Lars Ingebrigtsen
984ef96d31
Doc fix.
2011-02-04 12:26:36 +00:00
Michael Albinus
a857d3c7c0
* net/tramp-sh.el (tramp-remote-path): Add default settings for
...
`tramp-default-remote-path' to the docstring.
(tramp-get-remote-path): Suppress error message when `getconf
PATH' fails.
* net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2011-02-03 12:28:16 +01:00
Glenn Morris
2d7d6439d2
rcirc.el trivia.
...
* lisp/net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
(rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2011-02-02 23:14:02 -08:00
Sam Steingold
abef340a0c
* lisp/simple.el (special-mode-map): Bind "h" to `describe-mode';
...
bind "z" to `kill-this-buffer'.
(completion-list-mode-map): Bind "z" to `kill-this-buffer'.
* lisp/apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
(apropos-mode): Inherit from `special-mode'.
* lisp/arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
* lisp/bookmark.el (bookmark-bmenu-mode): Define using
`define-derived-mode' inheriting from `special-mode'.
* lisp/dired.el (dired-mode-map): Inherit from `special-mode-map'.
* lisp/image-mode.el (image-mode-map): Ditto.
* lisp/replace.el (occur-mode): Define using
`define-derived-mode' inheriting from `special-mode'.
* lisp/tar-mode.el (tar-mode): Inherit from `special-mode'.
* lisp/calendar/diary-lib.el (diary-fancy-display-mode):
Inherit from `special-mode-map'.
* lisp/emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
Inherit from `special-mode'.
* lisp/emacs-lisp/package.el (package-menu-mode-map): Copy from
`special-mode-map'.
(package-menu-mode): Define using `define-derived-mode'
inheriting from `special-mode'.
* erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
* lisp/net/xesam.el (xesam-mode): Inherit from `special-mode'.
(xesam-mode-map): Define separately.
* lisp/play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
* lisp/progmodes/compile.el (compilation-minor-mode-map)
(compilation-mode-map): Inherit from `special-mode-map'.
* lisp/vc/diff-mode.el (diff-mode-shared-map):
Inherit from `special-mode-map'.
* lisp/vc/log-view.el (log-view-mode-map): Add a comment.
2011-02-01 16:22:21 -05:00
Deniz Dogan
113ef437f2
Backport Bug#7933 fix from trunk.
...
* lisp/net/rcirc.el: Clean log filenames (Bug#7933).
(rcirc-log-write): Use convert-standard-filename.
(rcirc-log-filename-function): Documentation updates.
2011-01-31 18:11:29 -05:00
Deniz Dogan
2a4466ca20
* lisp/net/rcirc.el: New customizable nick completion format.
...
(rcirc-nick-completion-format): New defcustom.
(rcirc-complete): Use it.
2011-01-31 21:44:45 +01:00
Deniz Dogan
186ecaf1a6
* lisp/net/rcirc.el: Clean log filenames (Bug#7933).
...
(rcirc-log-write): Use convert-standard-filename.
(rcirc-log-filename-function): Documentation updates.
2011-01-31 16:19:57 +01:00
Glenn Morris
95df8112a0
Refill some long/short copyright headers.
2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Giorgos Keramidas
80094035af
* net/rcirc.el (rcirc-kill-buffer-hook): Flush logs.
2011-01-22 17:21:38 +01:00
Michael Albinus
567611822a
* net/tramp.el (tramp-debug-message): Extend function exclude
...
list. Use `regexp-opt'.
2011-01-18 16:33:24 +01:00
Michael Albinus
9cc28d9bd7
Add missing copyright years.
2011-01-18 16:30:51 +01:00
Glenn Morris
e9bffc61f2
Refill some copyright headers.
2011-01-15 18:21:30 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Glenn Morris
d0d4361dba
Add 2011 to remaining FSF/AIST copyright years.
2011-01-15 14:10:37 -08:00
Glenn Morris
362b9d483c
Merge from emacs-23 branch.
2011-01-15 12:03:38 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Deniz Dogan
9cf56b2c82
* net/rcirc.el: Adding maintainer info and e-mail addresses.
2011-01-14 12:25:56 +01:00
Stefan Monnier
4d789d84b8
Use run-mode-hooks for major mode hooks.
...
* lisp/textmodes/reftex-toc.el (reftex-toc-mode-map):
Rename from reftex-toc-map.
(reftex-toc-mode): Use define-derived-mode.
* lisp/textmodes/reftex-sel.el (reftex-select-shared-map): New map.
(reftex-select-label-mode-map, reftex-select-bib-mode-map):
Rename from reftex-select-(label|bib)-map. Move init into declaration.
(reftex-select-label-mode, reftex-select-bib-mode):
Use define-derived-mode.
* lisp/textmodes/reftex-index.el (reftex-index-phrases-mode-map)
(reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
Move init into delcaration.
(reftex-index-mode, reftex-index-phrases-mode):
Use define-derived-mode.
* lisp/speedbar.el (speedbar-mode-syntax-table): Renaqme from
speedbar-syntax-table. Move init into declaration.
(speedbar-mode-map): Rename from speedbar-key-map.
Move init into declaration.
(speedbar-file-key-map): Move init into declaration.
(speedbar-mode): Use define-derived-mode.
* lisp/recentf.el (recentf-mode): Don't run hook (or message) redundantly.
* lisp/net/rcirc.el (rcirc-mode): Use run-mode-hooks.
* lisp/emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
(chart-face-list): Move initialization into declaration.
(chart-mode): Use define-derived-mode.
* lisp/calculator.el (calculator-mode-map): Move init into declaration.
(calculator-mode): Use define-derived-mode.
* lisp/cedet/srecode/srt-mode.el (srecode-template-mode):
Use define-derived-mode.
* lisp/cedet/semantic/symref/list.el (semantic-symref-results-mode):
Use run-mode-hooks.
* lisp/erc/erc.el (erc-mode):
* lisp/erc/erc-dcc.el (erc-dcc-chat-mode): Use define-derived-mode.
* lisp/org/org-remember.el (org-remember-mode):
* lisp/org/org-capture.el (org-capture-mode): Don't run hook redundantly.
Fixes: debbugs:513
2011-01-13 18:14:30 -05:00
Michael Albinus
01d70c32ce
* net/tramp.el (tramp-find-inline-compress)
...
(tramp-get-inline-coding): Quote command after pipe symbol for
local calls under W32. (Bug#6784)
2011-01-10 21:36:09 +01:00
Michael Albinus
6a0ecd86d2
* net/tramp.el (tramp-default-method): Initialize with pscp/plink
...
only when running under W32.
2011-01-10 20:42:46 +01:00
Michael Albinus
5c0b407077
* net/dbus.el (dbus-unregister-service): Complete doc. Fix
...
call of dbus-error signal.
2011-01-10 12:21:01 +01:00
Michael Albinus
1a27c64e1c
* net/dbus.el (dbus-register-property): Use `dont-register' keyword.
2011-01-10 11:53:13 +01:00
Michael Albinus
0a203b6115
* net/dbus.el (dbus-unregister-service): Translate returned
...
integer into a symbol.
(dbus-register-property): Use `dbus-register-service' to do the
name registration.
2011-01-10 10:46:19 +01:00
Andreas Schwab
c8043a225f
* lisp/net/ldap.el (ldap-search-internal): Don't use eval.
2011-01-09 20:34:19 +01:00
Eric Hanchrow
83affcb07a
* net/ldap.el (ldap-search-internal): Discard stderr output.
2011-01-08 14:49:02 -05:00
Michael Albinus
6388924af0
* net/dbus.el (dbus-register-property): Added optional parameter
...
dont-register-service. Updated docstring accordingly.
2011-01-04 11:57:24 +01:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Michael Albinus
01e6260095
* net/tramp.el (tramp-methods): Add recursive options to "scpc",
...
"scpx", "pscp" and "psftp".
Please do not sync with the trunk.
2010-12-31 21:17:53 +01:00
Michael Albinus
8d68c659a6
* net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
...
and "scpx".
2010-12-31 20:57:05 +01:00
Michael Albinus
b191c9d952
* net/tramp.el (tramp-default-method-alist)
...
(tramp-default-user-alist)
(tramp-local-host-regexp, tramp-prefix-domain-format)
(tramp-prefix-domain-regexp): Set tramp-autoload cookie.
* net/tramp-ftp.el:
* net/tramp-gvfs.el:
* net/tramp-gw.el:
* net/tramp-imap.el:
* net/tramp-sh.el:
* net/tramp-smb.el: Add tramp-autoload cookie for initialisation
code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2010-12-30 10:04:15 +01:00
Michael Albinus
4c145d5d06
* net/secrets.el (secrets-delete-alias): New defun.
2010-12-27 18:52:17 +01:00
Michael Albinus
fe99f70420
* net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
...
methods, otherwise ~/.ssh/config would be ignored.
2010-12-27 11:56:26 +01:00
Michael Albinus
d68b02203e
* net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
...
(tramp-handle-insert-file-contents): Do not set permanent-local
property.
* net/tramp-cache.el (tramp-persistency-file-name): Use
`locate-user-emacs-file' if fboundp.
* net/tramp-sh.el (tramp-methods): Add "ksu".
(tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
method list.
2010-12-14 21:33:33 +01:00
Gnus developers
7410c2700a
Merge changes made in Gnus trunk.
...
nnir.el (nnir-run-imap): Return article list in UID order.
gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list of automatically subscribed groups.
(gnus-auto-subscribed-categories): New variable.
(gnus-matches-options-n): Use it.
(gnus-default-subscribed-newsgroups): Remove unused variable.
(gnus-start-draft-setup): Message a bit less.
gnus-agent.el (gnus-agentize): Don't create the queue group automatically on startup. It'll be created later, if needed.
gnus-start.el (gnus-1): Clarify comment.
(gnus-matches-options-n): Fix typo in last change.
(gnus-1): Don't create the nndrafts group twice.
(gnus-setup-news): There's no need to read the active file here, since that's done again later on a per-backend basis.
(gnus-start-draft-setup): Make sure that the new group is started out empty.
netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old and netrc-bound-and-true-p bindings.
(netrc-parse): Cache the netrc contents.
2010-12-13 22:29:12 +00:00
Romain Francoise
bc5576723b
* net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2010-12-13 23:20:32 +01:00
Stefan Monnier
f49d1f52b2
Merge from emacs-23
2010-12-13 10:27:36 -05:00
Michael Albinus
158d594568
* net/tramp.el (tramp-action-password, tramp-process-actions):
...
Revert patch from 2010-12-08. Use `save-restriction'.
2010-12-10 05:14:57 +01:00
Michael Albinus
32802ee17d
* net/tramp.el (tramp-handle-start-file-process): Protect
...
buffer-modified value. (Bug#7557)
(tramp-action-password): Delete region, do not narrow.
(tramp-process-actions): Do not widen.
2010-12-08 21:07:25 +01:00
Glenn Morris
c5fd0ab5bf
Remove some browse-url.el autoloads.
...
* lisp/net/browse-url.el (browse-url-url-at-point)
(browse-url-default-browser): Remove autoload cookies.
2010-12-02 19:04:29 -08:00
Michael Albinus
66feec8bbe
* net/tramp.el (tramp-local-host-regexp): Add "localhost6".
...
(tramp-file-name-port): Check also for `tramp-default-port'.
(tramp-get-connection-name): New defun.
(tramp-get-connection-process): Use it.
(tramp-debug-message): Extend function exclude list.
(tramp-drop-volume-letter): Fix doc string.
* net/tramp-cmds.el: Remove solved todo item.
* net/tramp-efs.el:
* net/tramp-ftp.el:
* net/tramp-gvfs.el:
* net/tramp-gw.el:
* net/tramp-imap.el:
* net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
and `tramp-default-user-alist', respectively.
* net/tramp-gw.el (tramp-gw-open-connection): Use
`tramp-get-connection-name' and `tramp-get-connection-buffer'.
* net/tramp-imap.el (tramp-imap-make-iht): Use just
`tramp-file-name-port'.
* net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
and "psftp". Exchange "%k" marker with options.
(tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
Compute size of link target.
(tramp-do-copy-or-rename-file-out-of-band). Move setting of
`tramp-current-*' up due to gateway methods. Optimze computing of
copy arguments. Use `tramp-get-connection-name' and
`tramp-get-connection-buffer'. Improve debug messages.
(tramp-compute-multi-hops): Remove port determination.
(tramp-maybe-open-connection): Use `tramp-get-connection-name'.
* net/trampver.el: Update release number.
2010-12-02 20:34:31 +01:00
Chong Yidong
07976ae3b8
Merge changes from emacs-23 branch
2010-11-27 15:04:57 -05:00
Lars Magne Ingebrigtsen
876d1684cf
Introduce a new `browse-url-mailto-function' variable for mailto: URLs.
2010-11-24 07:29:06 +01:00
Michael Albinus
e40fc74517
* net/tramp.el (tramp-default-method-alist)
...
(tramp-default-user-alist, tramp-default-proxies-alist): Adapt
custom options type. (Bug#7445)
2010-11-23 20:52:25 +01:00
Michael Albinus
e274eb13e0
* files.el (backup-by-copying-when-mismatch): The default value is
...
now t.
* startup.el (normal-top-level):
* net/tramp.el (tramp-handle-insert-file-contents): Do not set
`backup-by-copying-when-mismatch'.
2010-11-21 20:39:21 +01:00
Michael Albinus
7398933f95
Sync with Tramp 2.2.0.
...
* net/tramp.el (tramp-handle-insert-file-contents): Don't use
`file-remote-p' (due to compatibility).
* net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
* net/trampver.el: Update release number.
2010-11-20 14:12:27 +01:00
Michael Albinus
6e060cee81
* net/tramp-compat.el (tramp-compat-line-beginning-position)
...
(tramp-compat-line-end-position): Remove them.
* net/tramp.el (tramp-parse-rhosts-group)
(tramp-parse-shosts-group, tramp-parse-sconfig-group)
(tramp-parse-hosts-group, tramp-parse-passwd-group)
(tramp-parse-netrc-group, tramp-parse-putty-group)
* net/tramp-cmds.el (tramp-append-tramp-buffers)
* net/tramp-sh.el (tramp-do-file-attributes-with-ls)
(tramp-sh-handle-file-selinux-context)
(tramp-sh-handle-file-name-all-completions)
(tramp-sh-handle-insert-directory)
(tramp-sh-handle-expand-file-name, tramp-find-executable)
(tramp-wait-for-output, tramp-send-command-and-read)
* net/tramp-smb.el (tramp-smb-read-file-entry)
(tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
* net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
`point-at-bol'.
(tramp-remote-coding-commands): Add an alternative using "base64
-d -i". This is needed for older base64 versions from GNU
coreutils. Reported by Klaus Reichl
<Klaus.Reichl@thalesgroup.com>.
2010-11-13 11:42:32 +01:00
Michael Albinus
cdf015b188
* net/tramp.el (tramp-remote-coding-commands): Add an alternative
...
using "base64 -d -i". This is needed for older base64 versions
from GNU coreutils. Reported by Klaus Reichl
<Klaus.Reichl@thalesgroup.com>.
This must not be merged with the trunk.
2010-11-13 11:08:21 +01:00
Lars Magne Ingebrigtsen
afe2870bf5
* net/browse-url.el (browse-url-browser-function): Change the
...
default to use `browse-url-mail' on mailto: URLs.
2010-11-10 23:27:02 +01:00
Glenn Morris
17731c39b2
net-utils system-type trivia.
...
* lisp/net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
(ping-program-options): Remove non-existent `linux' system-type.
2010-11-09 20:13:21 -08:00
Katsumi Yamaoka
5ad3e88588
net/browse-url.el (browse-url-mail): Insert body part of mailto url in mail buffer; make yank-action always a command that yanks original buffer.
2010-11-10 00:02:44 +00:00
Stefan Monnier
d607b96bc2
Merge from emacs-23
2010-11-09 15:07:10 -05:00
Glenn Morris
9b026d9f13
Replace still more end-of-line etc with line-end-position, etc.
...
* lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
(nnbabyl-check-mbox): Use point-at-bol.
* lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
* lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue):
* lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter):
Use point-at-bol and point-at-eol.
* lisp/vc/emerge.el (emerge-line-number-in-buf):
* lisp/textmodes/ispell.el (ispell-region):
* lisp/textmodes/fill.el (current-fill-column):
* lisp/progmodes/xscheme.el (xscheme-send-current-line):
* lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment):
* lisp/progmodes/sh-script.el (sh-handle-prev-do):
* lisp/progmodes/meta-mode.el (meta-indent-line):
* lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
(idlwave-in-quote):
* lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame)
(idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
* lisp/progmodes/fortran.el (fortran-looking-at-if-then):
* lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
* lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent)
(cperl-find-pods-heres):
* lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
* lisp/net/quickurl.el (quickurl-list-insert):
* lisp/net/ldap.el (ldap-search-internal):
* lisp/net/eudc.el (eudc-expand-inline):
* lisp/mail/sendmail.el (sendmail-send-it):
* lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
* lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
(viper-brac-function):
* lisp/calc/calc-yank.el (calc-do-grab-region):
* lisp/calc/calc-keypd.el (calc-keypad-press):
* lisp/term.el (term-move-columns, term-insert-spaces):
* lisp/speedbar.el (speedbar-highlight-one-tag-line):
* lisp/simple.el (current-word):
* lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
* lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference)
(Info-scroll-down):
* lisp/hippie-exp.el (he-line-beg):
* lisp/epa.el (epa--marked-keys):
* lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines)
(dired-update-file-line, dired-add-entry, dired-remove-entry)
(dired-relist-entry):
* lisp/buff-menu.el (Buffer-menu-buffer):
* lisp/array.el (current-line):
* lisp/allout.el (allout-resolve-xref)
(allout-latex-verbatim-quote-curr-line):
Replace yet more uses of end-of-line etc with line-end-position.
2010-11-08 21:33:07 -08:00
Glenn Morris
3ba6b2ee6a
Replace unneeded compatibility definitions with point-at-bol, point-at-eol.
...
* lisp/progmodes/verilog-mode.el (verilog-get-beg-of-line)
(verilog-get-end-of-line): Remove.
(verilog-within-string, verilog-re-search-forward-substr)
(verilog-re-search-backward-substr, verilog-set-auto-endcomments)
(verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
Use point-at-bol, point-at-eol.
* lisp/progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
Remove.
(pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
(electric-pascal-terminate-line, pascal-set-auto-comments)
(pascal-indent-paramlist, pascal-indent-declaration)
(pascal-get-lineup-indent, pascal-func-completion)
(pascal-get-completion-decl, pascal-var-completion, pascal-completion):
Use point-at-bol, point-at-eol.
* lisp/progmodes/flymake.el (flymake-line-beginning-position)
(flymake-line-end-position): Remove.
(flymake-highlight-line): Use point-at-bol, point-at-eol.
* lisp/eshell/esh-util.el (line-end-position, line-beginning-position):
Remove compat definitions.
* net/tramp/tramp-compat.el: Comment.
2010-11-06 18:50:52 -07:00
Glenn Morris
5ed619e0a3
Use line-end-position rather than end-of-line, etc.
...
* textmodes/texnfo-upd.el (texinfo-start-menu-description)
(texinfo-update-menu-region-beginning, texinfo-menu-first-node)
(texinfo-delete-existing-pointers, texinfo-find-pointer)
(texinfo-clean-up-node-line, texinfo-insert-node-lines)
(texinfo-multiple-files-update):
* textmodes/table.el (table--probe-cell-left-up)
(table--probe-cell-right-bottom):
* textmodes/picture.el (picture-tab-search):
* textmodes/page-ext.el (pages-copy-header-and-position)
(pages-directory-for-addresses):
* progmodes/vera-mode.el (vera-get-offset):
* progmodes/simula.el (simula-calculate-indent):
* progmodes/python.el (python-pdbtrack-overlay-arrow):
* progmodes/prolog.el (end-of-prolog-clause):
* progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
* progmodes/icon.el (indent-icon-exp):
* progmodes/etags.el (tag-re-match-p):
* progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
* progmodes/ebnf2ps.el (ebnf-begin-file):
* progmodes/dcl-mode.el (dcl-back-to-indentation-1)
(dcl-save-local-variable):
* play/life.el (life-setup):
* play/gametree.el (gametree-looking-at-ply):
* nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
* mail/sendmail.el (mail-mode-auto-fill):
* emacs-lisp/lisp-mode.el (calculate-lisp-indent):
* emacs-lisp/edebug.el (edebug-overlay-arrow):
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
* woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
(woman-tab-to-tab-stop, WoMan-warn-ignored):
* type-break.el (type-break-file-keystroke-count):
* term.el (term-replace-by-expanded-history-before-point)
(term-skip-prompt, term-extract-string):
* speedbar.el (speedbar-edit-line, speedbar-expand-line)
(speedbar-contract-line, speedbar-toggle-line-expansion)
(speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
(speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
* sort.el (sort-skip-fields):
* skeleton.el (skeleton-internal-list):
* simple.el (line-move-finish, line-move-to-column):
* shell.el (shell-forward-command):
* misc.el (copy-from-above-command):
* makesum.el (double-column):
* ebuff-menu.el (electric-buffer-update-highlight):
* dired.el (dired-move-to-end-of-filename):
* dframe.el (dframe-popup-kludge):
* bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
* arc-mode.el (archive-get-lineno):
Use line-end-position and line-beginning-position.
* net/ange-ftp.el, progmodes/hideif.el, reposition.el:
Same, but only in comments.
2010-11-06 13:23:42 -07:00