1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
Commit graph

11981 commits

Author SHA1 Message Date
Eric S. Raymond
228c21924a *** empty log message *** 2007-10-08 23:27:38 +00:00
Michael Albinus
1834b39f16 * net/tramp.el (tramp-find-foreign-file-name-handler): Check also
host.
(tramp-maybe-send-script): Apply `member' but `memq'.
(tramp-advice-file-expand-wildcards): Simplify implementation.
2007-10-08 20:07:16 +00:00
Juanma Barranquero
8ea4c22f84 *** empty log message *** 2007-10-08 16:14:23 +00:00
Juanma Barranquero
3d0910ae25 (minibuf-depth-indicator-function): New variable.
(minibuf-depth-setup-minibuffer): Use it.
2007-10-08 14:48:39 +00:00
Glenn Morris
72d595b5f1 (bad-packages-alist): Clarify Semantic and CEDET version numbers. 2007-10-07 00:31:20 +00:00
Juri Linkov
3220ac7f5e (cua-paste): Check if mouse-region-match is fbound
to not fail on mouseless tty.
2007-10-06 22:20:41 +00:00
Michael Albinus
a6e9632782 * net/tramp.el (top): Move loading of tramp-util.el and
tramp-vc.el to tramp-compat.el.
(tramp-make-tramp-temp-file): Complete rewrite.  Create remote
temporary file if possible, in order to avoid a security hole.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Call `tramp-make-tramp-temp-file'
with DONT-CREATE, because the connection is not setup yet.
(tramp-handle-process-file): Rewrite temporary file handling.
(tramp-completion-mode): New defvar.
(tramp-completion-mode-p): Use it.

* net/tramp-compat.el (top):  Load tramp-util.el and tramp-vc.el.

* net/tramp-fish.el (tramp-fish-handle-process-file): Rewrite
temporary file handling.
2007-10-06 12:00:42 +00:00
Eric S. Raymond
61de26cb85 Port various comments from new VC to reduce the noise in the diff.
Rename vc-revert-buffer1 to vc-revert-buffer-internal.
Patch in the new vc-create-repo function to go with the
header comment about it already present.
No changes to existing logic.
2007-10-06 11:14:32 +00:00
Eric S. Raymond
0d0e935627 Terminology sync, workfile version -> focus version. 2007-10-06 08:56:58 +00:00
Glenn Morris
490a8abe37 John W. Eaton <jwe at octave.org>
(octave-abbrev-table): Add "until".
(octave-begin-keywords): Add "do".
(octave-end-keywords): Remove "end".
(octave-reserved-words): Add "end".  Remove "all_va_args",
"gplot", and 'gsplot".
(octave-text-functions): Remove "gset", "gshow", "set", and "show".
(octave-variables): Remove "IMAGEPATH", "INFO_FILE",
"INFO_PROGRAM", "LOADPATH", "__error_text__", "automatic_replot",
"default_return_value", "define_all_return_values",
"do_fortran_indexing", "empty_list_elements_ok",
"gnuplot_has_multiplot", "implicit_str_to_num_ok",
"ok_to_lose_imaginary_part", "prefer_column_vectors",
"prefer_zero_one_indexing", "propagate_empty_matrices",
"resize_on_range_error", "treat_neg_dim_as_zero",
"warn_assign_as_truth_value", "warn_comma_in_global_decl",
"warn_divide_by_zero", "warn_function_name_clash",
"warn_missing_semicolon", "whitespace_in_literal_matrix".
Add "DEFAULT_EXEC_PATH", "DEFAULT_LOADPATH", "IMAGE_PATH",
"crash_dumps_octave_core", "sighup_dumps_octave_core",
"sigterm_dumps_octave_core".
(octave-block-match-alist): Remove "end" from block-end keywords.
(octave-mode): Update ftp site address.
2007-10-06 01:49:23 +00:00
Dan Nicolaescu
2765044b39 Reorder functions, no code changes. 2007-10-05 04:35:37 +00:00
Michael Albinus
258800f85f * net/tramp.el (tramp-make-temp-file): Move to tramp-compat.el.
(tramp-do-copy-or-rename-file-directly): Handle tmpfile only in
the cond clauses where needed.
(tramp-handle-write-region): Rearrange code for proper handling of
tmpfile.

* net/tramp-compat.el (tramp-compat-make-temp-file): New defsubst.

* net/tramp.el:
* net/tramp-fish.el:
* net/tramp-ftp.el:
* net/tramp-smb.el: Rename `tramp-make-temp-file' to
`tramp-compat-make-temp-file'.
2007-10-04 20:09:32 +00:00
Juanma Barranquero
b138403dca (image-dired-image-at-point-p): Fix typo in docstring. 2007-10-04 16:46:19 +00:00
Stefan Monnier
2cb250dd39 (copyright-update): Don't update if the file
already uses a more recent copyright version than the "current" one.
2007-10-03 23:42:06 +00:00
Michaël Cadilhac
e48a5bf9dd (doc-view-dvi->pdf-sentinel, doc-view-reset-slice)
(doc-view-insert-image): Minor aesthetical docstring changes.
2007-10-03 23:40:07 +00:00
Michaël Cadilhac
1ca678aaf7 (doc-view): Don't ignore pdf and dvi files when completing filename.
(doc-view-search-internal): Docstring change.
2007-10-03 23:28:19 +00:00
Michael Albinus
94be87e8b7 * net/tramp.el (top): Add tramp-compat to `tramp-unload-hook'.
(tramp-file-name-handler-alist): Add
`tramp-handle-insert-file-contents-literally'.  Neded for XEmacs.
(tramp-make-temp-file): Use `make-temp-name'. `make-temp-file',
used before, creates the file already, which is not desired.
(tramp-do-copy-or-rename-file-directly): Simplify handling of
temporary file.
(tramp-handle-insert-file-contents): Assign the result in the
short track case.
(tramp-handle-insert-file-contents-literally): New defun.
(tramp-completion-mode-p): Revert change from 2007-09-24.
Checking for `return' etc as last character is not sufficient, for
example in dired-mode when entering <g> (revert-buffer) or
<s> (dired-sort).

* net/tramp-compat.el (top): Add also compatibility code for loading
appropriate timer package.
(tramp-compat-copy-tree): Check for `subrp' and `symbol-file' in
order to avoid autoloading problems.

