1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

584 Commits

Author SHA1 Message Date
Juri Linkov
744059aeec (Info-isearch-filter): Don't filter out invisible text
when search-invisible is t.  (Bug#1848)
2009-01-14 23:09:45 +00:00
Eli Zaretskii
8b5e8b42f7 Fix Bug #876:
(info-insert-file-contents, Info-insert-dir): Bind inhibit-null-byte-detection
to non-nil.
2009-01-10 10:43:11 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Juri Linkov
3fbb3dc480 (Info-find-node-2): Use negative offset 2 instead of 1
for Info-point-loc since it is more correct in all cases.
(Info-isearch-filter): Rename from
`Info-isearch-filter-predicate'.  Doc fix.
(Info-mode): Replace `Info-isearch-filter-predicate' with
`Info-isearch-filter'.
2008-12-23 21:03:09 +00:00
Juri Linkov
74a131b6a1 (Info-isearch-search): Implement lax version of
incremental word search in Info.
(Info-isearch-start): Set Info-isearch-initial-node to the
current node when search is nonincremental to not stop at the
initial node in this case.
(Info-mode-map): Unbind "\M-s" from `Info-search'.
2008-12-19 00:20:48 +00:00
Lute Kamstra
9201cc281b * align.el:
* allout.el:
* apropos.el:
* arc-mode.el:
* autoinsert.el:
* avoid.el:
* battery.el:
* bookmark.el:
* buff-menu.el:
* calculator.el:
* chistory.el:
* cmuscheme.el:
* comint.el:
* compare-w.el:
* dabbrev.el:
* delim-col.el:
* desktop.el:
* diff-mode.el:
* diff.el:
* dired-aux.el:
* dired-x.el:
* dired.el:
* dos-vars.el:
* ediff-diff.el:
* ediff-help.el:
* ediff-init.el:
* ediff-merg.el:
* ediff-mult.el:
* ediff-ptch.el:
* ediff-vers.el:
* ediff-wind.el:
* ediff.el:
* emerge.el:
* facemenu.el:
* faces.el:
* ffap.el:
* filecache.el:
* find-dired.el:
* font-core.el:
* font-lock.el:
* forms.el:
* fringe.el:
* help-at-pt.el:
* hippie-exp.el:
* ido.el:
* image-file.el:
* imenu.el:
* indent.el:
* info.el:
* isearchb.el:
* iswitchb.el:
* jit-lock.el:
* jka-compr.el:
* log-edit.el:
* lpr.el:
* ls-lisp.el:
* man.el:
* menu-bar.el:
* midnight.el:
* mouse-sel.el:
* mouse.el:
* msb.el:
* outline.el:
* paren.el:
* pcmpl-cvs.el:
* pcmpl-gnu.el:
* pcomplete.el:
* pcvs-info.el:
* pcvs-parse.el:
* printing.el:
* ps-mule.el:
* ps-print.el:
* replace.el:
* ruler-mode.el:
* saveplace.el:
* sb-image.el:
* scroll-bar.el:
* sha1.el:
* shadowfile.el:
* shell.el:
* sort.el:
* speedbar.el:
* strokes.el:
* tempo.el:
* term.el:
* terminal.el:
* time-stamp.el:
* time.el:
* tree-widget.el:
* type-break.el:
* vc-cvs.el:
* vc-hg.el:
* vc-mcvs.el:
* vc-rcs.el:
* vc-sccs.el:
* vc.el:
* view.el:
* w32-vars.el:
* whitespace.el:
* wid-edit.el: Remove leading * from docstrings of defcustoms,
deffaces, defconsts and defuns.
2008-12-03 05:48:14 +00:00
Juri Linkov
a2c72e6cb9 (Info-search, Info-mode): Rename
`isearch-success-function' to `isearch-filter-predicate'.
(Info-isearch-filter-predicate): Rename from
`Info-search-success-function'.
2008-11-17 00:43:58 +00:00
David Reitter
eb033d40ca Info-mode: Do not remove an existing header line if `Info-use-header-line' is nil. 2008-10-20 02:23:01 +00:00
Juri Linkov
2a5671979e (Info-file-supports-index-cookies): Fix typo in docstring. 2008-10-19 23:23:34 +00:00
Juri Linkov
66fc722fc3 * info.el (Info-file-supports-index-cookies-list): New variable.
(Info-file-supports-index-cookies): New function.
(Info-find-node-2, Info-index-nodes, Info-index-node): Use it.
(Info-index-nodes): Let-bind Info-point-loc to nil for files
without an index cookie to ignore it when Info-index-nodes is
called during navigating from an index node with line numbers.
(Info-index-node): Set file to Info-current-file if nil.  (Bug#1118)

* info.el (Info-breadcrumbs-depth): Move defcustom higher to the
variable definition section.
2008-10-18 23:45:05 +00:00
Juri Linkov
73bde1a893 (Info-find-node-2): Put initial point below the header line and breadcrumbs line. 2008-10-18 23:05:11 +00:00
Chong Yidong
b88e7560b8 (info-tool-bar-map): Initialize it unconditionally. 2008-10-11 19:57:25 +00:00
Martin Rudalics
c24d482671 (Info-extract-menu-counting): New argment no-detail to
skip detailed node listings.
(Info-forward-node): New argument not-up to inhibit going up.
(Info-final-node): Call Info-extract-menu-counting and
Info-forward-node with the new arguments set to avoid infinite
looping.  (Bug#1116)
2008-10-10 13:47:49 +00:00
Martin Rudalics
2cf7c3d167 (Info-follow-nearest-node): Don't raise an error for
mouse-1 clicks.
2008-09-17 06:52:00 +00:00
Glenn Morris
7d1ac20665 (Info-try-follow-nearest-node): Fix doc typo. 2008-09-10 02:33:29 +00:00
Glenn Morris
e246983589 Stephen Berman <stephen.berman at gmx.net>
(Info-mouse-follow-nearest-node): Follow links to different manuals. (Bug#886)
2008-09-10 02:31:58 +00:00
Martin Rudalics
3bfd723a38 (Info-dir-remove-duplicates): Narrow buffer when
removing duplicate entries under same heading.  Don't skip char
matching anything but a space or tab at bol.  (Bug#864)
2008-09-04 08:17:57 +00:00
Glenn Morris
a0b8485f47 (Info-hide-note-references, Info-refill-paragraphs): Doc fixes. 2008-08-30 20:16:47 +00:00
Juri Linkov
88e1d519f0 (info, Info-mode): Doc fix. 2008-07-30 17:17:13 +00:00
Dan Nicolaescu
9e2a264775 Remove support for Mac Carbon.
* mactoolbox.c:
* macterm.h:
* macterm.c:
* macselect.c:
* macmenu.c:
* macgui.h:
* macfns.c:
* mac.c: Remove file.
* s/darwin.h:
* m/intel386.h:
* xfaces.c:
* xdisp.c:
* window.c:
* tparam.c:
* termhooks.h:
* termcap.c:
* term.c:
* syssignal.h:
* sysselect.h:
* sysdep.c:
* process.c:
* lread.c:
* lisp.h:
* keyboard.c:
* image.c:
* fringe.c:
* frame.h:
* frame.c:
* fontset.c:
* font.h:
* font.c:
* fns.c:
* fileio.c:
* emacs.c:
* dispnew.c:
* dispextern.h:
* config.in:
* atimer.c:
* Makefile.in: Remove code for Carbon

* erc.el: Remove code for Carbon.

Remove support for Mac Carbon.
* term/mac-win.el: Remove file
* international/mule-cmds.el:
* version.el:
* startup.el:
* simple.el:
* mwheel.el:
* mouse.el:
* loadup.el:
* isearch.el:
* info.el:
* frame.el:
* faces.el:
* disp-table.el:
* cus-start.el:
* cus-face.el:
* cus-edit.el:
* Makefile.in: Remove code for Carbon.

Remove support for Mac Carbon.
* makefile.w32-in:
* emacsclient.c: Remove code for Carbon.

* PROBLEMS:
* MACHINES: Remove mentions of Mac Carbon.

* ns-emacs.texi:
* faq.texi: Remove mentions of Mac Carbon.

* os.texi:
* frames.texi:
* display.texi: Remove mentions of Mac Carbon.

* xresources.texi: Remove mentions of Mac Carbon.

* make-tarball.txt:
* admin.el:
* FOR-RELEASE:
* CPP-DEFINES: Remove mentions of Mac Carbon.

Remove support for Mac Carbon.
* mac: Remove directory.
* make-dist:
* configure.in:
* README:
* Makefile.in:
* INSTALL:  Remove code for Carbon.
* configure: Regenerate.
2008-07-27 18:24:48 +00:00
Adrian Robert
edfda78355 merging Emacs.app (NeXTstep port) 2008-07-15 18:15:18 +00:00
Stefan Monnier
43f8b27568 * bookmark.el (bookmark-alist): Allow the 2 slightly different formats
used until now in bookmark.el's code.
(bookmark-get-bookmark): Accept bookmark names or bookmark records.
(bookmark-get-bookmark-record): Allow the 2 slightly different formats
used until now in bookmark.el's code.
(bookmark-set-filename): Remove special code, moved to its only caller.
(bookmark-store): Use the newer format.
(bookmark-make-record-default): Add arg `point-only'.
Rename from bookmark-make-record-for-text-file.
(bookmark--jump-via): New function.
(bookmark-jump, bookmark-jump-other-window, bookmark-bmenu-2-window)
(bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window):
Use it.
(bookmark-jump-noselect, bookmark-default-handler):
Don't return an alist, instead return the data implicitly by changing
current buffer and point.  Signal an error if the file doesn't exist.
* info.el (Info-bookmark-make-record):
Use bookmark-make-record-default.
(Info-bookmark-jump): Use bookmark-default-handler.
* image-mode.el (image-bookmark-make-record):
Use bookmark-make-record-default.
(image-bookmark-jump): Use bookmark-default-handler.
* doc-view.el (doc-view-bookmark-make-record):
Use bookmark-make-record-default.
(doc-view-bookmark-jump): Use bookmark-default-handler.
2008-06-25 16:51:33 +00:00
Juri Linkov
586f928490 (Info-toc): Call Info-toc-nodes instead of Info-build-toc.
(Info-toc, Info-insert-toc): Increment nth's index to add PARENT
as the second element.
(Info-build-toc): Add PARENT element extracted from the Up pointer.
Don't print progress messages.
(Info-toc-nodes): New variable and function.
(Info-index-nodes): Optimize non-string file name case.
(Info-breadcrumbs-depth): Increment the default value from 3 to 4.
(Info-insert-breadcrumbs): Use the cached document structure instead
of visiting all ancestor nodes.  Remove the initial `>'.
2008-06-15 18:18:16 +00:00
Stefan Monnier
508021c76d (Info-insert-breadcrumbs): Don't break in apropos and toc. 2008-06-14 16:01:38 +00:00
Stefan Monnier
159dfddecb (Info-insert-breadcrumbs): Be careful to preserve history. 2008-06-14 01:59:21 +00:00
Stefan Monnier
fdeb777a1d (Info-breadcrumbs-depth): New var.
(Info-insert-breadcrumbs): New function.
(Info-fontify-node): Use it.
(Info-mode-map): Move initialization into declaration.
2008-06-13 20:34:26 +00:00
Juri Linkov
fd3d78f292 (Info-next-preorder): Let-bind `Info-history' to nil
before recursive call to `Info-next-preorder' to not add
intermediate nodes to the history.
2008-05-11 20:32:33 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Juri Linkov
0ec3382b01 (Info-search): In two similar places that skip
undesired search matches move code to Info-search-success-function,
and call `isearch-success-function' instead.
(Info-search-success-function): New function copied from code
in Info-search.  Replace isearch-range-invisible with
text-property-not-all that checks for 'invisible and 'display
properties to skip partially invisible matches (whose display
properties were set by Info-fontify-node).
(Info-mode): Set buffer-local isearch-success-function
to Info-search-success-function.
2008-04-22 19:57:58 +00:00
Juanma Barranquero
d585001909 (Info-complete-menu-item): Add missing parenthesis. 2008-04-22 15:49:43 +00:00
Stefan Monnier
494858be8a (Info-complete-menu-item): Save point. 2008-04-22 15:36:53 +00:00
Stefan Monnier
e8dab97599 * files.el (locate-file-completion-table): Rename from
locate-file-completion and make it use `pred' in the normal way.
(locate-file-completion): New compatibility wrapper.
(load-library): Use locate-file-completion-table.
* emacs-lisp/find-func.el (find-library): Likewise.
* info.el: Use with-current-buffer and inhibit-read-only.
(Info-read-node-name-2): Change to use `predicate' in the normal way.
(Info-read-node-name-1): Adjust uses accordingly.
2008-04-19 03:33:13 +00:00
Stefan Monnier
e2947429e7 * minibuffer.el (completion-all-completion-with-base-size): New var.
(completion--some): New function.
(completion-table-with-context, completion--file-name-table):
Return the base-size if requested.
(completion-table-in-turn): Generalize to multiple arguments.
(complete-in-turn): Compatibility alias.
(completion-styles-alist): New var.
(completion-styles): New customization.
(minibuffer-try-completion, minibuffer-all-completions):
New functions.
(minibuffer--do-completion, minibuffer-complete-and-exit)
(minibuffer-try-word-completion): Use them.
(display-completion-list, minibuffer-completion-help): Use them.
Handle all-completions's new base-size info to set completion-base-size.
* info.el (Info-read-node-name-1): Use completion-table-with-context,
completion-table-with-terminator and complete-with-action.
Remove the now obsolete completion-base-size-function property.
* simple.el (completion-list-mode-map): Move init into declaration.
(completion-list-mode): Use define-derived-mode.
(completion-setup-function): Use any completion-base-size that may
have been set before.  Remove handling of completion-base-size-function.
* loadup.el: Move abbrev.el up earlier.
2008-04-13 22:12:02 +00:00
Johan Bockgård
98db7a382a (Info-isearch-search): Always return point. 2008-03-25 14:41:44 +00:00
Stefan Monnier
136894c8fc * bookmark.el (bookmark-make-record-function): Change expected return value
to include a suggested bookmark name.
(bookmark-make): Split into bookmark-make-record and bookmark-store.
Fix reversed `overwrite' semantics.
(bookmark-set): Call bookmark-make-record before prompting the user.
Then pass the result to bookmark-store later on.
(bookmark-make-name-function): Remove.
(bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
* info.el (bookmark-make-name-function): Remove.
(Info-mode): Don't set it.
(Info-bookmark-make-name): Remove.
(Info-bookmark-make-record): Use Info-current-node as suggested default
bookmark name.
2008-03-09 21:35:01 +00:00
Stefan Monnier
32a091dd19 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
make-record function, instead paste it in afterwards.
(bookmark-make-record-for-text-file):
* doc-view.el (doc-view-bookmark-make-record):
* info.el (Info-bookmark-make-record): Don't mess with annotations.
2008-03-09 03:05:34 +00:00
Stefan Monnier
02a5ba27b7 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
(bookmark-get-annotation, bookmark-set-annotation)
(bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
(bookmark-set-position, bookmark-get-front-context-string)
(bookmark-set-front-context-string, bookmark-get-rear-context-string)
(bookmark-set-rear-context-string, bookmark-get-handler): Use them.
* info.el (Info-bookmark-make-record): Don't bother recording point.
(bookmark-get-filename, bookmark-get-front-context-string)
(bookmark-get-rear-context-string, bookmark-get-position): Don't declare.
(bookmark-get-info-node): Remove.
(bookmark-prop-get): Declare.
(Info-bookmark-jump): Use it.
2008-03-08 22:07:23 +00:00
Juanma Barranquero
355f5efadb Move declare-function. 2008-03-08 00:13:50 +00:00
Juanma Barranquero
f9b27c8599 (bookmark-make-name-function, bookmark-get-bookmark-record):
Pacify byte-compiler.
2008-03-08 00:11:29 +00:00
Bastien Guerry
f9bf695080 * bookmark.el (bookmark-set): Don't check for
`bookmark-make-name-function' since `bookmark-buffer-file-name'
already takes care of this.
(bookmark-buffer-name): Removed Info-mode specific code.
(bookmark-buffer-file-name): Removed Info-mode specific code.

* info.el (bookmark-get-info-node): Define this function in
info.el, not in bookmark.el.
(Info-mode): Set `bookmark-make-name-function' to
`Info-bookmark-make-name' locally.
(Info-bookmark-make-name): New function.

* bookmark.el (bookmark-make-name-function): New variable.
2008-03-07 19:31:59 +00:00
Tassilo Horn
5daa568830 (Info-bookmark-make-record): Delete obsolete second arg. 2008-03-07 16:01:25 +00:00
Karl Fogel
e0385bf41a Change a return type, for greater extensibility. See
http://lists.gnu.org/archive/html/emacs-devel/2007-12/msg01077.html
and its thread for discussion leading to this change.

* emacs-cvs/lisp/bookmark.el:
(bookmark-jump-noselect): Return an alist instead of a dotted pair.
(bookmark-jump, bookmark-jump-other-window, bookmark-insert)
(bookmark-bmenu-2-window, bookmark-bmenu-other-window)
(bookmark-bmenu-switch-other-window): Adjust accordingly.
(bookmark-make-cell-function): Adjust documentation accordingly.

* emacs-cvs/lisp/image-mode.el
(image-bookmark-jump): Adjust return type accordingly; document.

* emacs-cvs/lisp/doc-view.el
(doc-view-bookmark-jump): Adjust return type accordingly; document.
2008-03-07 05:44:37 +00:00
Stefan Monnier
79363d9360 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
Move initialization into declaration.
(bookmark-get-info-node, bookmark-set-info-node): Remove.
(bookmark-make, bookmark-make-cell-for-text-file): Remove `info-node' arg.
(bookmark-info-current-node): Remove.
(bookmark-jump-noselect): Rename from bookmark-jump-internal.
Add relocation fallback.  Set bookmark-current-bookmark.
(bookmark-default-handler): Rename from bookmark-jump-noselect.
Remove relocation fallback.  Don't set bookmark-current-bookmark.
(bookmark-set): Let it be used even if there's no buffer-file-name
as long as there is a bookmark-make-cell-function.
* info.el (Info-bookmark-jump): Remove relocation fallback.
Don't set bookmark-current-bookmark.
2008-03-07 05:00:18 +00:00
Stefan Monnier
d530654e68 (Info-bookmark-make-cell): Fix up last change. 2008-03-06 21:43:06 +00:00
Stefan Monnier
8dd8636323 (Info-bookmark-make-cell): Don't use the info-node argument. 2008-03-06 21:41:36 +00:00
Bastien Guerry
f75d05eb65 * info.el (Info-read-node-name): Removed unused `default' arg. 2008-02-18 12:14:24 +00:00
Glenn Morris
4ba89826fb Kevin Ryde <user42 at zip.com.au>
(Info-next-reference, Info-prev-reference)
(Info-try-follow-nearest-node): Move to and follow https:// links too.
2008-02-11 03:21:08 +00:00
Miles Bader
6cc41fb06c Merge unicode branch
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1037
2008-02-01 16:01:31 +00:00
Glenn Morris
e1af69b485 (bookmark-make-cell-function, bookmark-search-size)
(bookmark-current-bookmark): Declare variables for compiler.
(bookmark-buffer-file-name, bookmark-get-filename)
(bookmark-get-front-context-string)
(bookmark-get-rear-context-string, bookmark-get-position)
(bookmark-get-info-node, bookmark-file-or-variation-thereof)
(bookmark-jump-noselect): Declare functions for compiler.
(Info-bookmark-make-cell): Fix argument list to match example of
`bookmark-make-cell-for-text-file'.
(Info-bookmark-jump): Don't require info inside info.el.
2008-02-01 04:48:20 +00:00
Miles Bader
6498c4b170 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-328
2008-01-31 13:49:17 +00:00