Getting predictive mode to suggest all possible environmentsEmacs keyboard shortcut to insert label{} \ and a...
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
How does a sound wave propagate?
In the world of The Matrix, what is "popping"?
Are there other characters in the Star Wars universe who had damaged bodies and needed to wear an outfit like Darth Vader?
Problems with rounding giving too many digits
newcommand: Using one parameter as the default for the other
Custom javascript not working
Is this nominative case or accusative case?
What does "rhumatis" mean?
Sundering Titan and basic normal lands and snow lands
Is it a Cyclops number? "Nobody" knows!
Rationale to prefer local variables over instance variables?
School performs periodic password audits. Is my password compromised?
New invention compresses matter to produce energy? or other items? (Short Story)
Where do you go through passport control when transiting through another Schengen airport on your way out of the Schengen area?
Is every open circuit a capacitor?
What is Tony Stark injecting into himself in Iron Man 3?
Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?
What is a term for a function that when called repeatedly, has the same effect as calling once?
Why do we call complex numbers “numbers” but we don’t consider 2 vectors numbers?
Are small insurances worth it
Error in TransformedField
ESPP--any reason not to go all in?
How do we objectively assess if a dialogue sounds unnatural or cringy?
Getting predictive mode to suggest all possible environments
Emacs keyboard shortcut to insert label{} \ and a new line in math mode.Getting Emacs to choose between LaTeX/ConTeXt mode depending on file?A quirk when using xemacs scripts to automatically expand abbreviations into LaTeX codeWhat Unicode Font is Best Suited for Math Symbols using Font-Locking under Emacs?Emacs - Predictive modeAnnoying emacs autoformatting in LaTeX modeMake predictive mode default emacssearch and replace string in all filesTeXstudio: Don't autocomplete “content…” in block environmentsTeXnicCenter won't auto-suggest Bibtex keys
I'm trying auctex+predictive mode as my new latex editor. One feature that tempted me to add predictive mode to the equation, was the feature advertised in the image below:

source
This is particularly nice for me because sometimes I forget I have certain tools in my arsenal. So I gave it a shot and the best I could get was this:

However, if I type in the first letter of the environment name, then I get suggestions:

But typing the first letter defeats the purpose which I described above. Any ideas?
P.S. Initially I intended to post this on emacs.estackexchange but I think this community would be more experienced in the matter!
emacs editors auto-completion
add a comment |
I'm trying auctex+predictive mode as my new latex editor. One feature that tempted me to add predictive mode to the equation, was the feature advertised in the image below:

source
This is particularly nice for me because sometimes I forget I have certain tools in my arsenal. So I gave it a shot and the best I could get was this:

However, if I type in the first letter of the environment name, then I get suggestions:

