Overview
Comment: | Fix outlines |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
80dcfa319cdf8fcc35ab60adc6adbaa9 |
User & Date: | zge on 2021-05-29 14:28:30 |
Other Links: | branch diff | manifest | tags |
Context
2022-01-22
| ||
18:12 | Add sbbs-open-externally command check-in: 92c5d47565 user: philip tags: master, trunk | |
2021-05-29
| ||
14:28 | Fix outlines check-in: 80dcfa319c user: zge tags: master, trunk | |
12:53 | Improve check if region is active check-in: 438efd04c7 user: zge tags: master, trunk | |
Changes
Modified sbbs.el from [f9185109d4] to [deeb5b67a8].
︙ | |||
26 27 28 29 30 31 32 | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | + - + | (require 'text-property-search) (require 'tabulated-list) (require 'button) (require 'url) (require 'hl-line) (require 'rx) |
︙ | |||
91 92 93 94 95 96 97 | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | + - + + - + | "Face for code blocks in threads.") (defface sbbs--post-header-face '((nil :extend t :inherit highlight)) "Face for post headers in the thread view.") |
︙ | |||
177 178 179 180 181 182 183 | 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | + - + | (sbbs--board-name def)) "Board: ") boards nil t "/" nil def))) (if (stringp choice) (cdr (assoc choice boards)) choice)))) |
︙ | |||
220 221 222 223 224 225 226 | 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 | + - + | ((> nr current) (setq up (point)))))) (unless (and (eq 'highlight (get-text-property (point) 'face)) (looking-at-p "\\`#[[:digit:]]+")) ;; in case we are on the first character of a post, we shouldn't ;; jump back, since that would mean setting to point to NR-1. (sbbs-read-previous 1))) |
︙ | |||
403 404 405 406 407 408 409 | 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 | + - + | (setq sbbs--last-spoiler (point))) (sbbs--last-spoiler (dolist (o (overlays-at sbbs--last-spoiler)) (when (overlay-get o 'sbbs-uncover-p) (delete-overlay o))) (setq sbbs--last-spoiler nil)))) |
︙ | |||
499 500 501 502 503 504 505 | 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 | + - + | (delete-blank-lines) (when range (sbbs--limit-to-range range)) (if sbbs-open-at-last-post (sbbs-goto-end) (goto-char (point-min)))))))) |
︙ | |||
715 716 717 718 719 720 721 | 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 | + - + | (url-retrieve url #'sbbs--board-loader (list (current-buffer))) (switch-to-buffer (current-buffer)))))) ;;;###autoload (defalias 'sbbs #'sbbs-browse) |
︙ |