* net/tramp-fish.el:
* net/tramp-smb.el: Move further compatibility code to
tramp-compat.el.

* net/tramp-ftp.el (tramp-ftp-file-name-handler): Handle the case
where the second parameter of `copy-file' or `rename-file' is a
remote file but not via ftp.
2007-10-03 10:54:03 +00:00
Richard M. Stallman
c9a39885f6 *** empty log message *** 2007-10-02 02:05:46 +00:00
Thien-Thi Nguyen
5db1723918 (zone): Let-bind show-trailing-whitespace to nil. 2007-10-01 06:36:58 +00:00
Jay Belanger
86e405cfcb calc-math.el (math-largest-emacs-expt): Handle the cases when expt
doesn't give range errors.
2007-10-01 03:18:00 +00:00
David Kastrup
aa5310e43a (argv): Alias for `command-line-args-left' to use as
`(pop argv)' inside of --eval command sequences.  Allows for
passing shell commands into Emacs verbatim without need for Lisp
quoting.
2007-09-30 20:43:14 +00:00
David Kastrup
fdc31e1d38 (auto-revert-handler): In `auto-revert-tail-mode',
check only for changed size.
(auto-revert-tail-handler): Get size from caller.  If the file has
shrunk, tail the whole file again (the file presumably has been
rewritten).
2007-09-30 20:26:55 +00:00
David Kastrup
b616a212d4 (woman-topic-all-completions, woman-mini-help): Fix
fallout from 2007-09-07 introduction of `dolist' when the list
actually was being manipulated in the loop.
(woman-Cyg-to-Win, woman-pre-process-region)
(woman-horizontal-escapes, woman-if-body, woman-unescape)
(woman-strings, woman-special-characters, woman1-hc)
(woman-change-fonts, woman-find-next-control-line): Use
`match-beginning' rather than `match-string' when the result is
just used as a flag.
2007-09-30 19:10:44 +00:00
Michael Albinus
9e6ab520d0 * net/tramp-compat.el: New file.
* net/tramp.el:
* net/tramp-fish.el:
* net/tramp-smb.el:
* net/tramp-uu.el:
* net/trampver.el: Move compatibility code to tramp-compat.el.
Apply `mapc' instead of `mapcar' when the code needs side effects
only.  Move utf-8 coding cookie to the second line.
2007-09-30 16:43:07 +00:00
Reiner Steib
2e55c9864d (x-gtk-stock-map): Add Gnus and MH-E icons. Improve custom type.
(icon-map-list): Make it customizable.  Document how to disable stock icons.
2007-09-30 11:25:08 +00:00
Richard M. Stallman
ef673042dd (zone-hiding-modeline): Use mode-line-format. 2007-09-30 11:00:54 +00:00
Jan Djärv
1c801aa915 *** empty log message *** 2007-09-29 16:23:47 +00:00
Stefan Monnier
0e2806fa7e (gpm-mouse-mode): Rename from t-mouse-mode. Rewrite.
(t-mouse-mode): New compatibility alias.
2007-09-28 20:13:31 +00:00
Dan Nicolaescu
977ede64fe (server-delete-client): Only delete the terminal if it
is non-nil.
2007-09-28 16:55:00 +00:00
Michael Albinus
9ce8462a49 * net/tramp.el (with-file-property, with-connection-property):
Highlight as keyword.
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-set-file-uid-gid, tramp-do-copy-or-rename-file-via-buffer)
(tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-handle-shell-command, tramp-get-debug-buffer)
(tramp-send-command-and-read, tramp-equal-remote)
(tramp-get-local-gid): Pacify byte-compiler.
(tramp-handle-file-name-directory): Result shall not be expanded.
(tramp-find-foreign-file-name-handler): Rewrite.
(tramp-dissect-file-name): Add optional parameter NODEFAULT.

