• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/

Lines Matching +defs:find +defs:file

13 ;; This file is part of GNU Emacs.
26 ;; along with GNU Emacs; see the file COPYING. If not, write to the
42 ;; emacs local file variables need to be enabled when the
43 ;; file was visited - see `enable-local-variables'.)
44 ;; - Configurable per-file initial exposure settings
122 \(This also depends on `allout-find-file-hook' being installed in
123 `find-file-hook', which is also done by `allout-init'.)
192 to the comment-start string, if any, of the language of the file. This
505 ;;;_ = allout-file-xref-bullet
506 (defcustom allout-file-xref-bullet "@"
507 "*Bullet signifying file cross-references, for `allout-resolve-xref'.
509 Set this var to the bullet you want to use for file cross-references."
513 (put 'allout-file-xref-bullet 'safe-local-variable
562 (defcustom allout-title '(or buffer-file-name (buffer-name))
593 See the docstring for the `allout-enable-file-variable-adjustment'
594 variable for details about allout ajustment of file variables."
607 See the docstring for the `allout-enable-file-variable-adjustment'
608 variable for details about allout ajustment of file variables."
619 The idea is to prevent file-system exposure of any un-encrypted stuff, and
620 mostly covers both deliberate file writes and auto-saves.
625 can continue editing but the copy on the file system will be
631 file sytem, but avoids the nuisance of prompts for the encryption
639 file requires that even the current topic is never auto-saved in the clear,
640 disable auto-saves for that file."
661 doing byte-compilation with a repeat count, so the file is loaded after
779 ;;;_ = allout-enable-file-variable-adjustment
780 (defcustom allout-enable-file-variable-adjustment t
781 "*If non-nil, some allout outline actions edit Emacs local file var text.
786 Emacs file variables adjustments are also inhibited if `enable-local-variables'
793 (make-variable-buffer-local 'allout-enable-file-variable-adjustment)
824 visited file to be treated as an allout file.*
826 The value would typically be set by a file local variable. For
827 example, the following lines at the bottom of an Emacs Lisp file:
833 dictate activation of `allout-mode' mode when the file is visited
836 the layout used for the allout.el source file.)
997 file is programming code."
1381 ;;;_ = file-var-bug hack
1382 (defvar allout-v18/19-file-var-hack nil
1384 mode from prop-line file-var activation. Used by `allout-mode' function
1389 already associated with a file.
1393 itself is \*not* recorded in the file anywhere, and the encrypted contents
1397 The verifier string is retained as an Emacs file variable, as well as in
1398 the Emacs buffer state, if file variable adjustments are enabled. See
1399 `allout-enable-file-variable-adjustment' for details about that.")
1405 "Variable used to retain reminder string for file's encryption passphrase.
1410 The hint is retained as an Emacs file variable, as well as in the Emacs buffer
1411 state, if file variable adjustments are enabled. See
1412 `allout-enable-file-variable-adjustment' for details about that.")
1425 was encrypted automatically as part of a file write or autosave.")
1465 ;; proper def, if file isn't loaded - eg, during emacs build!
1469 ;;;_ > allout-write-file-hook-handler ()
1470 (defun allout-write-file-hook-handler ()
1471 "Implement `allout-encrypt-unencrypted-on-saves' policy for file writes."
1490 "allout-write-file-hook-handler suppressing error %s"
1502 (allout-write-file-hook-handler))))
1563 find-file-hook, and giving `allout-auto-activation' a suitable
1567 the following two lines in your Emacs init file:
1588 ((hook 'allout-find-file-hook)
1589 (find-file-hook-var-name (if (boundp 'find-file-hook)
1590 'find-file-hook
1591 'find-file-hooks))
1595 (set find-file-hook-var-name
1596 (delq hook (symbol-value find-file-hook-var-name)))
1600 (if (not (memq hook (symbol-value find-file-hook-var-name)))
1604 (t (add-hook find-file-hook-var-name hook)
1679 - integral outline layout, for automatic initial exposure when visiting a file
1759 and establish a default file-var setting
1781 encrypted during file saves. If the contents of the topic
1927 (same-complex-command (eq allout-v18/19-file-var-hack
1929 (write-file-hook-var-name (cond ((boundp 'write-file-functions)
1930 'write-file-functions)
1931 ((boundp 'write-file-hooks)
1932 'write-file-hooks)
1933 (t 'local-write-file-hooks)))
1938 (setq allout-v18/19-file-var-hack (car command-history))
1943 ;; Emacs v 19.18, 19.19 file-var code invokes prop-line-designated
1944 ;; modes twice when file is visited. We have to avoid toggling mode
1950 (not explicit-activation) ; Prop-line file-vars don't have args.
1971 (remove-hook write-file-hook-var-name 'allout-write-file-hook-handler t)
2020 (add-hook write-file-hook-var-name 'allout-write-file-hook-handler
2088 ;; interrupt, eg, file visit:
3374 ;;;_ > allout-find-file-hook ()
3375 (defun allout-find-file-hook ()
4222 the file can be adjusted to any positive depth, however."
4648 "Pop to file associated with current heading, if it has an xref bullet.
4650 \(Works according to setting of `allout-file-xref-bullet')."
4652 (if (not allout-file-xref-bullet)
4654 "Outline cross references disabled - no `allout-file-xref-bullet'")
4655 (if (not (string= (allout-current-bullet) allout-file-xref-bullet))
4657 allout-file-xref-bullet)
4659 file-name)
4664 (setq file-name
4667 (setq file-name (expand-file-name file-name))
4668 (if (or (file-exists-p file-name)
4669 (if (file-writable-p file-name)
4671 file-name))
4672 (error "%s not found and can't be created" file-name)))
4674 (find-file-other-window file-name)
4676 (error "%s not found" file-name))
5199 (error "allout-new-exposure: Can't find any outline topics"))
5773 encryption, include the option ``armor'' in your ~/.gnupg/gpg.conf file.
5782 not. When a file with topics pending encryption is saved, topics pending
5804 If the file previously had no associated passphrase, or had a different
5814 added to an Emacs 'local variables' section at the end of the file, which
5822 the hint string is stored in the local-variables section of the file, and
5844 encryption, include the option ``armor'' in your ~/.gnupg/gpg.conf file.
5892 (was-coding-system buffer-file-coding-system))
5898 (setq buffer-file-coding-system
5902 ;; system can't be noticed by emacs when the file is visited. to
5903 ;; mitigate that, offer to preserve the coding system using a file
5905 (if (and (not (equal buffer-file-coding-system
5908 (format (concat "Register coding system %s as file local"
5911 buffer-file-coding-system)))
5912 (allout-adjust-file-variable "buffer-file-coding-system"
5913 buffer-file-coding-system)))
6000 (or (buffer-file-name allout-buffer)
6003 buffer-file-coding-system))
6043 (set-buffer-file-coding-system encoding)
6345 symmetric encryption in the file.
6349 are preserved on Emacs local file variables,
6350 `allout-enable-file-variable-adjustment'."
6355 ;; - if file var settings are enabled, adjust the file vars
6375 (allout-adjust-file-variable "allout-passphrase-hint-string"
6379 (allout-adjust-file-variable "allout-passphrase-verifier-string"
6476 and exactly resituate the cursor if this is being done as part of a file
6522 "Activate outline mode and establish file var so it is started subsequently.
6538 (allout-adjust-file-variable
6540 ;;;_ > allout-file-vars-section-data ()
6541 (defun allout-file-vars-section-data ()
6542 "Return data identifying the file-vars section, or nil if none.
6568 ;;;_ > allout-adjust-file-variable (varname value)
6569 (defun allout-adjust-file-variable (varname value)
6570 "Adjust the setting of an Emacs file variable named VARNAME to VALUE.
6573 `allout-enable-file-variable-adjustment' are nil.
6576 or changed if established with a different value. The section for the file
6579 a top-level topic at the end of the file.
6583 allout-enable-file-variable-adjustment))
6587 (section-data (allout-file-vars-section-data))
6805 ;; FIXME: there's no easy way to find the