cost 72 ms
設置為 Git 編輯器時退出 emacsclient 的正確方法

[英]Correct Way to Exit emacsclient When Set as the Git Editor

我想在 git 中使用 emacsclient 作為我的編輯器,即我的.gitconfig中的core.editor設置。 在我的.gitconfig中,我有: 當我執行git commit --amend或git commit之類的操作時,我按預期進入了 emacs(client),但是當我嘗試使 ...

如何在 macos 終端上使用 emacs?

[英]How do I use emacs on macos terminal?

我下載了 https://emacsformacosx.com/並使用ln -s /Applications/Emacs.app/Contents/MacOS/bin/emacsclient /usr/local/bin創建了一個名為 emacsclient 的文件然后在我的 PATH 中創建了一 ...

如何發送 crdt-share-buffer 的表格?

[英]How do I send the form for crdt-share-buffer?

在開始新的 nrdt.el 共享時,我看不到如何發送表單。 它說我應該按 RET,但在 gui 或終端中按 enter 不起作用。 有什么幫助嗎? 編輯:我是 emacs 的新手,我只是不知道如何發送表格,而且我不知道它的實際命名方式,這就是為什么我找不到任何谷歌搜索的原因。 我正在使用帶有客戶端 ...

2023-01-25 14:23:18   1   10    emacs  
使用 Emacs 和 SLIME 抑制 SBCL 中的調試器?

[英]Suppressing the Debugger in SBCL with Emacs and SLIME?

將以下代碼放入~/.sbclrc允許我在從命令行使用SBCL REPL 時接收簡化的錯誤消息,而無需深入調試器(我覺得這有點煩人)。 當從Emacs和SLIME運行 SBCL REPL 時,這是我通常與之交互的方式,每當我遇到錯誤時,REPL 都會堅持進入調試器。 在 Emacs 和 SLIME ...