* net/tramp-cache.el (tramp-cache-print): Pacify byte-compiler.

* net/tramp-fish.el (tramp-fish-handle-expand-file-name): Apply
`tramp-completion-mode-p'.
(tramp-fish-handle-set-file-times)
(tramp-fish-handle-executable-find)
(tramp-fish-handle-process-file, tramp-fish-get-file-entries)
(tramp-fish-retrieve-data): Pacify byte-compiler.

* net/tramp-gw.el (tramp-gw-basic-authentication): Call
`tramp-read-passwd' with first parameter `nil'.
2007-09-28 16:05:49 +00:00
Glenn Morris
332de56fe9 Add TeX super/sub script. 2007-09-28 03:36:15 +00:00
Glenn Morris
8b6f62fc57 (tex-suscript-height-ratio, tex-suscript-height-minimum): New
customizable variables.
(tex-suscript-height): New function.
(superscript, subscript): Set height using tex-suscript-height
rather than fixing at 0.8.
2007-09-28 03:29:59 +00:00
Juanma Barranquero
2092ac41d6 (python-eldoc-function): Doc fix. 2007-09-27 11:55:06 +00:00
Glenn Morris
02cfff3525 Whitespace. 2007-09-27 06:44:21 +00:00
Glenn Morris
5e8537bb53 *** empty log message *** 2007-09-27 06:38:15 +00:00
Michael Albinus
1437876ce3 * net/tramp.el (tramp-maybe-open-connection): Make test for alive
connection more robust.
2007-09-27 04:37:33 +00:00
Juanma Barranquero
c4e36c26f6 (eldoc-function-argstring-format): Deal with the case that special
&keywords are at the beginning or end of the argument list.
Also add some (incomplete) support for non-standard arglists.
2007-09-26 15:59:13 +00:00
Juanma Barranquero
d9d31f0a44 (eldoc-message-commands-table-size, eldoc-message-commands,
eldoc-current-idle-delay, eldoc-function-argstring-format):
Fix typos in docstrings.
2007-09-26 11:55:46 +00:00
Jay Belanger
0f3955d99c (calc-convert-units, calc-convert-temperature): Remove unnecessary
colons.
2007-09-26 06:00:47 +00:00
John Wiegley
d509888517 2007-09-26 Bastien Guerry <bzg@altern.org>
* org-export-latex.el (org-export-latex-tables-verbatim): New
	function.
	(org-export-latex-remove-from-headlines): Name changed because of
	typo.
	(org-export-latex-quotation-marks-convention): Option removed.
	(org-export-latex-make-preamble): Handle the DATE option.
	(org-export-latex-cleaned-string): Now the only cleaning function,
	synched up with org.el.
	(org-export-latex-lists, org-export-latex-parse-list)
	(org-export-list-to-latex): New functions.


