| Server IP : 217.160.0.212 / Your IP : 216.73.217.5 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/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (byte-code "\300\301\302\303\304\305\304\306&\210\307\310\311\312\313DD\314\315\316%\210\307\317\311\312\320DD\321\315\322%\210\307\323\311\312\324DD\325\315\326%\210\307\327\311\312\330DD\331\315\332%\207" [custom-declare-group display-time nil "Display time and load in mode line of Emacs." :group mode-line mail custom-declare-variable display-time-mail-file funcall function #[0 "\300\207" [nil] 1 #1=""] "File name of mail inbox file, for indicating existence of new mail.\nNon-nil and not a string means don't check for mail; nil means use\ndefault, which is system-dependent, and is the same as used by Rmail." :type (choice (const :tag "None" none) (const :tag "Default" nil) (file :format "%v")) display-time-mail-directory #[0 "\300\207" [nil] 1 #1#] "Name of mail inbox directory, for indicating existence of new mail.\nAny nonempty regular file in the directory is regarded as newly arrived mail.\nIf nil, do not check a directory for arriving mail." (choice (const :tag "None" nil) (directory :format "%v")) display-time-mail-function #[0 "\300\207" [nil] 1 #1#] "Function to call, for indicating existence of new mail.\nIf nil, that means use the default method: check that the file\nspecified by `display-time-mail-file' is nonempty or that the\ndirectory `display-time-mail-directory' contains nonempty files." (choice (const :tag "Default" nil) (function)) display-time-default-load-average #[0 "\300\207" [0] 1 #1#] "Which load average value will be shown in the mode line.\nAlmost every system can provide values of load for the past 1 minute,\npast 5 or past 15 minutes. The default is to display 1-minute load average.\nThe value can be one of:\n\n 0 => 1 minute load\n 1 => 5 minutes load\n 2 => 15 minutes load\n nil => None (do not display the load average)" (choice (const :tag "1 minute load" 0) (const :tag "5 minutes load" 1) (const :tag "15 minutes load" 2) (const :tag "None" nil))] 8) #@168 Value of the system's load average currently shown on the mode line. See `display-time-default-load-average'. This is an internal variable; setting it has no effect. (defvar display-time-load-average nil (#$ . 2013)) (byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\207" [custom-declare-variable display-time-load-average-threshold funcall function #[0 "\300\207" [0.1] 1 #1=""] "Load-average values below this value won't be shown in the mode line." :type number display-time-day-and-date #[0 "\300\207" [nil] 1 #1#] "Non-nil means \\[display-time] should display day and date as well as time." boolean] 6) (defvar display-time-timer nil) (byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\207" [custom-declare-variable display-time-interval funcall function #[0 "\300\207" [60] 1 #1=""] "Seconds between updates of time in the mode line." :type integer display-time-24hr-format #[0 "\300\207" [nil] 1 #1#] "Non-nil indicates time should be displayed as hh:mm, 0 <= hh <= 23.\nA value of nil means 1 <= hh <= 12, and an AM/PM suffix is used." boolean] 6) #@139 String used in mode lines to display a time string. It should not be set directly, but is instead updated by the `display-time' function. (defvar display-time-string nil (#$ . 3151)) (byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable display-time-hook funcall function #[0 "\300\207" [nil] 1 ""] "List of functions to be called when the time is updated on the mode line." :type hook] 6) #@114 Time when mail file's file system was recorded to be down. If that file system seems to be up, the value is nil. (defvar display-time-server-down-time nil (#$ . 3572)) #@271 Enable display of time, load level, and mail flag in mode lines. This display updates automatically every minute. If `display-time-day-and-date' is non-nil, the current day and date are displayed as well. This runs the normal hook `display-time-hook' after each update. (defalias 'display-time #[0 "\300\301!\207" [display-time-mode 1] 2 (#$ . 3747) nil]) (byte-code "\300\301\302\303\304DD\305\306\307\306\310\311\312\313\314&\207" [custom-declare-variable display-time-mail-face funcall function #[0 "\300\207" [nil] 1 ""] "Face to use for `display-time-mail-string'.\nIf `display-time-use-mail-icon' is non-nil, the image's\nbackground color is the background of this face. Set this to\nmake the mail indicator stand out on a color display." :group mode-line-faces display-time :version "22.1" :type (choice (const :tag "None" nil) face)] 12) #@137 Image specification to offer as the mail indicator on a graphic display. See `display-time-use-mail-icon' and `display-time-mail-face'. (defvar display-time-mail-icon (find-image '((:type xpm :file "letter.xpm" :ascent center) (:type pbm :file "letter.pbm" :ascent center))) (#$ . 4602)) (byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\313\314\306\315&\210\300\316\302\303\317DD\320\306\321%\210\300\322\302\303\323DD\324\306\325%\207" [custom-declare-variable display-time-use-mail-icon funcall function #[0 "\300\207" [nil] 1 #1=""] "Non-nil means use an icon as mail indicator on a graphic display.\nOtherwise use `display-time-mail-string'. The icon may consume less\nof the mode line. It is specified by `display-time-mail-icon'." :type boolean display-time-mail-string #[0 "\300\207" ["Mail"] 1 #1#] "String to use as the mail indicator in `display-time-string-forms'.\nThis can use the Unicode letter character if you can display it." :version "22.1" (choice (const "Mail") (const :tag "Unicode letter character" "✉") string) display-time-format #[0 "\300\207" [nil] 1 #1#] "String specifying format for displaying the time in the mode line.\nSee the function `format-time-string' for an explanation of\nhow to write this string. If this is nil, the defaults\ndepend on `display-time-day-and-date' and `display-time-24hr-format'." (choice (const :tag "Default" nil) string) display-time-string-forms #[0 "\300\207" [((if (and (not display-time-format) display-time-day-and-date) (format-time-string "%a %b %e " now) #1#) (propertize (format-time-string (or display-time-format (if display-time-24hr-format "%H:%M" "%-I:%M%p")) now) 'help-echo (format-time-string "%a %b %e, %Y" now)) load (if mail (concat " " (propertize display-time-mail-string 'display `(when (and display-time-use-mail-icon (display-graphic-p)) ,@display-time-mail-icon ,@(if (and display-time-mail-face (memq (plist-get (cdr display-time-mail-icon) :type) '(pbm xbm))) (let ((bg (face-attribute display-time-mail-face :background))) (if (stringp bg) (list :background bg))))) 'face display-time-mail-face 'help-echo "You have new mail; mouse-2: Read mail" 'mouse-face 'mode-line-highlight 'local-map (make-mode-line-mouse-map 'mouse-2 read-mail-command))) #1#) " ")] 1 #1#] "List of expressions governing display of the time in the mode line.\nFor most purposes, you can control the time format using `display-time-format'\nwhich is a more standard interface.\n\nThis expression is a list of expressions that can involve the keywords\n`load', `day', `month', and `year', `12-hours', `24-hours', `minutes',\n`seconds', all numbers in string form, and `monthname', `dayname', `am-pm',\nand `time-zone' all alphabetic strings, and `mail' a true/nil value.\n\nFor example:\n\n ((substring year -2) \"/\" month \"/\" day\n \" \" 24-hours \":\" minutes \":\" seconds\n (if time-zone \" (\") time-zone (if time-zone \")\")\n (if mail \" Mail\" \"\"))\n\nwould give mode line times like `94/12/30 21:07:48 (UTC)'." (repeat sexp)] 8) (defalias 'display-time-event-handler #[0 "\302 \210\303 \304\305H\306H\307HE\310\311H_\312#\313\"\206+ \314\315 \" #\210\316!\207" [display-time-timer display-time-interval display-time-update current-time timer-relative-time 1 2 3 5 4 0 time-less-p timer-set-time timer-next-integral-multiple-of-time timer-activate] 8]) #@130 Switch between different load averages in the mode line. Switches from the 1 to 5 to 15 minute load average, and then back to 1. (defalias 'display-time-next-load-average #[0 "T\211\301U\203 \302\303 \207" [display-time-load-average 3 0 display-time-update] 2 (#$ . 7993) nil]) (defalias 'display-time-mail-check-directory #[0 "\301\302\"\303\203. \211\303U\203. \211\304@!\203# \305@!\3068\262\206$ \303\\\262A\262\202 \211\303V\2055 \211\207" [display-time-mail-directory directory-files t 0 file-regular-p file-attributes 7] 6]) (defalias 'display-time-update--load #[0 "\204 \302\207\3031Q \304_\305 8V\203 \302\202O \306\307\305 8\"\310\311\312O\313\312\314OQ\315\316\317\320\"\321\322\323\324\311U\203>