But typing the first letter defeats the purpose which I described above. Any ideas?
P.S. Initially I intended to post this on emacs.estackexchange but I think this community would be more experienced in the matter!
emacs editors auto-completion
For environments, in particular, I'd use AUCTeX's "C-c C-e", after that, a "TAB" should give you all possible completions. (That's not predictive mode though...)
– gusbrs
May 31 '18 at 13:18
Thanks. I know about this. Unfortunately I'm not a fan of emacs' bottom buffer constantly jumping up and down ;) That is the main reason I'm trying to achieve this via predictive mode.
– Pouya
May 31 '18 at 13:31
I supposed so. I cannot claim much experience in the matter, for I'm also new in these waters, but I've also been playing with alternatives these days. I could get auto-complete-auctex to do a decent job in line with what you want (not sure if with your exact requirements, and I didn't really try predictive). However, I reached the conclusion that such a tool essentially relieves AUCTeX of what it does best. You get the right completion, but not that interaction including arguments and so on. Alternatively, you could also consider yasnippet.
– gusbrs
May 31 '18 at 13:54
add a comment |
I'm trying auctex+predictive mode as my new latex editor. One feature that tempted me to add predictive mode to the equation, was the feature advertised in the image below:

source
This is particularly nice for me because sometimes I forget I have certain tools in my arsenal. So I gave it a shot and the best I could get was this:

However, if I type in the first letter of the environment name, then I get suggestions:

But typing the first letter defeats the purpose which I described above. Any ideas?
P.S. Initially I intended to post this on emacs.estackexchange but I think this community would be more experienced in the matter!
emacs editors auto-completion
I'm trying auctex+predictive mode as my new latex editor. One feature that tempted me to add predictive mode to the equation, was the feature advertised in the image below:

source
This is particularly nice for me because sometimes I forget I have certain tools in my arsenal. So I gave it a shot and the best I could get was this:

However, if I type in the first letter of the environment name, then I get suggestions:

But typing the first letter defeats the purpose which I described above. Any ideas?
P.S. Initially I intended to post this on emacs.estackexchange but I think this community would be more experienced in the matter!
emacs editors auto-completion
emacs editors auto-completion
asked May 31 '18 at 12:59
PouyaPouya
5,19422148
5,19422148
For environments, in particular, I'd use AUCTeX's "C-c C-e", after that, a "TAB" should give you all possible completions. (That's not predictive mode though...)
– gusbrs
May 31 '18 at 13:18
Thanks. I know about this. Unfortunately I'm not a fan of emacs' bottom buffer constantly jumping up and down ;) That is the main reason I'm trying to achieve this via predictive mode.
– Pouya
May 31 '18 at 13:31
I supposed so. I cannot claim much experience in the matter, for I'm also new in these waters, but I've also been playing with alternatives these days. I could get auto-complete-auctex to do a decent job in line with what you want (not sure if with your exact requirements, and I didn't really try predictive). However, I reached the conclusion that such a tool essentially relieves AUCTeX of what it does best. You get the right completion, but not that interaction including arguments and so on. Alternatively, you could also consider yasnippet.
– gusbrs
May 31 '18 at 13:54
add a comment |
For environments, in particular, I'd use AUCTeX's "C-c C-e", after that, a "TAB" should give you all possible completions. (That's not predictive mode though...)
– gusbrs
May 31 '18 at 13:18
Thanks. I know about this. Unfortunately I'm not a fan of emacs' bottom buffer constantly jumping up and down ;) That is the main reason I'm trying to achieve this via predictive mode.
– Pouya
May 31 '18 at 13:31
I supposed so. I cannot claim much experience in the matter, for I'm also new in these waters, but I've also been playing with alternatives these days. I could get auto-complete-auctex to do a decent job in line with what you want (not sure if with your exact requirements, and I didn't really try predictive). However, I reached the conclusion that such a tool essentially relieves AUCTeX of what it does best. You get the right completion, but not that interaction including arguments and so on. Alternatively, you could also consider yasnippet.
– gusbrs
May 31 '18 at 13:54
For environments, in particular, I'd use AUCTeX's "C-c C-e", after that, a "TAB" should give you all possible completions. (That's not predictive mode though...)
– gusbrs
May 31 '18 at 13:18
For environments, in particular, I'd use AUCTeX's "C-c C-e", after that, a "TAB" should give you all possible completions. (That's not predictive mode though...)
– gusbrs
May 31 '18 at 13:18
Thanks. I know about this. Unfortunately I'm not a fan of emacs' bottom buffer constantly jumping up and down ;) That is the main reason I'm trying to achieve this via predictive mode.
– Pouya
May 31 '18 at 13:31
Thanks. I know about this. Unfortunately I'm not a fan of emacs' bottom buffer constantly jumping up and down ;) That is the main reason I'm trying to achieve this via predictive mode.
– Pouya
May 31 '18 at 13:31
I supposed so. I cannot claim much experience in the matter, for I'm also new in these waters, but I've also been playing with alternatives these days. I could get auto-complete-auctex to do a decent job in line with what you want (not sure if with your exact requirements, and I didn't really try predictive). However, I reached the conclusion that such a tool essentially relieves AUCTeX of what it does best. You get the right completion, but not that interaction including arguments and so on. Alternatively, you could also consider yasnippet.
– gusbrs
May 31 '18 at 13:54
I supposed so. I cannot claim much experience in the matter, for I'm also new in these waters, but I've also been playing with alternatives these days. I could get auto-complete-auctex to do a decent job in line with what you want (not sure if with your exact requirements, and I didn't really try predictive). However, I reached the conclusion that such a tool essentially relieves AUCTeX of what it does best. You get the right completion, but not that interaction including arguments and so on. Alternatively, you could also consider yasnippet.
– gusbrs
May 31 '18 at 13:54
add a comment |
1 Answer
1
active
oldest
votes
Answering my own question, it turned out I have to set the following variable provided by predictive-mode:
(setq predictive-latex-electric-environments 1)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f434303%2fgetting-predictive-mode-to-suggest-all-possible-environments%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Answering my own question, it turned out I have to set the following variable provided by predictive-mode:
(setq predictive-latex-electric-environments 1)
add a comment |
Answering my own question, it turned out I have to set the following variable provided by predictive-mode:
(setq predictive-latex-electric-environments 1)
add a comment |
Answering my own question, it turned out I have to set the following variable provided by predictive-mode:
(setq predictive-latex-electric-environments 1)
Answering my own question, it turned out I have to set the following variable provided by predictive-mode:
(setq predictive-latex-electric-environments 1)
answered 4 mins ago
PouyaPouya
5,19422148
5,19422148
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f434303%2fgetting-predictive-mode-to-suggest-all-possible-environments%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
For environments, in particular, I'd use AUCTeX's "C-c C-e", after that, a "TAB" should give you all possible completions. (That's not predictive mode though...)
– gusbrs
May 31 '18 at 13:18
Thanks. I know about this. Unfortunately I'm not a fan of emacs' bottom buffer constantly jumping up and down ;) That is the main reason I'm trying to achieve this via predictive mode.
– Pouya
May 31 '18 at 13:31
I supposed so. I cannot claim much experience in the matter, for I'm also new in these waters, but I've also been playing with alternatives these days. I could get auto-complete-auctex to do a decent job in line with what you want (not sure if with your exact requirements, and I didn't really try predictive). However, I reached the conclusion that such a tool essentially relieves AUCTeX of what it does best. You get the right completion, but not that interaction including arguments and so on. Alternatively, you could also consider yasnippet.
– gusbrs
May 31 '18 at 13:54