bugLaTeX semantic checker - Bugs: bug #54750, Wrong column number returned by %c...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #54750: Wrong column number returned by %c / File encoding awareness

Submitter:  Ivan Kokan <ivankokan>
Submitted:  Fri 28 Sep 2018 09:39:04 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Jump to the original submission

Thu 13 Oct 2022 04:56:42 AM UTC, comment #11: 

FWIW I added the ability to set RC rules from the command line.
See https://savannah.nongnu.org/bugs/?56486

If you are still interested in working on this, please let me know.

Ivan Andrus <gvol>
Group administrator
Thu 13 Jun 2019 03:37:19 AM UTC, comment #10: 

There is currently no way to set a setting directly from the commandline.  The closest would be to create a temporary file with the settings and then use --localrc.

I might be interested in adding that capability—I certainly wouldn't be against it—but how it's written now, it would be slightly non-trivial.  Unless you know of a (portable) way to read from a string as if it were a file...  Actually, I think it shouldn't be too hard to refactor that code into file/string reading and then handling.

I created https://savannah.nongnu.org/bugs/index.php?56486 to track this.

Every time I consider such a change, I want to rewrite it in C++ or Perl or something.  I never quite do it though.

Ivan Andrus <gvol>
Group administrator
Mon 27 May 2019 08:59:38 AM UTC, comment #9: 

Hi Ivan, one more question...

https://github.com/James-Yu/LaTeX-Workshop/issues/829#issuecomment-495113597

Is it possible to set chktexrc rule from command line, eventually overriding the settings within global and local chktexrc? TabSize especially.

Ivan Kokan <ivankokan>
Sat 23 Feb 2019 04:52:53 PM UTC, comment #8: 

Given that the Makefile is generated by autotools, the one that I have won't work for you unless you have exactly the same setup as I do (Mac with homebrew and PCRE 8.42 installed, etc.)  That said, I have attached it in case it is helpful.  On the other hand, if you have a reasonable system it should be simply a matter of running


./autogen.sh
./configure
make


Autotools is a huge pain to maintain, but once it's set up it works quite well in my experience.  What errors/problems are you seeing?

(file #46340)

Ivan Andrus <gvol>
Group administrator
Tue 19 Feb 2019 10:05:34 AM UTC, comment #7: 

Hi, I am having troubles building the project. Do you have a Makefile or something similar, can you commit it? Regards, Ivan

Ivan Kokan <ivankokan>
Fri 19 Oct 2018 01:56:25 AM UTC, comment #6: 

Ivan, this is Ivan.  :-)

I have converted the subversion to git, so you should use that now if you want.  I'm not sure how Savannah handles pull requests, but I guess we'll work it out.

Ivan Andrus <gvol>
Group administrator
Tue 02 Oct 2018 02:45:06 AM UTC, comment #5: 

Okay, I'll go ahead and try to make the switch to git.  It probably won't happen this week, I have too much going on.  Thanks for your patience.

Ivan Andrus <gvol>
Group administrator
Mon 01 Oct 2018 08:09:04 AM UTC, comment #4: 

Hi Ivan, I do not mind working with svn, but if you have thought of git I can wait for some time.

Ivan Kokan <ivankokan>
Mon 01 Oct 2018 04:06:02 AM UTC, comment #3: 

If you would like to work on this, that would be great.  I don't know much about the details of unicode in C, so it's a little daunting to me.

If it's helpful, I could change the repository to git instead of svn.  I meant to do it long ago, but just never got around to it.

Ivan Andrus <gvol>
Group administrator
Sun 30 Sep 2018 11:13:22 PM UTC, comment #2: 

I am keen to work on this, separate dev branch could be appropriate way to go.

Ivan Kokan <ivankokan>
Fri 28 Sep 2018 09:45:13 AM UTC, comment #1: 

This could be the way to go:

Ivan Kokan <ivankokan>
Fri 28 Sep 2018 09:39:04 AM UTC, original submission:  

Hi, how hard would it be to make chktex aware of file encoding in order to overcome the issue explained under https://github.com/James-Yu/LaTeX-Workshop/issues/829?

Additionally, you might consider adding VSCode and its https://github.com/James-Yu/LaTeX-Workshop extension to the list of friendly editors/IDEs under http://www.nongnu.org/chktex/.

Kind regards, Ivan


Ivan Kokan <ivankokan>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #46340:  Makefile added by gvol (9KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gvol (Posted a comment)
  • -email is unavailable- added by ivankokan (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-10-13 gvol StatusConfirmed Postponed
    2019-02-23 gvol Attached File- Added Makefile, #46340
    2018-11-27 gvol StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code