[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemacs-devel] Config file questions
From: |
Charles Gordon |
Subject: |
Re: [Qemacs-devel] Config file questions |
Date: |
Sun, 5 Mar 2017 00:26:44 +0100 |
Hi Hadrien,
Scripting support is flaky at the moment, I am still investigating various
options for the scripting language.
Still I am surprised `set_tab_width(4)` does not work, did you end your config
lines with a semicolon?
I currently have this content in my ~/.qerc file:
// Tab-width is now more commonly set to 4
set_tab_width(8);
indent_tabs_mode = 0;
indent_width = 4;
And it works for me.
Note that qemacs loads ~/.qe/config at startup and it loads all .qerc files
found in any of the parent directories of any file it loads into a buffer.
.qerc files are loaded in hierarchical order, from the root directory down to
the the directory of the current file. You can put a .qerc file in the main
directory of a project to set project-wide default values.
The current version has some shortcomings you might find problematic:
- long lines in the process buffer cause erratic display
- file times are not checked after the initial load: qemacs does not detect if
a file loaded in a buffer is modified on disk asynchronously.
- yanking more than 4K into the process buffer for input may cause a crash
Which version of emacs are you familiar with?
I am interested to hear your feedback.
Chqrlie.
> On 4 Mar 2017, at 19:49, Hadrien Lacour <address@hidden> wrote:
>
> Hello, I'm trying to set some things in my config file and I have some
> problems:
> * set_tab_width(4) doesn't cause any error, but it doesn't change the tab
> width.
> * set_variable simply doesn't work (e.g. `set_variable("tab-width", "4");`
> gives
> me a `set-variable: tab-width -> 4` popup error).
> * `tab-width = 4;` doesn't change tab-width but `default-tab-width = 4;` does.
> * `set_indent_tabs_mode(1) doesn't change the said variable, like with
> tab-width.
> * `indent-tabs-mode = 1;` doesn't cut it neither.
>
> This seems strange to me, since all of these commands work inside qemacs. I
> hope
> I'll be able to use it, since this seems like a really comfy editor.
>
>
> I'm using the latest qemacs snapshot on Gentoo (0.4.1_pre20170225).
>
> _______________________________________________
> Qemacs-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/qemacs-devel
- [Qemacs-devel] Config file questions, Hadrien Lacour, 2017/03/04
- Re: [Qemacs-devel] Config file questions,
Charles Gordon <=
- Re: [Qemacs-devel] Config file questions, Hadrien Lacour, 2017/03/05
- Re: [Qemacs-devel] Config file questions, Hadrien Lacour, 2017/03/18
- Message not available
- Message not available
- Re: [Qemacs-devel] Config file questions, Charles Gordon, 2017/03/19
- Message not available
- Re: [Qemacs-devel] Config file questions, Charles Gordon, 2017/03/19
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [Qemacs-devel] Sh syntax coloring patch, Charles Gordon, 2017/03/28
- Message not available
- Re: [Qemacs-devel] Sh syntax coloring patch, Charles Gordon, 2017/03/28