Compare commits

..

No commits in common. "ba15999534cc6700823354b99e4a874fee3b4c49" and "7b61329889c8092d0c92e55de870f0f4aac66c86" have entirely different histories.

7 changed files with 2 additions and 21 deletions

View File

@ -1,4 +0,0 @@
| Name | Value |
|------+-------|
| foo | bar |
#+tblfm:

View File

@ -1 +0,0 @@
https://en.wikipedia.org/wiki/Shebang_(Unix)

View File

@ -1,7 +0,0 @@
# Even though *exporting* honors the setting to require braces for subscript/superscript, the official org-mode parser still parses subscripts and superscripts.
#+OPTIONS: ^:{}
foo_this isn't a subscript when exported due to lack of braces (but its still a subscript during parsing)
bar_{this is a subscript}

View File

@ -2477,8 +2477,6 @@ fn compare_subscript<'s>(
Ok(_) => {} Ok(_) => {}
}; };
// TODO compare :use-brackets-p
Ok(DiffResult { Ok(DiffResult {
status: this_status, status: this_status,
name: emacs_name.to_owned(), name: emacs_name.to_owned(),
@ -2510,8 +2508,6 @@ fn compare_superscript<'s>(
Ok(_) => {} Ok(_) => {}
}; };
// TODO compare :use-brackets-p
Ok(DiffResult { Ok(DiffResult {
status: this_status, status: this_status,
name: emacs_name.to_owned(), name: emacs_name.to_owned(),

View File

@ -12,7 +12,6 @@ use nom::combinator::eof;
use nom::combinator::not; use nom::combinator::not;
use nom::combinator::peek; use nom::combinator::peek;
use nom::combinator::recognize; use nom::combinator::recognize;
use nom::combinator::verify;
use nom::multi::many_till; use nom::multi::many_till;
use nom::sequence::tuple; use nom::sequence::tuple;
@ -117,9 +116,7 @@ pub(crate) fn table_formula_keyword<'b, 'g, 'r, 's>(
_context: RefContext<'b, 'g, 'r, 's>, _context: RefContext<'b, 'g, 'r, 's>,
input: OrgSource<'s>, input: OrgSource<'s>,
) -> Res<OrgSource<'s>, Keyword<'s>> { ) -> Res<OrgSource<'s>, Keyword<'s>> {
verify(filtered_keyword(table_formula_key), |kw| { filtered_keyword(table_formula_key)(input)
!kw.value.is_empty()
})(input)
} }
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))] #[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))]

View File

@ -78,7 +78,7 @@ fn pathreg<'b, 'g, 'r, 's>(
) -> Res<OrgSource<'s>, OrgSource<'s>> { ) -> Res<OrgSource<'s>, OrgSource<'s>> {
let (remaining, path) = escaped( let (remaining, path) = escaped(
take_till1(|c| match c { take_till1(|c| match c {
'\\' | '[' | ']' => true, '\\' | ']' => true,
_ => false, _ => false,
}), }),
'\\', '\\',