macos emacs(文件丟失“無法打開加載文件”“沒有這樣的文件或目錄”“rg”

[英]macos emacs (file-missing "Cannot open load file" "No such file or directory" "rg"

我正在嘗試在 emacs 中安裝 ripgrep,以便將其與 hledger-mode 一起使用我將這些行添加到我的 ~/.emacs.d/init.el 中: 並運行 emacs -nw --debug-init 向我顯示: 這是我的brew info rg 和emacs --version 在 ...

Emacs:tab-line-mode,按擴展分組緩沖區

[英]Emacs: tab-line-mode, group buffers by extension

我喜歡tab-line-mode ,但我只想顯示與我的工作相關的選項卡,通常這些緩沖區的擴展名為.rb , .clj 。 或.coffee 。 tab-line 模式有 function tab-line-tabs-function ,它允許組緩沖區,所以我想做類似的事情: 但我對 eLisp 的 ...

2023-01-19 22:14:01   1   41    emacs / tabs  
如何獲取 pandoc lua 過濾器避免在 Rmarkdown 文件內的代碼塊中使用此模式計算單詞?

[英]How to get pandoc lua filter avoid counting words using this pattern in code blocks inside Rmarkdown file?

這是這篇文章的后續問題。 我想要實現的是避免計算標題和具有這種模式的內部代碼塊中的單詞: 而不是這種模式: 因為當我使用后一種模式時,我在 emacs 的 Rmarkdown 緩沖區中丟失了字體化鎖,所以我總是使用第一種模式。 考慮這個 MWE: MWE (MWE-wordcount.Rmd) ...

如何將 function output 打印到新文件?

[英]How to print a function output to a new file?

我只是想將標記文件的文件名從 Dired 緩沖區導出到新的文本文件。 查看手冊,我找到了 function (dired-get-marked-files) 。 在 Dired 緩沖區中,在標記三個文件用於測試目的之后,評估: (dired-get-marked-files 'verbatim n ...

org-mode 是否解決了這 5 個 `hi-lock` 問題?

[英]Does org-mode solve these 5 `hi-lock` problems?

對於很多參考文件,我相當沉迷於hi-lock 、 text-mode和非常簡單的 TAB 實用程序的組合。 這是一個簡單的例子。 文件 呈現如下。 這很好用。 我可以插入線條來突出顯示部分之間的划分。 我看到 HTTP 鏈接清楚地突出顯示(即使我仍然需要剪切和粘貼才能訪問它們)。 如前所述,TA ...

新 Doom Emacs 用戶 - 嘗試設置全局設置密鑰

[英]New Doom Emacs user - trying to set global-set-key

我已經在 Doom Emacs 中安裝了 neotree。我想使用 global-set-key 綁定 function key 8 ([f8])。 我已經把 在 init.el、config.el 和 custome.el 中。 當我按 f8 時,emacs 說“未定義”。 如果我輸入“:neot ...

2023-01-13 05:48:17   2   18    emacs  
org-mode 內聯圖像不起作用(遠程使用 TRAMP)

[英]org-mode inline images not working (remotely with TRAMP)

我正在使用 TRAMP 在遠程機器上使用 emacs 組織模式。 我將代碼單元連接到 jupyter 服務器(在那台遠程機器上),在那里我啟動了一個 python 3 kernel。代碼執行工作得很好,我也可以用 matplotlib 創建圖。雖然 a.png 是在正確的臨時文件位置生成的,但代碼 ...

Noto Color Emoji 未在 Emacs 中呈現

[英]Noto Color Emoji not rendering in Emacs

我無法在 X11 上獲取 Emacs 以使用 Google 的 Noto Color Emoji 字體顯示表情符號。 我正在測試一個僅包含一個 Unicode 字符 CROSSED FLAGS (U+1F38C) 和一個換行符的文件。 我使用emacs -Q crossed-flags.txt打開此 ...

使用flycheck時如何配置clang跳棋

[英]How to configure clang checkers when using flycheck

當通過 clang-tidy 手動使用 clang 檢查器時,我可以使用 .clang-tidy 文件添加和刪除一些檢查。 然而,當在 emacs 中使用 lsp-mode 時,激活 flycheck,運行 clang 檢查器,這很好,但是沒有使用 my.clang-tidy 配置文件。 我應該如何 ...

在 dired 中使用邪惡模式或在 dired 中禁用邪惡模式

[英]Using evil-mode in dired or disable evil-mode in dired

我一直在使用 emacs 在 org 模式下做筆記。 我不喜歡其他筆記應用程序。 我也開始喜歡 emacs 來完成其他任務。 但是,我在使用邪惡模式導航 dired 時遇到了麻煩。 每次我想打開一個新目錄或文件時,我都必須按 Ctrl-z,這很煩人。 有沒有一種方法可以讓我在邪惡模式下導航 dire ...

我希望這個 elisp function 可視化整個 function,但它可視化開始到 cursor

[英]I expect this elisp function to visualize entire function, but it visualizes beginning to cursor

看起來我使用的 function 沒有正確顯示整個 function。目前,function 僅在視覺上突出顯示從 function 開始到當前緩沖區 cursor position 的區域。 我想把這個function修改為select function,從上到下。 ...

當同一目錄中存在具有相似名稱的文件時,Spacemacs 無法創建新文件

[英]Spacemacs cannot create a new file when a file with a similar name exists in the same directory

在 spacemacs 中,用戶通常可以使用“Ctrl-x Ctrl-f”創建文件,然后在迷你緩沖區中輸入文件名。 但是,如果存在具有相似名稱的文件,則 spacemacs 不會創建新文件。 它改為打開現有文件。 一種解決方法是跳轉到終端並創建新文件,然后返回 spacemacs 並打開該文件。 但 ...

如何在完成緩沖區中制作emacs完成讀取顯示選項

[英]How to make emacs completing-read display options in completion buffer

在 emacs lisp 中,我希望在鍵入時在完成緩沖區中顯示以下選項列表。 它提示輸入信息但不顯示選項,無論是在我開始鍵入之前還是之后。 例如,我希望它在我輸入“F”后顯示“First”。 本質上,我正在尋找與 此處描述的 output 類似的內容。 但我得到的是這個(線下沒有任何東西,這是我窗口 ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM