403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/emacs/28.2/lisp/textmodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/textmodes/bib-mode.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\300\301\302\303\304\305\306\307\306\310&	\210\311\312\313\314\315DD\316\317\320%\210\311\321\313\314\322DD\323\317\320%\207" [custom-declare-group bib nil "Major mode for editing bib files." :prefix "bib-" :group external text custom-declare-variable bib-file funcall function #[0 "\300\207" ["~/my-bibliography.bib"] 1 #1=""] "Default name of file used by `addbib'." :type file unread-bib-file #[0 "\300\207" ["~/to-be-read.bib"] 1 #1#] "Default name of file used by `unread-bib' in Bib mode."] 10)
(defvar bib-mode-map (byte-code "\301 \302\"\210\303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\207" [text-mode-map make-sparse-keymap set-keymap-parent define-key "
" return-key-bib "" unread-bib "" mark-bib "`" abbrev-mode] 5))
#@122 Set up editor to add to troff bibliography file specified
by global variable `bib-file'.  See description of `bib-mode'.
(defalias 'addbib #[0 "\301!\210db\210\302 \207" [bib-file find-file bib-mode] 2 (#$ . 860) nil])
(defvar bib-mode-hook nil)
(byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [bib-mode-hook variable-documentation put "Hook run after entering Bib mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp bib-mode-map definition-name bib-mode] 4)
(defvar bib-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204\303\307\310\311#\210\312\313 !\210\307\302N\204-\303\307\302\304\314!#\210\306\300!\204B\303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P\303\300\302\304\320!#\210\303\311\321\322#\207" [bib-mode-abbrev-table bib-mode-map variable-documentation put purecopy "Keymap for `bib-mode'." boundp bib-mode-syntax-table definition-name bib-mode (lambda (#1=#:def-tmp-var) (defvar bib-mode-syntax-table #1#)) make-syntax-table "Syntax table for `bib-mode'." (lambda (#1#) (defvar bib-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `bib-mode'." derived-mode-parent text-mode] 5)
#@1139 Mode for editing `lookbib' style bibliographies.
Hit RETURN to get next % field key.
If you want to ignore this field, just hit RETURN again.
Use `text-mode' to turn this feature off.

 journal papers:                    A* T D J V N P K W X
 articles in books & proceedings:   A* T D B E* I C P K W X
 tech reports:                      A* T D R I C K W X
 books:                             A* T D I C K W X

Fields:

A uthor		T itle		D ate  		J ournal
V olume		N umber		P age		K eywords
B in book or proceedings	E ditor		C ity & state
I nstitution, school, or publisher
R eport number or `phd thesis' or `masters thesis' or `draft' or
     `unnumbered' or `unpublished'
W here can be found locally (login name, or ailib, etc.)
X comments (not used in indexing)

\[unread-bib] appends current entry to a different file (for example,
a file of papers to be read in the future), given by the value of the
variable `unread-bib-file'.
\[mark-bib] marks current or previous entry.
Abbreviations are saved in `bib-mode-abbrev-table'.
Hook can be stored in `bib-mode-hook'.
Field keys given by variable `bib-assoc'.

Commands:
\{bib-mode-map}
(defalias 'bib-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315!\204'\316\317 \"\210\320\f!\211\2035\211\321 =\203;\322\f\323 \"\210\210\324
\325\"\204R
=\204R\326
\325C#\210\327!\210\330\f!\210
\331\332!\210)\333\334!\207" [delay-mode-hooks major-mode mode-name bib-mode-map bib-mode-syntax-table bib-mode-abbrev-table make-local-variable t text-mode bib-mode "Bib" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table abbrev-mode 1 run-mode-hooks bib-mode-hook local-abbrev-table] 5 (#$ . 2181) nil])
#@127 Describes bibliographic database format.
A line beginning with the car of an entry is followed by one beginning
with the cdr.
(defconst bib-assoc '((" *$" . "%A ") ("%A ." . "%A ") ("%A $" . "%T ") ("%T " . "%D ") ("%D " . "%J ") ("%J ." . "%V ") ("%V " . "%N ") ("%N " . "%P ") ("%P " . "%K ") ("%K " . "%W ") ("%W " . "%X ") ("%X " . "") ("%J $" . "%B ") ("%B ." . "%E ") ("%E ." . "%E ") ("%E $" . "%I ") ("%I " . "%C ") ("%C " . "%P ") ("%B $" . "%R ") ("%R " . "%I ")) (#$ . 4048))
#@14 

(fn SLOTS)
(defalias 'bib-find-key #[257 "\211\204o\203\n\301\207\302y\210\303!\207\304@@!\203\211@A\207\303A!\207" [bib-assoc "" -1 bib-find-key looking-at] 3 (#$ . 4541)])
(byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable bib-auto-capitalize funcall function #[0 "\300\207" [t] 1 ""] "Non-nil to automatically capitalize appropriate fields in Bib mode." :type boolean] 6)
(defconst bib-capitalized-fields "%[AETCBIJR]")
#@50 Magic when user hits return, used by `bib-mode'.
(defalias 'return-key-bib #[0 "l\203Y\303\211\211\211\304 \210\305\306!\262\204\303\210\307 \210\310y\210\303\210`\262\304 \210`\262\311!\262\204E	\203E\305\n!\203E\212\312`\313\\\"\210)b\210\203S\314\303!\210\202V\315y\210c\207\307 \207" [bib-assoc bib-auto-capitalize bib-capitalized-fields nil beginning-of-line looking-at "%. $" newline -1 bib-find-key bib-capitalize-title-region 3 kill-line 1] 7 (#$ . 5007) nil])
#@71 Set mark at beginning of current or previous bib entry, point at end.
(defalias 'mark-bib #[0 "\300\301!\210\302\303!\203\304\305\301\306#\210\304\303\301\306#\210\307\310!\210\300\301!\210\311 \210\307\303\301\306#\210\312y\210\300\301!\207" [beginning-of-line nil looking-at "^ *$" re-search-backward "[^ \n]" 2 re-search-forward "^%" push-mark 1] 4 (#$ . 5503) nil])
#@96 Append current or previous entry to file of unread papers
named by variable `unread-bib-file'.
(defalias 'unread-bib #[0 "\301 \210\302!\203\303\302!\304 `#\207\305\304 `#\207" [unread-bib-file mark-bib get-file-buffer append-to-buffer mark append-to-file] 4 (#$ . 5881) nil])
#@65 Words not to be capitalized in a title (unless the first word).
(defvar bib-capitalize-title-stop-words "the\\|and\\|of\\|is\\|a\\|an\\|for\\|in\\|to\\|on\\|at\\|by\\|with\\|that\\|its" (#$ . 6169))
(defvar bib-capitalize-title-stop-regexp (concat "\\(" bib-capitalize-title-stop-words "\\)\\(\\b\\|'\\)"))
#@94 Like `capitalize-region', but don't capitalize stop words, except the first.

(fn BEGIN END)
(defalias 'bib-capitalize-title-region #[514 "\303\304 \305\306\"\216\214\307	!\210}\210eb\210\310\311!\203\"\312v\210\202&\313\312!\210\314\315\303\316#\205Q\310\311!\203:\312v\210\202&\316\310\n!)\203J\317\312!\210\202&\313\312!\210\202&+\207" [case-fold-search text-mode-syntax-table bib-capitalize-title-stop-regexp nil syntax-table make-closure #[0 "\301\300!\207" [V0 set-syntax-table] 2] set-syntax-table looking-at "[A-Z][a-z]*[A-Z]" 1 capitalize-word re-search-forward "\\<" t downcase-word] 8 (#$ . 6482) "r"])
#@79 Like `capitalize', but don't capitalize stop words, except the first.

(fn S)
(defalias 'bib-capitalize-title #[257 "r\300\301!q\210\302 \210\211c\210\303ed\"\210\304 )\207" [get-buffer-create "$$$Scratch$$$" erase-buffer bib-capitalize-title-region buffer-string] 4 (#$ . 7116)])
(provide 'bib-mode)

Youez - 2016 - github.com/yon3zu
LinuXploit