2007-09-26  Carsten Dominik  <dominik@science.uva.nl>

	* org.el (org-kill-is-subtree-p): Use `org-outline-regexp'.
	(org-outline-regexp): New constant.
	(org-remember-handler): Throw error when the target file is not in
	org-mode.
	(org-cleaned-string-for-export): No longer call
	`org-export-latex-cleaned-string' with an argument.
	(org-get-tags): Returns now a list, not a string.
	(org-get-tags-string): New function.
	(org-archive-subtree): No need to split return of `org-get-tags'.
	(org-set-tags, org-entry-properties): Call `org-get-tags-string'
	instead of `org-get-tags'.
	(org-agenda-format-date): Renamed from `org-agenda-date-format'.
	(org-time-from-absolute, org-agenda-format-date-aligned): New
	functions.
	(org-compatible-face): New argument INHERITS.  Inherit from this
	face if possible.
	(org-level-1, org-level-2, org-level-3, org-level-4)
	(org-level-5, org-level-6, org-level-7, org-level-8)
	(org-special-keyword, org-drawer, org-column, org-warning)
	(org-archived, org-todo, org-done, org-headline-done, org-table)
	(org-formula, org-code, org-agenda-structure)
	(org-scheduled-today, org-scheduled-previously)
	(org-upcoming-deadline, org-time-grid): Call `org-compatible-face'
	in the new way.
	(org-get-heading): New argument NO-TAGS.
	(org-fast-tag-selection-include-todo): Made defvar instead of
	defcustom, feature is not deprecated.
	(org-remember-store-without-prompt): New default value t.
	(org-todo-log-states): New variable.
	(org-set-regexps-and-options): #+TODO is an alias for SEQ_TODO.
	Compute the log states.
	(org-goto-map): More commands copied from global map.  Also bind
	`org-occur'.
	(org-goto): Made into a general lookup command.
	(org-get-location): Complete rewrite.
	(org-goto-exit-command): New variable.
	(org-goto-selected-point): New variable.
	(org-goto-ret, org-goto-left, org-goto-right, org-goto-quit): Set
	the new variables.
	(org-paste-subtree): Whitespace insertion strategy revised.
	(org-remember-apply-template): Protect v-A from the possibility
	that v-a might be nil.
	(org-remember-handler): Insertion rules revised.
	(org-todo): Respect org-todo-log-states.
	(org-up-heading-safe): New function.
	(org-entry-get-with-inheritance): Use `org-up-heading-safe'.

	* org.texi: Change links to webpage and maintained email.
	(Remember): Promoted to Chapter, significant changes.
	(Fast access to TODO states): New section.
	(Faces for TODO keywords): New section.
	(Export options): Example for #+DATE.
	(Progress logging): Section moved.
2007-09-26 05:05:01 +00:00
Dan Nicolaescu
62035afde2 (c-indent-line-or-region): Only indent the
region if in transient-mark-mode.
2007-09-26 03:18:21 +00:00
Juanma Barranquero
4e454e5bed (table--generate-source-epilogue, table-insert,
table--generate-source-cells-in-a-row, table--make-cell-map,
*table--cell-describe-bindings): Use `mapc' rather than `mapcar'.
2007-09-26 00:36:39 +00:00
Juanma Barranquero
1909cca025 (woman-dired-define-keys): Use mapc' rather than mapcar'. 2007-09-25 11:17:39 +00:00
Glenn Morris
13b1f3409f *** empty log message *** 2007-09-25 07:29:08 +00:00
Glenn Morris
5aca5ac39c (view-search-no-match-lines): Add a doc string. Rewrite to simplify
and work better.
2007-09-25 02:28:49 +00:00
Dan Nicolaescu
17ee46255f * progmodes/cc-mode.el (c-mode-base-map): Use
c-indent-line-or-region instead of c-indent-line.

* indent.el (indent-for-tab-command): First check if the region is
active.
2007-09-24 17:48:50 +00:00
Michaël Cadilhac
f0fe5c145d (whitespace-tickle-timer): Don't install the timer if
whitespace-rescan-timer-time is 0.
2007-09-24 15:16:01 +00:00
Karl Berry
104b04f5ad doc string grammar 2007-09-24 13:54:18 +00:00
Michael Albinus
6c4e47fa46 * net/tramp.el (tramp-completion-mode-p): Rename from
`tramp-completion-mode'. Revert logic, check `return', `newline'
and such alike. Packages like Icicles tend to use other completion
characters but `tab' and `space' only.
2007-09-24 05:29:29 +00:00
Glenn Morris
f4ff3e5cc0 Adam Hupp <adam at hupp.org>
(run-python): Import emacs module without waiting; prevents lockup on
error.
2007-09-24 00:12:25 +00:00