all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bruce via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 55870@debbugs.gnu.org, larsi@gnus.org
Subject: bug#55870: GNU Emacs 26.3, Select All(C-x h) does not work
Date: Thu, 14 Jul 2022 17:50:45 +0800	[thread overview]
Message-ID: <6e8af953-d207-9912-dc12-254c88470e42@anche.no> (raw)
In-Reply-To: <83edypw852.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 945 bytes --]

I copy .emacs as emacs-bruce

Please try emacs-bruce  in the attachment. Thanks, :-)

On 2022/7/13 下午7:43, Eli Zaretskii wrote:
>> Cc: 55870@debbugs.gnu.org
>> Date: Wed, 13 Jul 2022 11:01:55 +0800
>> From:  Bruce via "Bug reports for GNU Emacs,
>>   the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>>
>>   > Can you reproduce the problem in a more recent version of Emacs?  26.3
>>   > is several years old.
>>
>> I reproduce the problem in emacs 28.1. Please refer to the attachments.
> After you visit the file, what does Emacs say if you type
>
>    M-: buffer-file-coding-system RET
>
> Also, the image you show says in the mode line
>
>    Top of 219k (1,0)        10:32xxx 0.92
>
> which is not what I'd expect from "emacs -Q".  So I think there are
> some local changes or customizations in your Emacs that perhaps are
> part of the issue somehow.  Please tell more about this build of Emacs
> and how you invoke it.

[-- Attachment #2: emacs-bruce --]
[-- Type: text/plain, Size: 3645 bytes --]

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(blink-cursor-mode nil)
 '(column-number-mode t)
 '(display-time-mode t)
 '(inhibit-startup-screen t)
 '(show-paren-mode t)
 '(size-indication-mode t)
 '(speedbar-show-unknown-files t)
 '(uniquify-buffer-name-style (quote forward) nil (uniquify)))

;; (set-background-color "SeaGreen4")

;; don't backup file in *.*~ format
(setq make-backup-files nil)

(global-linum-mode t)

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(default ((t (:inherit nil :stipple nil :background "grey10" :foreground "SeaGreen2" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 133 :width normal :foundry "unknown" :family "文泉驛等寬微米黑"))))
 '(font-lock-comment-face ((t (:foreground "MediumAquamarine"))))
 '(font-lock-constant-face ((((class color) (background dark)) (:bold t :foreground "LimeGreen"))))
 '(font-lock-doc-string-face ((t (:foreground "LimeGreen"))))
 '(font-lock-function-name-face ((t (:foreground "SkyBlue"))))
 '(font-lock-keyword-face ((t (:bold t :foreground "seagreen1"))))
 '(font-lock-string-face ((t (:foreground "LimeGreen"))))
 '(highlight-changes ((((min-colors 88) (class color)) (:foreground "seagreen4")))))

;; keep this info :background "SeaGreen4" :foreground "black"

;;display buffer name after emacs@
(setq frame-title-format "emacs@%b")

;;Ignore ^M in mixed (LF and CR+LF) line ended textfiles
;(setq buffer-display-table (make-display-table))
;(aset buffer-display-table ?\^M [])

;;Replace all freakin' ^M chars in the current buffer
;; (fset 'replace-ctrlms
;;    [escape ?< escape ?% ?\C-q ?\C-m return ?\C-q ?\C-j return ?!])
;; (global-set-key "\C-cm" 'replace-ctrlms)

;; Hiding ^M in emacs
(defun remove-dos-eol ()
  "Do not show ^M in files containing mixed UNIX and DOS line endings."
  (interactive)
  (setq buffer-display-table (make-display-table))
  (aset buffer-display-table ?\^M []))
(add-hook 'text-mode-hook 'remove-dos-eol)

;; To make system copy work with Emacs paste and Emacs copy work with system paste
(setq x-select-enable-clipboard t)
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)

(set-fontset-font "fontset-default" 'han "WenQuanYi Micro Hei Mono")
;;全局缩放字体的函数
;;(global-set-key [(control x) (meta -)] (lambda () (interactive) (bhj-step-frame-font-size -1)))
;;(global-set-key [(control x) (meta +)] (lambda () (interactive) (bhj-step-frame-font-size 1)))

;; Bonus: to get these things to happen in Emacs without having to reload your whole .emacs,
;; do C-x e with the cursor just after the close paren of each of those expressions in the .emacs buffer.

(defun nuke-all-buffers ()
  (interactive)
  (mapcar 'kill-buffer (buffer-list))
  (delete-other-windows))

(global-set-key (kbd "C-x K") 'nuke-all-buffers)
(put 'scroll-left 'disabled nil)
(global-set-key (kbd "C-x c") "\M-m\C- \C-e\M-w")

(defun copy-line (arg)
  "Copy lines (as many as prefix argument) in the kill ring"
  (interactive "p")
  (kill-ring-save (line-beginning-position)
		  (line-beginning-position (+ 1 arg)))
  (message "%d line%s copied" arg (if (= 1 arg) "" "s")))
;; optional key binding
(global-set-key "\C-c\C-k" 'copy-line)
;;(tool-bar-mode 0)

  reply	other threads:[~2022-07-14  9:50 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-09  8:50 bug#55870: GNU Emacs 26.3, Select All(C-x h) does not work Bruce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09 14:57 ` Lars Ingebrigtsen
     [not found]   ` <1fc51cba-c767-2e5f-e0be-6e0f8d7d1df6@anche.no>
2022-06-10 12:44     ` Lars Ingebrigtsen
2022-07-11 11:01       ` Lars Ingebrigtsen
     [not found]         ` <92253b43-50a1-554e-de66-f31f0c423b1f@anche.no>
2022-07-12 12:11           ` Lars Ingebrigtsen
2022-07-13  3:01             ` Bruce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-13 10:56               ` Lars Ingebrigtsen
2022-07-13 11:12                 ` Visuwesh
2022-07-13 11:43               ` Eli Zaretskii
2022-07-14  9:50                 ` Bruce via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-07-14 10:02                   ` Lars Ingebrigtsen
2022-07-14 10:09                     ` Bruce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-14 10:13                       ` Eli Zaretskii
2022-07-15 12:44                         ` Bruce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-15 13:03                           ` Eli Zaretskii
2022-07-16  0:15                             ` Bruce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-16  5:37                               ` Eli Zaretskii
2022-07-17  2:38                                 ` Bruce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-17  6:37                                   ` Eli Zaretskii
2022-07-17  7:27                                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-17  7:51                                       ` Eli Zaretskii
2022-07-17  8:41                                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-17 10:08                                           ` Eli Zaretskii
2022-07-17 11:57                                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-17 12:49                                               ` Eli Zaretskii
2022-07-17 13:07                                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-18  0:27                                                   ` Bruce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-18  1:01                                                   ` Bruce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-18  0:24                                                 ` Bruce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09 16:16 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6e8af953-d207-9912-dc12-254c88470e42@anche.no \
    --to=bug-gnu-emacs@gnu.org \
    --cc=55870@debbugs.gnu.org \
    --cc=brucelam1982pi@anche.no \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.